:root { color-scheme: dark; font-family: Inter, system-ui, sans-serif; background: #0a1020; color: #ecf3ff; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 10% 0%, #1b3263 0, transparent 32rem), #0a1020; }
header, main { max-width: 1280px; margin: auto; padding: 24px; }
header { display: flex; justify-content: space-between; align-items: center; }
h1, h2, p { margin: 0; } h1 { font-size: 2rem; } h2 { font-size: 1.3rem; }
.eyebrow { color: #8ca2ca; font-size: .72rem; letter-spacing: .12em; font-weight: 700; margin-bottom: 8px; }
.connection { background: #17233d; color: #9eb4dd; padding: 8px 12px; border-radius: 999px; font-size: .82rem; }
.connection.live { background: #123d33; color: #78e8c1; }
.stations { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 12px 0 16px; }
.station, .panel { border: 1px solid #263857; border-radius: 16px; background: #0f1829cc; }
.station { padding: 20px; text-align: left; color: inherit; cursor: pointer; }
.station:hover, .station.selected { border-color: #65a6ff; background: #14223b; }
.station-head, .panel-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.status { font-size: .72rem; border-radius: 999px; padding: 5px 8px; background: #3a2730; color: #f0a6bc; }.status.online { background: #123d33; color: #78e8c1; }
.reading { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.reading b { display: block; font-size: 1.6rem; }.reading span { color: #8ca2ca; font-size: .78rem; }
.station-location { color: #ecf3ff; font-size: 1.3rem; }
.station-name { color: #8ca2ca; font-size: .8rem; margin-top: 4px; }
.risk { margin-top: 20px; color: #8ca2ca; font-size: .82rem; }.risk.alert { color: #ffb6a6; }
.panel { padding: 22px; margin-top: 16px; }.panel-head { margin-bottom: 14px; } .controls { display: flex; gap: 8px; } select, input[type="month"] { background: #17233d; color: #ecf3ff; border: 1px solid #415a85; padding: 8px; border-radius: 8px; }.analysis-note { color: #8ca2ca; font-size: .8rem; }
canvas { width: 100%; height: 300px; background: #0a1020; border-radius: 10px; }.time-axis { display: grid; margin: 6px 12px 0 36px; color: #7286a8; font-size: .68rem; text-align: center; white-space: nowrap; }.time-axis span { overflow: hidden; text-overflow: ellipsis; }.legend { display: flex; gap: 8px; margin-top: 12px; font-size: .8rem; }.legend-toggle { border: 0; background: transparent; color: #a8b8d7; cursor: pointer; padding: 6px 8px; border-radius: 6px; }.legend-toggle:hover { background: #17233d; }.legend-toggle.inactive { color: #526785; text-decoration: line-through; }.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: var(--station-color); }.legend-toggle.inactive .dot { background: #526785; }
.detail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; color: #b8c9e7; }.detail b { display: block; color: #fff; margin-top: 4px; }
@media (max-width: 760px) { .stations { grid-template-columns: 1fr; }.detail { grid-template-columns: 1fr 1fr; } }
