:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--surface:#f7f6f9;--border:#e5e4e7;--accent:#aa3bff;--accent-bg:#aa3bff1a;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;font:16px/145% var(--sans);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--surface:#1c1d24;--border:#2e303a;--accent:#c084fc;--accent-bg:#c084fc26;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}}*{box-sizing:border-box}body{margin:0}#root{min-height:100svh}h1,h2{font-family:var(--sans);color:var(--text-h);margin:0;font-weight:600}button{font:inherit;cursor:pointer}.login-page{justify-content:center;align-items:center;min-height:100svh;padding:clamp(16px,4vw,48px);display:flex}.login-card{border:1px solid var(--border);background:var(--surface);width:100%;max-width:440px;box-shadow:var(--shadow);text-align:center;border-radius:16px;flex-direction:column;gap:16px;padding:clamp(32px,5vw,56px);display:flex}.login-card h1{font-size:clamp(28px,4vw,36px)}.login-subtitle{margin-bottom:8px;font-size:16px}.login-card label{text-align:left;color:var(--text-h);margin-bottom:-8px;font-size:14px;font-weight:600}.login-card input,.login-card button{border:1px solid var(--border);background:var(--bg);color:var(--text-h);border-radius:10px;padding:14px 16px;font-size:16px}.login-card button{background:var(--accent);color:#fff;border:none;margin-top:8px;font-weight:600}.login-card button:disabled{opacity:.6;cursor:default}.login-error{color:#ef4444;font-size:14px}.login-session-notice{color:var(--text);background:var(--accent-bg);border:1px solid var(--accent);border-radius:10px;padding:10px 14px;font-size:14px}.inactivity-modal-overlay{z-index:1000;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.inactivity-modal{border:1px solid var(--border);background:var(--surface);color:var(--text-h);text-align:center;border-radius:14px;flex-direction:column;align-items:center;gap:16px;max-width:360px;padding:28px 32px;display:flex;box-shadow:0 20px 50px #00000059}.inactivity-modal button{border:1px solid var(--border);background:var(--accent-bg);color:var(--text-h);cursor:pointer;border-radius:10px;padding:10px 20px;font-weight:600}.app-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:18px clamp(20px,4vw,48px);display:flex}.app-header-brand{color:var(--text-h);font-size:20px;font-weight:700;text-decoration:none}.app-header button{border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;border-radius:10px;padding:10px 20px;font-size:14px}.dashboard-page{max-width:1440px;margin:0 auto;padding:clamp(24px,4vw,48px)}.dashboard-error,.dashboard-loading{text-align:center;margin-top:96px;font-size:18px}.empty-state{text-align:center;color:var(--text);flex-direction:column;gap:12px;margin-top:96px;font-size:18px;display:flex}.dashboard-toolbar{align-items:center;gap:12px;margin-bottom:clamp(24px,4vw,40px);display:flex}.dashboard-search-input{border:1px solid var(--border);background:var(--surface);color:var(--text-h);border-radius:12px;flex:1;padding:13px 18px;font-size:15px}.dashboard-search-input:focus{outline:2px solid var(--accent);outline-offset:2px}.view-toggle{border:1px solid var(--border);border-radius:12px;flex-shrink:0;display:flex;overflow:hidden}.view-toggle button{background:var(--surface);width:44px;height:44px;color:var(--text);cursor:pointer;border:none;justify-content:center;align-items:center;display:flex}.view-toggle button+button{border-left:1px solid var(--border)}.view-toggle button[aria-pressed=true]{background:var(--accent);color:#fff}@media (width<=480px){.dashboard-toolbar{flex-wrap:wrap}}.dashboard-no-results{text-align:center;color:var(--text);margin-top:48px;font-size:16px}.app-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:clamp(20px,2.5vw,32px);display:grid}.app-card{border:1px solid var(--border);background:var(--surface);text-align:center;border-radius:16px;flex-direction:column;align-items:center;gap:12px;padding:clamp(24px,3vw,32px) 20px;transition:box-shadow .15s,transform .15s;display:flex}.app-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.app-card-icon{object-fit:contain;border-radius:14px;width:72px;height:72px}.app-card-name{color:var(--text-h);font-size:17px;font-weight:600}.app-card-description{color:var(--text);font-size:14px}.app-card-text{flex-direction:column;gap:4px;display:flex}.app-list{flex-direction:column;gap:10px;display:flex}.app-card-list{text-align:left;flex-direction:row;justify-content:flex-start;align-items:center;gap:16px;width:100%;padding:14px 20px}.app-card-list .app-card-icon{flex-shrink:0;width:44px;height:44px}.app-card-list .app-card-text{flex:1}.app-card-list.app-card-disabled .app-card-badge{margin-left:auto;position:static}.app-card-disabled{cursor:default;filter:grayscale();opacity:.55;position:relative}.app-card-disabled:hover{box-shadow:none;transform:none}.app-card-badge{background:var(--text);color:var(--bg);text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:3px 9px;font-size:10px;font-weight:700;position:absolute;top:10px;right:10px}@media (width<=480px){.app-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px}.app-card-icon{width:56px;height:56px}}.tool-page{flex-direction:column;align-items:center;max-width:720px;margin:0 auto;padding:clamp(32px,6vw,64px) clamp(20px,4vw,48px);display:flex}.tool-page-header{text-align:center;margin-bottom:clamp(28px,4vw,40px)}.tool-page-header h1{font-size:clamp(28px,4vw,36px)}.tool-page-subtitle{color:var(--text);max-width:480px;margin-top:10px}.tool-page-error{color:#ef4444;text-align:center;margin-top:16px}.tool-page-section{flex-direction:column;align-items:center;gap:20px;width:100%;margin-top:clamp(24px,4vw,36px);display:flex}.row-form{border:1px solid var(--border);background:var(--surface);width:100%;max-width:420px;box-shadow:var(--shadow);border-radius:16px;flex-direction:column;align-items:center;gap:12px;padding:clamp(28px,4vw,36px);display:flex}.row-form label{letter-spacing:.04em;text-transform:uppercase;color:var(--text);align-self:flex-start;font-size:13px;font-weight:600}.row-form input{border:1px solid var(--border);text-align:center;background:var(--bg);width:100%;color:var(--text-h);font-size:22px;font-weight:600;font-family:var(--mono,ui-monospace, monospace);border-radius:12px;padding:16px 18px}.row-form input:focus{outline:2px solid var(--accent);outline-offset:2px}.row-form button,.confirm-button{background:var(--accent);color:#fff;cursor:pointer;border:none;border-radius:12px;width:100%;padding:14px 20px;font-size:15px;font-weight:600}.row-form button:disabled,.confirm-button:disabled{opacity:.6;cursor:default}.sync-action{margin-bottom:8px}.sync-action .confirm-button{width:auto;padding:16px 40px;font-size:16px}.console{width:100%;box-shadow:var(--shadow);text-align:left;background:#0b0d12;border-radius:12px;overflow:hidden}.console-titlebar{background:#1a1d24;border-bottom:1px solid #2a2e38;align-items:center;gap:8px;padding:10px 14px;display:flex}.console-dot{border-radius:50%;width:11px;height:11px}.console-dot-red{background:#ff5f56}.console-dot-yellow{background:#ffbd2e}.console-dot-green{background:#27c93f}.console-title{color:#8b93a3;font-size:12px;font-family:var(--mono,ui-monospace, monospace);margin-left:8px}.console-body{max-height:420px;font-family:var(--mono,ui-monospace, monospace);padding:18px 20px;font-size:13px;line-height:1.7;overflow-y:auto}.console-line{color:#cbd5e1;white-space:pre-wrap;word-break:break-word}.console-line a{color:#7dd3fc}.console-line-success{color:#4ade80;font-weight:600}.console-line-error{color:#f87171;font-weight:600}.console-line-muted,.console-line-time{color:#64748b}.preview-actions{gap:12px;width:100%;max-width:420px;display:flex}.preview-actions .confirm-button,.preview-actions .cancel-button{flex:1;width:auto}.cancel-button{border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;border-radius:12px;padding:14px 20px;font-size:15px;font-weight:600}.cancel-button:disabled{opacity:.6;cursor:default}@media (width<=480px){.row-form,.preview-actions{max-width:100%}}.tool-page-wide{max-width:1600px}.history-columns{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:clamp(20px,2.5vw,32px);width:100%;display:grid}.history-panel{flex-direction:column;gap:16px;min-width:0;display:flex}.history-panel-title{color:var(--text-h);font-size:20px;font-weight:600}.history-table-scroll{border:1px solid var(--border);background:var(--surface);border-radius:16px;overflow-x:auto}.history-pager{color:var(--text);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;gap:12px;font-size:14px;display:flex}.history-pager button{border:1px solid var(--border);background:var(--surface);color:var(--text-h);cursor:pointer;border-radius:10px;padding:8px 16px;font-size:14px;font-weight:600}.history-pager button:disabled{opacity:.45;cursor:default}.history-filters{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:16px;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:12px;padding:20px clamp(16px,3vw,24px);display:flex}.history-filters label{letter-spacing:.04em;text-transform:uppercase;color:var(--text);text-align:left;flex-direction:column;gap:6px;font-size:12px;font-weight:600;display:flex}.history-filters select,.history-filters input,.history-filters button{box-sizing:border-box;border-radius:10px;height:42px;font-size:15px}.history-filters select,.history-filters input{border:1px solid var(--border);background:var(--bg);width:140px;color:var(--text-h);padding:0 12px;font-family:inherit;font-weight:500}.history-filters button{background:var(--accent);color:#fff;cursor:pointer;border:none;padding:0 24px;font-weight:600}.history-filters button:disabled{opacity:.6;cursor:default}.history-summary{flex-wrap:wrap;gap:10px;display:flex}.history-chip{border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;border-radius:999px;align-items:center;gap:8px;padding:8px 16px;font-size:14px;font-weight:600;display:inline-flex}.history-chip span{font-variant-numeric:tabular-nums;color:var(--text-h)}.history-chip.is-active{border-color:var(--accent);background:var(--accent);color:#fff}.history-chip.is-active span{color:#fff}.history-empty{color:var(--text)}.history-table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}.history-table th,.history-table td{border-bottom:1px solid var(--border);padding:12px 14px}.history-table th{letter-spacing:.04em;text-transform:uppercase;color:var(--text);font-size:12px;font-weight:600}.history-table td{color:var(--text-h)}.history-amount{text-align:right;font-variant-numeric:tabular-nums}.history-badge{white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600;display:inline-block}.history-badge-automated{color:#2563eb;background:#2563eb1f}.history-badge-manual{color:#64748b;background:#64748b29}.history-badge-voided{color:#ef4444;background:#ef44441f;text-decoration:line-through}.history-badge-success{color:#16a34a;background:#16a34a1f}.history-badge-error{color:#ef4444;background:#ef44441f}.history-badge-pending{color:#b45309;background:#f59e0b24}.history-badge-matched{color:#16a34a;background:#16a34a1f}.history-badge-timeout{color:#ef4444;background:#ef44441f}.attempts-total{text-align:center;color:var(--text);margin:0 0 12px;font-size:13px}.attempts-warning{text-align:center;color:#b45309;margin:0 0 12px;font-size:13px}.attempts-detail{white-space:normal;max-width:380px;font-size:13px}@media (width<=1100px){.history-columns{grid-template-columns:minmax(0,1fr)}}@media (width<=720px){.history-table{white-space:nowrap;display:block;overflow-x:auto}}
