:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #10171d; color: #e2eaf0; }
* { box-sizing: border-box; }
body { margin: 0; }
.range-picker { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; font-size: .85rem; }
#time-range { display: flex; flex-wrap: wrap; gap: 4px; }
#time-range button { font: inherit; padding: 8px 10px; }
#time-range button[aria-pressed="true"] { background: #85e4b8; border-color: #85e4b8; color: #10171d; font-weight: 700; }
main { max-width: 1050px; margin: auto; padding: 48px 24px; }
header, .host-heading, .chart-heading, .pool { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
h1 { margin: 4px 0; font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 650; letter-spacing: -.04em; }
h2 { margin: 0; font-size: 1.5rem; }
h3 { margin: 0; font-size: 1rem; font-weight: 600; }
section { background: #17222b; border: 1px solid #2c3b46; border-radius: 12px; padding: 24px; margin: 20px 0; }
.host-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.host-grid article { margin: 0; padding: 16px; background: #101b23; }
.uptime { color: #9eafbc; font-size: .85rem; font-variant-numeric: tabular-nums; margin: 14px 0 0; min-height: 1.6em; }
.config-version { margin: 8px 0 0; color: #9eafbc; font-size: .75rem; }
.config-version code { overflow-wrap: anywhere; color: #9fe2d4; }
.config-version a { display: inline-block; min-width: 8ch; }
.kernel-version { display: inline-block; min-width: 8ch; }
.disk-host { margin-top: 24px; }
#disk-charts, #cpu-charts, #memory-charts { margin-top: 20px; }
.chart-row { position: relative; }
.chart-row svg { cursor: crosshair; }
.chart-cursor { position: absolute; top: 0; bottom: 0; width: 1px; background: #fff; pointer-events: none; }
.inspection-time { margin: 7px 0 0; height: 1.6em; white-space: nowrap; color: #9eafbc; font-size: .75rem; font-variant-numeric: tabular-nums; }
p { line-height: 1.6; }
.eyebrow { color: #76cbb8; font-size: .75rem; letter-spacing: .18em; margin: 0; }
.subtitle, footer, #status, .axis, .pool small { color: #9eafbc; font-size: .85rem; }
a { color: #8bdbca; }
button { border: 1px solid #41535f; border-radius: 6px; background: #1c2a34; color: inherit; padding: 10px 16px; cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
article { background: #17222b; border: 1px solid #2c3b46; border-radius: 12px; padding: 24px; margin: 20px 0; }
.badge { font-size: .8rem; border-radius: 20px; padding: 5px 12px; background: #293b47; }
.up { color: #85e4b8; } .down, .error { color: #ffad9f !important; }
.pools { margin: 20px 0 24px; }
.pool { padding: 9px 0; border-bottom: 1px solid #2c3b46; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.chart-heading { position: absolute; inset: 0; z-index: 1; margin: 0; padding: 0 10px; font-size: .85rem; pointer-events: none; }
.chart-heading h3, .chart-heading output { background: #101b23dd; border-radius: 3px; padding: 2px 6px; }
.chart-heading output { color: #9fe2d4; font-variant-numeric: tabular-nums; }
svg { width: 100%; height: 48px; display: block; background: #101b23; }
.axis { display: flex; justify-content: space-between; margin-top: 7px; font-size: .7rem; }
footer { margin-top: 32px; max-width: 760px; }
.legend { display: flex; align-items: center; gap: 5px; }
.legend i { width: 28px; height: 12px; background: #285b64; }
.legend i:nth-of-type(2) { background: #318983; }
.legend i:nth-of-type(3) { background: #52b99b; }
.legend i:nth-of-type(4) { background: #b4e9b0; }
@media (max-width: 600px) { main { padding: 24px 14px; } section { padding: 18px; } .host-grid { grid-template-columns: 1fr; } .pool small { display: block; } }
