:root { color-scheme: dark; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #e6edf6; background: #0c1423; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 90% 0%, #123439 0, transparent 45%); }
.dashboard { max-width: 1200px; margin: auto; padding: 48px 28px 32px; }
.header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 36px; }
.eyebrow { color: #68dbc6; font-size: 11px; font-weight: 750; letter-spacing: .16em; margin: 0 0 12px; }
h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.13; max-width: 650px; letter-spacing: -.035em; margin: 0 0 18px; }
h2 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.02em; }
p { line-height: 1.65; }
.intro { color: #aabbd0; max-width: 580px; margin: 0; }
.badge { color: #a4e9dd; background: #173734; border: 1px solid #31605b; padding: 9px 12px; border-radius: 100px; white-space: nowrap; font-size: 12px; }
.panel, .metric { background: #131f31; border: 1px solid #2a3b51; border-radius: 18px; padding: 24px; }
.filters { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.filters p { margin: 0; font-size: 13px; color: #aabbd0; }
.filter-controls { display: flex; align-items: flex-end; gap: 14px; }
label { font-size: 12px; color: #b6c7db; display: grid; gap: 7px; }
select, button { font: inherit; border-radius: 9px; min-height: 44px; padding: 11px 14px; }
select { color: #e6edf6; background: #0d1727; border: 1px solid #40546e; min-width: 156px; }
button { cursor: pointer; font-size: 13px; font-weight: 650; background: #6fe1c5; color: #07251e; border: 1px solid transparent; }
button:hover { background: #a1f4de; }
button.secondary { color: #dbe7f5; background: #1d3045; border-color: #40546e; }
button.secondary:hover { background: #2b445e; }
button:disabled { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 3px solid #7edfff; outline-offset: 4px; }
.status { min-height: 22px; font-size: 13px; color: #9eb6d0; margin: 14px 0; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.metric h2 { color: #b0c1d8; font-size: 13px; font-weight: 500; }
.metric p { font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.2; letter-spacing: -.035em; margin: 16px 0 12px; overflow-wrap: anywhere; }
.metric:first-child { border-top: 3px solid #6fe1c5; }
.metric span, .muted { color: #a1b3ca; font-size: 12px; }
.content-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 24px; margin-bottom: 24px; }
.chart-panel > p { margin-bottom: 0; }
svg { width: 100%; height: auto; display: block; margin-top: 24px; }
.chart-bar { fill: #6fe1c5; }
.chart-axis { stroke: #40546e; }
.chart-label { fill: #c5d6e8; font-size: 14px; font-family: system-ui, sans-serif; }
.chart-value { fill: #e6edf6; font-size: 15px; font-family: system-ui, sans-serif; font-weight: 600; }
.export-panel { display: flex; flex-direction: column; align-items: stretch; }
.export-panel h2 { font-size: 25px; max-width: 240px; }
.export-panel > p { color: #b6c7db; font-size: 14px; }
.export-panel button { margin-top: 10px; }
.export-panel .muted { font-size: 12px; margin-top: 20px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; white-space: nowrap; }
caption { text-align: left; padding: 8px 0 18px; font-size: 12px; color: #a1b3ca; }
th { text-align: left; font-size: 12px; color: #94adc8; font-weight: 600; }
td, th { padding: 14px 12px; border-bottom: 1px solid #2a3b51; }
tbody tr:last-child td { border-bottom: 0; }
.number { text-align: right; font-variant-numeric: tabular-nums; }
footer { display: flex; justify-content: space-between; gap: 20px; color: #92a9c4; font-size: 12px; margin-top: 28px; line-height: 1.6; }
a { color: #83e5ce; text-underline-offset: 4px; }
@media (max-width: 960px) { .filters { align-items: flex-start; flex-direction: column; } .filter-controls { width: 100%; flex-wrap: wrap; } .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dashboard { padding: 28px 16px; } .header { flex-direction: column; } .content-grid { grid-template-columns: 1fr; } .panel, .metric { padding: 20px; } .filter-controls { flex-direction: column; align-items: stretch; } select { width: 100%; } .metrics { gap: 12px; } .metric p { font-size: 23px; } footer { flex-direction: column; } }
