:root{--bg-color:#fcfcfc;--bg-sidebar:#f3f3f3;--surface-color:#fff;--primary-color:#1a1a1a;--primary-hover:#000;--text-primary:#111;--text-secondary:#666;--border-color:#e5e5e5;--status-idle:#9ca3af;--status-running:#f59e0b;--status-success:#10b981;--status-error:#ef4444;--font-sans:"Inter", system-ui, sans-serif;--shadow-sm:0 1px 2px 0 #0000000d;--shadow-md:0 4px 6px -1px #0000000d, 0 2px 4px -1px #00000008;--shadow-lg:0 10px 15px -3px #0000000d, 0 4px 6px -2px #00000005}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-sans);background-color:var(--bg-color);color:var(--text-primary);-webkit-font-smoothing:antialiased;line-height:1.5}.app-shell{flex-direction:column;justify-content:center;align-items:center;gap:1rem;min-height:100vh;display:flex}.app-logo{max-width:220px;height:auto}.card{background:var(--surface-color);border:1px solid var(--border-color);box-shadow:var(--shadow-md);border-radius:12px;padding:1.5rem}.login-form{flex-direction:column;gap:1rem;width:min(360px,90vw);display:flex}.login-form h1{font-size:1.25rem}.login-form label{color:var(--text-secondary);flex-direction:column;gap:.25rem;font-size:.875rem;display:flex}input{font:inherit;border:1px solid var(--border-color);background:var(--surface-color);color:var(--text-primary);border-radius:8px;padding:.5rem .75rem}input:focus-visible{outline:2px solid var(--primary-color);outline-offset:1px}.btn-primary,.btn-secondary{font:inherit;cursor:pointer;border:1px solid var(--primary-color);border-radius:8px;padding:.5rem 1rem}a.btn-primary{text-align:center;text-decoration:none}.btn-primary{background:var(--primary-color);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.btn-primary:disabled{opacity:.6;cursor:default}.btn-secondary{color:var(--primary-color);border-color:var(--border-color);background:0 0}.form-error{color:var(--status-error);font-size:.875rem}.shell{flex-direction:column;min-height:100vh;display:flex}.topbar{background:var(--bg-sidebar);border-bottom:1px solid var(--border-color);align-items:center;gap:1rem;padding:.75rem 1.5rem;display:flex}.topbar-logo{height:28px}.tabs{flex:1;gap:.5rem;display:flex}.tab{font:inherit;cursor:pointer;color:var(--text-secondary);background:0 0;border:none;border-radius:8px;padding:.5rem .75rem}.tab.active{background:var(--surface-color);color:var(--text-primary);box-shadow:var(--shadow-sm);font-weight:600}.topbar-user{color:var(--text-secondary);font-size:.875rem}.content{padding:1.5rem}.hint{color:var(--text-secondary);margin:.25rem 0 1rem;font-size:.875rem}.table-wrap{border:1px solid var(--border-color);background:var(--surface-color);border-radius:12px;overflow-x:auto}.sku-table{border-collapse:collapse;width:max-content;min-width:100%}.sku-table th,.sku-table td{border-bottom:1px solid var(--border-color);text-align:left;vertical-align:top;padding:.5rem;font-size:.8125rem}.sku-table th{background:var(--bg-sidebar);color:var(--text-secondary);white-space:nowrap;font-weight:600}.sku-table input,.sku-table select{width:9rem;font:inherit;border:1px solid var(--border-color);border-radius:6px;padding:.375rem .5rem}.sku-table [aria-invalid=true]{border-color:var(--status-error)}.cell-error{color:var(--status-error);font-size:.75rem;display:block}.actions{gap:.75rem;margin-top:1rem;display:flex}.form-ok{color:var(--status-success);margin-top:.75rem}.actions+.form-error{margin-top:.75rem}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.section-head{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.toggle{gap:.25rem;display:flex}.toggle [aria-pressed=true]{background:var(--primary-color);color:#fff;border-color:var(--primary-color)}.kanban{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1rem;display:grid}.kanban-col{background:var(--bg-sidebar);border-radius:12px;flex-direction:column;gap:.75rem;min-height:12rem;padding:1rem;display:flex}.kanban-card{cursor:grab;flex-direction:column;gap:.25rem;padding:1rem;display:flex}@media (width<=640px){.kanban{grid-template-columns:1fr}}.countdown{font-variant-numeric:tabular-nums;color:var(--status-running);font-weight:600}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-color:#111214;--bg-sidebar:#18191c;--surface-color:#1f2024;--primary-color:#f2f2f2;--primary-hover:#fff;--text-primary:#ededed;--text-secondary:#a1a1aa;--border-color:#2e3036;--shadow-sm:none;--shadow-md:none;--shadow-lg:none}:root[data-theme=dark] .btn-primary,:root[data-theme=dark] .toggle [aria-pressed=true]{color:#111}:root[data-theme=dark] .app-logo,:root[data-theme=dark] .topbar-logo{filter:invert()}select{font:inherit;background:var(--surface-color);color:var(--text-primary)}.theme-toggle{width:2.25rem;height:2.25rem;color:var(--text-secondary);border:1px solid var(--border-color);cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;padding:0;display:inline-flex}.theme-toggle:hover{color:var(--text-primary)}.theme-toggle svg{width:1.125rem;height:1.125rem}.app-shell>.theme-toggle{position:fixed;top:1rem;right:1rem}button.topbar-user{font:inherit;cursor:pointer;color:var(--text-secondary);background:0 0;border:none;padding:0;font-size:.875rem}button.topbar-user:hover,button.topbar-user[aria-current=page]{color:var(--text-primary)}.narrow{justify-content:center;padding-top:2rem;display:flex}.user-form{grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));align-items:end;gap:1rem;margin-bottom:1rem;display:grid}.user-form label{color:var(--text-secondary);flex-direction:column;gap:.25rem;font-size:.875rem;display:flex}.user-form select{border:1px solid var(--border-color);border-radius:8px;padding:.5rem .75rem}.secret{flex-direction:column;gap:.25rem;margin:1rem 0;display:flex}.secret code{-webkit-user-select:all;user-select:all;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:1.125rem}.secret .hint{margin:0}.row-actions{gap:.5rem;display:flex}.sku-table tr.inactive td{color:var(--text-secondary)}section>.form-error,section>.form-ok{margin-bottom:1rem}:root{--series-1:#2a78d6;--series-2:#eb6834;--grid:#ececec}:root[data-theme=dark]{--series-1:#3987e5;--series-2:#d95926;--grid:#2a2c31}.series-1{fill:var(--series-1);background:var(--series-1)}.series-2{fill:var(--series-2);background:var(--series-2)}.tiles{grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.tile{flex-direction:column;gap:.25rem;padding:1.25rem;display:flex}.tile .hint{margin:0}.tile-label{color:var(--text-secondary);font-size:.875rem}.tile-value{font-size:1.75rem;font-weight:600;line-height:1.2}.tile-hero .tile-value{font-size:3rem}.chart{margin:0 0 1.5rem}.chart-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.5rem;display:flex}.chart-title{font-weight:600}.legend{color:var(--text-secondary);gap:1rem;font-size:.8125rem;display:flex}.legend-item{align-items:center;gap:.375rem;display:inline-flex}.legend-swatch{vertical-align:baseline;border-radius:2px;width:.625rem;height:.625rem;margin-right:.375rem;display:inline-block}.legend-item .legend-swatch{margin-right:0}.chart-plot{background:var(--surface-color);border:1px solid var(--border-color);border-radius:12px;position:relative;overflow:hidden}.chart-plot svg{display:block}.chart-grid{stroke:var(--grid);stroke-width:1px}.chart-axis{stroke:var(--border-color);stroke-width:1px}.chart-tick{fill:var(--text-secondary);font-variant-numeric:tabular-nums;font-size:11px}.chart-hover{fill:var(--text-primary);opacity:.05}.chart-hit{fill:#0000}.chart-tooltip{pointer-events:none;background:var(--surface-color);width:140px;color:var(--text-primary);border:1px solid var(--border-color);box-shadow:var(--shadow-md);border-radius:8px;flex-direction:column;gap:.125rem;padding:.5rem .625rem;font-size:.8125rem;display:flex;position:absolute;top:.5rem}.chart-table{color:var(--text-secondary);margin-top:.5rem;font-size:.875rem}.chart-table summary{cursor:pointer;margin-bottom:.5rem}.subhead{margin:1.5rem 0 .75rem}h3.subhead,.section-head.subhead h3{font-size:1rem}.inline-field{color:var(--text-secondary);align-items:center;gap:.5rem;font-size:.875rem;display:inline-flex}.inline-field select{border:1px solid var(--border-color);border-radius:6px;padding:.375rem .5rem}.sku-table td.num{font-variant-numeric:tabular-nums;white-space:nowrap}.sku-table tr.alert-row td{color:var(--status-error)}.history-row td{background:var(--bg-sidebar)}.history{flex-wrap:wrap;align-items:center;gap:.5rem;padding:.25rem 0;list-style:none;display:flex}.history li{align-items:center;gap:.5rem;display:inline-flex}.history-gap{color:var(--text-secondary);font-variant-numeric:tabular-nums;font-size:.75rem}.history-gap:before{content:"→ "}.history-step{background:var(--surface-color);border:1px solid var(--border-color);border-radius:8px;flex-direction:column;padding:.375rem .625rem;display:inline-flex}.history-step .hint{margin:0;font-size:.75rem}.qr{background:#fff;border-radius:8px;align-self:center;width:200px;height:200px;padding:8px}.secret-key{color:var(--text-primary);-webkit-user-select:all;user-select:all;margin-top:.5rem;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.9375rem;display:block}.login-form details summary{cursor:pointer}.recovery-codes{grid-template-columns:repeat(2,1fr);gap:.5rem;list-style:none;display:grid}.recovery-codes code{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.9375rem}.account{flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:1.5rem;padding-top:2rem;display:flex}.insights{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:12px 0 20px;display:grid}.insight{flex-direction:column;gap:6px;display:flex}.plain-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}
