*{box-sizing:border-box}body{margin:auto;max-width:1100px;padding:clamp(16px,4vw,50px);background:#f6f5ef;color:#193b38;font:16px/1.45 system-ui,sans-serif}h1,h2{font-family:Georgia,serif;font-weight:500;margin:0}h1{font-size:clamp(36px,7vw,68px)}h2{font-size:30px}header{margin-bottom:24px}#plans{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}figure,section{background:#fffefa;border:1px solid #d8dcd3;border-radius:12px;margin:0;padding:18px}figure svg{width:100%;height:260px}figcaption{display:flex;justify-content:space-between;align-items:center;font-weight:600}section{margin-top:20px}canvas{width:100%;height:240px;display:block}#legend{display:flex;gap:14px;flex-wrap:wrap;font-size:14px}#legend span{border-bottom:3px solid;padding-bottom:2px}#status,small{color:#53635e}@media(max-width:640px){#plans{grid-template-columns:1fr}figure svg{height:200px}}
figure svg{background:var(--outside-color,#e0e3dd);border-radius:6px}.outdoor-reading{display:flex;justify-content:space-between;color:#53635e;font-size:14px}

.temperature-scale{max-width:420px;margin:18px auto;font-size:14px}
.scale-bar{height:12px;margin:6px 0 2px;border-radius:4px;background:linear-gradient(to right in srgb,#97ccea,#f89f5f)}
.scale-labels{display:flex;justify-content:space-between;font-variant-numeric:tabular-nums}
.missing-key{display:inline-flex;align-items:center;gap:6px;margin-top:6px}
.missing-key::before{content:"";width:12px;height:12px;background:#e0e3dd;border-radius:2px}

.snapshot{display:flex;align-items:center;gap:6px 18px;flex-wrap:wrap;color:#53635e}
#status{display:inline-flex;align-items:center;gap:8px}
#status::before{content:"";width:9px;height:9px;border-radius:50%;background:#53635e}
#status.fresh::before{background:#286249}
#status.stale::before{background:#a44833}
@media(max-width:640px){.snapshot{align-items:flex-start;flex-direction:column}}

#history-controls:not([hidden]){display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;margin:12px 0}
#history-controls label{display:flex;align-items:center;gap:6px}
#history-controls select{font:inherit;padding:4px}
#history-hour{accent-color:#246a64;width:clamp(90px,20vw,200px)}
#history-time{font-variant-numeric:tabular-nums}
