:root{color:#edf2ef;background:#101413;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;line-height:1.5;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,select{font:inherit}.dashboard-shell{display:grid;gap:20px;min-height:100vh;padding:32px;background:linear-gradient(180deg,rgba(20,184,166,.12),transparent 240px),#101413}.dashboard-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.eyebrow{margin:0 0 6px;color:#5eead4;font-size:.8rem;font-weight:700;text-transform:uppercase}h1{margin:0;font-size:3rem;line-height:1}.status-strip{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.status-pill{border:1px solid rgba(148,163,184,.35);border-radius:999px;padding:6px 10px;color:#cbd5e1;background:#0f172aad;font-size:.8rem}.status-pill--ready{border-color:#5eead480;color:#99f6e4}.status-pill--warning{border-color:#fbbf248c;color:#fde68a}.controls-panel,.metric-card,.chart-panel{border:1px solid rgba(148,163,184,.22);border-radius:8px;background:#18201fc7;box-shadow:0 18px 60px #0000002e}.controls-panel{display:flex;flex-wrap:wrap;gap:16px;padding:16px}label{display:grid;gap:6px;min-width:180px;color:#94a3b8;font-size:.85rem;font-weight:700}select{width:100%;border:1px solid rgba(148,163,184,.3);border-radius:6px;padding:10px 12px;color:#e5edf5;background:#151b1a}select:disabled{cursor:not-allowed;opacity:.62}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.metric-card{display:grid;gap:10px;min-height:116px;padding:18px}.metric-card span{color:#94a3b8;font-size:.85rem;font-weight:700}.metric-card strong{align-self:end;font-size:1.3rem}.metric-card small{color:#94a3b8;font-size:.78rem}.positive{color:#86efac}.negative{color:#fca5a5}.chart-panel{display:grid;gap:12px;min-height:480px;padding:16px}.chart-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.chart-toolbar div:first-child{display:grid;gap:3px}.chart-toolbar span{color:#94a3b8;font-size:.85rem;font-weight:700}.chart-toolbar strong{font-size:1.05rem}.legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.legend-item{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.legend-item:before{width:18px;height:3px;border-radius:6px;content:""}.legend-item--ma5:before{background:#f59e0b}.legend-item--ma20:before{background:#38bdf8}.legend-item--volume:before{background:#60a5fa}.candle-chart{min-height:408px;overflow:hidden;border:1px solid rgba(148,163,184,.18);border-radius:6px}.chart-state,.state-message{display:grid;min-height:88px;place-items:center;border:1px solid rgba(148,163,184,.22);border-radius:6px;padding:16px;color:#cbd5e1;background:#0f172a73;font-weight:700}.state-message{min-height:auto;margin:0;justify-items:start}.chart-state--error,.state-message--error{border-color:#f8717173;color:#fecaca}.state-message--warning{border-color:#fbbf2473;color:#fde68a}@media(max-width:760px){.dashboard-shell{padding:20px}h1{font-size:2rem}.dashboard-header{display:grid}.status-strip{justify-content:flex-start}.metric-grid{grid-template-columns:1fr}.chart-panel{min-height:420px}.chart-toolbar{display:grid}.legend{justify-content:flex-start}.candle-chart{min-height:340px}}
