.competitions{padding:6px 0 30px;--comp-accent:var(--bike-accent-ink,#49644e);--comp-line:var(--bike-line,#dde1d9);--comp-muted:var(--bike-muted,#697269)}
.comp-heading,.comp-backrow,.comp-card-top,.comp-card-bottom,.comp-post-close{display:flex;align-items:center;justify-content:space-between;gap:12px}
.comp-heading{margin:12px 0 16px;flex-wrap:wrap}.comp-heading h2{font-size:27px;letter-spacing:-.7px;line-height:1.15;margin:8px 0}.comp-heading h3,.comp-heading h4{margin:0}
.comp-heading .button{min-height:42px;padding:11px 15px;font-size:13px}.comp-intro,.comp-help,.comp-footnote{font-size:13px;line-height:1.6;color:var(--comp-muted)}.comp-intro{font-size:15px;margin:0 0 22px}.comp-help{margin:8px 0 16px}.comp-footnote{margin:22px 0}
.comp-segments{display:flex;gap:7px;margin:0 0 22px;flex-wrap:wrap}.comp-segments button{background:transparent;color:var(--comp-muted);border:1px solid var(--comp-line);border-radius:20px;padding:9px 13px;font-size:12px;min-height:40px}.comp-segments button.active{background:var(--comp-accent);border-color:var(--comp-accent);color:white}
.comp-event-grid{display:grid;gap:13px}.comp-event-card{display:block;width:100%;text-align:left;background:white;color:inherit;border:1px solid var(--comp-line);border-radius:20px;padding:20px;box-shadow:0 2px 9px #292c2a05}.comp-event-card:hover{border-color:var(--comp-accent)}.comp-event-card h3{font-size:23px;line-height:1.25;letter-spacing:-.5px;margin:23px 0 10px;overflow-wrap:anywhere}.comp-event-card p{font-size:14px;color:var(--comp-muted);margin:0 0 24px}.comp-card-top time{font-size:11px;color:var(--comp-muted)}.comp-card-bottom{font-size:11px;color:var(--comp-muted);flex-wrap:wrap}.comp-card-bottom>span:last-child{color:var(--comp-accent);font-weight:650}
.comp-badge{display:inline-block;padding:6px 9px;border-radius:7px;background:var(--bike-soft,#e8ede6);color:var(--comp-accent);font-size:11px;font-weight:650;line-height:1.25}.comp-badge.draft{background:#eeefec;color:#6a716a}.comp-badge.running{background:#fff0d1;color:#80531b}.comp-badge.final{background:#e2efdf;color:#3e633d}.comp-badge.cancelled{background:#f8e5df;color:#8f4834}
.comp-cancelled h2{margin:15px 0 12px;font-size:23px}.comp-cancelled p{font-size:14px;line-height:1.6}
.comp-empty{padding:34px 22px;text-align:center}.comp-empty h3{font-size:23px}.comp-empty p{font-size:14px;line-height:1.6;color:var(--comp-muted)}.comp-empty-icon{display:grid;place-items:center;width:58px;height:58px;background:var(--bike-soft,#e8ede6);color:var(--comp-accent);border-radius:18px;margin:auto}.comp-empty-icon svg{width:30px;height:30px}
.comp-account{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;color:var(--comp-muted);margin-top:25px}.comp-account .button{padding:8px;min-height:36px;font-size:12px}.comp-backrow{margin:5px 0 22px}.comp-backrow .button{padding:8px 0;min-height:40px;font-size:12px;border:none;background:none;box-shadow:none}
.comp-title h2{font-size:31px;line-height:1.15;letter-spacing:-.8px;margin:14px 0 12px;overflow-wrap:anywhere}.comp-title p{font-size:14px;color:var(--comp-muted);line-height:1.5;margin:0 0 24px}
.comp-section-tabs{display:flex;gap:22px;overflow:auto;border-bottom:1px solid var(--comp-line);margin:0 -2px 24px;padding:0 2px;scrollbar-width:thin}.comp-section-tabs button{border:none;background:none;white-space:nowrap;color:var(--comp-muted);font-size:14px;padding:12px 0 13px;min-height:46px;border-bottom:2px solid transparent}.comp-section-tabs button.active{color:var(--comp-accent);border-bottom-color:var(--comp-accent);font-weight:650}.comp-section-tabs button span{font-size:11px;padding:3px 6px;border-radius:5px;background:var(--bike-soft,#e8ede6)}
.comp-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));border:1px solid var(--comp-line);background:white;border-radius:17px;padding:19px 7px;margin:0 0 22px}.comp-summary>div{text-align:center;border-left:1px solid var(--comp-line)}.comp-summary>div:first-child{border:0}.comp-summary strong{display:block;font-size:25px;line-height:1.25;letter-spacing:-.5px}.comp-summary span{display:block;font-size:11px;color:var(--comp-muted);margin-top:6px}
.comp-panel{padding:20px;border-radius:18px;margin-bottom:15px}.comp-panel h3{font-size:19px;margin:0 0 15px}.comp-panel h4{font-size:18px;margin:0 0 12px}.comp-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65}.comp-facts{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12px;color:var(--comp-muted);margin:16px 0 0}.comp-route{font-size:19px;font-weight:650;line-height:1.5;letter-spacing:.02em;overflow-wrap:anywhere}.comp-class-grid{display:grid;gap:0}.comp-class-grid .muted{font-size:12px}.comp-actions{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.comp-actions .button{font-size:12px;padding:11px 13px;min-height:42px}
.comp-form .field,.competitions .field,#sheet-body [id^="comp-"] .field{margin-bottom:18px}.comp-form .field label,.competitions .field label,#sheet-body [id^="comp-"] .field label{display:block;font-size:13px;font-weight:550;line-height:1.5;margin-bottom:7px}.comp-form select,.competitions select,#sheet-body [id^="comp-"] select{width:100%;min-height:46px;font:inherit;font-size:14px;color:inherit;border:1px solid var(--comp-line,#dde1d9);border-radius:11px;padding:11px;background:white}.comp-form textarea,#sheet-body [id^="comp-"] textarea{width:100%;resize:vertical;font:inherit;font-size:14px;line-height:1.5;border:1px solid var(--comp-line,#dde1d9);border-radius:11px;padding:12px;background:white;color:inherit}.comp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 13px}.comp-form-grid>*{min-width:0}.comp-form input,.competitions input{min-width:0}.comp-form .field input,.competitions .field input{width:100%}.comp-error,.comp-form-error{background:#fff0e8;color:#8b3d28;border:1px solid #efd1c4;border-radius:13px;font-size:14px;line-height:1.55;padding:14px 16px;margin-bottom:16px}.comp-error[hidden],.comp-form-error[hidden]{display:none}
.comp-check{display:flex;align-items:flex-start;gap:11px;padding:12px 0;font-size:14px;line-height:1.5;cursor:pointer}.comp-check input{width:19px;height:19px;flex:0 0 19px;accent-color:var(--bike-accent-ink,#49644e);margin:1px 0 0}.comp-check small{display:block;font-size:12px;color:var(--comp-muted,#697269);margin-top:3px}.comp-roster-select{max-height:45vh;overflow:auto;border-top:1px solid var(--comp-line,#dde1d9);margin:6px 0 20px}
.comp-entry-list{display:grid;gap:10px;margin:10px 0 20px}.comp-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border-radius:15px}.comp-entry[hidden]{display:none}.comp-entry h4{font-size:16px;margin:8px 0 6px}.comp-entry p{font-size:12px;line-height:1.5;margin:4px 0;color:var(--comp-muted)}.comp-entry .button{font-size:11px;padding:9px;min-height:38px}.comp-bib{font-size:11px;font-weight:650;color:var(--comp-accent)}.comp-line-time{font-size:23px;letter-spacing:-.5px;font-weight:650}.comp-line-roster{display:grid;gap:7px;font-size:12px;color:var(--comp-muted);line-height:1.5;max-height:220px;overflow:auto}.comp-mark-preview{min-height:24px;font-size:15px;font-weight:600;line-height:1.5}.comp-record{font-size:19px;min-height:60px!important}.comp-mark-list{margin-bottom:24px}.comp-mark{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--comp-line)}.comp-mark strong{display:block;font-size:14px}.comp-mark span,.comp-mark small{display:block;font-size:12px;color:var(--comp-muted);line-height:1.5;margin-top:5px}.comp-mark .button{font-size:11px;padding:8px;min-height:38px}.comp-mark.void{opacity:.55}.comp-mark.void strong{text-decoration:line-through}.comp-post-close{padding:12px 0;font-size:14px;border-bottom:1px solid var(--comp-line)}.comp-post-close:last-child{border:none}.comp-post-close .button{font-size:11px;min-height:38px;padding:8px}
.comp-queue-summary{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:14px;background:var(--bike-soft,#e8ede6);border-radius:12px;font-size:12px}.comp-pending{display:flex;justify-content:space-between;gap:10px;font-size:12px;padding:12px 0;border-bottom:1px solid var(--comp-line)}.comp-pending small{display:block;color:#93613a;margin-top:4px}.comp-pending .button{font-size:11px;padding:8px;min-height:36px}.comp-file-label{position:relative;overflow:hidden;cursor:pointer}.comp-file-label input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.comp-table-wrap{overflow:auto;margin:20px 0;border:1px solid var(--comp-line);border-radius:15px;background:white}.comp-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.comp-table th{text-align:left;font-weight:550;color:var(--comp-muted);background:var(--bike-soft,#edf1e9);padding:13px 12px}.comp-table td{padding:16px 12px;border-top:1px solid var(--comp-line)}.comp-table td:nth-child(2){white-space:normal;min-width:180px}.comp-table td small{display:block;font-size:11px;line-height:1.6;color:var(--comp-muted);margin-top:5px}.comp-table .text-button{font-size:12px}.comp-detail-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--comp-line,#dde1d9);padding:12px 0;font-size:13px}.comp-detail-row>span{flex:1;min-width:130px}.comp-detail-row small{display:block;font-size:11px;color:var(--comp-muted,#697269);line-height:1.5;margin-top:5px}.comp-detail-row .button{font-size:11px;padding:8px;min-height:36px}.comp-audit{border-bottom:1px solid var(--comp-line);padding:12px 0;font-size:12px;line-height:1.6}.comp-audit summary{cursor:pointer}.comp-audit p{font-size:12px;color:var(--comp-muted)}.comp-audit pre{white-space:pre-wrap;font-size:11px;overflow-wrap:anywhere}
.personal-race-tabs{overflow-x:auto;gap:13px;justify-content:space-between}.personal-race-tabs button{flex:0 0 auto;font-size:12px}.personal-race-tabs button[aria-pressed="false"]{font-weight:500}
@media(min-width:700px){.comp-event-grid,.comp-class-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.comp-class-grid .comp-panel{margin:0}.comp-form{max-width:740px}.comp-heading h2{font-size:32px}.comp-title h2{font-size:36px}.personal-race-tabs{justify-content:flex-start;gap:27px}.personal-race-tabs button{font-size:14px}.comp-entry-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:370px){.comp-form-grid{grid-template-columns:1fr}.personal-race-tabs{gap:10px}.personal-race-tabs button{font-size:11px}.comp-card-top{align-items:flex-start;flex-wrap:wrap}}

.comp-status-panel form{max-width:560px}.comp-status-panel .field{margin-bottom:8px}.comp-status-panel .comp-status-note{margin:18px 0 0;padding-top:15px;border-top:1px solid var(--comp-line);font-size:12px}.comp-status-panel strong{color:var(--bike-ink,#292c2a)}

.comp-settings-tabs{gap:12px;margin-bottom:16px}
.comp-settings-tabs button{flex:0 0 auto!important;min-width:max-content;padding:10px 14px!important}
[data-comp-settings-panel][hidden],#comp-settings-save[hidden],#comp-settings-next[hidden]{display:none!important}
[data-comp-settings-panel]:focus{outline:none}
.comp-settings-navigation{max-width:740px;margin:24px 0 8px}
.comp-draft-saving{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px;font-size:12px;line-height:1.5;color:var(--comp-muted)}
.comp-draft-saving [hidden]{display:none!important}

.comp-marks-tabs [role="tab"]{flex:1 1 0;min-width:0;white-space:normal;text-align:center;padding:10px 12px}
[data-comp-marks-panel][hidden]{display:none!important}

.comp-overview-tabs [role="tab"]{flex:1 1 0;min-width:0;text-align:center}
[data-comp-overview-panel][hidden]{display:none!important}
.comp-overview-tabs .comp-checklist-tab-count{display:inline-block;margin-left:5px;font-size:11px;padding:2px 6px}
.comp-checklist-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px;border:1px solid var(--comp-line);border-radius:18px;background:var(--bike-soft,#e9ece6);margin:0 0 18px}
.comp-checklist-summary h2{font-size:23px;line-height:1.25;letter-spacing:-.4px;margin:8px 0 10px}
.comp-checklist-summary p{font-size:13px;line-height:1.6;color:var(--comp-muted);margin:0;max-width:430px}
.comp-checklist-progress{flex:0 0 135px;display:grid;gap:5px;min-width:0}
.comp-checklist-progress strong{font-size:34px;line-height:1.2;font-variant-numeric:tabular-nums}
.comp-checklist-progress strong span{font-size:17px;font-weight:500;color:var(--comp-muted)}
.comp-checklist-progress>span{font-size:12px;color:var(--comp-muted)}
.comp-checklist-progress progress{width:100%;height:7px;margin-top:6px;accent-color:var(--comp-accent);border:0;border-radius:8px;overflow:hidden}
.comp-checklist-progress progress::-webkit-progress-bar{background:var(--comp-line);border-radius:8px}
.comp-checklist-progress progress::-webkit-progress-value{background:var(--comp-accent);border-radius:8px}
.comp-checklist-phase{padding:20px 0 0;overflow:hidden}
.comp-checklist-phase.is-current{border-color:var(--comp-accent)}
.comp-checklist-current-status{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:13px;color:var(--comp-muted);font-size:12px}
.comp-checklist-status-link{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:7px 10px;border:1px solid var(--comp-line);border-radius:8px;background:white;color:var(--comp-accent);font:inherit;font-weight:600;cursor:pointer}
.comp-checklist-status-link svg{width:14px;height:14px}
.comp-checklist-phase-statuses{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:10px 0 11px}
.comp-checklist-phase-status{font-size:10px;line-height:1.4;padding:4px 7px;border-radius:6px;background:var(--bike-soft,#e9ece6);color:var(--comp-muted)}
.comp-checklist-phase-status.is-current{background:var(--comp-accent);color:white;font-weight:600}
.comp-checklist-status-arrow{font-size:12px;color:var(--comp-muted)}
.comp-checklist-kind{display:inline-block;vertical-align:middle;font-size:9px;line-height:1.4;font-weight:500;letter-spacing:.02em;border:1px solid var(--comp-line);border-radius:4px;padding:2px 5px;margin-left:8px;color:var(--comp-muted)}
.comp-checklist-phase-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:0 20px 17px}
.comp-checklist-phase-heading h3{margin-bottom:5px}
.comp-checklist-phase-heading p{font-size:12px;line-height:1.5;color:var(--comp-muted);margin:0}
.comp-checklist-phase-heading>span{flex:0 0 auto;font-size:12px;color:var(--comp-muted);padding-top:4px}
.comp-checklist-item{display:flex;align-items:center;gap:13px;text-align:left;width:100%;padding:17px 20px;background:transparent;color:inherit;border:0;border-top:1px solid var(--comp-line);cursor:pointer}
.comp-checklist-item:hover{background:var(--bike-soft,#e9ece6)}
.comp-checklist-check{flex:0 0 30px;display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--comp-line);border-radius:50%;color:var(--comp-muted);font-size:12px;font-weight:650}
.comp-checklist-item.is-complete .comp-checklist-check{background:var(--comp-accent);border-color:var(--comp-accent);color:white;font-size:17px}
.comp-checklist-copy{flex:1;min-width:0;display:grid;gap:5px}
.comp-checklist-copy strong{font-size:14px;line-height:1.35}
.comp-checklist-copy>span{font-size:12px;line-height:1.5;color:var(--comp-muted)}
.comp-checklist-arrow{flex:0 0 18px;color:var(--comp-muted)}
.comp-checklist-arrow svg{width:18px;height:18px}
.comp-classes-empty{grid-column:1/-1}
.comp-classes-empty p{font-size:14px;line-height:1.6;color:var(--comp-muted);margin:0 0 16px}
@media(max-width:480px){.comp-checklist-summary{align-items:flex-start;gap:14px;padding:18px;flex-wrap:wrap}.comp-checklist-summary h2{font-size:21px}.comp-checklist-progress{flex:1 1 100%;grid-template-columns:auto 1fr;align-items:center;gap:4px 12px}.comp-checklist-progress strong{font-size:28px}.comp-checklist-progress progress{grid-column:1/-1}.comp-checklist-item{padding:16px;gap:10px}}

.comp-staff h4{margin:24px 0 4px;font-size:1rem}
.comp-staff-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 0;border-bottom:1px solid var(--comp-line,#dde1d9)}
.comp-staff-row>div:first-child{flex:1 1 11rem;min-width:0;overflow-wrap:anywhere}
.comp-staff-row strong,.comp-staff-row small{display:block}
.comp-staff-row small{margin-top:4px;color:var(--comp-muted,#697269);font-size:.875rem}
.comp-staff-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.comp-staff-actions .button{min-height:44px;font-size:.875rem}
.comp-staff-posts{min-width:0;margin:8px 0 20px;padding:0;border:0}
.comp-staff-posts legend{margin-bottom:4px;font-weight:600}
.comp-invite-details{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:18px 0 24px}
.comp-invite-details dt{color:var(--comp-muted,#697269)}
.comp-invite-details dd{margin:0;overflow-wrap:anywhere;font-weight:600}
