:root{--red:#c41230;--red-dark:#9e0e26;--maroon:#6b0f1e;--ink:#161616;--bg:#f6f6f6;--surface:#fff;--surface-2:#f1f1f1;--border:#e2e2e2;--text:#161616;--text-2:#555;--muted:#767676;--accent-bg:#fce9ec;--warn-bg:#fff3de;--warn:#7a4f00;--ok-bg:#e4f5ea;--ok:#1c6e3b;--danger-bg:#fbeaea;--danger:#b3261e;--info-bg:#eef1f6;--info:#2f3b52;--radius:12px;--mono:ui-monospace, "SF Mono", Menlo, Consolas, monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#0f0f0f;--surface:#1a1a1a;--surface-2:#242424;--border:#333;--text:#f2f2f2;--text-2:#bdbdbd;--muted:#9a9a9a;--accent-bg:#3a1620;--warn-bg:#3a2e12;--warn:#f2c46b;--ok-bg:#113822;--ok:#8edba9;--danger-bg:#3a1818;--danger:#ff8a80;--info-bg:#1e2533;--info:#c7d2e6;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);margin:0}body{-webkit-text-size-adjust:100%;font:16px/1.45 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}#root{min-height:100dvh}a{color:var(--red)}:focus-visible{outline:3px solid var(--red);outline-offset:2px}.shell{flex-direction:column;max-width:560px;min-height:100dvh;margin:0 auto;display:flex}.topbar{z-index:5;background:var(--ink);color:#fff;padding:calc(env(safe-area-inset-top) + 8px) 12px 8px;grid-template-columns:64px 1fr 64px;align-items:center;min-height:52px;display:grid;position:sticky;top:0}.topbar-title{text-align:center;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:17px;font-weight:600;overflow:hidden}.brand{letter-spacing:1px;color:#fff;align-items:center;gap:6px;font-size:14px;font-weight:800;display:inline-flex}.brand-logo{border-radius:6px;width:24px;height:24px;display:block}.hero-logo{border-radius:22px;width:96px;height:96px;display:block;box-shadow:0 6px 24px #00000059}.topbar .link-btn{color:#fff;justify-self:end;font-size:14px}.icon-btn{color:inherit;cursor:pointer;background:0 0;border:0;min-width:44px;min-height:44px;font-size:28px;line-height:1}.content{padding:16px 16px calc(env(safe-area-inset-bottom) + 32px);flex-direction:column;gap:14px;display:flex}.hero{background:linear-gradient(160deg, var(--ink) 0%, var(--maroon) 100%);color:#fff;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:100dvh;padding:24px 16px;display:flex}.hero-mark{background:var(--red);border-radius:18px;place-items:center;width:72px;height:72px;font-size:44px;font-weight:800;display:grid}.hero-title{letter-spacing:3px;margin:6px 0 0;font-size:36px}.hero-sub{color:#e8c9cf;margin:0 0 18px}.role-list{flex-direction:column;gap:12px;width:100%;max-width:380px;display:flex}.role-card{background:var(--red);color:#fff;text-align:left;border-radius:14px;flex-direction:column;gap:2px;min-height:72px;padding:18px;text-decoration:none;display:flex}.role-card strong{font-size:18px}.role-card span{color:#ffe3e8;font-size:14px}.role-card-dark{color:var(--ink);background:#fff}.role-card-dark span{color:#555}.signin-btn{width:100%;font:inherit;cursor:pointer;text-align:center;border:0;align-items:center}.signin-btn:disabled{opacity:.7;cursor:default}.hero-note{color:#e8c9cf;text-align:center;max-width:340px;margin:8px 0 0;font-size:14px;line-height:1.45}.hero-legal{color:#d9b3ba;text-align:center;max-width:340px;margin:6px 0 0;font-size:12px}.hero-legal a{color:#fff}.legal{max-width:680px;margin:0 auto;padding:24px 16px 48px;line-height:1.55}.legal h1{margin:12px 0 4px;font-size:26px}.legal h2{margin:24px 0 6px;font-size:18px}.legal ul{padding-left:20px}.legal li{margin:4px 0}.admin-link{color:#d9b3ba;margin-top:22px;padding:12px;font-size:13px}.hero .banner{width:100%;max-width:380px}.lead{color:var(--text-2);margin:0}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field label,.field .label{color:var(--text-2);font-size:13px;font-weight:600}input,select,textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;width:100%;min-height:44px;padding:10px 12px}input:disabled,select:disabled{opacity:.6}.has-error input,.has-error select{border-color:var(--danger)}.mono,.time{font-family:var(--mono);font-variant-numeric:tabular-nums}.otp{text-align:center;letter-spacing:8px;font-size:22px;font-family:var(--mono)}.hint{color:var(--muted);margin:0;font-size:13px}.err{color:var(--danger);margin:0;font-size:13px;font-weight:600}.row2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.btn{min-height:48px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;width:100%;padding:0 16px;font-weight:600;text-decoration:none;display:flex}.btn:disabled{opacity:.6;cursor:default}.btn-primary{background:var(--red);color:#fff}.btn-primary:active{background:var(--red-dark)}.btn-secondary{background:var(--surface);color:var(--red);border-color:var(--red)}.btn-ghost{color:var(--text);border-color:var(--border);background:0 0}.btn-ghost.danger{color:var(--danger)}.btn-danger{background:var(--danger);color:#fff}.link-btn{color:var(--red);font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;min-height:32px;padding:6px 0;font-weight:600}.card,fieldset.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:12px;margin:0;padding:14px;display:flex}fieldset.card legend{padding:0 6px;font-weight:700}.card-title{margin:0;font-size:15px}.banner{border-radius:10px;padding:10px 12px;font-size:14px}.banner-error{background:var(--danger-bg);color:var(--danger)}.banner-warning{background:var(--warn-bg);color:var(--warn)}.banner-info{background:var(--info-bg);color:var(--info)}.banner-success{background:var(--ok-bg);color:var(--ok)}.warnings{background:var(--warn-bg);color:var(--warn);border-radius:10px;padding:12px;font-size:14px}.warnings ul{flex-direction:column;gap:6px;margin:6px 0 0;padding-left:4px;list-style:none;display:flex}.seg{border:1px solid var(--border);border-radius:10px;grid-template-columns:1fr 1fr;display:grid;overflow:hidden}.seg button{background:var(--surface);min-height:44px;color:var(--text);font:inherit;cursor:pointer;border:0}.seg button+button{border-left:1px solid var(--border)}.seg button.on{background:var(--ink);color:#fff;font-weight:700}@media (prefers-color-scheme:dark){.seg button.on{background:var(--red)}}.inherit{flex-wrap:wrap;align-items:center;gap:8px;margin:0;display:flex}.list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;display:flex;overflow:hidden}.list-item{color:var(--text);justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:12px 14px;text-decoration:none;display:flex}.list-item+.list-item{border-top:1px solid var(--border)}.list-item>span{flex-direction:column;min-width:0;display:flex}.list-item.person{justify-content:flex-start}.list-item.retired{opacity:.6}.list-item.entry{flex-direction:column;align-items:stretch;gap:8px}.entry-top,.entry-bottom{justify-content:space-between;align-items:center;gap:10px;display:flex}.entry-top>span:first-child{flex-direction:column;min-width:0;display:flex}.meta{color:var(--muted);font-size:13px}.note{color:var(--text-2);background:var(--surface-2);border-radius:8px;margin:0;padding:8px 10px;font-size:13px}.time-col{flex-direction:column;flex-shrink:0;align-items:flex-end;display:flex}.time-label{color:var(--muted);text-transform:uppercase;letter-spacing:.4px;font-size:11px}.avatar{background:var(--maroon);color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;font-weight:700;display:grid}.avatar-lg{width:56px;height:56px;font-size:22px}.profile-card{background:var(--surface);border:1px solid var(--border);border-left:5px solid var(--red);border-radius:var(--radius);align-items:center;gap:14px;padding:14px;display:flex}.profile-card>div{flex-direction:column;display:flex}.tiles{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.tile{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);flex-direction:column;gap:2px;min-height:76px;padding:12px;text-decoration:none;display:flex}.tile-accent{background:var(--accent-bg);border-color:var(--red)}.tile-num{font-size:24px;font-weight:800}.tile-label{color:var(--text-2);font-size:12px}.section-title{text-transform:uppercase;letter-spacing:.6px;color:var(--muted);margin:8px 0 0;font-size:13px}.empty{background:var(--surface);border:1px dashed var(--border);border-radius:var(--radius);text-align:center;color:var(--text-2);padding:18px;font-size:14px}.search{min-height:44px}.loading{text-align:center;color:var(--muted);padding:24px}.pill{border-radius:999px;align-items:center;gap:4px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-flex}a.pill{text-decoration:none}.pill-pending,.pill-draft{background:var(--warn-bg);color:var(--warn)}.pill-approved{background:var(--ok-bg);color:var(--ok)}.pill-rejected{background:var(--danger-bg);color:var(--danger)}.pill-changes_requested{background:var(--accent-bg);color:var(--red)}.pill-withdrawn{background:var(--surface-2);color:var(--muted)}.lap-row{grid-template-columns:24px 72px 18px 1fr 44px;align-items:center;gap:6px;display:grid}.lap-n{color:var(--muted);text-align:center;font-weight:700}.unit{color:var(--muted);font-size:13px}.lap-err{grid-column:1/-1}.resend{text-align:center}.done{text-align:center;flex-direction:column;gap:12px;padding:32px 0;display:flex}.done-icon{font-size:40px}.done h2{margin:0}.done p{color:var(--text-2);margin:0}.review-head{justify-content:space-between;align-items:center;display:flex}.facts{grid-template-columns:120px 1fr;gap:6px 10px;margin:0;font-size:14px;display:grid}.facts dt{color:var(--muted)}.facts dd{margin:0}.laps{border-collapse:collapse;width:100%;font-size:14px;display:block;overflow-x:auto}.laps th,.laps td{text-align:left;border-bottom:1px solid var(--border);white-space:nowrap;padding:6px 8px}.laps th{color:var(--muted);text-transform:uppercase;font-size:11px}.decision-buttons{flex-direction:column;gap:10px;display:flex}.confirm{background:var(--danger-bg);border-radius:10px;flex-direction:column;gap:8px;padding:12px;display:flex}.confirm p{color:var(--danger);margin:0;font-weight:600}.footer-links{justify-content:space-between;padding:8px 2px;font-size:14px;display:flex}.sticky-actions{padding:12px 16px calc(env(safe-area-inset-bottom) + 12px);background:var(--bg);position:sticky;bottom:0}@media (width<=360px){.row2{grid-template-columns:1fr}.tiles{grid-template-columns:1fr 1fr}}form{flex-direction:column;gap:14px;display:flex}.brand{text-decoration:none}.back-btn{color:#fff;font:inherit;cursor:pointer;text-align:left;white-space:nowrap;background:0 0;border:0;min-height:44px;padding:0 4px;font-size:15px;font-weight:600}.topbar{grid-template-columns:76px 1fr 76px}.tabbar{z-index:6;background:var(--surface);border-top:1px solid var(--border);width:100%;max-width:560px;padding:6px 4px calc(env(safe-area-inset-bottom) + 6px);grid-auto-columns:1fr;grid-auto-flow:column;margin:0 auto;display:grid;position:fixed;bottom:0;left:0;right:0}.tab{min-height:52px;color:var(--muted);border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:11px;font-weight:600;text-decoration:none;display:flex}.tab-icon{font-size:20px;line-height:1}.tab.on{color:var(--red);background:var(--accent-bg)}.tiles-2{grid-template-columns:1fr 1fr}button.tile{font:inherit;text-align:left;cursor:pointer}.section-head{justify-content:space-between;align-items:center;gap:8px;margin-top:8px;display:flex}.section-head .section-title{margin:0}.section-head a{font-size:14px;font-weight:600;text-decoration:none}.seg-sm button{min-height:36px;padding:0 10px;font-size:13px}.seg-3{grid-template-columns:1fr 1fr 1fr}.seg-3 button+button{border-left:1px solid var(--border)}.chips{-webkit-overflow-scrolling:touch;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.chip{border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--text);font:inherit;cursor:pointer;border-radius:999px;flex-shrink:0;padding:0 14px;font-size:13px;font-weight:600}.chip.on{background:var(--ink);color:#fff;border-color:var(--ink)}@media (prefers-color-scheme:dark){.chip.on{background:var(--red);border-color:var(--red)}}.filters{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.filters select{padding:8px;font-size:14px}.list-item.more{color:var(--red);justify-content:center;min-height:44px;font-weight:600}.meta.right{text-align:right;flex-shrink:0}.timeline{flex-direction:column;gap:6px;margin:0;padding-left:18px;font-size:14px;display:flex}.toggle{align-items:center;gap:10px;min-height:44px;font-size:15px;display:flex}.toggle input{width:22px;height:22px;min-height:0;accent-color:var(--red)}.capture-row.has-error{border-color:var(--danger)}.tile-on{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red)}#prs,#detail-tabs{scroll-margin-top:70px}.coach-hero{text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;align-items:center;gap:6px;padding:20px 16px;display:flex}.avatar-xl{width:76px;height:76px;font-size:28px}.spec-chips{flex-wrap:wrap;justify-content:center;gap:6px;margin-top:4px;display:flex}.spec{background:var(--accent-bg);color:var(--red);border-radius:999px;padding:3px 10px;font-size:12px;font-weight:700}.hero-stats{border-top:1px solid var(--border);width:100%;color:var(--text-2);flex-wrap:wrap;justify-content:center;gap:6px 14px;margin-top:10px;padding-top:12px;font-size:13px;display:flex}.hero-stats b{color:var(--text);margin-right:2px;font-size:17px}.center{text-align:center}.bio{white-space:pre-wrap;color:var(--text-2);margin:0}.list-item.ach{flex-direction:column;align-items:stretch;gap:4px}.ach-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.ach-note{color:var(--text-2);white-space:pre-wrap;margin:2px 0 0;font-size:14px}.medal{border:1px solid #0000;border-radius:999px;flex-shrink:0;padding:2px 10px;font-size:12px;font-weight:700}.medal-gold{color:#7a5a00;background:#fbefc5;border-color:#e8c95a}.medal-silver{color:#4a5260;background:#eceef1;border-color:#c3c8d0}.medal-bronze{color:#7a4321;background:#f5e3d3;border-color:#d9a47c}.medal-finalist,.medal-participation,.medal-other{background:var(--info-bg);color:var(--info)}.row-actions{gap:16px;margin-top:4px;display:flex}.link-btn.danger{color:var(--danger)}.list-item.editing{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red)}.medal-table{border-collapse:collapse;width:100%;margin-top:8px;font-size:14px}.medal-table caption{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border-top:1px solid var(--border);padding:10px 0 6px;font-size:12px;font-weight:700}.medal-table th,.medal-table td{text-align:center;padding:6px 4px}.medal-table thead th{color:var(--text-2);white-space:nowrap;font-size:12px;font-weight:600}.medal-table tbody th{text-align:left;font-weight:600}.medal-table tbody td{font-variant-numeric:tabular-nums;font-size:17px;font-weight:700}.medal-table tbody tr+tr{border-top:1px solid var(--border)}.medal-dot{vertical-align:-1px;border-radius:50%;width:10px;height:10px;margin-right:4px;display:inline-block}.medal-dot.gold{background:#d4a72c}.medal-dot.silver{background:#a9b0ba}.medal-dot.bronze{background:#b8743f}.hero-foot{margin:6px 0 0}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.banner-link{border-radius:var(--radius);background:var(--warn-bg);min-height:52px;color:var(--warn);border:1px solid #0000;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;text-decoration:none;display:flex}.banner-link span{white-space:nowrap;font-weight:700}.pb-tag{background:var(--ok-bg);color:var(--ok);letter-spacing:.04em;vertical-align:2px;border-radius:999px;margin-left:8px;padding:1px 7px;font-size:11px;font-weight:800;display:inline-block}.chips-fit{grid-template-columns:repeat(4,1fr);display:grid;overflow:visible}.chips-fit .chip{white-space:nowrap;padding:0 6px}.btn-sm{width:auto;min-height:38px;padding:0 14px;font-size:14px}.ach-status{align-items:center;gap:8px;margin-top:2px;display:flex}.list-item.ach-unverified{box-shadow:inset 3px 0 0 var(--warn)}.reject-box{flex-direction:column;gap:6px;margin-top:4px;display:flex}.medal-card{padding-top:4px}.medal-card .medal-table caption{border-top:0}.ach-section{flex-direction:column;gap:12px;display:flex}.progress,.progress-card{flex-direction:column;gap:10px;display:flex}.progress-stats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.progress-stats>div{flex-direction:column;gap:2px;display:flex}.ps-label{color:var(--muted);font-size:12px}.ps-value{font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:15px;font-weight:700}.ps-value.faster{color:var(--ok);font-family:inherit;font-size:13px}.ps-value.slower{color:var(--warn);font-family:inherit;font-size:13px}.chart-wrap{position:relative}.chart-wrap svg{touch-action:pan-y;width:100%;height:auto;display:block}.chart-wrap .grid,.chart-wrap .axis{stroke:var(--border);stroke-width:1px}.chart-wrap .tick{fill:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.chart-wrap .axis-title{fill:var(--muted);font-size:10.5px}.chart-wrap .series{fill:none;stroke:var(--red);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.chart-wrap .dot{fill:var(--red);stroke:var(--surface);stroke-width:2px}.chart-wrap .dot-best{fill:var(--ok)}.chart-wrap .dot-hover{stroke:var(--text)}.chart-wrap .best-label{fill:var(--text);font-size:11px;font-weight:600}.chart-wrap .crosshair{stroke:var(--muted);stroke-width:1px}.chart-tip{background:var(--surface);border:1px solid var(--border);pointer-events:none;white-space:nowrap;border-radius:8px;flex-direction:column;align-items:center;padding:4px 8px;font-size:12px;display:flex;position:absolute;top:0;transform:translate(-50%)}.chart-tip strong{font-family:var(--mono);font-size:13px}.mini-table{border-collapse:collapse;width:100%;font-size:14px}.mini-table th,.mini-table td{text-align:left;border-top:1px solid var(--border);padding:6px 4px}.mini-table td:last-child,.mini-table th:last-child{text-align:right;font-family:var(--mono)}.set-actions{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:6px;display:flex}.set-actions .link-btn{white-space:nowrap}.gap-row{align-items:flex-start}.gap{font-variant-numeric:tabular-nums;color:var(--red);white-space:nowrap;flex-direction:column;align-items:flex-end;font-weight:800;display:flex}.gap small{color:var(--muted);font-size:11px;font-weight:600}.gap-ahead{color:var(--ok)}.gap-score{color:var(--muted);white-space:nowrap;font-size:13px;font-weight:700}.gap-score.some{color:var(--ok)}.gap-card{color:inherit;gap:10px;padding:12px 14px;text-decoration:none;display:grid}.gap-card-foot{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.gap-card-foot .link-like{color:var(--red);white-space:nowrap;font-weight:700}.gapbars{gap:8px;display:grid}.gapbar{grid-template-columns:minmax(0,38%) 1fr auto;align-items:center;gap:8px;display:grid}.gapbar-label{min-width:0;line-height:1.2;display:grid}.gapbar-label b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.gapbar-label small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.gapbar-track{background:var(--border);border-radius:7px;height:14px;position:relative;overflow:hidden}.gapbar-mid{background:var(--text);opacity:.55;width:2px;position:absolute;top:-2px;bottom:-2px;left:50%}.gapbar-fill{border-radius:5px;position:absolute;top:2px;bottom:2px}.gapbar-fill.behind{background:var(--red);left:calc(50% + 1px)}.gapbar-fill.ahead{background:var(--ok);right:calc(50% + 1px)}.gapbar-none{text-align:center;color:var(--muted);font-size:10px;line-height:14px;position:absolute;inset:0}.gapbar-val{font-variant-numeric:tabular-nums;color:var(--red);text-align:right;min-width:70px;font-size:13px;font-weight:800}.gapbar-val.ahead{color:var(--ok)}.gapbar-val.none{color:var(--muted);font-weight:600}button.gap-row{text-align:left;width:100%;font:inherit;color:inherit;cursor:pointer}.gap-row.picked{outline:2px solid var(--red);outline-offset:-2px}.tile-ok .tile-num{color:var(--ok)}.gapchart{gap:6px;margin:0;display:grid}.gapchart svg{width:100%;height:auto}.gc-grid{stroke:var(--border);stroke-width:1px}.gc-axis{fill:var(--muted);font-size:10px}.gc-ref{stroke:var(--muted);stroke-width:1.5px;stroke-dasharray:5 4}.gc-ref-label{fill:var(--muted);font-size:10px;font-weight:700}.gc-line{fill:none;stroke:var(--red);stroke-width:2px}.gc-pt{fill:var(--red);stroke:var(--surface);stroke-width:2px}.gc-best{fill:var(--red);stroke:var(--surface);stroke-width:2.5px}.gc-best.ahead{fill:var(--ok)}.warn-text{color:var(--warn)}.check{min-height:44px;color:var(--text-2);align-items:center;gap:8px;font-size:14px;display:inline-flex}.result-row{border:1px solid var(--border);border-radius:10px;min-width:0;margin:0 0 10px;padding:8px 12px 4px}.result-row legend{padding:0 4px;font-weight:700}.comp-tag{letter-spacing:.02em;background:var(--accent-bg);color:var(--red);vertical-align:middle;border-radius:6px;margin-left:6px;padding:1px 6px;font-size:11px;font-weight:700;display:inline-block}.countdown{color:var(--red);white-space:nowrap;font-weight:700}select[multiple]{min-height:96px}.sw-pick{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;display:grid}.sw-chip{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:10px;align-items:center;gap:8px;min-height:44px;padding:6px 10px;display:flex}.sw-chip.on{border-color:var(--red);background:var(--accent-bg)}.sw-chip span{overflow-wrap:anywhere;flex-direction:column;min-width:0;font-weight:600;display:flex}.sw-head{flex-direction:column;align-items:center;gap:2px;margin:4px 0 12px;display:flex}.sw-clock{letter-spacing:-.02em;font-size:44px;font-weight:800}.sw-start{touch-action:manipulation;min-height:72px;margin-bottom:12px;font-size:22px}.sw-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-bottom:14px;display:grid}.sw-tile{border:2px solid var(--red);background:var(--surface);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.sw-tile.idle{border-color:var(--border)}.sw-tile.done{border-color:var(--border);background:var(--surface-2)}.sw-hit{min-height:120px;color:inherit;font:inherit;text-align:left;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:4px;padding:12px;display:flex}.sw-hit:active:not(:disabled){background:var(--accent-bg)}.sw-hit:disabled{cursor:default}.sw-name{overflow-wrap:anywhere;font-weight:700}.sw-time{white-space:nowrap;font-size:clamp(20px,6.6vw,28px);font-weight:800}.sw-sub{color:var(--muted);font-size:13px}.sw-actions{gap:16px;padding:0 12px 6px;display:flex}.sw-actions .link-btn:disabled{color:var(--muted);opacity:.5}.laps-box{border:1px solid var(--border);border-radius:10px;min-width:0;margin:4px 0 8px;padding:6px 10px 2px}.laps-box legend{color:var(--text-2);padding:0 4px;font-size:13px;font-weight:600}.sw-chip input[type=checkbox],.check input[type=checkbox]{width:20px;height:20px;min-height:0;accent-color:var(--red);flex:none;padding:0}.custom-dist{align-items:center;gap:8px;margin-top:8px;display:flex}.custom-dist input{flex:1;min-width:0}.row2>*{min-width:0}input[type=date]{appearance:none;text-align:left;min-width:0;max-width:100%;display:block}input[type=date]::-webkit-date-and-time-value{text-align:left;margin:0}:root{--s1:var(--red);--s2:#2a78d6;--s3:#1baf7a}@media (prefers-color-scheme:dark){:root{--s1:#e5485f;--s2:#3987e5;--s3:#199e70}}.chart-wrap .s1 .series{stroke:var(--s1)}.chart-wrap .s1 .dot{fill:var(--s1)}.chart-wrap .s2 .series{stroke:var(--s2)}.chart-wrap .s2 .dot{fill:var(--s2)}.chart-wrap .s3 .series{stroke:var(--s3)}.chart-wrap .s3 .dot{fill:var(--s3)}.chart-wrap .s1 .dot-best{fill:var(--ok)}.chart-wrap .ref-line{stroke:var(--text-2);stroke-width:1.5px;stroke-dasharray:6 4}.chart-wrap .ref-target{stroke-dasharray:2 4}.chart-wrap .ref-label{fill:var(--text-2);font-size:10.5px;font-weight:600}.chart-wrap .trend-line{stroke:var(--s1);stroke-width:1.5px;stroke-dasharray:4 4;opacity:.55}.chart-wrap .end-label{fill:var(--text);font-size:11px;font-weight:600}.chart-tip span{display:block}.legend{color:var(--text);flex-wrap:wrap;gap:6px 14px;font-size:13px;display:flex}.legend-item{align-items:center;gap:6px;font-weight:600;display:inline-flex}.legend-item i{border-radius:2px;width:18px;height:3px;display:inline-block}.legend-item.s1 i{background:var(--s1)}.legend-item.s2 i{background:var(--s2)}.legend-item.s3 i{background:var(--s3)}.legend-item em{color:var(--muted);font-style:normal;font-weight:400}.compare-pick{flex-direction:column;gap:8px;display:flex}.progress-empty{text-align:center}.progress-empty svg{width:100%;height:auto;margin-bottom:4px;display:block}.progress-empty .grid{stroke:var(--border);stroke-width:1px}.progress-empty .axis{stroke:var(--border);stroke-width:1.5px}.progress-empty .ghost-line{fill:none;stroke:var(--border);stroke-width:3px;stroke-dasharray:6 6;stroke-linecap:round}.progress-empty .empty-msg{margin:4px 0}.sw-howto{grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 12px;display:grid}.sw-howto div{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:4px;padding:10px;font-size:13px;line-height:1.3;display:flex}.sw-howto b{background:var(--red);color:#fff;border-radius:50%;place-items:center;width:24px;height:24px;font-size:13px;display:grid}.sw-tip{background:var(--info-bg);color:var(--info);text-align:center;border-radius:10px;margin:0 0 12px;padding:10px 12px;font-size:14px}.sw-tip.ok{background:var(--ok-bg);color:var(--ok)}.sw-start{animation:1.6s ease-in-out infinite sw-pulse}@keyframes sw-pulse{50%{box-shadow:0 0 0 8px var(--accent-bg)}}.sw-hit{position:relative}.sw-cta{letter-spacing:.02em;text-transform:uppercase;color:var(--red);margin-top:auto;padding-top:6px;font-size:13px;font-weight:800}.sw-tile.idle .sw-cta{color:var(--muted)}.sw-tile.done .sw-cta{color:var(--ok)}.sw-tile.dnf .sw-cta{color:var(--muted)}.sw-dots{flex-wrap:wrap;gap:4px;display:flex}.sw-dots i{background:var(--border);border-radius:50%;width:8px;height:8px}.sw-dots i.on{background:var(--red)}.sw-dots i.now{box-shadow:inset 0 0 0 2px var(--red);background:0 0}.sw-tile.done .sw-dots i.on{background:var(--ok)}.sw-pop{background:var(--red);color:#fff;pointer-events:none;border-radius:999px;align-self:flex-start;padding:2px 8px;font-size:12px;font-weight:700;animation:1.5s ease-out forwards sw-pop}@keyframes sw-pop{0%{transform:scale(.8)}15%{transform:scale(1.08)}30%,to{transform:scale(1)}}.sw-hit:active:not(:disabled){background:var(--accent-bg);transform:scale(.98)}@media (prefers-reduced-motion:reduce){.sw-start,.sw-pop{animation:none}}.ticks{border:0;min-width:0;margin:0 0 12px;padding:0}.ticks legend{margin-bottom:6px;padding:0;font-size:14px;font-weight:600}.plan{background:var(--info-bg);color:var(--info);border-radius:10px;margin:4px 0 12px;padding:10px 12px;font-size:14px}.plan p{margin:0 0 4px}.plan-list{margin:0;padding-left:18px;font-size:13px;line-height:1.5}.row-actions{flex-wrap:wrap;align-items:baseline}.confirm-inline{font-size:14px}.usage{flex-direction:column;gap:10px;display:flex}.usage-chart svg{width:100%;height:auto;display:block}.usage-chart-head{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:6px;font-size:14px;display:flex}.usage-chart-head strong{font-variant-numeric:tabular-nums}.usage-chart .bar{fill:var(--red);opacity:.45}.usage-chart .bar-now{opacity:1}.usage-chart .bar-val{fill:var(--text);font-size:11px;font-weight:600}.usage-chart .tick{fill:var(--muted);font-size:10.5px}.usage-chart .axis{stroke:var(--border)}.usage-table td:not(:first-child),.usage-table th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.usage-table tr.dim td{color:var(--muted)}.meter{background:var(--border);border-radius:999px;height:10px;margin:4px 0 6px;overflow:hidden}.meter i{background:var(--ok);border-radius:999px;height:100%;display:block}.meter i.warn{background:var(--warn)}.winners{flex-direction:column;gap:8px;margin:4px 0 10px;display:flex}.winners-title{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:700}.winners-list{flex-direction:column;gap:4px;margin:4px 0 0;padding:0;font-size:14px;list-style:none;display:flex}.winners-list .place{min-width:34px;color:var(--muted);font-weight:700;display:inline-block}.winners-list .place-1{color:var(--text)}.entry-results{flex-wrap:wrap;gap:6px;display:flex}.list-item.entry .winners{border-top:1px solid var(--border);width:100%;padding-top:8px}.result-actions{flex-wrap:wrap;align-items:center;gap:16px;margin-top:12px;display:flex}.result-actions .btn{width:auto}.entry-result{display:block}.entry-actions{flex-shrink:0;align-items:center;gap:12px;display:flex}.sub-row{align-items:stretch;display:flex}.sub-row+.sub-row{border-top:1px solid var(--border)}.sub-row>.list-item{flex:1;min-width:0}.sub-row.picked{background:var(--accent-bg)}.sub-check{width:22px;height:22px;accent-color:var(--red);flex-shrink:0;align-self:center;margin:0 0 0 12px}.flag-list{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.flag-list li{color:var(--warn);background:var(--warn-bg);border-radius:999px;padding:3px 9px;font-size:12px;font-weight:700}.sel-links{flex-wrap:wrap;gap:12px;font-size:14px;display:flex}.bulk-bar{bottom:calc(env(safe-area-inset-bottom) + 76px);z-index:5;background:var(--surface);border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:10px;padding:12px;display:flex;position:sticky;box-shadow:0 6px 20px #0000001f}.bulk-count{font-weight:700}.bulk-buttons{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.bulk-buttons .btn{min-height:44px;padding:0 8px}.bulk-confirm{flex-direction:column;gap:10px;display:flex}.bulk-confirm p{margin:0}.bulk-confirm .bulk-buttons{grid-template-columns:2fr 1fr}.sel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;display:flex}.sel-head .hint{margin:0}.lap-bars,.set-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.lap-bars li{grid-template-columns:84px 1fr 52px;align-items:center;gap:8px;font-size:14px;display:grid}.lap-name{white-space:nowrap}.lap-track{background:var(--surface-2);border-radius:4px;height:14px;display:block;overflow:hidden}.lap-fill{background:var(--text-2);opacity:.55;border-radius:0 4px 4px 0;height:100%;display:block}.lap-bars li.best .lap-fill,.lap-fill.top{background:var(--ok);opacity:1}.lap-bars li.worst .lap-fill{background:var(--red);opacity:.85}.lap-val{text-align:right}.set-list li>a,.set-list li>div{color:var(--text);grid-template-columns:48px 1fr 86px 64px;align-items:center;gap:8px;min-height:32px;font-size:14px;text-decoration:none;display:grid}.set-time,.set-delta{text-align:right}.set-delta{color:var(--text-2);font-size:13px}.laps td.faster{color:var(--ok)}.laps td.slower{color:var(--warn)}.day-nav{grid-template-columns:auto 1fr auto;align-items:center;gap:8px;display:grid}.day-nav .btn{width:auto;min-height:44px}.day-pick select{width:100%}.cal-head{justify-content:space-between;align-items:center;display:flex}.cal-head .btn{width:44px;min-height:40px;padding:0}.cal{grid-template-columns:repeat(7,1fr);gap:4px;margin-top:8px;display:grid}.cal-dow{text-align:center;color:var(--muted);font-size:11px;font-weight:700}.cal-day{aspect-ratio:1;color:var(--text-2);background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;padding:0;font-family:inherit;font-size:13px;display:flex}.cal-day.out{opacity:.3}.cal-day.today{border-color:var(--text-2)}button.cal-day{cursor:pointer;color:var(--text);font-weight:600}.cal-day.l1{background:color-mix(in srgb, var(--red) 18%, transparent)}.cal-day.l2{background:color-mix(in srgb, var(--red) 35%, transparent)}.cal-day.l3{background:color-mix(in srgb, var(--red) 60%, transparent);color:#fff}.cal-day.l4{background:var(--red);color:#fff}.cal-day.comp{box-shadow:inset 0 0 0 2px var(--ink)}@media (prefers-color-scheme:dark){.cal-day.comp{box-shadow:inset 0 0 0 2px #fff}}.cal-key{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.cal-day.key{aspect-ratio:auto;border-radius:4px;width:14px;height:14px;display:inline-block}.ex-tiles .tile-num{font-size:20px;line-height:1.2}.ex-tiles .tile-label{font-size:12px}.section-title{text-transform:none;letter-spacing:0;color:var(--text);margin:14px 0 0;font-size:17px;font-weight:700}.sect{flex-direction:column;gap:10px;display:flex}.sect+.sect{border-top:1px solid var(--border);margin-top:10px;padding-top:16px}.sect-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.sect-title{margin:0;font-size:18px;font-weight:700}.sect-action{white-space:nowrap;font-size:14px;font-weight:600}.sect-action a{text-decoration:none}.sect-sub{color:var(--text-2);margin:-6px 0 0;font-size:13px}.sect .section-title:first-child{margin-top:0}.page-tabs{top:calc(env(safe-area-inset-top) + 60px);z-index:4;background:var(--bg);border-bottom:1px solid var(--border);grid-auto-columns:1fr;grid-auto-flow:column;gap:2px;margin:-4px 0 0;padding:6px 0;display:grid;position:sticky}.page-tabs button{min-height:44px;font:inherit;white-space:nowrap;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:0 2px;font-size:13.5px;font-weight:600;position:relative}.page-tabs button.on{color:var(--text);border-bottom-color:var(--red)}.page-tabs .tab-badge{min-width:16px;padding:0 4px;font-size:10px;line-height:16px;position:absolute;top:0;right:-2px}.tab-badge{background:var(--red);color:#fff;text-align:center;border-radius:999px;min-width:18px;margin-left:4px;padding:0 5px;font-size:11px;line-height:18px;display:inline-block}.quick-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.quick-actions .btn{min-height:52px}.link-tiles{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.link-tiles a{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);flex-direction:column;gap:2px;min-height:76px;padding:12px;text-decoration:none;display:flex}.link-tiles a strong{font-size:15px}.link-tiles a span{color:var(--text-2);font-size:12px}.next-comp{justify-content:space-between;align-items:center;gap:10px;display:flex}.sect .section-title{font-size:18px}.list-item.attn{border-left:4px solid var(--red)}.attn-go{color:var(--red);white-space:nowrap;font-size:14px;font-weight:700}.chev{color:var(--muted);font-size:20px}.tab-icon{position:relative}.bar-badge{min-width:16px;margin:0;padding:0 4px;font-size:10px;line-height:16px;position:absolute;top:-6px;left:12px}.race-filters{z-index:3;background:var(--bg);flex-direction:column;gap:8px;margin:4px 0 8px;padding:6px 0;display:flex;position:sticky;top:0}.chip.faint{opacity:.55}.chip-dot{background:var(--warn);vertical-align:middle;border-radius:50%;width:8px;height:8px;margin-left:6px;display:inline-block}.race-day{margin-top:14px}.race-day-title{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 8px;font-size:17px;font-weight:800;display:flex}.race-day-title .meta{font-size:13px;font-weight:500}.today-tag{background:var(--red);color:#fff;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:800}.race+.race{border-top:1px solid var(--border)}.race.open{background:var(--surface-2)}.race-head{all:unset;box-sizing:border-box;cursor:pointer;text-align:left;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:12px 14px;display:flex}.race-head:focus-visible{outline:2px solid var(--red);outline-offset:-2px}.race-main{flex-direction:column;gap:3px;min-width:0;display:flex}.race-main strong{font-size:15px}.race-who{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.race-side{flex-shrink:0;align-items:center;gap:8px;display:flex}.race-side .chev{color:var(--muted);font-size:20px}.quick-actions.qa-3 .btn-primary{grid-column:1/-1}.podium-title{margin:16px 0 2px;font-size:15px;font-weight:800}.podium-ours{margin:4px 0}.list-item.invite-item{flex-direction:column;align-items:stretch;gap:8px}.invite-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.invite-row>span:first-child{flex-direction:column;min-width:0;display:flex}.invite-send{border-top:1px dashed var(--border);padding-top:8px}.invite-btns{flex-wrap:wrap;gap:8px;margin:6px 0;display:flex}.invite-btns .btn{flex:none;width:auto;margin:0}.drill-tag{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:999px;margin-left:6px;padding:1px 8px;font-size:12px;font-weight:600;display:inline-block}.invite-row .row-actions{white-space:nowrap;flex-direction:column;align-items:flex-end;gap:6px;margin-top:0}.capture-sum{text-align:left;width:100%;font:inherit;color:inherit;cursor:pointer;align-items:center;gap:10px;padding:12px 14px;display:flex}.capture-sum-main{flex-direction:column;flex:1;min-width:0;display:flex}.capture-sum-main .meta{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.capture-sum-time{flex-shrink:0;font-size:17px;font-weight:700}.capture-row .row-actions{justify-content:space-between;gap:12px;display:flex}.save-bar{bottom:calc(env(safe-area-inset-bottom) + 72px);z-index:5;background:linear-gradient(to top, var(--bg) 70%, transparent);padding:8px 0;position:sticky}.sw-review summary{cursor:pointer;list-style:none}.sw-review summary::-webkit-details-marker{display:none}.sw-review>p{white-space:normal;margin:8px 0 0;line-height:1.5}.sw-tip{padding:8px 12px;font-size:13px}.sw-grid{align-items:start;gap:12px}.sw-tile{border:1px solid var(--border);border-radius:16px}.sw-tile.live{border-color:color-mix(in srgb, var(--red) 55%, var(--border))}.sw-tile.done{background:var(--surface);border-color:color-mix(in srgb, var(--ok) 45%, var(--border));text-align:left;gap:0;padding:0}.sw-tile.dnf{border-color:var(--border);opacity:.75}.sw-hit{gap:8px;min-height:132px;padding:14px 14px 12px}.sw-top{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.sw-tile .sw-name{white-space:nowrap;text-overflow:ellipsis;width:100%;font-size:15px;overflow:hidden}.sw-tile .sw-hit{flex:1;justify-content:flex-start}.sw-top .sw-time{min-width:0}.sw-badge{background:var(--accent-bg);color:var(--red);white-space:nowrap;border-radius:999px;flex-shrink:0;padding:2px 8px;font-size:11px;font-weight:700}.sw-tile.idle .sw-badge,.sw-tile.dnf .sw-badge{background:var(--surface-2);color:var(--muted)}.sw-tile.done .sw-badge{background:var(--ok-bg);color:var(--ok)}.sw-tile.dnf .sw-badge{background:var(--surface-2);color:var(--muted)}.sw-tile.dnf .sw-time{color:var(--muted)}.sw-time{font-size:clamp(24px,7.4vw,32px);line-height:1.05}.sw-tile.done .sw-time{color:var(--ok)}.sw-bar{gap:3px;width:100%;display:flex}.sw-bar i{background:var(--border);border-radius:3px;flex:1;height:5px}.sw-bar i.on{background:var(--red)}.sw-bar i.now{background:color-mix(in srgb, var(--red) 35%, var(--border))}.sw-tile.done .sw-bar i.on{background:var(--ok)}.sw-sub{min-height:20px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:13px;overflow:hidden}.sw-sub b{color:var(--text);font-weight:700}.sw-sub .sw-cta{margin:0;padding:0;font-size:12px}.sw-pop{display:inline-block}.sw-actions{border-top:1px solid var(--border);gap:0;padding:0;display:flex}.sw-actions button{min-height:40px;color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;touch-action:manipulation;background:0 0;border:0;flex:1;padding:0 4px;font-size:13px;font-weight:600}.sw-actions button+button{border-left:1px solid var(--border)}.sw-actions button:active:not(:disabled){background:var(--surface-2)}.sw-actions button:disabled{color:var(--muted);opacity:.45;cursor:default}.sw-actions button.warn{color:var(--danger)}.sw-tile.done.dnf .sw-time{color:var(--muted)}.sw-tile.done.dnf{border-color:var(--border)}.usage-people{margin-top:10px}.usage-people-list{margin:6px 0 0;padding:0;list-style:none}.usage-people-list li{border-top:1px solid var(--border);justify-content:space-between;gap:12px;padding:10px 0;display:flex}.usage-people-list li:first-child{border-top:0}.usage-people-main{flex-direction:column;gap:2px;min-width:0;display:flex}.usage-people-main strong{overflow-wrap:anywhere}.usage-people-at{text-align:right;white-space:nowrap;font-size:12px}.kb-open .tabbar{display:none}.kb-open .content,.kb-open .has-tabs .content{padding-bottom:50vh}.kb-open .bulk-bar,.kb-open .save-bar{bottom:0}.plan-actions{flex-direction:column;gap:10px;display:flex}.plan-rows{flex-direction:column;display:flex}.plan-row{border-top:1px solid var(--border);grid-template-columns:1fr minmax(120px,44%);align-items:center;gap:10px;padding:10px 0;display:grid}.plan-row:first-child{border-top:0}.plan-row-main{flex-direction:column;gap:2px;min-width:0;display:flex}.plan-row select{min-width:0}.ticks .tick{border-top:1px solid var(--border);cursor:pointer;align-items:flex-start;gap:12px;padding:10px 0;display:flex}.ticks .tick:first-of-type{border-top:0}.ticks .tick input{width:22px;height:22px;accent-color:var(--red);flex:none;margin:1px 0 0}.ticks .tick>span{flex-direction:column;gap:2px;min-width:0;display:flex}.sw-groups .chips{margin-bottom:4px}.sw-group-name{align-items:center;gap:8px;display:flex}.sw-group-name input{flex:1;min-width:0}.sw-group-name .btn{width:auto;padding-inline:18px}.plan-race{border-top:1px solid var(--border);flex-direction:column;gap:8px;padding:10px 0;display:flex}.plan-race:first-of-type{border-top:0}.plan-who{flex-wrap:wrap;gap:6px;display:flex}.plan-who .chip[disabled]{opacity:.55}.sw-tabs{top:calc(env(safe-area-inset-top) + 60px);z-index:4;background:var(--bg);scrollbar-width:none;touch-action:pan-y;gap:6px;margin:-4px -16px 0;padding:8px 16px 6px;display:flex;position:sticky;overflow-x:auto}.sw-tabs::-webkit-scrollbar{display:none}.sw-tab{border:1px solid var(--border);background:var(--surface);min-width:104px;color:var(--text);font:inherit;cursor:pointer;text-align:left;border-radius:12px;flex-direction:column;flex:1 0 auto;align-items:flex-start;gap:2px;padding:8px 12px;display:flex}.sw-tab.on{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red)}.sw-tab-name{text-overflow:ellipsis;white-space:nowrap;max-width:140px;font-size:14px;font-weight:700;overflow:hidden}.sw-tab-status{color:var(--muted);align-items:center;gap:6px;font-size:13px;display:inline-flex}.sw-tab.live .sw-tab-status{color:var(--text)}.sw-tab .dot{background:var(--red);border-radius:50%;width:8px;height:8px;animation:1s steps(2,start) infinite sw-blink}@keyframes sw-blink{to{visibility:hidden}}@media (prefers-reduced-motion:reduce){.sw-tab .dot{animation:none}}.sw-tab-add{min-width:0;color:var(--red);border-style:dashed;flex:none;justify-content:center;align-items:center;font-weight:700}.sw-tabs-hint{margin-top:-6px}.sw-remove{align-self:flex-start;margin-top:-6px}.feel-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.feel-q{color:var(--muted);width:100%;margin-right:2px;font-size:12px}.feel-chip{font:inherit;border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--text-2);cursor:pointer;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600}.feel-chip.on{color:#fff;border-color:#0000}.feel-chip.feel-1.on,.feel-pill.feel-1{background:#2e7d4f}.feel-chip.feel-2.on,.feel-pill.feel-2{background:#8a6d1f}.feel-chip.feel-3.on,.feel-pill.feel-3{background:#b4531f}.feel-chip.feel-4.on,.feel-pill.feel-4{background:#b3202e}.feel-chip:disabled{opacity:.6}.feel-pill{color:#fff;white-space:nowrap;border-radius:999px;margin-top:4px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-block}.feel-summary{flex-wrap:wrap;align-items:center;gap:6px;margin:0;display:flex}.feel-summary .feel-pill{margin-top:0;font-size:12px}.feel-today .feel-row{margin-top:0}.time-col .feel-pill{align-self:flex-end}.tplan{flex-direction:column;gap:4px;display:flex}.tplan+.tplan{border-top:1px solid var(--border);margin-top:4px;padding-top:10px}.tp-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.tp-head strong{font-size:16px}.tp-icon{font-size:18px;line-height:1}.tp-sub{margin:0}.tp-sub:empty{display:none}.tp-steps{flex-direction:column;gap:4px;margin:4px 0 0;padding-left:22px;display:flex}.tp-steps li{line-height:1.4}.tp-note-step{color:var(--text-2);margin-left:-22px;font-style:italic;list-style:none}.tp-variant{color:var(--text-2);background:var(--surface-2);border-radius:8px;margin-top:3px;padding:4px 8px;font-size:13px;display:block}.tp-notes{color:var(--text-2);white-space:pre-wrap;background:var(--surface-2);border-radius:8px;margin:4px 0 0;padding:8px 10px;font-size:14px}.tp-rest .tp-head strong{color:var(--text-2)}.tp-aud{color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:3px 10px;font-size:14px;font-weight:600;line-height:1.35}.pill-updated{background:var(--warn-bg);color:var(--warn)}.week-nav{justify-content:space-between;align-items:center;gap:12px;display:flex}.week-nav .btn-sm{min-width:44px;min-height:44px;font-size:20px}.week-label{font-size:17px}.planner-actions{flex-wrap:wrap;justify-content:space-between}.planner-day{gap:8px}.planner-day.is-today{border-color:var(--red);box-shadow:0 0 0 1px var(--red) inset}.planner-day.is-past{opacity:.8}.planner-day .card-title{align-items:center;gap:8px;margin:0;display:flex}.today-tag{color:#fff;background:var(--red);text-transform:uppercase;letter-spacing:.4px;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700}.planner-plan{color:var(--text);justify-content:space-between;align-items:flex-start;gap:10px;text-decoration:none;display:flex}.planner-plan .tplan{flex:1;min-width:0}.planner-edit{color:var(--red);white-space:nowrap;padding-top:2px;font-size:13px}.planner-removed{margin:0}.tp-today .sect-head{justify-content:space-between;align-items:center;display:flex}.tp-today .card-title{margin:0}.tp-step-edit{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;flex-direction:column;gap:8px;padding:10px;display:flex}.tp-step-top{align-items:center;gap:4px;display:flex}.tp-step-top select{flex:1;min-width:0}.tp-step-top .icon-btn{min-width:40px;min-height:40px;font-size:18px}.tp-step-top .icon-btn:disabled{opacity:.3}.tp-step-no{color:var(--muted);min-width:18px;font-weight:700}.tp-step-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;display:grid}.tp-step-grid label,.tp-variant-edit label{color:var(--text-2);flex-direction:column;gap:3px;font-size:12px;font-weight:600;display:flex}.tp-step-grid label.wide{grid-column:1/-1}.tp-step-grid input,.tp-step-edit>input,.tp-variant-edit input,.tp-step-top select{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);box-sizing:border-box;border-radius:8px;width:100%;min-height:40px;padding:8px 10px;font-size:16px}.tp-variant-edit{border-top:1px dashed var(--border);flex-direction:column;gap:6px;padding-top:8px;display:flex}.chips-sm .chip{min-height:36px;padding:4px 10px;font-size:13px}.check-row{align-items:center;gap:8px;min-height:44px;font-size:15px;display:flex}.check-row input{width:20px;height:20px}.tp-save{justify-content:flex-end;width:100%}.tp-save .btn{flex:1}.chips-wrap{flex-wrap:wrap;overflow:visible}.has-tabs .sticky-actions{bottom:calc(env(safe-area-inset-bottom) + 65px);z-index:5;padding-bottom:12px}.tp-variant-only{margin-top:-2px;margin-left:-22px;list-style:none}.paste-box{width:100%;min-height:180px;font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);box-sizing:border-box;border-radius:10px;padding:10px;font-size:15px}.paste-plan{align-items:flex-start;gap:10px;display:flex}.paste-plan>input{flex:none;width:22px;height:22px;margin-top:2px}.paste-plan .tplan{flex:1;min-width:0}.paste-skip{opacity:.6}.tpl-name{align-items:center;gap:8px;display:flex}.tpl-name input{min-width:0;font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;flex:1;padding:8px 10px;font-size:16px}.tp-steps{counter-reset:tpstep;padding-left:0;list-style:none}.tp-steps>li{padding-left:22px;position:relative}.tp-steps>li:not(.tp-note-step):not(.tp-variant-only){counter-increment:tpstep}.tp-steps>li:not(.tp-note-step):not(.tp-variant-only):before{content:counter(tpstep) ".";color:var(--text-2);position:absolute;left:0}.tp-steps>li.tp-note-step,.tp-steps>li.tp-variant-only{margin-left:0}.medal-chart-card{flex-direction:column;gap:12px;display:flex}.medal-total{color:var(--text-2);flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin:0;font-size:14px;display:flex}.medal-total strong{color:var(--text);margin-right:-8px;font-size:22px}.medal-legend{white-space:nowrap;font-weight:600}.medal-chart-scroll{-webkit-overflow-scrolling:touch;overflow-x:auto}.medal-chart svg{display:block}.mc-grid{stroke:var(--border);stroke-width:1px}.mc-axis,.mc-label{fill:var(--muted);font-family:inherit;font-size:11px}.mc-total{fill:var(--text);font-family:inherit;font-size:12px;font-weight:700}.mc-gold{fill:#d4a72c}.mc-silver{fill:#a9b0ba}.mc-bronze{fill:#b8743f}.medal-empty{margin:4px 0}.seg-sm button{min-height:36px;font-size:13px}.comp-filter{align-items:center;gap:12px;margin:4px 0 8px;display:flex}.comp-filter select{flex:1;min-width:0}.comp-filter .link-btn{white-space:nowrap}.list-item.comp-card{flex-direction:column;align-items:stretch;padding:0}.comp-head{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.comp-main{flex-direction:column;gap:2px;min-width:0;display:flex}.comp-side{flex-shrink:0;align-items:center;gap:10px;display:flex}.comp-tally{font-variant-numeric:tabular-nums;gap:8px;font-weight:700;display:flex}.comp-races{border-top:1px solid var(--border);flex-direction:column;gap:10px;padding:0 14px 14px;display:flex}.comp-race{flex-direction:column;gap:6px;padding-top:10px;display:flex}.comp-race+.comp-race{border-top:1px dashed var(--border)}.mc-rows{flex-direction:column;gap:12px;margin:4px 0 0;padding:0;list-style:none;display:flex}.mc-row{grid-template-columns:1fr auto;grid-template-areas:"name sum""track track";align-items:baseline;gap:4px 10px;display:grid}.mc-name{grid-area:name;min-width:0;font-size:14px}.mc-sum{font-variant-numeric:tabular-nums;grid-area:sum;font-weight:800}.mc-track{grid-area:track;gap:2px;height:12px;display:flex}.mc-seg{min-width:6px;height:100%}.mc-seg:first-child{border-radius:4px 0 0 4px}.mc-seg:last-child{border-radius:0 4px 4px 0}.mc-seg:only-child{border-radius:4px}.mc-gold-bg{background:#d4a72c}.mc-silver-bg{background:#a9b0ba}.mc-bronze-bg{background:#b8743f}.equip-head{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:14px 0 6px;font-size:13px;font-weight:700}.equip-head:first-child{margin-top:0}.feel-days{flex-wrap:wrap;gap:8px 14px;display:flex}.feel-day{align-items:center;gap:6px;display:inline-flex}.eq-insights{flex-direction:column;gap:10px;margin-top:16px;display:flex}.eq-race{flex-direction:column;gap:8px;display:flex}.eq-combos{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.eq-combos li{border-top:1px solid var(--border);flex-direction:column;gap:2px;padding-top:8px;display:flex}.eq-combos li:first-child{border-top:0;padding-top:0}.eq-setup .pb-tag{margin-left:8px}.eq-nums{flex-wrap:wrap;gap:4px 14px;font-size:14px;display:flex}.save-row{grid-template-columns:1fr auto;align-items:center;gap:10px;display:grid}.save-row .btn-ghost{padding-left:18px;padding-right:18px}.cancel-confirm{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:12px}.cancel-confirm p{margin:0 0 10px;font-size:14px;line-height:1.4}html:has(.shell.has-tabs){height:var(--app-h,100dvh);overscroll-behavior:none;overflow:hidden}html:has(.shell.has-tabs) body{height:var(--app-h,100dvh);overscroll-behavior:none;overflow:hidden}html:has(.shell.has-tabs) #root{height:100%;min-height:0}.shell.has-tabs{height:100%;min-height:0}.page-scroll{flex-direction:column;display:flex}.has-tabs .page-scroll{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;flex:auto;min-height:0;overflow-y:auto}.has-tabs .topbar{position:relative}.has-tabs .tabbar{flex:none;position:relative}.has-tabs .content{padding-bottom:24px}.has-tabs .page-tabs,.has-tabs .sw-tabs{top:0}.has-tabs .save-bar{bottom:0}.has-tabs .bulk-bar{bottom:8px}.has-tabs .sticky-actions{padding-bottom:12px;bottom:0}.kb-open .has-tabs .content{padding-bottom:50vh}.tp-steps>li.tp-ex{counter-increment:none;padding-left:0}.tp-steps>li.tp-ex:before{content:none!important}.tp-tick{cursor:pointer;align-items:flex-start;gap:10px;min-height:40px;padding:4px 0;display:flex}.tp-tick input{width:24px;height:24px;min-height:0;accent-color:var(--red);flex:0 0 24px;margin:0;padding:0}.tp-tick span{padding-top:2px}.tp-ex.is-done .tp-tick span{color:var(--muted);text-decoration:line-through;-webkit-text-decoration-color:var(--border);text-decoration-color:var(--border)}.tp-today .tplan+.tplan,.tp-today .tplan+.tp-ask,.tp-today .tp-ask+.tplan{border-top:1px solid var(--border);margin-top:4px;padding-top:12px}.tp-ask{align-self:flex-start;padding:6px 0}.tp-session .chips{margin-top:2px}.ex-list .ex-row{border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:8px 0;display:flex}.ex-list .ex-row:last-child{border-bottom:0}.ex-row .ex-name{flex:1;min-width:0}.ex-row.is-hidden .ex-name{color:var(--muted)}.ex-pick{flex-direction:column;gap:6px;display:flex}.ex-quick{border-bottom:1px dashed var(--border);flex-direction:column;gap:6px;margin-bottom:4px;padding-bottom:8px;display:flex}.ex-quick .meta{margin:0}.ex-pick select,.ex-pick input{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);box-sizing:border-box;border-radius:8px;width:100%;padding:8px 10px;font-size:16px}.tp-step-grid-wide{color:var(--text-2);flex-direction:column;gap:3px;font-size:12px;font-weight:600;display:flex}.tp-step-grid-wide input{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:8px;padding:8px 10px;font-size:16px}.tp-ticked{color:var(--ok);margin:4px 0 0}.ex-form{flex-direction:column;gap:10px;margin:6px 0;display:flex}.ex-add{border:1px dashed var(--border);background:var(--surface-2);border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.ex-add-title{margin:0;font-size:15px}.ex-add .meta{margin:0}.ex-chip{background:var(--surface)}.ex-chip .ex-in{color:var(--muted);font-weight:500}.ex-chip.on .ex-in{color:inherit}.ex-edit-link{margin-left:auto}.tp-actions{flex-direction:column;gap:8px;width:100%;display:flex}.tp-actions-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.plan-preview{z-index:60;background:var(--bg);flex-direction:column;display:flex;position:fixed;inset:0}.plan-preview-head{padding:calc(env(safe-area-inset-top) + 12px) 16px 12px;background:var(--ink);color:#fff;justify-content:space-between;align-items:center;gap:12px;display:flex}.plan-preview-head strong{font-size:17px;display:block}.plan-preview-head .meta{color:#ffffffbf;display:block}.plan-preview-body{-webkit-overflow-scrolling:touch;min-height:0;padding:16px 16px calc(env(safe-area-inset-bottom) + 24px);box-sizing:border-box;flex-direction:column;flex:auto;gap:12px;width:100%;max-width:560px;margin:0 auto;display:flex;overflow-y:auto}.eq-today{border-left:4px solid var(--red);flex-direction:column;gap:10px;display:flex}.eq-today .card-title,.eq-today .hint,.eq-today .field{margin:0}.eq-mm{color:var(--muted);font-size:12px;font-weight:500}.chip.on .eq-mm{color:inherit;opacity:.85}.eq-today-line{border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 14px;font-size:14px;display:flex}.eq-today-line>span:nth-child(2){flex:1;min-width:0}.eq-today-line.is-skipped{color:var(--text-2);border-style:dashed}.plan-others{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.plan-others p{margin:0}.chip.is-taken{opacity:.55}.chip-note{font-size:12px;font-weight:500}.planner-plan+.planner-plan{border-top:1px solid var(--border);margin-top:4px;padding-top:10px}.sw-actions.sw-fix button{color:var(--muted);font-size:12.5px}.sw-actions.sw-fix button.on{color:var(--red);background:var(--accent-bg)}.sw-bar i.on.est{background:repeating-linear-gradient(135deg, var(--red) 0 3px, color-mix(in srgb, var(--red) 35%, var(--border)) 3px 6px)}.sw-tile.done .sw-bar i.on.est{background:repeating-linear-gradient(135deg, var(--ok) 0 3px, color-mix(in srgb, var(--ok) 35%, var(--border)) 3px 6px)}.sw-ask{border-top:1px solid var(--border);background:var(--accent-bg);flex-direction:column;gap:6px;padding:8px 10px;font-size:13px;font-weight:600;display:flex}.sw-ask-btns{gap:6px;display:flex}.sw-ask-btns button{border:1px solid var(--red);background:var(--surface);min-height:36px;color:var(--red);font:inherit;cursor:pointer;touch-action:manipulation;border-radius:10px;flex:1;font-size:13px;font-weight:700}.sw-ask-btns button:first-child{background:var(--red);color:#fff}.topbar{column-gap:8px}.topbar-title{min-width:0}.brand{letter-spacing:.5px;white-space:nowrap;gap:5px;font-size:13px}.sect-head .link-btn{white-space:nowrap}.bell{border-radius:10px;justify-content:center;justify-self:end;align-items:center;width:40px;height:40px;font-size:20px;text-decoration:none;display:inline-flex;position:relative}.bell:active{background:#ffffff1f}.bell-badge{min-width:18px;height:18px;color:var(--red);text-align:center;background:#fff;border-radius:9px;padding:0 5px;font-size:11px;font-weight:800;line-height:18px;position:absolute;top:2px;right:0}.notes{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.note{text-align:left;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);font:inherit;cursor:pointer;border-radius:14px;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.note.unread{border-color:color-mix(in srgb, var(--red) 45%, var(--border));background:color-mix(in srgb, var(--accent-bg) 55%, var(--surface))}.note-icon{flex-shrink:0;font-size:20px;line-height:1.3}.note-main{flex-direction:column;gap:3px;min-width:0;display:flex}.note-title{font-size:15px;font-weight:700}.note-body{color:var(--text);opacity:.85;overflow-wrap:anywhere;font-size:14px}.note-when{color:var(--muted);font-size:12px}.note.unread .note-when{color:var(--red);font-weight:600}.notes-readall{margin:0 0 10px auto;display:block}.push-card{gap:12px;padding:14px;display:grid}.push-card.compact{margin-bottom:12px}.push-row{align-items:flex-start;gap:12px;display:flex}.push-icon{font-size:22px;line-height:1.2}.push-text{gap:4px;min-width:0;display:grid}.push-text .meta{display:block}.push-prompt{border-color:var(--red);background:var(--accent-bg);margin-bottom:12px}.push-actions{flex-wrap:wrap;gap:8px;display:flex}.push-actions .btn{flex:120px}.push-err{color:var(--danger,#c41230);margin:0;font-size:14px}.wk-nav{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.wk-nav .btn{flex:none;width:auto;min-height:40px;padding:6px 12px}.wk-range{text-align:center;white-space:nowrap;flex:1;font-size:14px;font-weight:700}.wk-sub{margin:8px 0 12px}.wk-card{gap:8px;margin-bottom:12px}.wk-card.wk-attn{border-color:var(--red)}.wk-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.wk-name{color:var(--text);font-size:16px;font-weight:800}a.wk-name{text-decoration:none}.wk-flags{background:var(--danger-bg);color:var(--danger);border-radius:10px;gap:2px;margin:0;padding:8px 10px;font-size:13px;list-style:none;display:grid}.wk-stats{color:var(--text-2);flex-wrap:wrap;gap:6px 14px;font-size:13px;display:flex}.wk-stats b{color:var(--text)}.wk-block{gap:4px;display:grid}.wk-label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:700}.wk-row{font-size:14px}.wk-trend{color:var(--muted);font-size:12px;display:block}.wk-trend.up{color:var(--ok)}.wk-trend.down{color:var(--danger)}.wk-feel{flex-wrap:wrap;gap:6px;display:flex}.wk-feel .feel-pill{margin-top:0}
