:root {
  color-scheme: light;
  --ink: #17245f;
  --dark: #151f58;
  --text: #07111f;
  --muted: #596679;
  --line: #bfd0df;
  --paper: #e8eef4;
  --panel: #ffffff;
  --accent: #ed1c24;
  --accent-dark: #b80f18;
  --gold: #f2b544;
  --ice: #e7f3f7;
  --green: #16845a;
  --steel: #101820;
  --shadow: 0 18px 42px rgba(9, 18, 38, 0.12);
}

[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(232, 238, 244, 0.92)),
    repeating-linear-gradient(135deg, rgba(21, 31, 88, 0.035) 0 1px, transparent 1px 18px),
    var(--paper);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.reset-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(21, 31, 88, 0.92) 58%, rgba(237, 28, 36, 0.82)),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 12px);
}

.reset-card {
  width: min(100%, 520px);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 2px solid var(--line);
  border-top: 7px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.reset-card img {
  width: 126px;
  height: auto;
}

.reset-card h1 {
  margin: 0;
  color: var(--dark);
  font-size: 2rem;
  text-transform: uppercase;
}

.reset-card form,
.reset-card label {
  display: grid;
  gap: 8px;
}

.reset-card label {
  color: var(--dark);
  font-weight: 900;
  text-transform: uppercase;
}

.reset-card input {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}

.reset-card input[readonly] {
  background: #eef4fa;
  color: var(--muted);
}

#resetStatus {
  color: var(--muted);
  font-weight: 800;
}

.reset-home-link {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

.sidebar {
  position: relative;
  top: auto;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(330px, max-content) minmax(250px, 340px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(21, 31, 88, 0.98) 58%, rgba(237, 28, 36, 0.86)),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 12px);
  color: #fff;
  padding: 14px 30px;
  border-right: 0;
  border-bottom: 5px solid var(--accent);
}

.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-bottom: 0;
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4));
}

.brand-logo.wide-logo {
  width: 138px;
  height: 58px;
  object-fit: contain;
}

.cha-monogram {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 62px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: linear-gradient(135deg, #111a4d 0%, #243583 58%, #ed1c24 59%, #b80f18 100%);
  color: #fff;
  font-size: 1.12rem;
  font-weight: 900;
  transform: skew(-10deg);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.26);
}

.cha-monogram::before,
.cha-monogram::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.88);
}

.cha-monogram::before {
  bottom: 10px;
}

.cha-monogram::after {
  bottom: 16px;
  opacity: 0.7;
}

.cha-monogram.large {
  width: 72px;
  height: 56px;
  font-size: 1.28rem;
}

.brand-wordmark {
  display: grid;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-wordmark strong {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 900;
}

.brand-wordmark span {
  color: var(--accent);
  font-size: clamp(1.15rem, 2.5vw, 1.8rem);
  font-weight: 900;
}

.brand-wordmark::after {
  content: "";
  width: 100%;
  height: 4px;
  margin-top: 7px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0));
}

.brand-legal-tag {
  flex: 1 0 100%;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.app-menu {
  display: grid;
  gap: 5px;
  color: #dbe8f5;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.app-menu select {
  width: 100%;
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.96);
  color: var(--steel);
  font-weight: 800;
}

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-tab {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: center;
  padding: 11px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav-tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 22px rgba(237, 28, 36, 0.28);
}

main {
  padding: 30px;
}

.topbar,
.section-heading,
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar {
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
  min-height: 410px;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.98) 0%, rgba(7, 17, 31, 0.92) 48%, rgba(21, 31, 88, 0.78) 74%, rgba(237, 28, 36, 0.74) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%),
    url("assets/provided/hockey.jfif"),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 16px);
  background-position: center, center, right 9% center, center;
  background-repeat: no-repeat;
  background-size: cover, cover, min(360px, 34vw) auto, auto;
  border-bottom: 12px solid var(--accent);
  color: #fff;
  margin: -30px -30px 26px;
  padding: 38px 42px;
}

.topbar::before {
  content: "GAME DAY";
  position: absolute;
  right: 34px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.8rem, 13vw, 12rem);
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 42px;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0.88), transparent);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-brand img {
  width: 176px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.42));
}

.hero-brand div {
  display: grid;
  line-height: 1;
}

.hero-brand span {
  color: #dbe8f5;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-brand strong {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: #edf5ff;
  font-size: 1.06rem;
}

.ip-notice {
  margin: 10px 0 0;
  color: #4b5d72;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.35;
}

.hero-copy .ip-notice,
.testing-copy .ip-notice {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.74rem;
  text-transform: none;
}

.hero-booking-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 13px 18px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  font-family: inherit;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 18px 30px rgba(237, 28, 36, 0.28);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.eyebrow {
  margin: 12px 0 6px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.top-logo {
  display: block;
  width: min(360px, 80vw);
  height: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 7.4rem);
  line-height: 0.86;
  max-width: 820px;
  color: #fff;
  text-transform: lowercase;
  text-shadow: 0 18px 28px rgba(0, 0, 0, 0.3);
}

.hero-graphic {
  position: relative;
  width: min(430px, 100%);
  min-height: 300px;
  z-index: 1;
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.9);
  background-color: var(--steel);
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 38%, rgba(7, 17, 31, 0.54)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 12px);
}

.hero-photo-main {
  right: 0;
  top: 8px;
  width: 285px;
  height: 285px;
  background-image: url("assets/provided/rosie.jfif");
  transform: rotate(2deg);
}

.hero-photo-small {
  width: 154px;
  height: 154px;
}

.hero-photo-small.one {
  left: 0;
  top: 34px;
  background-image: url("assets/provided/neil.jfif");
  transform: rotate(-5deg);
}

.hero-photo-small.two {
  left: 54px;
  bottom: 0;
  background-image: url("assets/provided/jax.jfif");
  transform: rotate(4deg);
}

.hero-poster-type {
  position: absolute;
  right: 18px;
  bottom: -8px;
  z-index: 2;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  font-weight: 900;
  line-height: 0.72;
  text-shadow: 0 12px 24px rgba(0, 0, 0, 0.44);
  text-transform: lowercase;
}

.ice-card {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--steel);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.18);
  transform: skew(-5deg);
}

.ice-card.primary {
  transform: translateX(-18px);
  background: var(--accent);
  color: #fff;
}

.ice-card span {
  display: inline-block;
  margin-bottom: 8px;
  border-radius: 4px;
  padding: 5px 9px;
  background: var(--steel);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ice-card strong,
.ice-card small {
  display: block;
}

.ice-card small {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.ice-card.primary small,
.ice-card.primary span {
  color: #fff;
}

.ice-card.primary span {
  background: rgba(7, 17, 31, 0.92);
}

.puck-dot {
  position: absolute;
  right: 8px;
  bottom: -18px;
  width: 58px;
  height: 58px;
  border: 8px solid #fff;
  border-radius: 50%;
  background: #0b1730;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
}

h2 {
  margin-bottom: 6px;
  font-size: 1.55rem;
  color: var(--dark);
}

h3 {
  margin-bottom: 14px;
  color: var(--dark);
}

p {
  color: var(--muted);
  line-height: 1.45;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff;
  color: var(--dark);
  font-weight: 700;
}

.launch-pill span {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--green);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.section-heading {
  margin-bottom: 18px;
}

.catalogue-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  background: #fff;
  border: 2px solid var(--line);
  border-left: 8px solid var(--accent);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.catalogue-banner strong {
  color: var(--dark);
  margin-right: 4px;
}

.catalogue-banner span {
  border-radius: 4px;
  padding: 6px 9px;
  background: var(--steel);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.seasonal-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 16px;
  margin-bottom: 18px;
}

.season-panel {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.season-panel.current-season {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(238, 245, 251, 0.88)),
    url("assets/cha-web/summer-camps-2026.png");
  background-position: right 20px bottom 18px;
  background-repeat: no-repeat;
  background-size: 190px auto;
}

.season-panel::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(237, 28, 36, 0.12);
  border-radius: 50%;
}

.season-panel h3 {
  margin-bottom: 14px;
  font-size: 2rem;
}

.season-panel ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.season-panel li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-weight: 800;
}

.season-panel li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 99px;
  background: var(--accent);
}

.camp-leaderboard-shell {
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.camp-leaderboard-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.camp-leaderboard-title {
  min-width: 0;
}

.camp-leaderboard-title h2 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.camp-leaderboard-title p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.camp-leaderboard-filter-box {
  flex: 0 0 min(430px, 100%);
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(180px, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  background: #eff6ff;
}

.camp-leaderboard-filter-box label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.camp-leaderboard-filter-box select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #b9cde6;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
}

.camp-leaderboard-results {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.camp-leaderboard-result-header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 900;
}

.camp-leaderboard-result-header strong {
  color: var(--ink);
  font-size: 18px;
}

.camp-leaderboard-result-header span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f8fafc;
  font-size: 12px;
  white-space: nowrap;
}

.camp-leaderboard-empty h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

.camp-leaderboard-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.camp-leaderboard-badges span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.camp-leaderboard-scroll {
  display: grid;
  gap: 16px;
  max-height: 680px;
  overflow: auto;
  padding-right: 6px;
  -webkit-overflow-scrolling: touch;
}

