.results-shell { padding-bottom: 4rem; }
.results-heading { display:flex;align-items:center;justify-content:space-between;gap:1.25rem;margin:1.5rem 0; }
.results-heading h1 { margin:.3rem 0;font-size:clamp(1.8rem,3.5vw,2.6rem); }
.results-heading h2 { margin:.7rem 0; }
.results-heading.compact { margin:.3rem 0 1.2rem;flex-wrap:wrap; }
.results-navigation,.results-event-tabs { display:flex;flex-wrap:wrap;gap:.65rem;margin:1rem 0 1.5rem; }
.results-metrics { display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden;margin:1.2rem 0; }
.results-metrics>div { background:var(--surface);padding:1.15rem 1.4rem;display:flex;flex-direction:column;gap:.3rem; }
.results-metrics span { color:var(--muted);font-size:.9rem; }
.results-metrics strong { font-size:1.8rem;font-variant-numeric:tabular-nums;letter-spacing:-.04em; }
.results-metrics small { color:var(--muted);font-size:.85rem; }
.results-competition-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem; }
.results-competition-card { display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:1rem;border-top:3px solid var(--ice); }
.results-card-kicker { display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .5rem; }
.results-card-kicker .eyebrow { margin:0;font-size:.72rem;letter-spacing:.08em; }
.results-card-kicker .competition-type { margin:0;font-size:.72rem;padding:.2rem .4rem; }
.results-competition-card h2 { margin:.65rem 0 .45rem;line-height:1.3; }
.results-competition-card h2 .text-button { font-size:1.125rem;text-align:left;line-height:1.3;color:var(--text);overflow-wrap:anywhere; }
.results-competition-card .results-card-date { margin:0;font-size:.825rem;line-height:1.5;overflow-wrap:anywhere; }
.results-competition-card>.results-card-actions { width:100%;margin-top:auto;gap:.4rem; }
.results-card-actions .button { padding:.5rem .65rem;min-height:2.75rem;font-size:.8rem; }
.results-card-actions>a { flex-basis:100%;font-size:.8rem;line-height:1.5;overflow-wrap:anywhere; }
@media(max-width:1100px) { .results-competition-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:850px) { .results-competition-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .results-competition-grid { grid-template-columns:minmax(0,1fr); } }
.result-verified { color:var(--green);font-size:.9rem; }
.results-table-wrap { overflow-x:auto;max-width:100%;margin:1.25rem 0;scrollbar-color:var(--muted-2) var(--surface); }
.results-table { width:100%;border-collapse:collapse;font-size:.9rem;line-height:1.5;font-variant-numeric:tabular-nums; }
.results-table caption { text-align:left;padding:.4rem 0 .75rem;font-size:1rem;font-weight:700;color:var(--text); }
.results-table th,.results-table td { padding:.75rem .7rem;border-bottom:1px solid var(--line);text-align:right;vertical-align:middle; }
.results-table th { font-weight:600; }
.results-table thead th { color:var(--muted);background:var(--surface-2);font-size:.875rem;white-space:nowrap; }
.results-table th[scope=row],.results-table th:first-child,.results-table td:first-child { text-align:left; }
.results-table th[scope=row] { min-width:150px; }
.results-table th .text-button { text-align:left;font-size:inherit; }
.results-table tr:hover { background:var(--surface-soft); }
.results-table td small,.results-table th small,.score-difference small { display:block;font-size:.8rem;color:var(--muted);white-space:nowrap; }
#results-content > .card > .phase-view-tabs ~ .results-table-wrap > .results-table > tbody > tr > td > .rank-badge { margin-inline-start:.4rem; }
.results-table .element-code { font-family:var(--mono);white-space:nowrap;min-width:130px; }
.result-info-call { display:inline-block;border:1px solid rgba(255,209,102,.4);background:rgba(255,209,102,.1);padding:.15rem .4rem;border-radius:4px;color:var(--yellow);font-family:var(--mono);font-weight:700;white-space:nowrap; }
.bonus-mark { color:var(--yellow);font-weight:700; }
.score-difference.above { color:var(--ice); }.score-difference.below { color:var(--pink); }.score-difference.at { color:var(--text); }
.score-difference small { font-size:.8rem; }
.official-sheet { min-width:0;container:result-protocol / inline-size; }
.protocol-source-row { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem 1rem;margin:0 0 .8rem; }
.protocol-source-row .eyebrow { margin:0; }
.protocol-source-row>.text-button { font-size:.85rem; }
.protocol-summary { display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.4fr);align-items:center;gap:1.25rem;margin-bottom:1rem; }
.protocol-identity { display:flex;align-items:center;gap:.85rem;min-width:0; }
.protocol-placement { flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:3.25rem;padding:.45rem .55rem;border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface-2); }
.protocol-placement>span { color:var(--muted);font-size:.7rem;line-height:1.4; }
.protocol-placement>strong { color:var(--ice);font-size:1.9rem;line-height:1.15;font-variant-numeric:tabular-nums; }
.protocol-competitor { min-width:0; }
.protocol-competitor h3 { margin:0;font-size:clamp(1.3rem,2vw,1.65rem);line-height:1.25;overflow-wrap:anywhere; }
.protocol-entry-meta { display:flex;flex-wrap:wrap;align-items:center;gap:.3rem 1rem;margin:.45rem 0 0;color:var(--muted);font-size:.85rem;line-height:1.5; }
.protocol-entry-meta>span { white-space:nowrap; }
.protocol-score-summary { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden;min-width:0;font-variant-numeric:tabular-nums; }
.protocol-score { display:flex;flex-direction:column;align-items:flex-start;gap:.2rem;min-width:0;padding:.65rem .8rem; }
.protocol-score+.protocol-score { border-left:1px solid var(--line); }
.protocol-score-label { color:var(--muted);font-size:.8rem; }
.protocol-score>strong { font-size:1.5rem;line-height:1.25;letter-spacing:-.03em; }
.protocol-total>strong { color:var(--ice); }
.protocol-score>.rank-badge { width:max-content;font-size:.75rem;margin-top:.1rem; }
@container result-protocol (max-width:760px) { .protocol-summary { grid-template-columns:minmax(0,1fr);gap:.8rem; }.protocol-score { padding:.55rem .7rem; } }
@container result-protocol (max-width:380px) { .protocol-source-row .eyebrow { font-size:.7rem; }.protocol-score { padding:.5rem .4rem; }.protocol-score-label { font-size:.7rem; }.protocol-score>strong { font-size:1.25rem; }.protocol-competitor h3 { font-size:1.25rem; } }
.judge-comparison,.officials-list,.identity-review { padding:1rem 0;border-top:1px solid var(--line);margin-top:1rem; }
.judge-comparison summary,.officials-list summary,.identity-review summary,.results-source-details summary { cursor:pointer;font-size:1rem;font-weight:600;padding:.45rem 0; }
.results-source-details { margin-top:1.2rem; }
.results-source-details li { margin:.7rem 0; }.results-source-details li details { margin:.25rem 0; }.results-source-details li summary { font-size:.85rem;font-weight:400; }
.wrap-code { overflow-wrap:anywhere;white-space:normal;font-size:.85rem; }
.results-search { display:flex;align-items:flex-end;gap:1rem;margin:1.5rem 0; }.results-search .field { flex:1;max-width:600px; }
.results-person-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:.8rem;margin:1.5rem 0; }
.result-person-card { border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);text-align:left;padding:1rem;display:flex;flex-direction:column;gap:.4rem;color:var(--text);cursor:pointer; }
.result-person-card:hover { border-color:var(--ice); }.result-person-card strong { font-size:1rem; }.result-person-card span,.result-person-card small { font-size:.875rem;color:var(--muted); }
.results-dialog { color:var(--text);background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--radius-lg);width:min(1000px,calc(100vw - 2rem));max-height:92vh;padding:0; }
.results-dialog::backdrop { background:rgba(0,0,0,.7); }.results-dialog-body { padding:clamp(1rem,3vw,2rem); }.results-dialog .field { margin:1rem 0; }
.results-dialog .card-heading h2 { margin:0; }.results-dialog .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.results-dialog fieldset { border:1px solid var(--line);padding:1rem;margin:1rem 0; }.results-preview { margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--line); }
.results-dialog .notice ul { padding-left:1.5rem; }.results-dialog input[type=file] { width:100%;font-size:.9rem; }
.identity-match { display:flex;flex-wrap:wrap;align-items:center;gap:1rem;padding:.7rem 0; }.identity-match>span { flex:1; }
.nowrap { white-space:nowrap; }
.category-filter { max-width:360px;margin-bottom:1.5rem; }
.competition-type { display:inline-flex;align-items:center;padding:.4rem .7rem;border-radius:999px;background:rgba(124,231,255,.09);border:1px solid rgba(124,231,255,.25);color:var(--ice);font-size:.82rem;font-weight:700;line-height:1.4; }
.competition-type.domestic { color:var(--yellow);border-color:rgba(255,209,102,.3);background:rgba(255,209,102,.08); }.competition-type.unclassified { color:var(--muted);border-color:var(--line-strong);background:var(--surface-2); }
.results-competition-card>.competition-type { margin:.3rem 0 .5rem; }
.classification-card { border:1px solid var(--line);border-radius:var(--radius-md);padding:1rem 1.25rem;margin:1rem 0; }.classification-card>summary { display:flex;align-items:center;gap:1rem;flex-wrap:wrap;cursor:pointer; }.classification-card>summary>span:last-child { color:var(--muted);font-size:.9rem; }.classification-card>summary::after { content:'⌄';margin-left:auto; }.classification-card form { border-top:1px solid var(--line);padding-top:1rem;margin-top:1rem; }.classification-card .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.classification-card .field { margin-bottom:1rem; }.eligibility-status { display:flex;gap:.65rem 1.5rem;flex-wrap:wrap;font-size:.9rem; }.eligibility-status strong { color:var(--yellow); }
.phase-view-tabs { display:flex;flex-wrap:wrap;gap:.4rem;border-bottom:1px solid var(--line-strong);padding:.8rem 0;margin-bottom:1.3rem; }.all-protocols>div { border-top:2px solid var(--line-strong);margin-top:2.5rem;padding-top:1.5rem;scroll-margin-top:110px; }.all-protocols>div:first-child { margin-top:1.5rem; }.all-protocols .official-sheet .results-metrics { margin:.8rem 0; }.all-protocols .official-sheet .results-metrics strong { font-size:1.5rem; }.all-protocols .official-sheet .results-metrics>div { padding:.8rem 1rem; }
.analysis-section { border-top:1px solid var(--line-strong);padding:1.25rem 0;margin-top:1rem; }.analysis-section>summary { cursor:pointer;font-size:1.1rem;font-weight:700; }.analysis-section>p,.phase-analysis>p { line-height:1.7;max-width:1100px; }.analysis-controls .field { min-width:190px; }.phase-analysis h3 { font-size:1.4rem;margin:.3rem 0; }
@media(max-width:640px) { .classification-card .form-grid { grid-template-columns:1fr; }.classification-card { padding:1rem; }.phase-view-tabs .button { padding:.7rem .9rem; }.all-protocols>div { scroll-margin-top:85px; } }
@media(max-width:720px) { .results-heading { align-items:flex-start;flex-direction:column; }.results-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }.results-metrics>div { padding:1rem; }.results-metrics strong { font-size:1.6rem; }.results-heading.compact>div,.results-heading.compact>nav { width:100%; }.results-search { align-items:stretch;flex-direction:column; }.results-dialog .form-grid { grid-template-columns:1fr; }.results-shell .card { padding:1rem; }.results-table th,.results-table td { padding:.65rem .5rem; } }
@media print { .results-navigation,.results-heading button,.results-event-tabs { display:none; }.results-table-wrap { overflow:visible; }.results-table { font-size:10pt;color:#111; }.results-table thead th { color:#222;background:#eee; }.results-table td,.results-table th { border-color:#bbb; }.results-table small { color:#333; }.result-info-call { color:#111;border-color:#777; }.official-sheet { break-before:page; }.results-metrics>div { background:white;color:#111; } }
.element-comparisons { margin-top: 24px; }
.comparison-scroll { max-height: 72vh; }
.comparison-matrix { min-width: 1140px; font-variant-numeric: tabular-nums; }
.comparison-matrix thead th { position: sticky; top: 0; z-index: 2; background: #0b1b30; min-width: 108px; white-space: normal; }
.comparison-matrix th:first-child { position: sticky; left: 0; background: #0b1b30; min-width: 190px; max-width: 230px; z-index: 1; }
.comparison-matrix thead th:first-child { z-index: 3; }
.comparison-matrix td { vertical-align: top; }
.comparison-matrix td small { display: block; margin-top: 5px; }
.comparison-rank { display: inline-block; min-width: 30px; margin-right: 7px; color: var(--muted); font-size: .85rem; }
.comparison-rank.rank-first { color: var(--green); font-weight: 750; }
.comparison-selected { background: rgba(124,231,255,.06); }
.comparison-matrix thead .comparison-selected { background: #173448; }
.comparison-codes { font-size: .83rem; margin-top: 8px; line-height: 1.6; overflow-wrap: anywhere; max-width: 190px; }
.comparison-focus { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 24px; }
.comparison-call-list { margin: 10px 0; padding-left: 20px; }
.comparison-call-list li { margin: 10px 0; }
.comparison-call-list small { display: block; }
@media print { .comparison-scroll { max-height: none; overflow: visible; } .comparison-matrix th:first-child, .comparison-matrix thead th { position: static; } }

.results-season-filter { max-width:360px; margin:1rem 0 1.5rem; }
.shared-start-actions { margin:1.5rem 0; padding-bottom:1.25rem; border-bottom:1px solid var(--line); }
.protocol-breakdown { border:1px solid var(--line-strong); border-radius:var(--radius-md); padding:1rem; margin:1rem 0 1.5rem; }
.protocol-breakdown>summary { cursor:pointer;color:var(--ice);font-weight:700;font-size:1rem;padding:.25rem 0; }
.protocol-breakdown>summary:focus-visible,.score-explanation>summary:focus-visible,.protocol-source-notes>summary:focus-visible { outline:2px solid var(--ice);outline-offset:5px; }
.protocol-expansion-controls { display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;min-width:0;border:1px solid var(--line);border-radius:var(--radius-md);padding:.65rem 1rem 1rem;margin:1rem 0; }
.protocol-expansion-controls legend { color:var(--muted);font-size:.9rem;padding:0 .4rem; }
.protocol-expansion-controls .builder-check { margin:0;min-height:44px; }
.protocol-breakdown .results-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
.protocol-breakdown .results-metrics strong { font-size:1.5rem; }
.protocol-breakdown .results-table { min-width:0; width:100%; }
.protocol-breakdown p { font-size:.85rem; margin-bottom:0; }
@media(max-width:640px) { .shared-start-actions>.button { flex:1 1 220px; } .protocol-breakdown { padding:.7rem; } .protocol-breakdown .results-table { font-size:.8rem; } }
@media print { .results-season-filter,.shared-start-actions { display:none; } .protocol-breakdown { border-color:#bbb; break-inside:avoid; } }

.breakdown-scroll .comparison-matrix { min-width:720px; }.breakdown-scroll .comparison-matrix td { min-width:135px; }.breakdown-scroll details { margin-top:.65rem; font-size:.85rem; }.breakdown-scroll .comparison-call-list { min-width:180px; }

.judge-score-summary { background:var(--surface-2); }
.results-table .judge-country-row th,.results-table .judge-country-row td { padding-top:.65rem;padding-bottom:.65rem;background:var(--surface-2); }
.results-table .judge-country-row th { color:var(--text);font-size:.875rem; }
.results-table .judge-country-row th[scope=row] { white-space:normal; }
.judge-country-row .country-label { white-space:nowrap; }
.judge-country-link { display:inline-block;color:inherit;text-decoration:none;border-radius:3px; }
.judge-country-link:hover { color:var(--ice);text-decoration:underline;text-underline-offset:.25em; }
.judge-country-link:focus-visible { outline:2px solid var(--ice);outline-offset:4px; }
.results-table .judge-score-summary th,.results-table .judge-score-summary td { border-top:2px solid var(--line-strong);border-bottom:2px solid var(--line-strong);padding-top:1rem;padding-bottom:1rem; }
.judge-score-summary th[scope=row] { color:var(--text);font-size:1rem;white-space:normal; }
.judge-total-value { display:block;font-size:1.1rem;color:var(--text);white-space:nowrap; }
.judge-rank { display:inline-block;margin-top:.4rem;padding:.15rem .45rem;border:1px solid var(--line-strong);border-radius:4px;font-size:.8rem;font-weight:500;white-space:nowrap;color:var(--muted); }
.mark-kind { display:block;font-size:.8rem;color:var(--muted);white-space:nowrap; }

.official-marks-table { min-width:900px; }
.results-table .protocol-component-heading th { padding-top:1.5rem;text-align:left;font-size:1rem;color:var(--text);background:var(--surface-2); }

@media print { .official-marks-table { min-width:0; } .judge-score-summary,.results-table .protocol-component-heading th,.results-table .judge-country-row th,.results-table .judge-country-row td { background:#eee; } .judge-total-value,.judge-rank,.results-table .judge-score-summary th,.results-table .protocol-component-heading th,.results-table .judge-country-row th { color:#111; } .judge-rank { border-color:#777; } }

.breakdown-score { display:inline-flex;align-items:center;justify-content:flex-end;gap:.7rem;white-space:nowrap; }
.breakdown-score .comparison-rank { flex:none;min-width:2.4rem;text-align:center;font-size:.875rem;line-height:1.6; }
.results-metrics .breakdown-score { justify-content:flex-start; }
.results-table [data-judge-sort$="Rank"] { font-size:.875rem; }

.profile-history-controls { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.profile-history-controls .field { min-width: min(100%, 250px); }
.profile-history-controls select { max-width: 100%; }

/* Standings keep expanded award ledgers inside the surrounding scroll area. */
.standing-breakdown{min-width:12rem;max-width:65rem}.standing-breakdown summary{cursor:pointer;color:var(--ice);padding:.35rem 0}.standing-breakdown[open]{min-width:min(65rem,75vw)}.standing-breakdown .results-table th{max-width:24rem;white-space:normal}.standing-breakdown p{max-width:75ch;white-space:normal}.profile-world-standings{padding:1.25rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:1rem 0}.profile-world-standings .standing-breakdown{max-width:100%}@media(max-width:600px){.standing-breakdown[open]{min-width:75vw}.profile-world-standings .standing-breakdown[open]{min-width:0}}

/* Season contributions read as a sum, with the total visually distinct. */
.standing-window { display:flex; gap:.45rem .7rem; flex-wrap:wrap; align-items:baseline; font-size:.9375rem; color:var(--muted); padding:.8rem 0; }
.standing-window strong { color:var(--text); }
.standing-season-sum { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.1fr); gap:1px; margin:1rem 0; border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; background:var(--line); }
.standing-season-sum>div { display:flex; flex-direction:column; gap:.25rem; padding:.85rem; background:var(--surface); font-variant-numeric:tabular-nums; }
.standing-season-sum strong { font-size:1.5rem; line-height:1.3; }
.standing-season-sum span,.standing-season-sum small { font-size:.875rem; color:var(--muted); }
.standing-season-sum .standing-season-total { background:var(--surface-2); border-left:2px solid var(--ice); }
.standing-season-total strong { color:var(--ice); }
.standing-season-heading th { background:var(--surface-2); color:var(--ice); text-align:left!important; }
.standing-award-excluded td:last-child { color:var(--muted); }
.world-standings-table>thead th { min-width:100px; }
.world-standings-table .standing-season-points { font-variant-numeric:tabular-nums; }
.world-standings-table .standing-breakdown { min-width:145px; }
.world-standings-table .standing-breakdown[open] { min-width:min(750px,80vw); }
.results-validation-log { margin:1.5rem 0 .5rem; padding:.85rem 0; border-top:1px solid var(--line); color:var(--muted); }
.results-validation-log summary { cursor:pointer; font-size:.9375rem; }
.results-validation-log p { max-width:85ch; }
.profile-season-overview { margin:1rem 0 1.5rem; }
.profile-season-overview h3 { font-size:1.35rem; }
.profile-season-bests { margin-top:.9rem; }
.profile-world-standings { margin:1.75rem 0; padding:1.25rem 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.profile-season-group { margin:1rem 0; padding:1rem; border:1px solid var(--line); border-radius:var(--radius-md); }
.profile-season-group>summary { cursor:pointer; font-size:1.1rem; font-weight:700; }
@media(max-width:640px) { .standing-season-sum { grid-template-columns:repeat(2,minmax(0,1fr)); }.standing-season-sum>div { padding:.7rem; }.standing-season-sum strong { font-size:1.3rem; }.profile-season-group { padding:.75rem; } }

.standing-filters { display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr) auto;gap:.8rem;align-items:end;margin:1.25rem 0; }
.standing-filters .field { min-width:0;margin:0; }
.standing-filters :is(input,select,.button) { min-width:0;width:100%;height:46px; }
.standing-filters .field>span { min-height:2.6em;display:flex;align-items:end;line-height:1.3; }
.standing-detail-row[hidden] { display:none!important; }
.world-standings-table>.standing-detail-row>td,.world-standings-table>tbody>.standing-detail-row>td { padding:0;text-align:left; }
.standing-detail-content { min-width:0;max-width:100%;padding:1.25rem;background:var(--surface-soft);border-block:1px solid var(--line-strong); }
.standing-detail-content h3 { margin:.25rem 0;font-size:1.1rem; }
.standing-detail-content p { white-space:normal;max-width:80ch; }
.standing-detail-content .results-table th { white-space:normal; }
.standing-mobile-label { display:none!important; }
@media(max-width:720px) {
 .standing-filters { gap:.5rem;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr) auto; }
 .standing-filters :is(input,select) { padding-inline:.45rem; }
 .standing-filters .button { padding-inline:.65rem; }
 .standing-main-wrap { overflow:visible; }
 .world-standings-table { display:block; }
 .world-standings-table>caption { display:block; }
 .world-standings-table>thead { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
 .world-standings-table>tbody { display:block; }
 .world-standings-table>tbody>.standing-summary-row { display:grid;grid-template-columns:2.4rem minmax(0,1fr) auto;gap:.2rem .5rem;padding:.8rem 0;border-bottom:1px solid var(--line); }
 .world-standings-table>tbody>.standing-summary-row>:is(th,td) { padding:.15rem 0;min-width:0;border:0; }
 .standing-summary-row>.standing-rank { grid-column:1;grid-row:1 / 3;align-self:start;font-size:1.1rem; }
 .standing-summary-row>.standing-name { grid-column:2;grid-row:1;overflow-wrap:anywhere; }
 .standing-summary-row>.standing-country { grid-column:2;grid-row:2;text-align:left; }
 .standing-summary-row>.standing-total { grid-column:3;grid-row:1 / 3;align-self:start; }
 .standing-summary-row>.standing-action { grid-column:2 / 4;grid-row:3;text-align:left; }
 .standing-summary-row>.standing-season-points { display:none; }
 .standing-mobile-label { display:block!important; }
 .world-standings-table>tbody>.standing-detail-row:not([hidden]),.world-standings-table>tbody>.standing-detail-row>td { display:block;min-width:0; }
 .standing-detail-content { padding:.85rem; }
 .standing-detail-content .results-table { min-width:560px; }
}

.score-explanation { margin:1.2rem 0;border:1px solid var(--line-strong);border-radius:var(--radius-md);padding:1rem; }
.score-explanation>summary { cursor:pointer;color:var(--ice);font-weight:700;font-size:1rem;padding:.25rem 0; }
.score-explanation h4 { font-size:1rem;margin:1.1rem 0 .7rem; }
.score-explanation p { max-width:85ch;line-height:1.6; }
.score-build { max-width:850px;margin:1rem 0;font-variant-numeric:tabular-nums; }
.score-build-row { display:grid;grid-template-columns:minmax(120px,1fr) minmax(50px,2fr) 5rem;gap:1rem;align-items:center;min-height:42px;font-size:.9375rem; }
.score-build-row>strong { text-align:right; }
.score-build-track { position:relative;height:15px;background:var(--surface-2);border-radius:3px; }
.score-build-track i { position:absolute;height:100%;border-radius:3px;background:var(--ice); }
.score-build-track i.negative { background:var(--pink); }
.score-build-track i.total { background:var(--green); }
.score-build-total { border-top:1px solid var(--line);font-weight:700;margin-top:.4rem;padding-top:.4rem; }
.score-build-equation { font-variant-numeric:tabular-nums; }
.score-explain-comparison { border-top:1px solid var(--line);padding-top:1rem;margin-top:1.1rem; }
.score-explain-comparison>.field { max-width:600px;margin:0; }
.score-explain-comparison select { width:100%;min-width:0; }
.score-gap { font-size:1.05rem;font-weight:650; }
.score-drivers { list-style:none;padding:0;margin:.5rem 0;max-width:850px; }
.score-drivers li { display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 0;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums; }
.score-drivers li>strong { flex:none; }
.score-drivers small { display:block;margin-top:.25rem;color:var(--muted);font-size:.875rem; }
.score-driver-positive { color:var(--ice); }.score-driver-negative { color:var(--pink); }
.score-driver-total { border-top:1px solid var(--line-strong); }
.score-all-contributors { margin-top:1rem; }.score-all-contributors>summary { cursor:pointer;font-size:.9375rem; }
.score-explain-codes { display:block;white-space:normal;overflow-wrap:anywhere;min-width:110px;color:var(--muted);font-size:.875rem;margin-top:.3rem; }
@media(max-width:640px) { .score-explanation { padding:.8rem; }.score-build-row { grid-template-columns:minmax(95px,1fr) minmax(35px,1fr) 4.2rem;gap:.5rem; }.score-build-row span:first-child { font-size:.875rem; } }
@media print { .protocol-expansion-controls,.protocol-breakdown:not([open]),.judge-comparison:not([open]),.score-explanation:not([open]) { display:none; }.score-explanation { break-inside:avoid; }.score-explain-comparison select { color:#111; } }

/* A sticky identity cell must contain long partnership names as it scrolls. */
.comparison-matrix th:first-child { width:14rem;min-width:11rem;max-width:14rem;overflow:hidden;overflow-wrap:anywhere;white-space:normal; }
.comparison-matrix th:first-child :is(button,strong,small,.country-label) { max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal; }
.comparison-matrix th:first-child .text-button { display:block;width:100%; }

.official-directory-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1rem 0}.official-directory-filters .field,.official-directory-filters select{min-width:0;width:100%}.directory-filter-help{margin:.75rem 0 1.25rem;max-width:85ch}.directory-filter-help summary{cursor:pointer}.directory-filter-help p{line-height:1.6}.result-person-card .directory-certification{font-size:.875rem;line-height:1.5;overflow-wrap:anywhere}.directory-certification small{display:block;color:var(--muted)}
@media(max-width:800px){.official-directory-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.official-directory-filters{grid-template-columns:minmax(0,1fr)}}

/* The race keeps expanded explanations in a full-width row. */
.race-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:end;margin:1.5rem 0}.race-toolbar{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:end}.race-toolbar .field{flex:1;min-width:12rem}.race-table{table-layout:fixed;min-width:640px}.race-table th:nth-child(1){width:7%}.race-table th:nth-child(2){width:29%}.race-table th:nth-child(3){width:18%}.race-table th:nth-child(4){width:21%}.race-table th:nth-child(5){width:25%}.race-table td,.race-table th{white-space:normal;overflow-wrap:anywhere}.race-table small,.updates-feed-list small{display:block}.race-table [hidden]{display:none!important}.race-detail{padding:1.25rem;white-space:normal;text-align:left;font-weight:400;background:var(--surface)}.race-events,.race-ties{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem}.race-events>div,.race-ties>div{border:1px solid var(--line);padding:.75rem;border-radius:10px}.race-events span{display:block}.race-ties dt{font-size:.85rem;color:var(--muted)}.race-ties dd{margin:.35rem 0 0;font-weight:700}.race-detail .field{max-width:25rem}.race-points-track{height:6px;background:var(--line);border-radius:10px;overflow:hidden;margin:.5rem 0}.race-points-track span{display:block;height:100%;background:var(--ice)}.race-cutoff>td,.race-cutoff>th{border-bottom:2px solid var(--ice)}.updates-feed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:1rem}.updates-feed-list,.updates-records{padding-left:1.25rem}.updates-feed-list li,.updates-records li{margin:.65rem 0;overflow-wrap:anywhere}.source-updates .results-validation-log section{padding:1rem 0;border-bottom:1px solid var(--line)}
@media(max-width:600px){.race-controls{gap:.65rem}.race-controls .field span{font-size:.8rem}.race-controls select{padding:.65rem .35rem;font-size:.85rem;min-width:0}.race-detail{padding:.65rem}.race-table{min-width:600px}.race-ties{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:600px){.race-table{min-width:0;width:100%}.race-table thead{display:none}.race-table tbody{display:block}.race-table tbody tr:not([data-race-detail]){display:grid;grid-template-columns:2rem minmax(0,1fr) minmax(0,1fr);gap:.4rem;margin:1rem 0;padding:.65rem;border:1px solid var(--line);border-radius:12px}.race-table tbody tr>*{padding:.35rem!important;border:0;min-width:0}.race-table tbody tr>:nth-child(1){grid-column:1;grid-row:1}.race-table tbody tr>:nth-child(2){grid-column:2/4;grid-row:1}.race-table tbody tr>:nth-child(3){grid-column:2;grid-row:2}.race-table tbody tr>:nth-child(4){grid-column:3;grid-row:2}.race-table tbody tr>:nth-child(5){grid-column:2/4;grid-row:3}.race-table tbody tr>:nth-child(3)::before{content:'Earned points';display:block;font-size:.75rem;color:var(--muted)}.race-table tbody tr>:nth-child(4)::before{content:'Remaining assignments';display:block;font-size:.75rem;color:var(--muted)}.race-table [data-race-detail]:not([hidden]),.race-table [data-race-detail]>td{display:block}.race-events,.race-ties{grid-template-columns:repeat(2,minmax(0,1fr))}}

.protocol-source-notes { border:1px solid var(--line);border-radius:var(--radius-md);padding:.8rem 1rem;margin:1rem 0; }.protocol-source-notes>summary { color:var(--ice);cursor:pointer;font-size:.95rem;font-weight:650; }.protocol-source-notes p,.protocol-source-notes li { line-height:1.6;font-size:.9rem; }.protocol-source-notes li+li { margin-top:.45rem; }.protocol-source-notes a { overflow-wrap:anywhere; }
