:root{--text:#3a3540;--text-h:#08060d;--bg:#f7f6fa;--card-bg:#fff;--border:#e5e4e7;--accent:#7c3aed;--up:#16a34a;--down:#dc2626;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font:16px/145% system-ui,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--card-bg:#1f2028;--border:#2e303a;--accent:#c084fc}}*{box-sizing:border-box}body{margin:0}h1,h2,h3{color:var(--text-h);margin:0}button{font:inherit;border:1px solid var(--border);background:var(--accent);color:#fff;cursor:pointer;border-radius:6px;padding:8px 16px}.centered-screen{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:100vh;padding:24px;display:flex}.login-form{flex-direction:column;gap:8px;width:260px;margin-top:8px;display:flex}.login-form input{font:inherit;border:1px solid var(--border);background:var(--card-bg);color:var(--text-h);border-radius:6px;padding:8px 10px}.login-divider{opacity:.6;margin:4px 0;font-size:13px}.dashboard{max-width:1100px;margin:0 auto;padding:24px}.dashboard-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.header-right{align-items:center;gap:12px;display:flex}.card{background:var(--card-bg);border:1px solid var(--border);border-radius:10px;padding:16px 20px}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:24px;display:grid}.stat-value{color:var(--text-h);font-size:28px;font-weight:600}.stat-label{opacity:.75;font-size:13px}.revenue-grid-outer{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;margin-bottom:24px;display:grid}.revenue-card h3{margin-bottom:12px}.revenue-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.revenue-purchase-count{opacity:.75;margin-top:12px;font-size:13px}.health-panel h3{margin-bottom:12px}.health-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.health-row{align-items:center;gap:10px;font-size:14px;display:flex}.health-dot{background:var(--down);border-radius:50%;width:10px;height:10px}.health-up .health-dot{background:var(--up)}.health-name{min-width:180px;font-weight:500}.health-status{text-transform:uppercase;opacity:.75;min-width:50px;font-size:12px}.health-latency{opacity:.6;font-size:13px}.error-banner{color:var(--down);margin-bottom:16px}
