@font-face {
  font-family:Barlow;
  src:url('/assets/barlow-condensed-semibold.woff2') format('woff2');
  font-weight:600;
  font-style:normal;
  font-display:swap}

:root {
  font-family:'Segoe UI',system-ui,-apple-system,sans-serif;
  color:#143648;
  line-height:1.5;
  font-synthesis:none;
  --blue:#0073a5;
  --blue-dark:#005b83;
  --yellow:#ffdc00;
  --ink:#143648;
  --muted:#516b79;
  --line:#d5e1e7;
  --ground:#f1f6f8;
  --white:#fff;
  accent-color:var(--blue);
  scrollbar-color:#87a9b8 #eaf1f4;
  caret-color:var(--blue);
  font-variant-numeric:tabular-nums}

* {
  box-sizing:border-box}
html {
  scroll-behavior:smooth;
  background:transparent;
  scroll-padding-top:2rem}
body {
  margin:0;
  background:var(--ground)}
::selection {
  background:var(--yellow);
  color:var(--ink)}
button,input,select,textarea {
  font:inherit}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent}
a {
  color:var(--blue-dark);
  text-underline-offset:4px}
a:hover {
  text-decoration-thickness:2px}
button {
  cursor:pointer}
button:disabled {
  cursor:not-allowed;
  opacity:.45}
input,select,textarea {
  width:100%;
  min-height:48px;
  padding:10px 13px;
  border:1px solid #a1b6c1;
  border-radius:7px;
  background:white;
  color:var(--ink)}
input::placeholder,textarea::placeholder {
  color:#627986;
  opacity:1}
textarea {
  resize:vertical}
label {
  display:grid;
  gap:7px;
  font-weight:600;
  font-size:.92rem}
input[type=checkbox] {
  width:22px;
  height:22px;
  min-height:22px;
  margin:0;
  flex-shrink:0}
input[type=file] {
  padding:12px;
  background:var(--ground)}
input::file-selector-button {
  border:0;
  border-radius:4px;
  background:#d7e8f0;
  color:var(--ink);
  padding:8px 14px;
  margin-right:12px;
  font-weight:600;
  cursor:pointer}
input:focus,select:focus,textarea:focus {
  border-color:var(--blue)}
:focus-visible {
  outline:3px solid #b06100;
  outline-offset:4px}
h1,h2,h3,p {
  margin:0}
h1,h2,h3 {
  text-wrap:balance}
h1,h2 {
  line-height:1.12;
  letter-spacing:-.025em}
h1 {
  font-size:2.5rem}
h2 {
  font-size:1.45rem}
h3 {
  font-size:1.15rem}
p {
  max-width:72ch}
small {
  font-size:.8rem}
.button {
  min-height:48px;
  padding:11px 18px;
  border:0;
  border-radius:7px;
  font-weight:650;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  line-height:1.3;
  white-space:normal;
  transition:background 120ms}
.button.primary {
  background:var(--blue);
  color:white}
.button.primary:hover {
  background:var(--blue-dark)}
.button.yellow {
  background:var(--yellow);
  color:var(--ink)}
.button.yellow:hover {
  background:#ffe952}
.button.subtle {
  background:#e5eef3;
  color:#234f65}
.button.subtle:hover {
  background:#d3e4ec}
.button.small {
  min-height:42px;
  padding:9px 14px;
  font-size:.88rem}
.button svg {
  flex-shrink:0}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--blue);
  text-decoration:none;
  line-height:1.1;
  font-size:1rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:600;
  flex-shrink:0}
.brand strong {
  font-size:1.28em;
  letter-spacing:.03em}
.crest {
  display:block;
  width:48px;
  height:58px;
  position:relative;
  overflow:hidden;
  flex-shrink:0;
  background:white}
.crest img {
  position:absolute;
  width:103px;
  height:103px;
  max-width:none;
  left:-28px;
  top:-22px}
.site-header {
  max-width:1280px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:112px;
  padding:24px 48px;
  background:white}
.site-header nav {
  display:flex;
  gap:36px}
.site-header nav a {
  font-weight:600;
  text-decoration:none}
.quiet-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
  text-decoration:none;
  font-weight:600}
