@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/manrope-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/manrope-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/manrope-latin-700-normal.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
:root { --sample-height: 32px; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-top: var(--sample-height); background: var(--paper); color: var(--ink); font: 500 14px/1.5 var(--font-body); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; min-width: 0; }
img, svg { display: block; max-width: 100%; }
table { border-collapse: collapse; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 2px var(--yellow); border-radius: 6px; }
.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; }
.t-display { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-hero); line-height: 1.02; letter-spacing: 0; }
.t-h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h1); line-height: 1.1; letter-spacing: 0; }
.t-h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1.12; letter-spacing: .01em; }
.t-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-title); line-height: 1.15; letter-spacing: .005em; }
.t-figure { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-figure); line-height: 1.05; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.t-body { font-family: var(--font-body); font-weight: 500; font-size: var(--fs-body); line-height: 1.5; }
.t-sm { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm); line-height: 1.4; }
.t-xs { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-xs); line-height: 1.35; }
.t-label { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-xs); line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; }
.t-micro { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-micro); line-height: 1.3; }
.muted { color: var(--muted); }
.sample-banner { position: fixed; top: 0; left: 0; right: 0; height: var(--sample-height); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 3px 16px; background: var(--paper); color: var(--muted); font-size: 9px; line-height: 12px; text-align: center; box-shadow: 0 1px 0 var(--line); }
.brand-band { height: 8px; background: var(--yellow); }
.site { position: sticky; top: var(--sample-height); z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-inner { min-width: 0; padding: 7px 12px; display: flex; align-items: center; gap: 8px; }
.crest { flex: none; display: inline-flex; align-items: center; }
.crest img { width: 52px; height: 52px; object-fit: contain; }
.brand { min-width: 0; flex: 1; }
.mark { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.mark span { display: block; white-space: nowrap; }
.brand p { display: none; font-size: var(--fs-xs); color: var(--muted); }
.head-actions { display: flex; align-items: center; gap: 4px; flex: none; margin-left: auto; }
.head-actions .act { padding: 7px 11px; }
.action-text { display: none; }
.icon-button, .user-button { flex: none; width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink-soft); background: var(--paper); }
.icon-button svg { width: 18px; height: 18px; }
.user-button { font-size: 12px; font-weight: 700; background: var(--yellow-tint); color: var(--ink); }
.site-nav { display: flex; gap: 4px; padding: 0 12px 7px; align-items: center; }
.site-nav a { display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: var(--r-pill); font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--muted); }
.site-nav a[aria-current='page'] { background: var(--paper); color: var(--ink); }
.badge { background: var(--yellow); color: var(--ink); border-radius: var(--r-pill); min-width: 20px; padding: 1px 6px; text-align: center; font-size: 11px; font-family: var(--font-body); font-weight: 700; }
.user-menu { position: absolute; right: 12px; top: 62px; width: 200px; padding: 16px; background: var(--card); box-shadow: var(--shadow-modal); border-radius: var(--r-inner); }
.user-menu p + p { margin-top: 3px; }
.user-menu a { display: block; padding: 10px 0 0; text-decoration: underline; }
.wrap { max-width: var(--wrap-max); padding: 24px 16px 84px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 18px 0 24px; flex-wrap: wrap; }
.page-head .intro { flex: 1; min-width: min(240px,100%); }
.eyebrow { color: var(--muted); margin-bottom: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.page-head p:not(.eyebrow) { color: var(--muted); margin-top: 8px; max-width: 62ch; font-size: 13px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 12px; font-weight: 700; min-height: 36px; }
.back:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link { font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.act { flex: none; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; gap: 6px; min-height: 36px; padding: 7px 16px; border-radius: var(--r-pill); font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: .01em; transition: opacity var(--dur-hover) var(--ease), background var(--dur-hover) var(--ease); }
.act > span { font-size: 16px; line-height: 1; }
.act--add { background: var(--ink); color: var(--on-ink); }
.act--edit { background: var(--card); color: var(--ink-soft); border: 1px solid var(--line); }
.act--quiet { background: var(--paper); color: var(--ink-soft); }
.act--danger { background: var(--bad-bg); color: var(--bad); }
.act:hover { opacity: .85; }
.act:disabled { opacity: .5; cursor: default; }
.card { background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow); min-width: 0; }
.panel { padding: 20px; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.section { margin-top: 32px; }
.section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.section-head > .muted, .section-head > .text-link { margin-left: auto; font-size: 12px; }
.tick { width: 5px; height: 20px; border-radius: 3px; background: var(--ink); flex: none; }
.count { padding: 2px 8px; border-radius: var(--r-pill); background: var(--gnone-bg); color: var(--muted); font-size: 11px; font-weight: 700; }
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--r-pill); padding: 4px 10px; background: var(--gnone-bg); color: var(--gnone); font-size: 11px; font-weight: 700; line-height: 1.4; }
.chip--priority { background: var(--yellow); color: var(--ink); }
.chip--monitor { background: var(--gB-bg); color: var(--gB); }
.chip--ok { background: var(--ok-bg); color: var(--ok); }
.chip--bad { background: var(--bad-bg); color: var(--bad); }
.chip--pending { background: var(--yellow-tint); color: var(--ink); }
.chip-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flag { width: 24px; height: 17px; border-radius: 2px; display: inline-block; object-fit: cover; box-shadow: 0 0 0 1px rgba(27,26,24,.16); vertical-align: middle; flex: none; }
.nation { display: inline-flex; align-items: center; gap: 8px; }
.grade { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: var(--r-pill); white-space: nowrap; padding: 4px 12px; font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.3; }
.grade--ap { background: var(--gAp-bg); color: var(--gAp); }
.grade--a { background: var(--gA-bg); color: var(--gA); }
.grade--b { background: var(--gB-bg); color: var(--gB); }
.grade--c { background: var(--gC-bg); color: var(--gC); }
.grade--none { background: var(--gnone-bg); color: var(--gnone); font-size: 13px; }
.grade--lg { padding: 6px 20px; font-size: 28px; }
.grade-button { min-width: 56px; min-height: 44px; opacity: 1; }
.grade-button[aria-pressed='true'] { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.grade-button:hover { opacity: 1; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-label { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .04em; color: var(--ink-soft); }
.form-control { width: 100%; height: 42px; padding: 0 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-inner); color: var(--ink); font-size: 14px; font-family: var(--font-body); transition: border-color var(--dur-hover) var(--ease); }
textarea.form-control { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.form-control::placeholder { color: var(--faint); }
.form-control:focus-visible { border-color: var(--accent); }
.tabs, .seg { display: inline-flex; gap: 3px; padding: 4px; background: var(--card); border-radius: var(--r-pill); box-shadow: 0 0 0 1px var(--line); max-width: 100%; }
.tabs { display: flex; margin-bottom: 24px; }
.tab, .seg button { padding: 8px 12px; border-radius: var(--r-pill); color: var(--muted); font-family: var(--font-display); font-size: 17px; font-weight: 600; min-width: 0; flex: 1; transition: color var(--dur-hover) var(--ease), background var(--dur-state) var(--ease); }
.tab[aria-selected='true'], .seg button[aria-pressed='true'] { background: var(--ink); color: var(--on-ink); }
.team-tabs .tab { font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 24px; }
.filters .form-field:first-child { grid-column: 1 / -1; }
.filters select { background: var(--card); border-radius: var(--r-pill); font-size: 12px; }
.filters select.is-active { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar .view-switch { margin-left: auto; }
.notice { padding: 12px 16px; border-radius: var(--r-inner); background: var(--paper); color: var(--ink-soft); font-size: 12px; }
.notice--warning { background: var(--warn-bg); color: var(--warn); }
.notice--ok { background: var(--ok-bg); color: var(--ok); }
.notice + .notice { margin-top: 10px; }
.empty { padding: 32px; text-align: center; color: var(--muted); }
.index-intro { padding: 30px 24px; border-radius: var(--r-panel); background: var(--card); box-shadow: var(--shadow); }
.index-intro h2 { font-size: 44px; }
.index-intro p:not(.eyebrow) { margin-top: 16px; color: var(--muted); max-width: 55ch; }
.index-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; transition: transform var(--dur-state) var(--ease), box-shadow var(--dur-state) var(--ease); }
.index-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.index-card p { color: var(--muted); font-size: 12px; }
.index-card .number { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.index-card .open { margin-top: auto; padding-top: 8px; font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.event-card { padding: 24px; display: flex; flex-direction: column; gap: 16px; transition: box-shadow var(--dur-state) var(--ease); }
.event-card:hover { box-shadow: var(--shadow-lift); }
.event-card h3 { font-size: 32px; }
.event-flags { display: flex; gap: 8px; }
.event-place { color: var(--muted); font-size: 12px; }
.event-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; background: var(--paper); padding: 16px; border-radius: var(--r-inner); }
.event-stats span { display: block; font-size: 11px; margin-top: 4px; color: var(--muted); }
.event-foot { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.new-event { width: 100%; min-height: 240px; padding: 24px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; background: var(--line-soft); border-radius: var(--r-card); }
.new-event .plus { width: 44px; height: 44px; display: grid; place-items: center; background: var(--card); border-radius: 50%; font-family: var(--font-display); font-size: 28px; }
.new-event small { color: var(--muted); font-size: 12px; max-width: 24ch; }
.event-summary { display: grid; gap: 16px; }
.event-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 12px; }
.fixture { display: grid; gap: 16px; padding: 20px; }
.fixture-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.fixture-teams { display: grid; grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr); gap: 10px; align-items: center; text-align: center; }
.fixture-team { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.fixture-team .flag { width: 32px; height: 23px; }
.fixture-team b { font-family: var(--font-display); font-size: 23px; font-weight: 700; }
.fixture-teams .vs { color: var(--muted); font-family: var(--font-display); }
.fixture-footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 12px; box-shadow: 0 -1px 0 var(--line-soft); }
.fixture-footer a { margin-left: auto; }
.country-grid { display: grid; gap: 24px; }
.country-sheet { padding: 20px 16px; }
.country-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.country-title .count { margin-left: auto; }
.position-title { display: flex; align-items: center; gap: 8px; margin: 20px 0 8px; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink-soft); }
.sheet-row { display: grid; grid-template-columns: 30px minmax(0,1fr) 32px 36px; gap: 8px; align-items: center; padding: 11px 0; box-shadow: 0 1px 0 var(--line-soft); }
.shirt { display: inline-grid; place-items: center; width: 30px; height: 34px; border-radius: 8px; background: var(--paper); font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.sheet-name { display: block; width: 100%; text-align: left; min-width: 0; }
.sheet-name b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.sheet-name small { display: block; color: var(--muted); font-size: 10px; line-height: 1.5; margin-top: 3px; overflow-wrap: anywhere; }
.sheet-row > .grade { padding: 4px 7px; font-size: 16px; }
.star-button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-soft); font-size: 18px; }
.star-button[aria-pressed='true'] { background: var(--yellow); color: var(--ink); }
.match-heading { padding: 24px 0; }
.match-heading .fixture-teams { max-width: 540px; margin: 18px auto 0; }
.match-heading .fixture-team { flex-direction: row; justify-content: center; gap: 8px; }
.match-heading .fixture-team b { font-size: 26px; }
.match-layout { display: grid; gap: 24px; align-items: start; }
.video-column { min-width: 0; }
.video-shell { overflow: hidden; border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow); }
.video-screen { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; }
.video-screen::before { content: ''; position: absolute; inset: 16%; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; pointer-events: none; }
.video-match-label { position: absolute; top: 16px; left: 16px; color: rgba(255,255,255,.66); font-size: 10px; letter-spacing: .04em; }
.video-caption-label { position: absolute; bottom: 15px; left: 16px; font-family: var(--font-display); font-size: 16px; color: rgba(255,255,255,.6); }
.video-play { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.13); color: var(--on-ink); }
.video-play svg { width: 20px; height: 20px; }
.video-time { position: absolute; bottom: 14px; right: 16px; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.video-controls { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.video-controls .icon-button { width: 32px; height: 32px; }
.scrubber { flex: 1; min-width: 0; width: 100%; height: 24px; accent-color: var(--ink); margin: 0; }
.time-small { flex: none; font-size: 11px; color: var(--ink-soft); min-width: 33px; }
.video-source { background: var(--paper); padding: 3px 8px; border-radius: var(--r-pill); font-size: 10px; color: var(--muted); }
.video-bottom { padding: 0 16px 16px; }
.video-bottom h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.video-bottom p { color: var(--muted); font-size: 11px; margin-top: 4px; }
.watch-note { margin-top: 16px; padding: 16px; background: var(--yellow-tint); color: var(--ink-soft); border-radius: var(--r-inner); font-size: 12px; }
.watch-note strong { display: block; color: var(--ink); margin-bottom: 4px; }
.lineup-card { padding: 16px; }
.lineup-card .tabs { margin-bottom: 16px; background: var(--paper); box-shadow: none; }
.lineup-label { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.drawer-layer { position: fixed; inset: var(--sample-height) 0 0; z-index: 80; pointer-events: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(27,26,24,.24); pointer-events: auto; }
.drawer-panel { position: absolute; bottom: 0; left: 0; right: 0; max-height: 85vh; max-height: 85dvh; display: flex; flex-direction: column; background: var(--card); color: var(--ink); border-radius: 22px 22px 0 0; box-shadow: var(--shadow-modal); pointer-events: auto; animation: drawer-enter var(--dur-enter) var(--ease); }
.drawer-panel::before { content: ''; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--line); margin: 8px auto 0; flex: none; }
.drawer-head { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; flex: none; box-shadow: 0 1px 0 var(--line-soft); }
.drawer-head > div { min-width: 0; flex: 1; }
.drawer-head h2 { overflow-wrap: anywhere; font-family: var(--font-display); font-weight: 700; font-size: 27px; line-height: 1.12; }
.drawer-head p { color: var(--muted); font-size: 11px; margin-top: 6px; }
.close-button { flex: none; width: 36px; height: 36px; display: grid; place-items: center; background: var(--paper); border-radius: 50%; font-size: 24px; }
.drawer-body { overflow-y: auto; overscroll-behavior: contain; padding: 20px; min-height: 0; }
.drawer-body > * + * { margin-top: 22px; }
.drawer-body .chip-row { margin-top: 8px; }
.drawer-body fieldset legend { margin-bottom: 10px; }
.drawer-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.moments-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.moment-list { margin-top: 10px; }
.moment-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; min-width: 0; }
.moment-jump { flex: none; background: var(--paper); border-radius: 7px; padding: 6px 8px; font-family: var(--font-display); font-size: 18px; font-weight: 600; min-width: 54px; text-align: center; }
.moment-label { min-width: 0; flex: 1; height: 36px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); font-size: 12px; }
.moment-remove { flex: none; width: 30px; height: 36px; color: var(--muted); font-size: 19px; }
.manual-moment { display: grid; grid-template-columns: 70px minmax(0,1fr) 44px; gap: 8px; margin-top: 10px; }
.manual-moment .form-control { height: 38px; padding: 0 9px; font-size: 12px; }
.manual-moment .act { padding: 7px 10px; }
.tier-control { display: flex; gap: 4px; background: var(--paper); padding: 4px; border-radius: var(--r-pill); }
.tier-control button { flex: 1; min-width: 0; padding: 8px 10px; border-radius: var(--r-pill); font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--muted); }
.tier-control button[aria-pressed='true'] { background: var(--yellow); color: var(--ink); }
.tier-hint { font-size: 11px; color: var(--muted); margin-top: 8px; }
.save-status { display: flex; gap: 8px; align-items: center; color: var(--ink-soft); font-size: 11px; font-weight: 700; padding: 12px 20px; box-shadow: 0 -1px 0 var(--line-soft); background: var(--card); flex: none; border-radius: 0 0 var(--r-inner) var(--r-inner); }
.save-status .dot { width: 16px; height: 16px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--on-ink); background: var(--ok-dot); font-size: 9px; }
.jump-status { padding: 10px 14px; font-size: 12px; background: var(--ok-bg); color: var(--ok); border-radius: var(--r-inner); margin-top: 12px; }
.player-hero { padding: 24px; display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; border-radius: var(--r-panel); }
.player-monogram { width: 64px; height: 64px; border-radius: 16px; flex: none; display: grid; place-items: center; font-family: var(--font-display); font-size: 30px; font-weight: 700; background: var(--yellow-tint); color: var(--ink-soft); }
.hero-identity { min-width: 0; flex: 1 1 240px; }
.hero-identity h2 { margin: 12px 0 8px; font-size: 38px; overflow-wrap: anywhere; }
.sheet-alias { color: var(--muted); font-size: 12px; }
.player-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.player-facts > div { min-width: 0; }
.player-facts dt { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.player-facts dd { margin: 4px 0 0; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.hero-side { display: flex; align-items: center; gap: 16px; background: var(--paper); padding: 16px; border-radius: var(--r-inner); width: 100%; }
.hero-side .t-label { font-size: 10px; color: var(--muted); margin-bottom: 6px; }
.video-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.video-card { overflow: hidden; }
.video-card .video-shell { border-radius: 0; box-shadow: none; }
.video-moments { padding: 20px; }
.scout-moments + .scout-moments { margin-top: 16px; }
.scout-moments h4 { font-size: 11px; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.moment-link { display: flex; align-items: center; width: 100%; gap: 10px; padding: 8px 0; text-align: left; font-size: 12px; color: var(--ink-soft); }
.moment-link time { font-family: var(--font-display); font-size: 18px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--paper); flex: none; }
.moment-link span { flex: 1; min-width: 0; }
.moment-link::after { content: '\2197'; flex: none; font-size: 16px; color: var(--muted); }
.moment-link:hover { color: var(--ink); }
.table-card { overflow: hidden; padding: 8px 16px; }
.assessment-table { width: 100%; font-size: 12px; }
.assessment-table th { text-align: left; font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--muted); padding: 10px 8px; }
.assessment-table td { padding: 12px 8px; box-shadow: 0 -1px 0 var(--line-soft); vertical-align: top; }
.assessment-table td:first-child { font-weight: 700; }
.assessment-table .grade { font-size: 16px; padding: 3px 9px; }
.assessment-table small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.summary-grid { display: grid; gap: 16px; }
.summary-card { padding: 20px; }
.summary-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.summary-grades { display: flex; gap: 18px; margin-bottom: 16px; }
.summary-grades .t-label { display: block; font-size: 9px; margin-bottom: 6px; color: var(--muted); }
.summary-grades select { border-radius: var(--r-pill); font-family: var(--font-display); font-size: 24px; font-weight: 700; min-width: 90px; border-color: transparent; }
.summary-grades select[data-chosen-grade='A+'] { background: var(--gAp-bg); color: var(--gAp); }
.summary-grades select[data-chosen-grade='A'] { background: var(--gA-bg); color: var(--gA); }
.summary-grades select[data-chosen-grade='B'] { background: var(--gB-bg); color: var(--gB); }
.summary-grades select[data-chosen-grade='C'] { background: var(--gC-bg); color: var(--gC); }
.summary-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.65; }
.summary-card .save-status { padding: 12px 0 0; box-shadow: none; margin-top: 12px; }
.shortlist-section { margin-top: 28px; }
.review-grid { display: grid; gap: 24px; align-items: start; }
.review-team { padding: 20px 16px; }
.review-team header { margin-bottom: 12px; }
.review-team header p { color: var(--muted); font-size: 11px; margin-top: 6px; }
.review-table { width: 100%; table-layout: fixed; }
.review-table th { text-align: left; font-family: var(--font-display); font-size: 14px; color: var(--muted); font-weight: 600; padding: 8px 4px; }
.review-table th:first-child { width: 32px; }
.review-table th:nth-child(3) { width: 30px; }
.review-table th:last-child { width: 54px; }
.review-table td { font-size: 10px; padding: 10px 4px; vertical-align: top; box-shadow: 0 -1px 0 var(--line-soft); overflow-wrap: anywhere; }
.review-table .review-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.2; display: block; }
.review-table small { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.review-table .review-conflict td { background: var(--warn-bg); }
.conflict-choice { padding: 12px; background: var(--warn-bg); border-radius: var(--r-inner); margin-top: 12px; }
.conflict-choice p { font-size: 11px; margin-bottom: 10px; color: var(--warn); }
.radio-choice { display: flex; align-items: flex-start; gap: 8px; padding: 8px; border-radius: 8px; font-size: 11px; cursor: pointer; }
.radio-choice:has(input:checked) { background: var(--yellow-tint); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
input[type='radio'] { accent-color: var(--ink); margin-top: 3px; }
.review-actions { position: sticky; bottom: 0; display: flex; gap: 10px; align-items: center; justify-content: flex-end; padding: 16px; margin-top: 24px; border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-lift); flex-wrap: wrap; }
.inbox-heading { display: flex; align-items: center; gap: 16px; }
.inbox-heading .inbox-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: var(--yellow-tint); }
.inbox-icon svg { width: 25px; height: 25px; }
.inbox-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.board-card { padding: 20px 18px 0; overflow: hidden; transition: transform var(--dur-state) var(--ease), box-shadow var(--dur-state) var(--ease); }
.board-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.board-card-trigger { width: 100%; display: flex; gap: 14px; align-items: flex-start; text-align: left; }
.board-card .player-monogram { width: 60px; height: 60px; border-radius: 15px; background: var(--paper); font-size: 27px; }
.board-id { min-width: 0; flex: 1; }
.board-id h3 { font-family: var(--font-display); font-size: 27px; font-weight: 700; line-height: 1.05; overflow-wrap: anywhere; }
.board-id p { font-size: 11px; margin-top: 7px; color: var(--muted); overflow-wrap: anywhere; }
.board-facts { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; padding: 11px 12px; margin: 16px 0; border-radius: var(--r-inner); background: var(--paper); font-size: 11px; color: var(--ink-soft); }
.board-event { display: flex; align-items: center; gap: 8px; justify-content: space-between; margin: 12px 0; font-size: 11px; color: var(--muted); }
.board-scouts { margin: 0 -18px; }
.board-scout { padding: 9px 18px; display: flex; align-items: center; gap: 8px; box-shadow: 0 -1px 0 var(--line-soft); font-size: 11px; }
.board-scout > span:first-child { flex: 1; }
.board-scout small { color: var(--muted); font-size: 9px; }
.board-scout .grade { min-width: 32px; font-size: 16px; padding: 2px 8px; }
.board-footer { padding: 13px 18px; margin: 0 -18px; display: flex; justify-content: space-between; align-items: center; background: var(--paper); font-size: 11px; color: var(--muted); }
.board-footer button { color: var(--ink); font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.inbox-table { display: grid; gap: 12px; }
.intake-drawer .drawer-panel { height: calc(100dvh - var(--sample-height)); max-height: calc(100dvh - var(--sample-height)); border-radius: 0; }
.intake-drawer .drawer-panel::before { display: none; }
.drawer-actions { display: flex; gap: 10px; padding: 16px 20px; background: var(--card); box-shadow: 0 -1px 0 var(--line); flex: none; }
.drawer-actions .act { flex: 1; }
.package-summary { padding: 14px; background: var(--paper); border-radius: var(--r-inner); }
.package-summary header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.package-summary header strong { flex: 1; font-size: 12px; }
.package-summary p { font-size: 12px; color: var(--ink-soft); line-height: 1.65; }
.package-summary + .package-summary { margin-top: 12px; }
.package-match-report { padding: 12px 0; box-shadow: 0 1px 0 var(--line-soft); font-size: 12px; }
.package-match-report > div { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.package-match-report > div strong { flex: 1; font-size: 11px; }
.package-match-report p { color: var(--ink-soft); }
.modal-layer { position: fixed; inset: var(--sample-height) 0 0; z-index: 140; display: grid; place-items: center; background: rgba(27,26,24,.44); padding: 16px; }
.modal { width: min(440px,100%); max-height: 90dvh; overflow-y: auto; background: var(--card); border-radius: var(--r-card); box-shadow: var(--shadow-modal); padding: 22px 22px 18px; }
.modal-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.modal-heading h2 { flex: 1; font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.1; }
.modal > p { color: var(--muted); font-size: 12px; margin-bottom: 20px; }
.modal form > * + * { margin-top: 14px; }
.modal .radio-choice { padding: 11px 12px; background: var(--paper); margin-bottom: 8px; border-radius: var(--r-inner); font-size: 13px; }
.modal-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.validation-error { color: var(--bad); font-size: 12px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 12px; }
.team-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.team-pick { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; cursor: pointer; }
button.team-pick { border: 0; font: inherit; font-size: 13px; color: var(--ink); text-align: left; }
.team-pick:has(input:checked), .team-pick[aria-pressed="true"] { background: var(--yellow-tint); box-shadow: inset 0 0 0 1px var(--ink); }
.form-file { padding: 9px 12px; height: auto; font-size: 13px; }
.team-pick input { margin: 0; accent-color: var(--ink); }
body:has(.modal-layer:not([hidden]), .drawer-layer:not([hidden])) .mock-link { display: none; }
.toast { position: fixed; bottom: 16px; right: 16px; z-index: 900; max-width: calc(100vw - 140px); padding: 12px 16px; border-radius: var(--r-inner); background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-lift); font-size: 12px; }
.dossier-columns { display: grid; gap: 24px; margin-top: 24px; }
.dossier-main { min-width: 0; }
.dossier-rail { display: flex; flex-direction: column; gap: 20px; }
.dossier-rail .panel h3 { margin-bottom: 12px; }
.rail-facts { margin: 0; }
.rail-facts div { padding: 9px 0; display: flex; gap: 8px; justify-content: space-between; font-size: 12px; box-shadow: 0 1px 0 var(--line-soft); }
.rail-facts dt { color: var(--muted); }
.rail-facts dd { margin: 0; text-align: right; }
.tile-button { width: 100%; display: block; text-align: left; }
.tile-thumb { position: relative; aspect-ratio: 16/9; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); }
.tile-thumb .video-play { pointer-events: none; }
.tile-body { padding: 16px 20px; }
.tile-body .t-label { font-size: 10px; color: var(--muted); }
.tile-body h4 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-top: 5px; }
.tile-body p { font-size: 11px; color: var(--muted); margin-top: 8px; }
.tile-moments { padding: 0 20px 20px; }
.video-modal { background: rgba(20,19,17,.82); backdrop-filter: blur(4px); padding: 48px 12px 12px; }
.video-modal .modal { width: min(1100px,100%); padding: 0; background: transparent; color: var(--on-ink); overflow: auto; box-shadow: none; }
.video-modal .modal-heading { margin-bottom: 16px; }
.video-modal .close-button { background: rgba(255,255,255,.12); color: var(--on-ink); }
.video-modal .video-shell { background: var(--card); }
.video-modal .video-bottom { color: var(--ink); padding-top: 12px; }
.video-modal .video-screen { background: #000; }
.flow-card { padding: 24px 20px; }
.flow-card > header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.flow-number { width: 38px; height: 38px; border-radius: 11px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; flex: none; font-family: var(--font-display); font-size: 23px; font-weight: 700; }
.flow-card header p { color: var(--muted); font-size: 12px; margin-top: 6px; }
.flow-line { display: flex; flex-direction: column; align-items: stretch; }
.flow-step { background: var(--paper); padding: 16px; border-radius: var(--r-inner); min-width: 0; }
.flow-step strong { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.15; }
.flow-step p { margin-top: 6px; color: var(--muted); font-size: 11px; }
.flow-step--active { background: var(--yellow-tint); }
.flow-step--ink { background: var(--ink); color: var(--on-ink); }
.flow-step--ink p { color: rgba(255,255,255,.7); }
.flow-arrow { align-self: center; color: var(--muted); font-family: var(--font-display); font-size: 22px; padding: 8px; }
.flow-arrow::before { content: '\2193'; }
.flow-branch { display: grid; gap: 12px; margin: 12px 0; }
.flow-branch > div { min-width: 0; }
.branch-label { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.flow-detail { margin-top: 20px; background: var(--paper); padding: 16px; border-radius: var(--r-inner); font-size: 11px; color: var(--muted); }
.flow-detail strong { color: var(--ink); }
.swimlanes { display: flex; flex-direction: column; gap: 16px; }
.lane-heading { display: none; }
.lane-tag { display: inline-block; margin-bottom: 8px; font-size: 9px; font-family: var(--font-body); font-weight: 700; letter-spacing: .09em; color: var(--muted); }
.swim-arrow { text-align: center; font-size: 11px; color: var(--muted); }
.swim-arrow::after { content: '\2193'; display: block; margin-top: 6px; font-size: 22px; }
.decision-branches { display: grid; gap: 10px; }
@keyframes drawer-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 700px) {
  :root { --sample-height: 24px; }
  .sample-banner { font-size: 10px; }
  .site-inner { padding: 14px 32px; gap: 16px; }
  .mark { font-size: var(--fs-title); }
  .mark span { display: inline; }
  .mark__sub::before { content: '/ '; color: var(--muted); }
  .brand p { display: block; margin-top: 3px; }
  .head-actions { gap: 10px; }
  .action-text { display: inline; }
  .head-actions .act { padding: 7px 16px; }
  .site-nav { padding: 0 32px 10px; gap: 8px; }
  .site-nav a { padding: 6px 14px; }
  .wrap { padding: 26px 32px 84px; }
  .page-head { align-items: center; margin-top: 24px; }
  .page-head .t-h1 { font-size: 40px; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .index-intro { padding: 40px; }
  .index-intro h2 { font-size: 54px; }
  .index-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .event-grid { grid-template-columns: minmax(0,2fr) minmax(0,1fr); max-width: 1040px; }
  .event-card { padding: 32px; }
  .event-card h3 { font-size: 38px; }
  .tabs { display: inline-flex; min-width: 380px; }
  .team-tabs { display: flex; min-width: 0; }
  .country-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filters { grid-template-columns: repeat(3,minmax(0,200px)); align-items: end; }
  .filters .form-field:first-child { grid-column: auto; }
      .player-hero { padding: 30px 32px; align-items: center; }
  .player-monogram { width: 120px; height: 120px; border-radius: 26px; font-size: 46px; }
  .hero-identity h2 { font-size: 54px; max-width: 650px; }
  .player-facts { display: flex; flex-wrap: wrap; gap: 16px 28px; }
  .hero-side { width: auto; flex: none; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
  .summary-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .video-grid { grid-template-columns: minmax(0,2fr) minmax(0,1fr); }
  .video-grid > .video-card:only-child { grid-column: 1; }
  .review-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .review-team { padding: 24px; }
  .review-table td { font-size: 12px; padding: 12px 6px; }
  .review-table .review-name { font-size: 19px; }
  .inbox-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .intake-drawer .drawer-panel { width: 540px; height: 100%; max-height: 100%; }
  .drawer-panel { left: auto; right: 0; top: 0; bottom: 0; width: 420px; max-height: 100%; border-radius: 18px 0 0 18px; animation-name: drawer-enter; }
  .drawer-panel::before { display: none; }
  .report-drawer .drawer-scrim { background: rgba(27,26,24,.08); }
  .drawer-head { padding: 24px; }
  .drawer-body { padding: 24px; }
  .save-status { padding: 14px 24px; }
  .flow-line { flex-direction: row; align-items: stretch; }
  .flow-line > .flow-step { flex: 1; }
  .flow-arrow { padding: 12px; }
  .flow-arrow::before { content: '\2192'; }
  .flow-branch { grid-template-columns: 1fr 1fr; gap: 20px; }
  .flow-card { padding: 32px; }
  .swimlanes { display: grid; grid-template-columns: minmax(0,1fr) 70px minmax(0,1fr); gap: 20px 12px; align-items: start; }
  .lane-heading { display: block; padding: 12px 16px; border-radius: var(--r-inner); font-family: var(--font-display); font-size: 23px; font-weight: 700; background: var(--ink); color: var(--on-ink); }
  .lane-heading--field { grid-column: 1; grid-row: 1; }
  .lane-heading--horsens { grid-column: 3; grid-row: 1; }
  .swimlanes .field-step { grid-column: 1; }
  .swimlanes .horsens-step { grid-column: 3; }
  .swim-start { grid-row: 2; }
  .swim-pending { grid-row: 2; }
  .swim-package { grid-row: 3; }
  .swim-decision { grid-row: 4; }
  .swim-result { grid-row: 5; }
  .swim-feedback { grid-row: 5; }
  .swim-updates { grid-row: 6; }
  .swim-arrow { grid-column: 2; align-self: center; font-size: 10px; }
  .swim-arrow::after { content: '\2192'; }
  .swim-arrow--back::after { content: '\2190'; }
  .swim-arrow--send { grid-row: 2; }
  .swim-arrow--back { grid-row: 5; }
  .swim-arrow--update { grid-row: 6; }
  .lane-tag { display: none; }
  .decision-branches { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .match-layout { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 32px; }
  .video-column { position: sticky; top: 150px; }
  .lineup-card { padding: 24px; }
  .inbox-grid { grid-template-columns: repeat(auto-fill,minmax(min(440px,100%),1fr)); }
  .board-card .player-monogram { width: 76px; height: 76px; }
  .board-id h3 { font-size: 31px; }
  .inbox-table .board-card { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); gap: 16px; padding-bottom: 16px; align-items: center; }
  .inbox-table .board-card-trigger { grid-row: 1 / 3; }
  .inbox-table .board-facts, .inbox-table .board-event { margin: 0; }
  .inbox-table .board-scouts { grid-column: 3; grid-row: 1 / 3; margin: 0; }
  .inbox-table .board-footer { grid-column: 1 / -1; margin-top: 8px; margin-bottom: -16px; }
  .dossier-columns { grid-template-columns: minmax(0,1fr) 320px; align-items: start; }
  .dossier-rail { position: sticky; top: 150px; }
}
.flow-card > .flow-arrow::before, .flow-branch .flow-arrow::before { content: '\2193'; }
@media (max-width: 699px) {
  .head-actions .icon-button, .head-actions .user-button { width: 32px; height: 36px; }
  .horsens-page .mark { font-size: 15px; }
  .horsens-page .mark span { display: inline; }
  .horsens-page .head-actions { gap: 4px; }
  .horsens-page .head-actions .act { padding: 7px 9px; }
  .flow-card .t-h2 { font-size: 25px; }
  .page-head .act { font-size: 15px; }
  .assessment-table th, .assessment-table td { padding-left: 4px; padding-right: 4px; }
  .assessment-table th { font-size: 14px; }
  .assessment-table .grade { padding: 3px 8px; }
  .match-heading .fixture-team { flex-direction: column; }
  .review-actions .act { flex: 1; font-size: 15px; }
  .drawer-body { padding-bottom: 48px; }
}
@media (pointer: coarse) {
  button, .act, .tab, .site-nav a, .back, .text-link, .form-control { min-height: 44px; }
  .icon-button, .user-button, .head-actions .icon-button, .head-actions .user-button, .star-button, .close-button, .moment-remove { min-width: 44px; width: 44px; height: 44px; }
  .sheet-row { grid-template-columns: 30px minmax(0,1fr) 32px 44px; }
  .scrubber { height: 44px; }
  .grade-button { min-width: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Shortlist rows (shortlist page and event Shortlist tab). */
.status-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip-toggle { min-height: 36px; padding: 6px 12px; font-size: 12px; background: var(--card); color: var(--ink); box-shadow: 0 0 0 1px var(--line); transition: background var(--dur-hover) var(--ease), color var(--dur-hover) var(--ease); }
.chip-toggle:hover { background: var(--paper); }
.chip-toggle[aria-pressed='true'] { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.sl-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; padding: 16px; margin-top: 12px; align-items: start; }
.sl-id { min-width: 0; }
.sl-id h3 { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; font-family: var(--font-display); font-size: 23px; font-weight: 700; }
.sl-id h3 a { overflow-wrap: anywhere; }
.sl-id p { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.sl-assess { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 11px; color: var(--muted); }
.sl-others { display: inline-flex; align-items: center; gap: 6px; padding-left: 10px; margin-left: 2px; box-shadow: -1px 0 0 var(--line); }
.grade--sm { padding: 2px 8px; font-size: 14px; }
.tier-control--sm { width: max-content; max-width: 100%; padding: 3px; }
.tier-control--sm button { flex: none; padding: 5px 12px; font-size: 14px; }
.sl-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; min-width: 0; }
.sl-status .chip { white-space: normal; }
.sl-status .chip--bad { display: block; max-width: 34ch; padding: 8px 12px; border-radius: var(--r-inner); text-align: left; font-weight: 600; line-height: 1.45; }
.sl-actions { display: inline-flex; gap: 8px; }
.toast-undo { margin-left: 8px; font-weight: 700; color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1200px) {
  .sl-row { grid-template-columns: minmax(0,1fr) 340px 204px 250px; gap: 12px 20px; padding: 12px 20px; align-items: center; }
  .sl-assess { flex-wrap: nowrap; white-space: nowrap; }
  .sl-status { flex-direction: column; align-items: flex-end; text-align: right; gap: 6px; }
  .sl-status .chip--bad { margin-left: auto; }
}

/* D0.1 additions: the existing Horsens tokens remain unchanged. */
:root { --sample-height: 48px; --field-sticky-top: 170px; }
.sample-banner { gap: 10px; justify-content: space-between; padding: 2px 12px; text-align: left; }
.sample-banner > span { max-width: 62ch; }
.sample-banner a { flex: none; display: inline-flex; align-items: center; min-height: 40px; text-decoration: underline; font-size: 10px; font-weight: 700; color: var(--ink); }
.language-switch { display: flex; background: var(--paper); border-radius: var(--r-pill); padding: 2px; }
.language-switch button { min-width: 32px; min-height: 34px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; }
.language-switch button[aria-pressed='true'] { background: var(--ink); color: var(--on-ink); }
.site-nav { flex-wrap: wrap; }
.offline-pill { margin-left: auto; background: var(--paper); }
.waiting-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); display: inline-block; flex: none; }
.waiting-label { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; color: var(--muted); }
.header-date { display: none; font-size: 12px; color: var(--muted); white-space: nowrap; }
.horsens-page .mark__sub::before { content: ''; }
.user-pill { width: auto; display: inline-flex; gap: 8px; padding: 5px 10px 5px 5px; border-radius: var(--r-pill); background: var(--paper); box-shadow: 0 0 0 1px var(--line); font-weight: 500; }
.user-avatar { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.user-pill .user-avatar { background: var(--ink); color: var(--on-ink); }
.user-chevron { width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: -4px 3px 0 1px; }
.chat-button { background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.field-inbox-pill { background: var(--paper); font-size: 15px; box-shadow: 0 0 0 1px var(--line); }
.field-inbox-pill > .badge { font-size: 11px; line-height: 1.4; }
.shirt-age { display: flex; gap: 5px; align-items: center; }
.age-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: 30px; height: 42px; background: var(--paper); border-radius: 8px; font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.age-badge b { font-size: 24px; line-height: 1; }
.age-badge small { font-size: 9px; line-height: 1.2; letter-spacing: .04em; }
.sheet-row { grid-template-columns: 65px minmax(0,1fr) 30px 36px; gap: 5px; }
.sheet-name b { font-size: 18px; }
.sheet-name small { font-size: 10px; }
.drawer-head .report-age { font-family: var(--font-display); font-size: 23px; font-weight: 700; line-height: 1.2; color: var(--ink); margin: 8px 0; }
.trait-chips, .tag-labels { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0; }
.trait-chips button, .tag-labels button { min-height: 38px; padding: 7px 12px; border-radius: var(--r-pill); background: var(--paper); font-size: 12px; font-weight: 700; }
.trait-chips button[aria-pressed='true'], .tag-labels button[aria-pressed='true'] { background: var(--yellow); color: var(--ink); }
.trait-chips button:disabled { opacity: .4; cursor: default; }
.mock-controls { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 0 0 18px; font-size: 11px; color: var(--muted); }
.mock-controls label, .awake-switch { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; }
input[type='checkbox'], input[type='radio'] { accent-color: var(--ink); }
.kickoff-panel, .tag-tray { padding: 18px; margin-top: 16px; }
.kickoff-panel .section-head { margin-bottom: 8px; gap: 8px; }
.kickoff-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.kickoff-buttons .act { flex: 1; gap: 9px; padding: 7px 11px; }
.kickoff-buttons span { font-variant-numeric: tabular-nums; }
.match-clock { padding: 18px; margin: 16px 0; }
.clock-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.clock-bar > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.clock-half { flex-basis: 100%; font-size: 10px; text-transform: uppercase; font-weight: 700; letter-spacing: .05em; color: var(--muted); }
.match-time { font-family: var(--font-display); font-size: 56px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.clock-minute { font-family: var(--font-display); font-size: 25px; color: var(--muted); }
.tag-button { flex: none; background: var(--ink); color: var(--on-ink); width: 84px; height: 68px; border-radius: 14px; font-family: var(--font-display); font-size: 32px; font-weight: 700; }
html[lang='fr'] .tag-button { font-size: 27px; }
.is-unlinked .video-play, .is-unlinked .video-controls { opacity: .3; }
.is-unlinked .video-time { display: none; }
.review-table th:first-child { width: 70px; }
.clock-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.clock-actions > .t-micro { flex-basis: 100%; }
.awake-switch { font-size: 11px; color: var(--muted); }
.tag-tray .section-head { margin-bottom: 8px; }
.tray-tag { padding: 12px 0; box-shadow: 0 1px 0 var(--line-soft); }
.tray-tag button { display: flex; align-items: center; gap: 8px; min-height: 44px; width: 100%; text-align: left; }
.tray-tag time { font-family: var(--font-display); font-size: 23px; font-weight: 700; }
.tray-tag input { width: 100%; margin-top: 6px; }
.moment-jump { display: flex; flex-direction: column; justify-content: center; line-height: 1.15; }
.moment-jump small { font: 600 9px/1.3 var(--font-body); }
.player-picker-list { max-height: 50vh; overflow-y: auto; margin-top: 12px; }
.player-picker-list button { display: flex; align-items: center; gap: 8px; min-height: 48px; width: 100%; padding: 7px 0; text-align: left; box-shadow: 0 1px 0 var(--line-soft); font-family: var(--font-display); font-size: 19px; }
.summary-editor-layout { display: grid; gap: 20px; }
.summary-player { margin-bottom: 24px; }
.summary-player h3 { margin: 10px 0; overflow-wrap: anywhere; }
.summary-player p { color: var(--muted); font-size: 12px; }
.summary-grade-pickers { display: grid; gap: 20px; margin-bottom: 24px; }
.summary-editor textarea { min-height: 280px; }
.language-field { max-width: 230px; }
.summary-editor .save-status { padding: 16px 0; }
.evidence-panel > .t-xs { margin-top: 10px; }
.evidence-report { margin: 24px 0; }
.evidence-report .chip-row { margin-bottom: 12px; }
.evidence-report p { font-size: 12px; line-height: 1.7; }
.evidence-report li { display: flex; gap: 10px; padding: 10px 0; font-size: 11px; }
.evidence-report time { font-family: var(--font-display); font-size: 17px; flex: none; }
.language-tag { font-size: 10px; color: var(--muted); display: inline-block; margin: 8px 0; }
.translation-controls { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sample-translation { padding: 12px; background: var(--paper); border-radius: var(--r-inner); font-size: 12px; margin: 8px 0 16px; }
.written-report { margin-top: 12px; }
.intake-method + .intake-method { margin-top: 24px; }
.method-title { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.method-title p { font-size: 12px; color: var(--muted); margin-top: 8px; }
.drop-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 24px 16px; background: var(--paper); border-radius: var(--r-card); }
.drop-zone strong { font-family: var(--font-display); font-size: 27px; font-weight: 700; }
.drop-zone > span:not(.drop-icon) { color: var(--muted); font-size: 12px; }
.drop-icon { font-family: var(--font-display); font-size: 32px; line-height: 1; }
.drop-zone input { width: 100%; max-width: 280px; font-size: 11px; padding: 8px 0; }
.drop-zone.is-dragging { box-shadow: inset 0 0 0 3px var(--ink); }
.intake-demo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 14px 0; }
.recognised-list { border-radius: var(--r-inner); background: var(--paper); padding: 6px 14px; }
.recognised-row { display: grid; gap: 10px; padding: 14px 0; box-shadow: 0 1px 0 var(--line-soft); }
.recognised-row:last-child { box-shadow: none; }
.file-name { color: var(--muted); font-size: 10px; }
.recognised-row p { margin-top: 4px; font-size: 12px; font-weight: 600; }
.recognised-row > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.recognised-row small { color: var(--muted); font-size: 10px; }
.intake-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0 0; }
.fixture-preview { margin-top: 20px; }
.fixture-preview table { width: 100%; text-align: left; table-layout: fixed; font-size: 11px; }
.fixture-preview th { font-family: var(--font-display); font-size: 16px; font-weight: 600; padding: 12px 5px; }
.fixture-preview td { padding: 12px 5px; overflow-wrap: anywhere; }
.fixture-preview th:first-child { width: 30px; }
.fixture-preview th:last-child { width: 64px; }
.fixture-preview > button { margin-top: 16px; }
.attachment-note { margin-top: 20px; }
.compact-match-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.compact-match-form .venue-field { grid-column: 1 / -1; }
.compact-match-form .form-field:nth-child(3) { grid-column: 1 / -1; }
.team-select { display: flex; align-items: center; gap: 8px; }
.team-select select { min-width: 0; flex: 1; width: 100%; font-size: 11px; padding-left: 6px; }
.live-database { margin-bottom: 22px; }
.rev2-lanes { display: grid; gap: 20px; margin-bottom: 24px; }
.rev2-lane { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rev2-lane .lane-heading { display: block; padding: 12px 16px; border-radius: var(--r-inner); background: var(--ink); color: var(--on-ink); font-family: var(--font-display); font-size: 22px; }
.lane-connector { font-family: var(--font-display); font-size: 20px; color: var(--muted); }
.flow-branch--three .flow-line { flex-direction: column; }
.flow-branch--three .flow-arrow::before { content: '\2193'; }
@media (min-width: 700px) {
  :root { --sample-height: 28px; }
  .sample-banner { justify-content: center; gap: 24px; }
  .sample-banner a { min-height: 24px; }
  .user-pill { width: auto; }
  .summary-editor-layout { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); align-items: start; }
  .summary-grade-pickers { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .summary-editor { padding: 32px; }
  .evidence-panel { position: sticky; top: 170px; }
  .recognised-row { grid-template-columns: minmax(0,1fr) 200px; align-items: center; gap: 20px; }
  .recognised-row > div:last-child { justify-content: flex-end; }
  .intake-method { padding: 30px; }
  .compact-match-form { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .compact-match-form .form-field:nth-child(3) { grid-column: auto; }
  .compact-match-form .venue-field { grid-column: 1 / -1; }
  .flow-branch--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .rev2-lanes { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
}
@media (min-width: 1000px) {
  .header-date { display: inline; }
  .horsens-page .site-inner { gap: 12px; }
  .horsens-page .head-actions { gap: 10px; }
  .video-column { top: 170px; }
  .match-clock { margin-top: 16px; }
}
@media (max-width: 699px) {
  .horsens-page .site-inner { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .horsens-page .brand { flex: 1; }
  .horsens-page .mark { font-size: 20px; }
  .horsens-page .mark span { display: inline; }
  .horsens-page .brand p { display: block; font-size: 9px; }
  .horsens-page .head-actions { flex-basis: 100%; justify-content: flex-end; gap: 5px; }
  .horsens-page .head-actions .user-pill { width: auto; min-width: 72px; gap: 6px; padding: 5px 8px 5px 5px; }
  .horsens-page .user-chevron { display: none; }
  .horsens-page .action-text { display: inline; }
  .horsens-page .field-inbox-pill { margin-right: auto; font-size: 15px; }
  .match-layout { display: block; }
  .video-column { display: contents; }
  .match-clock.is-running { position: sticky; top: var(--field-sticky-top); z-index: 39; box-shadow: var(--shadow-lift); }
  .match-clock.is-running .clock-actions { gap: 6px; margin-top: 10px; }
  .match-clock.is-running .clock-actions > .t-micro { display: none; }
  .lineup-card { margin-top: 24px; }
  .trait-chips button { padding: 8px 10px; }
  .rev2-lane { display: contents; }
  .rev2-lane:first-child > .lane-heading { order: 0; }
  .rev2-lane:first-child > .flow-step:nth-child(2) { order: 1; }
  .rev2-lane:first-child > .lane-connector { order: 2; }
  .rev2-lane:last-child > .lane-heading { order: 3; }
  .rev2-lane:last-child > .flow-step:nth-child(2) { order: 4; }
  .rev2-lane:last-child > .decision-branches { order: 5; }
  .rev2-lane:first-child > .flow-step:nth-child(4) { order: 6; }
  .rev2-lane:first-child > .flow-step:nth-child(5) { order: 7; }
  .rev2-lane:last-child > .flow-step:last-child { order: 8; }
}
@media (pointer: coarse) {
  :root { --sample-height: 48px; }
  .sample-banner a { min-height: 44px; }
  .language-switch button, .trait-chips button, .tag-labels button { min-height: 44px; }
  .language-switch button { min-width: 44px; }
  .shirt { font-size: 24px; }
  .sheet-row { grid-template-columns: 65px minmax(0,1fr) 30px 44px; }
}

.moment-link time small { display: block; font: 600 10px/1.3 var(--font-body); color: var(--muted); }
.flow-card > .flow-line + .flow-line { margin-top: 24px; }
@media (min-width: 700px) { .report-drawer .drawer-scrim { pointer-events: none; background: transparent; } }
.drop-zone:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
#keep-awake { appearance: none; flex: none; width: 30px; height: 18px; border-radius: var(--r-pill); background: var(--gB-bg); position: relative; margin: 0; }
#keep-awake::before { content: ''; position: absolute; width: 12px; height: 12px; top: 3px; left: 3px; background: var(--card); border-radius: 50%; transition: transform var(--dur-hover) var(--ease); }
#keep-awake:checked { background: var(--ink); }
#keep-awake:checked::before { transform: translateX(12px); }
@media (pointer: coarse) {
  .awake-switch, .mock-controls label { min-height: 44px; }
  .moment-label, .sheet-name { min-height: 44px; }
  .trait-chips button, .tag-labels button { min-width: 44px; }
  .text-link, .sl-id h3 a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .team-pick, .radio-choice { min-height: 44px; }
  .user-menu a { display: flex; align-items: center; min-height: 44px; }
}

@media (min-width: 700px) {
  .rev2-lane:first-child > .flow-step:nth-child(4), .rev2-lane:first-child > .flow-step:nth-child(5) { position: relative; }
  .rev2-lane:first-child > .flow-step:nth-child(4)::after { content: '\2190'; position: absolute; right: -25px; top: 20px; color: var(--muted); font-size: 20px; }
  .rev2-lane:first-child > .flow-step:nth-child(5)::after { content: '\2192'; position: absolute; right: -25px; top: 20px; color: var(--muted); font-size: 20px; }
}

/* D0.2 people, tournament coverage and honest schedule previews. */
.shirt-age { gap: 9px; }
.age-badge { display: inline-flex; flex-direction: row; width: auto; min-width: 59px; height: 29px; padding: 4px 8px; border-radius: var(--r-pill); background: var(--line-soft); color: var(--ink); font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1; white-space: nowrap; }
.sheet-row { grid-template-columns: 97px minmax(0,1fr) 28px 36px; gap: 6px; }
.sheet-name b { overflow-wrap: anywhere; }
.mock-controls { padding: 12px 16px; margin: 18px 0 24px; background: var(--line-soft); border: 1px dashed var(--muted); border-radius: var(--r-inner); color: var(--ink-soft); gap: 4px 16px; }
.mock-controls > span:first-child, .mock-controls-title { flex-basis: 100%; font: 700 13px/1.4 var(--font-body); color: var(--ink); }
.mock-controls button[aria-pressed='true'] { background: var(--ink); color: var(--on-ink); }
.event-grid { gap: 20px; }
.competition { margin-top: 20px; margin-bottom: 2px; text-transform: none; letter-spacing: 0; }
.event-host { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 20px; font-size: 12px; }
.event-stats { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.event-stats b { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.event-stats span { font-size: 10px; }
.event-place { min-height: 57px; }
.event-team { padding: 18px 20px; margin: 24px 0; }
.event-team .section-head { margin-bottom: 12px; }
.event-team .section-head button { margin-left: auto; }
#event-members { display: flex; flex-wrap: wrap; gap: 10px; }
.member-chip { display: inline-flex; gap: 10px; align-items: center; padding: 8px 12px 8px 8px; background: var(--paper); border-radius: var(--r-pill); }
.member-chip strong, .person-heading strong { font-size: 13px; }
.member-chip small { display: block; color: var(--muted); font-size: 10px; }
.member-avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; font-family: var(--font-body); font-size: 11px; font-weight: 700; background: var(--yellow-tint); color: var(--ink); }
.event-team > p { margin-top: 12px; }
.fixture-group { margin: 24px 0 36px; }
.group-teams { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 11px; color: var(--muted); margin: -4px 0 18px; }
.group-teams > span { display: inline-flex; align-items: center; gap: 7px; }
.fixture-group > p { margin: -6px 0 16px; }
.fixture-meta { align-items: flex-start; }
.fixture-meta > span { min-width: 0; }
.fixture-meta strong { font-family: var(--font-display); font-size: 25px; text-align: right; }
.fixture-meta strong small { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 500; }
.number-hint { display: block; font-family: var(--font-body); font-size: 9px; font-weight: 500; color: var(--muted); margin-top: 3px; }
.fixture-venue { font-size: 11px; color: var(--muted); margin: 10px 0; }
.fixture-placeholder b { color: var(--ink-soft); text-transform: none; }
.placeholder-slot { width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--muted); font-size: 11px; flex: none; }
.same-time { margin-bottom: 12px; }
.coverage-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 10px; }
.coverage-people { display: inline-flex; align-items: center; gap: 5px; }
.coverage-people .member-avatar { width: 25px; height: 25px; font-size: 9px; }
.attendance-controls { display: flex; flex-wrap: wrap; gap: 6px; }
.attendance-controls .act { flex: 1; font-size: 15px; padding: 7px 10px; }
.attendance-controls button[aria-pressed='true'] { background: var(--ink); color: var(--on-ink); }
.attendance-warning { margin-top: 12px; }
.fixture-event-name { font-size: 11px; color: var(--muted); margin: 8px 0; }
.people-list { margin-top: 24px; }
.people-table { display: none; overflow: hidden; }
.people-table table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.people-table th { font: 600 18px/1.3 var(--font-display); padding: 16px; background: var(--paper); }
.people-table td { font-size: 12px; padding: 20px 16px; vertical-align: top; overflow-wrap: anywhere; }
.people-table tbody tr + tr { box-shadow: inset 0 1px var(--line-soft); }
.people-table td:first-child strong { display: block; font: 700 21px/1.2 var(--font-display); margin-bottom: 5px; }
.people-table td small { display: block; font-size: 10px; color: var(--muted); }
.people-table th:first-child { width: 23%; }
.people-table th:nth-child(3) { width: 20%; }
.people-table th:last-child { width: 7%; }
.people-cards { display: grid; gap: 16px; }
.person-card { padding: 20px; }
.person-heading { display: flex; align-items: center; gap: 10px; }
.person-heading > div { flex: 1; min-width: 0; }
.person-heading p { overflow-wrap: anywhere; }
.person-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 20px 0 0; }
.person-card dl > div:nth-child(2) { grid-column: 1 / -1; }
.person-card dt { font-size: 10px; color: var(--muted); }
.person-card dd { margin: 4px 0 0; font-size: 12px; }
.language-chip { margin: 2px; }
.account-results { display: grid; gap: 8px; max-height: 200px; overflow-y: auto; margin-top: 12px; }
.account-option { display: flex; align-items: flex-start; gap: 10px; width: 100%; background: var(--paper); border-radius: var(--r-inner); padding: 12px; text-align: left; }
.account-option small { display: block; font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.account-option:disabled { cursor: default; opacity: .6; }
.access-panel .notice { margin: 0; }
.access-scopes, .assignment-options, .language-options { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.access-scopes { flex-direction: column; gap: 4px; }
.access-scopes label, .assignment-options label, .language-options label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 12px; }
.assignment-options { flex-direction: column; }
.assignment-options label > span small { display: block; font-size: 10px; color: var(--muted); }
.drawer-form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.selected-account { padding: 12px; background: var(--paper); border-radius: var(--r-inner); }
.event-form-layout { display: grid; gap: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.full-field { grid-column: 1 / -1; }
.country-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-top: 16px; }
.country-picks label { display: flex; align-items: center; min-width: 0; gap: 7px; min-height: 44px; font-size: 11px; }
.country-picks label input { flex: none; }
.club-entry { display: grid; gap: 12px; margin: 20px 0 14px; }
.event-reference p { margin-top: 16px; font-size: 13px; }
.event-reference .text-link { margin-top: 16px; }
#event-form .intake-actions { margin-top: 24px; }
#event-created { margin-top: 20px; }
#event-created p { margin-top: 10px; }
.home-tournament { padding: 20px; }
.home-tournament p { font-size: 12px; color: var(--muted); margin: 10px 0; }
.unreported-player { padding: 20px; }
.unreported-player h3 { margin: 12px 0 5px; }
.unreported-player p { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.draft-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0; font-size: 12px; }
.draft-row + .draft-row { box-shadow: inset 0 1px var(--line-soft); }
.draft-row > span:last-child { font-size: 10px; color: var(--muted); }
.schedule-demo-controls { margin: 20px 0; }
.schedule-reader { padding: 20px 0 28px; }
.schedule-source { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.schedule-source img { object-fit: cover; border-radius: 8px; }
.schedule-source .eyebrow { margin-bottom: 4px; }
.schedule-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 18px 0; }
.ocr-failed { background: var(--warn-bg); color: var(--ink); font-weight: 700; font-size: 16px; }
.schedule-table-wrap { margin: 20px 0; }
.schedule-table { display: block; width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.schedule-table thead { display: none; }
.schedule-table tbody { display: grid; gap: 18px; }
.schedule-table tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; padding: 18px; background: var(--paper); border-radius: var(--r-inner); }
.schedule-table td { display: block; min-width: 0; }
.schedule-table td:first-child, .schedule-table td:last-child, .schedule-table td:nth-child(7) { grid-column: 1 / -1; }
.schedule-table td::before { content: attr(data-label); display: block; font-size: 10px; color: var(--muted); margin-bottom: 5px; }
.schedule-table .form-control { width: 100%; padding: 8px; font-size: 12px; min-height: 38px; }
.cell-provenance { display: flex; gap: 7px; align-items: center; margin-top: 6px; }
.cell-provenance .flag { width: 18px; height: 13px; }
.source-tag { background: var(--line-soft); color: var(--muted); border-radius: 4px; padding: 1px 4px; font: 700 9px/1.4 var(--font-body); }
.cell-required input { background: var(--warn-bg); box-shadow: inset 0 0 0 1px var(--warn); }
.cell-error { display: block; color: var(--bad); font-size: 10px; margin-top: 5px; }
.as-read { display: block; font-size: 9px; margin-top: 5px; color: var(--muted); }
.fuzzy-pair { font-size: 12px; font-weight: 700; margin-top: 8px; }
.row-confirm { display: flex; align-items: center; gap: 7px; font-size: 11px; min-height: 38px; }
.schedule-confirm { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.schedule-confirm + p, #schedule-applied { margin-top: 16px; }
.sheet-intake-heading { margin: 8px 0 16px; }

@media (min-width: 700px) {
  .fixture-grid, .home-fixtures, .unreported-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .country-picks { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .club-entry { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; align-items: end; }
  .event-form-layout { grid-template-columns: minmax(0,2fr) minmax(0,1fr); align-items: start; }
  .event-reference { position: sticky; top: 160px; }
  .home-tournaments { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .age-badge { min-width: 59px; }
}
@media (min-width: 1000px) {
  .event-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .people-table { display: block; }
  .people-cards { display: none; }
  .schedule-table { display: table; }
  .schedule-table thead { display: table-header-group; }
  .schedule-table tbody { display: table-row-group; }
  .schedule-table tr { display: table-row; background: var(--card); }
  .schedule-table th { padding: 10px 5px; font: 600 17px/1.4 var(--font-display); }
  .schedule-table th:first-child { width: 6%; }
  .schedule-table th:nth-child(2) { width: 12%; }
  .schedule-table th:nth-child(3) { width: 10%; }
  .schedule-table th:nth-child(4) { width: 8%; }
  .schedule-table th:nth-child(5), .schedule-table th:nth-child(6) { width: 16%; }
  .schedule-table th:nth-child(7) { width: 18%; }
  .schedule-table th:last-child { width: 14%; }
  .schedule-table td { display: table-cell; padding: 12px 5px; vertical-align: top; box-shadow: inset 0 1px var(--line-soft); }
  .schedule-table td::before { display: none; }
  .schedule-table .form-control { padding: 7px 5px; font-size: 11px; }
}
@media (pointer: coarse) {
  .sheet-row { grid-template-columns: 97px minmax(0,1fr) 28px 44px; }
  .access-scopes label, .assignment-options label, .language-options label, .row-confirm { min-height: 44px; }
  .schedule-table .form-control { min-height: 44px; }
  .account-option, .attendance-controls .act { min-height: 44px; }
}

/* D0.3 substitutions and regulation-minute context. */
.clock-tag-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.clock-bar > .clock-tag-actions { flex-wrap: nowrap; gap: 8px; }
.sub-button { min-width: 52px; min-height: 48px; padding: 8px; font-size: 18px; }
html[lang='fr'] .clock-tag-actions { flex-direction: column; gap: 4px; }
html[lang='fr'] .sub-button { font-size: 16px; width: 84px; padding: 4px 6px; }
.changes-card { padding: 18px; margin: 16px 0; }
.changes-card .section-head { margin-bottom: 12px; }
.team-changes + .team-changes { margin-top: 18px; }
.team-changes h4 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.change-row { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 0; text-align: left; box-shadow: 0 1px 0 var(--line-soft); }
.change-row time { flex: none; min-width: 43px; font: 700 22px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.change-players { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; font: 600 14px/1.25 var(--font-display); }
.change-players > span { overflow-wrap: anywhere; }
.change-arrow { display: inline-block; width: 13px; font-size: 18px; }
.participation-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.participation-chips .change-chip { min-height: 20px; padding: 2px 6px; font: 600 10px/1.3 var(--font-body); background: var(--paper); color: var(--muted); }
.subbed-off .sheet-name, .subbed-off .picker-identity { color: var(--muted); }
.red-chip { background: #f6e8e8; color: #8e292b; border-radius: 5px; padding: 3px 5px; }
.red-card-marker { display: inline-block; flex: none; width: 10px; height: 14px; border-radius: 2px; background: #8e292b; margin-right: 5px; vertical-align: middle; }
.drawer-head .report-appearance, .report-appearance { font: 700 20px/1.3 var(--font-display); color: var(--ink); margin: 8px 0 14px; }
.sub-panel .drawer-body { padding: 16px 20px; }
.sub-player-list section + section, .player-picker-list section + section { margin-top: 22px; }
.sub-player-list .picker-player, .player-picker-list .picker-player { display: flex; align-items: center; gap: 9px; min-height: 52px; width: 100%; padding: 10px 0; text-align: left; box-shadow: 0 1px 0 var(--line-soft); }
.picker-player[aria-pressed='true'] { background: var(--yellow-tint); color: var(--ink); border-radius: 8px; padding: 10px; }
.picker-identity { min-width: 0; flex: 1; font: 600 19px/1.1 var(--font-display); overflow-wrap: anywhere; }
.picker-group-title { font: 700 15px/1.4 var(--font-display); margin-top: 14px; background: var(--paper); border-radius: 5px; padding: 7px; }
.picker-group-title .count { margin-left: 6px; }
.sub-context { font-size: 12px; margin: 0 0 12px; }
.nobody-option { display: flex; align-items: center; gap: 8px; min-height: 52px; width: 100%; padding: 12px 0; text-align: left; font: 600 20px/1.2 var(--font-display); }
.sub-review { display: flex; flex-direction: column; gap: 10px; background: var(--paper); border-radius: 10px; padding: 16px; font: 700 22px/1.2 var(--font-display); }
.minute-stepper { display: grid; grid-template-columns: 54px minmax(0,1fr) 54px; gap: 10px; }
.minute-stepper .form-control { font: 700 38px/1.2 var(--font-display); text-align: center; min-height: 64px; }
.minute-stepper .act { min-width: 44px; min-height: 54px; font-size: 23px; }
.sub-actions .act { min-height: 48px; }
.bench-check { font-size: 12px; line-height: 1.7; margin: 12px 0 24px; }
.profile-match-grade { display: flex; align-items: center; font-size: 13px; gap: 5px; margin: 8px 0; }
.assessment-table [data-assessment-minutes] { font-variant-numeric: tabular-nums; }
.board-scout [data-match-minutes] { white-space: nowrap; }
@media (max-width: 699px) {
  .sub-panel { height: 82dvh; max-height: calc(100dvh - var(--sample-height)); }
  .sub-panel .drawer-body { padding-bottom: 20px; }
  .clock-bar { gap: 8px; }
  .match-time { font-size: 48px; }
  .clock-minute { font-size: 21px; }
  .assessment-table th, .assessment-table td { padding: 10px 7px; }
  html[lang='fr'] #subs-check .drawer-actions { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
  html[lang='fr'] #subs-check .drawer-actions .act { width: 100%; min-height: 48px; }
}
@media (min-width: 700px) { .sub-panel { width: 460px; } }

/* D0.3b: distinct live and video tools, and the two-tap player sheet. */
.video-screen video { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; background:#111; }
.video-screen video[hidden] { display:none; }
.has-media .video-match-label { display:none; }
.has-media .video-play { opacity:0; transition:opacity .15s; }
.has-media .video-screen:hover .video-play,.has-media .video-play:focus-visible { opacity:1; }
.video-source { min-width:0; font-size:10px; }
.video-source a { color:inherit; }
.workspace-mode { display:flex; width:fit-content; border:1px solid var(--line); border-radius:8px; padding:4px; gap:4px; margin:16px 0; }
.workspace-mode button { min-height:48px; border:0; background:transparent; padding:10px 20px; font:inherit; font-weight:700; border-radius:5px; }
.workspace-mode button[aria-pressed="true"] { background:var(--ink); color:#fff; }
.workspace-strip { display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:12px; padding:12px 0; }
.workspace-strip span+span::before { content:' / '; }
.live-dot { width:10px; height:10px; border-radius:50%; background:#c91f32; animation:live-pulse 1.6s infinite; }
@keyframes live-pulse { 50% { opacity:.4; } }
@media(prefers-reduced-motion:reduce) { .live-dot { animation:none; } }
body[data-workspace="live"] .match-clock { background:#fff; color:#111; border:2px solid #111; }
body[data-workspace="live"] .match-time { font-size:76px; color:#111; font-weight:800; }
body[data-workspace="live"] .clock-half,body[data-workspace="live"] .clock-minute { color:#222; }
body[data-workspace="live"] .clock-bar { padding:24px; }
.video-column { display:flex; flex-direction:column; min-width:0; position:static; top:auto; }
.video-column>[hidden] { display:none; }
.kickoff-first { order:-1; }
.video-tag-bar { display:flex; align-items:center; gap:8px; margin:12px 0; flex-wrap:wrap; }
.video-tag-bar .tag-button { min-height:52px; font-size:20px; padding:8px 24px; }
#video-match-minute { font-size:22px; font-weight:800; margin-right:auto; }
.report-progress-button { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; width:100%; min-height:48px; padding:12px; border:0; border-bottom:1px solid var(--line); text-align:left; background:#fff; color:var(--ink); }
.report-progress-button b { font-size:11px; }
.report-progress-button span { font-size:11px; }
.who-panel { max-height:85dvh; }
.who-panel .drawer-head { padding:14px 18px; align-items:center; }
.who-panel .drawer-head h2 { font-size:22px; }
.who-panel .drawer-body { padding:12px 16px; }
.who-panel .drawer-body h3 { margin:8px 0; }
.who-panel .drawer-footer { padding:12px 16px; }
.who-panel .drawer-footer button { width:100%; min-height:48px; }
.who-watching { display:flex; overflow-x:auto; gap:8px; max-width:100%; padding-bottom:8px; }
.who-watching .who-player { flex:0 0 90px; }
.who-team-tabs { display:flex; gap:8px; margin:8px 0 12px; }
.who-team-tabs button { display:flex; align-items:center; gap:5px; flex:1; min-width:0; min-height:44px; padding:8px; border:1px solid var(--line); background:#fff; border-radius:4px; font-size:10px; font-weight:700; }
.who-team-tabs button[aria-pressed="true"] { border:2px solid var(--ink); }
.who-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.who-player { min-height:56px; border:1px solid #b3c6b5; border-top:4px solid #367545; border-radius:5px; background:#f4f8f4; color:#172b1b; padding:5px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; }
.who-player.team-ben { border-color:#c8b86d; border-top-color:#8b6e12; background:#fffbea; color:#332b10; }
.who-player.team-gha { border-top-color:#343434; }
.who-player.team-tog { border-top-color:#437542; }
.who-player b { font-size:19px; }
.who-player span { font-size:8px; line-height:1.2; overflow-wrap:anywhere; }
.who-more summary { min-height:44px; padding:12px 0; cursor:pointer; font-size:12px; }
.tag-label-bar { position:fixed; bottom:150px; left:50%; transform:translateX(-50%); width:min(94vw,560px); display:flex; flex-wrap:wrap; gap:6px; padding:12px; background:#fff; border:1px solid var(--line); border-radius:8px; box-shadow:0 8px 32px #0003; z-index:170; }
.tag-label-bar[hidden] { display:none; }
.tag-label-bar button { min-height:44px; padding:8px 12px; background:#f1f3f4; border:1px solid var(--line); border-radius:4px; font-size:11px; }
.moment-row { flex-wrap:wrap; }
.moment-actions { display:flex; gap:4px; margin-left:auto; }
.moment-action { min-width:48px; min-height:44px; padding:8px; border:0; background:transparent; font-size:11px; text-decoration:underline; }
.tray-tag>.moment-actions { padding:0 8px; }
.toast { z-index:180; flex-wrap:wrap; max-width:calc(100vw - 24px); }
.toast-undo { min-height:44px; min-width:44px; }
.coverage-mode { display:inline-flex; align-items:center; gap:5px; border:1px solid var(--line); border-radius:4px; padding:4px 6px; font-size:10px; font-weight:800; }
.attendance-controls button { display:inline-flex; align-items:center; justify-content:center; gap:5px; }
@media(max-width:699px) {
  body[data-workspace="live"] .video-column { display:contents; }
  body[data-workspace="live"] .match-clock { order:-1; }
  body[data-workspace="live"] .match-time { font-size:54px; }
  body[data-workspace="live"] .clock-bar { padding:18px 12px; }
  .workspace-mode { width:100%; }
  .workspace-mode button { flex:1; padding:10px; }
  .video-source { max-width:110px; }
  .video-tag-bar { gap:6px; }
  .video-tag-bar .act { padding:8px 10px; }
}

.video-picture { position:absolute; inset:0; display:grid; place-items:center; overflow:hidden; background:#111; }
.video-picture .mini-tools { display:none; }
.video-picture.is-docked { position:fixed; inset:auto 16px auto auto; top:calc(var(--sample-height) + 12px); width:280px; aspect-ratio:16/9; border:2px solid #fff; border-radius:8px; box-shadow:0 5px 24px #0006; z-index:155; touch-action:none; }
.video-picture.is-docked[data-corner="left"] { right:auto; left:16px; }
.video-picture.is-docked .mini-tools { position:absolute; inset:auto 0 0; display:flex; justify-content:space-between; background:#0008; }
.mini-tools button { min-height:44px; min-width:44px; padding:8px 12px; font-size:13px; font-weight:800; color:#fff; background:transparent; }
.video-picture.is-docked .video-play { display:none; }
.video-picture.is-docked .video-time { font-size:12px; top:4px; bottom:auto; right:6px; }
.video-picture.is-docked .video-caption-label { display:none; }
.docked-placeholder { max-width:80%; text-align:center; font-size:12px; }
.pip-button svg { width:20px; height:20px; }
.video-controls .pip-button { min-width:44px; min-height:44px; }
.marker-panel { padding:18px; margin:12px 0; }
.marker-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; margin:12px 0; }
.marker-step { min-height:60px; min-width:0; display:flex; flex-direction:column; justify-content:center; gap:6px; padding:8px 4px; border:1px solid var(--line); border-radius:4px; background:#fff; font-size:10px; text-align:center; }
.marker-step.is-stamped { background:#f0f7f1; border-color:#97b49d; }
.marker-step output { font-size:12px; font-weight:800; }
.marker-next { width:100%; min-height:48px; }
.marker-helpers { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.marker-helpers button,#markers-clear { min-height:44px; font-size:11px; }
.marker-edit-time { display:block; font-size:32px; margin:20px 0; font-weight:800; }
.marker-nudges { display:flex; flex-wrap:wrap; gap:8px; }
.marker-nudges button { min-width:60px; min-height:48px; }
.marker-bands { position:relative; height:10px; background:#ebedef; margin-top:12px; border-radius:3px; overflow:hidden; }
.half-band { position:absolute; height:100%; background:#789d80; }
.half-band-2 { background:#647d9b; }
.scrubber.has-half-bands { background:linear-gradient(to right,#eceeef 0 var(--half-one-start),#bfdbc6 var(--half-one-start) var(--half-one-end),#eceeef var(--half-one-end) var(--half-two-start),#c4d3e7 var(--half-two-start) var(--half-two-end),#eceeef var(--half-two-end) 100%); border-radius:6px; }
@media(max-width:699px) {
  .video-picture.is-docked { width:156px; right:12px; top:calc(var(--sample-height) + 8px); }
  .video-picture.is-docked[data-corner="left"] { left:12px; }
  .video-controls { flex-wrap:wrap; gap:6px; }
  .video-controls .video-source { flex-basis:100%; max-width:none; text-align:right; }
  .marker-panel { padding:12px; }
  .marker-steps { gap:4px; }
  .marker-step { font-size:9px; }
}

/* Generated layout utilities */
.u-layout-1 { margin-top:24px; }
.u-layout-2 { margin-top:8px; }
.u-layout-3 { margin-top:18px; }
.u-layout-4 { align-self:start; }
.u-layout-5 { margin:12px 0; }
.u-layout-6 { margin:16px 0 24px; }
.u-layout-7 { margin-bottom:12px; }
.u-layout-8 { margin-top:16px; }
.u-layout-9 { display:block; }
.u-layout-10 { font-size:10px;margin-bottom:12px; }
.u-layout-11 { margin-bottom:16px; }