.camp-leader-age {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.camp-leader-age:first-child {
  border-top: 0;
  padding-top: 0;
}

.camp-leader-age > h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
}

.camp-leader-streams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.camp-leader-streams.compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.camp-leader-stream {
  min-width: 0;
}

.camp-leader-stream h4 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.camp-leader-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.camp-leader-metric {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: #f8fafc;
}

.camp-leader-metric h5 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 13px;
}

.camp-leader-metric ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.camp-leader-metric li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.camp-leader-metric li span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.camp-leader-metric li strong {
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.camp-leader-metric li em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.camp-leader-result-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.camp-leader-result-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fafc;
  color: var(--muted);
  font-weight: 800;
}

.camp-leader-result-list span {
  display: grid;
  place-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.camp-leader-result-list strong {
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.camp-leader-result-list em {
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.eyebrow.dark {
  color: var(--accent);
}

.program-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.selected-program-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 2px solid var(--accent);
  border-left-width: 8px;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.selected-program-alert[hidden] {
  display: none;
}

.selected-program-alert span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.selected-program-alert strong {
  display: block;
  color: var(--dark);
  font-size: 1.2rem;
}

.selected-program-alert p {
  margin: 3px 0 0;
}

.selected-program-alert button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 5px;
  padding: 12px 14px;
  background: var(--steel);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.group-card {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, #fff, #f9fbfd),
    repeating-linear-gradient(135deg, rgba(21, 31, 88, 0.04) 0 1px, transparent 1px 12px);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.group-card strong {
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 900;
}

.group-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.group-card.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--steel), var(--dark));
  box-shadow: 0 16px 32px rgba(7, 17, 31, 0.24);
}

.group-card.active strong,
.group-card.active span {
  color: #fff;
}

.booking-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 12px;
  margin-bottom: 16px;
}

.booking-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.checkout-summary {
  position: sticky;
  top: 112px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.checkout-summary h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.coupon-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.coupon-panel p {
  margin: 0;
}

.coupon-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
}

.coupon-entry input {
  width: 100%;
  min-width: 0;
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
}

#couponStatus {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.summary-list {
  display: grid;
  gap: 9px;
  margin: 0 0 14px;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.summary-list dt {
  color: var(--muted);
  font-weight: 800;
}

.summary-list dd {
  color: var(--dark);
  font-weight: 900;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 20px;
  border: 2px dashed var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.primary-action,
.secondary-action,
.submit-button {
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.primary-action,
.submit-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 14px 28px rgba(237, 28, 36, 0.24);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.primary-action,
.secondary-action {
  padding: 12px 15px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.secondary-action {
  background: var(--steel);
  color: var(--dark);
  color: #fff;
}

.program-grid,
.profile-layout,
.admin-layout,
.roadmap {
  display: grid;
  gap: 14px;
}

.hub-access-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
  padding: 20px;
  border: 2px solid var(--line);
  border-left: 7px solid var(--accent);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hub-access-panel h3 {
  margin: 4px 0 8px;
  color: var(--dark);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase;
}

.hub-login-form,
.import-form {
  display: grid;
  gap: 12px;
}

.account-auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.mycha-profile-mode .hub-access-panel {
  grid-template-columns: 1fr;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mycha-profile-mode .hub-access-panel > div:first-child,
.mycha-profile-mode #hubStatus,
.mycha-profile-mode .profile-layout {
  display: none !important;
}

.mycha-profile-mode .account-auth-grid {
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
}

body.mycha-signed-in-mode .store-policy-section {
  display: none;
}

.mycha-profile-shell {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
}

.mycha-profile-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 2px solid var(--line);
  border-left: 7px solid var(--accent);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.mycha-profile-head h3,
.mycha-profile-head p {
  margin: 0;
}

.mycha-profile-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.mycha-profile-sections {
  display: grid;
  gap: 10px;
}

.mycha-section {
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: clip;
}

.mycha-section[open] {
  border-color: #b7cbe2;
}

.mycha-section.is-featured {
  border-left: 7px solid var(--accent);
}

.mycha-section summary {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.mycha-section summary::-webkit-details-marker {
  display: none;
}

.mycha-section-toggle::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 900;
}

.mycha-section[open] .mycha-section-toggle::before {
  content: "-";
}

.mycha-section-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mycha-section-copy small,
.mycha-section-copy em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.mycha-section-copy small,
.mycha-section-status,
.mycha-section-button {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.mycha-section-copy strong {
  color: var(--dark);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.mycha-section-status {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef4fa;
  color: var(--dark);
  font-weight: 900;
  white-space: nowrap;
}

.mycha-section-status.good {
  background: #eaf8f1;
  color: #087a52;
}

.mycha-section-status.warn {
  background: #fff3d6;
  color: #935f00;
}

.mycha-section-button {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 900;
}

.mycha-section-body {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}

.mycha-register-panel {
  display: grid;
  gap: 12px;
}

.mycha-register-panel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.mycha-program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.mycha-program-card {
  appearance: none;
  display: grid;
  gap: 5px;
  min-height: 118px;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
  cursor: pointer;
  text-align: left;
}

.mycha-program-card:hover,
.mycha-program-card:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.mycha-program-card span,
.mycha-program-card small {
  color: var(--muted);
  font-weight: 800;
}

.mycha-program-card strong {
  color: var(--dark);
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .mycha-profile-head,
  .mycha-profile-actions {
    display: grid;
    justify-content: stretch;
  }

  .mycha-section summary {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .mycha-section-status,
  .mycha-section-button {
    grid-column: 2;
    justify-self: start;
  }
}

.account-auth-grid h4 {
  margin: 0;
  color: var(--dark);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.hub-login-form label,
.import-form label {
  display: grid;
  gap: 6px;
  color: var(--dark);
  font-weight: 900;
  text-transform: uppercase;
}

.hub-login-form input,
.import-form textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}

.account-required-banner {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding: 14px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  background: #fff5f5;
}

.account-required-banner.account-ready {
  border-color: #10a36f;
  background: #f0fff8;
}

.account-required-banner strong {
  color: var(--dark);
  text-transform: uppercase;
}

.booking-form input[readonly] {
  background: #eef4fa;
  color: var(--muted);
}

#hubStatus,
#importStatus {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.hub-layout {
  align-items: start;
}

.hub-home-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hub-home-card {
  appearance: none;
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 238, 244, 0.92)),
    repeating-linear-gradient(135deg, rgba(21, 31, 88, 0.04) 0 1px, transparent 1px 14px);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
}

.hub-home-card:hover,
.hub-home-card:focus-visible,
.hub-home-card.is-active {
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.hub-home-card span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hub-home-card strong {
  color: var(--dark);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.hub-home-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.hub-summary-panel,
.hub-registrations-panel,
.hub-grit-panel,
.hub-testing-panel {
  grid-column: 1 / -1;
}

.hub-panel-hidden {
  display: none !important;
}

.hub-callout,
.hub-refund-notice {
  margin: 0 0 12px;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--dark);
  font-weight: 900;
}

.hub-refund-notice {
  border-color: #d90429;
  background: #fff5f5;
  color: #8f0018;
}

.hub-card-list,
.hub-registration-list {
  display: grid;
  gap: 10px;
}

.hub-mini-card,
.hub-registration-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
}

.hub-registration-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.hub-registration-actions {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.hub-mini-card strong,
.hub-registration-card strong {
  color: var(--dark);
  text-transform: uppercase;
}

.hub-mini-card span,
.hub-registration-card span,
.hub-registration-card small {
  color: var(--muted);
  font-weight: 800;
}

.hub-edit-panel {
  margin-top: 8px;
}

.hub-edit-panel summary {
  width: 100%;
  min-width: 160px;
  padding: 10px 12px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  color: var(--accent);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  list-style-position: inside;
}

.hub-edit-panel summary:hover,
.hub-edit-panel summary:focus-visible {
  background: var(--accent);
  color: #ffffff;
  outline: none;
}

.hub-inline-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.hub-inline-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hub-inline-form input {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--dark);
  font: inherit;
  text-transform: none;
}

.hub-inline-form .checkbox-line,
.hub-inline-form button {
  grid-column: 1 / -1;
}

.hub-registration-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.hub-registration-tabs a,
.hub-registration-tabs button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--dark);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.hub-registration-tabs a:hover,
.hub-registration-tabs a:focus-visible,
.hub-registration-tabs button:hover,
.hub-registration-tabs button:focus-visible,
.hub-registration-tabs button.is-active {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.hub-registration-tabs button.is-active {
  background: #fff2f3;
}

.hub-registration-tab-panel {
  display: none;
}

.hub-registration-tab-panel.is-active {
  display: block;
}

.hub-registration-section {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.hub-registration-section h4 {
  margin: 0;
  color: var(--dark);
  font-size: 1rem;
  text-transform: uppercase;
}

.grit-hub-card {
  border-left: 6px solid var(--accent);
}

.staff-testing-shell {
  display: grid;
  gap: 16px;
}

.staff-protected[hidden] {
  display: none !important;
}

.staff-login-panel,
.staff-test-card,
.staff-stopwatch-card {
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.staff-login-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 16px;
  border-left: 7px solid var(--accent);
}

.staff-login-panel h3,
.staff-test-card h3,
.staff-stopwatch-card h3 {
  margin: 4px 0 10px;
  color: var(--dark);
  text-transform: uppercase;
}

.staff-controls,
.staff-test-card,
.staff-stopwatch-card {
  display: grid;
  gap: 12px;
}

.staff-controls {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-controls button {
  grid-column: 1 / -1;
}

.staff-profile-summary {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
  color: var(--muted);
  font-weight: 800;
}

.staff-profile-summary strong {
  color: var(--dark);
  text-transform: uppercase;
}

.staff-profile-summary span,
.staff-profile-summary small {
  color: var(--muted);
}

.staff-controls label,
.staff-test-card label,
.staff-stopwatch-card label {
  display: grid;
  gap: 6px;
  color: var(--dark);
  font-weight: 900;
  text-transform: uppercase;
}

.staff-controls input,
.staff-controls select,
.staff-test-card input,
.staff-test-card select,
.staff-stopwatch-card input,
.staff-stopwatch-card textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}

#staffRosterStatus,
#staffResultStatus,
#staffTestingReportSummary,
#staffAvailabilityStatus,
#staffLoginStatus,
#staffAccountStatus,
#systemHealthStatus {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

#staffResultStatus.unsaved-result-alert {
  padding: 10px 12px;
  border: 2px solid rgba(237, 28, 36, 0.45);
  border-radius: 6px;
  background: #fff5f5;
  color: var(--accent-dark);
}

#staffResultStatus.saved-result-status {
  padding: 10px 12px;
  border: 2px solid rgba(33, 150, 83, 0.32);
  border-radius: 6px;
  background: #eefbf3;
  color: var(--green);
}

.staff-account-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.staff-account-form label {
  display: grid;
  gap: 6px;
  color: var(--dark);
  font-weight: 900;
  text-transform: uppercase;
}

.staff-account-form input,
.staff-account-form select {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}

.staff-service-options,
.staff-account-form button,
#staffAccountStatus,
.staff-account-list {
  grid-column: 1 / -1;
}

.staff-service-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 6px;
}

.availability-service-options {
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.staff-service-options legend {
  padding: 0 6px;
  color: var(--dark);
  font-weight: 900;
  text-transform: uppercase;
}

.staff-service-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  line-height: 1.25;
  white-space: normal;
}

.staff-service-options input {
  flex: 0 0 auto;
  width: auto;
}

.weekly-availability-grid,
.selected-athlete-panel,
.manual-athlete-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.weekly-day-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(120px, 160px) minmax(120px, 160px);
  align-items: end;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
}

.weekly-day-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--dark);
  font-weight: 900;
}

