/* Shared public results and age-group navigation. */
.rp-board{max-width:1240px;margin:1rem auto 3rem;padding:0 clamp(1rem,3vw,2rem);font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;color:#173451}
.rp-board h1{font-size:clamp(1.8rem,4vw,2.7rem);line-height:1.2;color:#075638;margin:.25rem 0 .5rem}.rp-board h2{font-size:1.3rem;line-height:1.3;color:#124785;margin:0 0 .5rem}.rp-board p{margin:.5rem 0}.rp-kicker{font-size:.76rem;font-weight:800;letter-spacing:.12em;color:#087078;text-transform:uppercase}.rp-status,.rp-muted{color:#4b6278}.rp-heading{padding:1rem 0}.rp-age-tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0 1.3rem}.rp-age-tabs button{flex:1 1 80px;min-height:48px;padding:.65rem .8rem;border:2px solid #91b5b2;border-radius:10px;background:#fff;color:#075638;font:750 1rem system-ui;cursor:pointer}.rp-age-tabs button[aria-pressed=true]{background:#075638;color:#fff6a0;border-color:#075638;box-shadow:0 3px 0 #d8b530}.rp-card{padding:clamp(1rem,2.5vw,1.5rem);background:#fff;border:2px solid #aacbd2;border-top:6px solid #168b98;border-radius:14px;margin:1rem 0;box-shadow:0 5px 18px #174d8210}.rp-card select{font:inherit;color:#173451;background:#fff;border:1px solid #86a9bd;border-radius:8px;min-height:44px;padding:.45rem .7rem;margin:.35rem 0 .75rem;max-width:100%}.rp-stage-label{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;font-weight:700}.rp-table{width:100%;border-collapse:collapse;min-width:260px}.rp-table th,.rp-table td{padding:.65rem .6rem;border-bottom:1px solid #d6e4e8;text-align:left;overflow-wrap:anywhere}.rp-table th{background:#e4f2f2;color:#124e59;font-weight:750}.rp-table td:last-child,.rp-table th:last-child{text-align:right;font-weight:800}.rp-scroll{overflow-x:auto}.rp-current{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1rem 0}.rp-current>div{padding:1rem;border:2px solid #87b8bc;border-top:5px solid #168b98;border-radius:12px;background:#edf9f7}.rp-current>div:last-child{background:#fff8df;border-color:#d6b361;border-top-color:#dfac29}.rp-current strong{display:block;color:#124785;font-size:clamp(1.2rem,3vw,1.8rem);line-height:1.2;margin:.4rem 0}.rp-current small{display:block;color:#405b70}.rp-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.rp-actions a,.rp-actions button{font:700 .95rem/1.3 system-ui;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:.65rem .85rem;border:2px solid #1a6581;border-radius:8px;background:#fff;color:#124785;text-decoration:none;cursor:pointer}.rp-actions .rp-primary{background:#075638;color:#fff7a8;border-color:#075638}.rp-empty{padding:1.5rem;border:2px dashed #b3cbd2;border-radius:12px;background:#fff}.rp-note{background:#fff6d6;border-left:5px solid #d5a423;border-radius:8px;padding:.8rem 1rem;white-space:pre-wrap}.rp-races{margin-top:1rem}.rp-races summary{cursor:pointer;min-height:44px;padding:.55rem 0;font-weight:750;color:#124785}.rp-race{padding:.6rem 0;border-top:1px solid #d6e4e8}.rp-race h3{font-size:1rem;margin:.5rem 0}.rp-archive>summary{font-size:1.2rem;cursor:pointer;font-weight:800;color:#075638;padding:.3rem 0}.rp-archive-date{font-size:.9rem;color:#4b6278}.rp-board a:focus-visible,.rp-board button:focus-visible,.rp-board select:focus-visible{outline:3px solid #bd8e00;outline-offset:3px}
/* Shared, larger masthead; use system fonts available on iPad. */
header .logo,.top strong,header>strong{font-family:Georgia,'Times New Roman',serif!important;font-weight:800!important;font-size:clamp(1.7rem,3.6vw,2.9rem)!important;line-height:1.12!important;letter-spacing:-.025em!important;color:#075638!important;white-space:normal!important;overflow-wrap:anywhere}
header .header-count{display:none}.top nav{flex-wrap:wrap}header,.top{background:#ffe34a!important;border-bottom:4px solid #075638!important}header a,.top a{color:#075638}.rp-page{margin:0;background:#f3f8f7;color:#173451;font:16px/1.5 system-ui}.rp-page .top{display:flex;justify-content:space-between;gap:1rem;align-items:center;flex-wrap:wrap;padding:1rem clamp(1rem,4vw,3rem)}.rp-page .top nav{display:flex;gap:1rem;flex-wrap:wrap}.rp-page .top a{font-weight:750}.rp-page footer{text-align:center;color:#4b6278;padding:1rem}
@media(max-width:600px){.rp-current{grid-template-columns:1fr}.rp-age-tabs{gap:.4rem}.rp-age-tabs button{flex:1 1 28%;font-size:.95rem}.rp-board{padding:0 1rem}.rp-table th,.rp-table td{padding:.55rem .35rem}.rp-page .top nav{font-size:.9rem}}
@media print{.rp-age-tabs,.rp-actions,.top nav,.rp-stage-label{display:none!important}.rp-board{max-width:none;padding:0}.rp-card{box-shadow:none;break-inside:avoid}.rp-archive{break-inside:auto}}

.rp-overall{border-color:#78a894;border-top:7px solid #087548;background:linear-gradient(180deg,#f0faf4,#fff 130px)}.rp-overall-table{min-width:610px}.rp-overall-table td:first-child{font-weight:850;color:#075638}.rp-overall-table td:nth-child(4),.rp-overall-table th:nth-child(4){text-align:right;font-weight:800}.rp-overall-table td:last-child,.rp-overall-table th:last-child{text-align:left}.rp-overall .rp-kicker{color:#087548}

.rp-final-controls{margin-top:1rem;padding:1rem;background:#f4f8ee;border:2px solid #9dbd93;border-radius:10px}.rp-final-controls>label{display:block;font-weight:700}.rp-final-controls select{margin:.5rem;max-width:100%;width:auto}.rp-final-controls button{margin:.5rem 0}.rp-final-dialog{color:#173451;border:3px solid #075638;border-radius:14px;padding:1.25rem;max-width:min(950px,94vw);width:94vw;max-height:90vh;overflow:auto;font:16px/1.5 system-ui}.rp-final-dialog::backdrop{background:#102d4c99}.rp-final-dialog h2{color:#075638;font-size:1.5rem}.rp-final-dialog table{min-width:650px}.rp-final-dialog select{min-width:160px;font:inherit;padding:.5rem;width:auto}.rp-confirm{display:flex;gap:.7rem;align-items:start;margin:1rem 0;font-weight:700}.rp-confirm input{width:24px;min-height:24px;flex:none;margin-top:.2rem}.combined-final-open #new-entrant,.combined-final-open #add-entrant,.combined-final-open #score-base{display:none}.combined-final-open .row:has(#new-entrant),.combined-final-open .row:has(#score-base),.combined-final-open .row:has(#score-base)+p{display:none}

#results section{background:#fff;border:1px solid #aac7b7;border-radius:14px;padding:clamp(16px,3vw,28px);margin:18px 0;color:#173c30}#results .choice-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}#results button{font:600 17px/1.4 system-ui;padding:10px 14px;min-height:48px;border:2px solid #126e46;border-radius:9px;background:#126e46;color:white;cursor:pointer}#results button[aria-pressed=true]{background:#fff0a0;color:#16452b;border-color:#16452b;box-shadow:0 0 0 2px #16452b}#results .scroll{overflow-x:auto}#results table{width:100%;border-collapse:collapse;min-width:480px;font:17px/1.5 system-ui}#results th,#results td{padding:12px 10px;text-align:left;border-bottom:1px solid #d5e1d9}#results th{background:#edf5ef}#results summary{cursor:pointer;font-weight:700;padding:12px 0}#results .note{background:#fff4cf;border-left:4px solid #d1a72d;padding:14px}
