:root{color-scheme:light;--bg:#f5f5f7;--ink:#202126;--muted:#74757d;--home:#f47c37;--away:#87a8bc;--unknown:#eeeef1;--border:#e8e8ec}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #f47c37;outline-offset:4px}button:disabled{opacity:.5;cursor:wait}button{border:0;border-radius:12px;padding:10px 15px}h1,h2,p{margin:0}h1{font-size:36px;letter-spacing:-1.5px;line-height:1.2}h2{font-size:19px;letter-spacing:-.4px}.app{max-width:900px;margin:auto;padding:48px 24px 30px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}header .muted{margin-top:7px;font-size:14px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--muted);font-weight:700;margin-bottom:8px}.card{background:white;border:1px solid #ffffff;border-radius:24px;padding:25px 28px;margin-bottom:18px;box-shadow:0 4px 20px #1c1b2403}.card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.category{font-size:12px;font-weight:750;color:#d96726;letter-spacing:1px}.pill{font-size:12px;background:#f2f2f5;color:#75757d;padding:5px 11px;border-radius:20px;font-weight:600;white-space:nowrap}.pill.home{background:#fff0e6;color:#b64e16}.pill.away{background:#eaf1f6;color:#557a91}.big-value{font-size:76px;letter-spacing:-4px;line-height:1.2;font-weight:650;margin-top:20px}.big-value small{font-size:26px;font-weight:450;letter-spacing:-1px;color:var(--muted);margin:0 9px 0 4px}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.65}.hero>.muted{font-size:14px;margin-top:6px}.timeline{height:20px;background:var(--unknown);border-radius:7px;display:flex;position:relative;overflow:hidden;margin-top:30px}.timeline-segment{position:absolute;height:100%;background:var(--home)}.timeline-segment.away{background:var(--away)}.timeline-labels{display:flex;justify-content:space-between;margin-top:8px;font-size:10px;color:var(--muted)}.legend{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-top:20px}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:7px;height:7px;border-radius:50%;display:inline-block}.home-dot{background:var(--home)}.away-dot{background:var(--away)}.unknown-dot{background:#d9d9df}.segmented{display:flex;background:var(--bg);padding:3px;border-radius:10px}.segmented button{font-size:12px;background:transparent;padding:5px 11px;border-radius:7px;color:var(--muted)}.segmented button.selected{color:var(--ink);background:white;box-shadow:0 1px 5px #0000000d}.chart-caption{font-size:13px;margin-top:15px;min-height:20px}.chart{height:190px;display:flex;align-items:stretch;gap:12px;margin:18px 0 12px;border-bottom:1px solid var(--border);padding-bottom:10px}.chart-day{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;padding:0;background:none;border-radius:5px;gap:8px;justify-content:flex-end}.bar-track{height:148px;width:100%;max-width:48px;display:flex;align-items:flex-end;border-radius:6px;background:linear-gradient(to top,#f8f8fa,#fafafa);overflow:hidden}.bar{width:100%;background:#ffd0ad;min-height:2px;border-radius:6px 6px 0 0}.chart-day.current .bar{background:var(--home)}.chart-day.chosen .bar-track{outline:2px solid #d96726;outline-offset:2px}.chart-day.empty .bar{background:#dddde3;height:3px!important}.day-label{font-size:11px;color:var(--muted)}.chart.month{gap:5px}.chart.month .bar-track{max-width:none}.chart.month .day-label{font-size:9px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}.two-col .card{min-width:0}.two-col h2{margin-bottom:12px}.two-col p{font-size:14px}.two-col .small{font-size:12px;margin-top:12px}.quiet{color:var(--muted);background:transparent;font-size:13px;padding:8px 10px}.quiet:hover{background:#f2f2f5}.accent,.text-link{color:#c75f29}.text-link{font-size:12px;display:inline-block;margin-top:15px;text-decoration:none}.danger{color:#b63d3d}.events{margin-top:20px}.event-row{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding:13px 0;gap:8px}.event-row:first-child{border-top:0}.event-title{font-size:14px;font-weight:600}.event-detail{font-size:12px;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}.event-label{display:flex;align-items:center;gap:10px}.event-dot{width:9px;height:9px;border-radius:50%;background:var(--home);flex-shrink:0}.event-dot.away{background:var(--away)}summary{cursor:pointer;font-weight:650;font-size:17px}summary span{font-size:12px;font-weight:400;color:var(--muted);display:inline-block;margin-left:12px}.setup-content{font-size:14px;line-height:1.7;padding-top:18px}.setup-content ol{padding-left:20px}.setup-content table{width:100%;border-collapse:collapse;font-size:12px;margin-top:18px}.setup-content th,.setup-content td{text-align:left;padding:10px 5px;border-bottom:1px solid var(--border)}label{display:block;font-size:12px;font-weight:600;margin:17px 0 6px}input,select{width:100%;min-width:0;padding:12px;border:1px solid var(--border);border-radius:10px;background:#fafafa;color:var(--ink)}input:focus,select:focus{outline:2px solid #f0a16c;outline-offset:1px}.copy-row{display:flex;align-items:center;gap:8px}.copy-row input{font:12px/1.5 ui-monospace,monospace}.primary{background:var(--ink);color:white;font-size:14px;font-weight:600;padding:13px 18px}footer{text-align:center;color:var(--muted);font-size:10px;margin-top:30px}.notice{background:#fff4ef;padding:16px;border-radius:14px;margin-bottom:18px}.error{color:#ae3737;font-size:13px}dialog{border:0;border-radius:24px;padding:25px;width:min(450px,calc(100% - 32px));color:var(--ink)}dialog::backdrop{background:#22232b65;backdrop-filter:blur(3px)}.dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:23px}#dialog-error{margin-top:12px}.login-page{min-height:100svh;display:grid;place-items:center;padding:24px}.login-card{background:white;border-radius:28px;padding:40px;width:min(420px,100%);box-shadow:0 12px 55px #20212608}.login-card>p:not(.eyebrow){color:var(--muted);font-size:14px;margin-top:15px}.login-card form{margin-top:28px}.login-card form .primary{width:100%;margin-top:16px}.login-card .error{margin-top:10px}.app-icon{width:58px;height:58px;background:#fff0e4;color:#e8742f;border-radius:17px;display:grid;place-items:center;font-size:42px;line-height:1;margin-bottom:28px}code{font-family:ui-monospace,monospace;font-size:.95em}body.modal-open{overflow:hidden}[hidden]{display:none!important}@media(max-width:600px){.app{padding:28px 16px 25px}h1{font-size:32px}.card{border-radius:20px;padding:22px 20px}.big-value{font-size:64px}.big-value small{font-size:23px}.two-col{grid-template-columns:1fr;gap:0}.chart{gap:8px}.chart.month{gap:3px}.chart.month .day-label{font-size:8px}.card-top h2{font-size:17px}summary span{display:block;margin:5px 0 0 18px}.legend{gap:12px}.login-card{padding:30px}.setup-content table{font-size:11px}.quiet{padding:8px;font-size:12px}.copy-row{gap:2px}}

.setup-content code{overflow-wrap:anywhere}
.health-card{padding:26px 28px 22px}.health-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.health-title h2{font-size:21px;letter-spacing:-.6px}.health-ranges{width:100%;padding:3px;border-radius:14px;background:#efeff2;margin-bottom:23px}.health-ranges button{flex:1;min-height:34px;padding:5px 0;font-size:14px;color:#303136;border-radius:12px}.health-ranges button.selected{box-shadow:0 1px 4px #00000009}.metric-kind{font-size:11px;font-weight:650;letter-spacing:.8px;color:#929298;line-height:24px}.health-metric .card-top{min-height:26px}.health-metric .card-top .quiet{padding:2px 5px}.health-value{font-size:52px;font-weight:650;letter-spacing:-2.4px;line-height:1.15;margin:0 0 6px}.health-value small{font-size:22px;font-weight:450;color:#8d8d94;letter-spacing:-.8px;margin:0 9px 0 4px}.health-metric{min-height:111px}.health-metric .small{line-height:1.4;min-height:18px}.period-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 12px}.period-label{font-size:14px;color:#85858d;letter-spacing:-.2px;text-align:center}.period-arrow{font-size:26px;font-weight:350;background:none;padding:0 4px;line-height:30px;color:#d36b32;min-width:28px;border-radius:8px}.period-arrow:disabled{opacity:.22;cursor:default}.health-plot.chart{display:block;height:260px;padding:0;margin:0;border:0;position:relative;touch-action:pan-y;user-select:none;-webkit-user-select:none;gap:0}.health-plot svg{display:block;overflow:visible}.plot-grid{stroke:#e9e9ed;stroke-width:1;vector-effect:non-scaling-stroke}.plot-vertical{stroke-dasharray:3 3}.plot-label{fill:#9999a0;font-size:12px;font-family:inherit;font-weight:400}.plot-line{fill:none;stroke:var(--home);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;pointer-events:none}.plot-dot{fill:white;stroke:var(--home);stroke-width:2.3}.plot-point{cursor:crosshair;outline:none}.plot-point.partial .plot-dot{stroke-dasharray:2 2}.plot-point.chosen .plot-dot,.plot-point:focus-visible .plot-dot{r:6;fill:var(--home);stroke:white;stroke-width:2;filter:drop-shadow(0 0 1px #b95824)}.plot-bar{fill:var(--home)}.plot-point.partial .plot-bar{fill:#f7bc94}.plot-point.chosen .plot-bar,.plot-point:focus-visible .plot-bar{fill:#b65320}.plot-crosshair{stroke:#a7a7b0;stroke-width:1;stroke-dasharray:3 3;pointer-events:none}.plot-empty{position:absolute;top:42%;left:12%;right:24%;text-align:center;font-size:13px;color:#9999a0;pointer-events:none;background:#ffffffc9;border-radius:8px;padding:6px}.chart-notes{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:#9999a0;margin-top:12px;min-height:20px}.chart-notes span{display:inline-flex;align-items:center;gap:5px}.partial-key{display:inline-block;width:8px;height:8px;border:1.5px dashed var(--home);border-radius:50%}.chart-method{margin-top:7px;font-size:11px}.health-plot[aria-busy=true]{opacity:.55}.current-card .big-value{font-size:44px;letter-spacing:-2px;margin-top:12px}.current-card .big-value small{font-size:21px}.current-card .timeline{margin-top:22px}.current-card .legend{margin-top:14px}@media(max-width:600px){.health-card{padding:22px 17px 20px}.health-title{margin-bottom:18px}.health-title h2{font-size:19px}.health-ranges{margin-bottom:20px}.health-ranges button{font-size:14px;min-height:32px}.health-value{font-size:48px}.health-value small{font-size:20px}.period-label{font-size:12px}.plot-label{font-size:11px}.health-metric{min-height:109px}.chart-method{font-size:10px}.current-card .big-value{font-size:42px}}

.health-plot[aria-busy=true]{pointer-events:none}
