:root{color-scheme:light;--cobalt:#3a6df0;--blue-ink:#2a54d6;--ink:#11151f;--muted:#58616e;--line:#e7e9ed;--canvas:#f4f6fa;--row:68px;--col:158px;--rail:52px;--head:103px}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,input,select,summary{border-radius:8px}button{min-height:34px;padding:6px 12px;border:1px solid #d6dce7;background:#fff;color:var(--ink);cursor:pointer;font-size:12px;font-weight:650}button:hover{background:#eaf0ff;border-color:#9db4ee}button:disabled{opacity:.4;cursor:default}button.primary{background:var(--cobalt);border-color:var(--cobalt);color:#fff}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--cobalt);outline-offset:3px}input,select{caret-color:var(--cobalt)}::selection{background:#d4e0ff;color:#11295e}*{scrollbar-color:#b9c6de #edf1f7;scrollbar-width:thin}[hidden]{display:none!important}a{color:var(--blue-ink);text-underline-offset:3px}h1,h2,p{margin:0}h1{font-size:27px;font-weight:800;letter-spacing:-.025em;line-height:1.2}h2{font-size:16px;font-weight:750;letter-spacing:-.015em}.masthead{height:62px;padding:0 28px;background:#3a6df0;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px}.masthead a{color:#fff;text-decoration:none;font-size:12px;white-space:nowrap}.brand{display:flex;align-items:center;gap:11px;font-size:18px;font-weight:750;min-width:0}.brand svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2.6}.brand svg circle{fill:currentColor;stroke:none}.brand-detail{font-size:12px;font-weight:450;border-left:1px solid #85a6ff;padding-left:16px;margin-left:6px}main{padding:26px 28px 18px;max-width:2000px;margin:auto}.event-line{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.event-line p{color:var(--muted);font-size:12px;margin-top:7px}.event-line p span{margin:0 6px}.state-label{font-size:12px;background:#eaf0ff;color:#274ec4;padding:8px 12px;border-radius:6px;white-space:nowrap}.state-label.modified{background:#fff2d5;color:#765208}.race-tabs{display:flex;border-bottom:1px solid #dbe1eb;gap:8px;margin-bottom:23px;overflow:auto}.race-tabs button{border:0;border-radius:0;background:transparent;padding:10px 17px 13px;color:var(--muted);white-space:nowrap;font-size:13px}.race-tabs button[aria-current=true]{color:var(--blue-ink);box-shadow:inset 0 -3px var(--cobalt)}.race-tabs small{font-weight:450;opacity:.8;margin-left:8px}.section-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.section-line span{color:var(--muted);font-size:11px}.standings{display:flex;gap:8px;overflow:auto;padding:0 0 8px}.standing{min-width:142px;display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:8px;align-items:center;text-align:left;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.standing .rank{font-weight:700;color:var(--muted);font-size:11px}.standing strong{font-size:12px;white-space:nowrap}.standing .score{font-size:18px;font-variant-numeric:tabular-nums}.standing small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.dot{display:inline-block;width:7px;height:7px;background:var(--team);border-radius:50%;margin-right:5px}.good{color:#087746!important}.bad{color:#ad3342!important}.workspace{margin-top:17px;background:#fff;border:1px solid #dce2ec;border-radius:12px;overflow:hidden}.board-heading{padding:17px 18px 13px;display:flex;justify-content:space-between;align-items:center;gap:12px}.board-heading p{font-size:11px;color:var(--muted);margin-top:5px}.history-actions{display:flex;gap:6px}.reset{color:var(--blue-ink)}.tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:0 18px 13px}.search{display:flex;align-items:center;gap:8px;border:1px solid #d6dce7;border-radius:8px;padding:0 10px;min-width:180px;max-width:280px;flex:1;height:36px}.search svg{height:16px;width:16px;fill:none;stroke:var(--muted);stroke-width:1.7}.search input{min-width:0;width:100%;border:0;outline:none;background:transparent;font-size:12px}.compact-control,.original-control{display:flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap}.tools input[type=checkbox]{accent-color:var(--cobalt)}.export{margin-left:auto}.instructions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px;padding:10px 18px;background:#f8faff;border-top:1px solid var(--line);font-size:11px;color:var(--muted);line-height:1.5}.instructions strong{font-weight:650;color:#354467}.instructions i{display:inline-block;width:9px;height:9px;margin:0 3px 0 10px;border:1px solid #7690b1;border-radius:2px}.scorer-key{background:#7690b1}.changed-key{background:#fff0be;border-color:#a67921!important}.board-scroll{height:clamp(440px,61vh,820px);overflow:auto;position:relative;overscroll-behavior:contain;scroll-padding-top:var(--head);background:#fcfdff}.board{position:relative;isolation:isolate;display:grid;grid-template-columns:var(--rail) repeat(var(--teams),var(--col));width:max-content;min-width:100%;align-items:start}.team-header{position:sticky;top:0;z-index:4;height:var(--head);background:#fff;border-bottom:1px solid #cad5e7;border-right:1px solid var(--line);padding:12px 10px;min-width:0;overflow:hidden}.team-header::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--team)}.team-header .team-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:750}.team-header .team-total{font-size:25px;font-weight:800;line-height:1.25;font-variant-numeric:tabular-nums}.team-header .team-total small{font-size:10px;font-weight:450;color:var(--muted);margin-left:3px}.team-header .team-meta{display:flex;gap:6px;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:4px}.team-header .delta{font-size:10px}.corner{left:0;z-index:6;font-size:10px;color:var(--muted);display:flex;align-items:end;justify-content:center;padding:12px 3px}.lane{grid-row:2;position:relative;border-right:1px solid var(--line);height:calc(var(--rows) * var(--row));min-width:0;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(var(--row) - 1px),#edf1f6 calc(var(--row) - 1px),#edf1f6 var(--row))}.lane:nth-of-type(even){background-color:#f8fafd}.rail{position:sticky;left:0;z-index:3;background:#fff;height:calc(var(--rows) * var(--row));grid-column:1;grid-row:2;border-right:1px solid #d3dce9}.place-label{height:var(--row);border-bottom:1px solid #edf1f6;display:flex;align-items:center;justify-content:center;font-size:11px;color:#647087;font-variant-numeric:tabular-nums}.runner{position:absolute;left:5px;right:5px;top:calc(var(--place) * var(--row) + 5px);height:calc(var(--row) - 10px);padding:7px 8px;background:var(--tint);border:1px solid color-mix(in srgb,var(--team) 35%,white);border-radius:7px;cursor:grab;text-align:left;display:flex;flex-direction:column;gap:5px;min-width:0;transition:top .23s cubic-bezier(.16,1,.3,1),box-shadow .15s;touch-action:pan-x pan-y}.runner:hover{background:var(--tint);border-color:var(--team);box-shadow:0 4px 12px #10204019;z-index:2}.runner:active{cursor:grabbing}.runner.displacer{background:#fff;border-style:dashed}.runner.individual{background:#f2f4f7;border-color:#ccd2dc}.runner.changed{box-shadow:inset 0 0 0 2px #bc8b28}.runner.selected{outline:2px solid var(--cobalt);outline-offset:1px;z-index:2}.runner.dim{opacity:.2}.runner.match{outline:2px solid #2a54d6;outline-offset:1px;z-index:2}.runner-name{font-size:11px;font-weight:700;color:#1b253b;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;max-width:100%}.runner-data{display:flex;align-items:center;justify-content:space-between;gap:5px;font-variant-numeric:tabular-nums;font-size:10px;color:#364158}.runner-points{font-weight:700;white-space:nowrap}.runner-data sup{font-size:8px;margin-left:2px;color:#765208}.board-footer{padding:12px 18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;font-size:11px;line-height:1.5;color:var(--muted)}#lastMove{color:#354467}.board-footer>span{min-width:0}.rules{margin-top:17px;color:var(--muted);font-size:12px;max-width:880px}.rules summary{cursor:pointer;padding:6px 0;color:#3d4e69}.rules p{line-height:1.65;margin-top:9px}.rules>div{padding:2px 0 12px}.editor{position:fixed;right:18px;top:80px;width:330px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 100px);overflow:auto;z-index:30;padding:21px;background:white;box-shadow:0 14px 70px #162c5b40;border-radius:14px}.editor-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px;margin-bottom:22px}.editor-top button{min-height:28px;padding:4px 9px}.editor h2{font-size:23px}.editor>p{color:var(--muted);font-size:12px;margin-top:5px}.runner-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:20px}.runner-facts small{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.runner-facts strong{font-size:17px;font-variant-numeric:tabular-nums}.editor form{margin-top:16px}.editor label{font-size:12px;display:block;margin-bottom:7px;font-weight:650}.editor label span{font-size:10px;font-weight:450}.input-row{display:flex;gap:8px}.input-row input{min-width:0;flex:1;border:1px solid #cbd4e2;padding:8px;width:100px}.step-buttons{display:flex;gap:8px;margin-top:12px}.step-buttons button{flex:1}.editor #editorError{color:#ad3342;min-height:15px}.breakdown{border-top:1px solid var(--line);margin-top:16px;padding-top:16px;font-size:12px;line-height:1.8}.breakdown strong{display:block;margin-bottom:6px}.breakdown span{font-variant-numeric:tabular-nums}.editor .editor-note{font-size:11px;line-height:1.6;margin-top:17px}body.compact{--row:52px;--col:124px;--head:95px}body.compact .runner{gap:2px;padding:4px 6px}body.compact .runner-name{font-size:10px}.drop-line{position:absolute;left:var(--rail);height:3px;background:var(--cobalt);z-index:10;pointer-events:none;box-shadow:0 3px 8px #3a6df040}.drop-line:before{content:attr(data-label);position:absolute;left:10px;top:-20px;padding:3px 6px;color:white;background:var(--blue-ink);font-size:10px;border-radius:4px;white-space:nowrap}.error{position:fixed;left:20px;bottom:20px;max-width:calc(100vw - 40px);padding:16px;background:#fff0f1;color:#942c3a;border:1px solid #e0bdc2;border-radius:10px;z-index:60}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:700px){.masthead{padding:0 16px;height:54px}.brand-detail{display:none}main{padding:20px 12px}.event-line{align-items:start;flex-direction:column;margin-bottom:14px;gap:12px}h1{font-size:23px}.event-line p{font-size:11px}.state-label{font-size:10px}.race-tabs{gap:0;margin-bottom:18px}.race-tabs button{padding:9px 12px;font-size:12px}.race-tabs small{display:none}.section-line span{font-size:10px;max-width:145px;text-align:right}.standing{min-width:139px}.board-heading{padding:14px 12px}.history-actions{gap:4px}.history-actions button{padding:6px 8px;font-size:10px}.tools{padding:0 12px 12px;gap:9px}.search{max-width:none;flex-basis:55%}.compact-control,.original-control{font-size:11px}.export{font-size:11px}.instructions{padding:9px 12px;line-height:1.6}.board-scroll{height:62vh;min-height:390px}.board-footer{padding:10px 12px;flex-direction:column;gap:4px}.editor{right:12px;top:auto;bottom:12px;max-height:85dvh;width:350px}.editor-top{margin-bottom:15px}:root{--col:148px;--rail:42px}.rules{font-size:11px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.standing{min-width:158px;flex-shrink:0}.standing small{white-space:nowrap}.standing .rank{align-self:center}
.search:focus-within{outline:3px solid var(--cobalt);outline-offset:3px}

.runner{touch-action:none}.runner.is-dragging{opacity:.35}.drag-active,.drag-active *{user-select:none!important;cursor:grabbing!important}.drag-ghost{pointer-events:none!important}

.team-filter{height:36px;display:inline-flex;align-items:center;justify-content:space-between;gap:12px;max-width:220px;min-width:156px;text-align:left;font-weight:450}.team-filter span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-filter svg{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5}.team-filter:popover-open{background:#eaf0ff}.teams-popover{position:fixed;inset:auto;margin:0;padding:0;width:280px;max-width:calc(100vw - 16px);overflow:auto;border:1px solid #d6dce7;border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 12px 36px #162c5b26;font-size:12px}.team-picker-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 14px 8px}.team-picker-heading span{color:var(--muted);font-size:11px}.team-picker-actions{display:flex;gap:8px;padding:0 14px 10px;border-bottom:1px solid var(--line)}.team-picker-actions button{min-height:30px;font-size:11px}#teamOptions{border:0;margin:0;padding:6px;max-height:300px;overflow:auto}.team-option{display:flex;align-items:center;min-height:36px;gap:8px;padding:6px 8px;cursor:pointer;border-radius:6px}.team-option:hover,.team-option:focus-within{background:#eaf0ff}.team-option input{accent-color:var(--cobalt);width:15px;height:15px;margin:0 2px 0 0}.team-option .dot{flex-shrink:0;margin:0}.team-option span{overflow-wrap:anywhere}.team-picker-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);padding:10px 14px;background:#f8faff}.team-picker-footer span{font-size:10px;color:var(--muted)}.board-empty{padding:80px 24px;text-align:center}.board-empty p{font-size:12px;color:var(--muted);margin:9px 0 18px}@media(max-width:700px){.team-filter{min-width:146px;max-width:100%}#raceStats{max-width:230px;line-height:1.5}}
.teams-popover:popover-open{display:flex;flex-direction:column;overflow:hidden}.team-picker-heading,.team-picker-actions,.team-picker-footer{flex-shrink:0}#teamOptions{min-height:0;flex:0 1 auto}

.combined-note{margin:-10px 0 20px;padding:10px 12px;border-radius:7px;background:#eaf0ff;color:#274ec4;font-size:12px;line-height:1.5}.race-tabs .combined-tab{color:#3b5278}.race-tabs .combined-tab:first-of-type{margin-left:8px}@media(max-width:700px){.combined-note{font-size:11px}.race-tabs .combined-tab{padding-inline:14px}}

.athlete-history{padding:0 0 18px;border-bottom:1px solid var(--line);margin-bottom:18px}.athlete-history-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}.athlete-history-heading strong{display:block;font-size:12px}.athlete-history-heading small{display:block;margin-top:4px;color:var(--muted);font-size:10px;font-weight:450}.athlete-history-heading>span{min-width:24px;text-align:right;color:var(--blue-ink);font-size:12px;font-weight:750;font-variant-numeric:tabular-nums}.athlete-history-summary{margin-top:10px!important;color:#354467!important;font-size:11px!important;line-height:1.5}.athlete-history ul,.athlete-peek ul{list-style:none;margin:10px 0 0;padding:0}.athlete-history li,.athlete-peek li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line)}.athlete-history li span,.athlete-peek li span{min-width:0}.athlete-history li strong,.athlete-peek li strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:11px}.athlete-history li small,.athlete-peek li small{display:block;margin-top:3px;color:var(--muted);font-size:9px}.athlete-history li>b,.athlete-peek li>b{flex-shrink:0;color:var(--ink);font-size:12px;font-variant-numeric:tabular-nums}.athlete-peek{position:fixed;z-index:90;width:290px;max-width:calc(100vw - 16px);padding:14px;border:1px solid #d6dce7;border-radius:10px;background:#fff;box-shadow:0 14px 36px #162c5b26;pointer-events:none}.athlete-peek>strong{display:block;font-size:13px}.athlete-peek>span{display:block;margin-top:3px;color:var(--muted);font-size:10px}.athlete-peek>p{margin-top:10px;color:var(--muted);font-size:11px;line-height:1.5}.athlete-peek li{padding:7px 0}.athlete-peek li:last-child{padding-bottom:0}

.athlete-history-heading>span{display:grid;place-items:center;min-width:27px;height:24px;padding:0 7px;border-radius:999px;background:#eaf0ff;color:var(--blue-ink)}
.athlete-history-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:13px;border-block:1px solid var(--line);background:#f8faff}
.athlete-history-stats>div{min-width:0;padding:10px 11px}
.athlete-history-stats>div+div{border-left:1px solid var(--line)}
.athlete-history-stats span{display:block;color:var(--muted);font-size:9px;font-weight:650;text-transform:uppercase;letter-spacing:.04em}
.athlete-history-stats strong{display:block;margin-top:4px;color:var(--ink);font-size:15px;font-weight:780;font-variant-numeric:tabular-nums;letter-spacing:-.015em}
.athlete-history-model{margin-top:7px!important;color:var(--muted)!important;font-size:9px!important;line-height:1.4}
.athlete-history-summary{margin-top:9px!important}
.projection-basis{margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.athlete-history li,.athlete-peek li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.history-race{min-width:0}
.history-time-pair{display:grid;grid-template-columns:repeat(2,minmax(68px,1fr));gap:10px;min-width:150px;text-align:right;font-variant-numeric:tabular-nums}
.history-time-pair>span{min-width:0}
.history-time-pair strong{font-size:13px!important;font-weight:760!important;overflow:visible!important;text-overflow:clip!important}
.history-time-pair small{margin-top:3px!important;font-size:8px!important;font-weight:600!important;white-space:nowrap}
.athlete-peek{width:430px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:18px;border:0;border-radius:14px;box-shadow:0 18px 50px #162c5b38}
.athlete-peek-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}
.athlete-peek-heading>div{min-width:0}
.athlete-peek-heading strong{display:block;color:var(--ink);font-size:18px;line-height:1.2;letter-spacing:-.015em}
.athlete-peek-heading span{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.athlete-peek-heading em{flex-shrink:0;padding:5px 8px;border-radius:999px;background:#eaf0ff;color:var(--blue-ink);font-size:9px;font-style:normal;font-weight:700;white-space:nowrap}
.athlete-peek .athlete-history-stats{margin-top:15px}
.athlete-peek ul{margin-top:6px}
.athlete-peek li{align-items:start;padding:10px 0}
.athlete-peek li strong{overflow:visible;text-overflow:clip;white-space:normal;font-size:12px;line-height:1.3}
.athlete-peek li small{font-size:9px;line-height:1.45}
.athlete-peek>p{margin-top:14px}
@media(max-width:700px){.athlete-peek{width:calc(100vw - 16px);padding:15px}.athlete-peek-heading{gap:10px}.athlete-peek-heading strong{font-size:16px}.athlete-history-stats>div{padding:9px 8px}.athlete-history-stats strong{font-size:13px}.history-time-pair{gap:8px;min-width:142px}}
