#sheet{--comp-line:var(--bike-line,#dde1d9);--comp-muted:var(--bike-muted,#697269)}
.comp-help{font-size:13px;line-height:1.6;color:var(--comp-muted)}
.comp-help{margin:8px 0 16px}
.comp-route{font-size:19px;font-weight:650;line-height:1.5;letter-spacing:.02em;overflow-wrap:anywhere}
#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}
#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-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]{display:none}
.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-copy-input{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--comp-line);border-radius:10px;font:inherit}

.comp-registration-fields {
  min-inline-size: 0;
  margin: 24px 0 0;
  padding: 4px 0 0;
  border: 0;
}
.comp-registration-fields legend {
  margin: 0 0 6px;
  padding: 0;
  font-weight: 700;
}
.comp-registration-fields .field {
  overflow-wrap: anywhere;
}
.comp-registration-fields small {
  margin-inline-start: 4px;
  color: var(--comp-muted);
  font-size: 12px;
  font-weight: 400;
}
.comp-registration-fields .field-hint {
  margin: 0 0 8px;
}
.comp-registration-file input[type="file"] {
  min-height: 46px;
  padding: 7px;
}
.comp-registration-file input::file-selector-button {
  min-height: 32px;
  margin-inline-end: 8px;
  padding-inline: 10px;
  border: 0;
  border-radius: 6px;
  background: var(--bike-soft, #edf1e9);
  color: var(--bike-accent-ink, #173657);
  font: inherit;
  cursor: pointer;
}
.comp-registration-file input::file-selector-button:hover {
  color: var(--bike-ink, #173657);
}
.comp-registration-file .comp-registration-remove {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
}
.comp-registration-remove input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  accent-color: var(--bike-accent);
}
.comp-error [data-comp-action="refresh-card"] {
  display: block;
  margin-top: 8px;
}

.race-banner {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 16px auto;
  color: var(--bike-accent-ink, #844323);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.race-banner span {
  display: block;
  padding: 0 4px 8px;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.race-banner:hover span { text-decoration-thickness: 2px; }

.race-banner img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
