:root { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #102536; background: #f4f7fb; font-size: 15px; }
* { box-sizing: border-box; } body { margin: 0; } button, input { font: inherit; }
.topbar { height: 84px; padding: 16px 34px; background: #fff; border-bottom: 1px solid #dfe7ed; display:flex; align-items:center; justify-content:space-between; }
.eyebrow { color:#16839a; letter-spacing:.12em; font-size:10px; font-weight:700; } h1 { margin: 3px 0 0; font-size:24px; } h2 { margin:0; font-size:18px; } p { margin:7px 0 0; color:#657584; }
.toolbar, .filters { display:flex; gap:10px; align-items:center; } .language-picker { display:flex; align-items:center; gap:8px; color:#153247; font-size:15px; } .language-picker select { width:170px; height:40px; min-height:40px; border:1px solid #cbd8e0; border-radius:8px; background:#fff; color:#153247; padding:0 38px 0 15px; font-family:inherit; font-size:15px; line-height:38px; cursor:pointer; } .language-picker select:hover { border-color:#16839a; } button { cursor:pointer; border:1px solid #cbd8e0; border-radius:8px; background:#fff; color:#153247; padding:10px 15px; } button:hover:not(:disabled) { border-color:#16839a; } button:disabled { opacity:.45; cursor:not-allowed; } .primary { color:#fff; background:#16839a; border-color:#16839a; }
main { max-width: 1380px; margin:auto; padding:28px 34px 60px; } .intro { max-width:650px; margin:100px auto; text-align:center; background:#fff; border:1px solid #dfe7ed; border-radius:14px; padding:48px; box-shadow:0 12px 35px #163d5010; } .intro h2 { font-size:26px; } .intro button { margin-top:26px; }
.statusline { display:flex; justify-content:space-between; color:#738492; font-size:12px; margin-bottom:18px; } .tabs { display:flex; gap:5px; border-bottom:1px solid #dfe7ed; margin-bottom:20px; } .tabs button { border:0; border-radius:8px 8px 0 0; color:#657584; } .tabs button.active { color:#16839a; background:#e6f5f7; font-weight:700; }
.summary { display:grid; grid-template-columns:repeat(4,1fr); gap:13px; margin-bottom:18px; } .metric { background:#fff; border:1px solid #dfe7ed; border-radius:10px; padding:15px 17px; } .metric-label { color:#738492; font-size:12px; } .metric-value { font-size:22px; font-weight:700; margin-top:6px; } .metric-note { color:#16839a; font-size:11px; margin-top:4px; }
.global-filters { display:flex; align-items:center; gap:14px; margin:0 0 18px; padding:12px 16px; background:#fff; border:1px solid #dfe7ed; border-radius:10px; color:#657584; font-size:12px; } .global-filters label { color:#657584; } .global-filters input { margin-left:5px; border:1px solid #d4e0e6; border-radius:6px; padding:6px 8px; color:#153247; }
.legend { display:flex; flex-wrap:wrap; gap:16px; padding:10px 22px 0; color:#657584; font-size:12px; } .legend-item { display:inline-flex; align-items:center; gap:6px; } .legend-dot { width:9px; height:9px; border-radius:50%; display:inline-block; }
.summary-dashboard { display:grid; gap:18px; } .summary-dashboard[hidden], #singleView[hidden] { display:none !important; } .summary-section { background:#fff; border:1px solid #dfe7ed; border-radius:12px; overflow:hidden; } .summary-section h2 { padding:18px 22px 0; } .summary-source-note { padding:6px 22px 0; color:#657584; font-size:12px; } .summary-section .summary-section-metrics { margin:14px 22px 0; } .summary-section .chart { height:340px; } .summary-section .table-wrap { max-height:270px; }
.card { background:#fff; border:1px solid #dfe7ed; border-radius:12px; margin-bottom:18px; overflow:hidden; } .card-head { padding:19px 22px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #edf1f4; } .card-head p { font-size:12px; } .filters label { font-size:12px; color:#657584; } .filters input { margin-left:5px; border:1px solid #d4e0e6; border-radius:6px; padding:6px 8px; color:#153247; }
.chart { height:340px; padding:15px 22px 20px; position:relative; } .chart svg { width:100%; height:100%; display:block; } .chart-crosshair { position:absolute; width:1px; background:#526b78; opacity:.75; pointer-events:none; z-index:2; } .chart-hover-tip { position:absolute; z-index:3; min-width:190px; max-width:280px; padding:8px 10px; border:1px solid #cbd8e0; border-radius:7px; background:#fff; color:#243e50; box-shadow:0 5px 18px #163d5025; font-size:11px; line-height:1.45; pointer-events:none; white-space:normal; overflow-wrap:anywhere; } .chart-hover-tip[hidden] { display:none; } .chart-hover-tip strong { color:#16839a; font-weight:700; } .empty { color:#8b99a3; text-align:center; padding-top:120px; } .table-wrap { max-height:440px; overflow:auto; } table { width:100%; border-collapse:collapse; font-size:12px; } th, td { padding:10px 22px; text-align:left; border-bottom:1px solid #edf1f4; white-space:nowrap; } th { color:#738492; font-weight:600; background:#fbfcfd; position:sticky; top:0; } td { color:#243e50; }
.sleep-row { cursor:pointer; } .sleep-row:hover td { background:#f0f8fa; color:#16839a; } #sleepOverview[hidden] { display:none; } #sleepOverview { padding:7px 11px; font-size:12px; }
.toast { position:fixed; right:24px; bottom:24px; background:#153247; color:#fff; padding:13px 17px; border-radius:8px; opacity:0; transform:translateY(10px); transition:.2s; pointer-events:none; box-shadow:0 8px 25px #163d5030; } .toast.show { opacity:1; transform:translateY(0); }
.modal-backdrop { position:fixed; inset:0; background:#10253666; display:grid; place-items:center; z-index:10; } .modal-backdrop[hidden] { display:none; } .modal { width:min(420px, calc(100vw - 40px)); background:#fff; border-radius:13px; padding:25px; box-shadow:0 20px 60px #10253640; } .modal h2 { font-size:20px; } .check-row { display:block; padding:13px 0; border-bottom:1px solid #edf1f4; } .check-row input { margin-right:9px; accent-color:#16839a; } .modal-actions { display:flex; justify-content:flex-end; gap:9px; margin-top:22px; }
.about-modal { position:relative; width:min(760px, calc(100vw - 40px)); max-height:calc(100vh - 50px); overflow:auto; } .about-modal h2 { padding-right:25px; } .about-modal h3 { margin:22px 0 7px; font-size:14px; color:#16839a; } .about-modal p { line-height:1.5; color:#405564; } .about-version { font-weight:700; color:#16839a !important; } .modal-close { position:absolute; right:14px; top:12px; border:0; background:transparent; font-size:26px; padding:2px 8px; color:#657584; } .about-modal a { color:#16839a; } .license-list { margin:8px 0; padding-left:22px; color:#405564; line-height:1.7; } .license-note { font-size:12px; color:#738492 !important; }
.about-steps { margin:8px 0; padding-left:24px; color:#405564; line-height:1.7; } .about-modal code { padding:2px 5px; border-radius:4px; background:#eef5f7; color:#153247; font-size:.92em; }
@media (max-width:900px) { .topbar { height:auto; gap:18px; align-items:flex-start; flex-direction:column; } main { padding:20px; } .summary { grid-template-columns:repeat(2,1fr); } .card-head { align-items:flex-start; gap:15px; flex-direction:column; } }
