:root{color-scheme:light;--page: #f3f2ee;--surface: #fcfcfb;--line: #dddcd6;--text: #0b0b0b;--text-2: #52514e;--text-3: #74736e;--avg: #2a78d6;--gust: #2a78d6;--tasman: #eb6834;--tide: #8a98a8;--good: #0a7d0a;--good-bg: #e3f4e1;--warn: #8a5a00;--warn-bg: #fdeec7;--bad: #b42626;--bad-bg: #fbe3e1;--none: #52514e;--none-bg: #ebeae5;--heat-0: #ebeae5;--heat-1: #b7d3f6;--heat-2: #86b6ef;--heat-3: #5598e7;--heat-4: #2a78d6;--heat-5: #184f95;--rose-10: #86b6ef;--rose-15: #1c5cab}@media (prefers-color-scheme: dark){:root{color-scheme:dark;--page: #111110;--surface: #1a1a19;--line: #383835;--text: #f0efec;--text-2: #c3c2b7;--text-3: #96958c;--avg: #3987e5;--gust: #3987e5;--tasman: #d95926;--tide: #6f7c8c;--good: #4cc94c;--good-bg: #12301a;--warn: #fab219;--warn-bg: #3a2c08;--bad: #f08080;--bad-bg: #3d1818;--none: #c3c2b7;--none-bg: #2a2a28;--heat-0: #2a2a28;--heat-1: #104281;--heat-2: #1c5cab;--heat-3: #2a78d6;--heat-4: #5598e7;--heat-5: #9ec5f4;--rose-10: #1c5cab;--rose-15: #86b6ef}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--page);color:var(--text);font:15px/1.4 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased}#app{max-width:860px;margin:0 auto;padding:calc(10px + env(safe-area-inset-top)) calc(12px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left))}h1,h2{margin:0;font-weight:700;letter-spacing:-.01em}h1{font-size:20px}h2{font-size:15px}p{margin:0}.muted{color:var(--text-2)}button{font:inherit;color:inherit;cursor:pointer}:focus-visible{outline:2px solid var(--avg);outline-offset:2px}.top{display:flex;align-items:center;gap:10px;margin-bottom:10px}.top h1{flex:1}.status{color:var(--text-2);font-size:13px;font-variant-numeric:tabular-nums}.icon-button{width:40px;height:40px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:20px;line-height:1}.banner{margin-bottom:10px;padding:8px 12px;border-radius:10px;background:var(--warn-bg);color:var(--text);border:1px solid var(--warn);font-size:13px}.tiles{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:10px}@media (min-width: 720px){.tiles{grid-template-columns:repeat(3,1fr)}}.tile{--tone: var(--none);--tone-bg: var(--none-bg);background:var(--surface);border:1px solid var(--line);border-left:6px solid var(--tone);border-radius:12px;padding:10px 12px 10px 10px}.tile.verdict-ideal{--tone: var(--good);--tone-bg: var(--good-bg)}.tile.verdict-marginal{--tone: var(--warn);--tone-bg: var(--warn-bg)}.tile.verdict-no_go{--tone: var(--bad);--tone-bg: var(--bad-bg)}.tile-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.tile-head h2{font-size:16px}.verdict{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 8px;border-radius:999px;background:var(--tone-bg);color:var(--tone);font-weight:700;font-size:15px;white-space:nowrap}.verdict-icon{font-size:14px}.verdict-word{color:var(--text)}.tile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 10px;margin-top:8px}.tile-dir{display:flex;align-items:center;gap:8px;margin-top:8px}.dir-text{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums}.stat-label{color:var(--text-2);font-size:11px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.stat-value{font-size:24px;font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums;white-space:nowrap}.unit{font-size:12px;font-weight:500;color:var(--text-2)}.dir-arrow{flex:none}.dir-ring{fill:none;stroke:var(--line);stroke-width:1.5}.dir-head{fill:var(--text)}.dir-cell{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.tile-flags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.tag{display:inline-block;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;border:1px solid transparent}.stat .tag{margin-top:2px}td .tag{margin-left:6px}.tag-warn{background:var(--warn-bg);border-color:var(--warn);color:var(--text)}.tag-danger{background:var(--bad-bg);border-color:var(--bad);color:var(--text)}.tag-good{background:var(--good-bg);border-color:var(--good);color:var(--text)}.tag-muted{background:var(--none-bg);color:var(--text-2)}.local-check,.tile-age,.tile-note{margin-top:6px;font-size:13px;color:var(--text-2)}.local-check{color:var(--text);font-variant-numeric:tabular-nums}.local-label,.age{color:var(--text-2)}.is-stale{--tone: var(--none);--tone-bg: var(--none-bg)}.tile.is-stale .tile-stats,.local-check.is-stale,tr.is-stale td,tr.is-stale th{opacity:.45}.card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:10px;min-width:0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;min-height:32px}.card-note{color:var(--text-2);font-size:13px;margin:-4px 0 8px}.empty{color:var(--text-2);padding:12px 0}.segmented{display:inline-flex;border:1px solid var(--line);border-radius:9px;overflow:hidden}.segmented button{border:0;background:transparent;padding:6px 12px;min-height:32px;font-size:13px;color:var(--text-2)}.segmented button+button{border-left:1px solid var(--line)}.segmented button[aria-pressed=true]{background:var(--text);color:var(--surface);font-weight:600}.scroll-x{overflow-x:auto;-webkit-overflow-scrolling:touch}table.data{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}table.data th,table.data td{padding:6px 6px 6px 0;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap;font-weight:400}table.data thead th{color:var(--text-2);font-size:11px;text-transform:uppercase;letter-spacing:.04em}table.data tbody th{font-weight:600}table.data .num{text-align:right;padding-right:10px}table.data th:last-child,table.data td:last-child{padding-right:0}table.data tbody tr:last-child th,table.data tbody tr:last-child td{border-bottom:0}.facts{margin-top:8px;color:var(--text-2);font-size:13px}.chart-wrap,.heat-wrap,.rose-wrap{min-width:0}.rose-wrap{display:flex;flex-direction:column;align-items:center}svg{display:block;max-width:100%;touch-action:pan-y}svg text{font:10.5px system-ui,-apple-system,sans-serif;fill:var(--text-3);font-variant-numeric:tabular-nums}svg text.strong{fill:var(--text-2);font-weight:600}.axis-title{fill:var(--text-2)}.grid{stroke:var(--line);stroke-width:1;opacity:.7}.grid-x{opacity:.35}.grid-day{opacity:1}.grid-ring{fill:none;stroke:var(--line)}.ref-line{stroke:var(--text-2);stroke-width:1;stroke-dasharray:2 4}svg text.ref-label{fill:var(--text-2);paint-order:stroke;stroke:var(--surface);stroke-width:3px}.series{fill:none;stroke-linejoin:round;stroke-linecap:round}.series-avg{stroke:var(--avg);stroke-width:2}.series-gust{stroke:var(--gust);stroke-width:1.25;stroke-dasharray:1 3.5}.series-tasman{stroke:var(--tasman);stroke-width:2}.tide-area{fill:var(--tide);opacity:.18}.crosshair{stroke:var(--text-2);stroke-width:1}.dot{stroke:var(--surface);stroke-width:2}.dot-avg,.dot-gust{fill:var(--avg)}.dot-gust{r:3px}.dot-tasman{fill:var(--tasman)}.hit{fill:transparent;cursor:crosshair}.legend{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;color:var(--text-2);margin-bottom:6px}.legend>span{display:inline-flex;align-items:center;gap:6px}svg+.legend{margin:8px 0 0}.key{display:inline-block;width:16px;height:0;border-top:2px solid var(--text-2);flex:none}.key-avg{border-color:var(--avg)}.key-gust{border-top:2px dotted var(--gust)}.key-tasman{border-color:var(--tasman)}.key-tide{height:10px;border:0;border-radius:2px;background:var(--tide);opacity:.4}.swatch{display:inline-block;width:12px;height:12px;border-radius:2px;flex:none}.heat-ramp{gap:2px!important}.heat{stroke:none}.heat-0{fill:var(--heat-0);background:var(--heat-0)}.heat-1{fill:var(--heat-1);background:var(--heat-1)}.heat-2{fill:var(--heat-2);background:var(--heat-2)}.heat-3{fill:var(--heat-3);background:var(--heat-3)}.heat-4{fill:var(--heat-4);background:var(--heat-4)}.heat-5{fill:var(--heat-5);background:var(--heat-5)}.heat-none{fill:transparent;stroke:var(--line);stroke-dasharray:1 2;background:transparent;outline:1px dotted var(--line);outline-offset:-1px}.rose-10{fill:var(--rose-10);background:var(--rose-10)}.rose-15{fill:var(--rose-15);background:var(--rose-15)}.rose-sector:hover path{stroke:var(--text);stroke-width:1}.tip{position:absolute;z-index:10;pointer-events:none;max-width:240px;padding:8px 10px;border-radius:8px;background:var(--surface);border:1px solid var(--line);box-shadow:0 4px 16px #0000002e;font-size:12.5px;color:var(--text);font-variant-numeric:tabular-nums}.tip-title{font-weight:700;margin-bottom:3px}.tip-row{display:flex;align-items:center;gap:6px}.tip-label{color:var(--text-2);flex:1}.tip-value{font-weight:600;margin-left:10px}.footer{margin-top:4px;padding:10px 4px;font-size:12.5px;color:var(--text-2)}.health{display:grid;grid-template-columns:1fr;gap:4px 16px;margin:0}@media (min-width: 560px){.health{grid-template-columns:1fr 1fr}}.health-item{display:flex;gap:6px}.health dt{font-weight:600;color:var(--text);white-space:nowrap}.health dt:after{content:":"}.health dd{margin:0}.health-warn dd,.health-bad dd{color:var(--text);font-weight:600}.health-detail,.health-actions{margin-top:8px}button.link{border:0;background:none;padding:6px 0;color:var(--text-2);text-decoration:underline}.login{max-width:300px;margin:18vh auto 0;display:flex;flex-direction:column;gap:12px}.login h1{font-size:28px}.login input{font:inherit;font-size:22px;letter-spacing:.2em;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--text);width:100%}button.primary{padding:12px;border:0;border-radius:10px;background:var(--text);color:var(--surface);font-weight:700;font-size:16px}button.primary:disabled{opacity:.5}.form-error{color:var(--bad);min-height:1.4em;font-weight:600}@media (max-width: 420px){.dir-cell svg{display:none}}
