:root {
  --navy: #142b49;
  --blue: #285bcd;
  --ink: #1d304a;
  --muted: #627086;
  --line: #dfe5ed;
  --surface: #f4f6fa;
  --white: #fff;
  --page-gutter: 32px;
  --page-width-default: 1240px;
  --page-width-wide: 1560px;
  --page-width-form: 1320px;
  --page-width-narrow: 760px;
  --form-gap: 28px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); letter-spacing: -.035em; }
h2 { font-size: 1.3rem; letter-spacing: -.02em; }
h3 { font-size: 1.08rem; letter-spacing: -.015em; }
:focus-visible { outline: 3px solid #608df2; outline-offset: 4px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow, .nav-heading { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { color: var(--muted); }
.muted { color: var(--muted); }
.small-label { display: block; color: var(--muted); font-size: .72rem; margin-bottom: 2px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 11px 18px; border: 1px solid transparent; border-radius: 7px; font-size: .875rem; font-weight: 600; text-align: center; }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: #204cac; }
.button-secondary { background: var(--white); border-color: var(--line); }
.button-secondary:hover { background: #f1f5fd; border-color: #a9bce1; }
.button-quiet { background: transparent; color: var(--muted); padding-inline: 10px; }
.button-quiet:hover { background: var(--surface); color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--white); font-size: 1.55rem; font-weight: 700; letter-spacing: -.055em; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; background: #f4f8ff; border-radius: 10px; color: var(--blue); }
.brand-mark .icon { width: 28px; height: 28px; stroke-width: 1.35; }
.brand-flow { color: #a6c6ff; }
.skip-link { position: absolute; z-index: 10; top: 10px; left: 10px; padding: 12px 18px; background: var(--white); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Application workspace */
.app-layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; min-height: 100svh; }
.sidebar { position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; height: 100vh; height: 100svh; min-height: 540px; padding: 32px 20px; background: var(--navy); color: #d3dfed; }
.sidebar .brand { margin: 0 8px 48px; }
.nav-heading { margin: 0 14px 14px; color: #9eb2cb; }
.main-nav { display: grid; gap: 7px; }
.main-nav a { display: flex; align-items: center; gap: 13px; min-height: 48px; padding: 12px 14px; border-radius: 7px; font-size: .86rem; font-weight: 500; }
.main-nav a:hover { background: #213c5d; color: var(--white); }
.main-nav a[aria-current="page"] { background: #2a4c77; color: var(--white); box-shadow: inset 3px 0 #9dbfff; }
.main-nav .icon { width: 20px; height: 20px; }
.sidebar-note { margin: auto 14px 0; padding-top: 36px; }
.sidebar-rule { display: block; width: 30px; height: 2px; margin-bottom: 17px; background: #7197c8; }
.sidebar-note p { color: #ecf2fa; font-size: .95rem; font-weight: 500; line-height: 1.7; }
.sidebar-note > span:last-child { display: block; margin-top: 12px; max-width: 160px; color: #a6bad2; font-size: .72rem; line-height: 1.7; }
.workspace { display: flex; flex-direction: column; min-width: 0; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; min-height: 98px; padding: 19px var(--page-gutter); background: var(--white); border-bottom: 1px solid var(--line); }
.season-context { display: flex; align-items: center; gap: 12px; min-width: 0; }
.season-context > .icon { color: #6a7e9b; }
.season-context strong { display: block; font-size: .85rem; overflow-wrap: anywhere; }
.account-area { display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; background: #e9effb; color: #365b9c; border-radius: 50%; font-size: .85rem; font-weight: 700; }
.account-details { max-width: 250px; min-width: 0; font-size: .8rem; overflow-wrap: anywhere; }
.account-details strong, .account-details span { display: block; }
.account-details > span { color: var(--muted); font-size: .72rem; }
.account-details .role-label { color: #365b9c; }
.logout-form { margin-left: 10px; }
/* Outer spacing follows the workspace grid, not the viewport width.
   Templates opt into a content mode; unspecified pages retain their old limit. */
.main-content { width: 100%; padding: 40px var(--page-gutter); flex: 1; min-width: 0; }
.page-container { width: 100%; max-width: var(--page-width-default); margin-inline: auto; min-width: 0; container: page / inline-size; }
.page-container--wide { max-width: var(--page-width-wide); }
.page-container--form { max-width: var(--page-width-form); }
.page-container--narrow { max-width: var(--page-width-narrow); }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--form-gap); align-items: start; }
.form-layout__main, .form-layout__aside { min-width: 0; }
.form-layout__aside { overflow-wrap: anywhere; }
/* Two columns only when the CONTENT has room for a useful form and aside.
   Narrow forms consequently stay stacked even on a large monitor. */
@container page (min-width: 1050px) {
  .form-layout { grid-template-columns: minmax(0, 1fr) clamp(300px, 27%, 360px); }
}
.page-heading { margin-bottom: 30px; overflow-wrap: anywhere; }
.page-heading .eyebrow { margin-bottom: 10px; }
.page-heading > p:last-child { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.season-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px 30px; margin-bottom: 36px; background: #eaf0fc; border: 1px solid #dbe5f6; border-radius: 12px; }
.season-copy { min-width: 0; overflow-wrap: anywhere; }
.season-copy .eyebrow { display: flex; align-items: center; gap: 8px; color: #405e8b; }
.season-copy h2 { margin-top: 10px; font-size: clamp(1.4rem, 2.6vw, 1.95rem); }
.season-copy > p:last-child { margin-top: 7px; color: #536984; font-size: .84rem; }
.season-panel .button { flex-shrink: 0; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #24846b; }
.section-heading { margin-bottom: 18px; }
.section-heading > p { margin-top: 6px; font-size: .84rem; color: var(--muted); }
.section-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.section-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 226px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
.section-card:hover { border-color: #9fb8e6; box-shadow: 0 6px 18px #142b4908; }
.card-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 20px; color: #426bb0; background: #eef3fc; border-radius: 10px; }
.section-card h3 { margin-bottom: 9px; }
.section-card > p { color: var(--muted); font-size: .83rem; line-height: 1.7; margin-bottom: 24px; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; margin-top: auto; color: #315ba5; font-size: .78rem; font-weight: 600; }
.card-link .icon { width: 18px; height: 18px; }
.workspace-footer { margin: 0 var(--page-gutter); padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.workspace-footer > span { margin-inline: 7px; }
.breadcrumb { display: inline-block; margin-bottom: 18px; color: var(--blue); font-size: .83rem; }
.breadcrumb:hover { text-decoration: underline; }
.empty-state { display: flex; flex-direction: column; align-items: center; padding: 64px 24px; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.empty-state > p { margin: 12px 0 26px; color: var(--muted); }

/* Season registry and editor */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.page-heading-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.page-heading-actions > div { min-width: 0; }
.page-heading-actions > .button { flex-shrink: 0; }
.page-description { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.flash-messages { display: grid; gap: 10px; margin-bottom: 24px; }
.flash-message { padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-size: .88rem; overflow-wrap: anywhere; }
.flash-message.success { color: #226047; background: #edf8f1; border-color: #c8e5d4; }
.flash-message.error { color: #923d38; background: #fff2f1; border-color: #f1ceca; }
.table-panel { border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; }
.season-table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.season-table th, .season-table td { padding: 16px 20px; text-align: left; vertical-align: middle; }
.season-table thead { background: #f8fafd; color: var(--muted); font-size: .74rem; }
.season-table thead th { font-weight: 600; }
.season-table tbody tr { border-top: 1px solid var(--line); }
.season-table tbody tr.is-active { background: #f1f9f5; box-shadow: inset 3px 0 #278064; }
.season-table time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.season-name { display: inline-flex; align-items: center; min-height: 44px; max-width: 240px; color: var(--ink); font-size: .95rem; font-weight: 650; overflow-wrap: anywhere; }
.season-name:hover { color: var(--blue); text-decoration: underline; }
.status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid #dfe5ed; border-radius: 20px; background: #f8fafd; color: var(--muted); font-size: .73rem; font-weight: 600; white-space: nowrap; }
.status-badge-active { background: #e4f3ea; border-color: #c8e5d4; color: #226047; }
.season-table .actions-heading { text-align: right; }
.season-table .season-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.season-actions .button { font-size: .78rem; padding-inline: 13px; }
.table-note { margin-top: 16px; color: var(--muted); font-size: .8rem; }
.editor-panel { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.editor-heading { margin-bottom: 24px; }
.editor-heading > p { margin-top: 6px; font-size: .82rem; color: var(--muted); }
.editor-panel .form-alert { margin-bottom: 24px; }
.editor-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.editor-fields .form-field, .editor-fields input { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field-help { margin-top: 7px; color: var(--muted); font-size: .78rem; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.context-note { padding: 24px; border: 1px solid #dbe5f6; border-radius: 12px; background: #eaf0fc; }
.context-note .card-icon { margin-bottom: 16px; background: var(--white); }
.context-note h2 { font-size: 1rem; }
.context-note p { margin-top: 12px; color: #536984; font-size: .84rem; line-height: 1.75; }

/* Clubs and teams */
.club-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; }
.club-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.club-identity { display: flex; align-items: center; gap: 18px; min-width: 0; }
.club-identity > div { min-width: 0; }
.club-identity h2 { font-size: 1.1rem; overflow-wrap: anywhere; }
.club-identity h2 a { display: flex; align-items: center; min-height: 44px; }
.club-identity h2 a:hover, .team-name:hover { color: var(--blue); text-decoration: underline; }
.club-logo { display: inline-grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; padding: 5px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--muted); }
.club-logo img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; object-fit: contain; }
.club-summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: auto; padding-block: 24px; }
.club-summary p { color: var(--muted); font-size: .8rem; }
.club-summary strong { margin-left: 8px; color: var(--ink); font-size: 1rem; }
.registry-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.registry-actions .button { flex-grow: 1; }
.club-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.team-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .83rem; }
.team-table th, .team-table td { padding: 16px; text-align: left; vertical-align: middle; overflow-wrap: anywhere; }
.team-table thead { background: #f8fafd; color: var(--muted); font-size: .74rem; }
.team-table thead th { font-weight: 600; }
.team-table tbody tr { border-top: 1px solid var(--line); }
.team-name { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; }
.team-label { color: var(--muted); font-size: .76rem; font-weight: 400; }
.team-table .button { font-size: .78rem; padding-inline: 12px; }
.club-form-layout .context-note .club-logo { margin-bottom: 12px; }
.context-link { margin-top: 20px; }
.current-logo { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.current-logo p { color: var(--muted); font-size: .8rem; }
.form-field.checkbox-field label { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0; cursor: pointer; }
.form-field.checkbox-field input { flex-shrink: 0; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; accent-color: var(--blue); }
.file-picker { position: relative; display: inline-flex; max-width: 100%; }
.file-picker .button { min-height: 50px; }
.form-field .file-picker input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; min-height: 0; padding: 0; opacity: 0; cursor: pointer; }
.file-picker:focus-within { outline: 3px solid #608df2; outline-offset: 4px; border-radius: 7px; }
[data-file-status], .page-heading h1, .page-description, .breadcrumb { overflow-wrap: anywhere; }
.breadcrumb { display: inline-flex; align-items: center; min-height: 44px; }

/* Officials and application users */
.people-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .83rem; }
.people-table th, .people-table td { padding: 18px; text-align: left; vertical-align: middle; overflow-wrap: anywhere; }
.people-table thead { background: #f8fafd; color: var(--muted); font-size: .74rem; }
.people-table thead th { font-weight: 600; }
.people-table th:first-child { width: 26%; }
.people-table th:nth-child(2) { width: 23%; }
.people-table th:nth-child(3) { width: 22%; }
.people-table th:nth-child(4) { width: 13%; }
.people-table tbody tr { border-top: 1px solid var(--line); }
.person-name { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font-size: .92rem; font-weight: 650; }
.person-name:hover { color: var(--blue); text-decoration: underline; }
.person-detail { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }
.person-data { display: grid; min-width: 0; }
.person-data .small-label:not(:first-child) { margin-top: 10px; }
.person-actions .button { font-size: .78rem; padding-inline: 12px; }
.people-notes { display: grid; gap: 20px; min-width: 0; }
.people-form-layout .field-help { overflow-wrap: anywhere; }
.people-form-layout select { display: block; width: 100%; min-width: 0; min-height: 50px; padding: 12px 10px; border: 1px solid #cbd4e1; border-radius: 7px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; }
.people-form-layout select[aria-invalid="true"] { border-color: #b64343; }

@media (max-width: 1100px) {
  .people-table, .people-table tbody, .people-table tr { display: block; }
  .people-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .people-table tbody tr { padding: 18px 20px; }
  .people-table tbody tr:first-child { border-top: 0; }
  .people-table tbody th:first-child { display: block; width: auto; padding: 0 0 12px; }
  .people-table td { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0; }
  .people-table td[data-label]::before { content: attr(data-label); flex-shrink: 0; max-width: 40%; color: var(--muted); font-size: .78rem; }
  .people-table td[data-label] > * { min-width: 0; text-align: right; }
  .people-table .person-actions { margin-top: 8px; padding: 18px 0 0; border-top: 1px solid var(--line); }
}

/* Competition registry, detail and editors */
.competition-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; margin-bottom: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.competition-filter .form-field { flex: 1 1 220px; min-width: 0; max-width: 340px; }
.competition-filter > p { align-self: center; color: var(--muted); font-size: .83rem; overflow-wrap: anywhere; }
.competition-filter .status-badge { margin-left: 8px; }
.competition-filter select, .competition-form-layout select, .competition-form-layout textarea { display: block; width: 100%; min-width: 0; min-height: 50px; padding: 12px; border: 1px solid #cbd4e1; border-radius: 7px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; }
.competition-form-layout textarea { resize: vertical; }
.competition-form-layout select[aria-invalid="true"], .competition-form-layout textarea[aria-invalid="true"] { border-color: #b64343; }
.competition-grid, .competition-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.competition-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.competition-card-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.competition-card-heading .card-icon { flex-shrink: 0; margin: 0; }
.competition-card-heading .small-label { overflow-wrap: anywhere; }
.competition-card h2 { font-size: 1.2rem; }
.competition-card h2 a { display: flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.competition-card h2 a:hover { color: var(--blue); text-decoration: underline; }
.competition-card-status { margin-top: auto; padding-bottom: 20px; }
.competition-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 22px 0; }
.competition-facts > div { min-width: 0; }
.competition-facts dt { margin-bottom: 5px; color: var(--muted); font-size: .76rem; }
.competition-facts dd { margin: 0; font-size: .88rem; overflow-wrap: anywhere; }
.competition-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.competition-tabs a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-size: .84rem; font-weight: 600; }
.competition-tabs a:hover { border-color: var(--blue); color: var(--blue); }
.competition-tabs a > span { color: var(--muted); font-size: .76rem; }
.competition-section { min-width: 0; margin-bottom: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); scroll-margin-top: 20px; }
.competition-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.competition-section-heading > div { min-width: 0; }
.competition-section-heading p { margin-top: 6px; color: var(--muted); font-size: .83rem; }
.competition-section h2, .competition-section h3 { overflow-wrap: anywhere; }
.competition-parent { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); }
.competition-parent:hover { text-decoration: underline; }
.competition-groups { margin: 24px 0 0; padding: 0; list-style: none; }
.competition-groups li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; border-top: 1px solid var(--line); }
.competition-groups li > div { flex: 1 1 150px; min-width: 0; }
.competition-groups p { margin-top: 7px; color: var(--muted); font-size: .8rem; }
.section-empty { margin-top: 24px; padding: 20px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: .88rem; }
.competition-entry-grid { margin-top: 24px; }
.competition-entry { display: flex; flex-direction: column; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
.entry-team-label { margin-top: 7px; color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.entry-note { white-space: pre-wrap; }
.competition-entry > .button { align-self: flex-start; margin-top: auto; }
.rules-json-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rules-json-grid > div { min-width: 0; }
.rules-json-grid h3 { font-size: .88rem; }
.json-display { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafd; font-size: .8rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.competition-form-layout .json-input { font-family: ui-monospace, monospace; line-height: 1.6; }

@media (max-width: 1100px) {
  .competition-entry-grid, .rules-json-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .competition-grid { grid-template-columns: minmax(0, 1fr); }
  .competition-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .competition-section { padding: 20px; }
  .competition-entry { padding: 16px; }
}

/* Compact Director lists: keep table semantics at every viewport width. */
.compact-heading { margin-bottom: 18px; }
.compact-heading h1 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.compact-heading .eyebrow { margin-bottom: 6px; }
.compact-heading .page-description { margin-top: 6px; }
.breadcrumb.operational-breadcrumb { min-height: 32px; margin-bottom: 12px; }
.list-filters { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; padding: 12px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafd; }
.filter-field { flex: 1 1 150px; min-width: 0; }
.filter-search { flex-grow: 2; flex-basis: 230px; }
.filter-field label { display: block; margin-bottom: 5px; font-size: .76rem; font-weight: 600; }
.filter-field input, .filter-field select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #cbd4e1; border-radius: 6px; background: var(--white); color: var(--ink); font: inherit; font-size: .84rem; }
.filter-field [aria-invalid="true"] { border-color: #b64343; }
.filter-actions { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; margin-top: 24px; }
.filter-actions .button { min-height: 40px; padding: 8px 12px; font-size: .8rem; }
.list-count { margin: 0 0 10px; color: var(--muted); font-size: .78rem; }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border-radius: 8px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .82rem; text-align: left; }
.data-table th, .data-table td { padding: 8px 10px; vertical-align: middle; overflow-wrap: anywhere; }
.data-table thead { background: #f4f7fc; color: #53647b; font-size: .74rem; }
.data-table thead th { font-weight: 650; }
.data-table tbody tr + tr { border-top: 1px solid var(--line); }
.data-table tbody tr:hover { background: #f8fafd; }
.data-table tbody th { font-weight: 600; }
.data-table .status-badge { padding: 3px 8px; }
.data-table .button { min-height: 34px; padding: 6px 10px; font-size: .76rem; white-space: nowrap; }
.data-table .row-link { display: inline-flex; align-items: center; min-height: 34px; color: var(--blue); }
.row-link:hover { text-decoration: underline; }
.data-table .numeric-cell { font-variant-numeric: tabular-nums; }
.data-table .table-empty { padding: 26px 16px; color: var(--muted); text-align: center; }
.table-actions { display: flex; gap: 6px; white-space: nowrap; }
.table-actions-cell { width: 1%; white-space: nowrap; }
.clubs-table { min-width: 640px; }
.clubs-table th:first-child, .clubs-table td:first-child { width: 62px; }
.clubs-table .club-logo { width: 36px; height: 36px; border-radius: 6px; }
.clubs-table .club-logo img { width: 100%; height: 100%; }
.clubs-table th:last-child { width: 245px; }
.groups-table { min-width: 500px; }
.entries-table { min-width: 1020px; }
.entries-table th:nth-child(2) { min-width: 150px; }
.entries-table td:nth-child(3), .entries-table td:nth-child(4) { min-width: 110px; }
.entries-table td:nth-child(6) { min-width: 125px; }
.cell-secondary { display: block; margin-top: 2px; color: var(--muted); font-size: .74rem; font-weight: 400; }
.note-cell { min-width: 140px; max-width: 230px; }
.note-cell summary { cursor: pointer; color: var(--muted); }
.note-cell details[open] .entry-note { margin-top: 8px; }
.competition-summary { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 12px; padding: 0; list-style: none; color: var(--muted); font-size: .84rem; }
.competition-summary strong { color: var(--ink); font-size: 1rem; }
.competition-tabs { gap: 0; margin-bottom: 16px; border-bottom: 1px solid #b8c9e3; }
.competition-tabs a { border: 0; border-bottom: 3px solid transparent; border-radius: 6px 6px 0 0; background: transparent; }
.competition-tabs a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); background: #eaf0fc; }
.competition-tabs a[aria-current="page"] > span { color: var(--blue); }
.operational-section { padding: 16px; border-radius: 8px; }
.operational-section[hidden] { display: none; }
.operational-section .competition-section-heading { margin-bottom: 12px; }
.operational-section .competition-section-heading .button { min-height: 38px; padding-block: 8px; }
.operational-section .competition-section-heading h2 { font-size: 1.13rem; }
.rules-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rules-details { padding-top: 12px; border-top: 1px solid var(--line); font-size: .82rem; }
.rules-details summary { width: fit-content; padding: 8px 0; color: var(--muted); cursor: pointer; }
.rules-details h3 { margin-top: 16px; font-size: .86rem; }
@media (max-width: 700px) {
  .operational-section { padding: 14px; }
  .list-filters { padding: 12px; }
  .filter-actions { flex-basis: 100%; margin-top: 0; }
  .filter-field input, .filter-field select { font-size: 16px; min-height: 44px; }
  .filter-actions .button, .data-table .button, .operational-section .competition-section-heading .button { min-height: 44px; }
  .rules-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Authentication */
.login-body { background: var(--white); }
.login-layout { display: grid; grid-template-columns: 46% 54%; min-height: 100vh; min-height: 100svh; }
.login-intro { position: relative; display: flex; flex-direction: column; padding: 44px clamp(32px, 5vw, 80px); background: var(--navy); color: var(--white); overflow: hidden; }
.intro-copy { margin: 80px 0 48px; position: relative; z-index: 1; }
.intro-copy .eyebrow { color: #a9c7f2; margin-bottom: 18px; }
.intro-copy h1 { font-size: clamp(2rem, 3.2vw, 3.3rem); line-height: 1.16; letter-spacing: -.04em; }
.intro-copy > p:last-child { margin-top: 22px; color: #bccde1; font-size: .94rem; line-height: 1.8; }
.court-art { position: relative; width: 100%; max-width: 390px; aspect-ratio: 1.95; margin-bottom: 48px; border: 1px solid #54759a; transform: rotate(-8deg); }
.court-art::before, .court-art::after { content: ""; position: absolute; top: 0; height: 100%; width: 1px; background: #54759a; }
.court-art::before { left: 33.33%; }
.court-art::after { right: 33.33%; }
.court-net { position: absolute; left: 50%; top: -10px; height: calc(100% + 20px); border-left: 2px dashed #87a4c5; }
.court-ball { position: absolute; right: 10%; top: 28%; width: 56px; height: 56px; border: 2px solid #c0d5ee; border-radius: 50%; overflow: hidden; }
.court-ball::before, .court-ball::after { content: ""; position: absolute; width: 55px; height: 55px; border: 1px solid #c0d5ee; border-radius: 50%; }
.court-ball::before { top: -20px; left: 15px; }
.court-ball::after { top: 17px; left: -16px; }
.intro-footer { margin-top: auto; padding-top: 20px; font-size: .72rem; color: #a6bad2; }
.login-main { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 64px 48px 24px; }
.login-panel { width: 100%; max-width: 390px; margin-block: auto; }
.login-panel h2 { margin: 11px 0 12px; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.04em; }
.login-panel > p { font-size: .9rem; }
.login-form { display: grid; gap: 22px; margin-top: 32px; }
.form-field label { display: block; margin-bottom: 8px; font-size: .85rem; font-weight: 600; }
.form-field input { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cbd4e1; border-radius: 7px; background: var(--white); color: var(--ink); font-size: 16px; }
.form-field input:hover { border-color: #90a5c5; }
.form-field input:focus { border-color: var(--blue); }
.form-field input[aria-invalid="true"] { border-color: #b64343; }
.form-alert { padding: 13px 15px; background: #fff2f1; border: 1px solid #f1ceca; border-radius: 7px; color: #923d38; font-size: .85rem; }
.errorlist { margin: 0; padding: 0; list-style: none; }
.field-errors { margin-top: 7px; color: #a03434; font-size: .8rem; }
.login-submit { justify-content: space-between; min-height: 50px; margin-top: 4px; padding-inline: 20px; }
.login-help { display: flex; align-items: center; gap: 9px; margin-top: 26px; color: var(--muted); font-size: .76rem !important; }
.login-help .icon { width: 16px; height: 16px; }
.login-footer { margin-top: 60px; color: var(--muted); font-size: .72rem; text-align: center; }
.access-header { background: var(--navy); padding: 24px 32px; }
.access-panel { width: calc(100% - 40px); max-width: 520px; margin: 70px auto; padding: 36px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.access-panel h1 { margin: 10px 0 16px; font-size: 1.8rem; }
.access-panel > p:not(.eyebrow) { color: var(--muted); }
.access-account { display: grid; gap: 4px; margin: 24px 0; padding-block: 16px; border-block: 1px solid var(--line); font-size: .9rem; overflow-wrap: anywhere; }
.access-account span { color: var(--muted); font-size: .8rem; }

@media (max-width: 1100px) {
  .app-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .sidebar { padding-inline: 14px; }
  :root { --page-gutter: 28px; }
  .main-content { padding-block: 32px; }
  .section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .app-layout { display: block; }
  .sidebar { position: static; height: auto; min-height: 0; padding: 22px 24px 18px; }
  .sidebar .brand { margin: 0 4px 22px; }
  .nav-heading, .sidebar-note { display: none; }
  .main-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .main-nav a { padding: 11px 12px; }
  .workspace { min-height: 70vh; }
  .login-layout { grid-template-columns: 1fr; }
  .login-intro { padding: 28px 40px; }
  .intro-copy { margin: 26px 0 0; }
  .intro-copy h1 { font-size: 2rem; }
  .intro-copy h1 br { display: none; }
  .intro-copy > p:last-child, .court-art, .intro-footer { display: none; }
  .login-main { padding: 48px 24px 24px; }
  .login-panel { margin-block: 0; }
}

@media (max-width: 560px) {
  .sidebar { padding: 20px 14px 14px; }
  .sidebar .brand { margin: 0 8px 20px; }
  .main-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav a { gap: 10px; font-size: .8rem; }
  :root { --page-gutter: 20px; }
  .topbar { padding-block: 18px; gap: 18px; }
  .account-area { width: 100%; gap: 10px; }
  .account-details { flex: 1; max-width: none; }
  .logout-form { margin-left: 0; }
  .button-quiet { padding-inline: 4px; gap: 7px; }
  .main-content { padding-block: 28px; }
  .page-heading { margin-bottom: 24px; }
  .season-panel { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; margin-bottom: 30px; }
  .section-grid { grid-template-columns: 1fr; gap: 14px; }
  .section-card { min-height: 0; padding: 22px; }
  .section-card > p { margin-bottom: 20px; }
  .workspace-footer { font-size: .68rem; }
  .login-intro { padding: 24px; }
  .intro-copy { display: none; }
  .login-main { align-items: stretch; }
  .login-panel { margin-inline: auto; }
  .login-footer { margin-top: 44px; }
  .access-panel { margin-block: 36px; padding: 26px; }
}

@media (max-width: 700px) {
  .club-grid { grid-template-columns: minmax(0, 1fr); }
  .team-table, .team-table tbody, .team-table tr { display: block; }
  .team-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .team-table tbody tr { padding: 18px 20px; }
  .team-table tbody tr:first-child { border-top: 0; }
  .team-table tbody th { display: block; padding: 0 0 12px; }
  .team-table td { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
  .team-table td[data-label]::before { content: attr(data-label); flex-shrink: 0; color: var(--muted); font-size: .78rem; }
  .team-table td[data-label] > span { min-width: 0; text-align: right; }
  .team-table td:last-child { margin-top: 8px; padding: 18px 0 0; border-top: 1px solid var(--line); }
  .club-card { padding: 20px; }
  .page-heading-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .season-table, .season-table tbody, .season-table tr { display: block; }
  .season-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .season-table tbody tr { padding: 18px 20px; }
  .season-table tbody tr:first-child { border-top: 0; }
  .season-table tbody th { display: block; padding: 0 0 8px; }
  .season-name { max-width: 100%; font-size: 1.05rem; }
  .season-table td { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
  .season-table td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: .78rem; }
  .season-table .season-actions { justify-content: flex-start; padding: 16px 0 0; margin-top: 8px; border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .editor-panel { padding: 22px; }
  .editor-fields { grid-template-columns: minmax(0, 1fr); }
  .editor-actions .button { flex-grow: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Director scheduling workspace: compact tables, native disclosure, no card rows. */
.scheduling-workspace { min-width: 0; }
.schedule-groups { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.schedule-groups a { display: flex; flex-direction: column; gap: 4px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 5px; font-size: .85rem; }
.schedule-groups a span { font-size: .75rem; color: var(--muted); }
.schedule-groups a[aria-current] { border-color: var(--blue); background: #eef4ff; box-shadow: inset 0 -3px var(--blue); }
.schedule-toolbar, .schedule-state, .schedule-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.schedule-toolbar { justify-content: space-between; margin-bottom: 10px; }
.schedule-state { font-size: .8rem; }
.schedule-actions { margin-top: 10px; font-size: .78rem; color: var(--muted); }
.schedule-panel { border-top: 1px solid var(--line); padding: 12px 0; margin-top: 12px; }
.schedule-panel > summary { cursor: pointer; font-size: .93rem; font-weight: 700; }
.schedule-panel > summary > span { font-weight: 400; font-size: .78rem; color: var(--muted); margin-left: 12px; }
.schedule-panel[open] > summary { margin-bottom: 12px; }
.schedule-notice { font-size: .82rem; padding: 8px 10px; background: #f1f5fc; border-left: 3px solid #86a6e3; }
.scheduling-workspace .button { min-height: 36px; padding: 7px 12px; font-size: .8rem; }
.schedule-draw { min-width: 680px; }
.schedule-matches { min-width: 850px; table-layout: fixed; }
.schedule-calendar { min-width: 480px; max-width: 700px; }
.scheduling-workspace input:not([type=checkbox]):not([type=hidden]), .scheduling-workspace select { max-width: 100%; border: 1px solid #b9c8df; border-radius: 4px; padding: 7px 9px; font: inherit; background: white; }
.scheduling-workspace .draw-input { width: 85px; }
.entry-status-active .status-badge { color: #195c46; background: #e8f5ed; }
.entry-status-suspended .status-badge { color: #78530a; background: #fff3d5; }
.entry-status-withdrawn .status-badge { color: #515c6b; background: #edf0f5; }
.entry-status-excluded .status-badge { color: #8a3030; background: #fbe9e9; }
.match-code { font-size: .7rem; overflow-wrap: anywhere; }
.schedule-confirm-action > summary { cursor: pointer; }
.confirmation-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; }
.confirmation-panel > details[open] { grid-column: 1 / -1; }
.schedule-readiness > summary { cursor: pointer; font-size: .93rem; font-weight: 700; padding-block: 8px; }
.schedule-readiness > summary span { font-weight: 400; color: var(--muted); font-size: .78rem; margin-left: 10px; }
.schedule-confirm-action form { margin-top: 10px; max-width: 780px; color: var(--ink); font-size: .85rem; }
.acknowledge { display: flex; gap: 9px; align-items: flex-start; margin: 12px 0; font-size: .82rem; }
.acknowledge input { margin-top: 3px; flex-shrink: 0; }
.readiness-list { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; font-size: .8rem; }
.readiness-list .ready { color: #195c46; }
.readiness-list .not-ready { color: #923d38; }
.manual-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.manual-fields .form-field { margin: 0; }
.schedule-results { margin-top: 20px; }
.schedule-results h3 { font-size: .95rem; }
.cycle-heading { margin: 18px 0 8px; padding: 8px 10px; color: #224f9e; background: #eaf1fc; }
.round-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; padding: 8px 10px; background: #f4f7fb; }
.round-heading h4 { font-size: .85rem; margin: 0; }
.round-heading span, .round-bye { font-size: .78rem; }
.round-bye { margin: 0; padding: 7px 10px; color: var(--muted); }
.inline-delete { display: inline-block; font-size: .75rem; vertical-align: middle; margin-left: 6px; }
.inline-delete summary { cursor: pointer; color: #923d38; }
.inline-delete form { white-space: normal; min-width: 185px; }
.scheduling-workspace .errorlist { font-size: .8rem; color: #923d38; padding-left: 18px; }
@media (max-width: 700px) {
  .schedule-groups a { flex: 1 1 100%; }
  .schedule-panel > summary > span { display: block; margin: 6px 0 0; }
  .manual-fields { grid-template-columns: minmax(0, 1fr); }
  .scheduling-workspace .button { min-height: 44px; }
  .scheduling-workspace input:not([type=checkbox]):not([type=hidden]), .scheduling-workspace select { min-height: 44px; font-size: 16px; }
  .schedule-toolbar { align-items: flex-start; }
  .confirmation-panel { grid-template-columns: minmax(0, 1fr); }
  .schedule-readiness > summary span { display: block; margin: 6px 0 0; }
}

/* Explicit, secondary destructive actions and their server-side preview. */
.danger-zone { margin-top: 24px; padding: 24px; border: 1px solid #e9bbb6; border-radius: 12px; }
.danger-zone h2 { font-size: 1rem; }
.danger-zone p, .danger-zone ul { margin-top: 16px; line-height: 1.7; }
.danger-zone > .button { margin-top: 16px; }
.button-danger { color: #923d38; background: #fff; border: 1px solid #d79a93; }
.button-danger:hover, .button-danger:focus-visible { color: #782e29; background: #fff2f1; }
.delete-counts { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; margin-top: 20px; }
.delete-counts dd { margin: 0; font-weight: 700; }
.delete-acknowledge label { display: flex; align-items: baseline; gap: 10px; }

/* Participant selection and touch-sized draw ordering controls. */
.participant-search, .participant-move { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 20px 0; }
.participant-search input { min-height: 44px; flex: 1 1 220px; }
.participant-search label { flex-basis: 100%; }
.participant-options { margin: 20px 0; max-height: 480px; overflow-y: auto; border: 1px solid #dbe5f6; border-radius: 8px; }
.participant-option, .selection-all { display: block; padding: 12px 16px; border-bottom: 1px solid #e8edf4; }
.selection-all[hidden] { display: none; }
.participant-option label { display: flex; align-items: center; gap: 12px; min-height: 32px; }
.participant-options input, .entries-table input[type="checkbox"] { width: 20px; height: 20px; }
.participant-identity { margin-bottom: 20px; }
.draw-order { list-style: none; margin: 16px 0; padding: 0; }
.draw-order-row { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px; border-bottom: 1px solid #dbe5f6; background: #fff; }
.draw-position { min-width: 2ch; font-weight: 700; font-variant-numeric: tabular-nums; }
.draw-handle { cursor: grab; font-size: 1.6rem; color: #536984; }
.draw-team { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.draw-controls { display: flex; gap: 6px; }
.draw-controls .button { min-width: 44px; min-height: 44px; padding: 8px; font-size: 1.1rem; }
.draw-order-row.is-dragging { opacity: .5; }
.button:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 500px) { .draw-order-row { gap: 6px; } .draw-controls { flex-direction: column; } }

/* M5 standings rules editor */
.rules-editor-group { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.rules-editor-group h3 { margin: 0 0 8px; font-size: 1rem; }
.rules-editor-group > p { margin: 0 0 18px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.rule-line { display: block; white-space: nowrap; }
.rule-line + .rule-line { margin-top: 4px; }

/* M5 standings */
.standings-section .competition-section-heading > div { min-width: 0; }
.standings-section .section-description { margin-top: 4px; color: var(--muted); font-size: .82rem; }
.standings-table-block + .standings-table-block { margin-top: 24px; }
.standings-table-block > h3 { margin: 0 0 10px; font-size: 1rem; }
.standings-table { min-width: 720px; font-variant-numeric: tabular-nums; }
.standings-table th:first-child, .standings-table td:first-child { width: 58px; text-align: center; }
.standings-table th:nth-child(n+3), .standings-table td:nth-child(n+3) { width: 64px; text-align: center; }
.standings-table th:nth-child(2) { min-width: 230px; }
.standings-table tbody th { font-weight: 650; }
.standings-table .standings-position { font-weight: 700; color: var(--muted); }
.standings-table .standings-points { font-weight: 750; color: var(--ink); }

/* M5.2 competition results by round */
.competition-result-groups { margin-bottom: 18px; }
.competition-result-filter { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 20px; }
.competition-result-filter label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: .78rem; font-weight: 600; }
.competition-result-filter select { min-width: 180px; min-height: 42px; padding: 8px 10px; border: 1px solid #cbd4e1; border-radius: 6px; background: var(--white); color: var(--ink); font: inherit; }
.competition-result-round + .competition-result-round { margin-top: 24px; }
.competition-result-round-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 8px; padding: 9px 12px; background: #f4f7fb; border-radius: 7px; }
.competition-result-round-heading h3 { margin: 0; font-size: .95rem; }
.competition-result-round-heading span { color: var(--muted); font-size: .78rem; }
.competition-results-table { min-width: 900px; }
.competition-results-table th:first-child, .competition-results-table td:nth-child(3) { width: 23%; }
.competition-results-table th:nth-child(2), .competition-results-table td:nth-child(2) { width: 10%; text-align: center; }
.competition-results-table th:nth-child(4), .competition-results-table td:nth-child(4) { width: 24%; }
.competition-result-score strong { font-size: 1.05rem; color: var(--navy); white-space: nowrap; }
.competition-result-sets { color: #42546b; white-space: nowrap; }
.competition-result-state { min-width: 160px; }
.competition-result-note { display: block; margin-top: 5px; color: var(--navy); font-size: .78rem; font-weight: 700; overflow-wrap: anywhere; }
.competition-result-meta { display: block !important; width: 100%; margin-top: 7px; color: var(--muted); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.result-state { display: inline-flex; align-items: center; padding: 4px 9px; border: 1px solid #dfe5ed; border-radius: 999px; background: #f8fafd; color: var(--muted); font-size: .72rem; font-weight: 700; white-space: nowrap; }
.result-state--postponed { background: #fff3d5; border-color: #ead9a7; color: #78530a; }
.result-state--cancelled, .result-state--voided { background: #fbe9e9; border-color: #eccaca; color: #8a3030; }
.result-state--pending { background: #eaf0fc; border-color: #d1def4; color: #315a9b; }
@media (max-width: 720px) {
  .competition-result-filter { align-items: stretch; flex-direction: column; }
  .competition-result-filter select { width: 100%; }
}