.site-header:before {
  content:'';
  position:absolute;
  inset:0 0 auto;
  height:112px;
  background:white;
  z-index:-1}
.landing-intro {
  background:var(--blue);
  color:white;
  display:grid;
  grid-template-columns:1.35fr 1fr;
  align-items:center;
  gap:48px;
  padding:72px max(48px,calc((100vw - 1184px)/2));
  min-height:490px}
.landing-intro h1 {
  font-family:Barlow,'Segoe UI',sans-serif;
  font-size:clamp(3.3rem,6.5vw,6rem);
  font-weight:600;
  line-height:.99;
  letter-spacing:-.015em}
.landing-intro h1 span {
  color:var(--yellow)}
.landing-intro p {
  margin:26px 0 28px;
  color:#edf8ff;
  font-size:1.15rem;
  line-height:1.6}
.club-emblem {
  width:100%;
  max-width:340px;
  aspect-ratio:1;
  margin-left:auto;
  overflow:hidden;
  position:relative;
  background:white;
  border-radius:50%}
.club-emblem img {
  position:absolute;
  width:200%;
  height:200%;
  max-width:none;
  left:-50%;
  top:-50%}
.race-program {
  max-width:1280px;
  margin:auto;
  padding:64px 48px}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px}
.section-heading>span {
  font-size:.95rem;
  color:var(--muted)}
.race-program h2 {
  font-size:2rem}
.event-row {
  display:grid;
  grid-template-columns:84px 1fr 112px;
  gap:32px;
  align-items:center;
  padding:30px 0;
  border-bottom:1px solid var(--line)}
.event-row:first-child {
  border-top:1px solid var(--line)}
.event-date {
  display:flex;
  flex-direction:column;
  align-items:center;
  line-height:1.1;
  color:var(--blue)}
.event-date strong {
  font-family:Barlow,sans-serif;
  font-size:3.6rem;
  font-weight:600}
.event-date span {
  font-size:.85rem;
  margin-top:8px}
.event-main h3 {
  font-size:1.6rem;
  letter-spacing:-.025em}
.event-main>p {
  color:var(--muted);
  margin-top:7px}
.event-main details {
  margin-top:12px}
.event-main details p {
  white-space:pre-wrap;
  margin-top:12px}
.event-main summary {
  font-size:.9rem;
  color:var(--blue);
  cursor:pointer}
.event-time {
  font-size:2rem;
  font-weight:650;
  color:var(--blue);
  text-align:right;
  line-height:1.1}
.event-time small {
  display:block;
  font-size:.85rem;
  margin-top:9px;
  font-weight:400;
  color:var(--muted)}
.stream-section {
  max-width:1184px;
  margin:0 auto 64px;
  padding:40px;
  background:#e1edf3;
  display:flex;
  gap:36px;
  align-items:center;
  border-radius:14px}
.stream-symbol {
  width:100px;
  color:var(--blue);
  flex-shrink:0}
.stream-symbol svg {
  display:block;
  width:100%}
.stream-section h2 {
  font-size:2rem}
