.uplot,.uplot *,.uplot *:before,.uplot *:after{box-sizing:border-box}.uplot{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5;width:min-content}.u-title{text-align:center;font-size:18px;font-weight:700}.u-wrap{position:relative;-webkit-user-select:none;user-select:none}.u-over,.u-under{position:absolute}.u-under{overflow:hidden}.uplot canvas{display:block;position:relative;width:100%;height:100%}.u-axis{position:absolute}.u-legend{font-size:14px;margin:auto;text-align:center}.u-inline{display:block}.u-inline *{display:inline-block}.u-inline tr{margin-right:16px}.u-legend th{font-weight:600}.u-legend th>*{vertical-align:middle;display:inline-block}.u-legend .u-marker{width:1em;height:1em;margin-right:4px;background-clip:padding-box!important}.u-inline.u-live th:after{content:":";vertical-align:middle}.u-inline:not(.u-live) .u-value{display:none}.u-series>*{padding:4px}.u-series th{cursor:pointer}.u-legend .u-off>*{opacity:.3}.u-select{background:#00000012;position:absolute;pointer-events:none}.u-cursor-x,.u-cursor-y{position:absolute;left:0;top:0;pointer-events:none;will-change:transform}.u-hz .u-cursor-x,.u-vt .u-cursor-y{height:100%;border-right:1px dashed #607D8B}.u-hz .u-cursor-y,.u-vt .u-cursor-x{width:100%;border-bottom:1px dashed #607D8B}.u-cursor-pt{position:absolute;top:0;left:0;border-radius:50%;border:0 solid;pointer-events:none;will-change:transform;background-clip:padding-box!important}.u-axis.u-off,.u-select.u-off,.u-cursor-x.u-off,.u-cursor-y.u-off,.u-cursor-pt.u-off{display:none}:root{--font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--r-sm: 8px;--r-md: 12px;--r-lg: 16px;--r-xl: 24px;--dur-1: .12s;--dur-2: .2s;--dur-3: .32s;--dur-4: .7s;--ease: cubic-bezier(.22, 1, .36, 1);--ease-move: cubic-bezier(.65, 0, .35, 1);--ease-sheet: cubic-bezier(.32, .72, 0, 1);--ease-exit: cubic-bezier(.4, 0, 1, 1);--nav-h: 56px;--topbar-h: 52px;--safe-b: env(safe-area-inset-bottom, 0px);--safe-t: env(safe-area-inset-top, 0px);--bg: #f6f7f8;--surface-1: #ffffff;--surface-2: #eff0f2;--surface-3: #e5e6e9;--hairline: rgba(16, 18, 20, .08);--hairline-strong: rgba(16, 18, 20, .14);--text: #101214;--text-2: #52555b;--text-3: #6b6e74;--accent: #046fc7;--accent-press: #005fae;--accent-tint: rgba(4, 111, 199, .1);--on-accent: #ffffff;--state-good: #1c7f4c;--state-mid: #a46311;--state-low: #ba3e3c;--scrim: rgba(16, 18, 20, .32);--shadow-overlay: 0 12px 40px rgba(16, 18, 20, .14);color-scheme:light}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){--bg: #090a0c;--surface-1: #131416;--surface-2: #1d1e21;--surface-3: #27292c;--hairline: rgba(255, 255, 255, .07);--hairline-strong: rgba(255, 255, 255, .12);--text: #f4f5f7;--text-2: #abaeb3;--text-3: #85888e;--accent: #43acfb;--accent-press: #2b99e7;--accent-tint: rgba(67, 172, 251, .14);--on-accent: #090a0c;--state-good: #5ccb89;--state-mid: #e9b452;--state-low: #ed756e;--scrim: rgba(0, 0, 0, .56);--shadow-overlay: none;color-scheme:dark}}:root[data-theme=dark]{--bg: #090a0c;--surface-1: #131416;--surface-2: #1d1e21;--surface-3: #27292c;--hairline: rgba(255, 255, 255, .07);--hairline-strong: rgba(255, 255, 255, .12);--text: #f4f5f7;--text-2: #abaeb3;--text-3: #85888e;--accent: #43acfb;--accent-press: #2b99e7;--accent-tint: rgba(67, 172, 251, .14);--on-accent: #090a0c;--state-good: #5ccb89;--state-mid: #e9b452;--state-low: #ed756e;--scrim: rgba(0, 0, 0, .56);--shadow-overlay: none;color-scheme:dark}:root{--chart-1: var(--accent);--chart-2: var(--text-2);--chart-3: var(--text-3);--chart-grid: var(--hairline);--chart-band: color-mix(in srgb, var(--text) 6%, transparent);--chart-band-2: color-mix(in srgb, var(--text) 11%, transparent);--zone-1: color-mix(in srgb, var(--accent) 18%, var(--surface-2));--zone-2: color-mix(in srgb, var(--accent) 38%, var(--surface-2));--zone-3: color-mix(in srgb, var(--accent) 58%, var(--surface-2));--zone-4: color-mix(in srgb, var(--accent) 80%, var(--surface-2));--zone-5: var(--accent);--bg-elev: var(--surface-1);--bg-soft: var(--surface-2);--bg-press: var(--surface-3);--border: var(--hairline);--border-strong: var(--hairline-strong);--accent-soft: var(--accent-tint);--green: var(--state-good);--amber: var(--state-mid);--red: var(--state-low);--ecg: var(--text);--monitor-grid: var(--hairline)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0}body{background:var(--bg);color:var(--text);font:400 15px/22px var(--font);-webkit-font-smoothing:antialiased;min-height:100dvh}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:var(--accent);text-decoration:none}h1,h2,h3{margin:0;letter-spacing:-.02em}h1{font-size:30px;line-height:36px;font-weight:700}h2{font-size:20px;line-height:26px;font-weight:600}h3{font-size:17px;line-height:24px;font-weight:600}.num,table.t td,.stat .value,.timer{font-variant-numeric:tabular-nums lining-nums}.num{letter-spacing:-.02em}.muted{color:var(--text-2)}.faint{color:var(--text-3)}.small{font-size:13px;line-height:18px}.hidden{display:none!important}.row{display:flex;align-items:center;gap:10px}.row.wrap{flex-wrap:wrap}.spread{display:flex;align-items:center;justify-content:space-between;gap:12px}.stack{display:flex;flex-direction:column;gap:12px}.stack-lg{display:flex;flex-direction:column;gap:24px}.grow{flex:1;min-width:0}:where(button,a,[role=tab],[role=radio],input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app{min-height:100dvh}.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:8px;min-height:calc(var(--topbar-h) + var(--safe-t));padding:var(--safe-t) 12px 0 16px;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--hairline)}.layout[data-rec] .topbar,.layout[data-rec] .tabbar{backdrop-filter:none;-webkit-backdrop-filter:none;background:var(--bg)}.brand{font-weight:700;font-size:17px;letter-spacing:-.02em}.topbar .spacer{flex:1}.content{padding:20px 16px calc(var(--nav-h) + var(--safe-b) + 32px);max-width:720px;margin:0 auto}.content.wide{max-width:1120px}.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:repeat(5,1fr);height:calc(var(--nav-h) + var(--safe-b));padding-bottom:var(--safe-b);background:color-mix(in srgb,var(--bg) 90%,transparent);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--hairline)}.tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--text-3);font-size:11px;line-height:13px;font-weight:500;transition:color var(--dur-1) var(--ease)}.tabbar a.active{color:var(--text)}.tabbar a .rec-label{display:inline-flex;align-items:center;gap:4px;color:var(--text);font-variant-numeric:tabular-nums}@media (min-width: 960px){.layout{display:grid;grid-template-columns:220px 1fr}.sidenav{position:sticky;top:0;height:100dvh;padding:20px 12px;border-right:1px solid var(--hairline);display:flex;flex-direction:column;gap:2px;background:var(--bg)}.sidenav .brand{padding:4px 12px 20px}.sidenav a{display:flex;align-items:center;gap:12px;height:40px;padding:0 12px;border-radius:var(--r-sm);color:var(--text-2);font-weight:500;transition:background var(--dur-1) var(--ease),color var(--dur-1) var(--ease)}.sidenav a:hover{background:var(--surface-2)}.sidenav a.active{background:var(--surface-2);color:var(--text)}.tabbar,.topbar .brand{display:none}.content{padding-bottom:48px}.mini-rec{bottom:20px!important}}@media (max-width: 959px){.sidenav{display:none}}.mini-rec{position:fixed;left:12px;right:12px;bottom:calc(var(--nav-h) + var(--safe-b) + 8px);z-index:35;max-width:480px;margin:0 auto;display:flex;align-items:center;gap:10px;height:48px;padding:0 8px 0 16px;border-radius:var(--r-md);background:var(--text);color:var(--bg);font-weight:600;animation:rise var(--dur-2) var(--ease)}.mini-rec .grow{font-variant-numeric:tabular-nums}.mini-rec .btn{min-height:36px;background:color-mix(in srgb,var(--bg) 14%,transparent);color:var(--bg)}.sensor-wrap{position:relative}.icon-btn.sensor-btn{position:relative;width:auto;min-width:44px;padding:0 8px;gap:2px;display:inline-flex;align-items:center}.sensor-btn .dot{position:absolute;top:9px;left:24px;width:8px;height:8px;background:var(--surface-3);box-shadow:0 0 0 2px var(--bg)}.sensor-btn .dot.good{background:var(--state-good)}.sensor-btn .dot.mid{background:var(--state-mid)}.sensor-hr{font-size:14px;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums}.popover{position:fixed;top:calc(var(--topbar-h) + var(--safe-t) + 6px);right:12px;width:min(320px,calc(100vw - 24px));z-index:60;background:var(--surface-1);border:1px solid var(--hairline-strong);border-radius:var(--r-lg);padding:16px;box-shadow:var(--shadow-overlay);animation:pop var(--dur-2) var(--ease);transform-origin:top right}.popover-rows{margin-top:12px}.popover-rows>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--hairline);font-size:14px}.popover-rows span{color:var(--text-2)}.popover-rows b{font-weight:600}.card{background:var(--surface-1);border:1px solid var(--hairline);border-radius:var(--r-lg);padding:16px}.card.tight{padding:12px}.card.flat{border-color:transparent;background:var(--surface-2)}.card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;min-height:24px}.card-title{font-size:13px;line-height:18px;font-weight:600;color:var(--text-2)}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:13px;line-height:18px;font-weight:600;color:var(--text-2);margin:0 4px 8px}.section-title .count{color:var(--text-3);font-weight:500;font-variant-numeric:tabular-nums}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:4px 2px 20px;flex-wrap:wrap}.page-head p{margin:2px 0 0;color:var(--text-3);font-size:15px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:16px}.grid3>*:not(:nth-child(3n+1)){border-left:1px solid var(--hairline);padding-left:12px}.grid3>*{padding-right:8px;min-width:0}@media (min-width: 720px){.grid-auto{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}@media (max-width: 719px){.grid-auto{display:flex;flex-direction:column;gap:12px}}.stat .label{font-size:13px;line-height:18px;color:var(--text-2);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat .value{font-size:26px;line-height:32px;font-weight:600;letter-spacing:-.02em;margin-top:2px;white-space:nowrap}.stat .value small{font-size:13px;color:var(--text-3);font-weight:500;margin-left:3px;letter-spacing:0}.stat .foot{font-size:12px;line-height:16px;color:var(--text-3);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat.text .value{font-size:17px;line-height:22px;margin-top:4px;white-space:normal}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--hairline);border:1px solid var(--hairline);border-radius:var(--r-lg);overflow:hidden}.metrics>*{background:var(--surface-1);padding:14px 16px;min-width:0}@media (min-width: 720px){.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}.day-nav{display:flex;align-items:center;gap:4px}.day-nav .day{position:relative;flex:1;text-align:center;font-weight:600}.day-nav .day small{display:block;font-size:12px;line-height:16px;color:var(--text-3);font-weight:500}.day-nav .day input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;cursor:pointer}.day-nav .icon-btn:disabled{opacity:.3}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:var(--r-md);border:0;background:var(--surface-2);color:var(--text);font-weight:600;-webkit-user-select:none;user-select:none;transition:transform var(--dur-1) var(--ease),background var(--dur-1) var(--ease),opacity var(--dur-1)}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.45;cursor:default;transform:none}.btn.primary,.btn.accent{background:var(--accent);color:var(--on-accent)}.btn.primary:active,.btn.accent:active{background:var(--accent-press)}.btn.danger{background:transparent;color:var(--state-low)}.btn.ghost{background:transparent;color:var(--text-2)}.btn.soft{background:var(--surface-2)}.btn.block{width:100%}.btn.lg{min-height:52px;font-size:16px}.btn.sm{min-height:36px;padding:0 12px;font-size:14px;border-radius:var(--r-sm)}.icon-btn{width:44px;height:44px;border-radius:var(--r-md);border:0;background:transparent;display:grid;place-items:center;color:var(--text-2)}.icon-btn:active{background:var(--surface-2)}.btn .confirm-bar{position:absolute;left:0;bottom:0;height:3px;width:100%;background:currentColor;opacity:.5;transform-origin:left;animation:drain 3s linear forwards}@keyframes drain{to{transform:scaleX(0)}}.chip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 8px;border-radius:var(--r-sm);background:var(--surface-2);color:var(--text-2);font-size:12px;font-weight:600;white-space:nowrap}.chip.green{color:var(--state-good)}.chip.amber{color:var(--state-mid)}.chip.red{color:var(--state-low)}.chip.blue,.chip.accent{color:var(--accent)}.dot{width:8px;height:8px;border-radius:50%;background:var(--text-3);display:inline-block;flex:none}.dot.good{background:var(--state-good)}.dot.mid{background:var(--state-mid)}.dot.low{background:var(--state-low)}.dot.hollow{background:transparent;box-shadow:inset 0 0 0 1.5px var(--text-3)}.note{font-size:12px;line-height:16px;color:var(--text-3)}.pill{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 10px;border-radius:var(--r-md);color:var(--text-2);font-size:14px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.pill:active{background:var(--surface-2)}.pill .dot{width:6px;height:6px}.pill[data-state=connected] .dot{background:var(--state-good)}.pill[data-state=connecting] .dot,.pill[data-state=reconnecting] .dot{background:var(--state-mid);animation:rec 1s steps(2,jump-none) infinite}.list{display:flex;flex-direction:column;background:var(--surface-1);border:1px solid var(--hairline);border-radius:var(--r-lg);overflow:hidden}.list-item{position:relative;display:flex;align-items:center;gap:14px;min-height:56px;padding:10px 16px;border:0;background:transparent;text-align:left;width:100%;color:inherit;transition:background var(--dur-1) var(--ease)}.list-item+.list-item:before{content:"";position:absolute;top:0;left:16px;right:0;height:1px;background:var(--hairline)}.list-item.lead+.list-item:before,.list.lead .list-item+.list-item:before{left:52px}button.list-item:active,a.list-item:active{background:var(--surface-2)}.list-item .title{font-weight:500}.list-item .sub{font-size:13px;line-height:18px;color:var(--text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list-item .chev{color:var(--text-3);display:grid}.list-item .value{font-weight:600;font-variant-numeric:tabular-nums}.list-item .lead-ic{color:var(--text-2);display:grid;flex:none}.list-item.done .title{color:var(--text-3)}.check{width:22px;height:22px;border-radius:50%;flex:none;display:grid;place-items:center;box-shadow:inset 0 0 0 1.6px var(--text-3);color:var(--bg);transition:background var(--dur-2) var(--ease),box-shadow var(--dur-2) var(--ease)}.check.on{background:var(--text);box-shadow:none}.check.on svg path{stroke-dasharray:24;stroke-dashoffset:24;animation:draw .42s var(--ease) forwards}@keyframes draw{to{stroke-dashoffset:0}}.rpe-num{width:28px;flex:none;text-align:center;font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}.field{display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:18px;font-weight:500;color:var(--text-2)}.input,.field input,.field select,.field textarea{height:48px;padding:0 14px;border-radius:var(--r-md);border:1px solid transparent;background:var(--surface-2);font-size:16px;font-weight:400;color:var(--text);outline:none;width:100%;transition:border-color var(--dur-1) var(--ease),background var(--dur-1) var(--ease)}.field textarea{height:auto;min-height:88px;padding:12px 14px;resize:vertical}.input:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent);background:var(--surface-1)}.form-error{color:var(--state-low);font-size:13px;font-weight:500;min-height:18px}.scale{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.scale button,.rpe button{height:48px;border-radius:var(--r-md);border:0;background:var(--surface-2);font-weight:600;font-size:16px;font-variant-numeric:tabular-nums;transition:background var(--dur-1) var(--ease),color var(--dur-1) var(--ease),transform var(--dur-1) var(--ease)}.scale button:active,.rpe button:active{transform:scale(.95)}.scale button.on,.rpe button.on{background:var(--text);color:var(--bg)}.scale-ends{display:flex;justify-content:space-between;font-size:12px;color:var(--text-3);margin-top:6px}.rpe{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.toggle-chips{display:flex;flex-wrap:wrap;gap:8px}.toggle-chips button{min-height:40px;padding:0 14px;border-radius:var(--r-sm);border:0;background:var(--surface-2);font-weight:500;font-size:14px;transition:background var(--dur-1) var(--ease),color var(--dur-1) var(--ease)}.toggle-chips button.on{background:var(--text);color:var(--bg)}.toggle-chips.col{flex-direction:column;gap:6px}.toggle-chips.col button{min-height:44px;text-align:left;padding:0 14px;border-radius:var(--r-md);font-size:15px}.seg{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);width:100%;max-width:440px;padding:3px;border-radius:var(--r-md);background:var(--surface-2)}.seg .thumb{position:absolute;top:3px;bottom:3px;left:3px;width:calc((100% - 6px) / var(--n));border-radius:9px;background:var(--surface-1);transform:translate(calc(var(--i) * 100%));transition:transform var(--dur-2) var(--ease-move)}:root[data-theme=dark] .seg .thumb{background:var(--surface-3)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .seg .thumb{background:var(--surface-3)}}.seg button{position:relative;height:38px;padding:0 6px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;border-radius:9px;background:transparent;font-weight:600;font-size:14px;color:var(--text-2);transition:color var(--dur-1) var(--ease)}.seg button.on{color:var(--text)}.stepper{display:flex;align-items:center;gap:8px}.stepper button{width:48px;height:48px;border-radius:var(--r-md);border:0;background:var(--surface-2);font-size:20px;font-weight:600}.stepper .val{min-width:84px;text-align:center;font-size:24px;font-weight:600;font-variant-numeric:tabular-nums}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:var(--scrim);display:flex;align-items:flex-end;justify-content:center;animation:fade var(--dur-2) var(--ease)}.sheet{width:100%;max-width:560px;max-height:92dvh;overflow:auto;background:var(--surface-1);border-radius:var(--r-xl) var(--r-xl) 0 0;padding:8px 20px calc(20px + var(--safe-b));box-shadow:var(--shadow-overlay);animation:sheet-in var(--dur-3) var(--ease-sheet)}.sheet-backdrop.closing{animation:fade-out var(--dur-2) var(--ease-exit) forwards}.sheet-backdrop.closing .sheet{animation:sheet-out .22s var(--ease-exit) forwards}.sheet .grab{width:36px;height:4px;border-radius:2px;background:var(--text-3);opacity:.4;margin:0 auto 16px}.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.sheet-head h2{font-size:22px;line-height:28px}.sheet-head .sub{color:var(--text-3);font-size:13px;line-height:18px;margin-top:2px}.sheet .icon-btn.close{margin:-8px -10px 0 0}@media (max-width: 719px){.sheet .icon-btn.close{display:none}}@media (min-width: 720px){.sheet-backdrop{align-items:center}.sheet{border-radius:var(--r-xl);padding-bottom:24px;animation:pop var(--dur-2) var(--ease)}.sheet .grab{display:none}.sheet-backdrop.closing .sheet{animation:fade-out .16s var(--ease-exit) forwards}}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 20px calc(24px + var(--safe-b));text-align:center;animation:fade var(--dur-2) var(--ease)}.ring-wrap{position:relative;display:grid;place-items:center;flex:none}.ring-wrap .center{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;text-align:center}.ring-wrap .center b{display:block;font-size:36px;line-height:40px;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.ring-wrap .center span{font-size:12px;color:var(--text-3);font-weight:500}.ring-wrap circle.track{stroke:var(--surface-2)}.ring-wrap circle.bar{transition:stroke-dashoffset var(--dur-4) var(--ease);transform:rotate(-90deg);transform-origin:50% 50%}.ring-wrap.run circle.bar{transition:none;animation:ring-run var(--secs) linear forwards}@keyframes ring-run{0%{stroke-dashoffset:var(--c)}to{stroke-dashoffset:0}}.hero{display:flex;gap:20px;align-items:center}.hero .state{font-size:17px;line-height:24px;font-weight:600}.hero p{margin:4px 0 0;color:var(--text-2)}.hero-empty h2{font-size:22px;line-height:28px}.hero-empty .meta{color:var(--text-3);margin-top:2px}.ticks{display:flex;gap:4px;margin:12px 0 4px}.ticks i{flex:1;height:4px;border-radius:2px;background:var(--surface-3)}.ticks i.on{background:var(--accent)}.fade-up{animation:rise var(--dur-2) var(--ease) both}.fade-up:nth-child(2){animation-delay:60ms}.fade-up:nth-child(3){animation-delay:.12s}.insight{display:flex;gap:12px;padding:12px 0;border-top:1px solid var(--hairline)}.insight:first-child{border-top:0;padding-top:0}.insight .ic{width:8px;height:8px;border-radius:50%;margin-top:7px;flex:none;background:var(--text-3)}.insight.red .ic{background:var(--state-low)}.insight.yellow .ic,.insight.warn .ic{background:var(--state-mid)}.insight.green .ic,.insight.good .ic{background:var(--state-good)}.insight b{display:block;font-size:15px;font-weight:600}.insight span{font-size:14px;color:var(--text-2)}.live-hr{display:flex;align-items:baseline;gap:10px}.live-hr .big{font-size:64px;line-height:64px;font-weight:600;letter-spacing:-.04em;min-width:3ch;font-variant-numeric:tabular-nums}.live-hr .big small{font-size:15px;color:var(--text-3);font-weight:500;margin-left:6px;letter-spacing:0}.beat-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);opacity:.3;align-self:center}.beat-dot.on{animation:beat .16s var(--ease)}@keyframes beat{0%{opacity:1}to{opacity:.3}}.signal{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:var(--text-2)}.signal.mid{color:var(--state-mid)}.signal.low{color:var(--state-low)}.signal.mid .dot{background:var(--state-mid)}.signal.low .dot{background:var(--state-low)}.signal.good .dot{background:var(--state-good)}.spark{width:100%;height:56px;display:block;margin-top:12px}.monitor canvas{width:100%;height:112px;display:block}.motion canvas{width:100%;height:120px;display:block}.rec-bar{position:sticky;top:calc(var(--topbar-h) + var(--safe-t) + 8px);z-index:25;display:flex;align-items:center;gap:10px;padding:10px 10px 10px 16px;border-radius:var(--r-lg);background:var(--text);color:var(--bg);margin-bottom:16px}.rec-bar .btn{min-height:48px;position:relative;overflow:hidden;flex:none}.rec-bar .btn.mark{width:48px;padding:0;background:color-mix(in srgb,var(--bg) 16%,transparent);color:var(--bg)}.rec-bar .btn.stop{background:var(--bg);color:var(--text);width:116px;padding:0 8px}.rec-bar .grow{min-width:0}.rec-bar .grow .small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rec-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);animation:rec 1s steps(2,jump-none) infinite;flex:none}@keyframes rec{to{opacity:.3}}.rec-bar .timer{font-size:22px;line-height:26px;font-weight:600;min-width:5ch}.rec-bar .small{opacity:.7}.start-main{display:flex;flex-direction:column;gap:16px}.tests .list-item .meta{font-size:13px;color:var(--text-3);font-variant-numeric:tabular-nums;text-align:right}.test-ring{margin:8px auto 20px}.test-ring .center b{font-size:56px;line-height:56px}.phases{display:flex;gap:4px;justify-content:center;margin-bottom:20px;width:min(320px,80vw)}.phases span{flex:1;height:4px;border-radius:2px;background:var(--surface-3);overflow:hidden}.phases span.done{background:var(--accent)}.phases span.now i{display:block;height:100%;background:var(--accent);transform-origin:left;animation:grow var(--secs) linear forwards}@keyframes grow{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.overlay h2{font-size:26px;line-height:32px;max-width:420px}.overlay p{color:var(--text-2);max-width:420px;margin:8px auto 0}.overlay .phase-text{animation:rise var(--dur-2) var(--ease)}.overlay .live{display:flex;gap:28px;justify-content:center;margin:24px 0}.overlay .live div{font-size:13px;color:var(--text-3);font-weight:500}.overlay .live b{display:block;font-size:30px;line-height:36px;color:var(--text);font-weight:600;font-variant-numeric:tabular-nums}.attempts{display:flex;gap:8px;justify-content:center;margin:20px 0}.attempts span{width:52px;height:44px;border-radius:var(--r-md);background:var(--surface-2);display:grid;place-items:center;font-weight:600;font-variant-numeric:tabular-nums;color:var(--text-3)}.attempts span.on{color:var(--text);animation:pop .26s cubic-bezier(.34,1.4,.64,1)}.chart{width:100%;animation:fade var(--dur-2) var(--ease)}.uplot{font-family:inherit}.u-legend{font-size:12px;color:var(--text-2);margin-top:4px}.u-legend .u-marker{height:3px!important;border-radius:2px;border:0!important}.u-legend .u-series:first-child{display:none}.u-legend th{font-weight:500}.legend{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;color:var(--text-2);margin-top:8px}.legend i{display:inline-block;width:12px;height:2px;border-radius:1px;margin-right:6px;vertical-align:3px}.legend i.band{height:8px;vertical-align:-1px}table.t{width:100%;border-collapse:collapse;font-size:14px}table.t th{text-align:left;color:var(--text-3);font-weight:500;font-size:13px;padding:8px 6px;border-bottom:1px solid var(--hairline);white-space:nowrap}table.t td{padding:10px 6px;border-bottom:1px solid var(--hairline)}.scroll-x{overflow-x:auto;-webkit-overflow-scrolling:touch}.auth{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 20px}.auth .box{width:100%;max-width:360px;display:flex;flex-direction:column;gap:16px;animation:rise var(--dur-3) var(--ease)}.auth .mark{width:48px;height:48px;margin:0 auto 4px;display:block}.auth h1{text-align:center;font-size:26px;line-height:32px}.auth p.lead{text-align:center;color:var(--text-3);margin:-8px 0 4px}.profiles{display:flex;flex-direction:column}.profile-btn{display:flex;align-items:center;gap:12px}.profile-btn:disabled{opacity:.45}.avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-weight:600;font-size:16px;background:var(--surface-3);color:var(--text-2);flex:none}.avatar.sm{width:32px;height:32px;font-size:13px}.pin{letter-spacing:.5em;text-align:center;font-size:28px!important;font-weight:600!important;height:60px!important;font-variant-numeric:tabular-nums}.shake{animation:shake .3s var(--ease)}@keyframes shake{20%{transform:translate(-8px)}45%{transform:translate(8px)}70%{transform:translate(-4px)}to{transform:none}}.toasts{position:fixed;left:50%;transform:translate(-50%);bottom:calc(var(--nav-h) + var(--safe-b) + 16px);z-index:120;display:flex;flex-direction:column;gap:8px;width:min(92vw,420px);pointer-events:none}.toast{padding:12px 16px;border-radius:var(--r-md);background:var(--text);color:var(--bg);font-weight:500;font-size:14px;box-shadow:var(--shadow-overlay);animation:rise var(--dur-2) var(--ease)}.toast.error{background:var(--surface-2);color:var(--state-low);border:1px solid var(--hairline-strong)}@media (min-width: 960px){.toasts{bottom:24px}}.banner{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--r-md);background:var(--surface-2);color:var(--text);font-size:14px;line-height:20px;margin-bottom:16px}.banner svg{flex:none;color:var(--text-2);margin-top:1px}.banner.red svg{color:var(--state-low)}.banner.amber svg,.banner:not(.blue):not(.red) svg{color:var(--state-mid)}.banner.blue svg{color:var(--accent)}.empty{text-align:center;padding:32px 16px;color:var(--text-3)}.empty b{display:block;color:var(--text);font-size:17px;font-weight:600;margin-bottom:4px}.skeleton{height:120px;border-radius:var(--r-lg);background:var(--surface-2);animation:fade .16s .2s both,breathe 1.4s .36s ease-in-out infinite alternate}@keyframes breathe{to{opacity:.55}}.bar-track{height:6px;border-radius:3px;background:var(--surface-2);overflow:hidden}.bar-fill{height:100%;border-radius:3px;background:var(--accent)}.zones{display:flex;height:10px;border-radius:5px;overflow:hidden;gap:2px}@keyframes rise{0%{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes fade-out{to{opacity:0}}@keyframes sheet-in{0%{transform:translateY(100%)}}@keyframes sheet-out{to{transform:translateY(100%)}}@keyframes pop{0%{transform:scale(.96);opacity:0}to{transform:none;opacity:1}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:1ms!important;animation-iteration-count:1!important;transition-duration:1ms!important;scroll-behavior:auto!important}}@media (max-width: 400px){.live-hr .big{font-size:56px;line-height:56px}.stat .value{font-size:22px;line-height:28px}}
