@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#25271f;background:#f7f6f2;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--ink:#25271f;--paper:#f7f6f2;--muted:#77786f;--line:#e7e5dd;--lime:#d5f06b;--accent:#d5f06b}*{box-sizing:border-box}body{margin:0;min-width:320px}.topbar{height:76px;padding:0 max(calc((100vw - 1120px)/2),6%);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-size:14px;font-weight:700;letter-spacing:-.04em}.brand-mark{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:var(--lime);font:800 18px Manrope,sans-serif}.event-chip,.eyebrow,.summary-label{font-size:9px;letter-spacing:.13em;font-weight:700}.event-chip{color:#77786f}.live-dot{display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:#91a846}.button{display:inline-flex;justify-content:center;align-items:center;gap:17px;min-height:40px;padding:0 15px;border:0;border-radius:3px;font:600 11px 'DM Sans',sans-serif;cursor:pointer;transition:transform .18s,opacity .18s}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{opacity:.4;cursor:not-allowed}.button-outline{border:1px solid #d7d6ce;background:transparent;color:var(--ink)}.button-primary{background:var(--ink);color:white}.button-dark{background:var(--ink);color:#fff}.layout{width:min(1120px,88%);margin:0 auto}.intro{min-height:291px;padding:46px 0 34px;display:flex;justify-content:space-between;align-items:center;gap:30px}.eyebrow{margin:0 0 13px;color:#77786f}.intro h1{margin:0;font:500 clamp(46px,6vw,67px)/.98 Manrope,sans-serif;letter-spacing:-.075em}.intro h1 span{color:#8b9c4f}.intro-copy{max-width:355px;margin:17px 0 0;color:var(--muted);font-size:12px;line-height:1.75}.run-art{position:relative;overflow:hidden;width:42%;height:200px;background:#ecebdc}.run-art:before{position:absolute;inset:0;content:"";background:repeating-linear-gradient(0deg,transparent,transparent 31px,rgba(53,59,43,.05) 32px)}.sun{position:absolute;top:24px;right:25%;width:61px;aspect-ratio:1;border-radius:50%;background:#e7b87f;box-shadow:0 0 0 13px rgba(231,184,127,.12),0 0 0 27px rgba(231,184,127,.08)}.route{position:absolute;left:-10%;top:55%;width:120%;height:80%;border:1px solid rgba(46,55,38,.32);border-radius:50%;transform:rotate(-24deg)}.route-two{left:-19%;top:77%;width:139%;height:65%;transform:rotate(-17deg);border-color:rgba(46,55,38,.17)}.art-caption{position:absolute;bottom:13px;left:17px;color:#55564d;font-size:8px;letter-spacing:.12em;font-weight:700}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 21px}.summary-card{position:relative;min-height:112px;padding:15px 18px;background:#efeee8}.summary-highlight{background:#e9edda}.summary-icon{position:absolute;right:16px;top:15px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#f8f7f1;font-size:13px}.summary-label{display:block;color:#74756c;font-size:8px}.summary-card strong{display:block;margin-top:8px;font:600 28px/1 Manrope,sans-serif;letter-spacing:-.05em}.summary-card .cause-word{font-size:22px}.summary-note{display:block;margin-top:6px;color:#77786f;font-size:9px}.workspace{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.7fr);align-items:start;gap:15px}.panel{background:#fff;border:1px solid #efeee9}.register-panel{padding:21px}.runners-panel{padding:21px 20px 13px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.panel-heading .eyebrow{margin-bottom:6px;font-size:8px}.panel-heading h2{margin:0;font:600 20px Manrope,sans-serif;letter-spacing:-.05em}.step-badge{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#f0efe8;color:#77786f;font-size:9px}.register-panel form>label,.form-row label,.settings-field label{display:block;margin:0 0 7px;color:#45463f;font-size:10px;font-weight:600}.required{color:#8b9c4f}.optional{margin-left:5px;color:#888980;font-size:7px;letter-spacing:.08em}.register-panel input,.register-panel select,.settings-field input:not([type=color]):not([type=file]){width:100%;height:39px;padding:0 11px;border:1px solid #e5e4dc;border-radius:2px;background:#fff;color:var(--ink);font:11px 'DM Sans',sans-serif;outline:none}.register-panel input:focus,.register-panel select:focus,.settings-field input:focus{border-color:#8b9c4f;box-shadow:0 0 0 2px rgba(139,156,79,.12)}input::placeholder{color:#a2a29a}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.form-row select,.form-row input{height:38px}.add-button{width:100%;margin-top:18px}.form-message{min-height:15px;margin:8px 0 0;color:#70823d;font-size:10px}.form-message.error{color:#b3453c}.privacy-note{display:flex;gap:8px;margin-top:18px;padding:10px;background:#f5f4ee;color:#77786f}.privacy-note>span{flex:none;color:#858b6e;font-size:12px}.privacy-note p{margin:0;font-size:9px;line-height:1.6}.runners-heading{margin-bottom:15px}.runners-heading h2 span{color:#85867d;font:500 12px 'DM Sans',sans-serif;letter-spacing:0}.runners-heading .button{min-height:35px;white-space:nowrap;font-size:10px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 12px;border-bottom:1px solid #efeee9}.search-box{display:flex;align-items:center;gap:7px;width:min(250px,75%);height:31px;padding:0 9px;border:1px solid #e8e7e0;border-radius:2px;color:#7d7e75}.search-box>span{font-size:17px}.search-box input{width:100%;border:0;outline:0;background:transparent;font:10px 'DM Sans',sans-serif}.visible-count{color:#85867d;font-size:9px;white-space:nowrap}.table-wrap{min-height:182px;overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}thead{height:33px}th{color:#8a8b81;font-size:8px;font-weight:600;letter-spacing:.08em}td{height:44px;border-top:1px solid #f0efe9;font-size:10px}td:last-child{text-align:right}.bib-pill{display:inline-grid;min-width:38px;height:25px;place-items:center;border-radius:2px;background:#f0f1e6;color:#525b35;font:700 11px Manrope,sans-serif;letter-spacing:.06em}.runner-name{font-weight:600}.runner-meta{color:#808178}.print-one{padding:6px 9px;border:1px solid #e3e2db;border-radius:2px;background:transparent;color:#44453d;font:600 9px 'DM Sans',sans-serif;cursor:pointer}.print-one:hover{background:#f4f3ec}.empty-state{display:flex;min-height:148px;align-items:center;justify-content:center;flex-direction:column;color:#888980;text-align:center}.empty-state>span:first-child{color:#a1ac7b;font-size:20px}.empty-state p{margin:7px 0 4px;color:#43443d;font-size:11px;font-weight:600}.empty-state>span:last-child{font-size:9px}.empty-state.is-hidden{display:none}.storage-note{margin:6px 0 0;color:#999a91;font-size:8px}.brand-settings{margin:16px 0 24px;border:1px solid #e8e7e0;background:#fbfaf7}.brand-settings summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 17px;cursor:pointer;list-style:none}.brand-settings summary::-webkit-details-marker{display:none}.brand-settings summary strong,.brand-settings summary small{display:block}.brand-settings summary strong{font-size:11px}.brand-settings summary small{margin-top:4px;color:#7e7f76;font-size:9px}.settings-arrow{color:#77786f}.settings-fields{display:grid;grid-template-columns:1.2fr 1.4fr .7fr 1.2fr auto;align-items:end;gap:12px;padding:0 17px 15px}.settings-field input:not([type=color]):not([type=file]){height:34px}.color-field{display:flex;align-items:center;gap:7px;height:34px;color:#77786f;font-size:9px}.color-field input{width:30px;height:30px;padding:2px;border:1px solid #e5e4dc;background:#fff;cursor:pointer}.logo-field input[type=file]{width:100%;height:30px;font-size:9px}.logo-status{display:block;overflow:hidden;color:#8b8c83;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.save-brand{min-height:34px;padding:0 10px;white-space:nowrap;font-size:9px}.settings-note{margin:0;padding:0 17px 13px;color:#82837a;font-size:9px}.footer{min-height:67px;padding:14px max(calc((100vw - 1120px)/2),6%);display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);color:#818279;font-size:9px}.footer-brand{font-size:12px;color:var(--ink)}.footer-brand .brand-mark{width:24px;height:24px;font-size:15px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#print-area{display:none}
@media(max-width:850px){.layout{width:90%}.topbar{padding:0 5%}.workspace{grid-template-columns:1fr}.register-panel{order:1}.runners-panel{order:2}.register-panel form{display:grid;grid-template-columns:1fr 1fr;column-gap:12px}.register-panel form>label,.register-panel form>#student-name,.form-row,.add-button,.form-message,.privacy-note{grid-column:1/-1}.form-row{margin:13px 0 0}.add-button{margin-top:10px}.privacy-note{margin-top:10px}.settings-fields{grid-template-columns:1fr 1fr}.save-brand{align-self:end;height:34px}}@media(max-width:540px){.topbar{height:65px}.event-chip{display:none}.layout{width:90%}.intro{min-height:0;padding:37px 0 24px}.intro h1{font-size:55px}.intro-copy{max-width:280px;font-size:11px}.run-art{width:38%;height:145px}.sun{width:45px}.summary{gap:7px}.summary-card{min-height:101px;padding:12px 10px}.summary-label{font-size:6px;letter-spacing:.08em}.summary-icon{top:10px;right:9px;width:20px;height:20px;font-size:11px}.summary-card strong{font-size:24px}.summary-card .cause-word{font-size:17px}.summary-note{font-size:8px}.register-panel,.runners-panel{padding:16px 13px}.runners-heading{align-items:flex-start}.panel-heading h2{font-size:18px}.runners-heading .button{padding:0 9px;font-size:9px}.settings-fields{grid-template-columns:1fr}.footer{flex-wrap:wrap;padding:14px 5%}.footer>span:nth-child(2){order:3;width:100%}}
.house-chart{margin-top:20px;padding:18px;background:#f5f4ee}.house-chart h3{margin:0;font:600 16px Manrope,sans-serif}.house-chart-intro,.house-chart-status{margin:6px 0;color:#45463f;font-size:11px;line-height:1.5}.house-chart-status:empty{display:none}.house-chart-list{display:grid;gap:10px;margin:14px 0 0;padding:0;list-style:none}.house-chart-row{display:grid;grid-template-columns:65px minmax(0,1fr) 75px;align-items:center;gap:8px;font-size:11px}.house-chart-label,.house-chart-count{font-weight:600}.house-chart-count{text-align:right}.house-chart-track{height:12px;background:#deded7;border-radius:6px;overflow:hidden}.house-chart-bar{display:block;height:100%;border-radius:6px}.house-chart-paget{background:#288447}.house-chart-audley{background:#e8bc20}.house-chart-stafford{background:#3076c2}.house-chart-ferrers{background:#c94343}.house-chart .button[hidden]{display:none}
@media print{@page{size:A4 portrait;margin:10mm}body{background:white!important}body>*:not(#print-area){display:none!important}#print-area{display:block!important;color:#25271f;font-family:Arial,sans-serif}.bib-sheet{position:relative;width:190mm;height:130mm;margin:0 auto 5mm;padding:10mm 12mm;overflow:hidden;border:1.5mm solid var(--print-accent,#d5f06b);page-break-inside:avoid;break-inside:avoid}.bib-sheet:nth-child(2n){page-break-after:always;break-after:page}.bib-top{display:flex;align-items:center;justify-content:space-between;border-bottom:.4mm solid #ddd;padding-bottom:5mm}.bib-event{display:flex;align-items:center;gap:4mm;font-size:15pt;font-weight:700}.bib-logo{max-width:27mm;max-height:17mm;object-fit:contain}.bib-tagline{color:#686960;font-size:9pt}.bib-label{margin-top:8mm;color:#686960;font-size:10pt;font-weight:700;letter-spacing:3pt}.bib-number{margin:0;color:#25271f;font-size:116pt;line-height:1;font-weight:800;letter-spacing:3pt;text-align:center}.bib-runner{margin-top:2mm;font-size:24pt;font-weight:700;text-align:center}.bib-meta{margin-top:3mm;color:#64655d;font-size:11pt;text-align:center}.bib-bottom{position:absolute;right:12mm;bottom:7mm;left:12mm;display:flex;justify-content:space-between;padding-top:3mm;border-top:.3mm solid #ddd;color:#67685e;font-size:8pt;letter-spacing:.5pt}.bib-accent{position:absolute;top:0;right:0;width:27mm;height:3mm;background:var(--print-accent,#d5f06b)}}