.stream-section p {
  margin:16px 0 20px;
  color:#365c70}
.tag {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:28px;
  padding:4px 10px;
  border-radius:5px;
  font-size:.78rem;
  font-weight:650;
  background:#d9f0e6;
  color:#19543d;
  line-height:1.5;
  white-space:nowrap}
.tag.neutral {
  background:#e5edf1;
  color:#426273}
.tag.warning {
  background:#fff0bc;
  color:#695000}
.stream-section .tag {
  background:#ccdee7;
  color:#33576b}
.archive-section {
  max-width:1184px;
  margin:0 auto 64px}
.archive-section>summary {
  cursor:pointer;
  color:var(--blue-dark);
  font-weight:600;
  padding:14px 0}
.archive-section>div>p {
  padding-top:20px;
  color:var(--muted)}
.site-footer {
  border-top:1px solid var(--line);
  max-width:1280px;
  margin:auto;
  padding:28px 48px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font-size:.85rem}
.login-shell {
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:white}
.login-shell>header {
  padding:30px 5%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px}
.login-shell>header>a:last-child {
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  font-size:.9rem}
.login-main {
  flex:1;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch}
.login-copy {
  background:var(--blue);
  color:white;
  padding:80px 12%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:550px}
.login-copy h1 {
  font-family:Barlow,sans-serif;
  color:var(--yellow);
  font-size:clamp(3.5rem,6vw,5.8rem);
  line-height:1}
.login-copy p {
  margin-top:32px;
  font-size:1.2rem;
  line-height:1.8;
  color:#eefaff}
.login-panel {
  align-self:center;
  max-width:460px;
  width:100%;
  margin:64px auto;
  padding:0 32px}
.login-panel h2 {
  font-size:2rem}
.login-panel>p {
  color:var(--muted);
  margin:16px 0 32px}
.login-panel form {
  display:grid;
  gap:12px}
.login-panel button {
  margin-top:12px;
  width:100%}
.login-panel .muted {
  font-size:.88rem;
  margin:24px 0}
.login-shell .site-footer {
  max-width:none;
  width:100%}
.admin-shell {
  min-height:100vh;
  display:flex;
  flex-direction:column}
.admin-header {
  display:flex;
  align-items:center;
  gap:30px;
  min-height:98px;
  background:white;
  padding:20px 36px;
  border-bottom:1px solid var(--line)}
.admin-header .brand {
  padding-right:30px;
  border-right:1px solid var(--line)}
.admin-title {
  font-weight:650;
  color:var(--muted)}
.header-actions {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:25px}
.header-actions>a {
  display:flex;
  align-items:center;
  gap:6px;
  text-decoration:none;
  font-size:.9rem;
  font-weight:600}
.admin-body {
  display:grid;
  grid-template-columns:226px minmax(0,1fr);
  flex:1}
.admin-sidebar {
  background:#e3edf2;
  padding:32px 18px;
  display:flex;
  flex-direction:column;
  gap:48px}
.admin-sidebar nav {
  display:grid;
  gap:8px}
.nav-item {
  border:0;
  background:transparent;
  min-height:50px;
  text-align:left;
  padding:12px 16px;
  border-radius:7px;
  color:#36596c;
  font-weight:650}
.nav-item:hover {
  background:#d4e4ec}
.nav-item.active {
  background:var(--blue);
  color:white}
.sidebar-note {
  padding:0 16px;
  color:#4f6c7c;
  font-size:.8rem;
  margin-top:auto;
  overflow-wrap:anywhere}
.sidebar-note strong {
  color:#20495e}
.sidebar-note p {
  margin:6px 0}
.sidebar-note small {
  font-size:.72rem;
  line-height:1.7;
  display:block}
.admin-content {
  padding:36px;
  max-width:1550px;
  width:100%;
  margin:0 auto;
  min-width:0}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:30px}
.page-heading h1 {
  font-size:2.2rem}
.page-heading p {
  color:var(--muted);
  margin-top:10px;
  font-size:.95rem}
.race-selector {
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:28px}
.race-selector>label {
  font-size:.85rem;
  flex-shrink:0}
.race-selector>select {
  max-width:540px}
.notice {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 24px;
  background:#dcecf4;
  border-radius:9px;
  margin-bottom:24px;
  color:#234e65}
.notice p {
  margin:0}
.test-notice {
  background:#fff5cc;
  color:#665109;
  padding:12px 16px;
  font-size:.88rem;
  border-radius:7px;
  margin-bottom:22px}
.control-grid {
  display:grid;
  grid-template-columns:1.15fr 1fr;
  align-items:start;
  gap:24px;
  margin-bottom:42px}
.starter-panel,.preview-panel,.import-panel,.season-panel,#race-editor {
  background:white;
  padding:26px;
  border-radius:14px;
  min-width:0}
.panel-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:26px}
.panel-heading h2 {
  font-size:1.16rem}
.panel-heading>span:not(.tag) {
  font-size:.8rem;
  color:var(--muted)}
.starter-identity {
  display:flex;
  align-items:center;
  gap:24px;
  min-height:125px;
  margin:10px 0 22px}
.number-tile {
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--yellow);
  color:var(--ink);
  font-family:Barlow,sans-serif;
  font-size:4rem;
  font-weight:600;
  width:110px;
  min-height:120px;
  border-radius:8px;
  flex-shrink:0}
.starter-identity h3 {
  font-size:clamp(1.5rem,2.3vw,2.4rem);
  line-height:1.13;
  letter-spacing:-.025em;
  overflow-wrap:anywhere}
.starter-identity p {
  color:var(--muted);
  margin-top:10px}
.starter-empty {
  min-height:195px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
  padding:20px 0}
.starter-empty strong {
  font-size:1.25rem}
.starter-empty p {
  color:var(--muted);
  font-size:.92rem}
.step-actions {
  display:grid;
  grid-template-columns:1fr 1.35fr;
  gap:12px}
.step-actions .button {
  padding:15px 10px;
  min-height:60px}
.show-button {width:100%;margin-top:12px;min-height:60px}
.pause-button {background:var(--yellow);color:var(--ink)}
.pause-button:hover {background:#eed000}
.control-connection {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;position:sticky;top:12px;z-index:5;padding:12px 16px;margin-bottom:16px;border:1px solid var(--line);border-radius:7px;color:#19543d;background:#d9f0e6;font-weight:600;font-size:.9rem}
.control-connection>span {flex:1 1 180px}
.control-connection .button {min-height:56px;flex-shrink:0}
.starter-panel .panel-heading {margin-bottom:16px}
.admin-content button,.admin-content input,.admin-content select {scroll-margin-top:150px}
.connection-warning {background:#fff0bc;color:#695000;border-color:#dcc77b}
.next-starter {border-top:1px solid var(--line);padding-top:16px;margin-bottom:20px}
.next-starter h3 {font-size:1rem;margin-bottom:10px}
.next-starter h3 span {font-size:.8rem;font-weight:400;color:var(--muted);margin-left:8px}
.next-starter p {overflow-wrap:anywhere}
.next-starter p:has(.next-bib) {display:flex;align-items:baseline;gap:12px;margin-bottom:4px}
.next-bib {font-variant-numeric:tabular-nums;font-size:1.3rem;min-width:2ch;color:var(--blue)}
.category-change {background:#fff0bc;color:#695000;border-radius:7px;padding:12px;margin-bottom:16px;font-size:.85rem;line-height:1.5}
.output-summary {min-height:3em;margin:-8px 0 18px;font-size:.95rem;line-height:1.5;overflow-wrap:anywhere}
#banner-preview.unconfirmed {opacity:.45}
.list-hint {margin:-6px 0 16px}
.muted {
  color:var(--muted);
  font-size:.85rem;
  line-height:1.6}
.starter-panel>.muted {
  margin-top:16px}
.preview-panel>.muted {
  margin:16px 0 22px}
.obs-guide {
  padding-top:22px;
  border-top:1px solid var(--line);
  font-size:.87rem}
.obs-guide summary {cursor:pointer;min-height:44px;line-height:1.5}
.obs-guide p {
  color:var(--muted);
  margin-top:8px;
  line-height:1.8;
  overflow-wrap:anywhere}
.broadcast-frame {
  width:100%;
  height:100%;
  aspect-ratio:16/9;
  position:relative;
  container-type:inline-size;
  overflow:hidden}
.preview-frame {
  height:auto;
  background-color:#d4dfe4;
  background-image:conic-gradient(#eef3f6 25%,transparent 0 50%,#eef3f6 0 75%,transparent 0);
  background-size:24px 24px;
  border-radius:8px}
.lower-third {
  position:absolute;
  left:5%;
  right:5%;
  bottom:8%;
  height:16%;
  background:var(--blue);
  color:white;
  display:flex;
  align-items:stretch;
  opacity:0;
  transform:translateY(18%);
  transition:opacity 220ms ease-out,transform 220ms cubic-bezier(.16,1,.3,1);
  overflow:visible;
  pointer-events:none}
.lower-third.is-visible {
  opacity:1;
  transform:translateY(0)}
.bib-block {
  background:var(--yellow);
  color:var(--ink);
  width:12%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  flex-shrink:0}
.bib-block>span {
  font-size:1cqw;
  text-transform:uppercase;
  line-height:1.1;
  font-weight:650}
.bib-block>strong {
  font-family:Barlow,sans-serif;
  font-size:5cqw;
  line-height:1;
  font-weight:600}
.athlete {
  padding:0 2.5%;
  display:flex;
  flex:1;
  min-width:0;
  justify-content:center;
  flex-direction:column;
  gap:.3cqw;
  overflow:hidden}
.athlete>strong {
  font-family:Barlow,sans-serif;
  font-size:3.2cqw;
  line-height:1.08;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis}
.athlete>span {
  font-size:1.3cqw;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#f0faff}
.broadcast-brand {
  width:19%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1cqw;
  background:white;
  color:var(--blue);
  flex-shrink:0}
.broadcast-brand .crest {
  width:3.8cqw;
  height:4.8cqw}
.broadcast-brand .crest img {
  width:8.1cqw;
  height:8.1cqw;
  left:-2.15cqw;
  top:-1.7cqw}
.broadcast-brand>span {
  font-size:1.15cqw;
  text-transform:uppercase;
  font-weight:750;
  line-height:1.15}
.test-ribbon {
  position:absolute;
  right:0;
  bottom:100%;
  padding:.3cqw .7cqw;
  background:var(--yellow);
  color:var(--ink);
  font-size:1cqw;
  font-weight:750}
.banner-document {
  background:transparent!important;
  height:100%;
  overflow:hidden}
.banner-page {
  background:transparent!important;
  width:100vw;
  height:100vh;
  overflow:hidden}
.banner-page #app {
  width:min(100vw,177.7778vh);
  height:min(100vh,56.25vw);
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%)}
.banner-page noscript {
  display:none}
.startlist-section {
  min-width:0}
.startlist-section .section-heading h2 {
  display:flex;
  align-items:center;
  gap:12px}
.count {
  color:var(--muted);
  font-weight:400;
  font-size:1rem}
.list-filters {
  display:flex;
  gap:16px;
  align-items:flex-end;
  margin:0 0 20px}
.list-filters>label:first-child {
  flex:1;
  max-width:400px}
.list-filters>label:last-child {
  width:240px}
.list-filters label {
  font-size:.82rem;
  color:var(--muted)}
.table-wrap {
  overflow-x:auto;
  background:white;
  border-radius:10px;
  width:100%;
  overscroll-behavior-x:contain}
table {
  width:100%;
  border-collapse:collapse;
  font-size:.9rem;
  text-align:left}
th,td {
  padding:14px 16px;
  border-bottom:1px solid #e4ecf0;
  white-space:nowrap}
th {
  font-size:.78rem;
  font-weight:650;
  color:#526c7a;
  background:#e6eef2}
tr:last-child td {
  border-bottom:0}
.selected-row {
  background:#e1f1f8}
.bib-cell {
  font-weight:750;
  color:var(--blue);
  font-size:1.1rem}
.empty {
  padding:28px 22px!important;
  color:var(--muted);
  white-space:normal}
.edit-grid {
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:24px;
  align-items:start}
.edit-form {
  display:grid;
  gap:20px}
.edit-form h2 {
  margin-bottom:5px}
.checkbox-label {
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:500;
  min-height:44px}
.form-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:4px}
.field-hint {
  font-size:.8rem;
  color:var(--muted);
  margin-top:-8px}
.season-panel h2 {
  margin-bottom:24px}
.season-form {
  display:flex;
  align-items:flex-end;
  gap:12px;
  margin-bottom:24px}
.season-form label {
  flex:1;
  min-width:0}
.new-season {
  display:grid;
  border-top:1px solid var(--line);
  padding-top:24px;
  margin-top:16px}
.new-season button {
  justify-self:start}
.import-panel {
  max-width:1050px}
.import-panel>p {
  color:var(--muted);
  margin:16px 0 26px}
.import-panel form {
  display:grid;
  gap:18px;
  margin-bottom:24px}
.import-panel form>button {
  justify-self:start}
.import-panel input[type=file] {
  max-width:620px}
.sample-links {
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  padding:20px 0;
  font-size:.9rem}
.mapping-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px}
#import-workspace h3 {
  font-size:1.35rem;
  margin:32px 0 14px}
#import-workspace p {
  margin-bottom:20px;
  color:var(--muted)}
#import-workspace .table-wrap {
  border:1px solid var(--line)}
#commit-form {
  margin-top:24px}
.replace-warning {
  background:#fff3d1;
  padding:20px;
  border-radius:8px;
  color:#674a07}
.replace-warning p {
  color:inherit!important;
  margin:10px 0 18px}
.admin-footer {
  background:white;
  border-top:1px solid var(--line);
  padding:15px 36px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:.78rem;
  color:var(--muted)}
.offline {
  color:#973600}
.feedback {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  max-width:min(680px,calc(100vw - 32px));
  padding:16px 22px;
  background:#143648;
  color:white;
  border-radius:9px;
  z-index:50;
  box-shadow:0 8px 28px #00000024;
  font-size:.92rem}
.feedback.error {
  background:#82301c}
.feedback[hidden] {
  display:none}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0}
.not-found {
  padding:10vw}
.not-found a {
  display:inline-block;
  margin-top:24px}

.club-emblem img {
  width:170%;
  height:170%;
  left:-35%;
  top:-35%}

.table-wrap {
  position:relative}

@media(min-width:1600px) {
  .control-grid {
  grid-template-columns:1.15fr 1fr}
.admin-content {
  padding:42px}
.starter-identity {
  min-height:125px}
}

@media(max-width:1100px) {
  .admin-body {
  display:block}
.admin-sidebar {
  padding:12px 22px;display:block}
.admin-sidebar nav {display:flex;gap:10px;overflow-x:auto}
.nav-item {text-align:center;padding:10px 14px;white-space:nowrap;flex:1}
.sidebar-note {display:none}
.admin-content {
  padding:28px 22px}
.admin-header {
  padding:18px 24px}
.admin-title {
  display:none}
.header-actions {
  gap:18px}
.control-grid {
  gap:18px}
.starter-panel,.preview-panel {
  padding:20px}
.panel-heading {
  flex-wrap:wrap}
.starter-identity {
  gap:16px}
.number-tile {
  width:82px;
  min-height:100px;
  font-size:3.5rem}
.step-actions {
  grid-template-columns:1fr 1.3fr}
.step-actions .button {
  min-height:52px}
.edit-grid {
  grid-template-columns:1fr}
.stream-section,.archive-section {
  margin-left:48px;
  margin-right:48px}
.season-panel {
  max-width:none}
}

@media(max-width:800px) {
  .site-header {
  padding:20px 24px;
  min-height:98px}
.site-header nav {
  gap:20px;
  font-size:.9rem}
.quiet-link {
  font-size:.85rem}
.landing-intro {
  padding:54px 32px;
  gap:24px;
  min-height:440px}
.club-emblem {
  max-width:230px}
.race-program {
  padding:44px 32px}
.stream-section,.archive-section {
  margin-left:32px;
  margin-right:32px}
.event-row {
  gap:20px;
  grid-template-columns:65px 1fr 85px}
.event-main h3 {
  font-size:1.4rem}
.event-time {
  font-size:1.6rem}
.site-footer {
  padding:24px 32px}
.admin-body {
  display:block}
.admin-sidebar {
  padding:12px 22px;
  display:block}
.admin-sidebar nav {
  display:flex;
  gap:10px;
  overflow-x:auto}
.nav-item {
  text-align:center;
  padding:10px 14px;
  white-space:nowrap;
  flex:1}
.sidebar-note {
  display:none}
.control-grid {
  grid-template-columns:1.15fr 1fr}
.admin-content {
  padding:28px 22px}
.page-heading {
  margin-bottom:24px}
.page-heading h1 {
  font-size:2rem}
.page-heading p {
  font-size:.88rem}
.race-selector {
  flex-wrap:wrap;
  gap:10px}
.race-selector>label {
  width:100%}
.race-selector>select {
  flex:1;
  min-width:180px;
  max-width:none}
.starter-identity {
  align-items:center;
  flex-direction:row}
.starter-identity h3 {
  font-size:1.6rem}
.panel-heading {
  gap:10px}
.panel-heading h2 {
  font-size:1.08rem}
.notice {
  padding:18px;
  align-items:flex-start}
.notice>.button {
  flex-shrink:0}
.admin-header {
  padding:16px 22px}
.admin-header .brand {
  border:0;
  padding:0;
  font-size:.85rem}
.admin-header .crest {
  width:42px;
  height:52px}
.header-actions>a {
  font-size:.8rem;
  max-width:125px}
.admin-footer {
  padding:15px 22px}
.mapping-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))}
.login-copy {
  padding:50px 10%;
  min-height:500px}
.login-panel {
  padding:0 26px}
.login-panel h2 {
  font-size:1.7rem}
}

@media(max-width:580px) {
  .control-connection {padding:12px;gap:10px}
  .control-connection>span {flex-basis:100%}
  .control-connection .button {width:100%;min-height:52px}
  .site-header {
  padding:18px 20px;
  gap:12px;
  min-height:96px}
.site-header .brand {
  font-size:.78rem;
  gap:8px}
.site-header nav {
  gap:14px}
.site-header nav a:last-child {
  display:none}
.quiet-link svg {
  display:none}
.landing-intro {
  grid-template-columns:1fr;
  padding:42px 24px 48px;
  position:relative;
  gap:0;
  min-height:0}
.landing-intro h1 {
  font-size:3.8rem;
  max-width:100%}
.landing-intro p {
  font-size:1rem;
  margin:24px 0}
.club-emblem {
  display:none}
.landing-intro .button {
  min-height:50px}
.race-program {
  padding:36px 24px 40px}
.race-program h2 {
  font-size:1.6rem}
.section-heading {
  gap:12px}
.section-heading>span {
  display:none}
.event-row {
  grid-template-columns:48px 1fr;
  gap:18px;
  padding:24px 0}
.event-date strong {
  font-size:3rem}
.event-date span {
  font-size:.7rem;
  text-align:center;
  line-height:1.4}
.event-main h3 {
  font-size:1.26rem}
.event-main>p {
  font-size:.85rem}
.event-time {
  display:none}
.stream-section {
  margin:0 24px 36px;
  padding:26px;
  display:block}
.stream-symbol {
  width:58px;
  margin-bottom:18px}
.stream-section h2 {
  font-size:1.6rem}
.stream-section p {
  font-size:.9rem}
.stream-section .tag {
  font-size:.7rem;
  white-space:normal}
.archive-section {
  margin:0 24px 36px}
.site-footer {
  padding:24px;
  flex-wrap:wrap;
  gap:12px;
  font-size:.78rem}
.site-footer>span:first-child {
  width:100%}
.site-footer>a {
  margin-left:auto}
.login-main {
  display:block}
.login-copy {
  min-height:0;
  padding:30px 26px}
.login-copy h1 {
  font-size:3rem}
.login-copy p {
  display:none}
.login-shell>header {
  padding:22px}
.login-shell>header>a:last-child {
  font-size:.75rem}
.login-shell>header>a:last-child svg {
  display:none}
.login-panel {
  margin:38px auto 50px}
.login-panel>p {
  margin-bottom:24px}
.admin-header {
  padding:14px 16px;
  gap:12px;
  align-items:center}
.admin-header .brand {
  font-size:.68rem;
  gap:6px}
.header-actions {
  gap:8px}
.header-actions>a {
  max-width:88px;
  font-size:.72rem}
.header-actions>a svg {
  display:none}
.header-actions button {
  padding:10px 12px;
  font-size:.8rem}
.admin-sidebar {
  padding:10px 14px}
.admin-sidebar nav {
  gap:5px}
.nav-item {
  padding:10px 8px;
  font-size:.78rem;
  min-height:46px}
.admin-content {
  padding:24px 16px}
.page-heading {
  align-items:flex-start;
  gap:12px}
.page-heading h1 {
  font-size:1.8rem}
.page-heading p {
  font-size:.84rem}
.page-heading>.button {
  font-size:.73rem;
  padding:10px;
  max-width:100px}
.control-grid {
  grid-template-columns:1fr;
  gap:20px;
  margin-bottom:32px}
.starter-panel,.preview-panel,.import-panel,.season-panel,#race-editor {
  padding:22px 18px}
.starter-identity {
  flex-direction:row;
  align-items:center;
  min-height:125px;
  margin-bottom:20px}
.number-tile {
  width:88px;
  min-height:100px}
.starter-identity h3 {
  font-size:1.8rem}
.step-actions {
  grid-template-columns:1fr 1.3fr}
.step-actions .button {
  font-size:.85rem;
  padding:13px 9px;
  gap:4px}
.step-actions svg {
  width:18px}
.notice {
  flex-direction:column;
  gap:14px;
  font-size:.9rem}
.notice>.button {
  width:100%}
.test-notice {
  font-size:.8rem}
.startlist-section>.section-heading {
  align-items:flex-start}
.startlist-section>.section-heading h2 {
  font-size:1.25rem}
.startlist-section>.section-heading .button {
  font-size:.74rem;
  padding:8px 12px;
  max-width:128px}
.list-filters {
  flex-direction:column;
  align-items:stretch;
  gap:12px}
.list-filters>label:last-child {
  width:100%}
th,td {
  padding:12px}
.admin-footer {
  font-size:.7rem;
  padding:14px 16px;
  align-items:flex-start}
.admin-footer>span {
  flex:1}
.admin-footer>a {
  max-width:90px}
.mapping-grid {
  grid-template-columns:1fr 1fr;
  gap:12px}
.mapping-grid label {
  font-size:.8rem}
.sample-links {
  gap:16px;
  font-size:.85rem}
.form-actions {
  display:grid}
.season-form {
  gap:10px}
.season-form button {
  padding:10px 12px}
.feedback {
  bottom:16px;
  width:calc(100vw - 32px);
  padding:14px 18px;
  font-size:.85rem}
}

.compact-identity {display:none}
.current-badge {display:inline-block;font-size:.7rem;font-weight:650;color:#17533c;background:#d9f0e6;border-radius:4px;padding:3px 7px;margin-left:5px}
@media(max-width:1100px) {
  .startlist .compact-identity {display:table-cell;white-space:normal;min-width:0}
  .startlist th:not(.compact-identity):not(:last-child),.startlist td:not(.compact-identity):not(:last-child) {display:none}
  .startlist td:last-child,.startlist th:last-child {width:112px;text-align:right;padding-left:6px}
  .compact-name {display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:.92rem;line-height:1.3}
  .compact-name strong {overflow-wrap:anywhere}
  .compact-bib {font-weight:750;color:var(--blue);font-size:1.12rem;min-width:25px}
  .compact-name .current-badge {margin:0}
  .starter-details {display:block;color:var(--muted);font-size:.77rem;line-height:1.55;margin-top:7px}
}
@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto}
*,*::before,*::after {
  transition:none!important;
  animation:none!important}
}
