:root {
  color-scheme: light;
  --base: #eef2f7;
  --panel: #fff;
  --navy: #101d32;
  --line: #d7e0eb;
  --text: #13253d;
  --muted: #4b6079;
  --gold: #f1ce85;
  --red: #8f2440;
  --link: #244e82;
  --shadow: 0 2px 5px #172f5010, 0 15px 30px -26px #172f5055;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
}

[hidden] { display: none !important; }
body { background: var(--base); color: var(--text); }
a { color: var(--link); }
:focus-visible { outline: 3px solid #2e69a5; outline-offset: 3px; }
.skip-link { position: fixed; top: .6rem; left: .6rem; z-index: 8; padding: .6rem .9rem; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.workspace { grid-template-columns: 15.75rem minmax(0, 1fr); }
.workspace-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 1.35rem 1rem;
  gap: 1.45rem;
  color: #ecf2fc;
  background: linear-gradient(170deg, #172742, #101d32 45%, #0b1728);
  border-color: #253958;
}
.sidebar-heading { display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.sidebar-content { display: flex; flex-direction: column; flex: 1; gap: 1rem; min-width: 0; }
.workspace-sidebar .brand { color: #fff; letter-spacing: -.015em; }
.workspace-sidebar .brand small { color: #b8c7dc; font-weight: 650; letter-spacing: .12em; }
.brand b, .sign-in-mark {
  display: grid;
  place-items: center;
  color: #fff;
  min-width: 2.7rem;
  min-height: 2.7rem;
  padding: .35rem;
  background: linear-gradient(145deg, #a22d4b, #731e38);
  border: 1px solid #c56579;
  border-radius: .62rem;
  font-size: .79rem;
  font-weight: 850;
  letter-spacing: .09em;
}
.workspace-sidebar nav { gap: .25rem; }
.workspace-sidebar nav a { color: #c7d4e7; font-weight: 620; }
.workspace-sidebar nav a:hover { background: #ffffff12; text-decoration: none; color: #fff; }
.workspace-sidebar nav a[aria-current] { background: #283955; color: #fff; box-shadow: inset 3px 0 #f1ce85; }
.workspace-sidebar :focus-visible { outline-color: #f1ce85; }
.workspace-sidebar .session {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  border-top: 1px solid #34455f;
  padding-top: .95rem;
  font-size: .84rem;
}
.workspace-sidebar .session small { color: #b7c5d8; }
.workspace-sidebar .secondary { color: #f1f5fb; background: #ffffff08; border-color: #5c6e89; font-size: .82rem; }

main { max-width: 103rem; }
.page-heading { padding-bottom: 1rem; border-bottom: 1px solid #d3dce8; }
.page-heading .eyebrow { color: #80304a; font-weight: 800; }
h1 { letter-spacing: -.05em; }
h2 { letter-spacing: -.025em; }

.panel { border-color: var(--line); border-radius: .9rem; box-shadow: var(--shadow); }
button, .button {
  color: #fff;
  background: #213f66;
  border-color: #213f66;
  border-radius: .52rem;
  transition: background-color .15s, border-color .15s;
}
button:hover, .button:hover { background: #173252; border-color: #173252; text-decoration: none; }
.secondary { color: #213f66; background: #fff; border-color: #c0cdde; }
.secondary:hover { color: #172f50; background: #e8eef6; border-color: #97acc6; }
input:not([type=hidden],[type=checkbox]), select, textarea {
  background: #f9fbfe;
  color: var(--text);
  border-color: #aebed1;
}
label, dt { color: #243b57; }
.notice { color: #153c63; border: 1px solid #a8c2df; border-radius: .5rem; background: #e5effa; padding: .75rem 1rem; }
.errorlist { color: #922241; }
.badge { color: #314d70; background: #ebf0f7; font-weight: 700; }
.badge[data-status="Confirmed"], .badge[data-status="Complete"], .badge[data-response="Available"], .badge[data-status="Available"] { color: #13503b; background: #dbefe4; }
.badge[data-status="Proposed"], .badge[data-status="Provisional"], .badge[data-status="Limited"] { color: #694308; background: #f7e8c9; }
.badge[data-response="Unavailable"], .badge[data-status="Unavailable"] { color: #81243e; background: #f6e1e8; }

.briefing-hero {
  color: #f5f8fc;
  background: linear-gradient(108deg, #192f4e 5%, #1a2d47 61%, #59263f 100%);
  border: 1px solid #243a58;
  box-shadow: 0 16px 40px -30px #142942;
}
.briefing-hero .eyebrow { color: #f1ce85; }
.briefing-hero .button { background: #f1ce85; border-color: #f1ce85; color: #17273b; }
.briefing-hero .button:hover { background: #f8dfab; }
.briefing-hero .secondary { color: #fff; background: #ffffff10; border-color: #94a7bf; }
.briefing-hero .secondary:hover { background: #ffffff25; }
.briefing-hero :focus-visible { outline-color: #ffe9bd; }
.briefing-metric { background: #fff; border-top: 2px solid #b78b4a; }
.briefing-metric strong { color: #173454; }
.briefing-metric:hover { border-color: #b78b4a; }
.briefing-counts a, .event-date, .response-total { background: #edf3fa; }
.event-date strong, .response-total strong, .match-score { color: #213f66; }
.plan-progress progress, .rating meter { accent-color: #315d8a; }
.rating strong { color: #213f66; }

.directory-toolbar {
  align-items: end;
  padding: .9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.directory-toolbar label { margin: 0; font-size: .85rem; }
.directory-toolbar input, .directory-toolbar select { margin-top: .2rem; }
.directory-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.directory-count { color: var(--muted); font-size: .85rem; margin-bottom: .65rem; }
.directory-grid .record-card { margin-bottom: 0; }
.record-card-heading { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: .35rem .55rem; margin-bottom: .6rem; }
.record-card-heading h2 { margin: 0; }
.record-card-heading a { color: var(--text); text-decoration-color: #97acc6; }
.record-card p { color: var(--muted); margin-bottom: .55rem; }
.verification-badge { display: inline-block; background: #f3f0e9; color: #655334; }

.public { min-height: 100vh; background: #eef2f7; }
.public main:has(.sign-in-layout) { max-width: 64rem; margin-top: clamp(1rem, 7vh, 5rem); }
.public main:has(.sign-in-layout) .page-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.sign-in-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #becbdd;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 24px 70px -48px #172f50;
}
.sign-in-brand {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  min-height: 28rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #fff;
  background: linear-gradient(145deg, #213959, #111e33 65%, #69263d);
}
.sign-in-brand .eyebrow { color: #f3d391; }
.sign-in-mark { margin-bottom: 1.35rem; }
.sign-in-wordmark { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: .98; letter-spacing: -.055em; font-weight: 800; margin: 0; }
.sign-in-wordmark span { color: #f3d391; }
.sign-in-brand .pitch { position: absolute; bottom: -1.45rem; right: -2.6rem; transform: rotate(-15deg); opacity: .65; pointer-events: none; }
.sign-in-form { margin: 0; border: 0; border-radius: 0; box-shadow: none; padding: clamp(1.5rem, 4vw, 3rem); align-self: center; }
.sign-in-form h2 { font-size: 1.55rem; margin-bottom: 1.1rem; }
.sign-in-form button { width: 100%; margin: .4rem 0 .8rem; }
.sign-in-form p { font-size: .92rem; }

@media (max-width: 950px) {
  .workspace { grid-template-columns: 12.5rem minmax(0, 1fr); }
  .workspace-sidebar { padding: 1rem .75rem; }
}
@media (max-width: 700px) {
  .workspace { display: block; }
  .workspace-sidebar { position: static; height: auto; padding: .8rem 1rem; gap: .65rem; }
  .workspace-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sign-in-layout { grid-template-columns: minmax(0, 1fr); }
  .sign-in-brand { min-height: 13.5rem; }
  .sign-in-brand .pitch { width: 8rem; }
  .sign-in-mark { margin-bottom: .65rem; }
}
@media (max-width: 420px) {
  .directory-toolbar form label { flex: 1 1 7rem; }
  .directory-toolbar form { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  button, .button { transition: none; }
}
@media print {
  body, .panel { background: white; color: black; }
  .workspace { display: block; }
  .workspace-sidebar, .skip-link { display: none; }
  .page-heading { border-color: #999; }
  .panel { box-shadow: none; }
}

.observation-topics { margin-bottom: 1rem; }
.observation-topics p { color: var(--muted); font-size: .9rem; }
.observation-topics select { width: 100%; }

.team-directory-grid .section-heading { padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.team-directory-grid .section-heading h2 { margin: 0; }

.coach-contacts { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin-top: .3rem; font-size: .9rem; }
.coach-contacts a { overflow-wrap: anywhere; }
.observation-pair { padding: .65rem; border: 1px solid var(--line); border-radius: .5rem; }
.observation-pair label:not(:first-child) { margin-top: .5rem; }

.danger-action { background: #8f2440; border-color: #8f2440; }
.danger-action:hover { background: #701b31; border-color: #701b31; }

.badge[data-status="Approved"] { color: #13503b; background: #dbefe4; }
.badge[data-status="Ready for approval"] { color: #694308; background: #f7e8c9; }

.eligibility-confirmation label { display: flex; align-items: flex-start; gap: .6rem; }
.eligibility-confirmation input { margin-top: .25rem; flex: 0 0 auto; }

.training-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.training-options .button { justify-content: center; }

.team-directory-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .25rem .6rem; }
.team-directory-links > a { font-size: .82rem; }

.interest-access-note { margin-bottom: .75rem; }
