:root {
  --bg: #0d1117;
  --bg-soft: #131a22;
  --panel: rgba(16, 23, 32, 0.82);
  --panel-strong: rgba(12, 18, 27, 0.96);
  --header-surface-start: rgba(14, 19, 27, 0.92);
  --header-surface-end: rgba(10, 14, 20, 0.84);
  --header-surface-solid: rgba(10, 14, 20, 0.84);
  --line: rgba(232, 216, 191, 0.16);
  --text: #f4efe6;
  --muted: #b8b1a4;
  --accent: #d8a24a;
  --accent-strong: #ffbf56;
  --accent-deep: #8f461f;
  --dragon-red: #9f2a24;
  --dragon-red-strong: #d84a43;
  --dragon-red-soft: #f28a83;
  --dragon-red-ink: #ffe7df;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
  --radius: 28px;
  --radius-sm: 18px;
  --max-width: 1180px;
}

.page-home.page-customer-portal-test {
  --customer-portal-surface: rgba(14, 19, 28, 0.92);
  --customer-portal-panel: rgba(11, 16, 24, 0.96);
  --customer-portal-panel-soft: rgba(20, 28, 39, 0.92);
  --customer-portal-border: rgba(232, 216, 191, 0.12);
  --customer-portal-border-strong: rgba(255, 182, 75, 0.2);
  --customer-portal-muted: rgba(244, 239, 230, 0.68);
  --customer-portal-blue: #3f84ff;
  --customer-portal-amber: #ffb64b;
  --customer-portal-teal: #4ed0b4;
  --customer-portal-purple: #9b7dff;
  background:
    radial-gradient(circle at top left, rgba(63, 132, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 182, 75, 0.12), transparent 22%),
    linear-gradient(180deg, #070d13 0%, #09111a 38%, #050a10 100%);
}

.page-home.page-customer-portal-test .site-shell {
  width: 100%;
}

.page-home.page-customer-portal-test .topbar {
  width: min(calc(100% - 0.9rem), 142rem) !important;
}

.customer-portal-test-main {
  width: min(calc(100% - 0.9rem), 142rem);
  margin: 0 auto 4rem;
}

.customer-portal-test-toolbar,
.customer-portal-test-sidebar,
.customer-portal-test-card,
.customer-portal-test-hero,
.customer-portal-test-kpi {
  border: 1px solid var(--customer-portal-border);
  background:
    linear-gradient(180deg, rgba(17, 24, 34, 0.96), rgba(9, 14, 21, 0.96)),
    rgba(11, 16, 24, 0.96);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
}

.customer-portal-test-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 28px;
}

.customer-portal-test-toolbar h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.customer-portal-test-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.customer-portal-test-search {
  display: grid;
  gap: 0.35rem;
  min-width: min(26rem, 44vw);
}

.customer-portal-test-search.is-inline {
  min-width: 0;
  margin-bottom: 1rem;
}

.customer-portal-test-search-label {
  color: var(--customer-portal-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.customer-portal-test-search input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.customer-portal-test-layout {
  display: grid;
  grid-template-columns: minmax(240px, 17rem) minmax(0, 1fr) minmax(310px, 23rem);
  gap: 1.1rem;
  align-items: start;
}

.customer-portal-test-sidebar,
.customer-portal-test-rail {
  position: sticky;
  top: 6.6rem;
}

.customer-portal-test-sidebar {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 30px;
}

.customer-portal-test-profile h2,
.customer-portal-test-card h2,
.customer-portal-test-hero h2 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.2rem, 1.9vw, 2rem);
}

.customer-portal-test-profile p,
.customer-portal-test-card p,
.customer-portal-test-hero p,
.customer-portal-test-kpi p,
.customer-portal-test-sidebar p {
  color: var(--customer-portal-muted);
}

.customer-portal-test-profile-role {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(232, 216, 191, 0.08);
}

.customer-portal-test-nav {
  display: grid;
  gap: 0.45rem;
}

.customer-portal-test-nav a {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(232, 216, 191, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.customer-portal-test-nav a.is-active,
.customer-portal-test-nav a:hover,
.customer-portal-test-nav a:focus-visible {
  border-color: var(--customer-portal-border-strong);
  background: rgba(255, 182, 75, 0.08);
  transform: translateY(-1px);
}

.customer-portal-test-sidecard {
  padding-top: 0.2rem;
}

.customer-portal-test-tasklist,
.customer-portal-test-stack {
  display: grid;
  gap: 0.75rem;
}

.customer-portal-test-task,
.customer-portal-test-inline-item,
.customer-portal-test-announce,
.customer-portal-test-contact,
.customer-portal-test-resource,
.customer-portal-test-signal {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.customer-portal-test-task strong,
.customer-portal-test-inline-item strong,
.customer-portal-test-announce h3,
.customer-portal-test-contact h3,
.customer-portal-test-resource h3,
.customer-portal-test-signal h3,
.customer-portal-test-ticket h3,
.customer-portal-test-timeline-head h3 {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 1.06rem;
}

.customer-portal-test-task span,
.customer-portal-test-inline-item span,
.customer-portal-test-resource span,
.customer-portal-test-timeline-head span {
  color: var(--customer-portal-muted);
  font-size: 0.88rem;
}

.customer-portal-test-center,
.customer-portal-test-rail {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.customer-portal-test-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 1rem;
  padding: 1.3rem;
  border-radius: 32px;
}

.customer-portal-test-hero .lead {
  max-width: 54rem;
}

.customer-portal-test-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.customer-portal-test-flash {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(78, 208, 180, 0.2);
  background: rgba(78, 208, 180, 0.08);
  color: rgba(241, 253, 249, 0.96) !important;
}

[x-cloak] {
  display: none !important;
}

.customer-portal-test-health {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(232, 216, 191, 0.08);
  background:
    radial-gradient(circle at top, rgba(63, 132, 255, 0.18), transparent 44%),
    rgba(255, 255, 255, 0.03);
}

.customer-portal-test-health-ring {
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(10, 15, 23, 0.94) 58%, transparent 59%),
    conic-gradient(var(--customer-portal-amber) calc(var(--health-score) * 1%), rgba(255, 255, 255, 0.08) 0);
}

.customer-portal-test-health-ring span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.customer-portal-test-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.customer-portal-test-kpi {
  padding: 1rem 1.05rem;
  border-radius: 22px;
}

.customer-portal-test-kpi h3 {
  margin: 0.2rem 0;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.customer-portal-test-analytics,
.customer-portal-test-workspace {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.customer-portal-test-card {
  padding: 1.15rem;
  border-radius: 28px;
  min-width: 0;
}

.customer-portal-test-card-wide {
  grid-column: 1 / -1;
}

.customer-portal-test-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 0.9rem 1.1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.customer-portal-test-card-summary {
  margin: 0;
}

.customer-portal-test-chart-shell {
  position: relative;
  min-height: 260px;
  padding: 0.4rem 0 0.2rem;
}

.customer-portal-test-chart-shell.is-compact {
  min-height: 240px;
}

.customer-portal-test-filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.customer-portal-test-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-portal-test-filter strong {
  color: var(--customer-portal-amber);
  font-size: 0.9rem;
}

.customer-portal-test-filter.is-active,
.customer-portal-test-filter:hover,
.customer-portal-test-filter:focus-visible {
  border-color: var(--customer-portal-border-strong);
  background: rgba(255, 182, 75, 0.1);
}

.customer-portal-test-ticket,
.customer-portal-test-timeline-item {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.customer-portal-test-ticket-head,
.customer-portal-test-ticket-meta,
.customer-portal-test-timeline-head {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
}

.customer-portal-test-ticket-channel {
  margin-bottom: 0.3rem;
  color: var(--customer-portal-amber) !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.customer-portal-test-ticket-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.customer-portal-test-badge {
  padding: 0.32rem 0.56rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.customer-portal-test-badge.is-status-open {
  background: rgba(255, 182, 75, 0.12);
  color: #ffd79a;
}

.customer-portal-test-badge.is-status-pending {
  background: rgba(63, 132, 255, 0.12);
  color: #adc7ff;
}

.customer-portal-test-badge.is-status-resolved {
  background: rgba(78, 208, 180, 0.12);
  color: #b8f5e7;
}

.customer-portal-test-badge.is-priority {
  background: rgba(255, 255, 255, 0.06);
  color: var(--customer-portal-muted);
}

.customer-portal-test-ticket-summary,
.customer-portal-test-ticket-meta,
.customer-portal-test-inline-item p,
.customer-portal-test-announce p,
.customer-portal-test-contact p,
.customer-portal-test-resource p,
.customer-portal-test-signal p {
  margin: 0.55rem 0 0;
}

.customer-portal-test-timeline-list {
  position: relative;
}

.customer-portal-test-timeline-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
}

.customer-portal-test-timeline-marker {
  width: 12px;
  height: 12px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--customer-portal-blue);
  box-shadow: 0 0 0 6px rgba(63, 132, 255, 0.14);
}

.customer-portal-test-timeline-item.is-positive .customer-portal-test-timeline-marker {
  background: var(--customer-portal-teal);
  box-shadow: 0 0 0 6px rgba(78, 208, 180, 0.14);
}

.customer-portal-test-timeline-item.is-attention .customer-portal-test-timeline-marker {
  background: var(--customer-portal-amber);
  box-shadow: 0 0 0 6px rgba(255, 182, 75, 0.14);
}

.customer-portal-test-subsection h3 {
  margin: 0 0 0.7rem;
}

.customer-portal-test-empty {
  margin: 0;
  padding: 1rem;
  border-radius: 18px;
  border: 1px dashed rgba(232, 216, 191, 0.12);
  color: var(--customer-portal-muted);
}

.customer-portal-test-points {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--customer-portal-muted);
}

.customer-portal-test-points li + li {
  margin-top: 0.7rem;
}

.customer-portal-test-card-highlight {
  border-color: rgba(63, 132, 255, 0.22);
  background:
    radial-gradient(circle at top right, rgba(63, 132, 255, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(15, 24, 37, 0.98), rgba(8, 14, 23, 0.98));
}

#customer-portal-test-ticket-board,
#customer-portal-test-timeline {
  transition: opacity 180ms ease;
}

#customer-portal-test-ticket-board.is-loading,
#customer-portal-test-timeline.is-loading {
  opacity: 0.5;
}

@media (max-width: 1180px) {
  .customer-portal-test-layout {
    grid-template-columns: minmax(220px, 15rem) minmax(0, 1fr);
  }

  .customer-portal-test-rail {
    grid-column: 1 / -1;
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .customer-portal-test-layout,
  .customer-portal-test-kpis,
  .customer-portal-test-analytics,
  .customer-portal-test-workspace,
  .customer-portal-test-rail,
  .customer-portal-test-hero,
  .customer-portal-test-card-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-portal-test-sidebar,
  .customer-portal-test-rail {
    position: static;
  }

  .customer-portal-test-toolbar,
  .customer-portal-test-toolbar-actions,
  .customer-portal-test-filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .customer-portal-test-search {
    min-width: 0;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  background:
    radial-gradient(circle at top, rgba(216, 162, 74, 0.12), transparent 30%),
    linear-gradient(180deg, #0a0d12 0%, #101720 45%, #0f151b 100%);
  color: var(--text);
}

body.nav-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

.site-shell::before {
  top: 9rem;
  right: -8rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(16, 23, 32, 0.42), transparent 68%);
  filter: blur(18px);
}

.site-shell::after {
  bottom: 12rem;
  left: -6rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(216, 162, 74, 0.18), transparent 70%);
  filter: blur(16px);
}

.topbar,
main,
.section,
.hero {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(20px);
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1.05rem;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark {
  display: block;
  width: 6.75rem;
  flex: 0 0 auto;
  margin-right: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.brand-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
  mix-blend-mode: normal;
  opacity: 0.98;
}

.brand-copy {
  display: grid;
  align-content: center;
  gap: 0.2rem;
}

.brand-copy strong,
.section-heading h2,
.hero h1,
.hero-card h2,
.coach-copy h2,
.contact-panel h2 {
  font-family: "Fraunces", Georgia, serif;
}

.brand-copy strong {
  font-size: 1.6rem;
  letter-spacing: 0.01em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 26ch;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--dragon-red-strong);
}

.nav-login,
.nav-cta {
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(255, 191, 86, 0.18);
  border-radius: 999px;
}

.nav-login {
  background: rgba(255, 255, 255, 0.04);
}

.nav-login.is-active {
  color: var(--text);
  border-color: rgba(255, 191, 86, 0.42);
  background: rgba(216, 162, 74, 0.08);
}

.nav-cta {
  background: rgba(216, 162, 74, 0.08);
}

.site-nav a.student-nav-profile-link {
  display: inline-grid;
  place-items: center;
  flex: 0 0 2.12rem;
  width: 2.12rem;
  min-width: 2.12rem;
  height: 2.12rem;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 191, 86, 0.28);
  border-radius: 50%;
  background: #050505;
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.045);
}

.student-nav-profile-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.student-nav-profile-link svg {
  width: 100%;
  height: 100%;
  fill: initial;
  stroke: none;
}

.student-nav-profile-link svg circle,
.student-nav-profile-link svg path {
  vector-effect: non-scaling-stroke;
}

.student-profile-page-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.42fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.student-profile-page-card {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 191, 86, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(216, 162, 74, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(12, 18, 27, 0.82);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.student-profile-page-avatar {
  display: grid;
  place-items: center;
  width: min(12rem, 70vw);
  aspect-ratio: 1;
  overflow: hidden;
  justify-self: center;
  border: 1px solid rgba(255, 191, 86, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.student-profile-page-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.student-profile-page-avatar svg {
  width: 9rem;
  height: 9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.student-profile-page-card h1,
.student-profile-page-card h2 {
  margin: 0;
}

.student-profile-page-card h1 {
  text-align: center;
}

.student-profile-page-card > p {
  margin: 0;
}

.student-profile-page-upload,
.student-profile-page-form {
  display: grid;
  gap: 1rem;
}

.student-profile-page-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.student-profile-page-form-card textarea {
  min-height: 8rem;
  resize: vertical;
}

.page-student-profile .topbar {
  width: min(calc(100% - 2rem), 1440px);
  padding: 0.78rem 1.05rem;
}

.page-student-profile .brand {
  gap: 0.8rem;
}

.page-student-profile .brand-mark {
  width: 4.4rem;
}

.page-student-profile .brand-copy strong {
  font-size: 1.25rem;
  line-height: 1;
}

.page-student-profile .brand-copy span {
  font-size: 0.78rem;
  line-height: 1.05;
}

.page-student-profile .site-nav {
  gap: 0.78rem;
}

.page-student-profile .site-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.11em;
}

.page-student-profile .nav-login,
.page-student-profile .nav-cta {
  padding: 0.58rem 0.82rem;
}

.page-student-profile .student-portal-main {
  width: min(calc(100% - 2rem), 1060px);
  margin-top: 0.65rem;
}

.page-student-profile .section {
  width: 100%;
  padding-top: 0.35rem;
}

.page-student-profile .student-profile-page-grid {
  grid-template-columns: minmax(13.5rem, 0.36fr) minmax(0, 1fr);
  gap: 0.85rem;
  max-width: 980px;
  margin: 0 auto;
}

.page-student-profile .student-profile-page-card {
  gap: 0.68rem;
  padding: 0.95rem;
  border-radius: 14px;
}

.page-student-profile .student-profile-page-avatar {
  width: min(8.2rem, 56vw);
}

.page-student-profile .student-profile-page-avatar svg {
  width: 6.4rem;
  height: 6.4rem;
}

.page-student-profile .student-profile-page-card h1 {
  font-size: 1.48rem;
  line-height: 1.05;
}

.page-student-profile .student-profile-page-card h2 {
  font-size: 1.18rem;
  line-height: 1.12;
}

.page-student-profile .student-profile-page-card > p,
.page-student-profile .auth-field span {
  font-size: 0.82rem;
}

.page-student-profile .student-profile-page-fields {
  gap: 0.62rem;
}

.page-student-profile .auth-field {
  gap: 0.28rem;
}

.page-student-profile .auth-field input,
.page-student-profile .auth-field select,
.page-student-profile .auth-field textarea {
  min-height: 2.25rem;
  padding: 0.62rem 0.76rem;
  font-size: 0.82rem;
}

.page-student-profile .student-profile-page-form-card textarea {
  min-height: 6.5rem;
}

.page-student-profile .student-intro-actions {
  gap: 0.55rem;
}

.page-student-profile .button {
  min-height: 2.28rem;
  padding: 0.58rem 0.92rem;
  font-size: 0.78rem;
}

.mobile-home-access {
  display: none;
}

html.is-mobile-browser .mobile-home-access {
  display: grid;
  gap: 0.95rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0.75rem auto 0;
  padding: 1.05rem;
  border: 1px solid rgba(255, 191, 86, 0.3);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 10%, rgba(216, 74, 67, 0.22), transparent 32%),
    linear-gradient(145deg, rgba(16, 23, 32, 0.98), rgba(8, 12, 18, 0.96));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 3;
}

.mobile-home-access .eyebrow {
  margin-bottom: 0.35rem;
}

.mobile-home-access h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.65rem, 7vw, 2.35rem);
  line-height: 0.98;
}

.mobile-home-access p {
  margin: 0;
  color: rgba(244, 239, 230, 0.78);
  font-size: 1.08rem;
  line-height: 1.38;
}

.mobile-home-access-actions {
  display: grid;
  gap: 0.65rem;
}

.mobile-home-access-actions .button {
  width: 100%;
  min-width: 0;
  padding: 0.92rem 1rem;
}

.menu-toggle {
  display: none;
  width: 3.4rem;
  height: 3.4rem;
  flex-direction: column;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 17, 23, 0.84);
  color: var(--text);
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 1.65rem;
  height: 3px;
  margin: 0;
  border-radius: 999px;
  background: currentColor;
  flex: 0 0 auto;
}

.hero {
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: calc(100vh - 5.6rem);
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.page-hero {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 3rem 0 2rem;
}

.student-intro {
  display: grid;
  gap: 1.2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(145deg, rgba(216, 162, 74, 0.1), rgba(15, 21, 27, 0.86) 30%),
    rgba(16, 23, 32, 0.82);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.auth-section {
  min-height: calc(100vh - 8rem);
  display: grid;
  align-items: center;
}

.auth-shell {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
}

.auth-copy,
.auth-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(145deg, rgba(216, 162, 74, 0.08), rgba(15, 21, 27, 0.86) 28%),
    rgba(16, 23, 32, 0.82);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.auth-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.auth-copy h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-field {
  display: grid;
  gap: 0.4rem;
}

.auth-field span {
  color: var(--muted);
  font-size: 0.94rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-field input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 191, 86, 0.2);
  border-radius: 18px;
  background: rgba(8, 12, 18, 0.7);
  color: var(--text);
  font: inherit;
}

.auth-field select {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 191, 86, 0.2);
  border-radius: 18px;
  background: rgba(8, 12, 18, 0.7);
  color: var(--text);
  font: inherit;
}

.auth-field textarea {
  width: 100%;
  min-height: 9rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 191, 86, 0.2);
  border-radius: 18px;
  background: rgba(8, 12, 18, 0.7);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.auth-field input:focus-visible {
  outline: 2px solid rgba(255, 191, 86, 0.5);
  outline-offset: 2px;
  border-color: rgba(255, 191, 86, 0.42);
}

.auth-field select:focus-visible {
  outline: 2px solid rgba(255, 191, 86, 0.5);
  outline-offset: 2px;
  border-color: rgba(255, 191, 86, 0.42);
}

.auth-field textarea:focus-visible {
  outline: 2px solid rgba(255, 191, 86, 0.5);
  outline-offset: 2px;
  border-color: rgba(255, 191, 86, 0.42);
}

.auth-submit {
  width: 100%;
  justify-content: center;
}

.auth-actions {
  display: grid;
  gap: 0.8rem;
}

.page-home.page-students.page-auth.page-request-account .auth-actions .button,
.page-home.page-students.page-auth.page-membership-info .auth-actions .button {
  width: 100%;
  justify-content: center;
}

.page-home.page-students.page-auth.page-request-account .auth-actions .button:hover,
.page-home.page-students.page-auth.page-request-account .auth-actions .button:focus-visible,
.page-home.page-students.page-auth.page-membership-info .auth-actions .button:hover,
.page-home.page-students.page-auth.page-membership-info .auth-actions .button:focus-visible {
  background: linear-gradient(135deg, var(--dragon-red) 0%, var(--dragon-red-strong) 100%);
  color: var(--dragon-red-ink);
  border-color: rgba(216, 74, 67, 0.42);
  box-shadow:
    0 16px 28px rgba(159, 42, 36, 0.24),
    0 0 0 1px rgba(216, 74, 67, 0.22);
}

.auth-membership-pitch {
  max-width: 30rem;
  margin-top: 0.2rem;
  color: var(--text);
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.26;
  font-weight: 600;
  text-wrap: balance;
}

.auth-membership-benefits {
  width: min(100%, 28.5rem);
  justify-self: start;
  margin: 0.7rem 0 0;
  padding: 1.1rem 1.25rem 1.1rem 1.35rem;
  border: 1px solid rgba(255, 191, 86, 0.34);
  border-left: 4px solid var(--accent-strong);
  border-right: 4px solid var(--accent-strong);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 191, 86, 0.14), rgba(255, 191, 86, 0.04)),
    rgba(20, 18, 13, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.14);
  color: #ffe2a6;
  font-size: clamp(1.08rem, 1.65vw, 1.28rem);
  line-height: 1.68;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}

.auth-membership-picker {
  display: grid;
  gap: 0.7rem;
  margin-top: -0.1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 191, 86, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 191, 86, 0.08), rgba(12, 18, 27, 0.92)),
    rgba(12, 18, 27, 0.9);
}

.auth-membership-picker-title {
  margin: 0;
  color: #fff0d2;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.15;
}

.auth-membership-picker-summary {
  margin: 0;
  color: rgba(244, 239, 230, 0.82);
  font-size: 1rem;
  line-height: 1.5;
}

.auth-membership-tier-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-membership-tier-list li {
  color: rgba(244, 239, 230, 0.76);
  font-size: 0.96rem;
  line-height: 1.45;
}

.auth-membership-tier-heading {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.auth-membership-tier-list strong {
  color: #ffe2a6;
}

.auth-membership-price {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.88em;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.page-home.page-students.page-auth.page-request-account .auth-section {
  align-items: start;
  padding-top: clamp(1.25rem, 3vw, 2.25rem);
}

.page-home.page-students.page-auth.page-request-account .auth-shell {
  grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1.22fr);
  align-items: stretch;
  min-width: 0;
}

.page-home.page-students.page-auth.page-request-account .auth-copy {
  align-content: start;
  gap: 0.7rem;
  padding: 1.35rem;
  min-width: 0;
}

.page-home.page-students.page-auth.page-request-account .auth-copy .eyebrow {
  margin-bottom: 0.1rem;
}

.page-home.page-students.page-auth.page-request-account .auth-copy h1 {
  max-width: 12ch;
  font-size: clamp(1.34rem, 1.75vw, 1.78rem);
  line-height: 1.02;
}

.page-home.page-students.page-auth.page-request-account .auth-membership-pitch {
  max-width: none;
  margin: 0;
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.page-home.page-students.page-auth.page-request-account .auth-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  min-width: 0;
}

.page-home.page-students.page-auth.page-request-account .auth-form {
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.page-home.page-students.page-auth.page-request-account .auth-field-notes,
.page-home.page-students.page-auth.page-request-account .auth-actions {
  grid-column: 1 / -1;
}

.page-home.page-students.page-auth.page-request-account .auth-field-membership {
  grid-column: 1 / -1;
  gap: 0.5rem;
}

.page-home.page-students.page-auth.page-request-account .auth-field-membership > span {
  color: var(--accent-strong);
  font-size: 1.03rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.page-home.page-students.page-auth.page-request-account .auth-field-membership select {
  border-color: rgba(255, 191, 86, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 191, 86, 0.08), rgba(8, 12, 18, 0.7)),
    rgba(8, 12, 18, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 191, 86, 0.18), 0 16px 34px rgba(0, 0, 0, 0.18);
}

.auth-membership-select-note {
  color: rgba(255, 226, 166, 0.86);
  font-size: 0.94rem;
  line-height: 1.35;
}

.page-home.page-students.page-auth.page-request-account .auth-field textarea {
  min-height: 6.5rem;
}

.page-home.page-students.page-auth.page-request-account .auth-membership-picker {
  margin-top: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.page-home.page-students.page-auth.page-request-account .auth-membership-picker-title {
  color: var(--dragon-red-soft);
  font-size: 1.16rem;
  font-weight: 700;
}

.page-home.page-students.page-auth.page-request-account .auth-membership-picker-summary,
.page-home.page-students.page-auth.page-request-account .auth-membership-tier-list li {
  display: grid;
  gap: 0.15rem;
  font-size: 1.02rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.page-home.page-students.page-auth.page-request-account .auth-membership-tier-heading {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
}

.page-home.page-students.page-auth.page-request-account .auth-membership-tier-list strong {
  color: var(--accent-strong);
  font-size: 1.1em;
  font-weight: 700;
}

.page-home.page-students.page-auth.page-request-account .auth-actions {
  margin-top: auto;
}

.page-home.page-students.page-auth.page-request-account .auth-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-home.page-students.page-auth.page-request-account .auth-note {
  margin-top: 0.7rem;
}

.legal-consent-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 191, 86, 0.22);
  border-radius: 14px;
  background: rgba(6, 11, 18, 0.54);
  min-width: 0;
}

.stripe-signup-placement {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(164, 207, 255, 0.18);
  border-radius: 14px;
  background: rgba(21, 42, 62, 0.24);
  min-width: 0;
}

.stripe-signup-placement h2,
.stripe-signup-next-step h2 {
  margin: 0;
  max-width: none;
  color: #f4efe6;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.12;
  text-transform: uppercase;
}

.stripe-signup-placement p,
.stripe-signup-next-step p {
  margin: 0;
  color: rgba(244, 239, 230, 0.76);
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.stripe-signup-placement span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 191, 86, 0.36);
  border-radius: 999px;
  background: rgba(214, 159, 63, 0.1);
  color: #ffd27b;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.stripe-signup-next-step {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(111, 211, 159, 0.24);
  border-radius: 14px;
  background: rgba(33, 84, 53, 0.18);
}

.stripe-signup-next-step .button {
  width: 100%;
  justify-content: center;
}

.stripe-signup-next-step-note {
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(255, 191, 86, 0.18);
  border-radius: 10px;
  background: rgba(214, 159, 63, 0.1);
}

.payment-options-shell {
  display: grid;
  gap: 1rem;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.payment-options-heading,
.payment-options-summary,
.payment-options-invalid {
  padding: clamp(1.15rem, 2vw, 1.8rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(7, 12, 20, 0.72);
}

.payment-options-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.28fr);
  gap: 1rem;
  align-items: center;
  border-color: rgba(255, 191, 86, 0.18);
}

.payment-options-legal-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 191, 86, 0.2);
  border-radius: 14px;
  background: rgba(214, 159, 63, 0.09);
}

.payment-options-legal-status.is-ready {
  border-color: rgba(111, 211, 159, 0.32);
  background: rgba(33, 84, 53, 0.2);
}

.payment-options-legal-status.is-blocked {
  border-color: rgba(255, 128, 128, 0.28);
  background: rgba(123, 35, 35, 0.2);
}

.payment-options-legal-status h2 {
  margin: 0;
  color: #f4efe6;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.payment-options-legal-status p {
  margin: 0;
  color: rgba(244, 239, 230, 0.74);
  font-size: 0.95rem;
  line-height: 1.45;
}

.payment-options-summary h2,
.payment-options-invalid h2,
.payment-option-card h2 {
  margin: 0;
  color: #f4efe6;
  font-family: "Fraunces", serif;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  line-height: 1.08;
}

.payment-options-summary p,
.payment-options-invalid p,
.payment-option-card p {
  margin: 0;
  color: rgba(244, 239, 230, 0.76);
  line-height: 1.5;
}

.payment-options-amount {
  display: grid;
  gap: 0.5rem;
  justify-items: end;
  text-align: right;
}

.payment-options-amount span {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 191, 86, 0.32);
  border-radius: 999px;
  color: #ffd27b;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.payment-options-amount small {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.86rem;
  line-height: 1.35;
}

.payment-options-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.payment-option-card {
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 0.85rem;
  min-height: 245px;
  padding: 1.1rem;
  border: 1px solid rgba(164, 207, 255, 0.16);
  border-radius: 18px;
  background: rgba(8, 15, 25, 0.78);
}

.payment-option-card.is-selected {
  border-color: rgba(111, 211, 159, 0.42);
  box-shadow: inset 0 0 0 1px rgba(111, 211, 159, 0.14);
}

.payment-option-card h2 {
  font-size: clamp(1.25rem, 1.55vw, 1.75rem);
}

.payment-option-card form,
.payment-option-card .button {
  width: 100%;
}

.payment-option-card .button {
  justify-content: center;
}

.payment-option-selected,
.payment-option-unavailable {
  min-height: 2.25rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.payment-option-selected {
  border-color: rgba(111, 211, 159, 0.28);
  color: #b9ffd5;
}

.payment-option-unavailable {
  border-color: rgba(255, 191, 86, 0.18);
  color: rgba(244, 239, 230, 0.74);
}

.payment-options-invalid {
  display: grid;
  gap: 0.85rem;
  max-width: 760px;
}

.payment-options-note {
  max-width: none;
}

.paypal-subscribe-shell {
  max-width: 1180px;
}

.paypal-subscribe-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 1rem;
  align-items: stretch;
}

.paypal-subscribe-card {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  min-height: 260px;
  padding: clamp(1.15rem, 2vw, 1.6rem);
  border: 1px solid rgba(164, 207, 255, 0.16);
  border-radius: 18px;
  background: rgba(8, 15, 25, 0.78);
}

.paypal-subscribe-card h2,
.paypal-subscribe-result h3 {
  margin: 0;
  color: #f4efe6;
  font-family: "Fraunces", serif;
  font-size: clamp(1.35rem, 1.85vw, 2rem);
  line-height: 1.08;
}

.paypal-subscribe-card p,
.paypal-subscribe-result p {
  margin: 0;
  color: rgba(244, 239, 230, 0.76);
  line-height: 1.5;
}

.paypal-button-frame {
  min-height: 180px;
  padding: 0.95rem;
  border: 1px solid rgba(255, 191, 86, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
}

.paypal-subscribe-status {
  margin: 0;
}

.paypal-subscribe-next {
  border-color: rgba(255, 191, 86, 0.18);
}

.paypal-subscribe-result {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem;
  border: 1px solid rgba(111, 211, 159, 0.28);
  border-radius: 12px;
  background: rgba(33, 84, 53, 0.2);
}

.paypal-subscribe-result h3 {
  color: #b9ffd5;
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  overflow-wrap: anywhere;
}

.legal-consent-panel legend {
  padding: 0 0.45rem;
  color: var(--accent-strong);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-consent-intro,
.legal-consent-note {
  margin: 0;
  color: rgba(244, 239, 230, 0.74);
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.legal-consent-note {
  color: rgba(244, 239, 230, 0.62);
  font-size: 0.86rem;
}

.legal-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.legal-consent-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.32rem 0.62rem;
  border: 1px solid rgba(255, 191, 86, 0.28);
  border-radius: 999px;
  background: rgba(214, 159, 63, 0.09);
  color: #ffe2a6;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-consent-checklist {
  display: grid;
  gap: 0.55rem;
}

.legal-consent-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  margin: 0;
  color: rgba(244, 239, 230, 0.86);
  font-size: 0.98rem;
  line-height: 1.35;
}

.legal-consent-check input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.14rem;
  accent-color: var(--accent-strong);
}

.legal-consent-check span {
  color: inherit;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

.legal-consent-check a {
  color: #ffe2a6;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.legal-minor-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(220px, 1fr);
  gap: 0.8rem;
  align-items: end;
  padding-top: 0.15rem;
}

.legal-minor-toggle {
  min-height: 3rem;
  align-items: center;
}

.legal-guardian-field {
  margin: 0;
}

.legal-signature-panel,
.legal-pandadoc-panel {
  display: grid;
  gap: 0.7rem;
  padding: 0.95rem;
  border: 1px solid rgba(164, 207, 255, 0.16);
  border-radius: 14px;
  background: rgba(21, 42, 62, 0.2);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.legal-signature-field {
  margin: 0;
}

.legal-signature-statement,
.legal-pandadoc-panel p {
  margin: 0;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
}

.legal-pandadoc-panel {
  border-color: rgba(255, 191, 86, 0.2);
  background: rgba(214, 159, 63, 0.08);
}

.legal-pandadoc-panel h2 {
  margin: 0;
  color: #f4efe6;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.legal-pandadoc-panel .button {
  justify-content: center;
}

.legal-document-hero {
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  align-items: end;
}

.legal-document-summary {
  display: grid;
  gap: 1rem;
}

.legal-document-summary p {
  margin: 0;
  color: rgba(244, 239, 230, 0.76);
  line-height: 1.5;
}

.legal-document-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.legal-document-nav {
  position: sticky;
  top: clamp(7.25rem, 10vw, 8.75rem);
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 14px;
  background: rgba(8, 14, 22, 0.76);
}

.legal-document-nav a {
  display: flex;
  min-height: 2.25rem;
  align-items: center;
  padding: 0.34rem 0.55rem;
  border-radius: 8px;
  color: rgba(244, 239, 230, 0.8);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-document-nav a:hover,
.legal-document-nav a:focus-visible {
  background: rgba(214, 159, 63, 0.16);
  color: #ffe2a6;
}

.legal-document-list {
  display: grid;
  gap: 1rem;
}

.legal-document-section {
  display: grid;
  gap: 0.75rem;
  scroll-margin-top: clamp(8rem, 12vw, 10.5rem);
  padding: 1.15rem;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 14px;
  background: rgba(8, 14, 22, 0.58);
}

.legal-document-section h2 {
  margin: 0;
  max-width: none;
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
  line-height: 1.1;
}

.legal-document-section p {
  margin: 0;
  color: rgba(244, 239, 230, 0.78);
  line-height: 1.55;
}

.legal-document-section .legal-document-section-summary {
  color: #ffe2a6;
  font-weight: 700;
}

.tax-license-card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 14px;
  background: rgba(8, 14, 22, 0.58);
}

.tax-license-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.tax-license-facts p,
.tax-license-note {
  margin: 0;
  color: rgba(244, 239, 230, 0.78);
  line-height: 1.55;
}

.tax-license-facts p {
  padding: 0.85rem;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 12px;
  background: rgba(5, 10, 16, 0.48);
}

.tax-license-facts strong {
  color: #ffe2a6;
}

.tax-license-image-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.16);
  border-radius: 14px;
  background: rgba(244, 239, 230, 0.06);
}

.tax-license-image {
  display: block;
  width: 100%;
  height: auto;
}

.tax-license-image-frame figcaption {
  padding: 0.8rem 0.9rem;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.tax-license-note {
  color: rgba(244, 239, 230, 0.72);
}

.mobile-app-hero {
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  align-items: end;
}

.mobile-app-hero-panel {
  display: grid;
  gap: 0.9rem;
}

.mobile-app-hero-panel p {
  margin: 0;
  color: rgba(244, 239, 230, 0.78);
  line-height: 1.55;
}

.mobile-app-hero-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.mobile-app-hero-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(164, 207, 255, 0.16);
  border-radius: 14px;
  background: rgba(5, 10, 16, 0.7);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.mobile-app-section-heading {
  align-items: end;
  margin-bottom: 1rem;
}

.mobile-app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mobile-app-card {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(216, 162, 74, 0.08), rgba(11, 18, 27, 0.86) 32%),
    rgba(8, 14, 22, 0.78);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.2);
}

.mobile-app-card-wide {
  grid-column: 1 / -1;
}

.mobile-app-platform-tag {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.22rem 0.62rem;
  border: 1px solid rgba(255, 191, 86, 0.34);
  border-radius: 999px;
  background: rgba(214, 159, 63, 0.11);
  color: #ffd27b;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-app-card h3 {
  margin: 0;
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.3rem, 1.9vw, 1.85rem);
  line-height: 1.08;
}

.mobile-app-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(164, 207, 255, 0.15);
  border-radius: 14px;
  background: rgba(5, 10, 16, 0.7);
}

.mobile-app-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-app-steps {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(244, 239, 230, 0.82);
  font-size: 1rem;
  line-height: 1.48;
}

.mobile-app-steps li::marker {
  color: var(--accent-strong);
  font-weight: 800;
}

.mobile-app-steps a,
.mobile-app-source-note a {
  color: #ffe2a6;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.mobile-app-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.mobile-app-note-grid p {
  margin: 0;
  padding: 0.8rem;
  border: 1px solid rgba(244, 239, 230, 0.1);
  border-radius: 12px;
  background: rgba(5, 10, 16, 0.48);
  color: rgba(244, 239, 230, 0.78);
  line-height: 1.45;
}

.mobile-app-source-note {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 16px;
  background: rgba(8, 14, 22, 0.58);
}

.mobile-app-source-note p {
  margin: 0;
  color: rgba(244, 239, 230, 0.78);
  line-height: 1.5;
}

.mobile-app-login-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 191, 86, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(214, 159, 63, 0.13), rgba(8, 14, 22, 0.74) 44%),
    rgba(11, 18, 27, 0.82);
}

.mobile-app-login-card h2 {
  margin: 0;
  color: #f4efe6;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.08;
  text-transform: uppercase;
}

.mobile-app-login-card p {
  margin: 0.25rem 0 0;
  color: rgba(244, 239, 230, 0.78);
  line-height: 1.42;
}

.mobile-app-login-card .button {
  min-width: 12rem;
  justify-content: center;
}

.portal-view-switch {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 191, 86, 0.18);
  border-radius: 16px;
  background: rgba(8, 13, 20, 0.64);
}

.portal-view-switch .eyebrow {
  margin: 0;
}

.portal-view-switch-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.portal-view-option {
  display: grid;
  gap: 0.22rem;
  min-height: 4.4rem;
  align-content: center;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(246, 240, 232, 0.78);
  text-decoration: none;
}

.portal-view-option.is-active {
  border-color: rgba(255, 191, 86, 0.46);
  background: rgba(214, 159, 63, 0.12);
  color: #fff8ec;
}

.portal-view-option strong {
  color: inherit;
  font-size: 1.03rem;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.portal-view-option span {
  color: rgba(246, 240, 232, 0.58);
  font-size: 0.94rem;
  line-height: 1.24;
}

.page-pwa-app {
  scroll-behavior: smooth;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 70% 0%, rgba(190, 28, 28, 0.18), transparent 36%),
    radial-gradient(circle at 12% 88%, rgba(214, 159, 63, 0.13), transparent 34%),
    #05080d;
  color: #f6f0e8;
  font-family: "Barlow Condensed", system-ui, sans-serif;
}

.pwa-app-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 29rem);
  min-height: 100dvh;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(12, 17, 24, 0.95), rgba(5, 8, 13, 0.98)),
    #05080d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 34px 80px rgba(0, 0, 0, 0.45);
}

.pwa-app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(0.8rem + env(safe-area-inset-top)) 1rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 8, 13, 0.92);
  backdrop-filter: blur(18px);
}

.pwa-app-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  color: #f8f0e6;
  text-decoration: none;
}

.pwa-app-brand img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
}

.pwa-app-brand span {
  display: grid;
  min-width: 0;
}

.pwa-app-brand strong {
  overflow: hidden;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pwa-app-brand small {
  color: rgba(246, 240, 232, 0.6);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.pwa-app-menu {
  display: inline-grid;
  place-items: center;
  gap: 0.19rem;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.pwa-app-menu span {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: #f8f0e6;
}

.pwa-app-main {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
}

.pwa-app-main [id] {
  scroll-margin-top: 5.5rem;
}

.pwa-app-offline-banner {
  display: none;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(164, 207, 255, 0.24);
  border-radius: 12px;
  background: rgba(15, 31, 47, 0.82);
  color: rgba(236, 244, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.35;
}

.is-offline .pwa-app-offline-banner,
.pwa-app-offline-banner.is-visible {
  display: block;
}

.pwa-app-hero,
.pwa-app-card,
.pwa-app-tile {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(12, 17, 24, 0.76);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.pwa-app-hero {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 92% 12%, rgba(210, 35, 35, 0.28), transparent 32%),
    linear-gradient(145deg, rgba(17, 28, 42, 0.95), rgba(8, 12, 18, 0.95));
}

.pwa-app-eyebrow {
  margin: 0;
  color: #ffcf7a;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.pwa-app-hero h1 {
  margin: 0;
  max-width: 9ch;
  color: #fff8ec;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.15rem, 12vw, 3.2rem);
  line-height: 0.98;
}

.pwa-app-hero p,
.pwa-app-card p {
  margin: 0;
  color: rgba(246, 240, 232, 0.72);
  font-size: 1rem;
  line-height: 1.42;
}

.pwa-app-primary {
  display: grid;
  gap: 0.12rem;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.78rem 1rem;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #d52323, #9f1717);
  color: #fff8ec;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(179, 24, 24, 0.25);
}

.pwa-app-primary small {
  color: rgba(255, 248, 236, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.pwa-app-card {
  display: grid;
  gap: 0.58rem;
  padding: 1rem;
}

.pwa-app-card h2 {
  margin: 0;
  color: #fff8ec;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.08;
}

.pwa-app-progress-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
}

.pwa-app-progress-ring {
  display: grid;
  place-items: center;
  width: 5.1rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #0a0f16 56%, transparent 57%),
    conic-gradient(#d52323 calc(var(--pwa-progress) * 1%), rgba(255, 255, 255, 0.12) 0);
}

.pwa-app-progress-ring span {
  color: #fff8ec;
  font-size: 1.05rem;
  font-weight: 900;
}

.pwa-app-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.pwa-app-action-row a,
.pwa-app-login-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 191, 86, 0.28);
  border-radius: 999px;
  color: #ffcf7a;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.pwa-app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.pwa-app-tile {
  display: grid;
  gap: 0.18rem;
  min-height: 6.3rem;
  align-content: end;
  padding: 0.9rem;
  color: #fff8ec;
  text-decoration: none;
}

.pwa-app-tile span {
  color: rgba(246, 240, 232, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pwa-app-tile strong {
  font-size: 1.32rem;
  line-height: 1;
}

.pwa-app-compact {
  padding-bottom: 1.15rem;
}

.pwa-app-login-form {
  display: grid;
  gap: 0.75rem;
}

.pwa-app-login-form label {
  display: grid;
  gap: 0.3rem;
}

.pwa-app-login-form span {
  color: rgba(246, 240, 232, 0.58);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pwa-app-login-form input {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid rgba(255, 191, 86, 0.22);
  border-radius: 14px;
  background: rgba(5, 8, 13, 0.74);
  color: #fff8ec;
  font: inherit;
  font-size: 1.2rem;
  padding: 0.7rem 0.85rem;
}

.pwa-app-login-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pwa-app-error {
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(255, 128, 128, 0.28);
  border-radius: 12px;
  background: rgba(116, 25, 25, 0.32);
  color: #ffd7d7 !important;
}

.pwa-app-tabs {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.22rem;
  padding: 0.45rem 0.58rem calc(0.45rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 13, 0.94);
  backdrop-filter: blur(18px);
}

.pwa-app-tabs a {
  display: grid;
  place-items: center;
  gap: 0.18rem;
  min-height: 3.25rem;
  border-radius: 14px;
  color: rgba(246, 240, 232, 0.58);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.pwa-app-tabs a span {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 900;
}

.pwa-app-tabs a.is-active {
  background: rgba(213, 35, 35, 0.16);
  color: #ff6b66;
}

@media (min-width: 700px) {
  .page-pwa-app {
    padding: 1.6rem 0;
  }

  .pwa-app-shell {
    min-height: calc(100dvh - 3.2rem);
    overflow: hidden;
    border-radius: 32px;
  }
}

@media (max-width: 760px) {
  .legal-minor-grid,
  .stripe-signup-placement,
  .payment-options-summary,
  .payment-options-legal-status,
  .legal-document-hero,
  .legal-document-layout,
  .tax-license-facts,
  .mobile-app-hero,
  .access-legal-consent-summary {
    grid-template-columns: 1fr;
  }

  .payment-options-amount {
    justify-items: start;
    text-align: left;
  }

  .legal-document-nav {
    position: static;
  }

  .mobile-app-login-card {
    grid-template-columns: 1fr;
  }

  .portal-view-switch-options {
    grid-template-columns: 1fr;
  }

  .mobile-app-login-card .button {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .payment-options-grid,
  .paypal-subscribe-grid,
  .mobile-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-app-note-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .payment-options-grid,
  .paypal-subscribe-grid,
  .mobile-app-grid {
    grid-template-columns: 1fr;
  }

  .mobile-app-hero-preview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .page-home.page-students.page-auth.page-request-account .section {
    width: min(calc(100% - 0.75rem), var(--max-width));
  }

  .page-home.page-students.page-auth.page-request-account .auth-copy,
  .page-home.page-students.page-auth.page-request-account .auth-card {
    padding: 1rem;
  }

  .page-home.page-students.page-auth.page-request-account .auth-membership-picker,
  .page-home.page-students.page-auth.page-request-account .legal-consent-panel,
  .page-home.page-students.page-auth.page-request-account .stripe-signup-placement,
  .page-home.page-students.page-auth.page-request-account .legal-signature-panel,
  .page-home.page-students.page-auth.page-request-account .legal-pandadoc-panel {
    padding: 0.85rem;
  }

  .page-home.page-students.page-auth.page-request-account .stripe-signup-placement span {
    justify-self: start;
    white-space: normal;
  }
}

.auth-error {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 128, 128, 0.3);
  border-radius: 16px;
  background: rgba(123, 35, 35, 0.28);
  color: #ffd2d2;
  font-size: 1rem;
}

.auth-note {
  margin-top: 1rem;
}

.auth-success {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(111, 211, 159, 0.28);
  border-radius: 16px;
  background: rgba(33, 84, 53, 0.28);
  color: #d8ffea;
  font-size: 1rem;
}

.hero-card-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-card-points span {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 191, 86, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff0d2;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-rhythm {
  padding-top: 0;
}

.rhythm-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.rhythm-card,
.progression-card,
.detail-band-card,
.contact-assurance-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(216, 162, 74, 0.08), rgba(12, 18, 27, 0.9) 34%),
    rgba(16, 23, 32, 0.84);
  box-shadow: var(--shadow);
}

.rhythm-card {
  display: grid;
  gap: 0.65rem;
  min-height: 100%;
}

.rhythm-card h3,
.progression-card h3,
.detail-band-card h3,
.contact-assurance-card strong {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
}

.rhythm-card h3,
.progression-card h3,
.detail-band-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.rhythm-card p:last-child,
.progression-card p,
.detail-band-card p,
.contact-assurance-card span {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.section-progression {
  padding-top: 1rem;
}

.progression-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.progression-card {
  display: grid;
  gap: 0.8rem;
}

.progression-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 191, 86, 0.12);
  border: 1px solid rgba(255, 191, 86, 0.24);
  color: var(--accent-strong);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coach-highlights {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.coach-highlights li {
  padding-left: 1.35rem;
  position: relative;
  color: var(--muted);
  line-height: 1.45;
}

.coach-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), rgba(255, 255, 255, 0.7));
  box-shadow: 0 0 0 4px rgba(216, 162, 74, 0.12);
}

.section-atmosphere {
  padding-top: 1rem;
}

.detail-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-assurance-grid {
  display: grid;
  gap: 0.8rem;
}

.contact-assurance-card {
  display: grid;
  gap: 0.45rem;
}

.student-intro-copy {
  display: grid;
  gap: 1rem;
}

.student-intro-primary-action {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.student-intro-copy h1 {
  max-width: 12ch;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  line-height: 1.08;
  text-wrap: balance;
}

.student-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.student-note {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.page-home.page-students .student-intro,
.page-home.page-students .auth-copy,
.page-home.page-students .auth-card,
.page-home.page-students .video-player-stage,
.page-home.page-students .video-playlist,
.page-home.page-students .video-gallery-block {
  border: 1px solid rgba(232, 216, 191, 0.12);
  background:
    linear-gradient(180deg, var(--header-surface-start), var(--header-surface-end)),
    var(--header-surface-solid);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.page-home.page-students .student-intro-copy h1,
.page-home.page-students .auth-copy h1,
.page-home.page-students .video-watch-panel h3,
.page-home.page-students .video-playlist-heading h3,
.page-home.page-students .video-gallery-heading h3,
.page-home.page-students .video-stage-caption h3 {
  color: var(--text);
}

.page-home.page-students .student-intro-copy h1 {
  font-size: clamp(1.35rem, 2vw, 1.95rem) !important;
  line-height: 1.08 !important;
  max-width: 12ch !important;
}

.page-home.page-students .section-heading h2 {
  font-size: clamp(1rem, 1.45vw, 1.35rem) !important;
  line-height: 1.14 !important;
  max-width: none !important;
}

.page-home.page-students .student-note,
.page-home.page-students .lead,
.page-home.page-students .video-stage-status,
.page-home.page-students .video-watch-copy,
.page-home.page-students .video-playlist-meta,
.page-home.page-students .video-breadcrumb-link,
.page-home.page-students .collection-menu-item span,
.page-home.page-students .video-gallery-heading p:last-child {
  color: var(--muted);
}

.page-home.page-students .video-watch-panel {
  background: transparent;
}

.page-home.page-students .video-stage-screen {
  border-color: rgba(232, 216, 191, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -16px 40px rgba(0, 0, 0, 0.42);
}

.page-home.page-students .video-stage-caption {
  border: 1px solid rgba(232, 216, 191, 0.08);
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.92), rgba(10, 14, 20, 0.84)),
    rgba(10, 14, 20, 0.84);
}

.page-home.page-students .video-playlist-item,
.page-home.page-students .collection-menu-item {
  border-color: rgba(232, 216, 191, 0.1);
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.92), rgba(10, 14, 20, 0.84)),
    rgba(10, 14, 20, 0.84);
  color: var(--text);
}

.page-home.page-students .video-playlist-item:hover,
.page-home.page-students .video-playlist-item:focus-visible,
.page-home.page-students .video-playlist-item.is-active,
.page-home.page-students .collection-menu-item:hover,
.page-home.page-students .collection-menu-item:focus-visible,
.page-home.page-students .collection-menu-item.is-active {
  background: rgba(255, 191, 86, 0.12);
  border-color: rgba(255, 191, 86, 0.28);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.page-home.page-students .video-breadcrumbs {
  border-top-color: rgba(232, 216, 191, 0.1);
}

.page-home.page-students .video-breadcrumb-link:hover,
.page-home.page-students .video-breadcrumb-link:focus-visible {
  color: var(--text);
}

.page-home.page-students .collection-menu {
  border: 1px solid rgba(232, 216, 191, 0.12);
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.96), rgba(10, 14, 20, 0.9)),
    rgba(10, 14, 20, 0.9);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

.picker-shell {
  gap: 1.5rem;
}

.picker-form {
  display: grid;
  gap: 1rem;
}

.picker-list {
  display: grid;
  gap: 0.8rem;
}

.picker-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 5.5rem;
  gap: 0.9rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.picker-checkbox {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--accent-strong);
}

.picker-copy {
  display: grid;
  gap: 0.22rem;
}

.picker-copy strong {
  font-size: 1.1rem;
}

.picker-copy span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.35;
}

.picker-order {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(255, 191, 86, 0.2);
  border-radius: 14px;
  background: rgba(8, 12, 18, 0.7);
  color: var(--text);
  font: inherit;
}

.picker-order:focus-visible {
  outline: 2px solid rgba(255, 191, 86, 0.5);
  outline-offset: 2px;
  border-color: rgba(255, 191, 86, 0.42);
}

.picker-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  font-size: 1rem;
}

.picker-status-success {
  border: 1px solid rgba(111, 220, 154, 0.28);
  background: rgba(29, 82, 50, 0.28);
  color: #d8ffe5;
}

.picker-status-error {
  border: 1px solid rgba(255, 128, 128, 0.3);
  background: rgba(123, 35, 35, 0.28);
  color: #ffd2d2;
}

.video-player-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.video-gallery-block {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.video-youtube-block {
  gap: 1.2rem;
}

.video-gallery-heading {
  display: grid;
  gap: 0.35rem;
}

.video-gallery-heading-with-action {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
  position: relative;
  z-index: 12;
}

.video-gallery-heading-copy {
  display: grid;
  gap: 0.35rem;
}

.video-gallery-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  position: relative;
  z-index: 13;
}

.video-stage-controls {
  flex: 0 0 auto;
  align-self: start;
}

.replay-visibility-current {
  display: inline-grid;
  align-content: center;
  gap: 0.2rem;
  min-height: 3rem;
  min-width: 13rem;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255, 191, 86, 0.28);
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.72);
  color: #fff7ea;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.replay-visibility-current-label {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.replay-visibility-current strong {
  display: block;
  overflow: hidden;
  color: #fff7ea;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.replay-visibility-current.is-empty strong {
  color: var(--muted);
}

.replay-audience-picker {
  display: inline-grid;
  gap: 0.25rem;
  min-width: 12rem;
}

.replay-audience-picker span:not(.sr-only) {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.replay-audience-picker select {
  min-height: 3rem;
  padding: 0.65rem 2.25rem 0.65rem 0.85rem;
  border: 1px solid rgba(255, 191, 86, 0.22);
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.92);
  color: #fff7ea;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.replay-audience-status {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.collection-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 20rem;
  justify-content: space-between;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(8, 12, 18, 0.92);
  color: #fff7ea;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.collection-menu-trigger-label {
  min-width: 0;
}

.collection-menu-trigger-caret {
  width: 0.72rem;
  height: 0.72rem;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 180ms ease;
}

.collection-menu.is-open + .collection-menu-trigger-caret {
  transform: rotate(-135deg) translateY(-1px);
}

.collection-menu-trigger[aria-expanded="true"] .collection-menu-trigger-caret {
  transform: rotate(-135deg) translateY(-1px);
}

.collection-menu-trigger:hover,
.collection-menu-trigger:focus-visible {
  border-color: rgba(255, 255, 255, 0.94);
  background: rgba(14, 19, 28, 0.98);
  color: #ffffff;
}

.collection-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  z-index: 30;
  display: none;
  min-width: 22rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 191, 86, 0.24);
  border-radius: 24px;
  background: rgba(8, 12, 18, 0.97);
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.collection-menu.is-open {
  display: grid;
  gap: 0.35rem;
}

.collection-menu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
}

.collection-menu-item {
  display: grid;
  gap: 0.18rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.collection-menu-item:hover,
.collection-menu-item:focus-visible,
.collection-menu-item.is-active {
  background: rgba(255, 191, 86, 0.12);
}

.collection-menu-item strong {
  font-size: 1rem;
  line-height: 1.2;
}

.collection-menu-item span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.25;
}

.collection-menu-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  min-height: 2.4rem;
  padding: 0;
  border: 1px solid rgba(242, 138, 131, 0.3);
  border-radius: 14px;
  background: rgba(242, 138, 131, 0.08);
  color: #f2c4bf;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.collection-menu-delete:hover,
.collection-menu-delete:focus-visible {
  background: rgba(242, 138, 131, 0.16);
  border-color: rgba(242, 138, 131, 0.5);
}

.collection-menu-delete:disabled {
  opacity: 0.6;
  cursor: wait;
}

.zoom-archive-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.zoom-archive-summary-card,
.zoom-archive-empty,
.zoom-archive-card {
  border: 1px solid rgba(232, 216, 191, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(16, 23, 32, 0.94), rgba(9, 14, 21, 0.97)),
    rgba(12, 18, 27, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.zoom-archive-summary-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
}

.zoom-archive-summary-value {
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.zoom-archive-summary-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.zoom-archive-empty {
  display: grid;
  gap: 0.85rem;
  padding: 1.6rem;
}

.zoom-archive-featured {
  display: grid;
  grid-template-columns: minmax(16rem, 24rem) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.3rem;
}

.zoom-archive-featured-copy {
  display: grid;
  gap: 0.6rem;
}

.zoom-archive-featured-copy h3,
.zoom-archive-featured-copy p {
  margin: 0;
}

.zoom-archive-empty h3,
.zoom-archive-empty p {
  margin: 0;
}

.zoom-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.zoom-archive-groups {
  display: grid;
  gap: 2rem;
}

.zoom-archive-month-group {
  display: grid;
  gap: 0.85rem;
}

.zoom-archive-month-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 191, 86, 0.16);
}

.zoom-archive-month-heading h3,
.zoom-archive-month-heading span {
  margin: 0;
}

.zoom-archive-month-heading h3 {
  color: var(--text);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.zoom-archive-month-heading span {
  color: rgba(244, 239, 230, 0.66);
  font-size: 0.82rem;
}

.zoom-archive-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 5.85rem;
  gap: 0.9rem;
  padding: 0.95rem;
  height: 100%;
}

.zoom-archive-delete {
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(242, 138, 131, 0.44);
  border-radius: 999px;
  background: rgba(10, 14, 20, 0.9);
  color: #f4d5cf;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.zoom-archive-delete:hover,
.zoom-archive-delete:focus-visible {
  background: rgba(159, 42, 36, 0.92);
  border-color: rgba(242, 138, 131, 0.78);
  color: #fff4f1;
}

.zoom-archive-delete:disabled {
  opacity: 0.65;
  cursor: wait;
}

.zoom-archive-thumb-wrap {
  position: relative;
  display: block;
  min-width: 0;
}

.zoom-archive-thumb {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  text-decoration: none;
  background:
    radial-gradient(circle at top, rgba(255, 191, 86, 0.2), transparent 52%),
    linear-gradient(180deg, rgba(32, 46, 64, 0.96), rgba(12, 18, 27, 0.98));
}

.zoom-archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zoom-archive-thumb img[hidden],
.zoom-archive-thumb-placeholder[hidden] {
  display: none !important;
}

.zoom-archive-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 0.35rem;
  padding: 1rem;
  text-align: center;
  color: var(--text);
}

.zoom-archive-thumb-placeholder strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 0.08em;
}

.zoom-archive-thumb-placeholder span {
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.zoom-archive-visibility {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  left: 0.45rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 1.55rem;
  padding: 0.18rem 0.24rem;
  border: 1px solid rgba(255, 191, 86, 0.24);
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.78);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  transition: border-color 160ms ease, background 160ms ease;
}

.zoom-archive-visibility.is-saving {
  border-color: rgba(164, 207, 255, 0.7);
}

.zoom-archive-visibility.is-saved {
  border-color: rgba(116, 230, 171, 0.72);
  background: rgba(13, 45, 32, 0.78);
}

.zoom-archive-visibility.is-error {
  border-color: rgba(242, 138, 131, 0.72);
}

.zoom-archive-visibility-option {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  min-width: 0;
  padding: 0.12rem 0.22rem;
  border-radius: 999px;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.zoom-archive-visibility-option input {
  width: 0.58rem;
  height: 0.58rem;
  margin: 0;
  accent-color: var(--gold);
}

.zoom-archive-visibility-option:has(input:checked) {
  background: rgba(255, 191, 86, 0.2);
  color: #fff7ea;
}

.zoom-archive-visibility-option:has(input:focus-visible) {
  outline: 2px solid rgba(255, 191, 86, 0.62);
  outline-offset: 2px;
}

.zoom-archive-visibility-option:has(input:disabled) {
  cursor: wait;
  opacity: 0.78;
}

.zoom-archive-card-body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: start;
  gap: 0.45rem;
  height: 5.85rem;
  overflow: hidden;
}

.zoom-archive-date {
  margin: 0;
  color: rgba(255, 191, 86, 0.84);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.zoom-archive-card-body h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.88rem;
  line-height: 1.26;
}

.zoom-archive-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.class-highlight-archive-reorder-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 191, 86, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.78rem;
  line-height: 1.25;
}

.class-highlight-archive-save-state {
  color: rgba(255, 191, 86, 0.86);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.class-highlight-archive-card.is-reorderable {
  grid-template-rows: auto auto 5.85rem;
  cursor: grab;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.class-highlight-archive-card.is-reorderable:active {
  cursor: grabbing;
}

.class-highlight-archive-card.is-dragging {
  opacity: 0.72;
  border-color: rgba(255, 191, 86, 0.58);
  transform: scale(0.985);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.class-highlight-card-reorder-controls {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) 1.75rem;
  gap: 0.35rem;
  align-items: center;
}

.class-highlight-card-drag-handle,
.class-highlight-card-slide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  border: 1px solid rgba(255, 191, 86, 0.22);
  border-radius: 999px;
  background: rgba(10, 14, 20, 0.72);
  color: rgba(255, 232, 190, 0.88);
  font: inherit;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.class-highlight-card-slide {
  padding: 0;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.class-highlight-card-drag-handle:hover,
.class-highlight-card-drag-handle:focus-visible,
.class-highlight-card-slide:hover,
.class-highlight-card-slide:focus-visible {
  border-color: rgba(255, 191, 86, 0.72);
  background: rgba(214, 159, 63, 0.18);
  color: #fff6e3;
}

@media (max-width: 900px) {
  .zoom-archive-summary {
    grid-template-columns: 1fr;
  }

  .zoom-archive-featured {
    grid-template-columns: 1fr;
  }
}

.video-gallery-heading h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.video-gallery-grid-embed {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
}

.youtube-feature-shell {
  display: grid;
}

.youtube-feature-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(216, 162, 74, 0.12), rgba(15, 21, 27, 0.92) 34%),
    rgba(16, 23, 32, 0.88);
  box-shadow: var(--shadow);
}

.youtube-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.youtube-feature-frame-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  background: #05070a;
}

.student-youtube-feature,
.video-gallery-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #05070a;
}

.video-gallery-card {
  min-width: 0;
}

.video-gallery-link {
  display: block;
  height: 100%;
}

.video-gallery-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(216, 162, 74, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(11, 16, 24, 0.88), rgba(5, 7, 10, 0.96));
  box-shadow: var(--shadow);
}

.video-gallery-media.is-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(216, 162, 74, 0.24), transparent 55%),
    linear-gradient(180deg, rgba(14, 20, 29, 0.96), rgba(8, 12, 18, 1));
}

.video-gallery-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 0.3rem;
  padding: 0.8rem;
  background: linear-gradient(180deg, rgba(7, 10, 15, 0), rgba(7, 10, 15, 0.18) 48%, rgba(7, 10, 15, 0.7) 100%);
}

.video-gallery-tag {
  color: var(--accent-strong);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-gallery-overlay strong {
  color: #fff7ea;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.88);
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  background: rgba(7, 10, 15, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  -webkit-text-fill-color: #fff7ea;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-gallery-meta {
  color: #e0d8ca;
  font-size: 0.78rem;
  line-height: 1.35;
}

.video-gallery-media-embed {
  background: #05070a;
}

.video-gallery-frame {
  position: absolute;
  inset: 0;
}

.video-gallery-trigger {
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.video-gallery-trigger:hover,
.video-gallery-trigger:focus-visible,
.video-gallery-trigger.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 191, 86, 0.42);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.26);
}

.video-gallery-trigger.is-active .video-gallery-overlay {
  background: linear-gradient(180deg, rgba(7, 10, 15, 0.04), rgba(7, 10, 15, 0.74) 62%, rgba(7, 10, 15, 0.98));
}

.video-gallery-poster {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 24%, rgba(216, 162, 74, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(18, 26, 38, 0.98), rgba(10, 15, 24, 0.94) 52%, rgba(34, 16, 13, 0.96) 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.video-gallery-preview-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  pointer-events: none;
}

.video-gallery-play,
.video-gallery-index {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-gallery-play {
  top: 0.65rem;
  left: 0.65rem;
  min-width: 3.8rem;
  padding: 0.42rem 0.65rem;
  background: rgba(255, 191, 86, 0.14);
  border: 1px solid rgba(255, 191, 86, 0.34);
  color: var(--accent-strong);
  font-size: 0.68rem;
}

.video-gallery-index {
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 0.72rem;
}

.video-player-stage,
.video-playlist {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.video-player-stage {
  position: relative;
  overflow: hidden;
  min-height: 24rem;
  width: 100%;
}

.video-watch-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 24rem;
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(216, 162, 74, 0.12), rgba(15, 21, 27, 0.92) 34%),
    rgba(16, 23, 32, 0.88);
}

.video-stage-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.video-stage-topline-copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.video-stage-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-stage-screen {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 31rem;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(216, 162, 74, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(31, 37, 46, 0.58), rgba(4, 6, 10, 0.94)),
    linear-gradient(135deg, rgba(12, 17, 26, 0.98), rgba(22, 29, 39, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -16px 40px rgba(0, 0, 0, 0.42);
}

.video-stage-screen-stream {
  padding: 0;
  background: #05070a;
}

.video-stage-screen-stream.is-compact-sf-classic {
  max-width: 46rem;
  margin-inline: auto;
  border-radius: 18px;
  overflow: hidden;
}

.video-stage-screen-stream.is-compact-sf-classic .student-video-player {
  min-height: 22rem;
}

.student-video-player {
  width: 100%;
  min-height: 31rem;
  height: 100%;
  background: #05070a;
}

.video-stage-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.7rem;
  padding: 1.2rem 1.2rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(12, 17, 24, 0.08), rgba(5, 7, 10, 0.44));
}

.video-rating-panel {
  display: grid;
  gap: 0.5rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 191, 86, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.video-rating-summary {
  margin: 0;
  color: rgba(244, 239, 230, 0.9);
  font-size: 0.9rem;
  line-height: 1.4;
}

.video-rating-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.video-rating-button,
.video-rating-clear {
  min-width: 2rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 191, 86, 0.4);
  border-radius: 999px;
  background: rgba(214, 159, 63, 0.12);
  color: #f4efe6;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.video-rating-button:hover,
.video-rating-button:focus-visible,
.video-rating-clear:hover,
.video-rating-clear:focus-visible {
  border-color: rgba(255, 191, 86, 0.9);
  background: rgba(214, 159, 63, 0.26);
  transform: translateY(-1px);
}

.video-rating-button.is-active {
  border-color: rgba(255, 191, 86, 0.95);
  background: rgba(255, 191, 86, 0.32);
  color: #fff8eb;
}

.video-rating-button:disabled,
.video-rating-clear:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.video-rating-meta {
  margin: 0;
  color: rgba(244, 239, 230, 0.76);
  font-size: 0.83rem;
  line-height: 1.4;
}

.replay-rating-advice {
  display: grid;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(255, 191, 86, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(16, 22, 31, 0.96), rgba(8, 12, 18, 0.94)),
    rgba(10, 14, 20, 0.92);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.replay-rating-advice-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  gap: 0.8rem;
  align-items: end;
}

.replay-rating-advice-head h3 {
  margin: 0.25rem 0 0;
  color: var(--text);
  font-size: 1.24rem;
}

.replay-rating-advice-head > p {
  margin: 0;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.replay-rating-advice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.replay-rating-advice-card {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.replay-rating-advice-card-head,
.replay-rating-advice-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.replay-rating-advice-card-head {
  justify-content: space-between;
}

.replay-rating-advice-card-head span,
.replay-rating-advice-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 191, 86, 0.28);
  border-radius: 999px;
  background: rgba(214, 159, 63, 0.12);
  color: rgba(244, 239, 230, 0.86);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.1;
}

.replay-rating-advice-card-head strong {
  color: #ffe3ad;
  font-size: 1rem;
}

.replay-rating-advice-card h4 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.3;
}

.replay-rating-advice-card p {
  margin: 0;
  color: rgba(244, 239, 230, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.replay-rating-advice-card .replay-rating-advice-meta {
  color: rgba(244, 239, 230, 0.62);
  font-size: 0.82rem;
}

.replay-rating-advice-empty {
  grid-column: 1 / -1;
}

.video-feedback-card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(12, 17, 24, 0.12), rgba(5, 7, 10, 0.6));
}

.video-feedback-card-copy {
  display: grid;
  gap: 0.45rem;
}

.video-feedback-current {
  margin: 0;
  color: #f4dfab;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
}

.video-feedback-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.video-replay-copy-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 191, 86, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.video-replay-copy-form .auth-field {
  margin: 0;
}

.video-feedback-form {
  display: grid;
  gap: 0.9rem;
}

.video-feedback-submit {
  width: 100%;
  justify-content: center;
}

.video-feedback-filter-form,
.video-feedback-admin-form {
  display: grid;
  gap: 1rem;
}

.video-feedback-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.video-feedback-entry-card,
.video-feedback-history-card {
  gap: 1.1rem;
}

.video-feedback-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  align-items: center;
}

.video-feedback-inline-form {
  margin: 0;
}

.video-feedback-question-block,
.video-feedback-reply-box {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(232, 216, 191, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.video-feedback-reply-box {
  background:
    linear-gradient(180deg, rgba(216, 162, 74, 0.08), rgba(10, 15, 22, 0.82)),
    rgba(255, 255, 255, 0.03);
}

.video-feedback-question-block p,
.video-feedback-reply-box p {
  margin: 0;
  color: rgba(244, 239, 230, 0.86);
  line-height: 1.55;
}

.video-feedback-summary-line {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.video-feedback-summary-line span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.28);
}

.video-feedback-admin-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 0.55fr);
  gap: 1rem;
  align-items: start;
}

.video-feedback-admin-note,
.video-feedback-admin-reply {
  grid-column: span 1;
}

.video-feedback-admin-reply {
  grid-column: 1 / -1;
}

.video-feedback-admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: center;
}

.video-feedback-status-pill {
  border-color: rgba(232, 216, 191, 0.18) !important;
}

.video-feedback-status-pill.is-new {
  color: #ffe0a3 !important;
  border-color: rgba(255, 191, 86, 0.28) !important;
  background: rgba(255, 191, 86, 0.12) !important;
}

.video-feedback-status-pill.is-reviewed {
  color: #c7dcff !important;
  border-color: rgba(91, 145, 255, 0.28) !important;
  background: rgba(91, 145, 255, 0.12) !important;
}

.video-feedback-status-pill.is-replied {
  color: #c9f3d8 !important;
  border-color: rgba(74, 181, 116, 0.28) !important;
  background: rgba(74, 181, 116, 0.12) !important;
}

.video-feedback-status-pill.is-closed {
  color: rgba(244, 239, 230, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.video-feedback-status-pill.is-archived {
  color: #f2d7ff !important;
  border-color: rgba(199, 129, 255, 0.28) !important;
  background: rgba(199, 129, 255, 0.12) !important;
}

.video-feedback-nav-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: rgba(74, 181, 116, 0.16);
  color: #c9f3d8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.replay-feedback-table td {
  vertical-align: top;
}

.replay-feedback-replay-label,
.replay-feedback-mini-stack {
  display: grid;
  gap: 0.25rem;
}

.replay-feedback-replay-label {
  min-width: 12rem;
}

.replay-feedback-replay-label strong,
.replay-feedback-rating-score {
  color: #fff4df;
}

.replay-feedback-replay-label span,
.replay-feedback-replay-label small,
.replay-feedback-mini,
.replay-feedback-mini-stack span {
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.88rem;
  line-height: 1.35;
}

.replay-feedback-replay-label small {
  max-width: 20rem;
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.replay-feedback-actions {
  align-items: flex-start;
}

.video-watch-panel h3,
.video-playlist-heading h3 {
  margin: 0;
  font-size: 1.8rem;
}

.video-watch-copy {
  margin: 0;
  color: #dfd7c8;
  font-size: 1.05rem;
  line-height: 1.5;
}

.video-playlist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.3rem;
  min-height: 100%;
}

.video-playlist-heading h3 {
  font-family: "Fraunces", Georgia, serif;
}

.video-playlist-list {
  display: grid;
  gap: 0.75rem;
  flex: 1 1 auto;
  align-content: start;
}

.video-playlist-item {
  display: grid;
  gap: 0.35rem;
  width: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.video-playlist-item:hover,
.video-playlist-item:focus-visible,
.video-playlist-item.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 191, 86, 0.42);
  background: rgba(216, 162, 74, 0.12);
}

.video-playlist-item.is-empty {
  cursor: default;
}

.video-playlist-tag {
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-playlist-item strong {
  font-size: 1.1rem;
}

.video-playlist-meta {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.video-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-breadcrumb-link {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-breadcrumb-link:hover,
.video-breadcrumb-link:focus-visible {
  color: var(--accent-strong);
}

.video-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.9rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 1.3rem;
  align-items: stretch;
}

.page-hero-copy {
  display: grid;
  gap: 1.25rem;
  padding: 2.2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(145deg, rgba(216, 162, 74, 0.12), rgba(15, 21, 27, 0.84) 28%),
    rgba(16, 23, 32, 0.82);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.page-hero-copy h1 {
  max-width: 12ch;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.94;
  text-wrap: balance;
}

.access-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.3rem;
  align-items: center;
  padding: 1.7rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(216, 162, 74, 0.08), rgba(16, 23, 32, 0.88) 38%),
    var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.access-strip h2 {
  margin: 0 0 0.7rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.access-copy {
  margin: 0;
  color: #dfd7c8;
  font-size: 1.1rem;
  line-height: 1.45;
}

.access-actions,
.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.login-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.step-card {
  padding: 1.35rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.step-card span {
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.step-card h3 {
  margin: 0.45rem 0 0.4rem;
  font-size: 1.35rem;
}

.step-card p {
  margin: 0;
  color: #dfd7c8;
  line-height: 1.45;
}

.resource-actions {
  margin-top: 1.15rem;
  align-self: end;
}

.resource-actions-center {
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 2rem 0 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 10px);
  isolation: isolate;
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(110deg, rgba(7, 10, 14, 0.82) 12%, rgba(7, 10, 14, 0.34) 54%, rgba(7, 10, 14, 0.86) 100%),
    linear-gradient(180deg, rgba(7, 10, 14, 0.16), rgba(7, 10, 14, 0.54));
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, 0.85fr);
  gap: 2rem;
  align-items: end;
  min-height: calc(100vh - 10rem);
  padding: 3rem;
}

.hero-copy {
  max-width: 46rem;
  display: grid;
  gap: 1.25rem;
}

.eyebrow,
.program-tag,
.schedule-note {
  margin: 0 0 0.65rem;
  color: var(--accent-strong);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10.5ch;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.92;
  text-wrap: balance;
}

.lead {
  max-width: 34rem;
  margin: 0;
  color: #e4ddd1;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.42;
}

.hero-narrative {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 1.2rem;
  align-items: start;
  max-width: 54rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #f6ce7c 100%);
  color: #15110a;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.hero-facts,
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-facts li,
.contact-list li {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(9, 12, 18, 0.38);
  color: #ece4d6;
}

.hero-facts {
  display: grid;
  gap: 0.8rem;
}

.hero-facts li {
  border-radius: 20px;
  padding: 0.9rem 1rem;
}

.hero-card {
  align-self: center;
}

.hero-card-inner,
.story-panel,
.program-card,
.schedule-shell,
.quote-block,
.contact-panel,
.value-card,
.coach-copy,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-card-inner {
  padding: 1.7rem;
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.hero-card ol {
  display: grid;
  gap: 0.9rem;
  padding-left: 1.1rem;
  margin: 0;
  color: #ece4d6;
  font-size: 1.05rem;
}

.text-link {
  display: inline-block;
  margin-top: 1.35rem;
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 2rem 0 1rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 1.4rem 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading .eyebrow,
.section-heading h2 {
  grid-column: 1;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1;
  text-wrap: balance;
}

.section-summary {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.4;
}

.story-layout,
.coach-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.3rem;
}

.story-panel {
  padding: 2rem;
  font-size: 1.2rem;
  line-height: 1.45;
}

.value-stack {
  display: grid;
  gap: 1rem;
}

.value-card {
  padding: 1.35rem 1.5rem;
}

.value-card span {
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.value-card h3,
.program-card h3 {
  margin: 0.5rem 0 0.45rem;
  font-size: 1.7rem;
}

.value-card p,
.program-card p,
.coach-copy p,
.contact-panel p,
.faq-list p {
  margin: 0;
  color: #dfd7c8;
  font-size: 1.1rem;
  line-height: 1.45;
}

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

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

.program-card {
  padding: 1.65rem;
}

.program-card-cinematic {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 18.5rem;
  padding: 0;
  overflow: hidden;
  background: #06080c;
}

.program-card-video-shell,
.program-card-scrim {
  position: absolute;
  inset: 0;
}

.program-card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.82) contrast(0.98) brightness(0.52);
}

.program-card-scrim {
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.5) 0%, rgba(7, 10, 14, 0.58) 28%, rgba(7, 10, 14, 0.8) 62%, rgba(7, 10, 14, 0.92) 100%),
    linear-gradient(135deg, rgba(9, 12, 18, 0.42) 0%, rgba(9, 12, 18, 0.18) 45%, rgba(9, 12, 18, 0.74) 100%);
}

.program-card-forms .program-card-scrim {
  background:
    linear-gradient(180deg, rgba(8, 12, 16, 0.52) 0%, rgba(8, 12, 16, 0.58) 28%, rgba(8, 12, 16, 0.82) 62%, rgba(8, 12, 16, 0.92) 100%),
    linear-gradient(140deg, rgba(216, 162, 74, 0.18) 0%, rgba(216, 162, 74, 0.06) 42%, rgba(12, 18, 27, 0.72) 100%);
}

.program-card-contact .program-card-scrim {
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.54) 0%, rgba(7, 10, 14, 0.6) 28%, rgba(7, 10, 14, 0.84) 62%, rgba(7, 10, 14, 0.93) 100%),
    linear-gradient(140deg, rgba(143, 70, 31, 0.2) 0%, rgba(143, 70, 31, 0.07) 44%, rgba(8, 12, 18, 0.76) 100%);
}

.program-card-applications .program-card-scrim {
  background:
    linear-gradient(180deg, rgba(6, 10, 14, 0.56) 0%, rgba(6, 10, 14, 0.62) 28%, rgba(6, 10, 14, 0.86) 62%, rgba(6, 10, 14, 0.94) 100%),
    linear-gradient(135deg, rgba(216, 162, 74, 0.16) 0%, rgba(216, 162, 74, 0.05) 38%, rgba(6, 10, 14, 0.8) 100%);
}

.program-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.25rem;
  align-content: start;
  min-height: 100%;
  padding: 1.7rem 1.6rem 1.65rem;
}

.program-card-cinematic .program-tag,
.program-card-cinematic h3,
.program-card-cinematic p {
  color: #f8f2e8;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.44);
}

.program-card-cinematic .program-tag {
  color: #ffe1a7;
}

.resource-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  padding: 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.resource-card h3 {
  margin: 0.5rem 0 0.55rem;
  font-size: 1.7rem;
}

.resource-card p {
  margin: 0;
  color: #dfd7c8;
  font-size: 1.1rem;
  line-height: 1.45;
}

.resource-button {
  min-width: 0;
  padding: 0.8rem 1.05rem;
  font-size: 0.92rem;
}

.resource-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.resource-list li {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(255, 191, 86, 0.45);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #ece4d6;
  line-height: 1.4;
}

.submission-sources-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.submission-source-card,
.submission-card {
  gap: 1rem;
}

.submission-source-path {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
  word-break: break-word;
}

.submission-list {
  display: grid;
  gap: 1rem;
}

.submission-card-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.submission-source-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.submission-source-badge {
  margin: 0;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.submission-message {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.submission-message p {
  margin: 0;
  color: #ece4d6;
  font-size: 1.08rem;
  line-height: 1.55;
}

.submission-card.is-contacted {
  border-color: rgba(108, 190, 137, 0.34);
}

.submission-followup-badge {
  margin: 0;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(216, 162, 74, 0.3);
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.submission-followup-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.submission-followup-badge.is-contacted {
  border-color: rgba(108, 190, 137, 0.36);
  color: #b8f2c4;
  background: rgba(108, 190, 137, 0.08);
}

.submission-outcome-badge.is-active {
  border-color: rgba(95, 157, 229, 0.36);
  color: #c9defb;
  background: rgba(95, 157, 229, 0.1);
}

.submission-followup-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1rem;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.submission-followup-controls {
  display: flex;
  flex: 1 1 24rem;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.9rem 1rem;
}

.submission-followup-toggle {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #ece4d6;
  font-size: 1rem;
  line-height: 1.4;
}

.submission-followup-toggle input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #d8a24a;
}

.submission-followup-outcome {
  display: grid;
  gap: 0.45rem;
  min-width: 12rem;
  color: #ece4d6;
}

.submission-followup-outcome span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.submission-followup-outcome select {
  min-height: 2.9rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(8, 12, 18, 0.86);
  color: #f6f0e7;
  font: inherit;
}

.submission-followup-save {
  min-width: 7.5rem;
}

.resource-link.is-disabled {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.button.is-disabled {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.page-home.page-students.page-auth.page-membership-info .auth-copy,
.page-home.page-students.page-auth.page-membership-info .auth-card {
  min-height: 100%;
}

.membership-info-points {
  margin-top: 0.35rem;
}

.page-home.page-students.page-auth.page-membership-info .auth-card {
  align-self: stretch;
}

.section-schedule {
  padding-top: 3rem;
}

.schedule-shell {
  padding: 1.5rem;
}

.schedule-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.schedule-meta p:last-child {
  margin: 0;
  color: var(--muted);
}

.schedule-grid {
  display: grid;
  gap: 0.85rem;
}

.schedule-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: #efe8dc;
}

.schedule-head {
  background: rgba(216, 162, 74, 0.14);
  color: var(--accent-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.coach-media img {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.coach-copy {
  align-self: center;
  padding: 2rem;
}

.section-testimonial {
  padding-top: 3rem;
}

.quote-block {
  padding: 2rem;
  text-align: center;
}

.quote-block blockquote {
  max-width: 18ch;
  margin: 0 auto;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.quote-copy {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-list details {
  padding: 1.15rem 1.25rem;
}

.faq-list summary {
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin-top: 0.85rem;
}

.section-contact {
  padding: 3rem 0 4rem;
}

.contact-page-hero {
  padding-bottom: 1rem;
}

.contact-form-section {
  padding-top: 0;
  scroll-margin-top: 6.5rem;
}

.contact-shell {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: start;
}

.contact-form-copy h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.contact-form-card {
  display: grid;
  gap: 1rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.auth-field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-quick-panel {
  display: grid;
  gap: 1rem;
}

.contact-list-stacked {
  display: grid;
  gap: 0.75rem;
}

.contact-list-stacked li {
  border-radius: 22px;
}

.section-contact-details {
  padding-top: 0;
}

.contact-panel {
  padding: 2rem;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-home {
  background:
    radial-gradient(circle at top, rgba(216, 162, 74, 0.1), transparent 24%),
    linear-gradient(180deg, #090c11 0%, #0e141c 42%, #111821 100%);
}

.page-home .site-shell::before {
  top: 7rem;
  right: -6rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(216, 162, 74, 0.16), transparent 66%);
  filter: blur(22px);
}

.page-home .site-shell::after {
  bottom: 8rem;
  left: -4rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(143, 70, 31, 0.18), transparent 70%);
  filter: blur(20px);
}

.page-home .topbar {
  width: min(calc(100% - 2rem), 1440px);
  margin-top: 0.7rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.34), rgba(10, 14, 20, 0.16)),
    rgba(10, 14, 20, 0.12);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px) saturate(120%);
}

.page-home .brand-copy strong {
  font-size: 1.42rem;
}

.page-home .brand,
.page-contact .brand {
  flex: 0 0 auto;
}

.page-home .brand-copy span {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.page-home .site-nav,
.page-contact .site-nav {
  margin-left: auto;
}

.page-home .site-nav a {
  font-size: 0.88rem;
  letter-spacing: 0.12em;
}

.page-home .nav-login,
.page-home .nav-cta {
  padding: 0.72rem 1rem;
}

.page-home .hero,
.page-home .section {
  width: min(calc(100% - 2rem), 1240px);
}

.page-home .hero {
  padding: 1.8rem 0 3.2rem;
}

.page-home .hero-media {
  inset: 0;
  border-radius: 36px;
}

.page-home .hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(216, 162, 74, 0.08), transparent 24%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 112px
    );
  mix-blend-mode: screen;
  opacity: 0.25;
  pointer-events: none;
}

.page-home .hero-media::after {
  background:
    linear-gradient(100deg, rgba(7, 10, 14, 0.76) 8%, rgba(7, 10, 14, 0.26) 42%, rgba(7, 10, 14, 0.8) 100%),
    linear-gradient(180deg, rgba(7, 10, 14, 0.18), rgba(7, 10, 14, 0.48));
}

.page-home .hero-grid {
  grid-template-columns: minmax(0, 1.26fr) minmax(280px, 0.64fr);
  gap: 1.35rem;
  min-height: calc(100vh - 11rem);
  padding: 1.7rem;
  align-items: end;
  border: 1.5px solid rgba(230, 91, 67, 0.42);
  border-radius: 34px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 176, 128, 0.08),
    0 0 0 1px rgba(230, 91, 67, 0.08);
}

.page-home .hero-copy,
.page-home .hero-card-inner {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(13, 18, 26, 0.62), rgba(10, 14, 20, 0.76)),
    rgba(10, 14, 20, 0.68);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.2);
}

.page-home .hero-copy {
  align-content: start;
  gap: 1rem;
  max-width: 40rem;
  padding: 1.55rem 1.65rem 1.5rem;
  background:
    linear-gradient(180deg, rgba(13, 18, 26, 0.16), rgba(10, 14, 20, 0.24)),
    rgba(10, 14, 20, 0.18);
  backdrop-filter: blur(4px);
}

.page-home .hero-card {
  align-self: end;
}

.page-home .hero-card-inner {
  height: auto;
  max-width: 22rem;
  justify-self: end;
  padding: 1.3rem 1.35rem;
}

.page-home .eyebrow,
.page-home .program-tag,
.page-home .schedule-note {
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.page-home .hero h1 {
  max-width: 11.3ch;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  line-height: 0.98;
}

.page-home .lead {
  max-width: 33rem;
  font-size: clamp(0.92rem, 1.35vw, 1.02rem);
  line-height: 1.52;
}

.page-home .hero-narrative {
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  max-width: 42rem;
}

.page-home .hero-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.page-home .hero-facts li {
  min-height: 100%;
  padding: 0.68rem 0.78rem;
  border-radius: 18px;
  font-size: 0.84rem;
  line-height: 1.3;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(9, 12, 18, 0.42);
}

.page-home .button {
  min-width: 10rem;
  padding: 0.84rem 1.2rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.page-home .hero-card h2 {
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.02;
}

.page-home .hero-card ol {
  gap: 0.8rem;
  font-size: 0.96rem;
  line-height: 1.45;
}

.page-home .section {
  padding: 1.4rem 0 0.8rem;
}

.page-home .section + .section {
  margin-top: 0.6rem;
}

.page-home .section-heading {
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 0.8rem 2rem;
  margin-bottom: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.02;
}

.page-home .section-summary {
  font-size: 0.96rem;
  line-height: 1.5;
}

.page-home .story-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1rem;
}

.page-home .story-panel,
.page-home .program-card,
.page-home .schedule-shell,
.page-home .quote-block,
.page-home .contact-panel,
.page-home .value-card,
.page-home .coach-copy,
.page-home .faq-list details {
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.84), rgba(10, 14, 20, 0.92)),
    rgba(16, 23, 32, 0.88);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.18);
}

.page-home .story-panel {
  padding: 1.55rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

.page-home .value-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.page-home .value-card {
  padding: 1.15rem 1.2rem;
}

.page-home .value-card span {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
}

.page-home .value-card h3,
.page-home .program-card h3,
.page-home .resource-card h3 {
  font-size: 1.34rem;
  line-height: 1.08;
}

.page-home .value-card p,
.page-home .program-card p,
.page-home .coach-copy p,
.page-home .contact-panel p,
.page-home .faq-list p,
.page-home .resource-card p {
  font-size: 0.98rem;
  line-height: 1.55;
}

.page-home .program-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.95rem;
}

.page-home #system .program-card {
  grid-column: span 6;
  min-height: 100%;
}

.page-home #programs .program-card,
.page-home .section-content .program-card {
  grid-column: span 4;
}

.page-home .program-card {
  padding: 1.35rem;
}

.page-home .program-card-cinematic {
  min-height: 16.8rem;
}

.page-home .program-card-content {
  padding: 1.4rem 1.35rem 1.3rem;
}

.page-home .section-content .program-card-cinematic .program-tag {
  font-size: 0.74rem;
}

.page-home .section-content .program-card-cinematic h3 {
  font-size: 1.46rem;
}

.page-home .quote-block {
  padding: 1.5rem 1.6rem;
  text-align: left;
}

.page-home .quote-block blockquote {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
}

.page-home .quote-copy {
  max-width: 45rem;
  margin: 0.9rem 0 0;
  font-size: 0.96rem;
}

.page-home .coach-layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
}

.page-home .coach-copy {
  padding: 1.6rem;
}

.page-home .coach-media img {
  min-height: 23rem;
  border-radius: 26px;
}

.page-home .faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.page-home .faq-list details {
  padding: 1rem 1.05rem;
}

.page-home .faq-list summary {
  font-size: 1.04rem;
  line-height: 1.3;
}

.page-home .contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 1rem 1.4rem;
  align-items: start;
  padding: 1.6rem;
}

.page-home .contact-panel > div:first-child {
  max-width: 42rem;
}

.page-home .contact-actions {
  justify-content: flex-end;
}

.page-home .contact-list {
  grid-column: 1 / -1;
  gap: 0.65rem;
}

.page-home .contact-list li {
  padding: 0.72rem 0.9rem;
  font-size: 0.94rem;
}

body.page-home,
body.page-contact {
  --bg: #0d1117;
  --bg-soft: #131a22;
  --panel: rgba(16, 23, 32, 0.84);
  --panel-strong: rgba(12, 18, 27, 0.96);
  --line: rgba(232, 216, 191, 0.12);
  --text: #f4efe6;
  --muted: #b8b1a4;
  --accent: #d8a24a;
  --accent-strong: #ffbf56;
  --accent-deep: #f4efe6;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
  background:
    radial-gradient(circle at top left, rgba(216, 162, 74, 0.14), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(143, 70, 31, 0.12), transparent 24%),
    linear-gradient(180deg, #090d12 0%, #0e141c 46%, #121920 100%);
  color: var(--text);
}

body.page-home {
  background:
    radial-gradient(circle at top left, rgba(88, 118, 150, 0.06), transparent 24%),
    linear-gradient(180deg, #090d12 0%, #0e141c 46%, #121920 100%);
}

.page-home .site-shell::before,
.page-contact .site-shell::before {
  top: 6rem;
  right: -4rem;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(216, 162, 74, 0.18), transparent 70%);
  filter: blur(30px);
}

.page-home .site-shell::before {
  background: radial-gradient(circle, rgba(70, 96, 122, 0.12), transparent 72%);
  filter: blur(24px);
}

.page-home .site-shell::after,
.page-contact .site-shell::after {
  bottom: 6rem;
  left: -3rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(16, 23, 32, 0.34), transparent 68%);
  filter: blur(22px);
}

.page-home .topbar,
.page-contact .topbar {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(180deg, var(--header-surface-start), var(--header-surface-end)),
    var(--header-surface-solid);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.page-home .topbar {
  position: relative;
  top: auto;
}

.page-home .brand-copy strong,
.page-contact .brand-copy strong {
  color: var(--text);
  font-size: 1.78rem;
}

.page-home .brand-copy span,
.page-contact .brand-copy span,
.page-home .site-nav a,
.page-contact .site-nav a {
  color: var(--muted);
}

.page-home .nav-login,
.page-home .nav-cta,
.page-contact .nav-login,
.page-contact .nav-cta {
  border-color: rgba(255, 191, 86, 0.22);
}

.page-home .nav-login,
.page-contact .nav-login {
  background: rgba(255, 255, 255, 0.04);
}

.page-home .nav-cta,
.page-contact .nav-cta {
  background: rgba(216, 162, 74, 0.08);
}

.page-home .hero {
  width: min(calc(100% - 2rem), calc(var(--max-width) + 5rem));
  padding-top: 2.8rem;
}

.page-home .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 1.4rem;
  min-height: 42rem;
  padding: 3.6rem 3.2rem 3rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 42px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(16, 23, 32, 0.94) 0%, rgba(12, 18, 27, 0.88) 46%, rgba(8, 12, 18, 0.94) 100%),
    rgba(12, 18, 27, 0.92);
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.28);
}

.page-home .hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 20, 29, 0.72) 0%, rgba(14, 20, 29, 0.36) 38%, rgba(7, 10, 14, 0.18) 66%, rgba(7, 10, 14, 0.34) 100%);
  pointer-events: none;
}

.page-home .hero-media {
  position: absolute;
  inset: 0 0 0 42%;
  z-index: 0;
}

.page-home .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 18, 27, 0.82) 0%, rgba(12, 18, 27, 0.2) 18%, rgba(7, 10, 14, 0.24) 56%, rgba(7, 10, 14, 0.54) 100%);
}

.page-home .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.88) contrast(1.04) brightness(0.74);
}

.page-home .hero-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  background: #0b1017;
  filter: saturate(0.88) contrast(1.04) brightness(0.74);
}

.page-home .hero-copy,
.page-home .hero-card {
  position: relative;
  z-index: 1;
}

.page-home .hero-copy {
  display: grid;
  align-content: start;
  gap: 1.3rem;
  max-width: 43rem;
}

.page-home .hero .eyebrow,
.page-contact .eyebrow {
  color: var(--accent);
  letter-spacing: 0.2em;
  font-weight: 700;
}

.page-home .hero h1,
.page-contact .page-hero-copy h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.88;
  text-wrap: balance;
}

.page-home .hero .lead,
.page-contact .lead {
  max-width: 34rem;
  color: rgba(244, 239, 230, 0.84);
  font-size: 1.18rem;
  line-height: 1.58;
}

.page-home .hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-home .hero-facts li {
  min-height: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(9, 12, 18, 0.42);
  color: var(--text);
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.35;
}

.page-home .button,
.page-contact .button {
  border-width: 1px;
  border-radius: 999px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.page-home .button-primary,
.page-contact .button-primary {
  border-color: rgba(255, 191, 86, 0.24);
  background: linear-gradient(135deg, #d8a24a 0%, #b87a1f 100%);
  color: #101720;
}

.page-home .button-secondary,
.page-contact .button-secondary {
  border-color: rgba(232, 216, 191, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.page-home .hero-card {
  align-self: end;
}

.page-home .hero-card-inner,
.page-contact .hero-card-inner,
.page-contact .page-hero-copy,
.page-contact .contact-form-copy,
.page-contact .contact-form-card,
.page-home .story-panel,
.page-home .value-card,
.page-home .program-card,
.page-home .schedule-shell,
.page-home .quote-block,
.page-home .coach-copy,
.page-home .contact-panel,
.page-home .resource-card,
.page-contact .resource-card {
  border: 1px solid rgba(232, 216, 191, 0.1);
  background:
    linear-gradient(160deg, rgba(18, 25, 34, 0.96), rgba(12, 18, 27, 0.9)),
    rgba(16, 23, 32, 0.9);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.page-home .hero-card-inner,
.page-contact .hero-card-inner {
  gap: 1rem;
  padding: 1.8rem;
  border-radius: 30px;
}

.page-home .hero-card h2,
.page-contact .hero-card h2,
.page-home .story-panel p:first-child::first-line {
  color: var(--accent-deep);
}

.page-home .hero-card ol {
  color: var(--muted);
  line-height: 1.55;
}

.page-home .text-link,
.page-contact .text-link {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.page-home .section {
  width: min(calc(100% - 2rem), calc(var(--max-width) + 3rem));
  margin: 0 auto;
  padding: 2.5rem 0;
}

.page-home .section-positioning {
  padding-top: 1.25rem;
}

.page-home .positioning-panel {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 2.2rem;
  border: 1px solid rgba(90, 39, 24, 0.1);
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(255, 249, 242, 0.98), rgba(244, 228, 206, 0.9)),
    rgba(255, 249, 242, 0.96);
  box-shadow: 0 24px 48px rgba(89, 39, 24, 0.08);
  text-align: center;
}

.page-home .positioning-panel h2 {
  margin: 0.35rem 0 0.85rem;
  color: var(--accent-deep);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.96;
}

.page-home .positioning-panel p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.page-home .section-heading,
.page-contact .section-heading {
  display: grid;
  gap: 1rem;
  max-width: 58rem;
  margin-bottom: 2rem;
  padding-left: 1.4rem;
  border-left: 4px solid rgba(180, 83, 47, 0.58);
}

.page-home .section-heading h2,
.page-contact .section-heading h2 {
  margin: 0;
  color: var(--accent-deep);
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 0.92;
  max-width: 14ch;
}

.page-home .section-summary,
.page-contact .section-summary {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.58;
}

.page-home .story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
}

.page-home .story-panel {
  position: relative;
  padding: 2.1rem;
  border-radius: 34px;
  min-height: 100%;
}

.page-home .story-panel::before {
  content: "Lineage / structure / timing";
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home .story-panel p {
  margin: 0;
  color: rgba(33, 21, 16, 0.86);
  font-size: 1.08rem;
  line-height: 1.7;
}

.page-home .value-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.page-home .value-card {
  padding: 1.5rem;
  border-radius: 28px;
}

.page-home .value-card span,
.page-home .program-tag,
.page-home .schedule-note,
.page-home .quote-block .eyebrow,
.page-home .resource-card .eyebrow,
.page-contact .resource-card .eyebrow {
  color: var(--accent);
}

.page-home .program-grid,
.page-contact .resource-grid {
  gap: 1rem;
}

.page-home .program-card {
  border-radius: 30px;
  padding: 1.55rem;
}

.page-home #system .program-card {
  grid-column: span 6;
}

.page-home #programs .program-card,
.page-home .section-content .program-card {
  grid-column: span 4;
}

.page-home .program-card h3,
.page-home .resource-card h3,
.page-contact .resource-card h3 {
  color: var(--accent-deep);
  font-size: 1.45rem;
}

.page-home .program-card p,
.page-home .resource-card p,
.page-contact .resource-card p {
  color: var(--muted);
  line-height: 1.55;
}

.page-home .program-card-cinematic {
  border: 0;
  background: #2c1c15;
  box-shadow: 0 28px 60px rgba(49, 25, 18, 0.22);
}

.page-home .program-card-cinematic .program-card-scrim {
  background: linear-gradient(180deg, rgba(26, 13, 9, 0.1), rgba(26, 13, 9, 0.78) 72%, rgba(18, 9, 6, 0.92) 100%);
}

.page-home .program-card-cinematic .program-card-content {
  color: #fff4e8;
}

.page-home .program-card-cinematic h3,
.page-home .program-card-cinematic p {
  color: #fff4e8;
}

.page-home .lineage-reference {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 1.2rem;
  margin-bottom: 1.25rem;
  padding: 1.35rem;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 249, 242, 0.96), rgba(245, 233, 216, 0.94)),
    rgba(255, 249, 242, 0.96);
  box-shadow: 0 22px 48px rgba(89, 39, 24, 0.1);
}

.page-home .lineage-reference-copy {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
}

.page-home .lineage-reference-copy h3 {
  margin: 0;
  color: var(--accent-deep);
}

.page-home .lineage-reference-copy p {
  margin: 0;
  color: var(--muted);
}

.page-home .lineage-reference-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 3.15rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 23, 32, 0.72);
  background: rgba(16, 23, 32, 0.94);
  color: #f4efe6;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-home .lineage-reference-media {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.9fr);
  gap: 0.9rem;
  align-items: stretch;
}

.page-home .lineage-reference-media img {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 22px 42px rgba(89, 39, 24, 0.16);
}

.page-home .lineage-reference-banner {
  min-height: 15.5rem;
}

.page-home .lineage-reference-media .lineage-reference-photo {
  grid-column: 1 / -1;
  height: auto;
  object-position: center center;
}

.page-home .schedule-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: 1.4rem;
  padding: 1.9rem;
  border-radius: 34px;
  align-items: start;
}

.page-home .schedule-meta {
  display: grid;
  align-content: start;
  gap: 1.15rem;
  max-width: 28rem;
}

.page-home .schedule-grid {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  min-height: 100%;
}

.page-home .schedule-row {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(90, 39, 24, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.44);
}

.page-home .coach-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
  align-items: stretch;
}

.page-home .coach-media {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: #0b1017;
}

.page-home .coach-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(7, 11, 17, 0.18), rgba(7, 11, 17, 0.28)),
    linear-gradient(90deg, rgba(7, 11, 17, 0.1), rgba(7, 11, 17, 0.18));
  pointer-events: none;
  z-index: 1;
}

.page-home .coach-media img,
.page-home .coach-media video {
  min-height: 34rem;
  width: 100%;
  display: block;
  border-radius: 36px;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.9);
  box-shadow: 0 30px 60px rgba(89, 39, 24, 0.16);
}

.page-home .coach-media-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .coach-media-video {
  position: relative;
  z-index: 1;
  background: transparent;
  opacity: 0;
  transition: opacity 220ms ease;
}

.page-home .coach-media.is-video-ready .coach-media-video {
  opacity: 1;
}

.page-home .coach-copy {
  padding: 2rem;
  border-radius: 34px;
}

.page-home .coach-copy h2,
.page-home .quote-block blockquote,
.page-home .contact-panel h2,
.page-contact .page-hero-copy h1,
.page-contact .contact-form-copy h2 {
  color: var(--accent-deep);
}

.page-home .quote-block {
  padding: 2rem;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(180, 83, 47, 0.12), rgba(255, 248, 238, 0.94) 34%),
    rgba(255, 248, 238, 0.96);
}

.page-home .quote-block blockquote {
  max-width: 13ch;
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  line-height: 0.94;
}

.page-home .quote-copy {
  max-width: 42rem;
  color: var(--muted);
}

.page-home .faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-home .faq-list details {
  border: 1px solid rgba(90, 39, 24, 0.1);
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.74);
  box-shadow: 0 18px 40px rgba(89, 39, 24, 0.08);
}

.page-home .faq-list summary {
  color: var(--accent-deep);
}

.page-home .faq-list p {
  color: var(--muted);
}

.page-home .contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 1rem 1.4rem;
  align-items: start;
  padding: 2rem;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(90, 39, 24, 0.94), rgba(58, 29, 21, 0.96)),
    #2d1912;
  color: #f9ecdf;
}

.page-home .contact-panel h2,
.page-home .contact-panel p,
.page-home .contact-panel li,
.page-home .contact-panel a {
  color: inherit;
}

.page-home .contact-panel .eyebrow {
  color: #ffc78c;
}

.page-home .contact-list li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.page-contact .page-hero {
  width: min(calc(100% - 2rem), calc(var(--max-width) + 3rem));
  padding-top: 2rem;
}

.page-contact .page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}

.page-contact .page-hero-copy,
.page-contact .hero-card-inner,
.page-contact .contact-form-copy,
.page-contact .contact-form-card,
.page-contact .resource-card {
  border-radius: 34px;
}

.page-contact .page-hero-copy {
  padding: 2.2rem;
}

.page-contact .page-hero-copy h1 {
  max-width: 11ch;
}

.page-contact .contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  gap: 1rem;
}

.page-contact .contact-form-copy,
.page-contact .contact-form-card {
  padding: 2rem;
}

.page-contact .contact-form-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.9rem);
  line-height: 0.94;
}

.page-contact .contact-form-grid {
  gap: 1rem;
}

.page-contact .contact-form-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-contact .contact-assurance-grid {
  gap: 0.9rem;
}

.page-contact .resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-contact .contact-list li,
.page-contact .contact-list-stacked li {
  border: 1px solid rgba(90, 39, 24, 0.1);
  background: rgba(255, 255, 255, 0.38);
}

.page-home .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 44rem;
}

.page-home .hero-metric {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(90, 39, 24, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.66), rgba(247, 231, 212, 0.66)),
    rgba(255, 255, 255, 0.4);
  box-shadow: 0 18px 36px rgba(89, 39, 24, 0.08);
}

.page-home .hero-metric strong {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home .hero-metric span {
  color: var(--accent-deep);
  font-size: 1.02rem;
  line-height: 1.25;
}

.page-home .section-rhythm .rhythm-card,
.page-home .section-progression .progression-card {
  border-radius: 30px;
}

.page-home .section-rhythm .rhythm-card {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(160deg, rgba(23, 29, 39, 0.98), rgba(11, 16, 24, 0.98)),
    #141b24;
  box-shadow: 0 24px 54px rgba(14, 18, 24, 0.22);
}

.page-home .section-rhythm .rhythm-card .eyebrow {
  color: #ffac75;
}

.page-home .section-rhythm .rhythm-card h3 {
  color: #fff3e4;
}

.page-home .section-rhythm .rhythm-card p {
  color: rgba(248, 232, 214, 0.86);
}

.page-home .section-progression .progression-card {
  background:
    linear-gradient(160deg, rgba(255, 248, 240, 0.96), rgba(248, 232, 210, 0.8)),
    rgba(255, 248, 240, 0.92);
}

.page-home #system,
.page-home .section-content {
  position: relative;
}

.page-home #system::before,
.page-home .section-content::before {
  content: "";
  position: absolute;
  inset: 1.2rem 0 auto;
  height: 22rem;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(65, 33, 24, 0.95), rgba(37, 20, 15, 0.98));
  box-shadow: 0 32px 70px rgba(40, 19, 14, 0.18);
  z-index: 0;
}

.page-home #system > *,
.page-home .section-content > * {
  position: relative;
  z-index: 1;
}

.page-home #system .section-heading,
.page-home .section-content .section-heading {
  border-left-color: rgba(255, 199, 140, 0.54);
}

.page-home #system .section-heading .eyebrow,
.page-home .section-content .section-heading .eyebrow,
.page-home #system .section-heading h2,
.page-home .section-content .section-heading h2,
.page-home #system .section-summary,
.page-home .section-content .section-summary {
  color: #f8ead7;
}

.page-home #system .program-card,
.page-home .section-content .program-card {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(160deg, rgba(250, 239, 223, 0.98), rgba(243, 225, 199, 0.92)),
    rgba(248, 235, 218, 0.98);
}

.page-home .schedule-side-note {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border-left: 4px solid rgba(180, 83, 47, 0.42);
  background: rgba(255, 255, 255, 0.34);
  border-radius: 0 20px 20px 0;
}

.page-home .schedule-side-note strong {
  color: var(--accent-deep);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home .schedule-side-note span {
  color: var(--muted);
  line-height: 1.45;
}

.page-home .coach-layout {
  position: relative;
}

.page-home .coach-layout::after {
  content: "Technical lineage. Calm pressure. Applied response.";
  position: absolute;
  right: 2rem;
  bottom: -1.35rem;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: rgba(90, 39, 24, 0.94);
  color: #f8ead7;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 18px 36px rgba(89, 39, 24, 0.18);
}

.page-home .section-testimonial .quote-block {
  position: relative;
  overflow: hidden;
}

.page-home .section-testimonial .quote-block::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 55%;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(207, 111, 61, 0.14), transparent 68%);
  pointer-events: none;
}

.page-home .detail-band-card:first-child {
  background:
    linear-gradient(160deg, rgba(90, 39, 24, 0.96), rgba(53, 27, 20, 0.96)),
    #3c2118;
  color: #f9ecdf;
}

.page-home .detail-band-card:first-child .eyebrow,
.page-home .detail-band-card:first-child h3,
.page-home .detail-band-card:first-child p {
  color: inherit;
}

.page-home .detail-band-card:last-child {
  background:
    linear-gradient(160deg, rgba(255, 249, 241, 0.98), rgba(246, 231, 211, 0.9)),
    rgba(255, 249, 241, 0.96);
}

.page-contact .hero-card-inner {
  background:
    linear-gradient(160deg, rgba(90, 39, 24, 0.96), rgba(53, 26, 19, 0.96)),
    #3a1f18;
  color: #f8ead7;
}

.page-contact .hero-card-inner .eyebrow,
.page-contact .hero-card-inner h2,
.page-contact .hero-card-inner li,
.page-contact .hero-card-inner a {
  color: inherit;
}

.page-contact .contact-response-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffd6b4;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-contact .contact-form-card {
  position: relative;
  overflow: hidden;
}

.page-contact .contact-form-card::before {
  content: "";
  position: absolute;
  top: -5rem;
  right: -4rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(207, 111, 61, 0.16), transparent 68%);
  pointer-events: none;
}

.page-contact .contact-form-footnote {
  margin: 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid rgba(180, 83, 47, 0.44);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.38);
  color: var(--muted);
  line-height: 1.45;
}

.page-contact .resource-card {
  min-height: 100%;
  padding: 1.65rem;
}

.page-contact .resource-card:first-child {
  background:
    linear-gradient(160deg, rgba(255, 246, 236, 0.98), rgba(247, 229, 206, 0.92)),
    rgba(255, 246, 236, 0.96);
}

.page-contact .resource-card:nth-child(2) {
  background:
    linear-gradient(160deg, rgba(90, 39, 24, 0.96), rgba(53, 26, 19, 0.96)),
    #3a1f18;
}

.page-contact .resource-card:nth-child(2) .eyebrow,
.page-contact .resource-card:nth-child(2) h3,
.page-contact .resource-card:nth-child(2) p {
  color: #f8ead7;
}

/* Header-linked card accents + contact contrast fix */
.page-home .positioning-panel,
.page-home .story-panel,
.page-home .value-card,
.page-home .program-card:not(.program-card-cinematic),
.page-home .schedule-shell,
.page-home .quote-block,
.page-home .coach-copy,
.page-home .resource-card,
.page-home .lineage-reference,
.page-home .faq-list details,
.page-home .hero-card-inner,
.page-home .hero-facts li,
.page-home .hero-metric,
.page-contact .page-hero-copy,
.page-contact .contact-form-copy,
.page-contact .contact-form-card,
.page-contact .resource-card {
  border-color: rgba(16, 23, 32, 0.08);
  border-top: 3px solid rgba(183, 140, 63, 0.5);
  background:
    linear-gradient(180deg, rgba(16, 23, 32, 0.045), rgba(16, 23, 32, 0) 4.2rem),
    #fff8f0;
  box-shadow:
    0 24px 52px rgba(89, 39, 24, 0.08),
    0 10px 24px rgba(16, 23, 32, 0.06);
}

.page-home .hero-card-inner {
  background:
    linear-gradient(180deg, rgba(16, 23, 32, 0.055), rgba(16, 23, 32, 0) 4rem),
    rgba(255, 248, 240, 0.94);
}

.page-home .resource-card .eyebrow,
.page-home .value-card span,
.page-home .program-tag,
.page-home .schedule-note,
.page-contact .resource-card .eyebrow,
.page-contact .contact-form-copy .eyebrow,
.page-contact .page-hero-copy .eyebrow {
  color: #7d6131;
}

.page-contact .hero-card-inner {
  border-top: 3px solid rgba(183, 140, 63, 0.42);
  background:
    linear-gradient(180deg, rgba(16, 23, 32, 0.18), rgba(16, 23, 32, 0) 4rem),
    rgba(53, 26, 19, 0.97);
}

.page-contact .hero-card-inner .contact-list li,
.page-contact .hero-card-inner .contact-list-stacked li {
  border: 1px solid rgba(90, 39, 24, 0.12);
  background: #fff8f0;
  color: var(--accent-deep);
}

.page-contact .hero-card-inner .contact-list li strong,
.page-contact .hero-card-inner .contact-list-stacked li strong {
  color: #7d6131;
}

.page-contact .hero-card-inner .contact-list li a,
.page-contact .hero-card-inner .contact-list-stacked li a,
.page-contact .hero-card-inner .contact-list li span,
.page-contact .hero-card-inner .contact-list-stacked li span,
.page-contact .hero-card-inner .contact-list li,
.page-contact .hero-card-inner .contact-list-stacked li {
  color: var(--accent-deep);
}

.page-contact .hero-card-inner .contact-list li a:hover,
.page-contact .hero-card-inner .contact-list-stacked li a:hover {
  color: #7d6131;
}

.page-contact .contact-response-pill {
  border-color: rgba(183, 140, 63, 0.32);
  color: #f3d6b6;
}

/* Card edge + hero pill readability pass */
.page-home .hero-card-points span {
  border: 1.5px solid rgba(16, 23, 32, 0.52);
  background: rgba(255, 248, 240, 0.84);
  color: rgba(16, 23, 32, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.page-home .positioning-panel,
.page-home .story-panel,
.page-home .value-card,
.page-home .program-card:not(.program-card-cinematic),
.page-home .schedule-shell,
.page-home .quote-block,
.page-home .coach-copy,
.page-home .resource-card,
.page-home .faq-list details,
.page-home .hero-card-inner,
.page-home .hero-facts li,
.page-home .hero-metric,
.page-home .schedule-row,
.page-home .schedule-side-note,
.page-home .schedule-visual-copy,
.page-contact .page-hero-copy,
.page-contact .hero-card-inner,
.page-contact .contact-form-copy,
.page-contact .contact-form-card,
.page-contact .resource-card,
.page-contact .contact-list li,
.page-contact .contact-list-stacked li,
.page-contact .contact-form-footnote,
.page-contact .contact-assurance-card {
  outline: 2px solid rgba(16, 23, 32, 0.62);
  outline-offset: -1px;
}

.page-contact .resource-card:nth-child(3) {
  background:
    linear-gradient(160deg, rgba(255, 250, 244, 0.96), rgba(241, 222, 195, 0.9)),
    rgba(255, 250, 244, 0.94);
}

/* Cleanup pass: simplify reading surfaces and remove conflicting translucent layers. */
.page-home .hero-grid {
  background:
    linear-gradient(90deg, #f8f0e6 0%, #f8f0e6 45%, rgba(248, 240, 230, 0.86) 55%, rgba(248, 240, 230, 0.24) 66%, rgba(54, 29, 20, 0.08) 100%),
    #f8f0e6;
}

.page-home .hero-grid::before {
  display: none;
}

.page-home .hero-media {
  inset: 0 0 0 47%;
}

.page-home .hero-media::after {
  background:
    linear-gradient(90deg, rgba(248, 240, 230, 0.18) 0%, rgba(248, 240, 230, 0.04) 18%, rgba(31, 18, 12, 0.1) 70%, rgba(31, 18, 12, 0.24) 100%);
}

.page-home .hero-copy {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.page-home .hero-card-inner {
  border-color: rgba(90, 39, 24, 0.12);
  background: #fff8f0;
  box-shadow: 0 24px 52px rgba(89, 39, 24, 0.12);
}

.page-home .hero-facts li,
.page-home .hero-metric,
.page-home .schedule-row,
.page-home .schedule-side-note,
.page-home .schedule-visual-copy,
.page-contact .contact-list li,
.page-contact .contact-list-stacked li,
.page-contact .contact-form-footnote {
  background: #fff8f0;
}

.page-home .section-heading {
  max-width: none;
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(90, 39, 24, 0.1);
  border-left: 4px solid rgba(180, 83, 47, 0.58);
  border-radius: 28px;
  background: #fff8f0;
  box-shadow: 0 20px 42px rgba(89, 39, 24, 0.08);
}

.page-home .positioning-panel,
.page-home .story-panel,
.page-home .value-card,
.page-home .program-card:not(.program-card-cinematic),
.page-home .schedule-shell,
.page-home .quote-block,
.page-home .coach-copy,
.page-home .resource-card,
.page-home .faq-list details,
.page-contact .page-hero-copy,
.page-contact .contact-form-copy,
.page-contact .contact-form-card,
.page-contact .resource-card {
  background: #fff8f0;
  box-shadow: 0 24px 52px rgba(89, 39, 24, 0.1);
}

.page-home .story-panel,
.page-home .value-card,
.page-home .program-card:not(.program-card-cinematic),
.page-home .schedule-shell,
.page-home .quote-block,
.page-home .coach-copy,
.page-home .resource-card,
.page-home .faq-list details,
.page-contact .page-hero-copy,
.page-contact .contact-form-copy,
.page-contact .contact-form-card,
.page-contact .resource-card {
  border: 1px solid rgba(90, 39, 24, 0.1);
}

.page-home .story-panel p,
.page-home .value-card p,
.page-home .program-card p,
.page-home .resource-card p,
.page-home .quote-copy,
.page-home .schedule-meta p,
.page-home .schedule-side-note span,
.page-home .schedule-visual-copy span,
.page-home .faq-list p,
.page-contact .lead,
.page-contact .resource-card p {
  color: rgba(52, 35, 28, 0.82);
}

.page-home .value-card h3,
.page-home .program-card h3,
.page-home .resource-card h3,
.page-home .schedule-shell strong,
.page-home .faq-list summary,
.page-home .quote-block blockquote,
.page-contact .page-hero-copy h1,
.page-contact .contact-form-copy h2,
.page-contact .resource-card h3 {
  color: var(--accent-deep);
}

.page-home #system::before,
.page-home .section-content::before {
  display: none;
}

.page-home #system .section-heading,
.page-home .section-content .section-heading {
  border-left-color: rgba(180, 83, 47, 0.58);
  background: #fff8f0;
}

.page-home #system .section-heading .eyebrow,
.page-home .section-content .section-heading .eyebrow {
  color: var(--accent);
}

.page-home #system .section-heading h2,
.page-home .section-content .section-heading h2,
.page-home #system .section-summary,
.page-home .section-content .section-summary {
  color: var(--accent-deep);
}

.page-home #system .program-card,
.page-home .section-content .program-card {
  border-color: rgba(90, 39, 24, 0.1);
  background: #fff8f0;
}

.page-home .section-rhythm .rhythm-card {
  border-color: rgba(38, 26, 22, 0.06);
  background: #1b2028;
  box-shadow: 0 24px 54px rgba(14, 18, 24, 0.18);
}

.page-home .section-progression .progression-card,
.page-home .detail-band-card:last-child {
  border: 1px solid rgba(90, 39, 24, 0.1);
  background: #fff8f0;
  box-shadow: 0 24px 52px rgba(89, 39, 24, 0.1);
}

.page-home .detail-band-card:last-child .eyebrow,
.page-home .detail-band-card:last-child h3,
.page-home .detail-band-card:last-child p,
.page-home .section-progression .progression-card h3,
.page-home .section-progression .progression-card p {
  color: var(--accent-deep);
}

.page-home .section-progression .progression-card p {
  color: rgba(52, 35, 28, 0.82);
}

.access-inline-feedback {
  grid-column: 1 / -1;
  justify-self: start;
  width: auto;
  max-width: min(100%, 24rem);
  margin: 0.15rem 0 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.86rem;
  line-height: 1.35;
}

/* Hero polish pass: expose the backdrop and lock schedule contrast. */
.page-home .hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  padding: 2rem;
  border: 1px solid rgba(90, 39, 24, 0.14);
  background: rgba(255, 248, 240, 0.14);
  box-shadow: 0 32px 70px rgba(89, 39, 24, 0.12);
}

.page-home .hero-media {
  inset: 0;
}

.page-home .hero-media::before {
  opacity: 0.5;
  mix-blend-mode: normal;
}

.page-home .hero-media::after {
  background:
    linear-gradient(90deg, rgba(248, 240, 230, 0.64) 0%, rgba(248, 240, 230, 0.44) 28%, rgba(248, 240, 230, 0.14) 48%, rgba(31, 18, 12, 0.06) 72%, rgba(31, 18, 12, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 248, 240, 0.06), rgba(31, 18, 12, 0.1));
}

.page-home .hero-media img {
  object-position: 54% 26%;
}

.page-home .hero-copy {
  max-width: 39rem;
  padding: 1.55rem 1.7rem 1.7rem;
  border: 1px solid rgba(255, 248, 240, 0.5);
  border-radius: 34px;
  background: rgba(255, 248, 240, 0.5);
  box-shadow: 0 24px 52px rgba(89, 39, 24, 0.12);
  backdrop-filter: blur(14px);
}

.page-home .hero-card {
  align-self: center;
}

.page-home .hero-card-inner {
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(8px);
}

.page-home .hero-facts li,
.page-home .hero-metric {
  background: rgba(255, 248, 240, 0.88);
}

.page-home .schedule-row,
.page-home .schedule-row span {
  color: var(--accent-deep);
  opacity: 1;
}

.page-home .schedule-row {
  background: #fff8f0;
}

.page-home .schedule-head,
.page-home .schedule-head span {
  color: var(--accent);
}

.page-home .schedule-head {
  background: #fbefe0;
}

.page-home .schedule-row:not(.schedule-head) span:last-child {
  color: rgba(90, 39, 24, 0.78);
}

/* Header restore + contact cleanup */
.page-home .topbar,
.page-contact .topbar {
  width: min(calc(100% - 2rem), 1440px);
  margin-top: 0.7rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.34), rgba(10, 14, 20, 0.16)),
    rgba(10, 14, 20, 0.12);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px) saturate(120%);
}

.page-home .brand-copy strong,
.page-contact .brand-copy strong {
  color: #fff8ee;
  font-size: 1.42rem;
}

.page-home .brand-copy span,
.page-contact .brand-copy span {
  color: rgba(247, 235, 214, 0.8);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.page-home .site-nav a,
.page-contact .site-nav a {
  color: rgba(247, 235, 214, 0.74);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
}

.page-home .nav-login,
.page-home .nav-cta,
.page-contact .nav-login,
.page-contact .nav-cta {
  padding: 0.72rem 1rem;
  border-color: rgba(183, 140, 63, 0.4);
  color: #f8eddc;
  background: rgba(255, 255, 255, 0.02);
}

.page-contact .page-hero-grid,
.page-contact .contact-shell,
.page-contact .resource-grid {
  align-items: stretch;
}

.page-contact .page-hero-copy,
.page-contact .hero-card,
.page-contact .contact-form-copy,
.page-contact .contact-form-card,
.page-contact .resource-card {
  height: 100%;
}

.page-contact .page-hero-copy,
.page-contact .contact-form-copy,
.page-contact .resource-card {
  display: grid;
  align-content: start;
}

.page-contact .hero-card {
  display: grid;
}

.page-contact .hero-card-inner {
  display: grid;
  align-content: start;
  gap: 1rem;
  height: 100%;
  background: rgba(53, 26, 19, 0.96);
  box-shadow: 0 24px 52px rgba(35, 19, 14, 0.2);
}

.page-contact .page-hero {
  padding-top: 0.6rem !important;
}

.page-contact .page-hero-grid {
  gap: 0.65rem !important;
  align-items: start !important;
}

.page-contact .page-hero-copy {
  padding: 1.1rem 1.2rem !important;
  gap: 0.7rem !important;
}

.page-contact .page-hero-copy h1 {
  max-width: 7ch !important;
  font-size: clamp(2.25rem, 4vw, 3.5rem) !important;
  line-height: 0.9 !important;
}

.page-contact .lead {
  max-width: 26rem !important;
  font-size: 0.95rem !important;
  line-height: 1.42 !important;
}

.page-contact .hero-card-inner,
.page-contact .hero-card-inner.contact-quick-panel {
  gap: 0.6rem !important;
  padding: 0.95rem 1rem !important;
}

.page-contact .hero-card h2 {
  margin: 0 !important;
  font-size: clamp(1.15rem, 2vw, 1.55rem) !important;
  line-height: 1.02 !important;
}

.page-contact .contact-response-pill {
  padding: 0.32rem 0.58rem !important;
  font-size: 0.76rem !important;
}

.page-contact .contact-list-stacked {
  gap: 0.45rem !important;
}

.page-contact .contact-list li,
.page-contact .contact-list-stacked li {
  padding: 0.55rem 0.72rem !important;
  font-size: 0.85rem !important;
  line-height: 1.28 !important;
}

.page-contact .contact-form-section {
  padding-top: 0.5rem !important;
}

.page-contact .access-actions {
  gap: 0.7rem !important;
}

.page-contact .access-actions .button {
  padding: 0.8rem 1.15rem !important;
}

.page-contact .contact-shell {
  gap: 0.75rem !important;
}

.page-contact .contact-form-copy,
.page-contact .contact-form-card {
  padding: 1.25rem !important;
}

.page-contact .contact-form-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem) !important;
  line-height: 0.96 !important;
}

.page-contact .contact-assurance-grid {
  gap: 0.65rem !important;
}

.page-contact .contact-assurance-card {
  padding: 0.8rem !important;
}

.page-contact .contact-form-card {
  gap: 0.8rem !important;
}

.page-contact .hero-card-inner p,
.page-contact .hero-card-inner li,
.page-contact .hero-card-inner a {
  color: rgba(248, 234, 215, 0.9);
}

.page-contact .contact-response-pill {
  color: #ffe0c2;
  background: rgba(255, 255, 255, 0.1);
}

.page-contact .contact-form-copy,
.page-contact .contact-form-card,
.page-contact .resource-card {
  border: 1px solid rgba(90, 39, 24, 0.1);
  background: #fff8f0;
  box-shadow: 0 24px 52px rgba(89, 39, 24, 0.1);
}

.page-contact .contact-form-card {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.page-contact .contact-assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.page-contact .contact-assurance-card {
  border: 1px solid rgba(90, 39, 24, 0.1);
  background: #fbefe1;
  box-shadow: 0 18px 36px rgba(89, 39, 24, 0.08);
}

.page-contact .contact-assurance-card strong {
  color: var(--accent-deep);
}

.page-contact .contact-assurance-card span {
  color: rgba(52, 35, 28, 0.82);
}

.page-contact .auth-field span,
.page-contact .auth-note,
.page-contact .student-note,
.page-contact .contact-form-footnote {
  color: rgba(52, 35, 28, 0.76);
}

.page-contact .auth-field input,
.page-contact .auth-field select,
.page-contact .auth-field textarea {
  border: 1px solid rgba(90, 39, 24, 0.14);
  background: #fffdf9;
  color: var(--accent-deep);
}

.page-contact .auth-field input::placeholder,
.page-contact .auth-field textarea::placeholder {
  color: rgba(90, 39, 24, 0.48);
}

.page-contact .resource-grid {
  gap: 1rem;
}

.page-contact .resource-card {
  min-height: 100%;
  padding: 1.7rem;
}

.page-contact .resource-card:first-child,
.page-contact .resource-card:nth-child(3) {
  background: #fff8f0;
}

.page-contact .resource-card:nth-child(2) {
  background: rgba(53, 26, 19, 0.96);
  box-shadow: 0 24px 52px rgba(35, 19, 14, 0.18);
}

.page-contact .resource-card:nth-child(2) .eyebrow,
.page-contact .resource-card:nth-child(2) h3,
.page-contact .resource-card:nth-child(2) p {
  color: #f8ead7;
}

@media (max-width: 980px) {
  .site-shell {
    overflow: visible;
  }

  .topbar {
    justify-content: flex-start;
    gap: 1rem;
    z-index: 40;
  }

  .brand,
  .page-home .brand,
  .page-contact .brand,
  .page-home.page-students .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong {
    display: block;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    min-width: 3.4rem;
    max-width: 3.4rem;
    position: relative;
    z-index: 42;
  }

  .site-nav {
    position: fixed;
    inset: 5.2rem 0.9rem auto;
    display: grid;
    gap: 0.4rem;
    padding: 0.85rem;
    border: 1px solid rgba(255, 191, 86, 0.18);
    border-radius: 26px;
    background: rgba(8, 12, 18, 0.97);
    backdrop-filter: blur(28px);
    box-shadow: var(--shadow);
    z-index: 41;
    max-height: calc(100dvh - 6.4rem);
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
  }

  .site-nav .nav-login,
  .site-nav .nav-cta {
    border-radius: 18px;
  }

  .hero-grid,
  .page-hero-grid,
  .access-strip,
  .contact-shell,
  .contact-form-grid,
  .login-steps,
  .auth-shell,
  .student-intro,
  .video-player-shell,
  .video-gallery-grid,
  .hero-narrative,
  .story-layout,
  .coach-layout,
  .program-grid,
  .submission-sources-grid,
  .resource-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .page-home.page-students.page-auth.page-request-account .auth-shell,
  .page-home.page-students.page-auth.page-request-account .auth-form,
  .page-home.page-students.page-auth.page-request-account .auth-actions {
    grid-template-columns: 1fr;
  }

  .page-home.page-students.page-auth.page-request-account .auth-copy h1 {
    max-width: none;
  }

  .hero {
    min-height: auto;
    padding-top: 1.5rem;
  }

  .page-home .topbar {
    padding: 0.8rem 0.95rem;
    border-radius: 22px;
  }

  .page-home .hero-grid,
  .page-home .story-layout,
  .page-home .coach-layout,
  .page-home .value-stack,
  .page-home .rhythm-strip,
  .page-home .progression-grid,
  .page-home .detail-band,
  .page-home .faq-list,
  .page-home .contact-panel,
  .page-home .schedule-shell {
    grid-template-columns: 1fr;
  }

  .page-home .hero-metrics,
  .page-contact .resource-grid {
    grid-template-columns: 1fr;
  }

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

  .page-home .hero-grid {
    padding: 1.45rem;
    gap: 1rem;
  }

  .page-home .hero-copy,
  .page-home .hero-card-inner {
    padding: 1.35rem;
  }

  .page-home .hero-facts,
  .page-home .program-grid {
    grid-template-columns: 1fr;
  }

  .page-home .lineage-reference,
  .page-home .lineage-reference-media {
    grid-template-columns: 1fr;
  }

  .page-home #system .program-card,
  .page-home #programs .program-card,
  .page-home .section-content .program-card {
    grid-column: auto;
  }

  .page-home .section-heading {
    grid-template-columns: 1fr;
  }

  .page-home .contact-actions {
    justify-content: flex-start;
  }

  .page-home .hero-media {
    inset: 0;
    position: relative;
    min-height: 18rem;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 1rem;
  }

  .page-home .hero-media::after,
  .page-home .hero-grid::before,
  .page-home #system::before,
  .page-home .section-content::before {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    padding: 2rem;
    align-items: start;
  }

  .page-hero-copy {
    padding: 1.7rem;
  }

  .access-strip {
    padding: 1.4rem;
  }

  .student-intro {
    padding: 1.5rem;
  }

  .video-stage-topline {
    flex-direction: column;
    align-items: stretch;
  }

  .video-stage-screen {
    min-height: 24rem;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .section-summary {
    grid-column: 1;
    max-width: 42rem;
  }

  .video-gallery-grid-embed {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .coach-layout::after {
    position: static;
    display: inline-block;
    margin-top: 1rem;
  }

  .video-gallery-controls,
  .video-stage-controls {
    width: 100%;
    justify-content: stretch;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .collection-menu-trigger {
    width: 100%;
    min-width: 0;
  }

  .replay-audience-picker {
    width: 100%;
    min-width: 0;
  }

  .replay-visibility-current {
    width: 100%;
    min-width: 0;
    border-radius: 1rem;
  }

  .replay-visibility-current strong {
    white-space: normal;
  }

  .replay-audience-picker select {
    width: 100%;
  }

  .replay-audience-status {
    width: 100%;
  }

  .collection-menu {
    left: 0;
    right: auto;
    width: 100%;
    min-width: 0;
  }

  .picker-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .picker-order {
    grid-column: 2;
    max-width: 7rem;
  }
}

@media (max-width: 720px) {
  .topbar,
  .hero,
  .section {
    width: min(calc(100% - 1.1rem), var(--max-width));
  }

  .brand-copy span {
    display: none;
  }

  .brand {
    gap: 0.7rem;
  }

  .brand-mark {
    width: 5.5rem;
  }

  .brand-copy strong {
    font-size: 1.22rem;
  }

  .page-home .hero h1,
  .page-contact .page-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 9vw, 4.3rem);
  }

  .page-home .section-heading h2 {
    font-size: clamp(1.5rem, 7vw, 2.1rem);
  }

  .page-home .quote-block blockquote {
    max-width: 12ch;
    font-size: clamp(1.45rem, 7vw, 1.95rem);
  }

  .hero-grid,
  .page-hero-copy,
  .auth-copy,
  .auth-card,
  .student-intro,
  .video-watch-panel,
  .hero-card-inner,
  .story-panel,
  .program-card,
  .resource-card,
  .quote-block,
  .contact-panel,
  .coach-copy,
  .schedule-shell {
    padding: 1.3rem;
  }

  .hero-actions,
  .access-actions,
  .student-intro-actions,
  .resource-actions,
  .contact-actions,
  .hero-card-points,
  .hero-facts,
  .contact-list {
    flex-direction: column;
  }

  .page-home .hero-facts {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .schedule-meta,
  .schedule-row {
    grid-template-columns: 1fr;
  }

  .schedule-meta {
    display: grid;
    margin-bottom: 1rem;
  }

  .schedule-row {
    gap: 0.25rem;
  }

  .schedule-head {
    display: none;
  }

  .coach-media img,
  .coach-media video {
    min-height: 18rem;
  }

  .quote-block blockquote {
    max-width: 13ch;
  }

  .video-stage-screen {
    min-height: 20rem;
    padding: 1rem;
  }

  .video-stage-screen-stream {
    padding: 0;
  }

  .video-stage-screen-stream.is-compact-sf-classic {
    max-width: 100%;
  }

  .video-stage-screen-stream.is-compact-sf-classic .student-video-player {
    min-height: 18rem;
  }

  .student-video-player {
    min-height: 20rem;
  }

  .video-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-gallery-grid-embed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rhythm-strip,
  .progression-grid,
  .detail-band {
    grid-template-columns: 1fr;
  }

  .picker-row {
    grid-template-columns: 1fr;
  }

  .picker-order {
    grid-column: auto;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Mixed card border pass: lighter default outlines with selective header-black side accents. */
.page-home .section-heading,
.page-contact .section-heading,
.page-home .schedule-side-note,
.page-contact .contact-form-footnote {
  border-left-width: 0;
  border-left-color: transparent;
}

.page-home .schedule-side-note,
.page-contact .contact-form-footnote {
  border-radius: 22px;
}

.page-home #system .section-heading,
.page-home .section-content .section-heading {
  border-left-color: transparent;
}

.page-home .positioning-panel,
.page-home .lineage-reference,
.page-home #system .section-heading,
.page-home .section-story .section-heading,
.page-home .section-schedule .section-heading,
.page-home .value-stack .value-card:nth-child(2),
.page-home .section-who .resource-card:nth-child(2),
.page-contact .page-hero-copy,
.page-contact .contact-form-copy,
.page-contact .section-contact-details .section-heading,
.page-contact .resource-grid .resource-card:nth-child(3) {
  position: relative;
}

.page-home .positioning-panel::before,
.page-home .lineage-reference::before,
.page-home #system .section-heading::before,
.page-home .section-story .section-heading::before,
.page-home .section-schedule .section-heading::before,
.page-home .value-stack .value-card:nth-child(2)::before,
.page-home .section-who .resource-card:nth-child(2)::before,
.page-contact .page-hero-copy::before,
.page-contact .contact-form-copy::before,
.page-contact .section-contact-details .section-heading::before,
.page-contact .resource-grid .resource-card:nth-child(3)::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 3px solid rgba(16, 23, 32, 0.82);
  border-radius: inherit;
  background: transparent;
  clip-path: inset(0 calc(100% - 1.55rem) 0 0);
  pointer-events: none;
}

/* Final dark-theme contrast pass: keep reading surfaces dark across the site. */
.page-home .section-heading,
.page-home .positioning-panel,
.page-home .story-panel,
.page-home .value-card,
.page-home .program-card:not(.program-card-cinematic),
.page-home .schedule-shell,
.page-home .quote-block,
.page-home .coach-copy,
.page-home .resource-card,
.page-home .lineage-reference,
.page-home .faq-list details,
.page-home .hero-card-inner,
.page-home .hero-facts li,
.page-home .hero-metric,
.page-home .schedule-row,
.page-home .schedule-side-note,
.page-home .schedule-visual-copy,
.page-home .section-progression .progression-card,
.page-home .detail-band-card:last-child,
.page-contact .page-hero-copy,
.page-contact .contact-form-copy,
.page-contact .contact-form-card,
.page-contact .resource-card,
.page-contact .section-contact-details .section-heading,
.page-contact .contact-list li,
.page-contact .contact-list-stacked li,
.page-contact .contact-form-footnote,
.page-contact .contact-assurance-card {
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-top: 1px solid rgba(232, 216, 191, 0.1);
  background:
    linear-gradient(180deg, var(--header-surface-start), var(--header-surface-end)),
    var(--header-surface-solid);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.22);
  outline: 1px solid rgba(0, 0, 0, 0.18);
}

.page-home .section-heading h2,
.page-home .positioning-panel h2,
.page-home .story-panel h2,
.page-home .value-card h3,
.page-home .program-card h3,
.page-home .schedule-shell strong,
.page-home .quote-block blockquote,
.page-home .coach-copy h2,
.page-home .resource-card h3,
.page-home .lineage-reference-copy h3,
.page-home .faq-list summary,
.page-home .hero-card h2,
.page-home .hero-metric span,
.page-home .detail-band-card:last-child h3,
.page-home .section-progression .progression-card h3,
.page-contact .page-hero-copy h1,
.page-contact .contact-form-copy h2,
.page-contact .resource-card h3,
.page-contact .contact-assurance-card strong {
  color: var(--text);
}

.page-home .section-summary,
.page-home .story-panel p,
.page-home .value-card p,
.page-home .program-card p,
.page-home .resource-card p,
.page-home .quote-copy,
.page-home .schedule-meta p,
.page-home .schedule-side-note span,
.page-home .schedule-visual-copy span,
.page-home .faq-list p,
.page-home .lineage-reference-copy p,
.page-home .hero .lead,
.page-home .hero-metric strong,
.page-home .hero-facts li,
.page-home .detail-band-card:last-child p,
.page-home .section-progression .progression-card p,
.page-contact .lead,
.page-contact .resource-card p,
.page-contact .contact-form-footnote,
.page-contact .contact-assurance-card span,
.page-contact .contact-list li,
.page-contact .contact-list-stacked li {
  color: var(--muted);
}

.page-home .eyebrow,
.page-home .program-tag,
.page-home .schedule-note,
.page-home .value-card span,
.page-home .resource-card .eyebrow,
.page-contact .eyebrow,
.page-contact .resource-card .eyebrow,
.page-contact .contact-response-pill {
  color: var(--accent-strong);
}

.page-home .lineage-reference-link,
.page-home .button-secondary,
.page-contact .button-secondary {
  border-color: rgba(232, 216, 191, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.page-home .button-primary,
.page-contact .button-primary {
  color: #101720;
}

.page-home .hero-grid {
  background:
    linear-gradient(120deg, rgba(16, 23, 32, 0.94) 0%, rgba(12, 18, 27, 0.9) 48%, rgba(8, 12, 18, 0.96) 100%),
    rgba(12, 18, 27, 0.92);
}

.page-home .hero-grid::before {
  display: block;
  background:
    linear-gradient(90deg, rgba(14, 20, 29, 0.72) 0%, rgba(14, 20, 29, 0.34) 40%, rgba(7, 10, 14, 0.18) 68%, rgba(7, 10, 14, 0.34) 100%);
}

.page-home .hero-copy {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.page-home .section-heading,
.page-contact .section-heading {
  border-left: 1px solid rgba(232, 216, 191, 0.1);
}

.page-home #system::before,
.page-home .section-content::before {
  display: block;
  background: linear-gradient(135deg, rgba(16, 23, 32, 0.96), rgba(8, 12, 18, 0.98));
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.24);
}

/* Hard-stop overrides for readability and hero transparency. */
.page-home .hero-grid {
  background: transparent !important;
}

.page-home .hero-media {
  inset: 0 !important;
}

.page-home .hero-media::after {
  background:
    linear-gradient(100deg, rgba(7, 10, 14, 0.64) 6%, rgba(7, 10, 14, 0.16) 34%, rgba(7, 10, 14, 0.3) 62%, rgba(7, 10, 14, 0.62) 100%) !important;
}

.page-home .hero-copy {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.page-home .section-story .section-heading,
.page-home #system .section-heading,
.page-home .lineage-reference,
.page-home #system .program-card:not(.program-card-cinematic),
.page-home .value-card,
.page-home .story-panel,
.page-home .positioning-panel,
.page-home .schedule-shell,
.page-home .quote-block,
.page-home .coach-copy,
.page-home .resource-card,
.page-home .faq-list details,
.page-home .section-progression .progression-card,
.page-home .detail-band-card:last-child,
.page-contact .page-hero-copy,
.page-contact .contact-form-copy,
.page-contact .contact-form-card,
.page-contact .resource-card,
.page-contact .section-contact-details .section-heading {
  background:
    linear-gradient(160deg, rgba(18, 25, 34, 0.97), rgba(12, 18, 27, 0.92)),
    rgba(16, 23, 32, 0.92) !important;
  border: 1px solid rgba(232, 216, 191, 0.1) !important;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.22) !important;
  outline: 0 !important;
}

.page-home .section-story .section-heading h2,
.page-home #system .section-heading h2,
.page-home .lineage-reference-copy h3,
.page-home #system .program-card h3,
.page-home .value-card h3,
.page-home .story-panel h2,
.page-home .positioning-panel h2,
.page-home .schedule-shell strong,
.page-home .quote-block blockquote,
.page-home .coach-copy h2,
.page-home .resource-card h3,
.page-home .faq-list summary,
.page-contact .page-hero-copy h1,
.page-contact .contact-form-copy h2,
.page-contact .resource-card h3 {
  color: var(--text) !important;
}

.page-home .section-story .section-summary,
.page-home #system .section-summary,
.page-home .lineage-reference-copy p,
.page-home #system .program-card p,
.page-home .value-card p,
.page-home .story-panel p,
.page-home .positioning-panel p,
.page-home .resource-card p,
.page-home .schedule-meta p,
.page-home .quote-copy,
.page-home .coach-copy p,
.page-home .faq-list p,
.page-contact .lead,
.page-contact .resource-card p {
  color: var(--muted) !important;
}

.page-home .section-content .section-heading,
.page-home .section-progression .section-heading,
.page-home .section-schedule .section-heading {
  background:
    linear-gradient(180deg, var(--header-surface-start), var(--header-surface-end)),
    var(--header-surface-solid) !important;
  border: 1px solid rgba(232, 216, 191, 0.1) !important;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.22) !important;
}

.page-home .section-content .section-heading .eyebrow,
.page-home .section-progression .section-heading .eyebrow,
.page-home .section-schedule .section-heading .eyebrow {
  color: var(--accent-strong) !important;
}

.page-home .section-content .section-heading h2,
.page-home .section-progression .section-heading h2,
.page-home .section-schedule .section-heading h2 {
  color: var(--text) !important;
}

.page-home .section-content .section-summary,
.page-home .section-progression .section-summary,
.page-home .section-schedule .section-summary {
  color: var(--muted) !important;
}

.page-home #programs .program-card,
.page-home #system .program-card:not(.program-card-cinematic),
.page-home .section-progression .progression-card {
  background:
    linear-gradient(180deg, var(--header-surface-start), var(--header-surface-end)),
    var(--header-surface-solid) !important;
  border: 1px solid rgba(232, 216, 191, 0.1) !important;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.22) !important;
}

.page-home #programs .program-card {
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 194, 142, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(150, 46, 33, 0.96), rgba(101, 27, 23, 0.95)),
    #67211d !important;
  border: 1px solid rgba(255, 186, 136, 0.14) !important;
  box-shadow: 0 24px 52px rgba(73, 20, 18, 0.28) !important;
}

.page-home #programs .program-card .program-tag,
.page-home #system .program-card:not(.program-card-cinematic) .program-tag,
.page-home .section-progression .progression-card span {
  color: var(--accent-strong) !important;
}

.page-home #programs .program-card .program-tag {
  color: rgba(255, 210, 164, 0.92) !important;
}

.page-home #programs .program-card h3,
.page-home #system .program-card:not(.program-card-cinematic) h3,
.page-home .section-progression .progression-card h3 {
  color: var(--text) !important;
}

.page-home #programs .program-card h3,
.page-home #programs .program-card p {
  color: rgba(255, 238, 233, 0.94) !important;
}

.page-home #programs .program-card p,
.page-home #system .program-card:not(.program-card-cinematic) p,
.page-home .section-progression .progression-card p {
  color: var(--muted) !important;
}

.page-home .section-story .section-heading,
.page-home #programs .section-heading {
  margin-bottom: 0.8rem;
}

.page-home .section-story .section-heading h2,
.page-home #programs .section-heading h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem) !important;
  line-height: 1.02;
}

.page-home .section-story .section-summary,
.page-home #programs .section-summary {
  font-size: 0.9rem !important;
  line-height: 1.45;
}

.page-home .section-story .story-layout {
  grid-template-columns: 1fr;
}

.page-home .section-story .story-panel {
  max-width: 52rem;
  padding: 1.2rem;
}

.page-home #programs .program-grid {
  gap: 0.75rem;
}

.page-home #programs .program-card {
  padding: 1rem 1.05rem;
}

.page-home #programs .program-card h3 {
  font-size: 1.08rem !important;
  line-height: 1.08;
}

.page-home #programs .program-card p {
  font-size: 0.9rem !important;
  line-height: 1.45;
}

.page-home .section-compact-summary .section-heading {
  margin-bottom: 0.55rem;
}

.page-home .section-compact-summary .section-heading h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem) !important;
  line-height: 1.02;
}

.page-home .section-compact-summary .section-summary {
  font-size: 0.88rem !important;
  line-height: 1.4;
}

.page-home .compact-summary-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.page-home .compact-summary-bar span {
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 216, 191, 0.1);
  background:
    linear-gradient(180deg, var(--header-surface-start), var(--header-surface-end)),
    var(--header-surface-solid);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  color: var(--text);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-home #system .section-heading {
  margin-bottom: 0.8rem;
  padding: 1rem 1.1rem;
}

.page-home #system .section-heading h2 {
  max-width: 12ch;
  font-size: clamp(1.5rem, 2.3vw, 2.35rem) !important;
  line-height: 0.98;
}

.page-home #system .section-summary {
  max-width: 34rem;
  font-size: 0.98rem !important;
  line-height: 1.5;
}

.page-home .lineage-reference {
  padding: 1rem;
}

.page-home .lineage-reference-copy h3 {
  font-size: 1.12rem !important;
  line-height: 1.15;
}

.page-home .lineage-reference-copy p,
.page-home #system .program-card p {
  font-size: 0.98rem !important;
  line-height: 1.5;
}

.page-home #system .program-card h3 {
  font-size: 1.12rem !important;
  line-height: 1.15;
}

.page-home .section {
  padding: 0.75rem 0 0.35rem;
}

.page-home .section + .section {
  margin-top: 0.15rem;
}

.page-home .section-heading {
  margin-bottom: 0.65rem;
  padding: 0.95rem 1rem;
}

.page-home .story-layout,
.page-home .program-grid,
.page-home .compact-summary-bar {
  gap: 0.45rem;
}

.page-home .program-card,
.page-home .story-panel,
.page-home .lineage-reference,
.page-home .schedule-shell,
.page-home .coach-copy,
.page-home .resource-card {
  padding: 0.9rem;
}

.page-home #programs .program-grid {
  gap: 0.45rem;
}

.page-home #programs .program-card {
  padding: 0.8rem 0.9rem;
}

.page-home .compact-summary-bar {
  margin-top: 0.1rem;
}

.page-home .schedule-shell,
.page-home .schedule-row,
.page-home .schedule-side-note {
  background:
    linear-gradient(180deg, var(--header-surface-start), var(--header-surface-end)),
    var(--header-surface-solid) !important;
  border: 1px solid rgba(232, 216, 191, 0.1) !important;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.22) !important;
}

.page-home .schedule-head {
  background:
    linear-gradient(180deg, rgba(18, 24, 34, 0.96), rgba(12, 17, 25, 0.88)),
    rgba(12, 17, 25, 0.88) !important;
}

.page-home .schedule-row,
.page-home .schedule-row span,
.page-home .schedule-meta p,
.page-home .schedule-side-note span {
  color: var(--muted) !important;
}

.page-home .schedule-head,
.page-home .schedule-head span,
.page-home .schedule-note,
.page-home .schedule-side-note strong {
  color: var(--accent-strong) !important;
}

.page-home .schedule-row:not(.schedule-head) span:first-child,
.page-home .schedule-row:not(.schedule-head) span:nth-child(2) {
  color: var(--text) !important;
}

.page-home .schedule-row:not(.schedule-head) span:last-child {
  color: rgba(244, 239, 230, 0.82) !important;
}

/* Contact-page contrast fix */
.page-contact .hero-card-inner .contact-list li,
.page-contact .hero-card-inner .contact-list-stacked li {
  background:
    linear-gradient(180deg, var(--header-surface-start), var(--header-surface-end)),
    var(--header-surface-solid) !important;
  border: 1px solid rgba(232, 216, 191, 0.1) !important;
  color: var(--text) !important;
}

.page-contact .hero-card-inner .contact-list li strong,
.page-contact .hero-card-inner .contact-list-stacked li strong,
.page-contact .contact-response-pill {
  color: var(--accent-strong) !important;
}

.page-contact .hero-card-inner .contact-list li a,
.page-contact .hero-card-inner .contact-list-stacked li a,
.page-contact .hero-card-inner .contact-list li span,
.page-contact .hero-card-inner .contact-list-stacked li span,
.page-contact .hero-card-inner .contact-list li,
.page-contact .hero-card-inner .contact-list-stacked li {
  color: var(--text) !important;
}

.page-contact .auth-field span,
.page-contact .auth-note,
.page-contact .student-note,
.page-contact .contact-form-footnote {
  color: var(--muted) !important;
}

.page-contact .auth-field input,
.page-contact .auth-field select,
.page-contact .auth-field textarea {
  border: 1px solid rgba(232, 216, 191, 0.14) !important;
  background:
    linear-gradient(180deg, var(--header-surface-start), var(--header-surface-end)),
    var(--header-surface-solid) !important;
  color: var(--text) !important;
}

.page-contact .auth-field input::placeholder,
.page-contact .auth-field textarea::placeholder,
.page-contact .auth-field select {
  color: rgba(244, 239, 230, 0.68) !important;
}

/* Final mobile safety net */
@media (max-width: 980px) {
  .page-home .hero-grid,
  .page-contact .page-hero-grid,
  .page-contact .contact-shell,
  .page-home .story-layout,
  .page-home .coach-layout,
  .page-home .program-grid,
  .page-home .resource-grid,
  .page-home .value-stack,
  .page-home .rhythm-strip,
  .page-home .progression-grid,
  .page-home .detail-band,
  .page-home .faq-list,
  .page-contact .resource-grid,
  .page-contact .contact-form-grid,
  .page-contact .contact-form-grid-wide {
    grid-template-columns: 1fr !important;
  }

  .page-contact .page-hero-grid,
  .page-contact .contact-shell {
    gap: 1rem !important;
  }

  .page-home .hero-card,
  .page-contact .hero-card,
  .page-contact .page-hero-copy,
  .page-contact .contact-form-copy,
  .page-contact .contact-form-card,
  .page-contact .resource-card {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
  }

  .page-contact .hero-card-inner {
    height: auto !important;
  }

  .page-home .hero-media {
    inset: 0 !important;
    position: relative !important;
    min-height: 16rem !important;
    margin-bottom: 1rem !important;
  }

  .page-home .hero-grid::before,
  .page-home .hero-media::after,
  .page-home #system::before,
  .page-home .section-content::before {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .page-contact .page-hero-copy h1 {
    max-width: 100% !important;
    font-size: clamp(2.35rem, 11vw, 3.5rem) !important;
    line-height: 0.92 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  .page-contact .page-hero-copy,
  .page-contact .hero-card-inner,
  .page-contact .contact-form-copy,
  .page-contact .contact-form-card,
  .page-contact .resource-card {
    padding: 1.2rem !important;
  }

  .page-contact .contact-list-stacked li,
  .page-contact .contact-list li {
    padding: 0.9rem 1rem !important;
  }

  .page-contact .access-actions,
  .page-contact .contact-actions,
  .page-contact .resource-actions {
    flex-direction: column !important;
  }

  .page-contact .topbar {
    padding: 0.8rem 0.95rem !important;
    border-radius: 22px !important;
  }

  .page-contact .brand-mark {
    width: 5.5rem !important;
  }

  .page-contact .brand-copy strong {
    font-size: 1.22rem !important;
  }

  .page-contact .brand-copy span {
    display: none !important;
  }
}

/* Dragon-red pass for the site's warm highlight cards. */
.page-home .detail-band-card:first-child,
.page-home .contact-panel,
.page-home .section-who .resource-card:nth-child(2),
.page-home .value-stack .value-card:nth-child(2),
.page-home .coach-layout::after,
.page-contact .hero-card-inner,
.page-contact .hero-card-inner.contact-quick-panel,
.page-contact .resource-card:nth-child(2),
.page-contact .resource-grid .resource-card:nth-child(3),
.page-contact .section-contact-details .section-heading,
.page-contact .contact-response-pill,
.page-contact .contact-assurance-card {
  border-color: rgba(255, 170, 136, 0.14) !important;
  box-shadow: 0 24px 48px rgba(32, 8, 8, 0.22) !important;
}

.page-home .detail-band-card:first-child,
.page-home .contact-panel,
.page-home .section-who .resource-card:nth-child(2),
.page-home .value-stack .value-card:nth-child(2),
.page-contact .hero-card-inner,
.page-contact .resource-card:nth-child(2),
.page-contact .resource-grid .resource-card:nth-child(3),
.page-contact .section-contact-details .section-heading {
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 182, 128, 0.1), transparent 28%),
    linear-gradient(145deg, rgba(146, 44, 31, 0.98), rgba(112, 31, 24, 0.98) 48%, rgba(78, 20, 19, 0.99)),
    #66221d !important;
  color: var(--text) !important;
}

.page-home .contact-panel,
.page-contact .hero-card-inner.contact-quick-panel {
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 190, 138, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(158, 49, 34, 0.98), rgba(121, 35, 25, 0.98) 48%, rgba(84, 23, 20, 0.99)),
    #6f261f !important;
}

.page-home .detail-band-card:first-child .eyebrow,
.page-home .detail-band-card:first-child h3,
.page-home .detail-band-card:first-child p,
.page-home .contact-panel .eyebrow,
.page-home .contact-panel h2,
.page-home .contact-panel p,
.page-home .contact-panel li,
.page-home .contact-panel a,
.page-home .section-who .resource-card:nth-child(2) .eyebrow,
.page-home .section-who .resource-card:nth-child(2) h3,
.page-home .section-who .resource-card:nth-child(2) p,
.page-home .value-stack .value-card:nth-child(2) span,
.page-home .value-stack .value-card:nth-child(2) h3,
.page-home .value-stack .value-card:nth-child(2) p,
.page-contact .hero-card-inner .eyebrow,
.page-contact .hero-card-inner h2,
.page-contact .hero-card-inner li,
.page-contact .hero-card-inner a,
.page-contact .resource-card:nth-child(2) .eyebrow,
.page-contact .resource-card:nth-child(2) h3,
.page-contact .resource-card:nth-child(2) p,
.page-contact .resource-grid .resource-card:nth-child(3) .eyebrow,
.page-contact .resource-grid .resource-card:nth-child(3) h3,
.page-contact .resource-grid .resource-card:nth-child(3) p,
.page-contact .section-contact-details .section-heading .eyebrow,
.page-contact .section-contact-details .section-heading h2,
.page-contact .section-contact-details .section-heading .section-summary {
  color: var(--text) !important;
}

.page-home .contact-panel .button-secondary,
.page-contact .contact-response-pill {
  background: rgba(255, 223, 208, 0.06) !important;
  border-color: rgba(255, 190, 138, 0.14) !important;
  color: rgba(255, 238, 233, 0.94) !important;
}

.page-home .contact-panel .contact-list li {
  border-color: rgba(232, 216, 191, 0.16) !important;
  background:
    linear-gradient(180deg, rgba(18, 25, 34, 0.96), rgba(11, 16, 23, 0.96)),
    #101720 !important;
  color: rgba(248, 241, 229, 0.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.16);
}

.page-home .contact-panel .contact-list strong {
  color: #f0c46f !important;
  font-weight: 800;
}

.page-home .contact-panel .contact-list a {
  color: #ffffff !important;
  font-weight: 800;
}

.page-home .contact-panel .contact-list li.contact-list-link {
  overflow: hidden;
  padding: 0 !important;
}

.page-home .contact-panel .contact-list li.contact-list-link > a {
  display: block;
  padding: 0.72rem 0.9rem;
  border-radius: inherit;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.page-home .contact-panel .contact-list li.contact-list-link > a:hover,
.page-home .contact-panel .contact-list li.contact-list-link > a:focus-visible {
  background: rgba(240, 196, 111, 0.1);
  color: #ffffff !important;
  outline: none;
}

.page-home .coach-layout::after {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 194, 142, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(150, 46, 33, 0.96), rgba(101, 27, 23, 0.95)),
    #67211d !important;
  color: rgba(255, 238, 233, 0.92) !important;
}

.page-contact .contact-assurance-card {
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 186, 136, 0.08), transparent 32%),
    linear-gradient(145deg, rgba(136, 42, 30, 0.96), rgba(95, 25, 21, 0.96)),
    #5e201c !important;
}

.page-contact .contact-assurance-card strong {
  color: rgba(255, 174, 140, 0.9) !important;
}

.page-contact .contact-assurance-card span {
  color: var(--text) !important;
}

.page-home .section-who .resource-card:nth-child(2)::before,
.page-home .value-stack .value-card:nth-child(2)::before,
.page-contact .section-contact-details .section-heading::before,
.page-contact .resource-grid .resource-card:nth-child(3)::before {
  border-color: rgba(255, 190, 138, 0.12) !important;
}

/* Homepage hero-side card transparency pass */
.page-home .hero-card-inner {
  border: 1.5px solid rgba(230, 91, 67, 0.55) !important;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 176, 128, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(11, 16, 23, 0.5), rgba(7, 11, 17, 0.62)),
    rgba(8, 12, 18, 0.42) !important;
  backdrop-filter: blur(10px) saturate(115%) !important;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

/* Sticky header clarity pass */
.topbar,
.page-home .topbar,
.page-contact .topbar,
.page-home.page-students .topbar {
  position: sticky !important;
  top: 0.7rem !important;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

body.page-video-library.video-focus-mode .topbar,
body.page-video-library.video-focus-mode.page-home .topbar,
body.page-video-library.video-focus-mode.page-home.page-students .topbar {
  opacity: 0 !important;
  pointer-events: none;
  transform: translateY(calc(-100% - 1.4rem)) !important;
}

body.page-video-library.video-focus-mode.video-header-peek .topbar,
body.page-video-library.video-focus-mode.nav-open .topbar,
body.page-video-library.video-focus-mode .topbar:focus-within {
  opacity: 1 !important;
  pointer-events: auto;
  transform: translateY(0) !important;
}

.topbar.is-scrolled,
.page-home .topbar.is-scrolled,
.page-contact .topbar.is-scrolled,
.page-home.page-students .topbar.is-scrolled {
  border-color: rgba(232, 216, 191, 0.14) !important;
  background:
    linear-gradient(180deg, rgba(11, 16, 23, 0.985), rgba(7, 11, 17, 0.965)),
    rgba(7, 11, 17, 0.965) !important;
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.34) !important;
  backdrop-filter: blur(28px) saturate(140%);
}

.topbar.is-scrolled .site-nav a,
.topbar.is-scrolled .brand-copy span {
  color: rgba(247, 235, 214, 0.88) !important;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.page-home .site-nav a:hover,
.page-home .site-nav a:focus-visible,
.page-contact .site-nav a:hover,
.page-contact .site-nav a:focus-visible,
.page-home.page-students .site-nav a:hover,
.page-home.page-students .site-nav a:focus-visible,
.topbar.is-scrolled .site-nav a:hover,
.topbar.is-scrolled .site-nav a:focus-visible,
.page-home.page-students .topbar.is-scrolled .site-nav a:hover,
.page-home.page-students .topbar.is-scrolled .site-nav a:focus-visible {
  color: var(--dragon-red-strong) !important;
}

.page-home .topbar.is-scrolled,
.page-contact .topbar.is-scrolled {
  border-color: rgba(232, 216, 191, 0.1) !important;
  background:
    linear-gradient(180deg, rgba(11, 16, 23, 0.34), rgba(7, 11, 17, 0.16)),
    rgba(7, 11, 17, 0.12) !important;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14) !important;
  backdrop-filter: blur(14px) saturate(120%);
}

@media (max-width: 980px) {
  .topbar,
  .page-home .topbar,
  .page-contact .topbar,
  .page-home.page-students .topbar {
    top: 0.45rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-video-library.video-focus-mode .topbar,
  body.page-video-library.video-focus-mode.page-home .topbar,
  body.page-video-library.video-focus-mode.page-home.page-students .topbar {
    transition: none !important;
  }
}

/* Final hero frame outline pass */
.page-home .hero-grid {
  position: relative !important;
  border: 0 !important;
}

.page-home .hero-grid::after {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  border-radius: 42px !important;
  border: 3.5px solid rgba(230, 91, 67, 0.5) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 178, 140, 0.1),
    0 0 0 1px rgba(230, 91, 67, 0.16) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.page-home .hero-card-inner {
  border: 1.75px solid rgba(230, 91, 67, 0.58) !important;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 176, 128, 0.05), transparent 30%),
    linear-gradient(180deg, rgba(11, 16, 23, 0.22), rgba(7, 11, 17, 0.34)),
    rgba(8, 12, 18, 0.12) !important;
  backdrop-filter: blur(6px) saturate(108%) !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

.page-home .hero-copy {
  max-width: 48rem !important;
  align-self: end;
  padding: 1rem 0 0.35rem;
}

.page-home .hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 1rem;
  align-items: stretch;
}

.page-home .hero-actions .button {
  min-width: 16rem;
}

.page-home .hero-metrics {
  width: min(100%, 48rem);
  max-width: 48rem;
}

.page-home .button-hero-classes {
  border-color: rgba(108, 25, 18, 0.92) !important;
  background: linear-gradient(135deg, #521711 0%, #7e241b 52%, #a53226 100%) !important;
  color: #fff2e7 !important;
  box-shadow: 0 18px 34px rgba(45, 12, 9, 0.48) !important;
}

.page-home .button-hero-classes:hover,
.page-home .button-hero-classes:focus-visible {
  background: linear-gradient(135deg, #652019 0%, #913026 52%, #b33c2f 100%) !important;
}

.page-home .hero-grid {
  min-height: auto !important;
  padding: 2.35rem 2.6rem 1.6rem !important;
  gap: 1.2rem !important;
  align-items: end;
}

.page-home .hero-copy {
  padding-bottom: 0 !important;
}

.page-home .hero {
  min-height: auto !important;
  padding: 2.8rem 0 0.85rem !important;
  margin-bottom: 0 !important;
}

.page-home .hero + .section {
  padding-top: 0.5rem !important;
}

.page-home.page-students .zoom-callout-card {
  border-color: rgba(45, 140, 255, 0.42) !important;
  background:
    radial-gradient(circle at 88% 14%, rgba(123, 196, 255, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(15, 39, 76, 0.96), rgba(10, 22, 44, 0.96)),
    rgba(12, 18, 27, 0.94) !important;
  box-shadow:
    0 22px 50px rgba(10, 34, 72, 0.34),
    inset 0 1px 0 rgba(173, 219, 255, 0.08),
    0 0 0 1px rgba(45, 140, 255, 0.12) !important;
}

.page-home.page-students .zoom-callout-card .program-tag {
  color: #8fc5ff !important;
}

.page-home.page-students .zoom-callout-card h3 {
  color: #f5fbff !important;
}

.page-home.page-students .zoom-callout-card p,
.page-home.page-students .zoom-callout-card strong {
  color: rgba(232, 244, 255, 0.9) !important;
}

.page-home.page-students .zoom-callout-card .zoom-callout-schedule,
.page-home.page-students article.resource-card.zoom-callout-card .zoom-callout-schedule,
.page-home.page-students .zoom-callout-card .zoom-callout-schedule strong,
.page-home.page-students article.resource-card.zoom-callout-card .zoom-callout-schedule strong {
  color: var(--accent-strong) !important;
}

.page-home.page-students .zoom-callout-button {
  background:
    linear-gradient(135deg, #2d8cff, #0b5cff) !important;
  border-color: rgba(143, 202, 255, 0.34) !important;
  color: #f7fbff !important;
  box-shadow: 0 16px 34px rgba(11, 92, 255, 0.28) !important;
}

.page-home.page-students .zoom-callout-button:hover,
.page-home.page-students .zoom-callout-button:focus-visible {
  background:
    linear-gradient(135deg, #47a0ff, #1d6eff) !important;
}

.page-home.page-students article.resource-card.zoom-callout-card {
  border: 1px solid rgba(110, 182, 255, 0.5) !important;
  background:
    radial-gradient(circle at 86% 12%, rgba(170, 219, 255, 0.34), transparent 30%),
    linear-gradient(145deg, rgba(36, 92, 217, 0.98), rgba(11, 64, 189, 0.98)) !important;
  box-shadow:
    0 24px 54px rgba(9, 52, 156, 0.34),
    inset 0 1px 0 rgba(220, 241, 255, 0.18),
    0 0 0 1px rgba(111, 181, 255, 0.18) !important;
}

.page-home.page-students article.resource-card.zoom-callout-card .program-tag {
  color: #d8efff !important;
}

.page-home.page-students article.resource-card.zoom-callout-card h3,
.page-home.page-students article.resource-card.zoom-callout-card p,
.page-home.page-students article.resource-card.zoom-callout-card strong {
  color: #f7fbff !important;
}

.page-home.page-students .zoom-callout-button.button.button-primary {
  background: #ffffff !important;
  border-color: rgba(226, 241, 255, 0.72) !important;
  color: #0b5cff !important;
  box-shadow: 0 16px 34px rgba(10, 55, 168, 0.24) !important;
}

.page-home.page-students .zoom-callout-button.button.button-primary:hover,
.page-home.page-students .zoom-callout-button.button.button-primary:focus-visible {
  background: linear-gradient(135deg, #4ea2ff 0%, #0b5cff 100%) !important;
  border-color: rgba(171, 220, 255, 0.96) !important;
  color: #ffffff !important;
  box-shadow:
    0 18px 36px rgba(10, 76, 255, 0.34),
    0 0 0 1px rgba(133, 198, 255, 0.22) !important;
  transform: translateY(-2px) scale(1.01);
}

.button-compact {
  min-width: 0;
  padding: 0.75rem 1rem;
}

.access-admin-layout {
  display: grid;
  gap: 1rem;
}

.access-admin-panel {
  padding: 1.35rem;
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.92), rgba(10, 14, 20, 0.96)),
    rgba(16, 23, 32, 0.9);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.18);
}

.page-home.page-students.page-access-admin .access-admin-panel {
  padding: 0.92rem;
  border-radius: 18px;
}

.access-admin-heading {
  padding-top: 0;
  margin-bottom: 1rem;
  border-top: 0;
}

.page-home.page-students.page-access-admin .access-admin-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 0.45rem 0.85rem;
  margin-bottom: 0.62rem;
}

.page-home.page-students.page-access-admin .access-admin-heading h2 {
  margin: 0.08rem 0 0;
  font-size: clamp(1.05rem, 1.2vw, 1.38rem);
  line-height: 1.08;
}

.page-home.page-students.page-access-admin .access-admin-heading .section-summary {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.32;
}

.access-admin-subheading {
  margin-top: 2rem;
}

.access-admin-form {
  display: grid;
  gap: 1rem;
}

.access-admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.access-account-list {
  display: grid;
  gap: 1rem;
}

.access-account-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.page-home.page-students.page-access-admin .access-account-directory {
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 0.48rem;
}

.access-account-directory-link {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(232, 216, 191, 0.09);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(15, 21, 31, 0.72), rgba(10, 15, 22, 0.88)),
    rgba(12, 18, 27, 0.82);
  color: inherit;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
  background 180ms ease;
}

.page-home.page-students.page-access-admin .access-account-directory-link {
  gap: 0.3rem;
  min-height: 0;
  padding: 0.58rem 0.64rem;
  border-radius: 14px;
}

.access-account-directory-link:hover,
.access-account-directory-link:focus-visible {
  border-color: rgba(255, 191, 86, 0.48);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.access-account-directory-link.is-active {
  border-color: rgba(255, 191, 86, 0.68);
  background:
    linear-gradient(180deg, rgba(28, 22, 12, 0.86), rgba(15, 12, 8, 0.94)),
    rgba(24, 18, 10, 0.9);
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 191, 86, 0.12);
}

.access-account-directory-card.is-highlighted {
  border-color: rgba(255, 191, 86, 0.72);
  background:
    linear-gradient(180deg, rgba(34, 26, 12, 0.72), rgba(14, 18, 25, 0.92)),
    rgba(18, 20, 25, 0.9);
  box-shadow:
    0 0 0 1px rgba(255, 191, 86, 0.22),
    0 18px 34px rgba(0, 0, 0, 0.22);
}

.access-account-directory-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.access-account-directory-head strong {
  font-size: 1rem;
  line-height: 1.2;
}

.page-home.page-students.page-access-admin .access-account-directory-head strong {
  font-size: 0.88rem;
}

.access-account-directory-head span {
  color: rgba(255, 191, 86, 0.92);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home.page-students.page-access-admin .access-account-directory-head span {
  font-size: 0.64rem;
  letter-spacing: 0.11em;
}

.access-account-directory-link p {
  margin: 0;
  color: rgba(244, 239, 230, 0.76);
}

.page-home.page-students.page-access-admin .access-account-directory-link p {
  font-size: 0.78rem;
  line-height: 1.22;
}

.access-account-directory-actions,
.access-account-directory-note {
  margin-top: 1rem;
}

.access-admin-panel.is-loading {
  opacity: 0.72;
  transition: opacity 140ms ease;
}

.access-account-list#account-detail {
  margin-top: 1rem;
}

.access-account-card {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(232, 216, 191, 0.09);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(15, 21, 31, 0.82), rgba(10, 15, 22, 0.92)),
    rgba(12, 18, 27, 0.88);
}

.access-account-card.is-highlighted-account {
  scroll-margin-top: 1rem;
  border-color: rgba(255, 191, 86, 0.62);
  box-shadow:
    0 0 0 1px rgba(255, 191, 86, 0.18),
    0 20px 45px rgba(0, 0, 0, 0.28);
}

.page-home.page-students.page-access-admin .access-account-card {
  gap: 0.7rem;
  padding: 0.78rem;
  border-radius: 16px;
}

.access-account-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.access-account-header h3 {
  margin: 0 0 0.35rem;
}

.access-account-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
}

.access-account-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(232, 216, 191, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(244, 239, 230, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-account-meta .access-payment-mini-pill,
.access-payment-mini-pill {
  border-color: rgba(134, 157, 184, 0.34);
  background: rgba(134, 157, 184, 0.12);
  color: #d9e4f2;
}

.access-account-meta .access-payment-mini-pill.is-paid,
.access-payment-mini-pill.is-paid {
  border-color: rgba(108, 190, 137, 0.5);
  background: rgba(108, 190, 137, 0.14);
  color: #dff7e6;
}

.access-account-meta .access-payment-mini-pill.is-unpaid,
.access-payment-mini-pill.is-unpaid {
  border-color: rgba(221, 112, 112, 0.52);
  background: rgba(221, 112, 112, 0.13);
  color: #ffe1e1;
}

.access-account-meta .access-payment-mini-pill.is-partial,
.access-payment-mini-pill.is-partial {
  border-color: rgba(95, 157, 229, 0.52);
  background: rgba(95, 157, 229, 0.13);
  color: #dbeafe;
}

.access-account-meta .access-payment-mini-pill.is-unset,
.access-payment-mini-pill.is-unset {
  border-color: rgba(214, 158, 46, 0.42);
  background: rgba(214, 158, 46, 0.1);
  color: #ffe8bd;
}

.access-account-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.page-home.page-students.page-access-admin .access-account-times {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.42rem;
}

.access-account-times p {
  margin: 0;
  color: rgba(244, 239, 230, 0.8);
}

.page-home.page-students.page-access-admin .access-account-times p {
  padding: 0.48rem 0.55rem;
  border: 1px solid rgba(232, 216, 191, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.78rem;
  line-height: 1.25;
}

.access-account-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 0.9rem;
  align-items: end;
}

.access-account-actions-account {
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  align-items: start;
}

.access-account-actions-account .access-inline-form {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.7rem;
  align-items: stretch;
  padding: 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(12, 18, 27, 0.82), rgba(8, 12, 18, 0.9)),
    rgba(8, 12, 18, 0.82);
}

.page-home.page-students.page-access-admin .access-account-actions-account {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.55rem;
}

.page-home.page-students.page-access-admin .access-account-actions-account .access-inline-form {
  gap: 0.45rem;
  padding: 0.62rem;
  border-radius: 14px;
}

.page-home.page-students.page-access-admin .access-account-actions-account .auth-field {
  gap: 0.2rem;
}

.page-home.page-students.page-access-admin .access-account-actions-account .auth-field span {
  font-size: 0.68rem;
  letter-spacing: 0.11em;
}

.page-home.page-students.page-access-admin .access-account-actions-account .auth-field input,
.page-home.page-students.page-access-admin .access-account-actions-account .auth-field select,
.page-home.page-students.page-access-admin .access-account-actions-account .auth-field textarea {
  min-height: 2.32rem;
  padding: 0.48rem 0.62rem;
  border-radius: 11px;
  font-size: 0.84rem;
}

.access-account-actions-account .access-inline-form .button {
  justify-self: start;
}

.access-account-actions-account .access-inline-form-status {
  justify-self: stretch;
}

.access-account-actions-account .access-inline-feedback {
  margin-top: 0;
}

.access-account-actions-account .access-inline-form-danger {
  border-color: rgba(221, 112, 112, 0.24);
  background:
    linear-gradient(180deg, rgba(42, 16, 18, 0.72), rgba(26, 10, 12, 0.86)),
    rgba(26, 10, 12, 0.82);
}

.access-account-actions-edit {
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  align-items: stretch;
}

.access-account-actions-edit .access-inline-form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  min-height: 12rem;
}

.page-home.page-students.page-access-admin .access-account-actions-edit .access-inline-form {
  min-height: 8rem;
}

.access-account-actions-edit .access-inline-form .button {
  margin-top: auto;
}

.access-inline-form-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.access-inline-form-status-note {
  margin: 0;
  color: rgba(244, 239, 230, 0.76);
  line-height: 1.45;
}

.access-inline-form-field-placeholder {
  display: block;
  min-height: 3.15rem;
  border: 1px solid rgba(232, 216, 191, 0.14);
  border-radius: 18px;
  background: rgba(8, 12, 18, 0.42);
}

.access-inline-danger-note {
  margin: 0;
  color: rgba(255, 223, 223, 0.84);
}

.button-danger-soft {
  border-color: rgba(221, 112, 112, 0.42);
  background: rgba(221, 112, 112, 0.14);
  color: #ffe3e3;
}

.button-danger-soft:hover,
.button-danger-soft:focus-visible {
  border-color: rgba(239, 138, 138, 0.78);
  background: rgba(221, 112, 112, 0.24);
  color: #fff1f1;
}

.access-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
}

.access-inline-form .auth-field {
  margin: 0;
}

.access-inline-form-status {
  justify-self: end;
}

.access-audit-table-wrap {
  overflow-x: auto;
}

.access-audit-table {
  width: 100%;
  min-width: 52rem;
  border-collapse: collapse;
}

.access-audit-table th,
.access-audit-table td {
  padding: 0.9rem 0.85rem;
  border-bottom: 1px solid rgba(232, 216, 191, 0.08);
  text-align: left;
  vertical-align: top;
}

.access-audit-table th {
  color: rgba(255, 191, 86, 0.92);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.access-audit-table td {
  color: rgba(244, 239, 230, 0.84);
  font-size: 0.94rem;
  line-height: 1.45;
}

.access-audit-archive-row td {
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: center;
}

.access-audit-archive-link {
  color: rgba(255, 191, 86, 0.92);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.access-audit-archive-link:hover,
.access-audit-archive-link:focus-visible {
  color: #fff3d0;
}

.access-audit-pagination {
  justify-content: space-between;
}

.access-audit-page-row th {
  padding-top: 0.55rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(232, 216, 191, 0.08);
}

.access-audit-page-cell {
  text-align: right !important;
}

.access-audit-page-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.access-audit-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.2rem;
  color: rgba(244, 239, 230, 0.82);
  transition: color 160ms ease;
}

.access-audit-page-link {
  background: transparent;
}

.access-audit-page-link:hover,
.access-audit-page-link:focus-visible {
  color: #fff3d0;
}

.access-audit-page-link.is-active {
  color: #fff3d0;
  font-weight: 700;
}

.access-audit-page-jump {
  color: rgba(255, 191, 86, 0.88);
  letter-spacing: 0.14em;
}

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

.metric-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.88), rgba(10, 14, 20, 0.96)),
    rgba(16, 23, 32, 0.9);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.14);
}

.metric-card h3 {
  margin: 0.2rem 0 0.35rem;
  font-size: 2.1rem;
  line-height: 1;
}

.metric-card p:last-child {
  margin: 0;
  color: rgba(244, 239, 230, 0.76);
}

.payment-overview-panel {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(232, 216, 191, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.9), rgba(10, 14, 20, 0.97)),
    rgba(16, 23, 32, 0.92);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.14);
}

.payment-overview-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.payment-overview-head > div:first-child {
  display: grid;
  gap: 0.35rem;
}

.payment-overview-head h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.15rem, 1.7vw, 1.65rem);
  line-height: 1.08;
}

.payment-overview-head p:last-child {
  margin: 0;
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.92rem;
  line-height: 1.35;
}

.payment-overview-balance {
  display: grid;
  gap: 0.22rem;
  justify-items: end;
  min-width: 9rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 191, 86, 0.18);
  border-radius: 16px;
  background: rgba(255, 191, 86, 0.06);
}

.payment-overview-balance span,
.payment-overview-totals span,
.payment-overview-count span {
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payment-overview-balance strong {
  font-size: 1.45rem;
  line-height: 1;
}

.payment-overview-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.payment-overview-kpi {
  display: grid;
  gap: 0.24rem;
  min-height: 100%;
  padding: 0.88rem 0.95rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.payment-overview-kpi span {
  color: rgba(244, 239, 230, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.payment-overview-kpi strong {
  font-size: 1.55rem;
  line-height: 1;
}

.payment-overview-kpi em {
  color: rgba(244, 239, 230, 0.72);
  font-style: normal;
  line-height: 1.25;
}

.payment-overview-kpi.is-balance {
  border-color: rgba(255, 191, 86, 0.28);
}

.payment-overview-kpi.is-rate {
  border-color: rgba(108, 190, 137, 0.26);
}

.payment-overview-kpi.is-critical {
  border-color: rgba(221, 112, 112, 0.3);
}

.payment-overview-kpi.is-exempt {
  border-color: rgba(125, 156, 226, 0.28);
}

.payment-overview-strip {
  display: flex;
  min-height: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.payment-overview-segment {
  min-width: 0.5rem;
}

.payment-overview-segment.is-paid,
.payment-overview-count.is-paid {
  background: rgba(108, 190, 137, 0.74);
}

.payment-overview-segment.is-partial,
.payment-overview-count.is-partial {
  background: rgba(255, 191, 86, 0.82);
}

.payment-overview-segment.is-three-month,
.payment-overview-count.is-three-month {
  background: rgba(93, 213, 204, 0.76);
}

.payment-overview-segment.is-unpaid,
.payment-overview-count.is-unpaid {
  background: rgba(221, 112, 112, 0.76);
}

.payment-overview-segment.is-waived,
.payment-overview-count.is-waived {
  background: rgba(125, 156, 226, 0.7);
}

.payment-overview-segment.is-unset,
.payment-overview-count.is-unset {
  background: rgba(244, 239, 230, 0.18);
}

.payment-overview-counts,
.payment-overview-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.65rem;
}

.payment-overview-count,
.payment-overview-totals > div {
  display: grid;
  gap: 0.28rem;
  min-height: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 16px;
}

.payment-overview-count {
  background: rgba(255, 255, 255, 0.04);
}

.payment-overview-count strong,
.payment-overview-totals strong {
  font-size: 1.3rem;
  line-height: 1;
}

.payment-overview-count.is-paid,
.payment-overview-count.is-partial,
.payment-overview-count.is-three-month,
.payment-overview-count.is-unpaid,
.payment-overview-count.is-waived {
  color: #070b11;
}

.payment-overview-count.is-paid span,
.payment-overview-count.is-partial span,
.payment-overview-count.is-three-month span,
.payment-overview-count.is-unpaid span,
.payment-overview-count.is-waived span {
  color: rgba(7, 11, 17, 0.72);
}

.payment-overview-risk-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.payment-overview-risk-legend span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.32rem 0.58rem;
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-radius: 999px;
  color: rgba(244, 239, 230, 0.82);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.payment-overview-student-map {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.4rem, 1fr));
  gap: 0.55rem;
  max-height: 22rem;
  overflow: auto;
  padding: 0.65rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 18px;
  background: rgba(5, 8, 13, 0.38);
}

.payment-overview-student-map > p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(244, 239, 230, 0.7);
}

.payment-overview-student-tile {
  position: relative;
  display: grid;
  gap: 0.28rem;
  min-height: 5.9rem;
  overflow: hidden;
  padding: 0.7rem;
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-radius: 14px;
  background: rgba(10, 14, 20, 0.82);
  color: inherit;
  text-decoration: none;
}

.payment-overview-student-tile:hover,
.payment-overview-student-tile:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.payment-overview-student-tile span,
.payment-overview-student-tile strong,
.payment-overview-student-tile em {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-overview-student-tile span {
  color: #fff7e8;
  font-weight: 800;
}

.payment-overview-student-tile strong {
  font-size: 0.86rem;
}

.payment-overview-student-tile em {
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.78rem;
  font-style: normal;
}

.payment-overview-student-tile i {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  height: 0.28rem;
  min-width: 0.28rem;
  background: currentColor;
  opacity: 0.9;
}

.payment-overview-roster-wrap {
  max-height: 28rem;
  overflow: auto;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 18px;
  background: rgba(5, 8, 13, 0.35);
}

.payment-overview-roster {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.payment-overview-roster th,
.payment-overview-roster td {
  padding: 0.62rem 0.72rem;
  border-bottom: 1px solid rgba(232, 216, 191, 0.07);
  text-align: left;
  vertical-align: middle;
}

.payment-overview-roster th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(10, 14, 20, 0.98);
  color: rgba(255, 191, 86, 0.9);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.payment-overview-roster td {
  color: rgba(244, 239, 230, 0.78);
}

.payment-overview-roster td:first-child a {
  color: #fff7e8;
  font-weight: 800;
  text-decoration: none;
}

.payment-overview-roster td:nth-child(2) span {
  display: inline-flex;
  min-width: 5.6rem;
  justify-content: center;
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.payment-overview-roster td small {
  display: block;
  margin-top: 0.14rem;
  color: rgba(244, 239, 230, 0.52);
  font-size: 0.78rem;
  line-height: 1.2;
}

.payment-overview-roster tr:last-child td {
  border-bottom: 0;
}

.payment-overview-roster tr.is-good,
.payment-overview-student-tile.is-good,
.payment-overview-risk-legend .is-good {
  border-color: rgba(108, 190, 137, 0.34);
  color: #8fdaa8;
}

.payment-overview-roster tr.is-partial,
.payment-overview-student-tile.is-partial,
.payment-overview-risk-legend .is-partial {
  border-color: rgba(255, 191, 86, 0.4);
  color: #ffc45f;
}

.payment-overview-roster tr.is-three-month,
.payment-overview-student-tile.is-three-month,
.payment-overview-risk-legend .is-three-month {
  border-color: rgba(93, 213, 204, 0.42);
  color: #82e4df;
}

.payment-overview-roster tr.is-exempt,
.payment-overview-student-tile.is-exempt,
.payment-overview-risk-legend .is-exempt {
  border-color: rgba(125, 156, 226, 0.38);
  color: #a9c0ff;
}

.payment-overview-roster tr.is-warning,
.payment-overview-student-tile.is-warning,
.payment-overview-risk-legend .is-warning {
  border-color: rgba(255, 191, 86, 0.5);
  color: #ffd06e;
}

.payment-overview-roster tr.is-danger,
.payment-overview-student-tile.is-danger,
.payment-overview-risk-legend .is-danger {
  border-color: rgba(235, 132, 96, 0.58);
  color: #ff9e78;
}

.payment-overview-roster tr.is-severe,
.payment-overview-student-tile.is-severe,
.payment-overview-risk-legend .is-severe {
  border-color: rgba(242, 91, 91, 0.7);
  color: #ff8585;
}

.payment-overview-roster tr.is-missing,
.payment-overview-student-tile.is-missing,
.payment-overview-risk-legend .is-missing {
  border-color: rgba(244, 239, 230, 0.18);
  color: rgba(244, 239, 230, 0.68);
}

.payment-overview-roster tr.is-warning td,
.payment-overview-roster tr.is-danger td,
.payment-overview-roster tr.is-severe td,
.payment-overview-roster tr.is-missing td {
  background: rgba(255, 255, 255, 0.025);
}

.payment-overview-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.payment-overview-list {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 0.85rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.payment-overview-list h3 {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payment-overview-list p {
  margin: 0;
  color: rgba(244, 239, 230, 0.7);
}

.payment-overview-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.62rem 0.7rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 14px;
  background: rgba(5, 8, 13, 0.42);
  color: inherit;
  text-decoration: none;
}

.payment-overview-row:hover,
.payment-overview-row:focus-visible {
  border-color: rgba(255, 191, 86, 0.24);
  background: rgba(255, 191, 86, 0.08);
}

.payment-overview-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-overview-row strong,
.payment-overview-row em {
  font-style: normal;
  white-space: nowrap;
}

.payment-overview-row em {
  color: rgba(244, 239, 230, 0.68);
}

.monthly-rsvp-panel {
  gap: 1rem;
}

.monthly-rsvp-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
}

.monthly-rsvp-month-form {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.monthly-rsvp-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 0.75rem;
}

.monthly-rsvp-metric {
  display: grid;
  gap: 0.35rem;
  min-height: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.78), rgba(10, 14, 20, 0.9)),
    rgba(16, 23, 32, 0.88);
}

.monthly-rsvp-metric span {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.monthly-rsvp-metric strong {
  font-size: 1.7rem;
  line-height: 1;
}

.monthly-rsvp-metric.is-attending {
  border-color: rgba(108, 190, 137, 0.34);
}

.monthly-rsvp-metric.is-not-attending {
  border-color: rgba(221, 112, 112, 0.34);
}

.monthly-rsvp-metric.is-no-rsvp {
  border-color: rgba(214, 158, 46, 0.34);
}

.monthly-rsvp-table-wrap {
  overflow-x: auto;
}

.monthly-rsvp-table {
  width: 100%;
  min-width: 58rem;
  border-collapse: collapse;
}

.monthly-rsvp-table th,
.monthly-rsvp-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(232, 216, 191, 0.08);
  text-align: left;
  vertical-align: top;
}

.monthly-rsvp-table th {
  color: rgba(255, 191, 86, 0.92);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.monthly-rsvp-table td {
  color: rgba(244, 239, 230, 0.84);
  font-size: 0.9rem;
  line-height: 1.45;
}

.monthly-rsvp-user {
  display: grid;
  gap: 0.2rem;
}

.monthly-rsvp-user strong {
  line-height: 1.2;
}

.monthly-rsvp-user span,
.monthly-rsvp-latest-meta {
  display: block;
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.8rem;
}

.monthly-rsvp-date-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem 0.5rem;
  align-items: baseline;
  max-width: 26rem;
  line-height: 1.35;
}

.monthly-rsvp-date-count {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(244, 239, 230, 0.66);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: inherit;
  text-transform: none;
  white-space: nowrap;
}

.monthly-rsvp-date-chip {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(244, 239, 230, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: inherit;
  white-space: nowrap;
}

.monthly-rsvp-date-chip.is-attending {
  color: #b8efc8;
}

.monthly-rsvp-date-chip.is-not-attending {
  color: #ffc3c3;
}

.monthly-rsvp-empty {
  color: rgba(244, 239, 230, 0.48);
  font-weight: 700;
}

.monthly-rsvp-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(232, 216, 191, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 239, 230, 0.86);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.monthly-rsvp-status-pill.is-attending {
  border-color: rgba(108, 190, 137, 0.52);
  background: rgba(108, 190, 137, 0.12);
  color: #dff7e6;
}

.monthly-rsvp-status-pill.is-not_attending {
  border-color: rgba(221, 112, 112, 0.56);
  background: rgba(221, 112, 112, 0.12);
  color: #ffe1e1;
}

.monthly-rsvp-status-pill.is-no_rsvp {
  border-color: rgba(214, 158, 46, 0.56);
  background: rgba(214, 158, 46, 0.12);
  color: #ffe8bd;
}

.monthly-rsvp-row.is-attending td:first-child {
  box-shadow: inset 3px 0 0 rgba(108, 190, 137, 0.48);
}

.monthly-rsvp-row.is-not_attending td:first-child {
  box-shadow: inset 3px 0 0 rgba(221, 112, 112, 0.52);
}

.monthly-rsvp-row.is-no_rsvp td:first-child {
  box-shadow: inset 3px 0 0 rgba(214, 158, 46, 0.52);
}

.video-compliance-panel {
  gap: 1rem;
}

.video-compliance-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.video-compliance-metric {
  display: grid;
  gap: 0.35rem;
  min-height: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.78), rgba(10, 14, 20, 0.9)),
    rgba(16, 23, 32, 0.88);
}

.video-compliance-metric span {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.video-compliance-metric strong {
  font-size: 1.7rem;
  line-height: 1;
}

.video-compliance-metric.is-on-track {
  border-color: rgba(108, 190, 137, 0.34);
}

.video-compliance-metric.is-needs-attention {
  border-color: rgba(214, 158, 46, 0.34);
}

.video-compliance-metric.is-at-risk {
  border-color: rgba(221, 112, 112, 0.34);
}

.video-compliance-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.9rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid rgba(232, 216, 191, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 239, 230, 0.86);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.video-compliance-status-pill.is-on_track {
  border-color: rgba(108, 190, 137, 0.52);
  background: rgba(108, 190, 137, 0.12);
  color: #dff7e6;
}

.video-compliance-status-pill.is-needs_attention {
  border-color: rgba(214, 158, 46, 0.56);
  background: rgba(214, 158, 46, 0.12);
  color: #ffe8bd;
}

.video-compliance-status-pill.is-at_risk {
  border-color: rgba(221, 112, 112, 0.56);
  background: rgba(221, 112, 112, 0.12);
  color: #ffe1e1;
}

.video-compliance-status-pill.is-inactive {
  border-color: rgba(134, 157, 184, 0.5);
  background: rgba(134, 157, 184, 0.14);
  color: #d9e4f2;
}

.video-compliance-table-wrap {
  overflow-x: auto;
}

.video-compliance-table {
  width: 100%;
  min-width: 62rem;
  border-collapse: collapse;
}

.video-compliance-table th,
.video-compliance-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(232, 216, 191, 0.08);
  text-align: left;
  vertical-align: top;
}

.video-compliance-table th {
  color: rgba(255, 191, 86, 0.92);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.video-compliance-table td {
  color: rgba(244, 239, 230, 0.84);
  font-size: 0.9rem;
  line-height: 1.45;
}

.video-compliance-student {
  display: grid;
  gap: 0.2rem;
}

.video-compliance-student strong {
  line-height: 1.2;
}

.video-compliance-student span {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.8rem;
}

.video-compliance-row.is-on_track td:first-child {
  box-shadow: inset 3px 0 0 rgba(108, 190, 137, 0.48);
}

.video-compliance-row.is-needs_attention td:first-child {
  box-shadow: inset 3px 0 0 rgba(214, 158, 46, 0.52);
}

.video-compliance-row.is-at_risk td:first-child {
  box-shadow: inset 3px 0 0 rgba(221, 112, 112, 0.52);
}

.video-compliance-row.is-inactive td:first-child {
  box-shadow: inset 3px 0 0 rgba(134, 157, 184, 0.52);
}

.access-request-notes {
  margin: 0;
  color: rgba(244, 239, 230, 0.82);
}

.access-legal-consent-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.85rem;
  padding: 0.85rem;
  border: 1px solid rgba(111, 211, 159, 0.18);
  border-radius: 12px;
  background: rgba(33, 84, 53, 0.12);
}

.access-legal-consent-summary p {
  margin: 0;
  color: rgba(244, 239, 230, 0.78);
  font-size: 0.94rem;
  line-height: 1.35;
}

.access-legal-consent-summary p:first-child {
  grid-column: 1 / -1;
}

.access-request-hint {
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
}

.access-account-list-completed {
  opacity: 0.92;
}

.access-request-archive-pagination {
  justify-content: space-between;
}

.student-admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.student-admin-summary p {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(244, 239, 230, 0.82);
}

.page-home.page-students.page-access-admin .student-admin-summary {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.page-home.page-students.page-access-admin .student-admin-summary p {
  padding: 0.52rem 0.6rem;
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.24;
}

.student-payment-summary-item span {
  display: block;
  margin-top: 0.12rem;
  color: rgba(244, 239, 230, 0.68);
}

.student-payment-summary-item.is-paid {
  border-color: rgba(108, 190, 137, 0.32);
  background: rgba(108, 190, 137, 0.08);
}

.student-payment-summary-item.is-unpaid {
  border-color: rgba(221, 112, 112, 0.34);
  background: rgba(221, 112, 112, 0.08);
}

.student-payment-summary-item.is-partial {
  border-color: rgba(95, 157, 229, 0.34);
  background: rgba(95, 157, 229, 0.08);
}

.student-payment-summary-item.is-unset {
  border-color: rgba(214, 158, 46, 0.32);
  background: rgba(214, 158, 46, 0.07);
}

.attendance-roster-panel {
  gap: 1rem;
}

.attendance-roster-heading {
  margin-bottom: 1rem;
}

.attendance-roster-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.attendance-roster-date-form {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.attendance-roster-date-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.attendance-roster-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
}

.attendance-roster-metric {
  display: grid;
  gap: 0.35rem;
  min-height: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.78), rgba(10, 14, 20, 0.9)),
    rgba(16, 23, 32, 0.88);
}

.attendance-roster-metric span {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.attendance-roster-metric strong {
  font-size: 1.7rem;
  line-height: 1;
}

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

.attendance-roster-batch-form {
  position: sticky;
  top: 0.6rem;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.78rem 0.92rem;
  border: 1px solid rgba(214, 158, 46, 0.35);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(23, 27, 30, 0.96), rgba(12, 15, 18, 0.96)),
    rgba(18, 22, 26, 0.95);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.attendance-roster-batch-form > div:not(.attendance-roster-batch-fields) {
  display: grid;
  gap: 0.12rem;
}

.attendance-roster-batch-form strong {
  color: var(--paper);
  font-size: 1rem;
  line-height: 1;
}

.attendance-roster-batch-form span {
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.92rem;
}

.attendance-roster-batch-fields {
  display: none;
}

.attendance-roster-card {
  display: grid;
  gap: 0.62rem;
  padding: 1rem 1rem 0.82rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(12, 18, 27, 0.84), rgba(8, 12, 18, 0.92)),
    rgba(8, 12, 18, 0.88);
}

.attendance-roster-card.is-dirty {
  border-color: rgba(255, 191, 86, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 191, 86, 0.14);
}

.attendance-roster-card.is-present {
  border-color: rgba(108, 190, 137, 0.34);
}

.attendance-roster-card.is-excused {
  border-color: rgba(95, 157, 229, 0.34);
}

.attendance-roster-card.is-absent {
  border-color: rgba(221, 112, 112, 0.34);
}

.attendance-roster-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}

.attendance-roster-card-head h3 {
  margin: 0 0 0.35rem;
}

.attendance-roster-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(232, 216, 191, 0.12);
  border-radius: 999px;
  color: rgba(244, 239, 230, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.attendance-roster-status.is-present {
  border-color: rgba(108, 190, 137, 0.38);
  color: #b8f2c4;
  background: rgba(108, 190, 137, 0.08);
}

.attendance-roster-status.is-excused {
  border-color: rgba(95, 157, 229, 0.4);
  color: #c9defb;
  background: rgba(95, 157, 229, 0.1);
}

.attendance-roster-status.is-absent {
  border-color: rgba(221, 112, 112, 0.4);
  color: #ffcaca;
  background: rgba(221, 112, 112, 0.1);
}

.attendance-roster-note {
  margin: 0;
  color: rgba(244, 239, 230, 0.74);
  font-size: 0.95rem;
  line-height: 1.5;
}

.attendance-roster-note-detail {
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.attendance-roster-form {
  display: grid;
  gap: 0.42rem;
}

.attendance-roster-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.attendance-roster-choice {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(214, 158, 46, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(250, 241, 230, 0.85);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.attendance-roster-choice input {
  margin: 0;
  accent-color: #d69e2e;
}

.attendance-roster-choice span {
  line-height: 1;
}

.attendance-roster-choice.is-current {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.attendance-roster-choice.is-present.is-current {
  border-color: rgba(108, 190, 137, 0.66);
  background: rgba(108, 190, 137, 0.16);
  color: #dff7e6;
}

.attendance-roster-choice.is-excused.is-current {
  border-color: rgba(95, 157, 229, 0.7);
  background: rgba(95, 157, 229, 0.2);
  color: #e1efff;
}

.attendance-roster-choice.is-absent.is-current {
  border-color: rgba(221, 112, 112, 0.72);
  background: rgba(221, 112, 112, 0.16);
  color: #ffe3e3;
}

.attendance-roster-form-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
}

.attendance-roster-save,
.attendance-roster-profile-link {
  flex: 0 0 auto;
  min-height: 2rem;
  min-width: 0;
  padding: 0.38rem 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  line-height: 1;
}

.attendance-roster-links {
  margin-top: -2.42rem;
  margin-left: 5.4rem;
  margin-bottom: -0.25rem;
  width: fit-content;
  max-width: calc(100% - 5.4rem);
  align-self: start;
}

.attendance-roster-links .button.button-compact {
  min-height: 2rem;
  min-width: 0;
  padding: 0.38rem 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  line-height: 1;
}

.student-admin-actions {
  margin-top: 1rem;
}

.student-management-form {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0.8rem !important;
}

.student-payment-form {
  border-color: rgba(214, 158, 46, 0.16) !important;
}

.student-payment-form.is-paid {
  border-color: rgba(108, 190, 137, 0.28) !important;
}

.student-payment-form.is-unpaid {
  border-color: rgba(221, 112, 112, 0.28) !important;
}

.student-payment-form.is-partial {
  border-color: rgba(95, 157, 229, 0.28) !important;
}

.student-payment-head {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: start;
}

.student-payment-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.student-payment-head h4 {
  margin: 0.12rem 0 0;
  font-size: 1rem;
  line-height: 1.1;
}

.student-payment-grid {
  gap: 0.45rem;
}

.student-monthly-balance-note {
  display: grid;
  gap: 0.15rem;
  align-content: center;
  margin: 0;
  padding: 0.58rem 0.68rem;
  border: 1px solid rgba(95, 157, 229, 0.2);
  border-radius: 12px;
  background: rgba(95, 157, 229, 0.08);
  color: rgba(244, 239, 230, 0.78);
  font-size: 0.78rem;
  line-height: 1.25;
}

.student-monthly-balance-note strong {
  color: #dbeafe;
}

.student-monthly-balance-note span {
  color: rgba(244, 239, 230, 0.64);
}

.student-payment-ledger-entry {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.student-payment-ledger-history {
  align-content: start;
}

.student-payment-ledger-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.student-payment-ledger-totals p {
  display: grid;
  gap: 0.18rem;
  margin: 0;
  padding: 0.58rem 0.65rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(244, 239, 230, 0.8);
  font-size: 0.78rem;
}

.student-payment-ledger-totals strong {
  color: rgba(244, 239, 230, 0.62);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.student-payment-ledger-list {
  display: grid;
  gap: 0.45rem;
}

.student-payment-ledger-row {
  display: grid;
  grid-template-columns: minmax(110px, 1.3fr) minmax(72px, 0.7fr) minmax(72px, 0.8fr) minmax(92px, 1fr);
  gap: 0.45rem;
  align-items: start;
  padding: 0.58rem 0.65rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.student-payment-ledger-row strong,
.student-payment-ledger-row p {
  margin: 0;
  color: rgba(244, 239, 230, 0.84);
  font-size: 0.78rem;
  line-height: 1.25;
}

.student-payment-ledger-row span {
  display: block;
  margin-top: 0.12rem;
  color: rgba(244, 239, 230, 0.62);
  font-size: 0.72rem;
}

.student-payment-ledger-note {
  grid-column: 1 / -1;
  color: rgba(244, 239, 230, 0.68) !important;
}

.student-payment-meta {
  margin: 0;
  color: rgba(244, 239, 230, 0.66);
  font-size: 0.78rem;
  line-height: 1.28;
}

.student-management-grid {
  width: 100%;
}

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

.student-admin-history-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.student-dashboard-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.student-admin-history h4,
.student-summary-card h3,
.student-admin-entry h5 {
  margin: 0 0 0.45rem;
}

.student-admin-entry-list {
  display: grid;
  gap: 0.85rem;
}

.student-admin-entry {
  padding: 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(12, 18, 27, 0.82), rgba(8, 12, 18, 0.9)),
    rgba(8, 12, 18, 0.82);
}

.student-admin-entry p:last-child {
  margin-bottom: 0;
}

.student-admin-video-guidance {
  margin: 0 0 0.75rem;
  display: grid;
  gap: 0.55rem;
  color: rgba(244, 239, 230, 0.82);
  line-height: 1.45;
}

.student-admin-video-totals {
  margin: 0 0 0.85rem;
  color: rgba(244, 239, 230, 0.8);
}

.student-admin-entry-video h5 {
  margin-bottom: 0.5rem;
}

.student-admin-video-entry-metrics {
  margin: 0;
  color: rgba(244, 239, 230, 0.8);
}

.student-portal-metrics {
  margin-bottom: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.student-portal-metrics .metric-card {
  min-height: 0;
  padding: 1rem 1.05rem;
}

.student-portal-metrics .program-tag {
  font-size: 0.76rem;
  letter-spacing: 0.28em;
}

.student-portal-metrics .metric-card h3 {
  margin: 0.18rem 0 0.45rem;
  font-size: clamp(1.45rem, 1.6vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.student-portal-metrics .metric-card p:last-child {
  font-size: 0.94rem;
  line-height: 1.45;
}

.portal-analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.portal-analytics-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.88), rgba(10, 14, 20, 0.96)),
    rgba(16, 23, 32, 0.9);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.14);
}

.portal-analytics-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  gap: 0.8rem 1rem;
  align-items: end;
  margin-bottom: 0.85rem;
}

.portal-analytics-head h3 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.15rem, 1.4vw, 1.55rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.portal-analytics-summary {
  margin: 0;
  color: rgba(244, 239, 230, 0.74);
  font-size: 0.92rem;
  line-height: 1.5;
}

.portal-chart-shell {
  position: relative;
  min-height: 240px;
  padding-top: 0.25rem;
}

.portal-chart-shell-compact {
  min-height: 220px;
}

.portal-chart-shell canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.portal-chart-notes {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.portal-chart-notes span {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.88rem;
  line-height: 1.45;
}

.page-home.page-students #my-progress > .section-heading {
  align-items: end;
  gap: 0.55rem 1.4rem;
  margin-bottom: 0.9rem;
}

.page-home.page-students #my-progress > .section-heading h2 {
  font-size: clamp(1rem, 1.5vw, 1.45rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em;
  max-width: none !important;
}

.page-home.page-students #my-progress > .section-heading .section-summary {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  max-width: 38rem;
}

.student-portal-layout,
.student-dashboard-columns {
  margin-top: 1rem;
}

.student-dashboard-columns {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}

.student-panel-heading {
  margin-bottom: 1rem;
}

.student-panel-heading .eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.28em;
}

.page-home.page-students .student-panel-heading h2 {
  font-size: clamp(0.98rem, 1.3vw, 1.3rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.02em;
  max-width: none !important;
}

.page-home.page-students .student-panel-heading .section-summary {
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
}

.student-summary-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.student-summary-card {
  grid-column: span 6;
  padding: 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(12, 18, 27, 0.82), rgba(8, 12, 18, 0.9)),
    rgba(8, 12, 18, 0.82);
}

.student-summary-card-wide {
  grid-column: 1 / -1;
}

.student-summary-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(244, 239, 230, 0.82);
}

.student-summary-card h3 {
  font-size: 1rem;
  line-height: 1.2;
}

.user-analysis-note-list {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
}

.user-analysis-note-list li {
  color: rgba(244, 239, 230, 0.84);
  line-height: 1.45;
}

.student-training-plan-compact {
  display: grid;
  gap: 0.75rem;
}

.student-training-plan-compact-head,
.student-training-plan-compact-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
}

.student-training-plan-compact-head h2 {
  margin-bottom: 0;
}

.student-training-plan-compact-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(3.7rem, auto));
  gap: 0.45rem;
  align-items: stretch;
}

.student-training-plan-compact-stats p {
  display: grid;
  gap: 0.12rem;
  margin: 0;
  padding: 0.46rem 0.58rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.student-training-plan-compact-stats strong {
  color: #fff7e4;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.35rem;
  line-height: 0.95;
}

.student-training-plan-compact-stats span {
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.student-training-plan-compact-body {
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.34fr);
  padding-top: 0.7rem;
  border-top: 1px solid rgba(232, 216, 191, 0.08);
}

.student-training-plan-compact-copy {
  display: grid;
  gap: 0.38rem;
}

.student-training-plan-compact-copy p {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.65rem;
  margin: 0;
  color: rgba(244, 239, 230, 0.78);
  font-size: 0.9rem;
  line-height: 1.34;
}

.student-training-plan-compact-copy strong {
  color: #ffc55e;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.student-training-plan-next-mini {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
  padding: 0.65rem 0.72rem;
  border: 1px solid rgba(255, 191, 86, 0.16);
  border-radius: 14px;
  background: rgba(255, 191, 86, 0.045);
}

.student-training-plan-next-mini .program-tag {
  margin: 0;
}

.student-training-plan-next-mini strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.15;
}

.student-training-plan-signal-grid,
.student-training-plan-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
}

.student-training-plan-signal {
  display: grid;
  gap: 0.24rem;
  min-height: 6.5rem;
  padding: 0.75rem 0.82rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(18, 27, 38, 0.88), rgba(10, 15, 22, 0.94)),
    rgba(255, 255, 255, 0.025);
}

.student-training-plan-signal .program-tag {
  margin: 0;
}

.student-training-plan-signal strong {
  display: block;
  color: #fff7e4;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.52rem);
  line-height: 1.02;
}

.student-training-plan-signal span {
  color: rgba(244, 239, 230, 0.66);
  font-size: 0.78rem;
  line-height: 1.28;
}

.student-training-plan-route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.student-training-plan-route {
  display: grid;
  gap: 0.35rem;
  min-height: 7.25rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(16, 23, 33, 0.9), rgba(9, 14, 20, 0.96)),
    rgba(255, 255, 255, 0.026);
  color: inherit;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.student-training-plan-route.is-primary {
  border-color: rgba(255, 191, 86, 0.28);
  background:
    linear-gradient(180deg, rgba(45, 34, 18, 0.82), rgba(13, 18, 26, 0.96)),
    rgba(255, 191, 86, 0.06);
}

.student-training-plan-route:hover,
.student-training-plan-route:focus-visible {
  border-color: rgba(255, 191, 86, 0.46);
  outline: none;
  transform: translateY(-1px);
}

.student-training-plan-route span {
  color: #ffc55e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.student-training-plan-route strong {
  color: #fff7e4;
  font-size: 1rem;
  line-height: 1.12;
}

.student-training-plan-route em {
  color: rgba(244, 239, 230, 0.66);
  font-size: 0.8rem;
  font-style: normal;
  line-height: 1.3;
}

.student-training-plan-compact-progress {
  display: grid;
  grid-template-columns: auto minmax(8rem, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.student-training-plan-compact-progress span {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.student-training-plan-compact-progress div {
  overflow: hidden;
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.student-training-plan-compact-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 191, 86, 0.96), rgba(255, 232, 176, 0.92));
}

@media (max-width: 820px) {
  .student-training-plan-compact-head,
  .student-training-plan-compact-body,
  .student-training-plan-compact-progress {
    grid-template-columns: 1fr;
  }

  .student-training-plan-compact-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .student-training-plan-signal-grid,
  .student-training-plan-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-training-plan-compact-copy p {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }
}

@media (max-width: 560px) {
  .student-training-plan-signal-grid,
  .student-training-plan-route-grid {
    grid-template-columns: 1fr;
  }
}

.student-training-plan-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.student-training-plan-metric {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(16, 24, 34, 0.88), rgba(9, 14, 20, 0.96)),
    rgba(9, 14, 20, 0.88);
}

.student-training-plan-metric h3,
.student-training-plan-video h4,
.student-training-plan-column-head h3 {
  margin: 0.2rem 0 0.3rem;
}

.student-training-plan-metric p {
  margin: 0;
  color: rgba(244, 239, 230, 0.74);
}

.student-training-plan-metric h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1;
}

.student-training-plan-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.student-training-plan-segment {
  appearance: none;
  border: 1px solid rgba(232, 216, 191, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(244, 239, 230, 0.78);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0.85rem 1.15rem;
  text-transform: uppercase;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.student-training-plan-segment:hover,
.student-training-plan-segment:focus-visible {
  border-color: rgba(255, 191, 86, 0.36);
  color: rgba(255, 248, 236, 0.94);
  outline: none;
  transform: translateY(-1px);
}

.student-training-plan-segment.is-active {
  background: linear-gradient(135deg, rgba(255, 191, 86, 0.2), rgba(255, 145, 77, 0.12));
  border-color: rgba(255, 191, 86, 0.42);
  color: #fff2d8;
}

.student-training-plan-panels {
  margin-top: 1rem;
}

.student-training-plan-panel {
  display: grid;
  gap: 0.9rem;
}

.student-training-plan-list {
  display: block;
}

.student-training-plan-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.student-training-plan-column {
  display: grid;
  gap: 0.8rem;
}

.student-training-plan-column-head {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.student-training-plan-column-head p,
.student-training-plan-empty,
.student-training-plan-video p {
  margin: 0;
  color: rgba(244, 239, 230, 0.76);
  line-height: 1.5;
}

.student-training-plan-empty {
  padding: 1rem;
  border: 1px dashed rgba(232, 216, 191, 0.16);
  border-radius: 20px;
}

.student-training-plan-video {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(15, 22, 31, 0.9), rgba(8, 12, 18, 0.96)),
    rgba(8, 12, 18, 0.9);
}

.student-training-plan-video.is-review {
  border-color: rgba(255, 191, 86, 0.2);
}

.student-training-plan-video.is-completed {
  border-color: rgba(78, 208, 180, 0.18);
}

.student-training-plan-video.is-replay {
  border-color: rgba(143, 197, 255, 0.22);
}

.student-training-plan-meta {
  font-size: 0.9rem;
}

.student-training-plan-video .button {
  justify-self: start;
}

.student-training-plan-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.student-training-plan-counter {
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.student-training-plan-controls .button[disabled] {
  cursor: default;
  opacity: 0.45;
}

.student-progress-meter {
  margin-top: 1rem;
}

.student-progress-meter p {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  color: rgba(244, 239, 230, 0.76);
}

.student-progress-meter-bar {
  overflow: hidden;
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.student-progress-meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 191, 86, 0.96), rgba(255, 232, 176, 0.92));
}

.student-qa-panel {
  gap: 0.95rem;
  scroll-margin-top: 6.75rem;
}

.student-qa-current {
  margin: 0 0 0.2rem;
  color: rgba(244, 223, 171, 0.92);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.student-qa-form {
  gap: 0.95rem;
}

.student-qa-form .resource-actions {
  justify-content: flex-start;
}

.student-admin-entry h3 {
  font-size: 1.02rem;
  line-height: 1.25;
}

.student-admin-entry p {
  font-size: 0.96rem;
  line-height: 1.55;
}

.student-portal-main {
  width: min(calc(100% - 0.7rem), 140rem);
  margin: 0 auto 5rem;
}

.access-admin-main {
  width: min(calc(100% - 0.7rem), 138rem);
  margin: 0 auto 5rem;
}

.my-questions-main {
  width: min(calc(100% - 0.7rem), 140rem);
  margin: 0 auto 5rem;
}

.page-home.page-students .topbar {
  width: min(calc(100% - 0.7rem), 140rem) !important;
}

.page-home.page-students.page-access-admin .section {
  width: 100%;
  max-width: none;
}

.page-home.page-students.page-my-questions .section {
  width: 100%;
  max-width: none;
}

.page-home.page-students.page-my-questions .my-questions-hero-card .portal-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}

.page-home.page-students.page-my-questions .my-questions-hero-card .student-intro-actions {
  margin-top: auto;
  padding-top: 0.35rem;
}

.page-home.page-students.page-access-admin .student-intro-copy h1 {
  max-width: 18ch !important;
}

.page-home.page-students.page-access-admin .student-intro-copy .lead {
  max-width: 52rem;
}

.page-home.page-students.page-access-admin .topbar,
.page-home.page-students.page-access-admin .section {
  width: min(calc(100% - 0.85rem), 138rem);
  max-width: none;
}

.page-home.page-students.page-access-admin .section {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.page-home.page-students.page-access-admin .student-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 2.1fr);
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 0.78rem 0.9rem;
  border-radius: 18px;
}

.page-home.page-students.page-access-admin .student-intro-copy {
  gap: 0.22rem;
}

.page-home.page-students.page-access-admin .student-intro-copy h1 {
  margin: 0;
  max-width: none !important;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
}

.page-home.page-students.page-access-admin .student-intro-copy .lead,
.page-home.page-students.page-access-admin .student-note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.32;
}

.page-home.page-students.page-access-admin .student-intro-actions {
  align-self: start;
  justify-content: flex-start;
  gap: 0.42rem;
  margin-top: 0;
}

.page-home.page-students.page-access-admin .student-intro-actions .button {
  min-height: 2.18rem;
  padding: 0.46rem 0.72rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.page-home.page-students.page-access-admin .metrics-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.page-home.page-students.page-access-admin .metric-card {
  min-height: 0;
  padding: 0.72rem 0.8rem;
  border-radius: 16px;
}

.page-home.page-students.page-access-admin .metric-card h3 {
  margin: 0.1rem 0 0.16rem;
  font-size: 1.55rem;
}

.page-home.page-students.page-access-admin .metric-card p:last-child {
  font-size: 0.78rem;
  line-height: 1.22;
}

.page-home.page-students.page-access-admin .metric-card-payment.is-paid {
  border-color: rgba(108, 190, 137, 0.32);
}

.page-home.page-students.page-access-admin .metric-card-payment.is-follow-up {
  border-color: rgba(221, 112, 112, 0.3);
}

.page-home.page-students.page-access-admin .access-admin-layout {
  grid-template-columns: minmax(0, 1fr);
}

.page-home.page-students.page-access-admin .access-admin-layout > .access-admin-panel:first-child .access-admin-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-toolbar,
.portal-sidebar,
.portal-tabbar,
.portal-hero-card,
.portal-utility-card,
.portal-center-column > .section {
  border: 1px solid rgba(232, 216, 191, 0.1);
  background:
    linear-gradient(160deg, rgba(18, 25, 34, 0.96), rgba(12, 18, 27, 0.9)),
    rgba(16, 23, 32, 0.9);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.portal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.35rem 2.2rem;
  margin: 1.75rem 0 1.35rem;
  padding: 1.45rem 1.7rem;
  border-radius: 26px;
}

.portal-toolbar-copy h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  line-height: 1.02;
}

.portal-toolbar-copy .lead {
  max-width: 42rem;
  margin-top: 0.5rem;
}

.portal-toolbar-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.portal-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.58rem 0.82rem;
  border: 1px solid rgba(255, 191, 86, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portal-workspace {
  display: grid;
  grid-template-columns: minmax(240px, 17rem) minmax(0, 1fr) minmax(300px, 24rem);
  gap: 1.45rem;
  align-items: start;
}

.portal-workspace.portal-workspace-single {
  grid-template-columns: minmax(0, 1fr);
}

.portal-sidebar,
.portal-utility-rail {
  position: sticky;
  top: 6.5rem;
}

.portal-sidebar {
  display: grid;
  gap: 1rem;
  padding: 1.28rem;
  border-radius: 28px;
}

.portal-sidebar-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(232, 216, 191, 0.08);
}

.portal-avatar {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 191, 86, 0.24), rgba(98, 141, 188, 0.34));
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.portal-sidebar-profile h2,
.portal-utility-card h2,
.portal-hero-summary h3 {
  margin: 0.18rem 0 0;
  font-size: 1.08rem;
  line-height: 1.15;
}

.portal-sidebar-profile p:last-child {
  margin: 0.25rem 0 0;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.9rem;
}

.portal-nav {
  display: grid;
  gap: 0.35rem;
}

.portal-nav a {
  display: block;
  padding: 0.72rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.portal-nav a:hover,
.portal-nav a:focus-visible {
  border-color: rgba(255, 191, 86, 0.16);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}

.portal-sidebar-meta {
  display: grid;
  gap: 0.7rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(232, 216, 191, 0.08);
}

.portal-sidebar-meta p {
  margin: 0;
  color: rgba(244, 239, 230, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.portal-center-column {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.student-portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1rem;
  align-items: start;
}

.student-portal-layout > .access-admin-panel:first-child {
  grid-column: 1 / -1;
}

.portal-hero-card {
  overflow: hidden;
  border-radius: 36px;
}

.portal-hero-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(340px, 0.72fr);
  gap: 1.4rem;
  padding: 1.85rem;
  background:
    linear-gradient(120deg, rgba(25, 64, 120, 0.84), rgba(15, 36, 68, 0.82)),
    radial-gradient(circle at top right, rgba(255, 191, 86, 0.16), transparent 34%);
}

.portal-hero-copy h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.portal-hero-copy {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.portal-hero-copy .lead {
  max-width: 54rem;
  margin: 0;
}

.portal-hero-rail {
  display: flex;
  align-self: stretch;
  min-height: 100%;
}

.portal-hero-summary {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(9, 13, 18, 0.28);
  backdrop-filter: blur(10px);
}

.portal-hero-summary.has-corner-badge {
  padding-top: 1.25rem;
}

.portal-hero-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.portal-hero-summary-intro {
  min-width: 0;
  flex: 1 1 auto;
}

.portal-hero-corner-badge {
  flex: 0 0 auto;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.6rem;
  min-height: 2.15rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  color: #f7fbff;
  background: linear-gradient(120deg, rgba(56, 118, 186, 0.96), rgba(32, 71, 126, 0.95));
  box-shadow:
    0 14px 26px rgba(5, 12, 24, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateZ(0);
}

.portal-hero-summary.has-corner-badge .program-tag {
  margin-bottom: 0.42rem;
}

.portal-hero-summary.has-corner-badge h3 {
  margin-top: 0;
}

@media (max-width: 720px) {
  .portal-hero-summary-head {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .portal-hero-summary-head .portal-hero-corner-badge {
    margin-left: auto;
  }

}

.portal-hero-corner-badge.is-beginner {
  border-color: rgba(255, 205, 120, 0.7);
  color: #fff5e2;
  background: linear-gradient(120deg, rgba(179, 113, 30, 0.96), rgba(112, 67, 16, 0.95));
}

.portal-hero-corner-badge.is-intermediate {
  border-color: rgba(137, 201, 255, 0.68);
  color: #e7f6ff;
  background: linear-gradient(120deg, rgba(39, 112, 178, 0.97), rgba(24, 68, 126, 0.95));
}

.portal-hero-corner-badge.is-advanced {
  border-color: rgba(255, 168, 136, 0.72);
  color: #fff0e6;
  background: linear-gradient(120deg, rgba(160, 69, 46, 0.97), rgba(104, 40, 27, 0.95));
}

.portal-hero-corner-badge.is-instructor {
  border-color: rgba(162, 239, 215, 0.74);
  color: #ecfff9;
  background: linear-gradient(120deg, rgba(30, 132, 106, 0.97), rgba(19, 88, 71, 0.95));
}

.portal-hero-summary p {
  margin: 0.35rem 0 0;
  color: rgba(244, 239, 230, 0.84);
}

.portal-hero-progress {
  overflow: hidden;
  height: 0.82rem;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.portal-hero-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 191, 86, 0.96), rgba(255, 232, 176, 0.92));
}

.portal-hero-progress-label {
  margin-top: 0.55rem;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-hero-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.9rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-hero-detail-list p {
  display: grid;
  gap: 0.12rem;
  margin: 0;
}

.portal-hero-detail-list span {
  color: rgba(244, 239, 230, 0.62);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portal-hero-detail-list strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
}

.portal-hero-zoom-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  margin-top: auto;
  padding: 0.95rem 1rem;
  border: 2px solid rgba(110, 182, 255, 0.44);
  border-radius: 20px;
  background:
    radial-gradient(circle at 86% 14%, rgba(123, 196, 255, 0.18), transparent 30%),
    linear-gradient(160deg, rgba(15, 39, 76, 0.94), rgba(10, 22, 44, 0.94));
  box-shadow:
    0 18px 36px rgba(10, 34, 72, 0.18),
    inset 0 1px 0 rgba(173, 219, 255, 0.08);
}

.portal-hero-zoom-inline .program-tag {
  color: #8fc5ff;
}

.portal-hero-zoom-copy {
  margin: 0.18rem 0 0;
  color: rgba(232, 244, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.4;
}

.portal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
}

.portal-hero-notes {
  display: grid;
  gap: 0.7rem;
}

.portal-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  padding: 1rem 1.08rem;
  border-radius: 22px;
}

.portal-tabbar a {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 191, 86, 0.34);
  border-radius: 14px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  background: rgba(214, 159, 63, 0.08);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.portal-tabbar a:hover,
.portal-tabbar a:focus-visible {
  border-color: rgba(255, 191, 86, 0.92);
  background: rgba(214, 159, 63, 0.28);
  color: #fff6e3;
  box-shadow:
    inset 0 1px 0 rgba(255, 233, 191, 0.12),
    0 16px 30px rgba(109, 61, 8, 0.22),
    0 0 0 1px rgba(255, 191, 86, 0.1);
  transform: translateY(-1px);
}

.portal-center-column > .section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.12rem 1.08rem 1.08rem;
  border-radius: 24px;
}

.portal-center-column > .section .section-heading {
  padding-top: 0;
  border-top: 0;
}

.portal-center-column > .section + .section {
  margin-top: 0;
}

.portal-utility-rail {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.page-home.page-students .portal-utility-rail .zoom-callout-card {
  order: -3;
}

.portal-utility-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.3rem;
  border-radius: 26px;
}

.portal-utility-card p {
  margin: 0;
}

.portal-detail-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.portal-detail-list li {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(232, 216, 191, 0.08);
}

.portal-detail-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.portal-detail-list span {
  color: rgba(244, 239, 230, 0.64);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portal-detail-list strong {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
}

.portal-utility-highlight {
  padding: 0.7rem 0.8rem;
  border-radius: 16px;
  background: rgba(255, 191, 86, 0.12);
  color: rgba(255, 232, 176, 0.96);
}

.portal-quick-links {
  display: grid;
  gap: 0.65rem;
}

.portal-quick-links .button {
  justify-content: center;
}

.page-home.page-students .topbar.is-scrolled {
  border-color: rgba(232, 216, 191, 0.04) !important;
  background:
    linear-gradient(180deg, rgba(11, 16, 23, 0.18), rgba(7, 11, 17, 0.08)),
    rgba(7, 11, 17, 0.06) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px) saturate(115%);
}

.page-home.page-students .topbar.is-scrolled .brand-copy span,
.page-home.page-students .topbar.is-scrolled .site-nav a {
  color: rgba(244, 239, 230, 0.84) !important;
}

@media (max-width: 1240px) {
  .page-home.page-students.page-access-admin .metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home.page-students.page-access-admin .access-admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .student-portal-main {
    width: min(calc(100% - 0.85rem), 138rem);
  }

  .access-admin-main {
    width: min(calc(100% - 0.85rem), 138rem);
  }

  .my-questions-main {
    width: min(calc(100% - 0.85rem), 138rem);
  }

  .page-home.page-students .topbar {
    width: min(calc(100% - 0.85rem), 138rem) !important;
  }

  .portal-toolbar,
  .portal-workspace,
  .portal-hero-banner {
    grid-template-columns: minmax(0, 1fr);
  }

  .portal-toolbar {
    align-items: start;
  }

  .portal-toolbar-pills {
    justify-content: flex-start;
  }

  .portal-sidebar,
  .portal-utility-rail {
    position: static;
  }

  .portal-workspace {
    display: flex;
    flex-direction: column;
  }

  .portal-sidebar {
    order: -2;
  }

  .portal-utility-rail {
    order: -1;
  }

  .portal-center-column {
    order: 0;
  }

  .portal-utility-rail .zoom-callout-card {
    order: -2;
  }

  .portal-utility-rail .portal-utility-card:first-child {
    order: -1;
  }

  .student-portal-layout,
  .student-portal-metrics,
  .portal-analytics-grid,
  .portal-analytics-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home.page-students .student-resource-grid,
  .page-home.page-students .student-resource-grid.student-resource-grid-single {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home.page-students .resource-link-list li {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .portal-hero-detail-list,
  .portal-hero-zoom-inline {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home.page-students .portal-hero-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home.page-students.page-video-library .student-portal-main,
  .page-home.page-students.page-video-library .topbar {
    width: min(calc(100% - 0.85rem), 110rem) !important;
  }

  .page-home.page-students.page-video-library .video-library-hero {
    padding: 1.45rem 1.35rem;
  }

  .page-home.page-students.page-video-library .video-library-hero-copy h1 {
    max-width: none;
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  .page-home.page-students.page-video-library .video-library-tabbar {
    gap: 0.55rem;
  }

  .page-home.page-students.page-curriculum .curriculum-structure-embed {
    padding: 0.55rem;
  }

  .page-home.page-students.page-curriculum .curriculum-structure-pages canvas {
    border-radius: 12px;
  }

  .metrics-grid,
  .monthly-rsvp-toolbar,
  .attendance-roster-toolbar,
  .access-account-directory,
  .access-admin-form-grid,
  .access-account-times,
  .access-account-actions,
  .access-inline-form,
  .student-admin-summary,
  .student-admin-history-grid,
  .student-training-plan-metrics,
  .student-training-plan-columns,
  .student-summary-grid,
  .student-dashboard-columns,
  .student-payment-ledger-totals,
  .student-payment-ledger-row,
  .payment-overview-kpis,
  .payment-overview-lists,
  .video-feedback-filter-grid,
  .video-feedback-admin-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .payment-overview-head {
    display: grid;
  }

  .payment-overview-balance {
    justify-items: start;
  }

  .payment-overview-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .payment-overview-student-map {
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    max-height: 18rem;
  }

  .student-summary-card {
    grid-column: 1 / -1;
  }

  .student-training-plan-controls {
    flex-wrap: wrap;
  }

  .student-training-plan-controls .button {
    flex: 1 1 10rem;
  }

  .student-training-plan-counter {
    flex: 1 1 100%;
    text-align: center;
  }

  .portal-sidebar {
    order: -1;
  }

  .access-inline-form-status {
    justify-self: stretch;
  }

  .attendance-roster-card-head {
    flex-direction: column;
  }

  .attendance-roster-actions {
    gap: 0.4rem;
  }

  .attendance-roster-choice {
    font-size: 0.74rem;
    padding: 0.34rem 0.55rem;
  }

  .access-account-directory-head {
    flex-direction: column;
    align-items: start;
  }

  .access-account-header {
    flex-direction: column;
  }

  .access-account-actions-edit .access-inline-form {
    min-height: 0;
  }

  .access-inline-form-field-placeholder {
    min-height: 0;
    height: 0;
    border: 0;
    background: transparent;
  }
}

/* Customer portal lab final alignment pass */
.page-home.page-students.page-customer-portal-test .topbar {
  width: min(calc(100% - 0.9rem), 140rem) !important;
  margin: 0 auto 1rem !important;
  padding: 0.95rem 1.25rem !important;
}

.page-home.page-students.page-customer-portal-test .brand {
  align-items: center;
}

.page-home.page-students.page-customer-portal-test .brand-copy span {
  max-width: 22rem;
  font-size: 0.96rem;
  line-height: 1.28;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-main {
  width: min(calc(100% - 0.9rem), 140rem);
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-toolbar {
  margin-top: 0.25rem;
  margin-bottom: 1.05rem;
  padding: 1rem 1.2rem;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-layout {
  grid-template-columns: minmax(250px, 18rem) minmax(0, 1fr) minmax(285px, 19rem);
  gap: 1rem;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-sidebar,
.page-home.page-students.page-customer-portal-test .customer-portal-test-card,
.page-home.page-students.page-customer-portal-test .customer-portal-test-hero,
.page-home.page-students.page-customer-portal-test .customer-portal-test-kpi {
  border-radius: 24px;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-card,
.page-home.page-students.page-customer-portal-test .customer-portal-test-kpi,
.page-home.page-students.page-customer-portal-test .customer-portal-test-sidebar {
  padding: 1rem;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-hero {
  padding: 1.15rem;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-kpis,
.page-home.page-students.page-customer-portal-test .customer-portal-test-analytics,
.page-home.page-students.page-customer-portal-test .customer-portal-test-workspace,
.page-home.page-students.page-customer-portal-test .customer-portal-test-center,
.page-home.page-students.page-customer-portal-test .customer-portal-test-rail {
  gap: 0.9rem;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-card-head {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.78fr);
  gap: 0.8rem 1rem;
  margin-bottom: 0.85rem;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-rail .customer-portal-test-card-head,
.page-home.page-students.page-customer-portal-test .customer-portal-test-sidebar .customer-portal-test-card-head {
  grid-template-columns: minmax(0, 1fr);
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-rail .customer-portal-test-card h2 {
  font-size: clamp(1rem, 1.2vw, 1.45rem);
  line-height: 1.16;
  max-width: none;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-stack {
  gap: 0.65rem;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-task,
.page-home.page-students.page-customer-portal-test .customer-portal-test-inline-item,
.page-home.page-students.page-customer-portal-test .customer-portal-test-announce,
.page-home.page-students.page-customer-portal-test .customer-portal-test-contact,
.page-home.page-students.page-customer-portal-test .customer-portal-test-resource,
.page-home.page-students.page-customer-portal-test .customer-portal-test-signal,
.page-home.page-students.page-customer-portal-test .customer-portal-test-ticket,
.page-home.page-students.page-customer-portal-test .customer-portal-test-timeline-item {
  padding: 0.88rem 0.95rem;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-chart-shell {
  min-height: 210px;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-chart-shell.is-compact {
  min-height: 190px;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-chart-notes {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-chart-notes span {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.88rem;
}

.page-home.page-students.page-customer-portal-test .customer-portal-test-flash[hidden],
.page-home.page-students.page-customer-portal-test [data-resource-card][hidden] {
  display: none !important;
}

.page-home.page-students .portal-hero-card-neutral {
  border: 1px solid rgba(224, 212, 188, 0.09);
  background:
    radial-gradient(circle at top left, rgba(214, 159, 63, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(17, 24, 33, 0.98), rgba(10, 15, 22, 0.96));
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-home.page-students .portal-hero-card-neutral .portal-hero-banner {
  background:
    linear-gradient(145deg, rgba(214, 159, 63, 0.1), rgba(15, 21, 29, 0.96) 34%),
    rgba(16, 23, 32, 0.9);
}

.page-home.page-students .portal-hero-card-neutral .portal-hero-copy .lead,
.page-home.page-students .portal-hero-card-neutral .portal-hero-notes .student-note {
  color: rgba(244, 239, 230, 0.78);
}

.page-home.page-students .portal-hero-card-neutral .portal-hero-summary {
  border-color: rgba(224, 212, 188, 0.09);
  background: linear-gradient(180deg, rgba(20, 29, 40, 0.92), rgba(13, 19, 28, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-home.page-students .portal-hero-card-neutral .portal-hero-progress {
  background: rgba(255, 255, 255, 0.12);
}

.page-home.page-students .portal-hero-card-neutral .portal-hero-progress span {
  background: linear-gradient(90deg, rgba(214, 159, 63, 0.98), rgba(233, 195, 110, 0.96));
}

.page-home.page-students .portal-workspace.portal-workspace-single {
  margin-top: 1.75rem;
}

.page-home.page-students .portal-workspace.portal-workspace-single .portal-center-column {
  gap: 0.95rem;
}

.page-home.page-students .portal-workspace.portal-workspace-single .portal-hero-actions {
  gap: 0.7rem;
}

.page-home.page-students.page-student-resources .student-cancellation-notice {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  overflow: hidden;
  padding: 1.05rem 1.2rem 1.05rem 1.35rem;
  border: 1px solid rgba(255, 196, 107, 0.56);
  border-left: 0.46rem solid rgba(216, 74, 67, 0.98);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(216, 74, 67, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(45, 28, 31, 0.98), rgba(17, 23, 31, 0.98) 45%, rgba(8, 12, 18, 0.96));
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 244, 216, 0.05) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-home.page-students.page-student-resources .student-cancellation-notice::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.18rem;
  background: linear-gradient(90deg, #d84a43, #ffd27b, #fff0c7);
}

.page-home.page-students.page-student-resources .student-cancellation-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.page-home.page-students.page-student-resources .student-cancellation-copy .program-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  margin-bottom: 0.3rem;
  padding: 0.22rem 0.5rem;
  border: 1px solid rgba(255, 215, 142, 0.34);
  border-radius: 999px;
  background: rgba(216, 74, 67, 0.2);
  color: #ffd27b;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

.page-home.page-students.page-student-resources .student-cancellation-copy h2 {
  margin: 0;
  color: #fff8e8;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.page-home.page-students.page-student-resources .student-cancellation-copy p:not(.program-tag) {
  margin: 0.34rem 0 0;
  color: rgba(255, 250, 240, 0.92);
  font-size: 1.04rem;
  line-height: 1.38;
}

.page-home.page-students.page-student-resources .student-cancellation-meta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.52rem 0.8rem;
  border: 1px solid rgba(255, 214, 137, 0.32);
  border-radius: 999px;
  background: rgba(255, 214, 137, 0.1);
  color: rgba(255, 248, 230, 0.9);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-home.page-students.page-student-resources .student-announcement {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.15rem;
  align-items: center;
  overflow: hidden;
  padding: 1rem 1.15rem 1rem 1.35rem;
  border: 1px solid rgba(255, 214, 137, 0.42);
  border-left: 0.42rem solid rgba(255, 191, 86, 0.96);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 191, 86, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(36, 50, 55, 0.98), rgba(17, 23, 31, 0.98) 42%, rgba(8, 12, 18, 0.96));
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 244, 216, 0.04) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-home.page-students.page-student-resources .student-announcement::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.18rem;
  background: linear-gradient(90deg, #ffd27b, #fff0c7, #6fcf9a);
}

.page-home.page-students.page-student-resources .student-announcement::after {
  content: "NEW";
  position: absolute;
  top: 0.72rem;
  right: 0.82rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.24rem 0.48rem;
  border: 1px solid rgba(255, 240, 199, 0.56);
  border-radius: 999px;
  background: rgba(216, 74, 67, 0.92);
  color: #fff8e9;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  box-shadow: 0 9px 18px rgba(80, 13, 12, 0.28);
}

.page-home.page-students.page-student-resources .student-announcement-media {
  position: relative;
  z-index: 1;
  display: block;
  width: 5.7rem;
  aspect-ratio: 0.78;
  overflow: hidden;
  border: 2px solid rgba(255, 245, 224, 0.72);
  border-radius: 10px;
  background: rgba(255, 245, 224, 0.1);
  box-shadow:
    0 16px 26px rgba(0, 0, 0, 0.34),
    0 0 0 5px rgba(255, 191, 86, 0.12);
  transform: rotate(-1.2deg);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.page-home.page-students.page-student-resources .student-announcement-media:hover,
.page-home.page-students.page-student-resources .student-announcement-media:focus-visible {
  transform: rotate(0deg) translateY(-1px);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.38),
    0 0 0 5px rgba(255, 191, 86, 0.2);
}

.page-home.page-students.page-student-resources .student-announcement-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home.page-students.page-student-resources .student-announcement-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-right: 2.75rem;
}

.page-home.page-students.page-student-resources .student-announcement-copy .program-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  margin-bottom: 0.3rem;
  padding: 0.22rem 0.5rem;
  border: 1px solid rgba(255, 215, 142, 0.32);
  border-radius: 999px;
  background: rgba(255, 191, 86, 0.14);
  color: #ffd27b;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

.page-home.page-students.page-student-resources .student-announcement-copy h2 {
  margin: 0;
  color: #fff8e8;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.36);
}

.page-home.page-students.page-student-resources .student-announcement-copy p:not(.program-tag) {
  margin: 0.32rem 0 0;
  color: rgba(255, 250, 240, 0.9);
  font-size: 1.02rem;
  line-height: 1.38;
}

.page-home.page-students.page-student-resources .student-announcement-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  min-width: max-content;
  padding-right: 0.15rem;
}

.page-home.page-students.page-student-resources .student-announcement-actions .button {
  min-height: 2.9rem;
  padding: 0.78rem 1.05rem;
  border-color: rgba(255, 240, 199, 0.56);
  background: linear-gradient(135deg, #ffd27b, #d69f3f);
  color: #1c1409;
  font-weight: 900;
  box-shadow:
    0 14px 26px rgba(109, 61, 8, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  white-space: nowrap;
}

.page-home.page-students.page-student-resources .student-announcement-actions .button:hover,
.page-home.page-students.page-student-resources .student-announcement-actions .button:focus-visible {
  border-color: rgba(255, 248, 228, 0.76);
  background: linear-gradient(135deg, #ffe2a6, #e3af51);
  color: #130d05;
}

.page-home.page-students.page-student-resources .student-announcement-mobile-app {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.95rem;
  align-items: center;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 240, 199, 0.18);
}

.page-home.page-students.page-student-resources .student-announcement-mobile-app .program-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  margin: 0 0 0.34rem;
  padding: 0.18rem 0.46rem;
  border: 1px solid rgba(111, 207, 154, 0.38);
  border-radius: 999px;
  background: rgba(111, 207, 154, 0.12);
  color: #b9f2d0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.page-home.page-students.page-student-resources .student-announcement-mobile-app h3 {
  margin: 0;
  color: #fff8e8;
  font-size: 1.05rem;
  line-height: 1.15;
}

.page-home.page-students.page-student-resources .student-announcement-mobile-app p:not(.program-tag) {
  margin: 0.28rem 0 0;
  color: rgba(255, 250, 240, 0.84);
  font-size: 0.95rem;
  line-height: 1.4;
}

.page-home.page-students.page-student-resources .student-announcement-mobile-app .button {
  min-height: 2.65rem;
  white-space: nowrap;
}

.page-home.page-students.page-student-resources .student-stripe-autopay {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem 1rem;
  align-items: center;
  overflow: hidden;
  padding: 1.05rem 1.15rem 1rem 1.25rem;
  border: 1px solid rgba(135, 191, 196, 0.32);
  border-left: 0.38rem solid rgba(111, 207, 154, 0.84);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(111, 207, 154, 0.12), transparent 31%),
    linear-gradient(135deg, rgba(19, 33, 37, 0.96), rgba(13, 19, 28, 0.98) 48%, rgba(8, 12, 18, 0.96));
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 244, 216, 0.035) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.065);
}

.page-home.page-students.page-student-resources .student-stripe-autopay::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.16rem;
  background: linear-gradient(90deg, #6fcf9a, #ffd27b, rgba(135, 191, 196, 0.86));
}

.page-home.page-students.page-student-resources .student-stripe-autopay-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.page-home.page-students.page-student-resources .student-stripe-autopay-copy .program-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  margin-bottom: 0.28rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(111, 207, 154, 0.36);
  border-radius: 999px;
  background: rgba(111, 207, 154, 0.12);
  color: #bff3d1;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

.page-home.page-students.page-student-resources .student-stripe-autopay-copy h2 {
  margin: 0;
  color: #fff8e8;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.page-home.page-students.page-student-resources .student-stripe-autopay-copy p:not(.program-tag) {
  max-width: 46rem;
  margin: 0.34rem 0 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: 0.98rem;
  line-height: 1.42;
}

.page-home.page-students.page-student-resources .student-stripe-autopay-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  min-width: min(100%, 23rem);
}

.page-home.page-students.page-student-resources .student-stripe-autopay-actions .button {
  min-height: 2.7rem;
  padding: 0.68rem 0.9rem;
  border-color: rgba(255, 214, 137, 0.5);
  background: rgba(255, 214, 137, 0.08);
  color: #fff4d6;
  font-weight: 900;
  white-space: nowrap;
}

.page-home.page-students.page-student-resources .student-stripe-autopay-actions .button:hover,
.page-home.page-students.page-student-resources .student-stripe-autopay-actions .button:focus-visible {
  border-color: rgba(255, 226, 166, 0.78);
  background: rgba(255, 214, 137, 0.16);
  color: #fff9ed;
}

.page-home.page-students.page-student-resources .student-stripe-autopay-note {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  margin: -0.18rem 0 0;
  color: rgba(201, 214, 218, 0.76);
  font-size: 0.88rem;
  line-height: 1.35;
}

.page-home.page-students.page-student-resources .portal-hero-card-neutral .portal-hero-banner,
.page-home.page-students.page-curriculum .portal-hero-card-neutral .portal-hero-banner,
.page-home.page-students.page-video-library .portal-hero-card-neutral .portal-hero-banner,
.page-home.page-students.page-my-questions .portal-hero-card-neutral .portal-hero-banner {
  align-items: start;
}

.page-home.page-students.page-student-resources .portal-hero-rail,
.page-home.page-students.page-curriculum .portal-hero-rail,
.page-home.page-students.page-video-library .portal-hero-rail,
.page-home.page-students.page-my-questions .portal-hero-rail {
  align-self: start;
  min-height: 0;
}

.page-home.page-students.page-student-resources .portal-hero-summary,
.page-home.page-students.page-curriculum .portal-hero-summary,
.page-home.page-students.page-video-library .portal-hero-summary,
.page-home.page-students.page-my-questions .portal-hero-summary {
  min-height: 0;
}

.page-home.page-students.page-student-resources .portal-hero-zoom-inline,
.page-home.page-students.page-curriculum .portal-hero-zoom-inline,
.page-home.page-students.page-video-library .portal-hero-zoom-inline,
.page-home.page-students.page-my-questions .portal-hero-zoom-inline {
  margin-top: 1rem;
}

.page-home.page-students .student-support-section .student-resource-grid {
  align-items: start;
}

.page-home.page-students .student-support-section .resource-actions {
  gap: 0.65rem;
}

.page-home.page-students .student-resource-section .section-heading {
  margin-bottom: 1.15rem;
}

.page-home.page-students .student-resource-section .section-summary {
  max-width: 34rem;
}

.page-home.page-students .student-resource-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
  gap: 0.9rem;
}

.page-home.page-students .student-resource-grid.student-resource-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.page-home.page-students .student-resource-card {
  gap: 0.9rem;
  padding: 1.4rem 1.45rem;
  border-color: rgba(232, 216, 191, 0.1);
  background:
    linear-gradient(180deg, rgba(14, 19, 27, 0.94), rgba(10, 14, 20, 0.9)),
    rgba(10, 14, 20, 0.92);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-home.page-students .student-resource-card.resource-card-featured {
  border-color: rgba(255, 191, 86, 0.16);
  background:
    radial-gradient(circle at top right, rgba(255, 191, 86, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(17, 23, 32, 0.96), rgba(10, 14, 20, 0.92)),
    rgba(10, 14, 20, 0.92);
}

.page-home.page-students .student-resource-card h3 {
  margin: 0.3rem 0 0.4rem;
  font-size: 1.34rem;
}

.page-home.page-students .student-resource-card p {
  font-size: 1rem;
  line-height: 1.5;
}

.page-home.page-students .student-resource-card .resource-meta {
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.92rem;
}

.page-home.page-students .student-resource-card .resource-actions {
  gap: 0.7rem;
  align-items: center;
}

.page-home.page-students .resource-link-list {
  gap: 0;
  margin-top: 0;
}

.page-home.page-students .resource-link-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(232, 216, 191, 0.08);
}

.page-home.page-students .resource-link-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.page-home.page-students .resource-link-label {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.page-home.page-students .resource-link-note {
  margin-top: 0.16rem;
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.88rem;
  line-height: 1.45;
}

.page-home.page-students .resource-link-inline {
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.page-home.page-students .resource-link-inline:hover,
.page-home.page-students .resource-link-inline:focus-visible {
  color: #ffe3ad;
}

.page-home.page-students.page-video-library .student-portal-main {
  width: min(calc(100% - 0.7rem), 140rem);
}

.page-home.page-students.page-curriculum .curriculum-tabbar {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.page-home.page-students.page-curriculum .curriculum-tabbar a {
  background: rgba(214, 159, 63, 0.12);
}

.page-home.page-students.page-curriculum .curriculum-structure-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr);
  gap: 0.95rem;
  align-items: start;
}

.page-home.page-students.page-curriculum .curriculum-structure-card {
  gap: 0.85rem;
}

.page-home.page-students.page-curriculum .curriculum-structure-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(232, 216, 191, 0.16);
  border-radius: 16px;
  background: rgba(8, 12, 18, 0.62);
}

.page-home.page-students.page-curriculum .curriculum-structure-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.page-home.page-students.page-curriculum .curriculum-structure-table th,
.page-home.page-students.page-curriculum .curriculum-structure-table td {
  padding: 0.72rem 0.74rem;
  border: 1px solid rgba(232, 216, 191, 0.14);
  text-align: left;
  vertical-align: top;
}

.page-home.page-students.page-curriculum .curriculum-structure-table th {
  color: rgba(255, 242, 212, 0.96);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(214, 159, 63, 0.13);
}

.page-home.page-students.page-curriculum .curriculum-structure-table td {
  color: rgba(244, 239, 230, 0.9);
  font-size: 0.92rem;
  line-height: 1.36;
  background: rgba(9, 14, 21, 0.84);
}

.page-home.page-students.page-curriculum .curriculum-level-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.72rem;
}

.page-home.page-students.page-curriculum .curriculum-level-card {
  display: grid;
  gap: 0.58rem;
  padding: 0.82rem 0.88rem;
  border: 1px solid rgba(232, 216, 191, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(16, 23, 33, 0.96), rgba(10, 15, 22, 0.92)),
    rgba(10, 15, 22, 0.92);
}

.page-home.page-students.page-curriculum .curriculum-level-card h4 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.2;
}

.page-home.page-students.page-curriculum .curriculum-level-card ul {
  margin: 0;
  padding-left: 1.08rem;
  display: grid;
  gap: 0.4rem;
}

.page-home.page-students.page-curriculum .curriculum-level-card li {
  color: rgba(244, 239, 230, 0.86);
  font-size: 0.9rem;
  line-height: 1.36;
}

.page-home.page-students.page-curriculum .curriculum-level-card-beginner {
  border-color: rgba(111, 179, 248, 0.34);
}

.page-home.page-students.page-curriculum .curriculum-level-card-intermediate {
  border-color: rgba(96, 212, 177, 0.34);
}

.page-home.page-students.page-curriculum .curriculum-level-card-advanced {
  border-color: rgba(255, 191, 86, 0.36);
}

.page-home.page-students.page-curriculum .curriculum-structure-embed {
  margin: 0 0 0.95rem;
  padding: 0.7rem;
  border: 1px solid rgba(232, 216, 191, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(14, 20, 28, 0.94), rgba(9, 14, 20, 0.92)),
    rgba(10, 14, 20, 0.92);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-home.page-students.page-curriculum .curriculum-structure-embed-status {
  margin: 0;
  color: rgba(244, 239, 230, 0.8);
  font-size: 0.95rem;
}

.page-home.page-students.page-curriculum .curriculum-structure-pages {
  display: grid;
  gap: 0.7rem;
}

.page-home.page-students.page-curriculum .curriculum-structure-pages canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid rgba(232, 216, 191, 0.12);
  border-radius: 14px;
  background: #ffffff;
}

.page-home.page-students.page-curriculum .curriculum-structure-embed-note {
  margin: 0.62rem 0 0;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.9rem;
}

.page-home.page-students.page-curriculum .curriculum-structure-embed-note a {
  color: #ffd37f;
}

.page-home.page-students.page-curriculum .curriculum-structure-embed-note a:hover,
.page-home.page-students.page-curriculum .curriculum-structure-embed-note a:focus-visible {
  color: #ffe7b6;
}

.page-home.page-students .portal-hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  width: 100%;
  margin-top: 1rem;
}

.page-home.page-students.page-curriculum .portal-hero-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-home.page-students .portal-hero-tile {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: 14rem;
  padding: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(232, 216, 191, 0.12);
  border-radius: 24px;
  color: #f8f2e8;
  text-decoration: none;
  background-color: #101720;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-home.page-students .portal-hero-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
  filter: saturate(0.9) contrast(0.96) brightness(0.54);
}

.page-home.page-students .portal-hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 14, 0.16) 0%, rgba(6, 10, 14, 0.3) 25%, rgba(6, 10, 14, 0.84) 72%, rgba(6, 10, 14, 0.96) 100%),
    linear-gradient(135deg, rgba(214, 159, 63, 0.18), rgba(10, 16, 24, 0.08) 42%, rgba(10, 16, 24, 0.62) 100%);
}

.page-home.page-students .portal-hero-tile-forms::before {
  background-image: url("assets/curriculum-loops/forms-details-poster.jpg");
}

.page-home.page-students .portal-hero-tile-contact::before {
  background-image: url("assets/curriculum-loops/bridges-contact-poster.jpg");
}

.page-home.page-students .portal-hero-tile-applications::before {
  background-image: url("assets/curriculum-loops/applications-poster.jpg");
}

.page-home.page-students .portal-hero-tile-progress::before {
  background-image: url("assets/uswc-instructor.jpg");
}

.page-home.page-students .portal-hero-tile-replay::before {
  background-image: url("assets/homepage-clips/img9372-hero-short-poster.jpg");
}

.page-home.page-students .portal-hero-tile-curriculum::before {
  background-image: url("assets/curriculum-loops/forms-details-poster.jpg");
}

.page-home.page-students .portal-hero-tile-support::before {
  background-image: url("assets/homepage-clips/sandy-studio-2024-03-29-crop-poster.jpg");
}

.page-home.page-students .portal-hero-tile > span,
.page-home.page-students .portal-hero-tile > strong {
  position: relative;
  z-index: 1;
}

.page-home.page-students .portal-hero-tile-tag {
  margin-bottom: 0.45rem;
  color: #ffc55e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-home.page-students .portal-hero-tile strong {
  display: block;
  font-size: 1.58rem;
  line-height: 0.98;
  text-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

.page-home.page-students .portal-hero-tile:hover,
.page-home.page-students .portal-hero-tile:focus-visible {
  border-color: rgba(255, 191, 86, 0.54);
  box-shadow:
    0 24px 42px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.page-home.page-students:not(.page-curriculum) .portal-hero-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-home.page-students.page-curriculum .portal-hero-detail-list strong a {
  color: inherit;
  text-decoration: none;
}

.page-home.page-students.page-curriculum .portal-hero-detail-list strong a:hover,
.page-home.page-students.page-curriculum .portal-hero-detail-list strong a:focus-visible {
  color: #fff2cf;
}

@media (max-width: 1200px) {
  .page-home.page-students.page-curriculum .curriculum-structure-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home.page-students.page-curriculum .curriculum-level-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
}

@media (max-width: 960px) {
  .page-home.page-students.page-curriculum .curriculum-structure-table {
    min-width: 620px;
  }

  .page-home.page-students.page-curriculum .curriculum-level-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.page-home.page-students.page-video-library .topbar {
  width: min(calc(100% - 0.7rem), 140rem) !important;
}

.page-home.page-students.page-video-library .student-portal-main.video-library-main {
  display: grid;
  gap: 1rem;
}

.page-home.page-students.page-video-library .video-library-hero {
  display: grid;
  gap: 1rem;
  padding: 2rem 2.1rem;
  border: 1px solid rgba(224, 212, 188, 0.09);
  border-radius: 36px;
  background:
    radial-gradient(circle at 92% 16%, rgba(97, 143, 208, 0.2), transparent 24%),
    radial-gradient(circle at 12% 10%, rgba(214, 159, 63, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(17, 24, 33, 0.98), rgba(10, 15, 22, 0.96));
  box-shadow:
    0 26px 54px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-home.page-students.page-video-library .video-library-hero-copy h1 {
  max-width: 16ch;
  margin: 0.25rem 0 0;
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.page-home.page-students.page-video-library .video-library-hero-copy .lead {
  max-width: 52rem;
  margin: 0.9rem 0 0;
  color: rgba(244, 239, 230, 0.8);
}

.page-home.page-students.page-video-library .video-library-hero-meta,
.page-home.page-students.page-video-library .video-library-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-home.page-students.page-video-library .video-library-hero-card .portal-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}

.page-home.page-students.page-video-library .video-library-hero-card .video-library-hero-actions {
  margin-top: auto;
  padding-top: 0.35rem;
}

.page-home.page-students:not(.page-video-library) .portal-hero-card-neutral .portal-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}

.page-home.page-students:not(.page-video-library) .portal-hero-card-neutral .portal-hero-notes {
  order: 2;
}

.page-home.page-students:not(.page-video-library) .portal-hero-card-neutral .portal-hero-actions {
  order: 3;
  margin-top: auto;
  padding-top: 0.35rem;
}

.page-home.page-students.page-student-resources .student-portal-hero-head {
  display: grid;
  grid-template-columns: minmax(12rem, 14rem) minmax(0, 1fr);
  gap: 1rem 1.05rem;
  width: 100%;
  align-items: start;
}

.page-home.page-students.page-student-resources .student-portal-hero-intro {
  display: grid;
  order: 3;
  grid-column: 1 / -1;
  gap: 0.72rem;
  min-width: 0;
  align-content: center;
  padding: 0.1rem 0.15rem 0.2rem 0;
}

.page-home.page-students.page-student-resources .student-portal-hero-intro .lead {
  max-width: none;
}

.page-home.page-students.page-student-resources .student-portal-profile-card {
  order: 1;
  display: grid;
  gap: 0.6rem;
  align-content: start;
  justify-items: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.page-home.page-students.page-student-resources .student-portal-moments-panel {
  order: 2;
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  align-self: start;
}

.page-home.page-students.page-student-resources .student-portal-moments-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
  min-width: 0;
}

.page-home.page-students.page-student-resources .student-portal-moment-slot {
  position: relative;
  display: grid;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 191, 86, 0.18);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.025);
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-home.page-students.page-student-resources .student-portal-moment-slot.has-image {
  box-shadow:
    0 20px 36px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 191, 86, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-home.page-students.page-student-resources .student-portal-moment-slot img,
.page-home.page-students.page-student-resources .student-portal-moment-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home.page-students.page-student-resources .student-portal-moment-slot img {
  z-index: 1;
  object-fit: cover;
}

.page-home.page-students.page-student-resources .student-portal-moment-placeholder {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 42%),
    rgba(255, 255, 255, 0.025);
}

.page-home.page-students.page-student-resources .student-portal-moment-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(4, 7, 12, 0.08), rgba(4, 7, 12, 0.58));
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.page-home.page-students.page-student-resources .student-portal-moment-slot:hover::after,
.page-home.page-students.page-student-resources .student-portal-moment-slot:focus-within::after {
  opacity: 1;
}

.page-home.page-students.page-student-resources .student-portal-moment-form {
  position: absolute;
  left: 50%;
  bottom: 0.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  width: max-content;
  max-width: calc(100% - 0.7rem);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.24rem);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.page-home.page-students.page-student-resources .student-portal-moment-slot:hover .student-portal-moment-form,
.page-home.page-students.page-student-resources .student-portal-moment-slot:focus-within .student-portal-moment-form {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.page-home.page-students.page-student-resources .student-portal-moment-upload-control {
  position: relative;
  display: flex;
}

.page-home.page-students.page-student-resources .student-portal-moment-upload-control input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.page-home.page-students.page-student-resources .student-portal-moment-form .button {
  width: auto;
  min-width: 0;
}

.page-home.page-students.page-student-resources .student-portal-moment-button {
  min-width: 0;
  padding: 0.16rem 0.38rem;
  border-radius: 999px;
  font-size: 0.5rem;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 170, 0.07),
    0 8px 18px rgba(18, 12, 5, 0.14);
}

.page-home.page-students.page-student-resources .student-portal-moment-status {
  margin: 0;
  width: min(100%, 22rem);
}

.page-home.page-students.page-student-resources .student-portal-profile-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: max-content;
  max-width: 100%;
}

.page-home.page-students.page-student-resources .student-portal-profile-avatar,
.page-home.page-students.page-student-resources .student-portal-profile-avatar-fallback {
  width: 14rem;
  height: 14rem;
  border-radius: 2.5rem;
  border: 1px solid rgba(255, 191, 86, 0.2);
}

.page-home.page-students.page-student-resources .student-portal-profile-avatar {
  display: block;
  object-fit: cover;
  background: rgba(8, 12, 18, 0.82);
  box-shadow:
    0 22px 38px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-home.page-students.page-student-resources .student-portal-profile-avatar-fallback {
  width: 14rem;
  height: 14rem;
  border-radius: 2.5rem;
  font-size: 3.5rem;
  letter-spacing: 0.04em;
  box-shadow:
    0 20px 36px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-home.page-students.page-student-resources .student-portal-profile-card .auth-success,
.page-home.page-students.page-student-resources .student-portal-profile-card .auth-error {
  margin: 0;
  width: min(100%, 18rem);
}

.page-home.page-students.page-student-resources .student-portal-profile-form {
  position: absolute;
  left: 50%;
  bottom: 0.5rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  width: max-content;
  max-width: calc(100% - 1.2rem);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.35rem);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.page-home.page-students.page-student-resources .student-portal-profile-visual:hover .student-portal-profile-form,
.page-home.page-students.page-student-resources .student-portal-profile-visual:focus-within .student-portal-profile-form {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.page-home.page-students.page-student-resources .student-portal-profile-upload-control {
  position: relative;
  display: flex;
}

.page-home.page-students.page-student-resources .student-portal-profile-upload-control input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.page-home.page-students.page-student-resources .student-portal-profile-upload-control .button,
.page-home.page-students.page-student-resources .student-portal-profile-form .button {
  width: auto;
  min-width: 0;
}

.page-home.page-students.page-student-resources .student-portal-profile-button {
  min-width: 0;
  padding: 0.16rem 0.38rem;
  border-radius: 999px;
  font-size: 0.5rem;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 170, 0.07),
    0 8px 18px rgba(18, 12, 5, 0.14);
}

.page-home.page-students .student-class-focus-card {
  display: grid;
  gap: 0.58rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 191, 86, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 14%, rgba(255, 191, 86, 0.16), transparent 33%),
    linear-gradient(160deg, rgba(19, 28, 40, 0.92), rgba(11, 17, 26, 0.9));
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-home.page-students .student-class-focus-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.page-home.page-students .student-class-focus-summary {
  margin: 0;
  color: rgba(244, 239, 230, 0.86);
  line-height: 1.45;
}

.page-home.page-students .student-class-focus-summary-list {
  margin: 0;
  padding-left: 1.08rem;
  display: grid;
  gap: 0.28rem;
  color: rgba(244, 239, 230, 0.86);
  font-size: 0.96rem;
}

.page-home.page-students .student-class-focus-meta {
  margin: 0;
  color: rgba(222, 229, 240, 0.8);
  font-size: 0.86rem;
  line-height: 1.4;
}

.page-home.page-students .student-class-focus-list {
  margin: 0;
  padding-left: 1.08rem;
  display: grid;
  gap: 0.34rem;
  color: rgba(244, 239, 230, 0.84);
  font-size: 0.9rem;
}

.page-home.page-students .student-class-focus-canceled-status {
  display: grid;
  gap: 0.18rem;
  margin: 0.1rem 0;
  padding: 0.78rem 0.85rem;
  border: 1px solid rgba(216, 74, 67, 0.48);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(216, 74, 67, 0.18), rgba(255, 191, 86, 0.08)),
    rgba(5, 8, 13, 0.38);
  color: rgba(255, 248, 234, 0.92);
}

.page-home.page-students .student-class-focus-canceled-status strong {
  color: #fff8e8;
  font-size: 0.98rem;
  line-height: 1.25;
}

.page-home.page-students .student-class-focus-canceled-status span {
  color: rgba(244, 239, 230, 0.82);
  font-size: 0.88rem;
  line-height: 1.35;
}

.page-home.page-students .student-class-focus-card .resource-actions {
  margin-top: 0.1rem;
}

.page-home.page-students .student-portal-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 0;
  margin-top: 0.7rem;
  align-items: stretch;
}

.page-home.page-students .student-portal-overview-main,
.page-home.page-students .student-portal-overview-side {
  display: grid;
  gap: 0.75rem;
  align-content: stretch;
  min-height: 0;
}

.page-home.page-students .student-portal-overview-main {
  grid-template-rows: auto minmax(0, 1fr);
}

.page-home.page-students .student-portal-overview-main > .student-class-focus-card {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.page-home.page-students .student-portal-overview-shortcuts {
  display: grid;
  gap: 0;
  min-height: 0;
}

.page-home.page-students .student-portal-overview-shortcuts .portal-hero-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0;
  height: 100%;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 191, 86, 0.14);
  border-radius: 28px;
  box-shadow:
    0 24px 46px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-home.page-students .student-portal-overview-side .student-class-highlight-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  height: auto;
}

.page-home.page-students .student-portal-overview-side .student-class-highlight-tile,
.page-home.page-students .student-portal-overview-side .student-class-highlight-embed {
  height: auto;
  min-height: 0;
}

.page-home.page-students .student-portal-overview-shortcuts .portal-hero-tile {
  min-height: 0;
  height: 100%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.page-home.page-students .student-portal-overview-shortcuts .portal-hero-tile::before {
  transform: scale(1.06);
  filter: saturate(0.98) contrast(1) brightness(0.62);
}

.page-home.page-students .student-portal-overview-shortcuts .portal-hero-tile:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home.page-students .student-portal-overview-shortcuts .portal-hero-tile:nth-child(-n+2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home.page-students .student-portal-overview-shortcuts .portal-hero-tile strong {
  font-size: 1.28rem;
  line-height: 1.02;
}

.page-home.page-students .student-portal-overview-alert {
  margin: 0;
  margin-top: -1px;
  border-radius: 0 0 24px 24px;
}

.page-home.page-students .student-class-highlight-card {
  height: auto;
  align-self: start;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.5rem;
  align-items: stretch;
}

.page-home.page-students .student-class-highlight-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem 0.5rem;
  align-items: baseline;
  margin: 0;
  padding: 0 0.12rem;
}

.page-home.page-students .student-class-highlight-note .program-tag {
  margin: 0;
}

.page-home.page-students .student-class-highlight-note-title {
  flex: 1 0 100%;
  min-width: 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.page-home.page-students .student-class-highlight-note-copy {
  flex: 1 0 100%;
  min-width: 0;
  color: rgba(244, 239, 230, 0.76);
  font-size: 0.86rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.page-home.page-students .student-class-highlight-note-date {
  color: var(--text);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.page-home.page-students .student-class-highlight-archive-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.2rem;
  padding: 0.18rem 0.45rem 0.16rem;
  border: 1px solid rgba(255, 191, 86, 0.42);
  border-radius: 999px;
  background: rgba(214, 159, 63, 0.1);
  color: rgba(255, 232, 190, 0.9);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-0.05rem);
}

.page-home.page-students .student-class-highlight-archive-pill:hover,
.page-home.page-students .student-class-highlight-archive-pill:focus-visible {
  border-color: rgba(255, 191, 86, 0.86);
  background: rgba(214, 159, 63, 0.22);
  color: #fff6e3;
}

.page-home.page-students .student-class-highlight-grid {
  display: grid;
  gap: 0.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}

.page-home.page-students .student-class-highlight-tile {
  display: grid;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.page-home.page-students .student-class-highlight-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.68);
}

.page-home.page-students .student-portal-overview-side .student-class-highlight-embed {
  aspect-ratio: 16 / 9;
}

.page-home.page-students .student-class-highlight-video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: 16 / 9;
  background: #000;
}

.page-home.page-students .student-class-highlight-placeholder {
  padding: 1rem 0.95rem;
  color: rgba(244, 239, 230, 0.78);
  font-size: 0.86rem;
  line-height: 1.4;
}

.page-home.page-students .student-class-focus-editor {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.45rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 191, 86, 0.24);
}

.page-home.page-students .student-class-focus-editor .auth-success,
.page-home.page-students .student-class-focus-editor .auth-error {
  margin: 0;
}

.page-home.page-students .student-class-focus-editor-form {
  display: grid;
  gap: 0.58rem;
}

.page-home.page-students .student-class-focus-editor-form .auth-field {
  gap: 0.3rem;
}

.page-home.page-students .student-class-focus-editor-form .auth-field span {
  color: rgba(244, 239, 230, 0.74);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
}

.page-home.page-students .student-class-focus-editor-form .auth-field input,
.page-home.page-students .student-class-focus-editor-form .auth-field textarea {
  border-color: rgba(255, 191, 86, 0.28);
  background: rgba(6, 11, 18, 0.76);
  color: var(--text);
  border-radius: 14px;
  padding: 0.72rem 0.82rem;
}

.page-home.page-students .student-class-focus-editor-form .auth-field textarea {
  min-height: 5.3rem;
}

.page-home.page-students .student-class-focus-editor-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
  color: rgba(244, 239, 230, 0.78);
  font-size: 0.86rem;
  line-height: 1.35;
}

.page-home.page-students .student-class-focus-editor-toggle input {
  margin-top: 0.1rem;
}

.page-home.page-students .student-class-focus-editor-actions {
  gap: 0.6rem;
}

.page-home.page-students.page-class-focus-templates .student-portal-main {
  display: grid;
  width: min(calc(100% - 1.5rem), 150rem);
  max-width: none;
  gap: 0.45rem;
  margin: 0 auto 4rem;
}

.page-home.page-students.page-class-focus-templates .student-portal-main > .section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.28rem 0 0.16rem;
}

.page-home.page-students.page-class-focus-templates .student-portal-main > .section + .section {
  margin-top: 0.1rem;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-intro {
  align-items: end;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-alert-section {
  margin-top: -0.4rem;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-alert-section .auth-success,
.page-home.page-students.page-class-focus-templates .class-focus-template-alert-section .auth-error {
  margin: 0;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-day-section {
  display: grid;
  align-content: start;
  gap: 0.38rem;
  scroll-margin-top: 1rem;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-day-heading {
  align-items: end;
  margin-bottom: 0;
  padding: 0.58rem 0.82rem;
}

.page-home.page-students.page-class-focus-templates .class-focus-current-default {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: space-between;
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(255, 191, 86, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(15, 25, 37, 0.86), rgba(8, 13, 21, 0.84));
}

.page-home.page-students.page-class-focus-templates .class-focus-current-default h3,
.page-home.page-students.page-class-focus-templates .class-focus-template-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.page-home.page-students.page-class-focus-templates .class-focus-current-default p,
.page-home.page-students.page-class-focus-templates .class-focus-template-card p {
  margin: 0;
  color: rgba(244, 239, 230, 0.82);
  line-height: 1.42;
}

.page-home.page-students.page-class-focus-templates .class-focus-current-default > div {
  min-width: 0;
}

.page-home.page-students.page-class-focus-templates .class-focus-current-default > div p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home.page-students.page-class-focus-templates .class-focus-current-default ul,
.page-home.page-students.page-class-focus-templates .class-focus-template-card ul {
  display: grid;
  gap: 0.28rem;
  margin: 0;
  padding-left: 1rem;
  color: rgba(244, 239, 230, 0.78);
  font-size: 0.88rem;
  line-height: 1.35;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 29rem), 1fr));
  gap: 0.9rem;
  align-items: start;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-card {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(255, 191, 86, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 4%, rgba(255, 191, 86, 0.14), transparent 34%),
    linear-gradient(160deg, rgba(17, 28, 42, 0.9), rgba(8, 13, 21, 0.9));
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-home.page-students.page-class-focus-templates .class-focus-template-card-copy {
  display: grid;
  align-content: start;
  gap: 0.42rem;
  min-height: 0;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 0.9rem;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-preview-list {
  max-height: 4.5rem;
  overflow: hidden;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-edit-panel {
  display: grid;
  gap: 0.58rem;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-edit-panel summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.4rem 0.72rem;
  border: 1px solid rgba(255, 191, 86, 0.32);
  border-radius: 999px;
  background: rgba(214, 159, 63, 0.1);
  color: #ffe2a6;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-edit-panel summary::-webkit-details-marker {
  display: none;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-edit-panel summary:hover,
.page-home.page-students.page-class-focus-templates .class-focus-template-edit-panel summary:focus-visible {
  border-color: rgba(255, 191, 86, 0.72);
  background: rgba(214, 159, 63, 0.18);
  color: #fff7ea;
  outline: none;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-edit-panel[open] summary {
  margin-bottom: 0.58rem;
  border-color: rgba(164, 207, 255, 0.36);
}

.page-home.page-students.page-class-focus-templates .class-focus-template-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-field-wide {
  grid-column: 1 / -1;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-field {
  gap: 0.2rem;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-field span {
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-field input,
.page-home.page-students.page-class-focus-templates .class-focus-template-field textarea {
  width: 100%;
  min-width: 0;
  border-color: rgba(255, 191, 86, 0.25);
  border-radius: 10px;
  background: rgba(5, 10, 17, 0.72);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.28;
  padding: 0.5rem 0.62rem;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-field textarea {
  min-height: 3.45rem;
  resize: vertical;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-card .student-note {
  color: rgba(180, 188, 201, 0.78);
  font-size: 0.82rem;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-clear-toggle {
  color: rgba(244, 239, 230, 0.75);
  font-size: 0.7rem;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-card .button {
  width: 100%;
  min-width: 0;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.page-home.page-students.page-class-focus-templates .class-focus-template-card-actions .button {
  min-height: 2.6rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .page-home.page-students.page-class-focus-templates .class-focus-template-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home.page-students.page-class-focus-templates .class-focus-template-day-section {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .page-home.page-students.page-class-focus-templates .class-focus-template-edit-grid,
  .page-home.page-students.page-class-focus-templates .class-focus-template-card-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .page-home.page-students.page-student-resources .student-cancellation-notice {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0.72rem;
    padding: 0.95rem;
    border-left-width: 0.28rem;
  }

  .page-home.page-students.page-student-resources .student-cancellation-copy h2 {
    font-size: 1.24rem;
  }

  .page-home.page-students.page-student-resources .student-cancellation-copy p:not(.program-tag) {
    font-size: 0.95rem;
  }

  .page-home.page-students.page-student-resources .student-cancellation-meta {
    justify-self: start;
    min-height: 2.2rem;
    font-size: 0.78rem;
  }

  .page-home.page-students.page-student-resources .student-announcement {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.85rem;
    padding: 0.9rem;
    border-left-width: 0.28rem;
  }

  .page-home.page-students.page-student-resources .student-announcement::after {
    top: 0.62rem;
    right: 0.62rem;
  }

  .page-home.page-students.page-student-resources .student-announcement-media {
    width: 4.65rem;
  }

  .page-home.page-students.page-student-resources .student-announcement-copy {
    padding-right: 2.15rem;
  }

  .page-home.page-students.page-student-resources .student-announcement-copy h2 {
    font-size: 1.2rem;
  }

  .page-home.page-students.page-student-resources .student-announcement-copy p:not(.program-tag) {
    font-size: 0.94rem;
  }

  .page-home.page-students.page-student-resources .student-announcement-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .page-home.page-students.page-student-resources .student-announcement-actions .button {
    width: 100%;
  }

  .page-home.page-students.page-student-resources .student-announcement-mobile-app {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home.page-students.page-student-resources .student-announcement-mobile-app .button {
    width: 100%;
  }

  .page-home.page-students.page-student-resources .student-stripe-autopay {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem;
    padding: 0.95rem;
    border-left-width: 0.28rem;
  }

  .page-home.page-students.page-student-resources .student-stripe-autopay-copy h2 {
    font-size: 1.18rem;
  }

  .page-home.page-students.page-student-resources .student-stripe-autopay-copy p:not(.program-tag) {
    font-size: 0.93rem;
  }

  .page-home.page-students.page-student-resources .student-stripe-autopay-actions {
    justify-content: stretch;
    min-width: 0;
  }

  .page-home.page-students.page-student-resources .student-stripe-autopay-actions .button {
    width: 100%;
    white-space: normal;
  }

  .page-home.page-students.page-student-resources .student-stripe-autopay-note {
    font-size: 0.82rem;
  }

  .page-home.page-students.page-student-resources .student-portal-hero-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home.page-students.page-student-resources .student-portal-hero-intro {
    order: 1;
    padding: 0;
  }

  .page-home.page-students.page-student-resources .student-portal-profile-card {
    order: 2;
    justify-items: center;
  }

  .page-home.page-students.page-student-resources .student-portal-moments-panel {
    order: 3;
    width: 100%;
  }

  .page-home.page-students.page-student-resources .student-portal-moments-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .page-home.page-students.page-student-resources .student-portal-profile-avatar,
  .page-home.page-students.page-student-resources .student-portal-profile-avatar-fallback {
    width: 10rem;
    height: 10rem;
    border-radius: 2rem;
  }

  .page-home.page-students .student-class-focus-card {
    padding: 0.88rem 0.9rem;
  }

  .page-home.page-students .student-portal-overview-shortcuts .portal-hero-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .page-home.page-students .student-portal-overview-shortcuts .portal-hero-tile {
    border-radius: 24px;
    border: 1px solid rgba(232, 216, 191, 0.12);
    box-shadow:
      0 18px 36px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .page-home.page-students .student-portal-overview-shortcuts .portal-hero-tile:nth-child(odd),
  .page-home.page-students .student-portal-overview-shortcuts .portal-hero-tile:nth-child(-n+2) {
    border-right: 1px solid rgba(232, 216, 191, 0.12);
    border-bottom: 1px solid rgba(232, 216, 191, 0.12);
  }

  .page-home.page-students .student-class-focus-card h3 {
    font-size: 0.98rem;
  }
}

@media (max-width: 1100px) {
  .page-home.page-students .student-portal-overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1rem;
  }

  .page-home.page-students .student-portal-overview-main,
  .page-home.page-students .student-portal-overview-side,
  .page-home.page-students .student-portal-overview-shortcuts {
    gap: 1rem;
  }

  .page-home.page-students .student-portal-overview-main {
    grid-template-rows: auto;
  }

  .page-home.page-students .student-portal-overview-main > .student-class-focus-card {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }

  .page-home.page-students .student-portal-overview-shortcuts {
    margin-top: 1rem;
  }

  .page-home.page-students .student-class-highlight-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    height: auto;
  }

  .page-home.page-students .student-portal-overview-shortcuts .portal-hero-strip {
    gap: 1rem;
    height: auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .page-home.page-students .student-portal-overview-shortcuts .portal-hero-tile {
    min-height: 10.75rem;
    border-radius: 24px;
    border: 1px solid rgba(232, 216, 191, 0.12);
    box-shadow:
      0 18px 36px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .page-home.page-students .student-portal-overview-shortcuts .portal-hero-tile:nth-child(odd),
  .page-home.page-students .student-portal-overview-shortcuts .portal-hero-tile:nth-child(-n+2) {
    border-right: 1px solid rgba(232, 216, 191, 0.12);
    border-bottom: 1px solid rgba(232, 216, 191, 0.12);
  }

  .page-home.page-students .student-portal-overview-alert {
    margin-top: 0;
    border-radius: 18px;
  }

  .page-home.page-students .student-portal-overview-side .student-class-highlight-grid {
    gap: 0.72rem;
    height: auto;
  }

  .page-home.page-students .student-portal-overview-side .student-class-highlight-tile,
  .page-home.page-students .student-portal-overview-side .student-class-highlight-embed {
    height: auto;
  }

  .page-home.page-students .student-portal-overview-side .student-class-highlight-embed {
    aspect-ratio: 16 / 9;
  }
}

.page-home.page-students .portal-analytics-card {
  padding: 0.75rem 0.8rem;
}

.page-home.page-students .portal-analytics-head {
  margin-bottom: 0.35rem;
  gap: 0.45rem 0.7rem;
}

.page-home.page-students .portal-chart-shell {
  min-height: 45px !important;
  height: clamp(45px, 5.5vw, 58px) !important;
  max-height: 58px !important;
}

.page-home.page-students .portal-chart-shell.portal-chart-shell-compact {
  min-height: 42px !important;
  height: clamp(42px, 5vw, 54px) !important;
  max-height: 54px !important;
}

.page-home.page-students .portal-chart-notes {
  margin-top: 0.25rem;
  gap: 0.25rem;
}

.page-home.page-students .portal-chart-notes span {
  font-size: 0.74rem;
  line-height: 1.3;
}

.page-home.page-students .portal-tabbar a,
.page-home.page-students .student-training-plan-segment,
.page-home.page-students .student-intro-actions .button.button-primary,
.page-home.page-students .student-intro-actions .button.button-secondary,
.page-home.page-students .resource-actions .button.button-primary,
.page-home.page-students .resource-actions .button.button-secondary,
.page-home.page-students .portal-quick-links .button.button-primary,
.page-home.page-students .portal-quick-links .button.button-secondary,
.page-home.page-students .portal-hero-actions .button.button-primary,
.page-home.page-students .portal-hero-actions .button.button-secondary {
  border-color: rgba(255, 191, 86, 0.52);
  background: rgba(214, 159, 63, 0.13);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 170, 0.08),
    0 12px 24px rgba(18, 12, 5, 0.08);
}

.page-home.page-students .portal-tabbar a:hover,
.page-home.page-students .portal-tabbar a:focus-visible,
.page-home.page-students .student-training-plan-segment:hover,
.page-home.page-students .student-training-plan-segment:focus-visible,
.page-home.page-students .student-intro-actions .button.button-primary:hover,
.page-home.page-students .student-intro-actions .button.button-primary:focus-visible,
.page-home.page-students .student-intro-actions .button.button-secondary:hover,
.page-home.page-students .student-intro-actions .button.button-secondary:focus-visible,
.page-home.page-students .resource-actions .button.button-primary:hover,
.page-home.page-students .resource-actions .button.button-primary:focus-visible,
.page-home.page-students .resource-actions .button.button-secondary:hover,
.page-home.page-students .resource-actions .button.button-secondary:focus-visible,
.page-home.page-students .portal-quick-links .button.button-primary:hover,
.page-home.page-students .portal-quick-links .button.button-primary:focus-visible,
.page-home.page-students .portal-quick-links .button.button-secondary:hover,
.page-home.page-students .portal-quick-links .button.button-secondary:focus-visible,
.page-home.page-students .portal-hero-actions .button.button-primary:hover,
.page-home.page-students .portal-hero-actions .button.button-primary:focus-visible,
.page-home.page-students .portal-hero-actions .button.button-secondary:hover,
.page-home.page-students .portal-hero-actions .button.button-secondary:focus-visible {
  border-color: rgba(255, 191, 86, 0.92);
  background: rgba(214, 159, 63, 0.28);
  color: #fff6e3;
  box-shadow:
    inset 0 1px 0 rgba(255, 233, 191, 0.12),
    0 16px 30px rgba(109, 61, 8, 0.24),
    0 0 0 1px rgba(255, 191, 86, 0.12);
  transform: translateY(-1px);
}

.page-home.page-students .resource-actions .button.zoom-shortcut-button:hover,
.page-home.page-students .resource-actions .button.zoom-shortcut-button:focus-visible {
  border-color: rgba(171, 220, 255, 0.96);
  background: linear-gradient(135deg, #4ea2ff 0%, #0b5cff 100%);
  color: #ffffff;
  box-shadow:
    0 18px 36px rgba(10, 76, 255, 0.34),
    0 0 0 1px rgba(133, 198, 255, 0.22);
}

.page-home.page-students.page-my-questions .student-intro-actions .button.button-secondary,
.page-home.page-students.page-my-questions .student-intro-actions .button.button-primary {
  border: 1px solid rgba(255, 191, 86, 0.52);
  background: rgba(214, 159, 63, 0.13);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 170, 0.08),
    0 12px 24px rgba(18, 12, 5, 0.08);
}

.page-home.page-students.page-my-questions .student-intro-actions .button.button-secondary:hover,
.page-home.page-students.page-my-questions .student-intro-actions .button.button-secondary:focus-visible,
.page-home.page-students.page-my-questions .student-intro-actions .button.button-primary:hover,
.page-home.page-students.page-my-questions .student-intro-actions .button.button-primary:focus-visible {
  border-color: rgba(255, 191, 86, 0.92);
  background: rgba(214, 159, 63, 0.28);
  color: #fff6e3;
  box-shadow:
    inset 0 1px 0 rgba(255, 233, 191, 0.12),
    0 16px 30px rgba(109, 61, 8, 0.24),
    0 0 0 1px rgba(255, 191, 86, 0.12);
  transform: translateY(-1px);
}

.page-home.page-students.page-my-questions .student-intro-action-button {
  border: 1px solid rgba(255, 191, 86, 0.52) !important;
  background: rgba(214, 159, 63, 0.13) !important;
  color: var(--text) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 170, 0.08),
    0 12px 24px rgba(18, 12, 5, 0.08);
}

.page-home.page-students.page-my-questions .student-intro-action-button:hover,
.page-home.page-students.page-my-questions .student-intro-action-button:focus-visible {
  border-color: rgba(255, 191, 86, 0.92) !important;
  background: rgba(214, 159, 63, 0.28) !important;
  color: #fff6e3 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 233, 191, 0.12),
    0 16px 30px rgba(109, 61, 8, 0.24),
    0 0 0 1px rgba(255, 191, 86, 0.12);
}

.page-home.page-students.page-access-admin .student-intro-actions .button.button-primary,
.page-home.page-students.page-access-admin .student-intro-actions .button.button-secondary {
  border: 1px solid rgba(255, 191, 86, 0.52);
  background: rgba(214, 159, 63, 0.13);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 170, 0.08),
    0 12px 24px rgba(18, 12, 5, 0.08);
}

.page-home.page-students.page-access-admin .button {
  min-width: 0;
  padding: 0.72rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.page-home.page-students.page-access-admin .button.button-compact {
  padding: 0.62rem 0.92rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.page-home.page-students.page-access-admin .attendance-roster-form-actions .button.button-compact {
  flex: 0 0 auto;
  min-height: 2rem;
  padding: 0.38rem 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  line-height: 1;
}

.page-home.page-students.page-access-admin .attendance-roster-links .button.button-compact {
  min-height: 2rem;
  padding: 0.38rem 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  line-height: 1;
}

.page-home.page-students.page-access-admin .student-intro-actions .button.button-primary:hover,
.page-home.page-students.page-access-admin .student-intro-actions .button.button-primary:focus-visible,
.page-home.page-students.page-access-admin .student-intro-actions .button.button-secondary:hover,
.page-home.page-students.page-access-admin .student-intro-actions .button.button-secondary:focus-visible {
  border-color: rgba(255, 191, 86, 0.92);
  background: rgba(214, 159, 63, 0.28);
  color: #fff6e3;
  box-shadow:
    inset 0 1px 0 rgba(255, 233, 191, 0.12),
    0 16px 30px rgba(109, 61, 8, 0.24),
    0 0 0 1px rgba(255, 191, 86, 0.12);
  transform: translateY(-1px);
}

.page-home.page-students.page-access-admin .access-account-card .button.button-secondary:hover,
.page-home.page-students.page-access-admin .access-account-card .button.button-secondary:focus-visible,
.page-home.page-students.page-access-admin .attendance-roster-form-actions .button.button-secondary:hover,
.page-home.page-students.page-access-admin .attendance-roster-form-actions .button.button-secondary:focus-visible {
  border-color: rgba(255, 191, 86, 0.92);
  background: rgba(214, 159, 63, 0.28);
  color: #fff6e3;
  box-shadow:
    inset 0 1px 0 rgba(255, 233, 191, 0.12),
    0 16px 30px rgba(109, 61, 8, 0.24),
    0 0 0 1px rgba(255, 191, 86, 0.12);
  transform: translateY(-1px);
}

.page-home.page-students.page-video-library .video-library-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  padding: 0.35rem 0;
}

.page-home.page-students.page-video-library .video-library-tabbar a {
  padding: 0.78rem 1rem;
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.page-home.page-students.page-video-library .video-library-tabbar a:hover,
.page-home.page-students.page-video-library .video-library-tabbar a:focus-visible {
  border-color: rgba(255, 191, 86, 0.24);
  background: rgba(255, 191, 86, 0.08);
  transform: translateY(-1px);
}

.page-home.page-students.page-video-library .video-library-summary {
  padding-top: 0.6rem;
}

.page-home.page-students.page-video-library #foundation-library,
.page-home.page-students.page-video-library #sf-videos,
.page-home.page-students.page-video-library #sf-classics {
  padding-top: 0.2rem;
}

.page-home.page-students.page-video-library .video-gallery-block {
  padding: 1.35rem;
  border-radius: 30px;
  border-color: rgba(232, 216, 191, 0.1);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.page-home.page-students.page-video-library .video-gallery-heading h3 {
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
}

.page-home.page-students.page-video-library .video-library-level-copy {
  max-width: 54rem;
  margin: 0.65rem 0 1rem;
  color: rgba(244, 239, 230, 0.76);
  line-height: 1.55;
}

.page-home.page-students.page-video-library .video-library-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.page-home.page-students.page-video-library .video-library-footer {
  padding-top: 0.2rem;
}

.page-home.page-students.page-video-library .video-library-footer-panel {
  border-radius: 30px;
}

.page-home.page-students.page-training-lesson .training-lesson-main {
  padding-top: clamp(1rem, 2vw, 1.6rem);
}

.page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-banner {
  align-items: start;
  min-height: 0;
}

.page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-copy,
.page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-summary {
  min-height: 0;
}

.page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-rail {
  align-self: start;
  min-height: 0;
}

.page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-actions {
  margin-top: 0;
}

.page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-zoom-inline {
  margin-top: 1rem;
}

.page-home.page-students.page-training-lesson .training-lesson-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.38fr);
  gap: 1rem;
  align-items: start;
}

.page-home.page-students.page-training-lesson .training-lesson-video-card,
.page-home.page-students.page-training-lesson .training-lesson-side {
  min-width: 0;
}

.page-home.page-students.page-training-lesson .training-lesson-side {
  display: grid;
  gap: 1rem;
}

.page-home.page-students.page-training-lesson .training-lesson-video-shell {
  overflow: hidden;
  margin-top: 1rem;
  border: 1px solid rgba(232, 216, 191, 0.1);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.32);
}

.page-home.page-students.page-training-lesson .training-lesson-video-shell [hidden] {
  display: none !important;
}

.page-home.page-students.page-training-lesson .training-lesson-video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home.page-students.page-training-lesson .training-lesson-video-shell iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.page-home.page-students.page-training-lesson .training-lesson-assignment {
  display: grid;
  gap: 0.85rem;
}

.page-home.page-students.page-training-lesson .training-lesson-assignment h3,
.page-home.page-students.page-training-lesson .training-lesson-assignment p {
  margin: 0;
}

.page-home.page-students.page-training-lesson .training-lesson-assignment p:not(.eyebrow) {
  color: rgba(244, 239, 230, 0.78);
  line-height: 1.55;
}

.page-home.page-students.page-training-lesson .training-lesson-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-home.page-students.page-training-lesson .training-lesson-lane-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 0.85rem;
}

.page-home.page-students.page-training-lesson .training-lesson-lane-card {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding: 1rem 1rem 0.95rem;
  border-radius: 24px;
}

.page-home.page-students.page-training-lesson .training-lesson-lane-card.is-selected {
  border-color: rgba(255, 191, 86, 0.52);
  box-shadow:
    0 18px 34px rgba(109, 61, 8, 0.18),
    inset 0 1px 0 rgba(255, 233, 191, 0.04);
}

.page-home.page-students.page-training-lesson .training-lesson-lane-card.is-locked {
  border-color: rgba(232, 216, 191, 0.08);
}

.page-home.page-students.page-training-lesson .training-lesson-lane-card.is-locked .training-lesson-module-watch-button {
  border-color: rgba(232, 216, 191, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(244, 239, 230, 0.52);
  cursor: not-allowed;
  opacity: 0.82;
  pointer-events: auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 22px rgba(0, 0, 0, 0.12);
}

.page-home.page-students.page-training-lesson .training-lesson-lane-card.is-locked .training-lesson-module-watch-button:hover {
  border-color: rgba(216, 74, 67, 0.68);
  background: rgba(159, 42, 36, 0.22);
  color: var(--dragon-red-ink);
  opacity: 0.9;
  box-shadow:
    inset 0 1px 0 rgba(255, 231, 223, 0.08),
    0 12px 24px rgba(80, 13, 12, 0.22);
}

.page-home.page-students.page-training-lesson .training-lesson-lane-card-head {
  display: grid;
  gap: 0.75rem;
}

.page-home.page-students.page-training-lesson .training-lesson-lane-card-copy {
  display: grid;
  gap: 0.45rem;
}

.page-home.page-students.page-training-lesson .training-lesson-lane-card-copy h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.08;
}

.page-home.page-students.page-training-lesson .training-lesson-lane-card h3,
.page-home.page-students.page-training-lesson .training-lesson-lane-card p {
  margin: 0;
}

.page-home.page-students.page-training-lesson .training-lesson-lane-card p:not(.program-tag) {
  color: rgba(244, 239, 230, 0.78);
  line-height: 1.45;
}

.page-home.page-students.page-training-lesson .training-lesson-lane-actions {
  gap: 0.45rem;
  margin-top: 0;
}

.page-home.page-students.page-training-lesson .training-lesson-lane-button,
.page-home.page-students.page-training-lesson .training-lesson-module-watch-button {
  min-width: 0;
  padding: 0.55rem 0.8rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  line-height: 1.1;
}

.page-home.page-students.page-training-lesson a.training-lesson-module-watch-button:hover,
.page-home.page-students.page-training-lesson a.training-lesson-module-watch-button:focus-visible {
  border-color: rgba(255, 191, 86, 0.92);
  background: rgba(214, 159, 63, 0.28);
  color: #fff6e3;
  box-shadow:
    inset 0 1px 0 rgba(255, 233, 191, 0.12),
    0 16px 30px rgba(109, 61, 8, 0.24),
    0 0 0 1px rgba(255, 191, 86, 0.12);
  transform: translateY(-1px);
}

.page-home.page-students.page-training-lesson .training-lesson-lane-button.is-active {
  border-color: rgba(255, 191, 86, 0.92);
  background: rgba(214, 159, 63, 0.28);
  color: #fff6e3;
}

.page-home.page-students.page-training-lesson .training-lesson-compact-module-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home.page-students.page-training-lesson .training-lesson-compact-module {
  display: grid;
  gap: 0.22rem;
  padding: 0.68rem 0.76rem;
  border: 1px solid rgba(232, 216, 191, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(18, 25, 35, 0.82), rgba(11, 16, 24, 0.92)),
    rgba(12, 17, 25, 0.9);
}

.page-home.page-students.page-training-lesson .training-lesson-compact-module.is-edited {
  border-color: rgba(255, 191, 86, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 191, 86, 0.05);
}

.page-home.page-students.page-training-lesson .training-lesson-detail-card.is-edited {
  border-color: rgba(255, 191, 86, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 191, 86, 0.06);
}

.page-home.page-students.page-training-lesson .training-lesson-compact-module-tag {
  color: var(--accent-strong) !important;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-home.page-students.page-training-lesson .training-lesson-compact-module strong {
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.2;
}

.page-home.page-students.page-training-lesson .training-lesson-compact-module span {
  color: rgba(244, 239, 230, 0.74);
  font-size: 0.88rem;
  line-height: 1.38;
}

.page-home.page-students.page-training-lesson .training-lesson-edit-alert {
  margin-top: 0.75rem;
}

.page-home.page-students.page-training-lesson .training-lesson-lane-section .section-heading {
  gap: 0.36rem 2rem;
  padding-top: 1.45rem;
}

.page-home.page-students.page-training-lesson .training-lesson-lane-section .section-heading .eyebrow {
  margin-bottom: 0;
}

.page-home.page-students.page-training-lesson .training-lesson-edit-mode-switch {
  display: inline-grid;
  grid-column: 1;
  grid-template-columns: repeat(2, max-content);
  justify-self: start;
  width: max-content;
  max-width: 100%;
  margin-top: -0.08rem;
  margin-bottom: 0;
  padding: 0.12rem;
  border: 1px solid rgba(255, 191, 86, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 191, 86, 0.08), rgba(5, 10, 17, 0.86)),
    rgba(7, 12, 20, 0.82);
}

.page-home.page-students.page-training-lesson .training-lesson-edit-mode-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: rgba(244, 239, 230, 0.72);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.page-home.page-students.page-training-lesson .training-lesson-edit-mode-option.is-active {
  background: linear-gradient(135deg, rgba(255, 191, 86, 0.98), rgba(216, 162, 74, 0.94));
  color: #20160a;
  box-shadow:
    0 7px 14px rgba(216, 162, 74, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.page-home.page-students.page-training-lesson .training-lesson-edit-mode-option:not(.is-active):hover,
.page-home.page-students.page-training-lesson .training-lesson-edit-mode-option:not(.is-active):focus-visible {
  color: #ffe2a6;
  background: rgba(255, 191, 86, 0.12);
  outline: none;
}

.page-home.page-students.page-training-lesson .training-lesson-module-edit-form,
.page-home.page-students.page-training-lesson .training-lesson-detail-edit-form {
  gap: 0.58rem;
  margin-top: 0.55rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(232, 216, 191, 0.1);
}

.page-home.page-students.page-training-lesson .training-lesson-compact-module-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
}

.page-home.page-students.page-training-lesson .training-lesson-compact-module-title {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.page-home.page-students.page-training-lesson .training-lesson-module-watch-button {
  align-self: start;
  justify-content: center;
  white-space: nowrap;
}

.page-home.page-students.page-training-lesson .training-lesson-module-watch-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  max-width: none;
}

.page-home.page-students.page-training-lesson .training-lesson-module-watch-group .training-lesson-module-watch-label {
  color: #ffffff !important;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-home.page-students.page-training-lesson .training-lesson-module-edit-grid,
.page-home.page-students.page-training-lesson .training-lesson-detail-edit-grid {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.8fr) minmax(0, 1.4fr);
  gap: 0.5rem;
}

.page-home.page-students.page-training-lesson .training-lesson-module-edit-form .auth-field,
.page-home.page-students.page-training-lesson .training-lesson-detail-edit-form .auth-field {
  gap: 0.28rem;
}

.page-home.page-students.page-training-lesson .training-lesson-module-edit-form .auth-field span,
.page-home.page-students.page-training-lesson .training-lesson-detail-edit-form .auth-field span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.page-home.page-students.page-training-lesson .training-lesson-module-edit-form .auth-field input,
.page-home.page-students.page-training-lesson .training-lesson-module-edit-form .auth-field textarea,
.page-home.page-students.page-training-lesson .training-lesson-detail-edit-form .auth-field input,
.page-home.page-students.page-training-lesson .training-lesson-detail-edit-form .auth-field textarea {
  min-height: 0;
  padding: 0.56rem 0.62rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.25;
}

.page-home.page-students.page-training-lesson .training-lesson-module-edit-form .auth-field textarea,
.page-home.page-students.page-training-lesson .training-lesson-detail-edit-form .auth-field textarea {
  min-height: 4.8rem;
}

.page-home.page-students.page-training-lesson .training-lesson-named-video-editor {
  display: grid;
  gap: 0.54rem;
}

.page-home.page-students.page-training-lesson .training-lesson-named-video-row {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.34fr) minmax(0, 1fr) minmax(13rem, 0.45fr);
  gap: 0.5rem;
  align-items: end;
  padding: 0.58rem;
  border: 1px solid rgba(255, 191, 86, 0.14);
  border-radius: 14px;
  background: rgba(5, 10, 16, 0.34);
}

.page-home.page-students.page-training-lesson .training-lesson-named-video-row > strong {
  align-self: center;
  color: #fff6e3;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.page-home.page-students.page-training-lesson .training-lesson-upload-progress {
  display: grid;
  gap: 0.42rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(118, 215, 168, 0.28);
  border-radius: 12px;
  background: rgba(26, 78, 58, 0.22);
}

.page-home.page-students.page-training-lesson .training-lesson-upload-progress[hidden] {
  display: none;
}

.page-home.page-students.page-training-lesson .training-lesson-upload-progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
}

.page-home.page-students.page-training-lesson .training-lesson-upload-progress-copy strong,
.page-home.page-students.page-training-lesson .training-lesson-upload-progress-copy span {
  color: #e9fff1;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-transform: uppercase;
}

.page-home.page-students.page-training-lesson .training-lesson-upload-progress-track {
  overflow: hidden;
  height: 0.48rem;
  border-radius: 999px;
  background: rgba(232, 216, 191, 0.12);
}

.page-home.page-students.page-training-lesson .training-lesson-upload-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #76d7a8, #ffbf56);
  transition: width 140ms ease;
}

.page-home.page-students.page-training-lesson .training-lesson-upload-progress p {
  margin: 0;
  color: rgba(244, 239, 230, 0.74);
  font-size: 0.82rem;
  line-height: 1.35;
}

.page-home.page-students.page-training-lesson .training-lesson-module-edit-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  margin-top: 0;
}

.page-home.page-students.page-training-lesson .training-lesson-module-edit-actions .button {
  justify-content: center;
  min-height: 2.15rem;
}

.page-home.page-students.page-training-lesson .training-lesson-list {
  display: grid;
  gap: 0.58rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home.page-students.page-training-lesson .training-lesson-list li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(244, 239, 230, 0.78);
  line-height: 1.45;
}

.page-home.page-students.page-training-lesson .training-lesson-list li::before {
  content: "";
  position: absolute;
  top: 0.52rem;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: rgba(78, 208, 180, 0.92);
}

.page-home.page-students.page-training-lesson .training-lesson-list-warn li::before {
  width: 0.62rem;
  height: 0.12rem;
  border-radius: 999px;
  background: rgba(255, 191, 86, 0.92);
}

@media (max-width: 980px) {
  .page-home.page-students.page-training-lesson .training-lesson-grid,
  .page-home.page-students.page-training-lesson .training-lesson-detail-grid {
    grid-template-columns: 1fr;
  }

  .page-home.page-students.page-training-lesson .training-lesson-lane-grid {
    grid-template-columns: 1fr;
  }

  .page-home.page-students.page-video-library .video-library-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .student-profile-page-grid,
  .student-profile-page-fields {
    grid-template-columns: 1fr;
  }

  .student-profile-page-card {
    padding: 1rem;
  }

  .page-home.page-students.page-training-lesson .portal-workspace,
  .page-home.page-students.page-training-lesson .portal-center-column,
  .page-home.page-students.page-training-lesson .training-lesson-hero,
  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-banner,
  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-copy,
  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-rail,
  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-summary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .page-home.page-students.page-training-lesson .site-shell {
    overflow-x: clip;
  }

  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-banner {
    gap: 1rem;
    justify-self: start;
    max-width: calc(100vw - 0.85rem);
    padding: 1.15rem;
    overflow: hidden;
  }

  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-copy,
  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-rail,
  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-summary {
    max-width: calc(100vw - 3.15rem);
    overflow: hidden;
  }

  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-copy h2 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8vw, 2.35rem);
    overflow-wrap: anywhere;
  }

  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-copy .lead,
  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-summary p,
  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-detail-list strong,
  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-zoom-copy {
    overflow-wrap: anywhere;
  }

  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-actions {
    width: 100%;
  }

  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-actions .button,
  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-zoom-inline .button {
    width: 100%;
    min-width: 0;
  }

  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-summary-head {
    display: grid;
  }

  .page-home.page-students.page-training-lesson .training-lesson-hero .portal-hero-corner-badge {
    justify-self: start;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }

  .page-home.page-students.page-training-lesson .training-lesson-module-edit-grid,
  .page-home.page-students.page-training-lesson .training-lesson-detail-edit-grid,
  .page-home.page-students.page-training-lesson .training-lesson-named-video-row {
    grid-template-columns: 1fr;
  }

  .page-home.page-students.page-training-lesson .training-lesson-module-edit-actions {
    grid-template-columns: 1fr;
  }

  .page-home.page-students.page-training-lesson .training-lesson-module-watch-group {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}

@media (max-width: 680px) {
  .page-home.page-students.page-video-library .video-library-resource-grid {
    grid-template-columns: 1fr;
  }
}

.page-home.page-students.page-payments-test .payments-test-toolbar-pill {
  align-items: center;
  gap: 0.4rem;
  min-width: 8.5rem;
}

.page-home.page-students.page-payments-test .payments-test-toolbar-pill strong {
  color: #f4efe6;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home.page-students.page-payments-test .payments-test-health {
  align-items: flex-start;
}

.page-home.page-students.page-payments-test .payments-test-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(214, 159, 63, 0.22);
  border-radius: 999px;
  background: rgba(255, 182, 75, 0.08);
  color: #f4d48b;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home.page-students.page-payments-test .payments-test-status-badge.is-live {
  border-color: rgba(78, 208, 180, 0.22);
  background: rgba(78, 208, 180, 0.1);
  color: #9df0de;
}

.page-home.page-students.page-payments-test .payments-test-option-grid,
.page-home.page-students.page-payments-test .payments-test-provider-grid,
.page-home.page-students.page-payments-test .payments-test-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.page-home.page-students.page-payments-test .payments-test-option-sections {
  display: grid;
  gap: 1rem;
}

.page-home.page-students.page-payments-test .payments-test-option-section {
  display: grid;
  gap: 0.85rem;
}

.page-home.page-students.page-payments-test .payments-test-option-section-head {
  display: grid;
  gap: 0.35rem;
}

.page-home.page-students.page-payments-test .payments-test-option-section-head h3 {
  margin: 0;
  color: #f4efe6;
  font-family: "Fraunces", serif;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
}

.page-home.page-students.page-payments-test .payments-test-option-section-head p:last-child {
  margin: 0;
  color: rgba(244, 239, 230, 0.7);
}

.page-home.page-students.page-payments-test .payments-test-option {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(224, 212, 188, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 29, 39, 0.9), rgba(12, 18, 26, 0.96));
  color: #f4efe6;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.page-home.page-students.page-payments-test .payments-test-option:hover,
.page-home.page-students.page-payments-test .payments-test-option:focus-visible,
.page-home.page-students.page-payments-test .payments-test-option.is-active {
  border-color: rgba(214, 159, 63, 0.32);
  background: linear-gradient(180deg, rgba(28, 39, 52, 0.92), rgba(14, 21, 30, 0.98));
  transform: translateY(-1px);
}

.page-home.page-students.page-payments-test .payments-test-option-badge {
  color: #f4d48b;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home.page-students.page-payments-test .payments-test-option strong,
.page-home.page-students.page-payments-test .payments-test-summary-card h3,
.page-home.page-students.page-payments-test .payments-test-provider h3 {
  color: #f4efe6;
  font-family: "Fraunces", serif;
  font-size: clamp(1.05rem, 1.6vw, 1.55rem);
  line-height: 1.08;
}

.page-home.page-students.page-payments-test .payments-test-option span,
.page-home.page-students.page-payments-test .payments-test-selected-meta,
.page-home.page-students.page-payments-test .payments-test-provider p,
.page-home.page-students.page-payments-test .payments-test-env-list li {
  color: rgba(244, 239, 230, 0.72);
}

.page-home.page-students.page-payments-test .payments-test-option-features {
  display: grid;
  gap: 0.4rem;
  margin: 0.15rem 0 0;
  padding-left: 1rem;
  color: rgba(244, 239, 230, 0.78);
  font-size: 0.92rem;
}

.page-home.page-students.page-payments-test .payments-test-option-features li {
  line-height: 1.4;
}

.page-home.page-students.page-payments-test .payments-test-option em,
.page-home.page-students.page-payments-test .payments-test-summary-card strong {
  color: #f4efe6;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-home.page-students.page-payments-test .payments-test-checkout-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 0.9rem;
  margin-top: 1rem;
}

.page-home.page-students.page-payments-test .payments-test-summary-card,
.page-home.page-students.page-payments-test .payments-test-checkout-card,
.page-home.page-students.page-payments-test .payments-test-provider {
  padding: 1rem;
  border: 1px solid rgba(224, 212, 188, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 26, 36, 0.92), rgba(11, 17, 24, 0.98));
}

.page-home.page-students.page-payments-test .payments-test-summary-card {
  display: grid;
  gap: 0.6rem;
}

.page-home.page-students.page-payments-test .payments-test-selected-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2rem;
  margin: 0;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(214, 159, 63, 0.18);
  border-radius: 999px;
  background: rgba(255, 182, 75, 0.08);
  color: #f4d48b;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home.page-students.page-payments-test .payments-test-selected-description {
  margin: 0;
  color: rgba(244, 239, 230, 0.76);
  line-height: 1.55;
}

.page-home.page-students.page-payments-test .payments-test-checkout-card {
  display: grid;
  gap: 0.9rem;
}

.page-home.page-students.page-payments-test .payments-test-return-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(95, 157, 229, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(20, 32, 46, 0.94), rgba(12, 18, 26, 0.98));
}

.page-home.page-students.page-payments-test .payments-test-return-card[data-tone="success"] {
  border-color: rgba(78, 208, 180, 0.22);
  background: linear-gradient(180deg, rgba(16, 40, 38, 0.94), rgba(10, 21, 23, 0.98));
}

.page-home.page-students.page-payments-test .payments-test-return-card[data-tone="error"] {
  border-color: rgba(255, 123, 114, 0.24);
  background: linear-gradient(180deg, rgba(52, 24, 27, 0.94), rgba(20, 12, 16, 0.98));
}

.page-home.page-students.page-payments-test .payments-test-return-card[data-tone="warning"] {
  border-color: rgba(255, 182, 75, 0.24);
  background: linear-gradient(180deg, rgba(46, 34, 17, 0.94), rgba(22, 16, 10, 0.98));
}

.page-home.page-students.page-payments-test .payments-test-return-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: start;
}

.page-home.page-students.page-payments-test .payments-test-return-head h3 {
  margin: 0.2rem 0 0;
}

.page-home.page-students.page-payments-test .payments-test-return-detail {
  margin: 0;
  color: rgba(244, 239, 230, 0.78);
}

.page-home.page-students.page-payments-test .payments-test-return-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.page-home.page-students.page-payments-test .payments-test-message {
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(214, 159, 63, 0.16);
  border-radius: 18px;
  background: rgba(255, 182, 75, 0.08);
  color: #f4efe6;
}

.page-home.page-students.page-payments-test .payments-test-message[data-tone="success"] {
  border-color: rgba(78, 208, 180, 0.22);
  background: rgba(78, 208, 180, 0.12);
}

.page-home.page-students.page-payments-test .payments-test-message[data-tone="error"] {
  border-color: rgba(255, 123, 114, 0.22);
  background: rgba(255, 123, 114, 0.12);
}

.page-home.page-students.page-payments-test .payments-test-message[data-tone="warning"] {
  border-color: rgba(255, 182, 75, 0.25);
  background: rgba(255, 182, 75, 0.12);
}

.page-home.page-students.page-payments-test .payments-test-message[data-tone="ready"] {
  border-color: rgba(95, 157, 229, 0.24);
  background: rgba(95, 157, 229, 0.12);
}

.page-home.page-students.page-payments-test .payments-test-provider-head {
  margin-bottom: 0.75rem;
}

.page-home.page-students.page-payments-test .payments-test-provider > div[id$="button"],
.page-home.page-students.page-payments-test #payments-test-apple-pay-shell {
  min-height: 44px;
}

.page-home.page-students.page-payments-test .payments-test-apple-pay-button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #0b1018;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-home.page-students.page-payments-test .payments-test-apple-pay-note,
.page-home.page-students.page-payments-test .payments-test-list li,
.page-home.page-students.page-payments-test .payments-test-env-list li {
  color: rgba(244, 239, 230, 0.74);
}

.page-home.page-students.page-payments-test .payments-test-list,
.page-home.page-students.page-payments-test .payments-test-env-list {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.2rem;
}

.page-home.page-students.page-payments-test .payments-test-list-ordered {
  list-style: decimal;
}

.page-home.page-students.page-payments-test .payments-test-env-list code {
  color: #f4efe6;
}

.page-home.page-students.page-stripe-payments-test .stripe-payments-test-primary {
  display: grid;
  gap: 0.9rem;
}

.page-home.page-students.page-stripe-payments-test .stripe-payments-test-primary p {
  color: rgba(244, 239, 230, 0.72);
}

.page-home.page-students.page-stripe-payments-test .stripe-payments-test-notice {
  display: grid;
  gap: 1rem;
}

.page-home.page-students.page-stripe-payments-test .stripe-payments-test-notice-success {
  border-color: rgba(78, 208, 180, 0.2);
  background: linear-gradient(180deg, rgba(15, 40, 37, 0.94), rgba(10, 21, 23, 0.98));
}

.page-home.page-students.page-stripe-payments-test .stripe-payments-test-notice-warning {
  border-color: rgba(214, 159, 63, 0.2);
}

.page-home.page-students.page-stripe-payments-test .stripe-payments-test-notice-error {
  border-color: rgba(255, 123, 114, 0.24);
  background: linear-gradient(180deg, rgba(52, 24, 27, 0.94), rgba(20, 12, 16, 0.98));
}

.page-home.page-students.page-stripe-payments-test .stripe-payments-test-session-grid,
.page-home.page-students.page-stripe-payments-test .stripe-payments-test-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 1180px) {
  .page-home.page-students.page-customer-portal-test .customer-portal-test-layout {
    grid-template-columns: minmax(220px, 16rem) minmax(0, 1fr);
  }

  .page-home.page-students.page-customer-portal-test .customer-portal-test-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home.page-students.page-payments-test .payments-test-option-grid,
  .page-home.page-students.page-payments-test .payments-test-provider-grid,
  .page-home.page-students.page-payments-test .payments-test-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home.page-students.page-stripe-payments-test .stripe-payments-test-session-grid,
  .page-home.page-students.page-stripe-payments-test .stripe-payments-test-scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .page-home.page-students.page-customer-portal-test .topbar,
  .page-home.page-students.page-customer-portal-test .customer-portal-test-main {
    width: min(calc(100% - 0.85rem), 140rem) !important;
  }

  .page-home.page-students.page-customer-portal-test .customer-portal-test-layout,
  .page-home.page-students.page-customer-portal-test .customer-portal-test-kpis,
  .page-home.page-students.page-customer-portal-test .customer-portal-test-analytics,
  .page-home.page-students.page-customer-portal-test .customer-portal-test-workspace,
  .page-home.page-students.page-customer-portal-test .customer-portal-test-rail,
  .page-home.page-students.page-customer-portal-test .customer-portal-test-tools-grid,
  .page-home.page-students.page-customer-portal-test .customer-portal-test-hero,
  .page-home.page-students.page-customer-portal-test .customer-portal-test-card-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home.page-students.page-customer-portal-test .customer-portal-test-layout {
    display: flex;
    flex-direction: column;
  }

  .page-home.page-students.page-customer-portal-test .customer-portal-test-sidebar,
  .page-home.page-students.page-customer-portal-test .customer-portal-test-rail {
    position: static;
  }

  .page-home.page-students.page-customer-portal-test .customer-portal-test-sidebar {
    order: -2;
  }

  .page-home.page-students.page-customer-portal-test .customer-portal-test-rail {
    order: -1;
  }

  .page-home.page-students.page-customer-portal-test .customer-portal-test-center {
    order: 0;
  }

  .page-home.page-students.page-customer-portal-test .customer-portal-test-chart-shell {
    min-height: 280px;
    height: 280px;
  }

  .page-home.page-students.page-customer-portal-test .customer-portal-test-chart-shell.is-compact {
    min-height: 300px;
    height: 300px;
  }

  .page-home.page-students.page-customer-portal-test .customer-portal-test-chart-shell canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
  }

  .page-home.page-students.page-payments-test .payments-test-option-grid,
  .page-home.page-students.page-payments-test .payments-test-provider-grid,
  .page-home.page-students.page-payments-test .payments-test-method-grid,
  .page-home.page-students.page-payments-test .payments-test-checkout-grid,
  .page-home.page-students.page-payments-test .payments-test-return-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home.page-students.page-stripe-payments-test .stripe-payments-test-session-grid,
  .page-home.page-students.page-stripe-payments-test .stripe-payments-test-scenario-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* chart-size-hotfix-20260417 */
.page-home.page-students .portal-analytics-card {
  padding: 0.75rem 0.8rem !important;
}

.page-home.page-students .portal-analytics-head {
  margin-bottom: 0.35rem !important;
  gap: 0.45rem 0.7rem !important;
}

.page-home.page-students .portal-chart-shell {
  min-height: 140px !important;
  height: 140px !important;
  max-height: 140px !important;
}

.page-home.page-students .portal-chart-shell.portal-chart-shell-compact {
  min-height: 180px !important;
  height: 180px !important;
  max-height: 180px !important;
}

.page-home.page-students .portal-chart-notes {
  margin-top: 0.25rem !important;
  gap: 0.25rem !important;
}

.page-home.page-students .portal-chart-notes span {
  font-size: 0.74rem !important;
  line-height: 1.3 !important;
}

/* Homepage top social links */
.page-home .top-social-links {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
}

.page-home .top-social-link {
  display: inline-grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(255, 224, 207, 0.16);
  border-radius: 8px;
  background: rgba(8, 12, 18, 0.22);
  color: rgba(255, 238, 233, 0.9);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.page-home .top-social-link svg {
  width: 1.26rem;
  height: 1.26rem;
  fill: currentColor;
}

.page-home .top-social-link:hover,
.page-home .top-social-link:focus-visible {
  transform: translateY(-1px);
  color: #ffffff;
  outline: none;
}

.page-home .top-social-link-facebook:hover,
.page-home .top-social-link-facebook:focus-visible {
  border-color: rgba(118, 170, 255, 0.72);
  background: linear-gradient(180deg, rgba(64, 138, 239, 0.94), rgba(24, 96, 204, 0.94));
  box-shadow: 0 14px 28px rgba(24, 119, 242, 0.24);
}

.page-home .top-social-link-instagram:hover,
.page-home .top-social-link-instagram:focus-visible {
  border-color: rgba(255, 183, 117, 0.74);
  background: linear-gradient(135deg, rgba(92, 64, 214, 0.94), rgba(214, 54, 132, 0.94) 52%, rgba(247, 150, 58, 0.94));
  box-shadow: 0 14px 28px rgba(214, 54, 132, 0.24);
}

@media (max-width: 1120px) {
  .page-home .top-social-link {
    width: 2.4rem;
    height: 2.4rem;
  }
}

@media (max-width: 980px) {
  .page-home .top-social-links {
    margin-left: auto;
  }

  .page-home .menu-toggle {
    margin-left: 0;
  }

  .page-home .top-social-link {
    width: 2.65rem;
    height: 2.65rem;
  }
}

@media (max-width: 520px) {
  .page-home .top-social-links {
    gap: 0.35rem;
  }

  .page-home .top-social-link {
    width: 2.35rem;
    height: 2.35rem;
  }

  .page-home .top-social-link svg {
    width: 1.12rem;
    height: 1.12rem;
  }
}

@media (max-width: 520px) {
  html.is-mobile-browser .mobile-home-access {
    width: min(calc(100% - 1.5rem), var(--max-width));
    margin-top: 0.65rem;
    padding: 0.95rem;
    border-radius: 22px;
  }

  html.is-mobile-browser .mobile-home-access + main .hero {
    padding-top: 1.1rem !important;
  }
}

/* Profile page header normalization: keep it aligned with the main/student site header. */
.page-home.page-students.page-student-profile .topbar {
  width: min(calc(100% - 0.7rem), 140rem) !important;
  margin-top: 0.7rem;
  padding: 0.9rem 1.25rem;
  border-radius: 24px;
}

.page-home.page-students.page-student-profile .brand {
  gap: 1.05rem;
}

.page-home.page-students.page-student-profile .brand-mark {
  width: 4.85rem;
}

.page-home.page-students.page-student-profile .brand-copy strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.42rem;
  line-height: 1;
  letter-spacing: 0.01em;
}

.page-home.page-students.page-student-profile .brand-copy span {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.92rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.page-home.page-students.page-student-profile .site-nav {
  gap: 1rem;
}

.page-home.page-students.page-student-profile .site-nav a {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1;
}

.page-home.page-students.page-student-profile .nav-login,
.page-home.page-students.page-student-profile .nav-cta {
  padding: 0.72rem 1rem;
}

/* Profile page detail and saved-image layout. */
.page-home.page-students.page-student-profile .student-profile-page-detail-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.2rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 191, 86, 0.14);
}

.page-home.page-students.page-student-profile .student-profile-page-detail-list div {
  display: grid;
  grid-template-columns: minmax(5.8rem, 0.52fr) minmax(0, 1fr);
  gap: 0.55rem;
  align-items: baseline;
}

.page-home.page-students.page-student-profile .student-profile-page-detail-list dt,
.page-home.page-students.page-student-profile .student-profile-page-gallery-copy span,
.page-home.page-students.page-student-profile .student-profile-page-section-head > p {
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.78rem;
  line-height: 1.35;
}

.page-home.page-students.page-student-profile .student-profile-page-detail-list dt {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-home.page-students.page-student-profile .student-profile-page-detail-list dd {
  margin: 0;
  min-width: 0;
  color: rgba(255, 250, 242, 0.88);
  font-size: 0.82rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.page-home.page-students.page-student-profile .student-profile-page-gallery-card {
  grid-column: 1 / -1;
}

.page-home.page-students.page-student-profile .student-profile-page-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.72fr);
  gap: 1rem;
  align-items: end;
}

.page-home.page-students.page-student-profile .student-profile-page-section-head .eyebrow {
  margin: 0 0 0.35rem;
}

.page-home.page-students.page-student-profile .student-profile-page-section-head > p {
  margin: 0;
}

.page-home.page-students.page-student-profile .student-profile-page-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.page-home.page-students.page-student-profile .student-profile-page-gallery-slot {
  display: grid;
  gap: 0.62rem;
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid rgba(255, 191, 86, 0.13);
  border-radius: 12px;
  background: rgba(5, 8, 13, 0.4);
}

.page-home.page-students.page-student-profile .student-profile-page-gallery-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 191, 86, 0.08), rgba(220, 48, 54, 0.07)),
    rgba(2, 5, 9, 0.88);
}

.page-home.page-students.page-student-profile .student-profile-page-gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home.page-students.page-student-profile .student-profile-page-gallery-frame span {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  color: rgba(255, 191, 86, 0.76);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-home.page-students.page-student-profile .student-profile-page-gallery-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.page-home.page-students.page-student-profile .student-profile-page-gallery-copy strong {
  min-width: 0;
  color: rgba(255, 250, 242, 0.92);
  font-size: 0.86rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.page-home.page-students.page-student-profile .student-profile-page-gallery-form {
  display: grid;
  gap: 0.55rem;
}

.page-home.page-students.page-student-profile .student-profile-page-gallery-form .auth-field input[type="file"],
.page-home.page-students.page-student-profile .student-profile-page-upload .auth-field input[type="file"] {
  min-height: 2.1rem;
  padding: 0.46rem 0.6rem;
}

.page-home.page-students.page-student-profile .student-profile-page-gallery-form .button {
  width: 100%;
}

@media (max-width: 1120px) {
  .page-home.page-students.page-student-profile .student-profile-page-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .page-home.page-students.page-student-profile .student-profile-page-section-head,
  .page-home.page-students.page-student-profile .student-profile-page-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-home.page-students.page-student-profile .student-profile-page-detail-list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.12rem;
  }
}

/* Homepage header CTA pass: request access matches contact, login softens into the dragon red accent. */
.page-home:not(.page-students) .site-nav .nav-cta,
.page-home:not(.page-students) .site-nav .nav-login[href="student/request-account.php"] {
  border-color: rgba(255, 191, 86, 0.78);
  color: #17120b;
  background: linear-gradient(180deg, #e7c274 0%, #c89a46 100%);
  box-shadow: 0 10px 22px rgba(216, 162, 74, 0.16);
}

.page-home:not(.page-students) .site-nav .nav-cta:hover,
.page-home:not(.page-students) .site-nav .nav-cta:focus-visible,
.page-home:not(.page-students) .site-nav .nav-login[href="student/request-account.php"]:hover,
.page-home:not(.page-students) .site-nav .nav-login[href="student/request-account.php"]:focus-visible {
  border-color: rgba(255, 226, 150, 0.98);
  color: #111;
  background: linear-gradient(180deg, #f5dc94 0%, #d9a64f 100%);
  box-shadow:
    0 18px 36px rgba(216, 162, 74, 0.36),
    0 0 0 1px rgba(255, 230, 172, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.page-home:not(.page-students) .site-nav .nav-login[href="student/login.php"] {
  border-color: rgba(238, 132, 116, 0.28);
  color: #d8c0b8;
  background: rgba(232, 105, 91, 0.085);
}

.page-home:not(.page-students) .site-nav .nav-login[href="student/login.php"]:hover,
.page-home:not(.page-students) .site-nav .nav-login[href="student/login.php"]:focus-visible {
  border-color: rgba(238, 132, 116, 0.54);
  color: #f2c7bd;
  background: rgba(232, 105, 91, 0.14);
  box-shadow:
    0 14px 28px rgba(216, 64, 48, 0.16),
    0 0 0 1px rgba(255, 154, 134, 0.12);
}
