:root{--bg:#f6f8fa;--surface:#fff;--surface-2:#eef2f5;--text:#1b2733;--muted:#56636f;--border:#d5dde3;--accent:#0b6e99;--clear:#1a7f37;--clear-bg:#e6f4ea;--possible:#8a5a00;--possible-bg:#fff4d6;--likely:#c4202c;--likely-bg:#fde8e9;--pred:#7a8b99;--obs:#0b6e99;--fc:#6f42c1;--band:#6f42c129;--night:#1b27330f;--draining:#964a52;--draining-bg:#f8eaeb;--radius:14px;--font:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#0d1117;--surface:#161b22;--surface-2:#1f2630;--text:#e6edf3;--muted:#9aa7b3;--border:#2d3640;--accent:#58b4e0;--clear:#3fb950;--clear-bg:#3fb95024;--possible:#e3b341;--possible-bg:#e3b34124;--likely:#ff6b6b;--likely-bg:#ff6b6b26;--pred:#7d8b98;--obs:#58b4e0;--fc:#b48eff;--band:#b48eff2e;--night:#00000052;--draining:#d99a9e;--draining-bg:#d99a9e24}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);font:16px/1.5 var(--font);flex-direction:column;min-height:100dvh;margin:0;display:flex}a{color:var(--accent)}.skip{position:absolute;left:-999px}.skip:focus{z-index:10;background:var(--surface);padding:8px 12px;top:8px;left:16px}.site-header{z-index:5;padding:max(10px, env(safe-area-inset-top)) 16px 10px;background:var(--bg);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;display:flex;position:sticky;top:0}.brand{color:var(--text);letter-spacing:.01em;font-size:1.05rem;font-weight:700;text-decoration:none}.tabs{background:var(--surface-2);border-radius:999px;gap:4px;padding:3px;display:flex}.tabs button,.tab-link{appearance:none;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;min-height:36px;padding:6px 16px;font-size:.95rem;text-decoration:none;display:inline-flex}.tabs button[aria-selected=true]{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 2px #0000001f}main{flex:1;width:100%;max-width:760px;margin:0 auto;padding:12px 16px 24px}#notices:empty{display:none}.notice{border:1px solid var(--border);background:var(--surface);border-left:4px solid var(--possible);border-radius:10px;margin-bottom:10px;padding:10px 12px;font-size:.93rem}.notice.info{border-left-color:var(--accent)}.asof{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px 10px;margin:2px 0 10px;font-size:.93rem;display:flex}.btn{appearance:none;font:inherit;color:var(--text);background:var(--surface-2);border:1px solid var(--border);cursor:pointer;border-radius:999px;min-height:36px;padding:6px 14px;font-size:.9rem;font-weight:600}.btn:focus-visible,.tabs button:focus-visible,input[type=range]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.cards{gap:12px;display:grid}.card{background:var(--surface);border:1px solid var(--border);border-left:6px solid var(--border);border-radius:var(--radius);padding:14px 16px}.card.status-clear{border-left-color:var(--clear)}.card.status-possible{border-left-color:var(--possible)}.card.status-likely{border-left-color:var(--likely)}.card.status-draining{border-left-color:var(--draining)}.card-head{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.card h2,.card h3{margin:0;font-size:1.1rem;line-height:1.3}.stretch{color:var(--muted);margin:2px 0 8px;font-size:.9rem}.card .next{margin:6px 0;font-size:1rem}.card .detour,.card .meta{color:var(--muted);margin:4px 0 0;font-size:.88rem}.skeleton:after{content:"";background:var(--surface-2);border-radius:8px;height:44px;display:block}.pill{white-space:nowrap;border-radius:999px;flex:none;align-items:center;gap:6px;padding:3px 10px;font-size:.88rem;font-weight:700;display:inline-flex}.pill:before{content:"";background:currentColor;border-radius:50%;width:9px;height:9px}.pill.clear{color:var(--clear);background:var(--clear-bg)}.pill.possible{color:var(--possible);background:var(--possible-bg)}.pill.likely{color:var(--likely);background:var(--likely-bg)}.pill.draining{color:var(--draining);background:var(--draining-bg)}.chart-section{margin-top:22px}.chart-section h2{margin:0 0 2px;font-size:1.05rem}.chart-help{color:var(--muted);margin:0 0 8px;font-size:.86rem}.chart{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-height:260px;padding:8px 4px 0;overflow:hidden}.legend{color:var(--muted);flex-wrap:wrap;gap:4px 14px;margin:8px 0 0;padding:0;font-size:.84rem;list-style:none;display:flex}.legend li{align-items:center;gap:6px;display:inline-flex}.legend .swatch{border-top:3px solid;width:18px;height:0}.legend .swatch.dashed{border-top-style:dashed;border-top-width:2px}.legend .swatch.band{background:var(--band);border:0;height:10px}.chart .u-legend{color:var(--muted);font-size:.8rem}#view-map:not([hidden]){flex-direction:column;gap:10px;display:flex}.map{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface-2);height:min(40dvh,420px);min-height:240px;overflow:hidden}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.time-panel{flex-direction:column;gap:8px;min-width:0;display:flex}.moment{font-variant-numeric:tabular-nums;min-height:2.7em;margin:0;font-size:1rem;font-weight:600;line-height:1.35}.tl-wrap{border:1px solid var(--border);background:var(--surface);border-radius:12px;position:relative;overflow:hidden}.tl-scroll{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;overflow:auto hidden}.tl-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.tl-inner{position:relative}.tl-labels{z-index:3;pointer-events:none;position:absolute;top:0;left:0}.tl-label-head{color:var(--muted);background:var(--surface);border-right:1px solid var(--border);align-items:flex-end;padding:0 0 6px 10px;font-size:.72rem;display:flex}.tl-label{pointer-events:auto;height:44px;font:inherit;color:var(--text);background:var(--surface);border:0;border-top:1px solid var(--border);border-right:1px solid var(--border);text-align:left;cursor:pointer;align-items:center;gap:7px;padding:0 8px 0 10px;font-size:.86rem;font-weight:600;display:flex;position:absolute;left:0}.tl-dot{background:var(--clear);border-radius:50%;flex:none;width:10px;height:10px}.tl-dot.possible{background:var(--possible)}.tl-dot.likely{background:var(--likely)}.tl-dot.draining{background:var(--draining)}.tl-night{background:var(--night);pointer-events:none;position:absolute;top:0;bottom:0}.tl-midnight{background:var(--border);pointer-events:none;width:1px;position:absolute;top:0;bottom:0}.tl-day{color:var(--muted);white-space:nowrap;pointer-events:none;font-size:.72rem;font-weight:600;position:absolute;top:4px}.tl-row{border-top:1px solid var(--border);pointer-events:none;height:44px;position:absolute;left:0}.tl-tick{width:64px;height:48px;font:inherit;color:var(--text);cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:flex-start;align-items:center;padding:2px 0 0;line-height:1.15;display:flex;position:absolute}.tl-tick:after{content:"";background:var(--accent);border-radius:1px;width:2px;height:9px;position:absolute;bottom:0;left:31px}.tl-tick-time{font-size:.72rem;font-weight:600}.tl-tick-level{color:var(--muted);font-size:.72rem}.tl-bar{cursor:pointer;z-index:1;background:0 0;border:0;height:44px;padding:0;position:absolute}.tl-bar-fill{background:var(--possible);border-radius:7px;height:14px;position:absolute;top:15px;overflow:hidden}.tl-bar-likely,.tl-bar-drain{background:var(--likely);height:100%;position:absolute;top:0}.tl-bar-drain.likely{background:color-mix(in srgb, var(--likely) 45%, var(--surface))}.tl-bar-drain.possible{background:color-mix(in srgb, var(--possible) 45%, var(--surface))}.tl-bar:focus-visible,.tl-tick:focus-visible,.tl-label:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.tl-sel{background:var(--text);z-index:2;pointer-events:none;width:2px;box-shadow:0 0 0 1px var(--surface);position:absolute;top:0}input[type=range]{width:100%;height:44px;accent-color:var(--accent);margin:0}.step-row{grid-template-columns:1fr auto 1fr;gap:8px;display:grid}.step-row .btn{padding:6px 10px;font-size:.86rem}.step-row .btn,.chip,.ev-row,#quiet-toggle{min-height:44px}.btn:disabled,.chip:disabled{opacity:.45;cursor:default}.chips{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.chip{appearance:none;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);text-align:left;cursor:pointer;border-radius:12px;flex-wrap:wrap;align-content:center;align-items:baseline;column-gap:4px;padding:6px 10px;font-size:.82rem;font-weight:600;display:flex}.chip-when{color:var(--muted);font-size:.76rem;font-weight:400}.event-list h2{margin:10px 0 4px;font-size:1.05rem}.ev-day h3{color:var(--muted);margin:12px 0 4px;font-size:.92rem}.ev-quiet-tag{font-size:.8rem;font-weight:400}.ev-day ul{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin:0;padding:0;list-style:none;overflow:hidden}.ev-day li+li{border-top:1px solid var(--border)}.ev-row{width:100%;font:inherit;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:5.2em 12px 1fr;align-items:center;gap:8px;padding:8px 12px;font-size:.93rem;display:grid}.ev-row[aria-current=true]{background:var(--surface-2);box-shadow:inset 3px 0 0 var(--accent)}.ev-time{font-variant-numeric:tabular-nums;color:var(--muted)}.ev-dot{border-radius:50%;width:10px;height:10px}.ev-dot.possible{background:var(--possible)}.ev-dot.likely{background:var(--likely)}.ev-dot.clear{background:var(--clear)}.ev-dot.high{background:var(--accent);border-radius:2px;transform:rotate(45deg)scale(.8)}.ev-note{color:var(--muted);font-size:.86rem}.ev-empty{color:var(--muted)}#quiet-toggle{margin-top:10px}.next-link{color:inherit;text-decoration:none}.next-cta{color:var(--accent);text-underline-offset:2px;margin-left:4px;font-size:.86rem;font-weight:600;text-decoration:underline;display:inline-block}.sheet{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);color:var(--text);width:min(560px,100vw - 32px);padding:12px}.sheet::backdrop{background:#00000073}.sheet form{justify-content:flex-end;margin-top:10px;display:flex}.maplibregl-ctrl-attrib{font-size:11px}.prose{max-width:640px}.prose h1{margin:8px 0 12px;font-size:1.5rem}.prose h2{margin:22px 0 6px;font-size:1.1rem}.prose li{margin-bottom:6px}.site-footer{border-top:1px solid var(--border);color:var(--muted);padding:14px 16px max(18px, env(safe-area-inset-bottom));text-align:center;font-size:.86rem}.site-footer p{max-width:640px;margin:4px auto}.site-footer .safety strong{color:var(--text)}@media (min-width:720px){.cards{grid-template-columns:repeat(3,1fr)}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