.weekly-day-row input[type="checkbox"] {
  width: auto;
}

.selected-athlete-panel[hidden],
.manual-athlete-panel[hidden] {
  display: none !important;
}

.selected-athlete-panel,
.manual-athlete-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
}

@media (max-width: 1200px) {
  .sidebar {
    grid-template-columns: minmax(280px, 1fr) minmax(260px, 340px);
  }

  .nav-tabs {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .admin-client-tools,
  .admin-client-card {
    grid-template-columns: 1fr;
  }

  .admin-client-actions {
    justify-content: stretch;
  }

  .admin-client-actions button {
    flex: 1 1 180px;
  }
}

.staff-account-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.staff-account-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
}

.staff-account-card strong {
  color: var(--dark);
  text-transform: uppercase;
}

.staff-account-card span,
.staff-account-card small {
  color: var(--muted);
  font-weight: 800;
}

.staff-account-card button {
  justify-self: start;
  margin-top: 4px;
}

.system-health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.system-health-warnings {
  margin-top: 10px;
}

.system-health-warning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background: #fffaf0;
  color: var(--dark);
  font-weight: 800;
}

.system-health-notes {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.system-health-notes summary {
  cursor: pointer;
  padding: 11px 13px;
  color: var(--muted);
  font-weight: 900;
}

.system-health-note-list {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.system-health-warning.critical {
  border-left-color: var(--accent);
  background: #fff5f5;
}

.system-health-clear {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.admin-client-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 12px;
  align-items: end;
}

.admin-client-tools label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dark);
}

.admin-client-tools input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
}

.admin-client-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.admin-client-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
}

.admin-client-card strong,
.admin-client-card span,
.admin-client-card small {
  display: block;
}

.admin-client-card strong {
  color: var(--dark);
  text-transform: uppercase;
}

.admin-client-card span,
.admin-client-card small {
  color: var(--muted);
  font-weight: 800;
}

.admin-client-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.staff-test-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 16px;
}

.staff-schedule-panel {
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.staff-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.staff-schedule-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
}

.staff-schedule-card span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e8f7f0;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-schedule-card.booked {
  border-color: rgba(237, 28, 36, 0.45);
  background: #fff5f5;
}

.staff-schedule-card.booked span {
  background: var(--accent);
  color: #fff;
}

.staff-schedule-card strong {
  color: var(--dark);
  text-transform: uppercase;
}

.staff-schedule-card p,
.staff-schedule-card small {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.private-slot-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--line);
  border-left: 7px solid var(--accent);
  border-radius: 6px;
  background: #f8fbff;
}

.private-slot-panel strong {
  display: block;
  color: var(--dark);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.private-slot-panel span {
  color: var(--muted);
  font-weight: 800;
}

.private-slot-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.private-slot-option {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
}

.private-slot-option strong {
  font-size: 0.95rem;
}

.private-slot-option.selected {
  border-color: var(--accent);
  background: #fff4f5;
  box-shadow: inset 0 0 0 2px rgba(237, 28, 36, 0.12);
}

.protocol-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
}

