:root {
  --ink: #172033;
  --muted: #667085;
  --line: #e6eaf0;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --brand: #e30613;
  --brand-dark: #b30512;
  --blue: #123db8;
  --accent: #f6c523;
  --ok: #047857;
  --shadow: 0 18px 45px rgba(17, 24, 39, .08);
  --shadow-soft: 0 10px 28px rgba(17, 24, 39, .06);
}

.tabler-loaded {
  --ink: var(--tblr-body-color, #1f2937);
  --muted: var(--tblr-muted, #667085);
  --line: var(--tblr-border-color, #dce3ec);
  --bg: var(--tblr-bg-surface-secondary, #f6f8fb);
  --panel: var(--tblr-bg-surface, #ffffff);
  --shadow: 0 18px 45px rgba(29, 39, 59, .08);
  --shadow-soft: 0 .25rem 1rem rgba(29, 39, 59, .06);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--tblr-font-sans-serif, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(18, 61, 184, .08), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 38%, #eef3f9 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.admin-header,
.portal-header {
  align-items: center;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .85);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-with-logo img {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .08);
  height: 48px;
  object-fit: contain;
  padding: 5px;
  width: 48px;
}

.brand-with-logo span {
  display: grid;
  gap: 1px;
}

.brand-with-logo small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  border-radius: 999px;
  font-weight: 800;
  padding: 8px 10px;
}

.nav a:hover {
  background: #fff1f2;
  color: var(--brand);
}

.menu-toggle {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  display: none;
  min-height: 40px;
  padding: 9px 13px;
}

.hero {
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .94), rgba(179, 5, 18, .9) 54%, rgba(18, 61, 184, .88)),
    url("/assets/img/gta-logo.jpg") center right 8% / 360px auto no-repeat;
  color: #fff;
  min-height: 560px;
  padding: 96px 32px 64px;
}

.hero-inner,
.container {
  margin: 0 auto;
  max-width: 1180px;
}

.hero h1 {
  font-size: clamp(42px, 8vw, 92px);
  line-height: .95;
  margin: 0 0 24px;
  max-width: 900px;
}

.hero p {
  color: #fee2e2;
  font-size: 20px;
  line-height: 1.7;
  max-width: 720px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn,
button {
  background: var(--brand);
  border: 0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(227, 6, 19, .18);
  min-height: 42px;
  padding: 12px 18px;
}

.btn.secondary {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.section {
  padding: 72px 32px;
}

.section h2 {
  font-size: 34px;
  margin: 0 0 24px;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.card h3 {
  margin-top: 0;
}

.card-media {
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  border-radius: 8px;
  display: block;
  margin: 0 0 16px;
  object-fit: cover;
  width: 100%;
}

.instagram-grid .card {
  overflow: hidden;
}

.muted {
  color: var(--muted);
}

.login-links {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.login-links a {
  color: var(--brand);
  font-weight: 800;
}

.footer {
  background: #111827;
  color: #cbd5e1;
  padding: 40px 32px;
}

.admin-shell,
.portal-shell {
  display: grid;
  grid-template-columns: 286px 1fr;
  align-items: stretch;
  min-height: calc(100vh - 76px);
}

.sidebar {
  background: linear-gradient(180deg, #101828 0%, #172033 58%, #0f172a 100%);
  border-right: 1px solid rgba(255, 255, 255, .08);
  color: #d8e0ef;
  height: calc(100vh - 76px);
  overflow-y: auto;
  padding: 20px 16px 28px;
  position: sticky;
  top: 76px;
  scrollbar-color: rgba(255, 255, 255, .28) transparent;
  scrollbar-width: thin;
}

.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .24);
  border-radius: 999px;
}

.sidebar-profile {
  align-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px;
}

.sidebar-profile img {
  background: #fff;
  border-radius: 8px;
  height: 48px;
  object-fit: contain;
  padding: 5px;
  width: 48px;
}

.sidebar-profile strong,
.sidebar-profile span {
  display: block;
}

.sidebar-profile span {
  color: #98a2b3;
  font-size: 12px;
  font-weight: 700;
}

.tree-nav {
  display: grid;
  gap: 8px;
}

.tree-group {
  border-radius: 8px;
}

.tree-group summary {
  align-items: center;
  border-radius: 8px;
  color: #8fa2bf;
  cursor: pointer;
  display: flex;
  font-size: 12px;
  font-weight: 900;
  justify-content: space-between;
  letter-spacing: .08em;
  list-style: none;
  padding: 10px 12px;
  text-transform: uppercase;
}

.tree-group summary::-webkit-details-marker {
  display: none;
}

.tree-group summary::after {
  content: "+";
  color: #d8e0ef;
  font-size: 15px;
  line-height: 1;
}

.tree-group[open] summary {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.tree-group[open] summary::after {
  content: "-";
}

.tree-links {
  border-left: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: 3px;
  margin: 6px 0 8px 12px;
  padding-left: 8px;
}

.tree-links a {
  border-radius: 8px;
  color: #d8e0ef;
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
  padding: 10px 12px;
}

.tree-links a:hover,
.tree-links a.active {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.tree-links a.active {
  box-shadow: inset 3px 0 0 var(--brand);
}

.content {
  padding: 30px;
}

.toolbar {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(226, 232, 240, .85);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
  padding: 18px 20px;
}

.toolbar h1 {
  margin: 0 0 4px;
}

.table {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .9);
  border-collapse: collapse;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  width: 100%;
}

.table th {
  background: #f8fafc;
  color: #475467;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 6px;
}

input,
textarea,
select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(18, 61, 184, .55);
  box-shadow: 0 0 0 4px rgba(18, 61, 184, .1);
  outline: none;
}

textarea {
  min-height: 130px;
}

.notice {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: var(--ok);
  margin-bottom: 16px;
  padding: 12px 14px;
}

.error {
  background: #fff1f2;
  border-color: #fecdd3;
  color: var(--brand-dark);
}

.login {
  display: grid;
  background:
    radial-gradient(circle at top left, rgba(227, 6, 19, .16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(18, 61, 184, .18), transparent 38%),
    #f8fafc;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-panel {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 420px;
  padding: 32px;
  width: 100%;
}

.login-logo {
  display: block;
  height: 84px;
  margin: 0 auto 14px;
  object-fit: contain;
  width: 112px;
}

.admin-welcome {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(16, 24, 40, .96), rgba(179, 5, 18, .88) 52%, rgba(18, 61, 184, .88));
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  min-height: 190px;
  overflow: hidden;
  padding: 28px;
}

.admin-welcome span {
  color: #fed7aa;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-welcome h2 {
  font-size: 32px;
  line-height: 1.08;
  margin: 8px 0 12px;
  max-width: 660px;
}

.admin-welcome p {
  color: #fee2e2;
  margin: 0;
  max-width: 620px;
}

.admin-welcome img {
  background: rgba(255, 255, 255, .94);
  border-radius: 8px;
  height: 138px;
  object-fit: contain;
  padding: 12px;
  width: 160px;
}

.metric-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  margin-bottom: 18px;
}

.metric-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 20px;
}

.metric-card span {
  color: #667085;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-card strong {
  color: #101828;
  font-size: 34px;
  line-height: 1;
}

.metric-card small {
  color: #667085;
  font-weight: 700;
}

.metric-card.primary {
  border-color: rgba(18, 61, 184, .2);
  box-shadow: 0 14px 34px rgba(18, 61, 184, .12);
}

.metric-card.warn {
  border-color: rgba(246, 197, 35, .45);
}

.metric-card.alert {
  border-color: rgba(227, 6, 19, .22);
}

.dashboard-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.dashboard-panel {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.panel-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-heading h2 {
  font-size: 18px;
  margin: 0;
}

.panel-heading a {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.attendance-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.attendance-strip div {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.attendance-strip strong {
  display: block;
  font-size: 30px;
}

.attendance-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-list div {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 12px;
}

.mini-list span,
.mini-list strong {
  display: grid;
  gap: 2px;
}

.mini-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 800px) {
  .site-header,
  .admin-header,
  .portal-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .admin-shell,
  .portal-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    height: auto;
    max-height: none;
    position: static;
  }

  .sidebar-profile,
  .tree-nav {
    grid-column: 1 / -1;
  }

  .admin-welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric-grid,
  .dashboard-grid,
  .attendance-strip {
    grid-template-columns: 1fr;
  }
}

/* Admin form architecture */
.settings-layout,
.record-form {
  display: grid;
  gap: 18px;
  max-width: 1180px;
}

.form-section {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  overflow: hidden;
}

.form-section-heading {
  background: linear-gradient(180deg, #fbfcff 0%, #f6f8fb 100%);
  border-right: 1px solid var(--line);
  padding: 22px;
}

.form-section-heading h2 {
  font-size: 18px;
  margin: 0 0 8px;
}

.form-section-heading p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.form-section-body {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  padding: 22px;
}

.form-section-body.compact {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.field {
  align-content: start;
}

.field span:first-child {
  color: #475467;
  font-size: 13px;
  font-weight: 900;
}

.field-wide {
  grid-column: 1 / -1;
}

.form-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.sticky-actions {
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 14px;
  position: sticky;
  bottom: 16px;
  z-index: 5;
}

.table-panel {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: auto;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.tabs a,
.footer-socials a,
.social-nav a {
  text-decoration: none;
}

.tabs a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  padding: 10px 14px;
}

.tabs a.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.portrait-media {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.social-nav,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
}

.submenu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: none;
  min-width: 220px;
  padding: 8px;
  position: absolute;
  top: calc(100% + 8px);
  z-index: 20;
}

.submenu .nav-item {
  display: block;
}

.submenu .submenu {
  left: calc(100% + 8px);
  top: 0;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  display: grid;
  gap: 4px;
}

.submenu a {
  border-radius: 6px;
  padding: 8px 10px;
}

.submenu a:hover {
  background: #f3f6fb;
}

.footer-menu-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
}

.footer-menu-column {
  display: grid;
  gap: 8px;
}

.footer-menu-column h3 {
  font-size: 15px;
  margin: 0 0 6px;
}

.footer-menu-column a {
  color: inherit;
  text-decoration: none;
}

.footer-sub-link {
  color: var(--muted) !important;
  padding-left: 12px;
}

.record-form + .record-form,
.settings-layout + .record-form {
  margin-top: 18px;
}

.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.section-heading {
  margin: 0 0 28px;
  max-width: 720px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
  margin: 0 0 12px;
}

.split-heading {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  max-width: none;
}

.home-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), color-mix(in srgb, var(--page-hero-bg, #eef4ff) 72%, white)),
    linear-gradient(90deg, rgba(227, 6, 19, .11), rgba(18, 61, 184, .12));
  color: var(--page-hero-text, var(--ink));
  overflow: hidden;
  padding: 78px 32px 64px;
  position: relative;
}

.home-hero::before {
  background: linear-gradient(90deg, var(--page-accent, var(--brand)), var(--accent), var(--blue));
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.home-hero-grid {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .72fr);
}

.home-hero-copy h1 {
  font-size: clamp(44px, 7vw, 78px);
  line-height: .96;
  margin: 0 0 22px;
  max-width: 940px;
}

.home-hero.title-small h1,
.page-hero.title-small h1 {
  font-size: clamp(32px, 4vw, 48px);
}

.home-hero.title-medium h1,
.page-hero.title-medium h1 {
  font-size: clamp(38px, 5vw, 60px);
}

.home-hero.title-display h1,
.page-hero.title-display h1 {
  font-size: clamp(54px, 8vw, 92px);
}

.home-hero-copy > p:not(.eyebrow) {
  color: color-mix(in srgb, var(--page-hero-text, #172033) 72%, #667085);
  font-size: 19px;
  line-height: 1.7;
  max-width: 760px;
}

.hero-extra-copy {
  max-width: 680px;
}

.home-hero-visual {
  background:
    linear-gradient(145deg, rgba(227, 6, 19, .92), rgba(18, 61, 184, .9)),
    #172033;
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 24px;
  min-height: 420px;
  padding: 34px;
}

.hero-logo-frame {
  align-items: center;
  align-self: center;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 250px;
  padding: 26px;
}

.hero-logo-frame img {
  display: block;
  max-height: 220px;
  max-width: 100%;
  object-fit: contain;
}

.hero-stat-board {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.hero-stat-board span {
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 4px;
  padding: 14px;
}

.hero-stat-board strong {
  font-size: 28px;
}

.home-banner-track {
  margin: 46px auto 0;
  max-width: 1180px;
  overflow: hidden;
  padding: 0 32px;
}

.home-banner-strip {
  animation: banner-scroll 28s linear infinite;
  display: flex;
  gap: 14px;
  width: max-content;
}

.home-banner-strip article {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .92);
  border-left: 5px solid var(--brand);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 14px;
  min-width: 360px;
  padding: 16px 18px;
}

.home-banner-strip strong {
  color: var(--ink);
  white-space: nowrap;
}

.home-banner-strip span {
  color: var(--muted);
}

@keyframes banner-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.tournament-callout-section {
  background:
    linear-gradient(135deg, rgba(17, 32, 51, .96), rgba(18, 61, 184, .9)),
    #172033;
  color: #fff;
}

.tournament-callout {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
}

.tournament-callout h2 {
  color: #fff;
}

.tournament-callout .muted {
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.7;
}

.tournament-card-stack {
  display: grid;
  gap: 12px;
}

.tournament-card-stack article {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 18px;
}

.tournament-card-stack span {
  color: #fde68a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tournament-card-stack strong {
  font-size: 18px;
}

.tournament-card-stack small {
  color: #dbeafe;
}

.program-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  min-height: 230px;
  padding: 26px;
}

.program-tile.featured {
  background: linear-gradient(135deg, #172033, #123db8);
  color: #fff;
}

.program-tile span {
  color: var(--brand);
  font-weight: 900;
}

.program-tile.featured span,
.program-tile.featured p {
  color: #dbeafe;
}

.program-tile h3 {
  font-size: 24px;
  margin: 42px 0 12px;
}

.program-tile p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.program-detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.program-detail-grid .program-tile {
  min-height: 0;
}

.program-detail-grid .program-tile h3 {
  margin-top: 22px;
}

.program-meta {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 14px;
}

.program-meta strong {
  color: var(--ink);
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.fee-plan-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.fee-plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 8px;
  padding: 22px;
}

.fee-plan-card span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.fee-plan-card h3 {
  font-size: 20px;
  margin: 0;
}

.fee-plan-card strong {
  color: var(--ink);
  font-size: 28px;
}

.fee-plan-card p,
.fee-plan-card small {
  color: var(--muted);
  margin: 0;
}

.home-branches-section {
  background: #fff;
}

.branch-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.branch-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 22px;
}

.branch-card strong {
  font-size: 19px;
}

.branch-card p,
.branch-card small {
  color: var(--muted);
  line-height: 1.55;
}

.branch-card a,
.coach-card a {
  color: var(--brand);
  font-weight: 900;
}

.coach-showcase {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 34px;
}

.coach-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.coach-card {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 16px;
  padding: 16px;
}

.coach-card-photo img,
.coach-placeholder {
  border-radius: 8px;
  flex: 0 0 84px;
  height: 84px;
  object-fit: cover;
  width: 84px;
}

.coach-placeholder {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--blue));
  color: #fff;
  display: flex;
  font-size: 30px;
  font-weight: 900;
  justify-content: center;
}

.coach-card h3 {
  margin: 0 0 6px;
}

.coach-card p {
  color: var(--muted);
  margin: 0 0 8px;
}

.coach-card-copy {
  min-width: 0;
}

.coach-rank {
  font-weight: 800;
}

.coach-branch {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  padding: 6px 10px;
}

.coach-highlight {
  border-left: 3px solid var(--brand);
  color: var(--ink) !important;
  font-weight: 800;
  line-height: 1.45;
  padding-left: 10px;
}

.updates-grid {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.update-list {
  display: grid;
  gap: 14px;
}

.update-list article,
.instagram-panel,
.page-content,
.page-media-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.update-list time {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.update-list h3,
.instagram-panel h2 {
  margin: 6px 0 8px;
}

.update-list p {
  color: var(--muted);
  margin: 0;
}

.instagram-panel {
  position: sticky;
  top: 96px;
}

.instagram-mini-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  margin: 16px 0;
}

.instagram-mini-grid a,
.instagram-mini-grid img {
  border-radius: 8px;
  display: block;
  min-height: 132px;
  width: 100%;
}

.instagram-mini-grid a {
  background: #f1f5f9;
  overflow: hidden;
}

.instagram-mini-grid img {
  height: 132px;
  object-fit: cover;
}

.instagram-mini-grid span {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-weight: 800;
  min-height: 132px;
  padding: 14px;
}

.testimonial-band {
  background: linear-gradient(135deg, #111827, #172033);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: .75fr 1.25fr;
  padding: 36px;
}

.testimonial-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-row article {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  padding: 18px;
}

.testimonial-row p {
  color: #e5e7eb;
  line-height: 1.6;
}

.page-hero {
  background: linear-gradient(135deg, #fff, var(--page-hero-bg, #eef4ff));
  color: var(--page-hero-text, var(--ink));
  padding: 72px 32px 50px;
}

.page-hero-grid {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr);
}

.page-hero.has-image .page-hero-grid {
  grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
}

.page-hero-copy h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  margin: 0 0 18px;
}

.page-hero-copy > p:not(.eyebrow) {
  color: color-mix(in srgb, var(--page-hero-text, #172033) 72%, #667085);
  font-size: 18px;
  line-height: 1.7;
  max-width: 760px;
}

.page-hero .eyebrow,
.home-hero .eyebrow {
  color: var(--page-accent, var(--brand));
}

.page-block {
  background: var(--block-bg, #fff);
  color: var(--block-text, var(--ink));
}

.page-block.bg-soft {
  background: #f8fafc;
}

.page-block.bg-dark {
  background: #172033;
  color: #fff;
}

.page-block.bg-brand {
  background: var(--brand);
  color: #fff;
}

.page-block.bg-blue {
  background: var(--blue);
  color: #fff;
}

.page-block.bg-custom {
  background: var(--block-bg, #fff);
  color: var(--block-text, var(--ink));
}

.page-block-inner {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
}

.page-block.layout-media_left .page-block-inner,
.page-block.layout-media_right .page-block-inner,
.page-block.layout-text_media .page-block-inner {
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1fr);
}

.page-block.layout-media_right .page-block-media {
  order: 2;
}

.page-block.layout-centered {
  text-align: center;
}

.page-block.layout-centered .page-block-copy,
.page-block.layout-centered .page-block-copy p {
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
}

.page-block.layout-full_width .container {
  max-width: none;
}

.page-block-media {
  margin: 0;
}

.page-block-media img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: block;
  object-fit: cover;
  width: 100%;
}

.page-block-copy h2 {
  margin: 0 0 14px;
}

.page-block-copy p {
  line-height: 1.75;
}

.heading-small {
  font-size: 24px;
}

.heading-medium,
.heading-normal {
  font-size: clamp(30px, 4vw, 44px);
}

.heading-large {
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.02;
}

.heading-display {
  font-size: clamp(54px, 7vw, 86px);
  line-height: .96;
}

.text-small {
  font-size: 15px;
}

.text-normal {
  font-size: 18px;
}

.text-medium {
  font-size: 21px;
}

.text-large,
.text-display {
  font-size: 24px;
}

.page-hero-media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0;
  padding: 12px;
}

.page-hero-media img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.page-detail-grid {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
}

.page-detail-grid:has(.page-media-panel) {
  grid-template-columns: minmax(0, 1fr) 390px;
}

.page-content {
  color: #344054;
  font-size: 18px;
  line-height: 1.8;
}

.page-content p:first-child {
  margin-top: 0;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #0f172a;
  border-radius: 8px;
  overflow: hidden;
}

.video-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.admin-page-head {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 26px;
}

.admin-page-head h1 {
  margin: 0 0 8px;
}

.cms-page-editor {
  display: grid;
  gap: 18px;
}

.editor-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
}

.editor-panel-intro {
  background: #f8fafc;
  border-right: 1px solid var(--line);
  padding: 24px;
}

.editor-panel-intro h2 {
  font-size: 20px;
  margin: 14px 0 10px;
}

.editor-panel-intro p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.step-dot {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.editor-fields {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px;
}

.editor-fields .field-wide {
  grid-column: 1 / -1;
}

.page-body-editor {
  font-family: inherit;
  min-height: 360px;
}

.page-editor-preview img {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-height: 190px;
  object-fit: cover;
  width: 100%;
}

.sticky-actions {
  bottom: 0;
  position: sticky;
  z-index: 5;
}

.portal-page-head {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 24px;
}

.portal-page-head h1 {
  margin: 0 0 6px;
}

.portal-page-head p {
  line-height: 1.6;
  margin: 0;
  max-width: 760px;
}

.portal-metrics {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.portal-metrics article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.portal-metrics article::before {
  background: linear-gradient(180deg, var(--brand), var(--blue));
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
}

.portal-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-metrics strong {
  font-size: 32px;
}

.portal-profile-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  margin-top: 18px;
  padding: 22px;
}

.portal-avatar {
  align-items: center;
  background: linear-gradient(135deg, #fff1f2, #eff6ff);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: inline-flex;
  height: 92px;
  justify-content: center;
  overflow: hidden;
  width: 92px;
}

.portal-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.portal-avatar span {
  color: var(--brand);
  font-size: 36px;
  font-weight: 900;
}

.portal-profile-main h2 {
  font-size: 28px;
  margin: 4px 0 8px;
}

.portal-profile-main .eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-pills,
.portal-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-pills span {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.portal-profile-actions {
  justify-content: flex-end;
}

.portal-dashboard-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr);
  margin-top: 18px;
}

.card-title-row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-title-row h3 {
  margin: 0;
}

.card-title-row a {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.compact-table th,
.compact-table td {
  padding: 10px 12px;
}

.status-pill {
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  color: #047857;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 9px;
}

.portal-action-list {
  display: grid;
  gap: 10px;
}

.portal-action-list a {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 14px;
}

.portal-action-list a:hover {
  background: #fff1f2;
  border-color: #fecdd3;
}

.portal-action-list strong {
  color: var(--ink);
}

.portal-action-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.equipment-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.equipment-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.equipment-card h3,
.equipment-card p {
  margin-bottom: 0;
}

.equipment-thumb {
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: 112px;
  object-fit: contain;
  padding: 8px;
  width: 112px;
}

.inline-filter,
.mini-form,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-form {
  margin-top: 14px;
}

.mini-form input,
.mini-form select,
.inline-filter select {
  min-width: 130px;
}

.sidebar-quick-links {
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: none;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
}

.sidebar-quick-links a {
  background: rgba(255, 255, 255, .08);
  border-radius: 8px;
  color: #fff;
  display: block;
  font-weight: 800;
  padding: 10px 12px;
}

.tabler-loaded .content {
  background:
    radial-gradient(circle at top left, rgba(32, 107, 196, .10), transparent 26%),
    radial-gradient(circle at bottom right, rgba(246, 197, 35, .10), transparent 30%),
    #f3f6fb;
}

.tabler-loaded .admin-header,
.tabler-loaded .portal-header {
  background: linear-gradient(90deg, #f8fbff 0%, #fff8ee 52%, #f5f7ff 100%);
  box-shadow: 0 .125rem .5rem rgba(29, 39, 59, .06);
}

.tabler-loaded .sidebar {
  background: linear-gradient(180deg, #f7fbff 0%, #fffaf1 48%, #f6f8ff 100%);
  border-right: 1px solid var(--line);
  color: var(--ink);
}

.tabler-loaded .sidebar-profile {
  background: rgba(255, 255, 255, .72);
  border-color: var(--line);
  box-shadow: 0 8px 22px rgba(29, 39, 59, .05);
}

.tabler-loaded .sidebar-profile span,
.tabler-loaded .tree-group summary {
  color: #64748b;
}

.tabler-loaded .tree-group summary {
  border-radius: 8px;
  letter-spacing: .04em;
}

.tabler-loaded .tree-group[open] summary {
  background: #eaf3ff;
  color: #1d5fa8;
}

.tabler-loaded .tree-group summary::after,
.tabler-loaded .tree-group[open] summary::after {
  color: #206bc4;
}

.tabler-loaded .tree-links {
  border-left-color: #e5edf8;
}

.tabler-loaded .tree-links a {
  color: #334155;
  font-weight: 700;
}

.tabler-loaded .tree-links a:hover,
.tabler-loaded .tree-links a.active {
  background: linear-gradient(90deg, #eaf3ff, #fff5df);
  color: #174f9c;
}

.tabler-loaded .tree-links a.active {
  box-shadow: inset 3px 0 0 #206bc4;
}

.tabler-loaded .sidebar-quick-links {
  border-top-color: var(--line);
}

.tabler-loaded .sidebar-quick-links a {
  background: #f8fafc;
  color: #334155;
}

.tabler-loaded .card,
.tabler-loaded .toolbar,
.tabler-loaded .admin-page-head,
.tabler-loaded .portal-page-head,
.tabler-loaded .portal-profile-card,
.tabler-loaded .record-form,
.tabler-loaded .settings-card,
.tabler-loaded .table {
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.tabler-loaded .card,
.tabler-loaded .toolbar,
.tabler-loaded .admin-page-head,
.tabler-loaded .portal-page-head,
.tabler-loaded .portal-profile-card,
.tabler-loaded .form-section,
.tabler-loaded .record-form {
  background: #fbfcf8;
}

.tabler-loaded .table {
  border-radius: var(--tblr-border-radius, 8px);
}

.tabler-loaded .table th {
  background: var(--tblr-bg-surface-tertiary, #f8fafc);
  color: var(--tblr-secondary, #667085);
}

.tabler-loaded input,
.tabler-loaded textarea,
.tabler-loaded select {
  background: #fffefb;
  border-color: var(--line);
  box-shadow: none;
}

.tabler-loaded input:focus,
.tabler-loaded textarea:focus,
.tabler-loaded select:focus {
  border-color: var(--tblr-primary, #206bc4);
  box-shadow: 0 0 0 .25rem rgba(32, 107, 196, .12);
}

.tabler-loaded .btn,
.tabler-loaded button {
  border-radius: var(--tblr-border-radius, 8px);
}

.select-search {
  background: #f8fbff !important;
  margin-bottom: 8px;
}

.portal-invoice-alert {
  align-items: center;
  background: linear-gradient(135deg, #fff7e6, #edf6ff);
  border: 1px solid #f6d38f;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 20px 22px;
}

.portal-invoice-alert .eyebrow {
  color: #b45309;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portal-invoice-alert h2,
.portal-invoice-alert p {
  margin: 0;
}

.portal-invoice-alert h2 {
  margin-top: 3px;
}

.portal-invoice-alert p {
  color: #475467;
  line-height: 1.6;
  margin-top: 6px;
}

.page-block {
  padding-bottom: 56px;
  padding-top: 56px;
}

.page-block.bg-soft {
  background: #f8fafc;
}

.page-block.bg-dark {
  background: #172033;
  color: #fff;
}

.page-block-inner {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
}

.page-block-media {
  margin: 0;
}

.page-block-media img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: block;
  object-fit: cover;
  width: 100%;
}

.print-page {
  background: #fff;
}

.id-card-print,
.certificate-print {
  background: #fff;
  border: 2px solid var(--ink);
  margin: 32px auto;
  max-width: 760px;
  padding: 28px;
}

.id-card-print header {
  align-items: center;
  border-bottom: 2px solid var(--line);
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
}

.id-card-print header img,
.certificate-print img {
  height: 70px;
  object-fit: contain;
  width: 70px;
}

.id-card-body {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: 150px 1fr;
  padding: 22px 0;
}

.id-card-body > img {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  width: 150px;
}

.certificate-print {
  min-height: 520px;
  text-align: center;
}

.certificate-print h1 {
  font-size: 48px;
  margin: 24px 0 10px;
}

.certificate-print h2 {
  color: var(--brand);
  font-size: 32px;
}

@media print {
  .print-page {
    background: #fff;
  }

  .id-card-print,
  .certificate-print {
    box-shadow: none;
    margin: 0 auto;
  }
}

@media (max-width: 1100px) {
  .site-header,
  .admin-header,
  .portal-header {
    gap: 14px;
    padding: 0 18px;
  }

  .site-header .social-nav {
    display: none;
  }

  .nav {
    gap: 8px;
  }

  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
  }

  .home-hero-copy h1 {
    font-size: 56px;
  }

  .admin-shell,
  .portal-shell {
    grid-template-columns: 248px 1fr;
  }
}

@media (max-width: 800px) {
  body {
    overflow-x: hidden;
  }

  .site-header,
  .admin-header,
  .portal-header {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand-with-logo img {
    border-radius: 10px;
    height: 42px;
    width: 42px;
  }

  .brand-with-logo span {
    font-size: 15px;
  }

  .brand-with-logo small {
    font-size: 11px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-header > .nav:not(.header-nav),
  .admin-header > .nav,
  .portal-header > .nav,
  .site-header .header-social-nav {
    display: none;
  }

  .header-nav {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    margin-top: 10px;
    padding: 10px;
  }

  .header-nav.is-open {
    display: grid;
  }

  .header-nav a,
  .header-nav .nav-item > a {
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    padding: 11px 12px;
    width: 100%;
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    display: grid;
  }

  .submenu {
    border: 0;
    display: grid;
    gap: 2px;
    padding: 0 0 0 12px;
    width: 100%;
  }

  .submenu .submenu {
    left: auto;
    padding-left: 12px;
  }

  .admin-shell,
  .portal-shell {
    display: block;
    min-height: auto;
  }

  .sidebar {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: none;
    height: auto;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    position: sticky;
    top: 68px;
    z-index: 9;
  }

  .sidebar.is-open {
    display: block;
  }

  .sidebar-quick-links {
    display: grid;
  }

  .content {
    padding: 18px 14px;
  }

  .toolbar,
  .portal-page-head,
  .admin-page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }

  .portal-profile-card,
  .portal-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .portal-invoice-alert {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-profile-card {
    align-items: flex-start;
  }

  .portal-profile-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .portal-profile-actions .btn {
    justify-content: center;
    flex: 1 1 160px;
  }

  .toolbar .actions,
  .portal-page-head .actions,
  .admin-page-head .actions,
  .inline-filter {
    width: 100%;
  }

  .inline-filter,
  .quick-actions,
  .mini-form {
    flex-direction: column;
  }

  .inline-filter select,
  .inline-filter button,
  .quick-actions .btn,
  .mini-form input,
  .mini-form select,
  .mini-form button {
    justify-content: center;
    width: 100%;
  }

  .home-hero {
    padding: 44px 18px 38px;
  }

  .home-hero-grid,
  .tournament-callout,
  .page-hero.has-image .page-hero-grid,
  .page-block.layout-media_left .page-block-inner,
  .page-block.layout-media_right .page-block-inner,
  .page-block.layout-text_media .page-block-inner,
  .updates-grid,
  .testimonial-band,
  .page-detail-grid:has(.page-media-panel),
  .page-block-inner,
  .editor-panel {
    grid-template-columns: 1fr;
  }

  .home-hero-copy h1,
  .page-hero-copy h1 {
    font-size: 38px;
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .home-hero-copy > p:not(.eyebrow),
  .page-hero-copy > p:not(.eyebrow) {
    font-size: 17px;
  }

  .actions {
    flex-direction: column;
    width: 100%;
  }

  .actions .btn,
  .actions button {
    justify-content: center;
    width: 100%;
  }

  .home-hero-visual {
    min-height: auto;
    padding: 20px;
  }

  .home-banner-track {
    margin-top: 28px;
    padding: 0 18px;
  }

  .home-banner-strip article {
    align-items: flex-start;
    flex-direction: column;
    min-width: 280px;
  }

  .hero-stat-board,
  .program-grid,
  .testimonial-row {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .admin-page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .instagram-panel {
    position: static;
  }

  .page-hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding-bottom: 44px;
    padding-top: 44px;
  }

  .section-heading h2,
  .section h2 {
    font-size: 30px;
  }

  .hero-stat-board,
  .portal-metrics {
    grid-template-columns: 1fr;
  }

  .portal-avatar {
    height: 76px;
    width: 76px;
  }

  .portal-profile-main h2 {
    font-size: 24px;
  }

  .portal-action-list a {
    padding: 12px;
  }

  .card,
  .coach-showcase,
  .testimonial-band,
  .page-content,
  .page-media-panel {
    padding: 18px;
  }

  .table-panel,
  .card:has(.table) {
    overflow-x: auto;
  }

  .table {
    min-width: 720px;
  }

  .page-detail-grid {
    grid-template-columns: 1fr;
  }

  .editor-panel-intro {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .editor-fields {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .form-section {
    grid-template-columns: 1fr;
  }

  .form-section-heading {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .form-section-body,
  .form-section-body.compact {
    grid-template-columns: 1fr;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-actions .btn,
  .form-actions button {
    justify-content: center;
    width: 100%;
  }

  .sticky-actions {
    position: static;
  }

  .submenu {
    box-shadow: none;
    margin-top: 6px;
    position: static;
  }

  .footer-menu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .home-hero-copy h1,
  .page-hero-copy h1 {
    font-size: 34px;
  }

  .home-hero,
  .page-hero,
  .section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-hero-visual {
    display: none;
  }

  .home-banner-track {
    display: none;
  }

  .program-tile,
  .branch-card,
  .card {
    padding: 16px;
  }

  .editor-fields,
  .form-section-body {
    padding: 14px;
  }
}
