:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#11131a;--surface:#191d28;--surface-soft:#151923;--border:#2b3142;--text:#f1f3fa;--muted:#929bb1;--accent:#a7a1ff;--accent-soft:#302d50}*{box-sizing:border-box}body{background:var(--background);color:var(--text);margin:0;font-family:Arial,Apple SD Gothic Neo,Malgun Gothic,sans-serif;font-size:14px;line-height:1.55}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.dashboard-shell{width:min(1120px,100%);margin:0 auto;padding:38px 28px}.dashboard-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.eyebrow{letter-spacing:.16em;color:var(--accent);font-size:10px;font-weight:700}h1{letter-spacing:-.04em;margin:8px 0 4px;font-size:29px;line-height:1.3}.dashboard-header p{color:var(--muted);margin:0}.refresh-area{align-items:center;gap:14px;display:flex}.live-label{color:var(--muted);white-space:nowrap;align-items:center;gap:7px;font-size:12px;display:flex}.live-dot{background:#6ad7b0;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 4px #6ad7b012}.primary-button,.secondary-button{white-space:nowrap;border:1px solid #0000;border-radius:9px;min-height:39px;padding:8px 15px;font-weight:600}.primary-button{background:var(--accent);color:#171525}.secondary-button{background:var(--surface);color:var(--text);border-color:var(--border)}.secondary-button:hover{background:#232838}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.metric-card{background:var(--surface);border:1px solid var(--border);border-radius:15px;flex-direction:column;align-items:flex-start;min-height:166px;padding:23px 20px 20px;display:flex}.metric-card.accent{background:linear-gradient(140deg,#27243f,#1b1f2c);border-color:#48416b}.metric-label{color:#c6ccdb;font-size:13px}.metric-card strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin:13px 0 10px;font-size:38px;line-height:1.2}.metric-caption{color:var(--muted);font-size:11px}.goal-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:16px;margin-top:24px;padding:25px}.goal-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.goal-heading h2{letter-spacing:-.03em;margin:5px 0 0;font-size:19px}.goal-badge{color:#c5c1ff;background:#26233d;border:1px solid #48416b;border-radius:20px;padding:5px 11px;font-size:11px}.goal-description{color:var(--muted);margin:11px 0 25px;font-size:12px}.progress-track{background:#292e3e;border-radius:8px;height:8px;overflow:hidden}.progress-track span{border-radius:inherit;background:linear-gradient(90deg,#8c85ec,#b4adff);height:100%;transition:width .4s;display:block}.progress-caption{color:var(--muted);justify-content:space-between;margin-top:9px;font-size:11px;display:flex}.goal-form{border-top:1px solid var(--border);margin-top:25px;padding-top:22px}.goal-form label{color:#c6ccdb;margin-bottom:8px;font-size:12px;display:block}.goal-input-row{gap:9px;max-width:370px;display:flex}.goal-input-row input{width:100%;min-width:0;height:40px;color:var(--text);background:#10141d;border:1px solid #394055;border-radius:9px;padding:8px 12px}.goal-input-row input::placeholder{color:#626c83}.save-status{color:#c6c1ff;min-height:18px;margin-top:8px;font-size:11px;display:block}.dashboard-footer{color:#747e94;text-align:right;margin-top:18px;font-size:11px}.error-banner{color:#efc4a8;background:#30241f;border:1px solid #694b41;border-radius:10px;margin-bottom:18px;padding:12px 15px;font-size:12px}.connection-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.connection-card{text-align:center;max-width:440px;padding:32px 24px}.connection-card h1{margin-top:17px;font-size:24px}.connection-card p{color:var(--muted);margin:12px 0 22px;font-size:13px}.connection-spinner{border:2px solid #34364d;border-top-color:var(--accent);border-radius:50%;width:26px;height:26px;margin:24px auto 0;animation:1s linear infinite spin;display:block}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:760px){.dashboard-shell{padding:25px 18px}.dashboard-header{align-items:flex-start}.refresh-area{flex-direction:column;align-items:flex-end;gap:10px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card{min-height:153px;padding:20px 17px}h1{font-size:25px}.goal-card{padding:20px}}@media (max-width:400px){.dashboard-header{display:block}.refresh-area{flex-direction:row;justify-content:space-between;align-items:center;margin-top:18px}.metric-grid{gap:10px}.metric-card{padding:17px 14px}.metric-card strong{font-size:31px}.goal-heading{align-items:flex-start}.goal-badge{font-size:10px}.goal-input-row{gap:7px}}@media (prefers-reduced-motion:reduce){.connection-spinner{animation:none}.progress-track span{transition:none}}.dashboard-standby{color:#a5adbb;background:#0d1118;place-items:center;min-height:100dvh;margin:0;padding:24px;display:grid}.dashboard-standby>h1{letter-spacing:0;text-align:center;margin:0;font-size:1.125rem;font-weight:500;line-height:1.5}.dashboard-live-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;width:min(100%,680px);display:grid}.dashboard-presence{text-align:center;min-width:0}.dashboard-presence h2{letter-spacing:0;color:#a5adbb;margin:0 0 17px;font-size:14px;font-weight:500;line-height:1.5}.dashboard-presence-count{color:#e6e9ef;letter-spacing:-.04em;font-variant-numeric:tabular-nums;justify-content:center;align-items:baseline;gap:9px;margin:0;font-size:56px;font-weight:500;line-height:1.15;display:flex}.dashboard-presence-count span{letter-spacing:0;color:#929baa;font-size:14px;font-weight:400}.dashboard-presence-note{color:#7e899b;margin:16px 0 0;font-size:11px;line-height:1.5}.dashboard-readonly{color:#e7e7e7;background:#0d1118;max-width:none;min-height:100dvh;margin:0;padding:28px;font-size:14px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;display:grid}.dashboard-widget{background:#202020;border:1px solid #363636;border-radius:13px;min-width:0;padding:22px}.dashboard-widget-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.dashboard-widget-heading h2{letter-spacing:-.02em;overflow-wrap:anywhere;margin:0 0 6px;font-size:15px;font-weight:550;line-height:1.5}.dashboard-widget-heading p{color:#979797;margin:0;font-size:11px;line-height:1.5}.dashboard-numbers{flex-wrap:wrap;gap:22px;min-height:67px;margin:16px 0 12px;display:flex}.dashboard-numbers>div{flex-direction:column;gap:6px;min-width:0;display:flex}.dashboard-numbers strong{letter-spacing:-.04em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-size:38px;font-weight:550;line-height:1.2}.dashboard-numbers span{color:#a3a3a3;font-size:12px}.dashboard-widget-note{color:#aaa;margin:24px 0;font-size:13px;line-height:1.6}.dashboard-widget-message{color:#aaa;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;min-height:120px;padding:8px 0;display:flex}.dashboard-widget-message strong{font-size:13px;font-weight:500;line-height:1.5}.dashboard-widget-message p{color:#888;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.6}.dashboard-unavailable strong{color:#d4b085}.dashboard-definition{color:#919191;margin:18px 0 0;font-size:10px;line-height:1.6}.dashboard-widget-time{color:#777;margin:16px 0 0;font-size:10px;line-height:1.6}.dashboard-error{color:#edb6aa;background:#30241f;border:1px solid #66423a;border-radius:9px;margin:0 0 22px;padding:12px 15px;font-size:12px;line-height:1.6}.dashboard-table-wrap{scrollbar-width:thin;scrollbar-color:#4b4b4b transparent;max-width:100%;max-height:360px;overflow:auto}.dashboard-data-table{border-collapse:collapse;text-align:left;width:100%;font-size:12px;line-height:1.5}.dashboard-data-table th,.dashboard-data-table td{overflow-wrap:anywhere;border-bottom:1px solid #353535;max-width:340px;padding:11px 10px}.dashboard-data-table thead th{color:#969696;background:#202020;font-size:10px;font-weight:500;position:sticky;top:0}.dashboard-data-table tbody th{color:#bbb;font-weight:400}.dashboard-data-table th:last-child,.dashboard-data-table td:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.dashboard-data-table tbody tr:last-child>*{border-bottom:0}.dashboard-plot{width:100%;height:auto;display:block;overflow:visible}.dashboard-grid-line{stroke:#373737;stroke-width:1px;stroke-dasharray:3 4}.dashboard-axis-label{fill:#999;font-family:inherit;font-size:10px}.dashboard-bar{fill:#a3bddc}.dashboard-line{fill:none;stroke:#b4c9e2;stroke-width:2.5px;stroke-linejoin:round;stroke-linecap:round}.dashboard-point{fill:#c4d5e9;stroke:#202020;stroke-width:1.5px}.dashboard-plot-data{margin-top:12px}.dashboard-plot-data summary{cursor:pointer;color:#a3a3a3;min-height:32px;padding:8px 0;font-size:11px}.dashboard-plot-data[open] summary{margin-bottom:6px}@media (max-width:760px){.dashboard-readonly{padding:20px 16px}.dashboard-grid{grid-template-columns:1fr}.dashboard-widget{padding:20px}}@media (max-width:480px){.dashboard-live-metrics{grid-template-columns:1fr;gap:56px}.dashboard-presence-count{font-size:48px}.dashboard-numbers strong{font-size:34px}}