.protocol-card h4 {
  margin: 4px 0 8px;
  color: var(--dark);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.stopwatch-display {
  display: grid;
  place-items: center;
  min-height: 138px;
  border: 4px solid var(--navy);
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 1;
}

.stopwatch-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.program-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.program-card,
.panel,
.booking-form,
.calendar-panel,
.booking-panel,
.confirmation {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.program-card {
  padding: 16px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.program-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 158px;
  margin: -16px -16px 14px;
  border-bottom: 5px solid var(--accent);
  background-color: var(--steel);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.girls-camp-art {
  background-position: center 28%;
}

.girls-camp-art::before {
  content: "Girls Only";
  position: absolute;
  left: 12px;
  top: 16px;
  z-index: 1;
  max-width: 190px;
  color: rgba(255, 255, 255, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 0.82;
  text-transform: lowercase;
}

.program-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 46%, rgba(7, 17, 31, 0.72)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 14px);
}

.program-art span {
  position: relative;
  z-index: 1;
  margin: 0 0 12px 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border-radius: 4px;
  background: rgba(237, 28, 36, 0.92);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-card:hover {
  transform: translateY(-3px);
  border-color: rgba(237, 28, 36, 0.5);
  box-shadow: 0 24px 44px rgba(9, 18, 38, 0.16);
}

.program-card.selected {
  outline: 3px solid var(--accent);
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.program-card strong {
  display: block;
  margin-bottom: 8px;
}

.program-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.card-action {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 5px;
  padding: 11px 12px;
  background: linear-gradient(135deg, var(--steel), var(--dark));
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.date-summary {
  margin: 10px 0 0;
  padding: 9px;
  border-radius: 4px;
  background: #eef4fa;
  color: var(--dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.program-tags span {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 8px;
  background: #f8fbff;
  color: var(--dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.program-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.availability-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 5px;
  background: #f8fbff;
}

.availability-row strong {
  margin: 0;
  color: var(--green);
  font-size: 0.9rem;
}

.availability-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.availability-row.is-full {
  border-left-color: var(--accent);
}

.availability-row.is-full strong {
  color: var(--accent-dark);
}

.booking-form,
.panel,
.calendar-panel,
.booking-panel,
.confirmation {
  padding: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.program-specific {
  display: contents;
}

.program-choice-group {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: #fff;
}

.program-choice-group legend {
  padding: 0 6px;
  font-weight: 800;
  color: var(--dark);
}

label {
  display: grid;
  gap: 7px;
  color: var(--dark);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 5px;
  padding: 12px;
  background: #fff;
  color: var(--text);
}

textarea {
  resize: vertical;
}

.consent-stack {
  display: grid;
  gap: 11px;
  margin: 16px 0;
  padding: 13px;
  background: #f8fbff;
  border: 2px solid var(--line);
  border-radius: 5px;
}

.consent-stack p {
  margin: 0;
  font-size: 0.9rem;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-line input {
  width: auto;
  margin-top: 2px;
}

.camp-policy {
  grid-column: 1 / -1;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: #f8fbff;
}

.grit-intro {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(21, 31, 88, 0.92)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 12px);
  color: #fff;
  overflow: hidden;
}

.grit-intro img {
  width: 100%;
  max-height: 170px;
  object-fit: cover;
  border-radius: 5px;
  filter: saturate(0.75) contrast(0.95);
}

.grit-intro h3,
.grit-intro p {
  color: #fff;
}

.grit-intro .eyebrow {
  color: var(--gold);
}

.submit-button {
  width: 100%;
  padding: 15px;
}

.testing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
  border: 1px solid rgba(6, 34, 102, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 250, 0.9)),
    repeating-linear-gradient(135deg, rgba(8, 39, 101, 0.035) 0 1px, transparent 1px 14px);
  box-shadow: 0 18px 44px rgba(8, 33, 70, 0.11);
  overflow: hidden;
}

.testing-copy {
  position: relative;
  padding: clamp(24px, 4vw, 46px);
}

.testing-copy::before {
  content: "";
  display: block;
  width: 92px;
  height: 6px;
  margin-bottom: 22px;
  background: var(--accent);
}

.testing-copy h2 {
  max-width: 920px;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 5.8rem);
  font-style: italic;
  line-height: 0.92;
  text-transform: uppercase;
}

.testing-copy p:not(.eyebrow) {
  max-width: 680px;
  color: #304054;
  font-size: 1.08rem;
}

.testing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.testing-poster {
  min-height: 420px;
  background: var(--navy);
}

.testing-poster img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.testing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.testing-service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.testing-service-strip article {
  min-height: 150px;
  border: 1px solid rgba(6, 34, 102, 0.18);
  border-top: 5px solid var(--accent);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(8, 33, 70, 0.08);
}

.testing-service-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.testing-service-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.testing-service-strip p {
  margin-bottom: 0;
  color: #3b4b60;
  font-size: 0.92rem;
}

.testing-app-shell,
.testing-leaderboard-shell {
  margin: 24px 0;
  border: 1px solid rgba(6, 34, 102, 0.18);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 245, 252, 0.92)),
    repeating-linear-gradient(135deg, rgba(6, 34, 102, 0.04) 0 1px, transparent 1px 14px);
  box-shadow: 0 18px 38px rgba(8, 33, 70, 0.1);
}

.testing-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 10px;
  min-width: min(100%, 440px);
}

.leaderboard-controls {
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.leaderboard-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 14px;
}

.leaderboard-board,
.leaderboard-note {
  padding: 18px;
  border: 1px solid rgba(6, 34, 102, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(8, 33, 70, 0.08);
}

.leaderboard-board h3,
.leaderboard-note h3 {
  margin: 4px 0 10px;
  color: var(--dark);
  text-transform: uppercase;
}

.leaderboard-stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.leaderboard-stat-strip span {
  border: 1px solid rgba(255, 23, 42, 0.22);
  border-radius: 6px;
  padding: 6px 8px;
  background: #fff7f8;
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.leaderboard-status {
  margin: 10px 0 0;
  color: #4b5d72;
  font-size: 0.86rem;
  font-weight: 800;
}

.leaderboard-controls select:disabled {
  color: #536274;
  background: #eef3f8;
  border-color: rgba(6, 34, 102, 0.16);
  opacity: 1;
}

.test-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
}

.test-report-card,
.test-recommendations,
.test-panel {
  border: 1px solid rgba(6, 34, 102, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(8, 33, 70, 0.08);
}

.test-report-card {
  grid-row: span 2;
}

.report-header-mini {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 5px solid var(--accent);
  padding-bottom: 14px;
}

.report-header-mini h3,
.test-recommendations h3,
.test-panel h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.report-header-mini span {
  display: block;
  margin-top: 4px;
  color: #4b5d72;
  font-weight: 800;
}

.report-header-mini > strong {
  border-radius: 999px;
  padding: 8px 12px;
  background: #e9f8ef;
  color: #0a8754;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.report-scoreline,
.test-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.report-scoreline div,
.test-summary-grid div {
  border: 1px solid rgba(6, 34, 102, 0.14);
  border-radius: 6px;
  padding: 10px;
  background: #f7fbff;
}

.report-scoreline span,
.test-summary-grid span,
.recommendation-card span {
  display: block;
  color: #5a6b80;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-scoreline strong,
.test-summary-grid strong {
  color: var(--navy);
  font-size: 0.98rem;
}

.test-summary-grid small {
  display: block;
  margin-top: 4px;
  color: #4b5d72;
  font-weight: 800;
}

.test-metrics {
  display: grid;
  gap: 8px;
}

.test-metric-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.2fr) repeat(4, minmax(74px, 0.58fr)) minmax(96px, 0.7fr);
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(6, 34, 102, 0.16);
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  padding: 10px;
  background: #fbfdff;
}

.test-metric-row strong {
  display: block;
  color: var(--navy);
}

.test-metric-row span,
.test-metric-row small {
  color: #4b5d72;
  font-size: 0.78rem;
  font-weight: 800;
}

.test-metric-row b {
  color: var(--navy);
  font-size: 1.05rem;
}

.test-metric-row em {
  justify-self: end;
  border-radius: 999px;
  padding: 7px 10px;
  background: #eef5fb;
  color: var(--navy);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.report-footnote {
  margin: 12px 0 0;
  color: #4b5d72;
  font-size: 0.86rem;
  font-weight: 800;
}

.test-recommendations {
  display: grid;
  gap: 12px;
}

.recommendation-card {
  border: 1px solid rgba(6, 34, 102, 0.16);
  border-radius: 8px;
  padding: 14px;
  background: #f8fbff;
}

.recommendation-card.priority {
  border-top: 5px solid var(--accent);
}

.recommendation-card.goal {
  border-top: 5px solid #0a8754;
}

.recommendation-card strong {
  display: block;
  margin: 4px 0 8px;
  color: var(--navy);
  font-size: 1.05rem;
}

.recommendation-card p {
  margin-bottom: 10px;
  color: #344357;
}

.recommendation-card button {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.report-offer-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.report-offer-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(10, 135, 84, 0.24);
  border-left: 5px solid #0a8754;
  border-radius: 8px;
  padding: 12px;
  background: #f4fff9;
}

.report-offer-card span {
  color: #0a5d3d;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-offer-card strong {
  color: var(--navy);
}

.report-offer-card p {
  margin: 0;
  color: #344357;
  font-weight: 800;
}

.report-offer-card button {
  margin-top: 4px;
}

.leaderboard-list,
.protocol-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.leaderboard-list li,
.protocol-list li {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(6, 34, 102, 0.14);
  border-radius: 6px;
  padding: 9px 10px;
  background: #fbfdff;
}

.protocol-list li {
  grid-template-columns: 1fr;
}

.leaderboard-list li.active {
  border-color: var(--accent);
  background: #fff4f4;
}

.leaderboard-list span {
  color: var(--accent);
  font-weight: 900;
}

.leaderboard-list strong,
.protocol-list strong {
  color: var(--navy);
}

.leaderboard-list em,
.protocol-list span {
  color: #4b5d72;
  font-style: normal;
  font-weight: 800;
}

.leaderboard-list em {
  text-align: right;
}

@media (max-width: 720px) {
  .leaderboard-list li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .leaderboard-list em {
    grid-column: 2;
    text-align: left;
  }
}

.testing-panel {
  border: 1px solid rgba(6, 34, 102, 0.2);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 33, 70, 0.08);
}

.testing-panel h3 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.testing-packages {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, minmax(0, 0.92fr));
  gap: 16px;
  margin: 22px 0;
}

.testing-package {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 320px;
  border: 1px solid rgba(6, 34, 102, 0.18);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(8, 33, 70, 0.09);
}

.testing-package.featured {
  background:
    linear-gradient(135deg, rgba(7, 18, 49, 0.96), rgba(4, 35, 105, 0.92)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 12px);
  color: #fff;
}

.testing-package h3 {
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.testing-package.featured h3,
.testing-package.featured p,
.testing-package.featured li {
  color: #fff;
}

.testing-package ul {
  margin: 0;
  padding-left: 18px;
}

.marker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.marker-grid span {
  display: flex;
  align-items: center;
  min-height: 54px;
  border: 1px solid rgba(6, 34, 102, 0.16);
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  padding: 10px 12px;
  background: #f7fbff;
  color: var(--navy);
  font-weight: 900;
}

.testing-process {
  margin: 24px 0;
  border-top: 5px solid var(--accent);
  border-bottom: 5px solid var(--navy);
  padding: 24px 0;
}

.section-heading.compact {
  margin-bottom: 16px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process-steps article {
  position: relative;
  min-height: 168px;
  border: 1px solid rgba(6, 34, 102, 0.18);
  border-radius: 8px;
  padding: 44px 16px 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 26px rgba(8, 33, 70, 0.08);
}

.process-steps strong {
  position: absolute;
  left: 50%;
  top: -20px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  transform: translateX(-50%);
  box-shadow: 0 9px 18px rgba(6, 34, 102, 0.22);
}

.process-steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
}

.process-steps p {
  margin-bottom: 0;
  color: #344357;
}

.testing-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.testing-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(6, 34, 102, 0.16);
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 16px 34px rgba(8, 33, 70, 0.12);
}

.testing-inquiry {
  border: 1px solid rgba(6, 34, 102, 0.18);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(6, 34, 102, 0.06), rgba(237, 28, 36, 0.04)),
    #fff;
}

.testing-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.testing-form label:nth-child(5),
.testing-form .submit-button {
  grid-column: 1 / -1;
}

.notification-panel {
  display: grid;
  gap: 12px;
}

.notification-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.notification-panel #notificationStatus {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
  color: var(--dark);
  font-weight: 800;
}

.broadcast-panel {
  grid-column: 1 / -1;
}

.admin-report-panel {
  grid-column: 1 / -1;
}

.report-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.report-controls,
.report-download-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.report-controls {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
}

.report-download-grid {
  grid-template-columns: repeat(4, minmax(130px, 1fr));
}

.report-controls label {
  display: grid;
  gap: 6px;
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-controls select {
  width: 100%;
  min-height: 42px;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--dark);
  font: inherit;
  font-weight: 800;
  text-transform: none;
}

.report-table-wrap {
  overflow-x: auto;
  max-height: 420px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-report-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
  font-size: 0.86rem;
}

.admin-report-table th,
.admin-report-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-report-table th {
  background: #f8fbff;
  color: var(--dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-report-table td {
  color: var(--muted);
  font-weight: 800;
}

.report-preview-note {
  margin: 0;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.testing-report-admin-panel {
  grid-column: 1 / -1;
}

.testing-report-tools {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(240px, 1fr);
  gap: 14px;
  margin: 14px 0;
}

.testing-report-summary {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
  color: var(--dark);
  font-weight: 900;
}

.testing-report-list {
  display: grid;
  gap: 12px;
}

.testing-report-admin-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.testing-report-admin-card header,
.testing-report-admin-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.testing-report-admin-level {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(140px, auto);
  gap: 10px;
}

.testing-report-admin-level div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #eef5ff;
}

.testing-report-admin-level strong {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.testing-report-admin-level span {
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 950;
}

.testing-report-admin-level span.missing {
  color: var(--accent);
}

.testing-report-admin-card header strong {
  display: block;
  color: var(--dark);
  font-size: 1.08rem;
}

.testing-report-admin-card header small,
.testing-report-admin-meta {
  color: var(--muted);
  font-weight: 800;
}

.testing-report-admin-meta {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.testing-report-admin-meta span {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 6px 8px;
  background: #f8fbff;
}

@media (max-width: 640px) {
  .testing-report-admin-level {
    grid-template-columns: 1fr;
  }
}

.testing-report-warning {
  padding: 10px 12px;
  border: 1px solid rgba(237, 28, 36, 0.35);
  border-radius: 6px;
  background: #fff5f5;
  color: var(--accent-dark);
  font-weight: 850;
}

.testing-report-warning.review-flag {
  border-color: rgba(19, 35, 104, 0.25);
  background: #f3f6ff;
  color: var(--dark);
}

.testing-report-warning.context-warning {
  border-color: rgba(6, 34, 102, 0.3);
  background: #f3f8ff;
  color: var(--dark);
}

.testing-report-warning.parent-view-warning {
  border-color: rgba(255, 178, 0, 0.5);
  background: #fff9e8;
  color: var(--dark);
}

.testing-release-gate {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
}

.testing-release-gate strong {
  color: var(--dark);
}

.testing-release-gate ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.testing-release-gate li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  color: var(--muted);
  font-weight: 750;
}

.testing-release-gate li span {
  min-width: 52px;
  color: var(--dark);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.testing-release-gate p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.testing-release-gate.blocked {
  border-color: rgba(237, 28, 36, 0.38);
  background: #fff5f5;
}

.testing-release-gate.review {
  border-color: rgba(255, 178, 0, 0.5);
  background: #fff9e8;
}

.testing-release-gate.ready {
  border-color: rgba(0, 137, 76, 0.32);
  background: #f1fbf6;
}

.testing-report-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.testing-metric-row {
  display: grid;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f8fbff;
}

.testing-metric-primary,
.testing-metric-context {
  display: grid;
  gap: 8px;
}

.testing-metric-primary {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.testing-metric-context {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testing-metric-context span {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid rgba(6, 34, 102, 0.12);
  border-radius: 5px;
  padding: 6px;
  background: #fff;
}

.testing-metric-row span,
.testing-metric-context em {
  color: var(--muted);
  font-weight: 900;
}

.testing-metric-context em {
  font-size: 0.68rem;
  font-style: normal;
  text-transform: uppercase;
}

.testing-metric-row strong {
  color: var(--dark);
}

.testing-metric-context b {
  color: var(--dark);
  font-size: 0.82rem;
}

.testing-metric-context .missing {
  border-color: rgba(237, 28, 36, 0.25);
  background: #fff7f7;
}

.testing-metric-context .missing b {
  color: var(--accent-dark);
}

.testing-report-preview,
.hub-report-detail {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.testing-report-preview ul,
.hub-report-detail ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 700;
}

.report-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  overflow: auto;
  background: rgba(3, 10, 30, 0.86);
  padding: 24px;
}

.report-modal[hidden],
.policy-modal[hidden] {
  display: none !important;
}

.report-modal-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  background: #edf4fb;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

#reportModalBody {
  display: block;
  width: 100%;
  min-width: 0;
}

.report-modal-toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--dark);
  color: white;
  border-bottom: 5px solid var(--accent);
}

.report-modal-toolbar > div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.report-modal-open {
  overflow: hidden;
}

.legal-page {
  display: block;
  max-width: 920px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px;
}

.legal-page .hero-panel,
.legal-page .content-panel {
  margin-bottom: 16px;
}

.legal-page .content-panel {
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 8px;
  padding: 24px;
}

.legal-page h1,
.legal-page h2 {
  color: #101820;
}

.legal-page a {
  color: #243583;
  font-weight: 700;
}

.app-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 18px;
  font-size: 0.88rem;
}

.app-legal-links a {
  color: #243583;
  font-weight: 700;
}

.app-legal-notice {
  flex-basis: 100%;
  color: #4b5d72;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
}

.store-policy-section {
  max-width: 920px;
  margin: 18px auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 8px;
}

.store-policy-section h2 {
  margin-top: 0;
  color: var(--dark);
}

.policy-link {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.policy-link:hover,
.policy-link:focus-visible {
  color: var(--dark);
}

.camp-policy-link {
  grid-column: 1 / -1;
  margin-top: -6px;
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  overflow: auto;
  background: rgba(3, 10, 30, 0.86);
  padding: 24px;
}

.policy-modal-shell {
  width: min(920px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.policy-modal-toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--dark);
  color: white;
  border-bottom: 5px solid var(--accent);
}

.policy-content {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.policy-content section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.policy-content h3 {
  margin: 0 0 8px;
  color: var(--dark);
}

.policy-content p {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.policy-content p:last-child {
  margin-bottom: 0;
}

.full-report {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.full-report-page {
  min-height: 1060px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 253, 0.98)),
    repeating-linear-gradient(135deg, rgba(17, 49, 120, 0.05) 0 1px, transparent 1px 16px);
  border: 1px solid rgba(188, 213, 235, 0.95);
  border-radius: 6px;
  padding: 24px;
  color: var(--dark);
}

.full-report-header {
  display: grid;
  grid-template-columns: auto 1fr minmax(210px, auto);
  align-items: center;
  gap: 14px;
  margin: -24px -24px 10px;
  padding: 14px 24px;
  background: #283783;
  color: white;
  border-bottom: 6px solid var(--accent);
}

.full-report-header img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  padding: 4px;
  background: #fff;
  border-radius: 999px;
}

.full-report-header strong {
  display: block;
  font-family: var(--display-font);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  line-height: 1;
  text-transform: uppercase;
}

.full-report-header span {
  display: block;
  font-weight: 800;
  opacity: 0.88;
  line-height: 1.2;
}

.report-trademark-line {
  display: block;
  max-width: 640px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: none;
}

.full-report-header aside {
  text-align: right;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: 18px;
}

.full-report-title {
  display: grid;
  gap: 6px;
}

.full-report-title h2 {
  margin: 0;
  color: var(--dark);
  font-family: var(--display-font);
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1;
  text-transform: none;
}

.full-report-title p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.report-profile-grid,
.report-identity-grid,
.standards-grid,
.development-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.standards-grid {
  grid-template-columns: 1fr;
}

.report-identity-grid {
  align-items: stretch;
}

.report-profile-grid article,
.athlete-card,
.playing-card,
.benchmark-card,
.coach-summary-card,
.training-block-card,
.development-grid article,
.standards-grid article,
.colour-scale-card {
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #c5dcf0;
  border-radius: 8px;
  padding: 16px;
}

.athlete-card h2 {
  margin: 0 0 8px;
  color: var(--dark);
  font-family: var(--display-font);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.9;
}

.athlete-card p,
.athlete-card small,
.playing-card p,
.benchmark-card strong {
  display: block;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.35;
}

.athlete-card small {
  font-size: 0.92rem;
}

.playing-card span,
.benchmark-card span {
  display: block;
  color: var(--muted);
  font-family: var(--display-font);
  font-size: 1.35rem;
  text-transform: uppercase;
}

.playing-card strong {
  display: block;
  margin: 6px 0;
  color: var(--accent);
  font-family: var(--display-font);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.playing-card strong.group-white { color: var(--dark); }
.playing-card strong.group-yellow { color: #d1a200; }
.playing-card strong.group-orange { color: #ef7d12; }
.playing-card strong.group-green { color: #009f63; }
.playing-card strong.group-blue { color: #2878e8; }
.playing-card strong.group-brown { color: #72503a; }
.playing-card strong.group-black { color: #070b18; }
.playing-card strong.group-bronze { color: #b47435; }
.playing-card strong.group-silver { color: #8090a4; }
.playing-card strong.group-gold { color: #c58b0a; }
.playing-card strong.group-platinum { color: #299fca; }

.playing-card strong.placeholder {
  color: var(--muted);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1;
}

.playing-card strong.compact-level {
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.benchmark-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  background: #eef6ff;
}

.benchmark-card span {
  color: var(--dark);
}

.benchmark-card em {
  display: inline-flex;
  min-width: 146px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #009f63;
  color: white;
  font-family: var(--display-font);
  font-style: normal;
  text-transform: uppercase;
}

.report-test-pill,
.report-test-menu summary {
  display: inline-flex;
  min-width: 156px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #283783;
  color: white;
  font-family: var(--display-font);
  font-style: normal;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.report-test-menu {
  position: relative;
  justify-self: end;
}

.report-test-menu summary::-webkit-details-marker {
  display: none;
}

.report-test-menu nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  display: grid;
  gap: 6px;
  min-width: 240px;
  padding: 10px;
  background: #fff;
  border: 2px solid #c5dcf0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.report-test-menu nav a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--dark);
  font-weight: 900;
  text-decoration: none;
}

.report-test-menu nav a:hover,
.report-test-menu nav a:focus-visible {
  background: #edf6ff;
}

.report-profile-grid span,
.development-grid span {
  display: block;
  color: var(--accent);
  font-family: var(--display-font);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.report-profile-grid strong,
.coach-summary-card h3,
.training-block-card h3,
.development-grid h3,
.standards-grid h3,
.colour-scale-card h3 {
  margin: 0 0 8px;
  color: var(--dark);
  font-family: var(--display-font);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.full-report-metrics {
  display: grid;
  gap: 10px;
}

.full-report-metric {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(360px, 1.9fr) minmax(220px, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid #c5dcf0;
  border-radius: 8px;
}

.full-report-metric strong,
.full-report-metric span {
  display: block;
}

.metric-score-cell {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 10px;
}

.metric-score-cell strong {
  grid-column: 1 / -1;
  color: var(--dark);
  font-family: var(--display-font);
  font-size: 1.15rem;
  text-transform: none;
}

.metric-score-cell > span:not(.colour-badge) {
  color: var(--dark);
  font-family: var(--display-font);
  font-size: 1.75rem;
}

.metric-score-cell .colour-badge {
  min-width: 86px;
}

.metric-note-cell strong {
  color: var(--muted);
  font-family: var(--display-font);
  font-size: 1rem;
}

.metric-note-cell p {
  margin-top: 6px;
  color: #009f63;
  font-family: var(--display-font);
  font-size: 1rem;
}

.metric-context-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.metric-context-grid span {
  padding: 8px;
  background: #edf6ff;
  border: 1px solid #c5dcf0;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 900;
}

.metric-context-grid strong {
  color: var(--dark);
}

.metric-band-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.metric-band-row span {
  position: relative;
  padding: 8px;
  border: 1px solid #c5dcf0;
  border-radius: 8px;
  background: #edf6ff;
  text-align: center;
}

.metric-band-row span.active {
  border-color: #009f63;
  background: #d9f3e6;
  box-shadow: inset 0 3px 0 #009f63;
}

.metric-band-row span.active::before {
  content: "";
  position: absolute;
  top: -9px;
  left: var(--marker-pos, 50%);
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 11px solid var(--accent);
}

.metric-band-row strong,
.metric-band-row em {
  display: block;
}

.metric-band-row em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}

.full-report-metric p,
.coach-summary-card p,
.training-block-card p,
.development-grid p,
.colour-scale-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.full-report-metric p {
  grid-column: 1 / -1;
}

.colour-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 2px solid transparent;
  color: white;
  font-family: var(--display-font);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.colour-badge.white { color: var(--dark); background: white; border-color: #c5dcf0; }
.colour-badge.yellow { color: var(--dark); background: #ffd84d; }
.colour-badge.orange { background: #ef7d12; }
.colour-badge.green { background: #009f63; }
.colour-badge.blue { background: #2878e8; }
.colour-badge.brown { background: #72503a; }
.colour-badge.black { background: #070b18; }
.colour-badge.bronze { background: #b47435; }
.colour-badge.silver { color: var(--dark); background: #d8e0ea; }
.colour-badge.gold { color: var(--dark); background: #f0bc2d; }
.colour-badge.platinum { color: var(--dark); background: #e8f8ff; border-color: #8ccfec; }

.report-fallback-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-fallback-list li {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid #c5dcf0;
  border-radius: 8px;
}

.report-fallback-list strong {
  color: var(--muted);
  font-family: var(--display-font);
  font-size: 0.9rem;
}

.report-fallback-list span {
  color: var(--dark);
  font-family: var(--display-font);
  font-size: 1.35rem;
}

.off-ice-status-card {
  display: grid;
  align-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d4dde8;
  border-radius: 8px;
  padding: 16px;
}

.off-ice-status-card span,
.off-ice-benchmark-card span {
  color: var(--muted);
  font-family: var(--display-font);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.off-ice-status-card strong {
  color: var(--dark);
  font-family: var(--display-font);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.off-ice-status-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.off-ice-benchmark-card em {
  background: #fff;
  border: 1px solid #d4dde8;
  color: var(--dark);
}

.off-ice-metric-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.off-ice-metric-row {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 14px;
  background: #fff;
  border: 1px solid #d4dde8;
  border-radius: 8px;
}

.off-ice-metric-row div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.off-ice-metric-row strong {
  color: var(--dark);
  font-family: var(--display-font);
  font-size: 1.2rem;
}

.off-ice-metric-row span {
  color: var(--dark);
  font-family: var(--display-font);
  font-size: 1.6rem;
  white-space: nowrap;
}

.off-ice-metric-row p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.off-ice-metric-row .off-ice-metric-context {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

.off-ice-metric-row .off-ice-metric-context span {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid #d4dde8;
  border-radius: 4px;
  background: #f7fbff;
  color: var(--muted);
  font-family: var(--body-font);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
  white-space: normal;
}

.development-grid article {
  min-height: 172px;
}

.training-block-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 800;
}

.report-training-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 2px solid #283783;
  border-left: 8px solid var(--accent);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(237, 246, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 24px rgba(17, 49, 120, 0.14);
}

.report-training-links-header {
  display: grid;
  gap: 3px;
}

.report-training-links-header span {
  color: var(--accent);
  font-family: var(--display-font);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.report-training-links-header strong {
  color: var(--dark);
  font-family: var(--display-font);
  font-size: 1.24rem;
  line-height: 1;
  text-transform: uppercase;
}

.report-training-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 8px;
}

.report-training-link-card {
  min-height: 78px;
  display: grid;
  align-content: space-between;
  gap: 6px;
  border: 2px solid rgba(40, 55, 131, 0.32);
  border-radius: 8px;
  background: #fff;
  color: var(--dark);
  font-family: var(--display-font);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 10px 12px;
  text-align: left;
  text-decoration: none;
  font-weight: 900;
  box-shadow: inset 0 4px 0 rgba(237, 28, 36, 0.92);
}

.report-training-link-card span {
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1;
  text-transform: uppercase;
}

.report-training-link-card strong {
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.report-training-link-card em {
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1;
  text-transform: uppercase;
}

.report-training-link-card.external {
  border-color: rgba(10, 135, 84, 0.34);
  box-shadow: inset 0 4px 0 #0a8754;
}

.report-training-link-card.external em {
  background: #0a8754;
}

.report-training-link-card:hover,
.report-training-link-card:focus-visible {
  background: #283783;
  color: #fff;
  outline: 3px solid rgba(237, 28, 36, 0.28);
  outline-offset: 2px;
  transform: translateY(-1px);
}

.report-training-link-card:hover span,
.report-training-link-card:focus-visible span,
.report-training-link-card:hover strong,
.report-training-link-card:focus-visible strong {
  color: #fff;
}

.standards-grid table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  font-weight: 800;
}

.standards-grid th,
.standards-grid td {
  padding: 7px 9px;
  border-bottom: 1px solid #c5dcf0;
  text-align: center;
  vertical-align: top;
}

.standards-grid th {
  color: white;
  background: var(--dark);
}

.standards-grid td:first-child,
.standards-grid th:first-child {
  text-align: left;
}

.standards-grid .active-standard {
  background: #c8f0dc;
  color: #0b5f3f;
}

.colour-scale-card {
  overflow-x: auto;
}

.colour-scale-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 900;
}

.colour-scale-table th,
.colour-scale-table td {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  text-align: center;
}

.colour-scale-table th {
  background: var(--dark);
  color: #fff;
}

.colour-scale-table td:first-child {
  text-align: left;
  color: var(--dark);
}

.colour-row-white { background: #fff; color: var(--dark); }
.colour-row-yellow { background: #ffd84d; color: var(--dark); }
.colour-row-orange { background: #ef7d12; color: white; }
.colour-row-green { background: #009f63; color: white; }
.colour-row-blue { background: #2878e8; color: white; }
.colour-row-brown { background: #72503a; color: white; }
.colour-row-black { background: #070b18; color: white; }
.colour-row-bronze { background: #b47435; color: white; }
.colour-row-silver { background: #d8e0ea; color: var(--dark); }
.colour-row-gold { background: #f0bc2d; color: var(--dark); }
.colour-row-platinum { background: #e8f8ff; color: var(--dark); }

.colour-scale-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.full-report-page footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 4px solid var(--accent);
  color: var(--muted);
  font-weight: 900;
}

.report-confidentiality-notice {
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 800;
}

.proprietary-data-page {
  gap: 18px;
}

.proprietary-notice-card p {
  margin-bottom: 0;
}

.broadcast-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.broadcast-form label:nth-child(5),
.broadcast-form label:nth-child(6),
.broadcast-form button {
  grid-column: 1 / -1;
}

#broadcastStatus,
.admin-status {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
  color: var(--dark);
  font-weight: 800;
}

.admin-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-gate h3,
.admin-gate p {
  margin: 0;
}

.admin-gate div {
  display: grid;
  gap: 6px;
}

.profile-layout,
.admin-layout {
  grid-template-columns: 1fr 1fr;
}

.admin-layout {
  grid-template-columns: 1.2fr 0.8fr;
}

.admin-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.stat-card {
  display: grid;
  gap: 8px;
  min-height: 98px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-card strong {
  color: var(--dark);
  font-size: 1.7rem;
  line-height: 1;
}

.admin-purpose {
  grid-column: 1 / -1;
}

.gym-hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.gym-hours-grid label {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
  color: var(--dark);
  font-weight: 900;
  text-transform: uppercase;
}

.gym-hours-grid span {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}

.gym-hours-grid input {
  min-width: 0;
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  font: inherit;
}

#gymHoursStatus {
  color: var(--muted);
  font-weight: 800;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
}

.feature-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 99px;
  background: var(--accent);
}

.merch-hero {
  margin-bottom: 16px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 251, 0.9)),
    url("assets/cha-logo-transparent.png");
  background-position: right 24px center;
  background-repeat: no-repeat;
  background-size: 120px auto;
  box-shadow: var(--shadow);
}

.merch-hero h3 {
  max-width: 640px;
  font-size: 2rem;
}

.merch-hero p {
  max-width: 620px;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.merch-card {
  display: grid;
  gap: 10px;
  min-height: 220px;
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.merch-card span {
  width: fit-content;
  border-radius: 4px;
  padding: 6px 9px;
  background: #f8fbff;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.merch-card strong {
  align-self: end;
  color: var(--dark);
  font-weight: 900;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(70px, 1fr));
  gap: 8px;
}

.calendar-controls {
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) minmax(120px, 0.7fr) auto auto;
  gap: 8px;
  align-items: end;
  margin: 10px 0 12px;
}

.calendar-controls input,
.calendar-controls select {
  width: 100%;
  min-height: 40px;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--dark);
  font: inherit;
  font-weight: 800;
}

.calendar-grid.month-view {
  grid-template-columns: repeat(7, minmax(78px, 1fr));
}

.calendar-grid.year-view {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.day-cell {
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfdff;
}

.day-cell strong {
  display: block;
  margin-bottom: 8px;
}

.slot {
  margin-top: 6px;
  padding: 6px;
  border-radius: 6px;
  background: var(--ice);
  color: #17414b;
  font-size: 0.78rem;
  font-weight: 800;
}

.slot span,
.slot strong {
  display: block;
  margin: 0;
}

.slot-more {
  margin-top: 6px;
  border-radius: 6px;
  padding: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.booking-list {
  display: grid;
  gap: 10px;
}

.booking-filter-summary {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8fbff;
  color: var(--muted);
  font-weight: 900;
}

.admin-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.admin-panel-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.coupon-admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.coupon-admin-form label {
  display: grid;
  gap: 6px;
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.coupon-admin-form input,
.coupon-admin-form select,
.coupon-admin-form textarea {
  width: 100%;
  min-width: 0;
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
  color: var(--dark);
  font: inherit;
  font-weight: 800;
  text-transform: none;
}

.coupon-admin-form label:nth-child(5),
.coupon-admin-form label:nth-child(6),
.coupon-admin-form label:nth-child(10),
.coupon-admin-form button,
#couponAdminStatus,
.coupon-admin-list {
  grid-column: 1 / -1;
}

.coupon-admin-form .checkbox-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}

.coupon-admin-form .checkbox-row input {
  width: auto;
}

#couponAdminStatus {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 800;
}

.coupon-admin-list {
  display: grid;
  gap: 10px;
}

.coupon-admin-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  padding: 12px;
  background: #fbfdff;
}

.coupon-admin-card div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.coupon-admin-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.coupon-admin-card strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.coupon-admin-card span,
.coupon-admin-card small {
  color: var(--muted);
  font-weight: 800;
}

.admin-queue-tools {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.95fr;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-queue-tools label {
  display: grid;
  gap: 6px;
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-queue-tools input,
.admin-queue-tools select {
  width: 100%;
  min-height: 42px;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--dark);
  font: inherit;
  font-weight: 800;
  text-transform: none;
}

.booking-item {
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.booking-item header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.booking-item header div {
  display: grid;
  gap: 3px;
}

.booking-item header small {
  color: var(--muted);
  font-weight: 800;
}

.booking-compact {
  display: grid;
  gap: 4px;
}

.booking-compact p {
  margin: 0;
}

.booking-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.booking-flags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.booking-details {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.booking-details summary {
  width: fit-content;
  cursor: pointer;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
}

.booking-detail-grid {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.booking-detail-grid div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  padding: 8px;
  border-radius: 6px;
  background: #f8fbff;
}

.booking-detail-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-detail-grid strong {
  color: var(--dark);
  font-weight: 800;
}

.queue-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.queue-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--dark);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.queue-actions button[data-action="remove-booking"] {
  border-color: rgba(237, 28, 36, 0.35);
  color: var(--accent-dark);
}

.status {
  border-radius: 999px;
  padding: 5px 8px;
  background: #eef7ef;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
}

.roadmap {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.confirmation {
  margin-top: 16px;
  border-color: var(--line);
  background: #f8fbff;
}

.confirmation-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.order-grid div,
.next-step {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.order-grid span,
.next-step span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.order-grid strong,
.next-step strong {
  display: block;
  margin-top: 4px;
  color: var(--dark);
}

.next-step {
  margin: 12px 0;
}

.payment-link,
.checkout-needed {
  display: block;
  margin: 12px 0;
  padding: 13px 14px;
  border-radius: 5px;
  font-weight: 900;
}

.payment-link {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.checkout-needed {
  border: 2px solid var(--line);
  background: #fff;
  color: var(--dark);
}

.payment-status-page {
  display: grid;
  place-items: start;
  gap: 14px;
  min-height: 100vh;
  padding: clamp(28px, 7vw, 80px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 238, 244, 0.92)),
    repeating-linear-gradient(135deg, rgba(21, 31, 88, 0.04) 0 1px, transparent 1px 16px);
}

.payment-status-page img {
  width: min(280px, 80vw);
}

.payment-status-page h1 {
  color: var(--dark);
  text-shadow: none;
}

@media (max-width: 960px) {
  .sidebar {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 14px;
  }

  .brand {
    justify-content: center;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
  }

  .brand-logo.wide-logo {
    width: 142px;
    height: 60px;
  }

  .nav-tabs {
    justify-content: center;
  }

  .nav-tab {
    text-align: center;
    padding: 10px 11px;
  }

  main {
    padding: 18px;
  }

  .topbar,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar {
    margin: -18px -18px 22px;
    padding: 22px 18px;
    min-height: auto;
    background-size: cover, cover, 190px auto, auto;
    background-position: center, center, right -42px top 44px, center;
  }

  .hero-graphic {
    width: 100%;
    min-height: 260px;
  }

  .hero-photo-main {
    right: 0;
    width: 220px;
    height: 220px;
  }

  .hero-photo-small {
    width: 126px;
    height: 126px;
  }

  .hero-photo-small.one {
    left: 0;
    top: 18px;
  }

  .hero-photo-small.two {
    left: 36px;
    bottom: 14px;
  }

  .hero-poster-type {
    right: 8px;
    bottom: 18px;
    font-size: 3.5rem;
  }

  .program-grid,
  .profile-layout,
  .admin-layout,
  .admin-stats,
  .admin-queue-tools,
  .report-controls,
  .report-download-grid,
  .hub-access-panel,
  .hub-home-grid,
  .staff-login-panel,
  .staff-controls,
  .staff-test-grid,
  .gym-hours-grid,
  .roadmap,
  .seasonal-showcase,
  .booking-workspace,
  .order-grid,
  .testing-hero,
  .testing-grid,
  .testing-service-strip,
  .testing-packages,
  .testing-gallery,
  .testing-form,
  .testing-controls,
  .leaderboard-controls,
  .leaderboard-preview-grid,
  .camp-leader-streams,
  .camp-leader-metrics,
  .test-dashboard-grid,
  .report-scoreline,
  .test-summary-grid,
  .testing-report-tools,
  .testing-report-metrics,
  .broadcast-form {
    grid-template-columns: 1fr;
  }

  .testing-report-admin-card header {
    align-items: flex-start;
    flex-direction: column;
  }

  .testing-metric-primary,
  .testing-metric-context {
    grid-template-columns: 1fr;
  }

  .report-modal {
    padding: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .report-modal-shell {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    border-radius: 0;
    overflow: visible;
  }

  #reportModalBody {
    display: block;
    width: 100%;
    min-height: calc(100vh - 96px);
    min-height: calc(100dvh - 96px);
    overflow: visible;
  }

  .report-modal-toolbar,
  .full-report-header,
  .full-report-metric {
    grid-template-columns: 1fr;
  }

  .report-modal-toolbar {
    align-items: flex-start;
  }

  .full-report {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 10px;
  }

  .full-report-page {
    width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 14px;
    overflow: visible;
  }

  .full-report-header {
    margin: -14px -14px 8px;
    padding: 14px;
  }

  .full-report-header aside {
    text-align: left;
    border-left: 0;
    padding-left: 0;
  }

  .report-profile-grid,
  .report-identity-grid,
  .benchmark-card,
  .standards-grid,
  .development-grid,
  .metric-context-grid,
  .metric-band-row,
  .report-fallback-list {
    grid-template-columns: 1fr;
  }

  .hub-registration-card {
    grid-template-columns: 1fr;
  }

  .hub-inline-form {
    grid-template-columns: 1fr;
  }

  .test-report-card {
    grid-row: auto;
  }

  .test-metric-row {
    grid-template-columns: 1fr 1fr;
  }

  .test-metric-row > div {
    grid-column: 1 / -1;
  }

  .test-metric-row em {
    justify-self: start;
  }

  .testing-poster,
  .testing-poster img {
    min-height: 360px;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .booking-tools {
    grid-template-columns: 1fr;
  }

  .selected-program-alert {
    align-items: stretch;
    flex-direction: column;
  }

  .checkout-summary {
    position: static;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-detail-grid div {
    grid-template-columns: 1fr;
  }

  .gym-hours-grid span,
  .staff-service-options,
  .availability-service-options,
  .weekly-day-row,
  .manual-athlete-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .staff-service-options,
  .availability-service-options {
    display: grid;
    grid-template-columns: 1fr !important;
  }

  .staff-service-options label {
    min-height: 44px;
    align-items: center;
  }

  .nav-tabs {
    display: none;
  }

  h1 {
    font-size: 2.15rem;
  }

  .hero-brand {
    border-radius: 6px;
  }

  .hero-brand img {
    width: 150px;
    height: 64px;
  }

  .season-panel {
    min-height: auto;
    padding: 18px;
  }

  .season-panel.current-season {
    background-size: 118px auto;
  }

  .camp-leaderboard-shell {
    padding: 14px;
  }

  .camp-leaderboard-heading,
  .camp-leaderboard-result-header {
    align-items: stretch;
    flex-direction: column;
  }

  .camp-leaderboard-filter-box {
    flex-basis: auto;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .camp-leaderboard-badges {
    justify-content: flex-start;
  }

  .camp-leader-metric li {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .camp-leader-metric li em {
    grid-column: 2;
    white-space: normal;
  }

  .program-art {
    min-height: 132px;
  }

  .hero-actions,
  .testing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-booking-link,
  .hero-secondary-link,
  .testing-actions button {
    width: 100%;
  }

  .policy-modal {
    padding: 12px;
  }

  .policy-modal-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .policy-content {
    padding: 14px;
  }

  .testing-copy h2 {
    font-size: 2.25rem;
  }

  .testing-poster,
  .testing-poster img {
    min-height: 290px;
  }

  .marker-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .calendar-grid.month-view,
  .calendar-grid.year-view,
  .calendar-controls {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .stat-card {
    min-height: 78px;
    padding: 12px;
  }

  .stat-card strong {
    font-size: 1.35rem;
  }

  .calendar-panel,
  .booking-panel,
  .panel {
    padding: 14px;
  }

  .day-cell {
    min-height: auto;
  }

  .admin-panel-heading {
    flex-direction: column;
    gap: 4px;
  }

  .admin-actions,
  .queue-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .booking-item {
    padding: 10px;
  }

  .booking-flags span,
  .status {
    font-size: 0.72rem;
  }

  .detail-list div,
  .booking-item header {
    flex-direction: column;
  }

  dd {
    text-align: left;
  }
}

@media print {
  @page {
    size: letter;
    margin: 0;
  }

  html,
  body {
    width: 8.5in;
    margin: 0 !important;
    background: white !important;
  }

  body.report-modal-open > *:not(.report-modal):not(.policy-modal) {
    display: none !important;
  }

  .report-modal {
    position: static;
    inset: auto;
    overflow: visible;
    padding: 0;
    background: white;
  }

  .report-modal-shell {
    width: 100%;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    background: white;
  }

  .report-modal-toolbar {
    display: none;
  }

  .full-report {
    display: block;
    padding: 0;
    background: white;
  }

  .full-report-page {
    width: 8.5in;
    min-height: 11in;
    max-height: 11in;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    padding: 0.36in;
    page-break-after: always;
    break-after: page;
    gap: 0.12in;
    box-shadow: none;
  }

  .full-report-page:last-child {
    page-break-after: auto;
    break-after: auto;
  }

  .full-report-header {
    grid-template-columns: auto 1fr 2.6in;
    margin: -0.36in -0.36in 0.12in;
    padding: 0.18in 0.36in;
  }

  .full-report-header strong {
    font-size: 22px;
  }

  .full-report-header aside {
    text-align: right;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    padding-left: 0.18in;
  }

  .report-identity-grid,
  .development-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.14in;
  }

  .athlete-card,
  .playing-card,
  .benchmark-card,
  .coach-summary-card,
  .training-block-card,
  .development-grid article,
  .standards-grid article,
  .colour-scale-card {
    padding: 0.12in;
    border-radius: 0.08in;
  }

  .athlete-card h2 {
    font-size: 42px;
  }

  .playing-card strong {
    font-size: 32px;
    line-height: 0.95;
    word-break: break-word;
  }

  .playing-card strong.compact-level {
    font-size: 22px;
    line-height: 1.05;
  }

  .playing-card span,
  .benchmark-card span {
    font-size: 16px;
  }

  .benchmark-card {
    grid-template-columns: 1fr 1.35in;
  }

  .benchmark-card strong,
  .athlete-card p,
  .athlete-card small {
    font-size: 12px;
  }

  .full-report-metrics {
    gap: 0.075in;
  }

  .full-report-metric {
    grid-template-columns: 1.35in 3.45in 1.55in;
    gap: 0.08in;
    padding: 0.08in;
    border-radius: 0.08in;
  }

  .metric-score-cell strong,
  .metric-note-cell strong,
  .metric-note-cell p {
    font-size: 10px;
  }

  .metric-score-cell > span:not(.colour-badge) {
    font-size: 18px;
  }

  .metric-score-cell .colour-badge,
  .colour-badge {
    min-width: 0.72in;
    min-height: 0.25in;
    padding: 0.03in 0.06in;
    font-size: 9px;
  }

  .metric-band-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.04in;
  }

  .metric-band-row span {
    padding: 0.04in;
    border-radius: 0.05in;
  }

  .metric-band-row strong,
  .metric-band-row em,
  .metric-context-grid span {
    font-size: 8px;
  }

  .metric-context-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.04in;
  }

  .metric-context-grid span {
    padding: 0.04in;
  }

  .development-grid article {
    min-height: 1.05in;
  }

  .report-training-links {
    gap: 0.07in;
    margin-top: 0.08in;
    padding: 0.08in;
    border-width: 1.5px;
    border-left-width: 0.08in;
    box-shadow: none;
  }

  .report-training-links-header strong {
    font-size: 12px;
  }

  .report-training-links-header span {
    font-size: 8px;
  }

  .report-training-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.05in;
  }

  .report-training-link-card {
    min-height: 0.56in;
    gap: 0.03in;
    padding: 0.06in;
    border-radius: 0.06in;
    box-shadow: inset 0 0.04in 0 rgba(237, 28, 36, 0.92);
  }

  .report-training-link-card.external {
    box-shadow: inset 0 0.04in 0 #0a8754;
  }

  .report-training-link-card span,
  .report-training-link-card em {
    font-size: 7px;
  }

  .report-training-link-card strong {
    font-size: 8.5px;
    line-height: 1.05;
  }

  .standards-grid table,
  .colour-scale-table {
    font-size: 8px;
  }

  .standards-grid th,
  .standards-grid td,
  .colour-scale-table th,
  .colour-scale-table td {
    padding: 0.035in 0.05in;
  }

  .full-report-page footer {
    padding-top: 0.08in;
    font-size: 9px;
  }
}
