body {
    font-family: "Space Grotesk", system-ui, sans-serif;
    margin: 18px;
    color: #e6e6e6;
    background: radial-gradient(1200px 800px at 10% -10%, #0f172a 0%, #0b0f14 45%, #070a0f 100%);
}
nav { display:flex; gap:12px; margin-bottom: 14px; }
nav a {
    text-decoration:none;
    padding:8px 12px;
    border:1px solid #334155;
    border-radius:10px;
    color:#e2e8f0;
    background:#0f172a;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
nav a:hover { border-color:#38bdf8; color:#ffffff; transform: translateY(-1px); }
.controls { display:flex; gap:16px; align-items:center; flex-wrap:wrap; margin: 12px 0 16px; }
.controls.grid { align-items: start; }
.controls.grid > * { margin-right: 12px; }
.label { font-weight: 600; margin-bottom: 4px; }
select[multiple],
select,
button,
input[type="checkbox"] {
    accent-color: #38bdf8;
}
select {
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 6px 8px;
}
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 240px;
    max-height: 220px;
    overflow: auto;
    padding: 8px 10px;
    border: 1px solid #334155;
    border-radius: 8px;
    background: #0f172a;
}
.checkbox-item { display: flex; align-items: center; gap: 8px; font-size: 14px; }
button {
    background: #111827;
    color: #e2e8f0;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
}
button:hover { border-color:#38bdf8; color:#ffffff; }
.chart {
    width: 100%;
    max-width: 1100px;
    height: 520px;
    margin: 14px 0;
    border: 1px solid #111827;
    border-radius: 12px;
    background: rgba(15,23,42,0.35);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.chart.tall { height: 680px; }
