:root {
  --bg: #fbf8f1;
  --bg-warm: linear-gradient(180deg, #fdfbf6 0%, #f8f4ec 100%);
  --surface: rgba(255, 252, 247, 0.94);
  --surface-strong: #fffdfa;
  --ink: #1a295b;
  --muted: #5f6b88;
  --line: rgba(26, 41, 91, 0.12);
  --accent: #c8a44e;
  --accent-deep: #ad8732;
  --forest: #1a295b;
  --danger: #a6473d;
  --shadow: 0 20px 60px rgba(73, 70, 106, 0.08);
  --radius-xl: 30px;
  --radius-md: 16px;
}

:root[data-theme="dark"] {
  --bg: #0f172f;
  --bg-warm: linear-gradient(180deg, #10182f 0%, #0c1325 100%);
  --surface: rgba(18, 27, 50, 0.92);
  --surface-strong: #15203d;
  --ink: #f6f1e8;
  --muted: #a9b4d0;
  --line: rgba(214, 221, 245, 0.12);
  --accent: #d7b567;
  --accent-deep: #f0c86b;
  --forest: #f6f1e8;
  --danger: #dc8b82;
  --shadow: 0 24px 68px rgba(2, 8, 20, 0.42);
}

:root[data-brand-theme="ocean"] {
  --bg: #f4fbff;
  --bg-warm: linear-gradient(180deg, #f7fcff 0%, #edf7fb 100%);
  --surface: rgba(248, 253, 255, 0.95);
  --surface-strong: #ffffff;
  --ink: #193a58;
  --muted: #5a7287;
  --line: rgba(25, 58, 88, 0.12);
  --accent: #4ea4b8;
  --accent-deep: #2e869b;
  --forest: #193a58;
}

:root[data-brand-theme="forest"] {
  --bg: #f5faf4;
  --bg-warm: linear-gradient(180deg, #f8fcf6 0%, #eef5ed 100%);
  --surface: rgba(250, 255, 249, 0.95);
  --surface-strong: #ffffff;
  --ink: #203b33;
  --muted: #5e756d;
  --line: rgba(32, 59, 51, 0.12);
  --accent: #6da27a;
  --accent-deep: #4f8660;
  --forest: #203b33;
}

:root[data-brand-theme="rose"] {
  --bg: #fff7f8;
  --bg-warm: linear-gradient(180deg, #fffafb 0%, #f7eff2 100%);
  --surface: rgba(255, 251, 252, 0.95);
  --surface-strong: #ffffff;
  --ink: #5a2741;
  --muted: #866073;
  --line: rgba(90, 39, 65, 0.12);
  --accent: #cb7b93;
  --accent-deep: #ab5f77;
  --forest: #5a2741;
}

:root[data-brand-theme="ocean"][data-theme="dark"] {
  --bg: #0d1c29;
  --bg-warm: linear-gradient(180deg, #102130 0%, #0b1621 100%);
  --surface: rgba(17, 31, 44, 0.92);
  --surface-strong: #143244;
  --ink: #eef7fb;
  --muted: #a8c2cf;
  --line: rgba(190, 223, 235, 0.12);
  --accent: #73c1d3;
  --accent-deep: #93d3e0;
  --forest: #eef7fb;
}

:root[data-brand-theme="forest"][data-theme="dark"] {
  --bg: #111d18;
  --bg-warm: linear-gradient(180deg, #14241d 0%, #0d1613 100%);
  --surface: rgba(20, 34, 28, 0.92);
  --surface-strong: #1a3a2e;
  --ink: #f1f7f3;
  --muted: #abc2b2;
  --line: rgba(202, 226, 209, 0.12);
  --accent: #90c49d;
  --accent-deep: #a8d5b3;
  --forest: #f1f7f3;
}

:root[data-brand-theme="rose"][data-theme="dark"] {
  --bg: #24131a;
  --bg-warm: linear-gradient(180deg, #2a1820 0%, #170d12 100%);
  --surface: rgba(42, 22, 32, 0.92);
  --surface-strong: #5d3141;
  --ink: #fff2f7;
  --muted: #d3b0be;
  --line: rgba(242, 210, 222, 0.12);
  --accent: #de8aa7;
  --accent-deep: #f0aac1;
  --forest: #fff2f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Canela", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  color: var(--ink);
  background: var(--bg-warm);
}

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

.container {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header .container {
  width: min(1560px, calc(100vw - 24px));
}

.site-header {
  z-index: 20;
  background: #fffdfa;
  border-bottom: 1px solid rgba(26, 41, 91, 0.12);
}

:root[data-theme="dark"] .site-header {
  background: rgba(13, 20, 38, 0.94);
  border-bottom-color: rgba(214, 221, 245, 0.08);
  backdrop-filter: blur(16px);
}

.nav-row,
.nav-links,
.button-row,
.section-heading,
.meta-row,
.split-layout,
.footer-grid,
.stats-grid {
  display: flex;
  gap: 16px;
}

.nav-row,
.section-heading {
  justify-content: space-between;
  align-items: center;
}

.nav-row {
  position: relative;
  padding: 0;
  gap: 52px;
}

.brand {
  display: grid;
  justify-items: start;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  min-width: 120px;
  padding: 6px 0 4px;
  margin-left: 52px;
  margin-right: 18px;
}

.brand-logo {
  display: block;
  width: clamp(110px, 11vw, 155px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-monogram {
  font-family: "Canela", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 4rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
  position: relative;
}

.brand-monogram::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -6px;
  height: 2px;
  background: rgba(200, 164, 78, 0.85);
}

.brand strong,
.brand small {
  display: block;
  text-align: center;
}

.brand strong {
  font-family: "Canela", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand small,
.eyebrow,
.helper-text,
.flash,
.pill {
  color: var(--muted);
}

.brand small {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.nav-links {
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  flex: 1 1 auto;
  gap: 8px;
  margin-left: 56px;
  width: 100%;
  padding-right: 0;
}

.mobile-nav-shell {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
}

.mobile-nav-toggle {
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(26, 41, 91, 0.12);
  background: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  box-shadow: 0 12px 28px rgba(26, 41, 91, 0.08);
}

.mobile-nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(290px, calc(100vw - 24px));
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 253, 250, 0.98);
  border: 1px solid rgba(26, 41, 91, 0.08);
  box-shadow: 0 20px 40px rgba(26, 41, 91, 0.14);
  z-index: 40;
}

.mobile-nav-panel.is-open {
  display: grid;
  gap: 8px;
}

.mobile-nav-panel a,
.mobile-nav-panel .login-link,
.mobile-nav-panel .logout-link {
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.98rem;
}

.nav-links a {
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  position: relative;
}

.theme-toggle::before {
  content: "☀";
  font-size: 0.95rem;
  line-height: 1;
}

:root[data-theme="dark"] .theme-toggle::before {
  content: "☾";
  font-size: 1rem;
}

:root[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(214, 221, 245, 0.1);
}

.nav-links a.is-active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.login-link {
  color: var(--accent) !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logout-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(23, 36, 79, 0.08);
  color: var(--ink) !important;
  font-size: 0.9rem;
}

.nav-utility-link {
  gap: 8px;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(200, 164, 78, 0.2);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
}

.login-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ink);
  position: relative;
  display: inline-block;
}

.login-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%);
}

.login-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 14px;
  height: 8px;
  border-radius: 8px 8px 3px 3px;
  background: #fff;
  transform: translateX(-50%);
}

.nav-cta,
.button {
  border-radius: 999px;
  transition: 180ms ease;
}

.nav-cta,
.button-primary {
  background: var(--accent);
  color: #fffdf8;
}

.nav-cta,
.button {
  padding: 12px 18px;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.button-primary:hover,
.nav-cta:hover {
  background: var(--accent-deep);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.8);
}

.button-ghost {
  border: 1px solid rgba(23, 36, 79, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.92);
}

.admin-inline-editor {
  width: min(1180px, calc(100vw - 40px));
  margin: 12px auto 0;
  padding: 0;
}

.admin-inline-editor summary {
  width: fit-content;
  cursor: pointer;
  list-style: none;
  border: 1px solid rgba(23, 36, 79, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-inline-editor summary::-webkit-details-marker {
  display: none;
}

.admin-inline-editor-form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(23, 36, 79, 0.1);
  background: rgba(255, 253, 250, 0.96);
  box-shadow: var(--shadow);
}

.admin-inline-editor-form textarea {
  min-height: 260px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.86rem;
  line-height: 1.55;
}

.button-small {
  padding: 9px 14px;
  font-size: 0.82rem;
}

.lms-back-button {
  margin-top: 8px;
  width: fit-content;
  border-radius: 999px;
}

.lms-hero-shell {
  position: relative;
}

.page-stack > .section-intro.lms-hero-shell {
  padding: 14px 22px 16px;
  background:
    radial-gradient(circle at top left, rgba(198, 214, 255, 0.42), transparent 42%),
    radial-gradient(circle at top right, rgba(222, 205, 255, 0.28), transparent 36%),
    linear-gradient(135deg, rgba(251, 251, 248, 0.98), rgba(241, 246, 255, 0.96));
  border: 1px solid rgba(118, 139, 214, 0.18);
  box-shadow: 0 20px 48px rgba(24, 39, 86, 0.1);
  overflow: hidden;
}

.page-stack > .section-intro.lms-hero-shell::after {
  content: "";
  position: absolute;
  inset: auto -6% -40% auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(198, 164, 78, 0.12), transparent 70%);
  pointer-events: none;
}

.page-stack > .section-intro.lms-hero-shell .eyebrow {
  color: rgba(44, 63, 119, 0.78);
  margin-bottom: 8px;
}

.page-stack > .section-intro.lms-hero-shell h1 {
  max-width: 18ch;
  font-size: clamp(1.85rem, 2.8vw, 2.45rem);
  line-height: 0.98;
  margin-bottom: 6px;
}

.page-stack > .section-intro.lms-hero-shell > p:not(.eyebrow) {
  max-width: 72ch;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.48;
  color: rgba(58, 72, 111, 0.9);
}

.page-stack > .section-intro.lms-hero-shell .lms-back-button-corner {
  top: 18px;
  right: 18px;
}

.lms-back-button-corner {
  position: absolute;
  top: 24px;
  right: 24px;
  margin-top: 0;
}

.flash-stack {
  margin-top: 20px;
}

.flash {
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.flash-success {
  color: var(--forest);
}

.flash-danger {
  color: var(--danger);
}

.hero-page,
.page-stack {
  padding: 28px 0 60px;
}

.info-page-shell {
  padding-top: 54px;
}

.info-page-hero-approach {
  width: min(1440px, calc(100vw - 28px));
  max-width: none;
}

.info-page-hero-serve {
  width: min(1440px, calc(100vw - 28px));
  max-width: none;
}

.info-page-card {
  padding: 46px 48px;
}

.info-page-card-shell {
  display: block;
}

.info-page-card-shell.has-intro-image {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  gap: 26px;
  align-items: end;
}

.info-page-card-copy {
  min-width: 0;
}

.info-page-card-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 100%;
  overflow: hidden;
}

.info-page-card-image {
  width: 100%;
  max-width: 470px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.92;
  filter: saturate(0.96) contrast(0.98);
}

.info-page-card h1 {
  max-width: 13ch;
  margin-bottom: 22px;
}

.info-page-card-approach {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
}

.info-page-card-serve {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.52), transparent 34%),
    radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.26), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    #e7eaef;
  box-shadow: none;
  border: 0;
  padding: 48px 0 56px;
  border-radius: 34px;
}

.info-page-card-serve .info-page-card-shell {
  display: block;
}

.info-page-card-serve .info-page-card-copy {
  text-align: center;
  margin: 0 auto;
}

.info-page-card-serve .eyebrow {
  margin: 0 auto 34px;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  line-height: 1.7;
  color: var(--ink);
}

.info-page-eyebrow-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
}

.info-page-eyebrow-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, opacity 180ms ease;
}

.info-page-eyebrow-links a:hover,
.info-page-eyebrow-links a:focus-visible {
  border-bottom-color: currentColor;
  opacity: 0.78;
}

.info-page-card-serve h1 {
  max-width: none;
  margin: 0 auto 24px;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-align: center;
}

.info-page-card-serve .info-page-intro {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.56;
  text-align: center;
}

.info-page-card-approach .info-page-card-shell.has-intro-image {
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.58fr);
  gap: 18px;
  align-items: center;
}

.info-page-card-approach .info-page-card-copy {
  background: #f8f1e2;
  border-radius: 48px;
  padding: 34px 56px 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
}

.info-page-card-approach h1 {
  max-width: 5ch;
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 5.8vw, 5rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.info-page-card-approach .info-page-intro {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.52;
  margin-bottom: 14px;
}

.info-page-card-approach .info-page-text {
  max-width: 66ch;
  font-size: 1.03rem;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--ink);
}

.info-page-card-approach .info-page-text:last-of-type {
  margin-top: 4px;
}

.info-page-card-approach .info-page-card-visual {
  align-items: center;
  justify-content: center;
  min-height: 100%;
  width: min(100%, 460px);
  max-width: 460px;
  height: 680px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50% / 38%;
  background: transparent;
}

.info-page-card-approach .info-page-card-image {
  width: 112%;
  height: 112%;
  object-fit: cover;
  object-position: 52% 30%;
  border-radius: 0;
  mix-blend-mode: normal;
  opacity: 1;
  filter: none;
  display: block;
}

.info-page-intro {
  max-width: 48ch;
  font-size: 1.14rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 22px;
}

.info-page-text {
  max-width: 62ch;
  color: var(--home-muted, var(--muted));
  margin-bottom: 16px;
}

.info-page-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.info-page-list-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
}

.info-page-actions {
  margin-top: 26px;
}

.info-feature-card {
  background: #f7f4ec;
  padding: 42px 0 44px;
  text-align: left;
}

.info-feature-heading {
  max-width: none;
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  line-height: 0.98;
}

.info-feature-intro,
.info-feature-text {
  max-width: 76ch;
  margin: 0 0 18px;
  color: var(--home-muted, var(--muted));
}

.info-feature-intro {
  font-size: 1.06rem;
  line-height: 1.68;
}

.info-feature-text {
  font-size: 1rem;
  line-height: 1.64;
}

.info-feature-dropcap {
  float: left;
  font-family: "Canela", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 3.8rem;
  line-height: 0.82;
  padding-right: 10px;
  color: var(--ink);
}

.info-feature-card-secondary {
  background: #fbf8f1;
}

.info-feature-card-serve-split {
  background: transparent;
  padding: 34px 0 46px;
}

.info-feature-card-serve-split-blue {
  background: #eef1fa;
  padding: 42px 0 48px;
  border-radius: 0;
}

.info-serve-split-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 42px;
  align-items: start;
}

.info-serve-split-copy {
  max-width: 100%;
}

.info-feature-card-serve-split .info-feature-heading {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  line-height: 1.02;
}

.info-feature-card-serve-split .info-feature-text {
  max-width: 62ch;
  margin-bottom: 22px;
  font-size: 1.06rem;
  line-height: 1.5;
}

.info-serve-split-intro {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.04rem;
}

.info-serve-split-list {
  margin: 0 0 28px 1.15rem;
  padding: 0;
  color: var(--ink);
  display: grid;
  gap: 8px;
  font-size: 1.02rem;
  line-height: 1.38;
}

.info-serve-split-button {
  border-radius: 999px;
  min-width: 270px;
}

.info-serve-split-visual {
  display: flex;
  justify-content: center;
}

.info-serve-split-image {
  width: 100%;
  max-width: 470px;
  aspect-ratio: 0.8 / 1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.info-feature-secondary-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(260px, 0.82fr);
  gap: 24px;
  align-items: center;
}

.info-feature-secondary-copy {
  min-width: 0;
}

.info-feature-secondary-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.info-feature-secondary-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.92;
  filter: saturate(0.98) contrast(0.98);
}

.info-feature-quote {
  max-width: 28ch;
  margin: 22px 0;
  font-family: "Canela", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.08;
  color: var(--ink);
}

.info-grid-card {
  background: #fbf8f1;
  padding: 40px 0 48px;
}

.info-grid-heading {
  max-width: 9ch;
  margin: 0 auto 54px;
  text-align: center;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.info-grid-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px 58px;
}

.info-grid-item {
  text-align: left;
}

.info-grid-number {
  font-family: "Canela", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.1rem, 3.4vw, 3.4rem);
  line-height: 0.9;
  color: var(--accent);
  margin-bottom: 14px;
}

.info-grid-item-title {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.06;
  margin-bottom: 10px;
}

.info-grid-item-body {
  margin: 0;
  color: var(--home-muted, var(--muted));
  font-size: 0.98rem;
  line-height: 1.5;
}

.info-slim-card {
  background: #f7f1e2;
  padding: 34px 0;
}

.info-slim-card-dark {
  background: #17244f;
  padding: 52px 0 58px;
}

.info-slim-card-grey {
  background: #eceff4;
  padding: 34px 0 38px;
}

.info-slim-card-blue {
  background: #e6edf8;
  padding: 34px 0 38px;
}

.info-slim-card-white {
  background: #f8f7f2;
  padding: 34px 0 38px;
}

.info-slim-card-dark .info-slim-shell {
  grid-template-columns: 1fr;
  gap: 22px;
  text-align: center;
}

.info-slim-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 84px;
  align-items: start;
}

.info-slim-heading {
  max-width: 5.2ch;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 0.92;
  margin: 0;
}

.info-slim-copy {
  max-width: 66ch;
}

.info-slim-card-grey .info-slim-shell {
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1.24fr);
  gap: 64px;
  align-items: start;
}

.info-slim-card-blue .info-slim-shell {
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1.24fr);
  gap: 64px;
  align-items: start;
}

.info-slim-card-white .info-slim-shell {
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1.24fr);
  gap: 64px;
  align-items: start;
}

.info-slim-card-grey .info-slim-heading {
  max-width: 6ch;
}

.info-slim-card-white .info-slim-heading {
  max-width: 4.5ch;
}

.info-slim-card-blue .info-slim-heading {
  max-width: 7ch;
}

.info-slim-lead,
.info-slim-text {
  margin: 0 0 30px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.42;
}

.info-slim-card-grey .info-slim-lead {
  font-size: 1.08rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.info-slim-card-grey .info-slim-text {
  max-width: 72ch;
  line-height: 1.58;
  margin-bottom: 0;
}

.info-slim-card-blue .info-slim-lead {
  font-size: 1.08rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.info-slim-card-blue .info-slim-text {
  max-width: 74ch;
  line-height: 1.6;
  margin-bottom: 0;
}

.info-slim-card-white .info-slim-lead {
  font-size: 1.08rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.info-slim-card-white .info-slim-text {
  max-width: 72ch;
  line-height: 1.58;
  margin-bottom: 0;
}

.info-slim-lead strong {
  font-weight: 800;
}

.info-slim-card-dark .info-slim-heading,
.info-slim-card-dark .info-slim-lead,
.info-slim-card-dark .info-slim-text {
  color: #fffdf8;
}

.info-slim-card-dark .info-slim-heading,
.info-slim-card-dark .info-slim-copy {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.info-slim-card-dark .info-slim-heading {
  max-width: none;
  margin-bottom: 0;
}

.info-slim-card-dark .info-slim-lead,
.info-slim-card-dark .info-slim-text {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.info-slim-card-dark .info-slim-lead {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.info-closing-card {
  background: #17244f;
  padding: 52px 0 58px;
}

.info-closing-shell {
  text-align: center;
}

.info-closing-heading {
  max-width: none;
  margin: 0 auto 18px;
  font-size: clamp(2.8rem, 5.6vw, 4.5rem);
  line-height: 0.98;
  color: #fffdf8;
}

.info-closing-text {
  max-width: 48ch;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.46;
  color: rgba(255, 253, 248, 0.96);
}

.info-contact-card {
  background: #eaedf7;
  padding: 56px 0;
}

.info-contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 96px;
  align-items: center;
}

.info-contact-copy {
  max-width: 34rem;
}

.info-contact-heading {
  max-width: 7ch;
  margin: 0 0 30px;
  font-size: clamp(3rem, 5.6vw, 4.9rem);
  line-height: 0.92;
}

.info-contact-text {
  max-width: 25ch;
  margin: 0 0 30px;
  font-size: 1rem;
  line-height: 1.48;
  color: var(--home-muted, var(--muted));
}

.info-contact-rule {
  width: min(100%, 460px);
  height: 1px;
  background: rgba(26, 41, 91, 0.15);
}

.info-contact-form {
  display: grid;
  gap: 14px;
  background: rgba(252, 250, 244, 0.98);
  border-radius: 34px;
  padding: 28px 20px 18px;
  border: 1px solid rgba(26, 41, 91, 0.06);
}

.info-contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
}

.info-contact-form label span {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.info-contact-form input,
.info-contact-form textarea {
  border-radius: 8px;
  border: 1px solid rgba(26, 41, 91, 0.14);
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 11px;
}

.info-contact-form textarea {
  min-height: 86px;
}

.info-contact-form .button {
  width: 100%;
  justify-content: center;
  padding-block: 12px;
}

.info-navy-band {
  background: #17244f !important;
  padding: 64px 0 68px;
  min-height: 220px;
  border: 0;
}

.info-navy-band-shell {
  text-align: center;
}

.info-navy-band-content .info-navy-band-shell {
  text-align: left;
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1.24fr);
  gap: 64px;
  align-items: start;
}

.info-navy-band-heading {
  max-width: none;
  margin: 0 auto 18px;
  font-size: clamp(2.8rem, 5.6vw, 4.5rem);
  line-height: 0.98;
  color: #fffdf8 !important;
}

.info-navy-band-content .info-navy-band-heading {
  max-width: 6ch;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
}

.info-navy-band-copy {
  max-width: 72ch;
}

.info-navy-band-text {
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #fffdf8 !important;
}

.info-navy-band-content .info-navy-band-text {
  max-width: 72ch;
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.58;
}

.info-navy-band-content .info-navy-band-text:last-child {
  margin-bottom: 0;
}

.info-framework-cta {
  background: #17244f !important;
  padding: 94px 0 102px;
  border: 0;
}

.info-framework-cta-shell {
  text-align: center;
}

.info-framework-cta-copy {
  max-width: 100%;
}

.info-framework-cta-heading {
  max-width: 28ch;
  margin: 0 auto 26px;
  color: #fffdf8 !important;
  font-size: clamp(1.45rem, 2.9vw, 2.45rem);
  line-height: 1.14;
}

.info-framework-cta-text {
  max-width: 74ch;
  margin: 0 auto 20px;
  color: rgba(255, 253, 248, 0.96) !important;
  font-size: 0.92rem;
  line-height: 1.52;
}

.info-framework-cta-button {
  margin-top: 30px;
  min-width: 154px;
  border-radius: 999px;
}

.home-shell {
  padding: 0 0 70px;
  background: var(--home-bg, transparent);
  color: var(--home-ink, var(--ink));
}

.hero-panel,
.hero-strip,
.section-intro,
.certificate-panel {
  display: grid;
  gap: 24px;
}

.course-module-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.course-module-row--stacked {
  grid-template-columns: 1fr;
  gap: 22px;
}

.course-module-card {
  position: relative;
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 20px 20px;
  background:
    radial-gradient(circle at 14% 18%, rgba(200, 164, 78, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 242, 0.95));
  border: 1px solid rgba(23, 36, 79, 0.08);
  box-shadow: 0 18px 42px rgba(26, 41, 91, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.course-module-card--clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(26, 41, 91, 0.12);
  border-color: rgba(63, 92, 155, 0.16);
}

.course-module-card-link {
  text-decoration: none;
  color: inherit;
}

.course-module-card h2 {
  font-size: 1.15rem;
  line-height: 1.18;
  margin-bottom: 0;
}

.course-module-card > p {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

.course-module-row--stacked .course-module-card {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  grid-template-areas:
    "pill lessons"
    "title lessons"
    "meta lessons";
  column-gap: 22px;
  row-gap: 12px;
  align-items: start;
  padding: 28px 28px 26px;
  border-radius: 30px;
  box-shadow: 0 22px 44px rgba(26, 41, 91, 0.09);
  background-clip: padding-box;
}

.course-module-row--stacked .course-module-card > .pill {
  grid-area: pill;
  width: fit-content;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 36, 79, 0.08);
  color: #5f6f8e;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.course-module-row--stacked .course-module-card > h2 {
  grid-area: title;
  max-width: 16ch;
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.course-module-row--stacked .course-module-card > p {
  grid-area: meta;
  max-width: 28ch;
  font-size: 1rem;
  line-height: 1.62;
  color: #536685;
}

.course-module-row--stacked .course-module-card--placeholder {
  grid-template-columns: 1fr;
  grid-template-areas: none;
}

.course-module-card--placeholder {
  background: linear-gradient(180deg, rgba(246, 247, 251, 0.94), rgba(241, 244, 249, 0.88));
  border-style: dashed;
  box-shadow: none;
}

.course-module-card-empty {
  min-height: 220px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(247, 248, 251, 0.44));
  border: 1px dashed rgba(23, 36, 79, 0.12);
}

.course-module-lessons {
  grid-area: lessons;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.course-learn-lower {
  margin-top: 38px;
}

.course-learn-shell {
  width: min(1540px, calc(100vw - 24px));
}

.course-learn-hero {
  background:
    radial-gradient(circle at 14% 16%, rgba(200, 164, 78, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(250, 247, 240, 0.98), rgba(255, 255, 255, 0.95));
  padding: 26px 28px 22px;
  border-radius: 34px;
  box-shadow: 0 20px 42px rgba(26, 41, 91, 0.08);
}

.course-detail-shell {
  width: min(1560px, calc(100vw - 24px));
}

.course-detail-hero {
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
  align-items: start;
  padding: 24px 26px 22px;
  border-radius: 34px;
  box-shadow: 0 22px 46px rgba(26, 41, 91, 0.08);
}

.course-detail-hero:has(.course-detail-hero-visual) {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.8fr) minmax(320px, 0.85fr);
  gap: 22px;
}

.course-detail-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.course-detail-hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 8% 10% 10%;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08));
  filter: blur(16px);
}

.course-detail-hero-image-frame {
  position: relative;
  width: min(100%, 380px);
  min-height: 300px;
  padding: 14px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 24px 44px rgba(39, 42, 66, 0.16);
  overflow: hidden;
}

.course-detail-hero-image {
  width: 100%;
  height: 100%;
  min-height: 272px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  filter: saturate(0.95) contrast(0.96);
}

.course-detail-module-row {
  margin-top: 24px;
}

.course-module-card:nth-child(1):not(.course-module-card--placeholder) {
  background:
    radial-gradient(circle at 14% 18%, rgba(104, 153, 119, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(245, 250, 246, 0.98), rgba(251, 253, 249, 0.94));
}

.course-module-card:nth-child(2):not(.course-module-card--placeholder) {
  background:
    radial-gradient(circle at 14% 18%, rgba(112, 145, 204, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(240, 246, 255, 0.98), rgba(248, 251, 255, 0.95));
}

.course-module-card:nth-child(3):not(.course-module-card--placeholder) {
  background:
    radial-gradient(circle at 14% 18%, rgba(166, 148, 221, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(247, 244, 255, 0.98), rgba(252, 250, 255, 0.95));
}

.course-module-card:nth-child(4):not(.course-module-card--placeholder) {
  background:
    radial-gradient(circle at 14% 18%, rgba(200, 164, 78, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(252, 248, 239, 0.98), rgba(255, 253, 248, 0.95));
}

.course-module-card:nth-child(5):not(.course-module-card--placeholder) {
  background:
    radial-gradient(circle at 14% 18%, rgba(99, 129, 188, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(241, 246, 255, 0.98), rgba(248, 251, 255, 0.95));
}

.course-module-card .list-item {
  position: relative;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.lesson-row--course-card {
  min-height: 132px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(26, 41, 91, 0.09);
  box-shadow: 0 18px 30px rgba(26, 41, 91, 0.07);
  text-align: center;
  justify-items: center;
  border-radius: 22px;
  overflow: hidden;
}

.lesson-row-link {
  text-decoration: none;
  color: inherit;
}

.lesson-row--course-card.is-complete {
  background:
    radial-gradient(circle at 18% 18%, rgba(104, 153, 119, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(241, 250, 243, 0.99), rgba(252, 255, 252, 0.96));
  border-color: rgba(95, 149, 109, 0.18);
}

.lesson-row-title {
  font-size: 1.08rem;
  line-height: 1.42;
  font-weight: 600;
  color: #21396a;
  max-width: none;
}

.lesson-row-state,
.lesson-row-state a {
  font-size: 0.74rem;
  white-space: nowrap;
}

.lesson-row-state {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 108px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(23, 36, 79, 0.9), rgba(52, 80, 138, 0.94));
  color: #fffdf7;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 14px 24px rgba(23, 36, 79, 0.14);
}

.lesson-row--course-card.locked .lesson-row-state {
  background: rgba(23, 36, 79, 0.08);
  color: #6f7f99;
  box-shadow: none;
}

.lesson-row-clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px rgba(26, 41, 91, 0.12);
  border-color: rgba(73, 102, 172, 0.16);
}

.course-module-row--stacked .lesson-row-clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(26, 41, 91, 0.11);
}

.course-module-lessons .lesson-row--course-card:nth-child(4n + 1) {
  background:
    radial-gradient(circle at 18% 18%, rgba(104, 153, 119, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(247, 252, 248, 0.99), rgba(255, 255, 255, 0.96));
}

.course-module-lessons .lesson-row--course-card:nth-child(4n + 2) {
  background:
    radial-gradient(circle at 18% 18%, rgba(112, 145, 204, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(244, 248, 255, 0.99), rgba(255, 255, 255, 0.96));
}

.course-module-lessons .lesson-row--course-card:nth-child(4n + 3) {
  background:
    radial-gradient(circle at 18% 18%, rgba(166, 148, 221, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(249, 246, 255, 0.99), rgba(255, 255, 255, 0.96));
}

.course-module-lessons .lesson-row--course-card:nth-child(4n + 4) {
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 164, 78, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.99), rgba(255, 255, 255, 0.96));
}

@media (max-width: 980px) {
  .lesson-assessment-rail {
    grid-template-columns: 1fr;
  }

  .course-module-row--stacked .course-module-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "pill"
      "title"
      "meta"
      "lessons";
  }
}

.course-module-open-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(23, 36, 79, 0.96), rgba(58, 84, 148, 0.92));
  color: #fffdf8;
  box-shadow: 0 10px 20px rgba(23, 36, 79, 0.16);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.course-module-open-link::after {
  content: "↗";
  font-size: 0.82rem;
  transition: transform 180ms ease;
}

.course-module-open-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(23, 36, 79, 0.2);
  background: linear-gradient(90deg, rgba(28, 44, 96, 0.98), rgba(73, 102, 172, 0.94));
}

.course-module-open-link:hover::after {
  transform: translateX(2px);
}

.certificate-page-shell {
  gap: 24px;
}

.certificate-page-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.certificate-builder-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 22px;
  align-items: end;
  padding: 24px 26px;
}

.certificate-builder-copy {
  display: grid;
  gap: 10px;
}

.certificate-builder-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.certificate-name-form {
  display: grid;
  gap: 12px;
}

.certificate-name-form label {
  display: grid;
  gap: 8px;
}

.certificate-panel-premium {
  padding: 18px;
  background:
    radial-gradient(circle at 15% 18%, rgba(200, 164, 78, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(250, 247, 240, 0.98), rgba(255, 255, 255, 0.96));
}

.certificate-artboard {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(63, 35, 70, 0.12);
  background: #f9f1e7;
}

.certificate-artwork {
  display: block;
  width: 100%;
  height: auto;
}

.certificate-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.certificate-overlay-name,
.certificate-overlay-signature,
.certificate-overlay-date,
.certificate-overlay-code {
  position: absolute;
  text-align: center;
}

.certificate-overlay-name {
  top: 50.6%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56%;
  font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(2.5rem, 5.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: #5f315d;
  text-wrap: balance;
}

.certificate-overlay-signature {
  left: 12.7%;
  bottom: 14.8%;
  width: 28%;
  font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(1.1rem, 2.2vw, 2.2rem);
  color: #6a486f;
}

.certificate-overlay-date {
  right: 18%;
  bottom: 14.8%;
  width: 18%;
  font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(1rem, 2vw, 2rem);
  color: #6a486f;
}

.certificate-overlay-code {
  left: 50%;
  bottom: 5.3%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(95, 49, 93, 0.64);
}

.certificate-signature-line {
  display: block;
  width: 180px;
  height: 1px;
  background: rgba(23, 36, 79, 0.34);
}

.certificate-signature-block strong,
.certificate-signature-block span:last-child {
  display: block;
}

.certificate-seal {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 164, 78, 0.34);
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.92), rgba(243, 232, 198, 0.88));
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.34);
}

.certificate-seal span {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--ink);
}

.hero-panel {
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
  align-items: stretch;
  padding-top: 28px;
}

.signature-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.7fr);
  gap: 64px;
  align-items: start;
  padding: 118px 0 42px;
}

.signature-copy h1 {
  max-width: 8.6ch;
  font-size: clamp(4.1rem, 6.4vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.headline-secondary {
  display: inline-block;
  font-size: 0.74em;
  line-height: 1;
  white-space: nowrap;
}

.headline-lock {
  white-space: nowrap;
}

.signature-copy h2 {
  margin-top: 22px;
  max-width: none;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  line-height: 1.08;
  color: var(--home-muted, #516181);
  white-space: nowrap;
}

.hero-body {
  max-width: 58ch;
  margin-top: 16px;
  font-size: 1rem;
  color: var(--home-muted, #5d6884);
}

.signature-copy {
  text-align: left;
  align-items: start;
  display: grid;
}

.signature-copy .button-row {
  justify-content: flex-start;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
  margin-bottom: 10px;
}

.hero-portrait {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 6px;
}

.portrait-frame {
  width: min(100%, 455px);
  aspect-ratio: 0.84;
  background: transparent;
  padding: 0;
}

.portrait-image {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid rgba(26, 41, 91, 0.08);
  box-shadow: 0 18px 40px rgba(26, 41, 91, 0.08);
}

.portrait-image-tight {
  border-radius: 18px;
}

.hero-copy,
.hero-aside,
.card,
.certificate-panel,
.section-intro,
.hero-strip {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  padding: 26px;
}

.section-intro,
.hero-strip {
  margin-bottom: 8px;
}

:root[data-theme="dark"] body {
  background: var(--bg-warm);
}

:root[data-theme="dark"] .hero-copy,
:root[data-theme="dark"] .hero-aside,
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .certificate-panel,
:root[data-theme="dark"] .section-intro,
:root[data-theme="dark"] .hero-strip {
  background: var(--surface);
  border-color: rgba(214, 221, 245, 0.08);
}

:root[data-theme="dark"] .flash {
  border-color: rgba(214, 221, 245, 0.08);
}

:root[data-theme="dark"] .site-footer {
  border-top-color: rgba(214, 221, 245, 0.08);
  background: linear-gradient(180deg, rgba(12, 18, 34, 0.72), rgba(10, 15, 28, 0.96));
}

:root[data-theme="dark"] .nav-links a,
:root[data-theme="dark"] .login-link,
:root[data-theme="dark"] .logout-link,
:root[data-theme="dark"] .brand-monogram,
:root[data-theme="dark"] .brand strong,
:root[data-theme="dark"] .footer-brand strong,
:root[data-theme="dark"] .footer-brand-monogram {
  color: var(--ink);
}

:root[data-theme="dark"] .brand-logo,
:root[data-theme="dark"] .footer-brand-logo {
  filter: grayscale(1) brightness(0) invert(1) contrast(1.08)
    drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
}

:root[data-theme="dark"] .footer-social-link {
  border-color: rgba(214, 221, 245, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

:root[data-theme="dark"] .footer-social-link:hover,
:root[data-theme="dark"] .footer-social-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(215, 181, 103, 0.36);
}

:root[data-theme="dark"] .mobile-nav-toggle {
  background: rgba(17, 26, 48, 0.92);
  border-color: rgba(214, 221, 245, 0.12);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .mobile-nav-toggle span {
  background: rgba(244, 246, 255, 0.94);
}

:root[data-theme="dark"] .mobile-nav-panel {
  background: rgba(17, 26, 48, 0.98);
  border-color: rgba(214, 221, 245, 0.12);
}

:root[data-theme="dark"] .nav-links a.is-active,
:root[data-theme="dark"] .nav-links a:hover,
:root[data-theme="dark"] .login-link:hover,
:root[data-theme="dark"] .logout-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

:root[data-theme="dark"] .button-secondary,
:root[data-theme="dark"] .button-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(214, 221, 245, 0.12);
  color: var(--ink);
}

:root[data-theme="dark"] .page-stack > .section-intro.lms-hero-shell {
  background:
    radial-gradient(circle at top left, rgba(77, 96, 166, 0.28), transparent 42%),
    radial-gradient(circle at top right, rgba(146, 110, 191, 0.2), transparent 36%),
    linear-gradient(135deg, rgba(16, 24, 48, 0.98), rgba(15, 22, 41, 0.96));
  border-color: rgba(214, 221, 245, 0.08);
}

:root[data-theme="dark"] .page-stack > .section-intro.lms-hero-shell .eyebrow {
  color: rgba(214, 221, 245, 0.7);
}

:root[data-theme="dark"] .page-stack > .section-intro.lms-hero-shell > p:not(.eyebrow) {
  color: rgba(214, 221, 245, 0.82);
}

:root[data-theme="dark"] .lms-home-hero--landing {
  background:
    radial-gradient(circle at 12% 18%, rgba(171, 122, 102, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(17, 24, 44, 0.98), rgba(12, 18, 34, 0.95));
}

:root[data-theme="dark"] .lms-home-hero-image-frame,
:root[data-theme="dark"] .course-detail-hero-image-frame {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border-color: rgba(214, 221, 245, 0.1);
}

:root[data-theme="dark"] .lms-home-hero-stat,
:root[data-theme="dark"] .checkout-card,
:root[data-theme="dark"] .course-module-card,
:root[data-theme="dark"] .lesson-row--course-card,
:root[data-theme="dark"] .course-card {
  border-color: rgba(214, 221, 245, 0.08);
  box-shadow: 0 18px 34px rgba(2, 8, 20, 0.22);
}

:root[data-theme="dark"] .lms-home-hero-stat {
  background: rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .course-learn-hero {
  background:
    radial-gradient(circle at 14% 16%, rgba(200, 164, 78, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(16, 24, 48, 0.98), rgba(12, 18, 34, 0.95));
}

:root[data-theme="dark"] .course-detail-hero {
  background:
    radial-gradient(circle at 14% 16%, rgba(95, 119, 196, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(16, 24, 48, 0.98), rgba(12, 18, 34, 0.95));
}

:root[data-theme="dark"] .course-module-card,
:root[data-theme="dark"] .course-module-card:nth-child(1):not(.course-module-card--placeholder),
:root[data-theme="dark"] .course-module-card:nth-child(2):not(.course-module-card--placeholder),
:root[data-theme="dark"] .course-module-card:nth-child(3):not(.course-module-card--placeholder),
:root[data-theme="dark"] .course-module-card:nth-child(4):not(.course-module-card--placeholder),
:root[data-theme="dark"] .course-module-card:nth-child(5):not(.course-module-card--placeholder) {
  background: linear-gradient(180deg, rgba(20, 31, 57, 0.98), rgba(16, 24, 45, 0.95));
}

:root[data-theme="dark"] .course-module-row--stacked .course-module-card > p,
:root[data-theme="dark"] .lesson-row-state,
:root[data-theme="dark"] .course-card-body p,
:root[data-theme="dark"] .course-card-meta-item span,
:root[data-theme="dark"] .helper-text,
:root[data-theme="dark"] .footer-brand-block p,
:root[data-theme="dark"] .footer-link-group a {
  color: var(--muted);
}

:root[data-theme="dark"] .course-card--women-in-real-estate {
  background: linear-gradient(180deg, rgba(20, 31, 57, 0.98), rgba(15, 24, 46, 0.95));
}

:root[data-theme="dark"] .course-card--women-in-trading {
  background: linear-gradient(180deg, rgba(19, 32, 41, 0.98), rgba(15, 24, 34, 0.95));
}

:root[data-theme="dark"] .course-card--women-in-money-management {
  background: linear-gradient(180deg, rgba(28, 34, 64, 0.98), rgba(19, 27, 52, 0.96));
}

:root[data-theme="dark"] .info-page-card,
:root[data-theme="dark"] .info-feature-card,
:root[data-theme="dark"] .info-grid-card,
:root[data-theme="dark"] .info-slim-card,
:root[data-theme="dark"] .info-contact-form {
  border-color: rgba(214, 221, 245, 0.08);
}

:root[data-theme="dark"] .info-page-card-approach .info-page-card-copy,
:root[data-theme="dark"] .info-page-card-serve,
:root[data-theme="dark"] .info-feature-card,
:root[data-theme="dark"] .info-feature-card-secondary,
:root[data-theme="dark"] .info-grid-card,
:root[data-theme="dark"] .info-slim-card-grey,
:root[data-theme="dark"] .info-slim-card-blue,
:root[data-theme="dark"] .info-slim-card-white,
:root[data-theme="dark"] .info-contact-form {
  background:
    radial-gradient(circle at 12% 16%, rgba(95, 119, 196, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(19, 28, 49, 0.98), rgba(14, 21, 38, 0.96));
  color: var(--ink);
}

:root[data-theme="dark"] .info-page-card-approach,
:root[data-theme="dark"] .info-feature-card-serve-split {
  background: transparent;
}

:root[data-theme="dark"] .info-page-card h1,
:root[data-theme="dark"] .info-page-intro,
:root[data-theme="dark"] .info-page-text,
:root[data-theme="dark"] .info-page-list-item,
:root[data-theme="dark"] .info-feature-heading,
:root[data-theme="dark"] .info-feature-intro,
:root[data-theme="dark"] .info-feature-text,
:root[data-theme="dark"] .info-serve-split-intro,
:root[data-theme="dark"] .info-serve-split-list,
:root[data-theme="dark"] .info-grid-heading,
:root[data-theme="dark"] .info-grid-item-title,
:root[data-theme="dark"] .info-grid-item-body,
:root[data-theme="dark"] .info-slim-heading,
:root[data-theme="dark"] .info-slim-lead,
:root[data-theme="dark"] .info-slim-text,
:root[data-theme="dark"] .info-contact-form label,
:root[data-theme="dark"] .info-contact-form label span {
  color: var(--ink);
}

:root[data-theme="dark"] .info-page-text,
:root[data-theme="dark"] .info-feature-intro,
:root[data-theme="dark"] .info-feature-text,
:root[data-theme="dark"] .info-grid-item-body,
:root[data-theme="dark"] .info-slim-text {
  color: var(--muted);
}

:root[data-theme="dark"] .info-page-list-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(214, 221, 245, 0.1);
}

:root[data-theme="dark"] .info-page-card-image,
:root[data-theme="dark"] .info-feature-secondary-image,
:root[data-theme="dark"] .info-serve-split-image {
  mix-blend-mode: normal;
  opacity: 1;
  filter: saturate(1.02) contrast(1.02) brightness(0.96);
}

:root[data-theme="dark"] .private-conversation-visual {
  background-image:
    linear-gradient(180deg, rgba(10, 16, 30, 0.04), rgba(10, 16, 30, 0.08)),
    url("/static/private-conversation-visual.png");
  background-size: cover;
  background-color: rgba(250, 244, 232, 0.94);
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 236, 0.08);
}

:root[data-theme="dark"] .private-conversation-form-wrap {
  background: rgba(248, 242, 232, 0.04);
  border-radius: 0 26px 26px 0;
  overflow: hidden;
}

:root[data-theme="dark"] .private-conversation-visual-image {
  filter: none;
  opacity: 1;
}

:root[data-theme="dark"] .private-conversation-card,
:root[data-theme="dark"] .advisory-session-card {
  background: linear-gradient(180deg, rgba(19, 28, 49, 0.98), rgba(14, 21, 38, 0.96));
}

:root[data-theme="dark"] .course-card-meta-item,
:root[data-theme="dark"] .course-card--women-in-money-management .course-card-meta-item,
:root[data-theme="dark"] .course-card--women-in-trading .course-card-meta-item,
:root[data-theme="dark"] .course-card--women-in-real-estate .course-card-meta-item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(214, 221, 245, 0.12);
}

:root[data-theme="dark"] .course-card-meta-item strong,
:root[data-theme="dark"] .course-card-meta-item span,
:root[data-theme="dark"] .course-card--women-in-money-management .course-card-meta-item strong,
:root[data-theme="dark"] .course-card--women-in-money-management .course-card-meta-item span,
:root[data-theme="dark"] .course-card--women-in-trading .course-card-meta-item strong,
:root[data-theme="dark"] .course-card--women-in-trading .course-card-meta-item span,
:root[data-theme="dark"] .course-card--women-in-real-estate .course-card-meta-item strong,
:root[data-theme="dark"] .course-card--women-in-real-estate .course-card-meta-item span {
  color: var(--ink);
}

:root[data-theme="dark"] .course-card-meta-item span {
  color: var(--muted);
}

:root[data-theme="dark"] .lesson-page-hero {
  background:
    radial-gradient(circle at 10% 18%, rgba(200, 164, 78, 0.14), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(126, 151, 216, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(18, 27, 50, 0.98), rgba(14, 21, 38, 0.96));
  border-color: rgba(214, 221, 245, 0.08);
}

:root[data-theme="dark"] .lesson-page-hero p:not(.eyebrow) {
  color: var(--muted);
}

:root[data-theme="dark"] .lesson-slide-experience,
:root[data-theme="dark"] .lesson-content.lesson-slide-experience,
:root[data-theme="dark"] .lesson-slide-stack-card {
  background:
    radial-gradient(circle at 10% 16%, rgba(95, 119, 196, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(18, 27, 50, 0.98), rgba(14, 21, 38, 0.96));
  border-color: rgba(214, 221, 245, 0.08);
}

:root[data-theme="dark"] .lesson-slide-panel,
:root[data-theme="dark"] .lesson-slide-panel--theme-editorial,
:root[data-theme="dark"] .lesson-slide-panel--theme-light-blue,
:root[data-theme="dark"] .lesson-slide-panel--theme-purple-glow,
:root[data-theme="dark"] .lesson-slide-panel--theme-minimal {
  background:
    radial-gradient(circle at 14% 18%, rgba(95, 119, 196, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(20, 30, 54, 0.98), rgba(14, 21, 38, 0.96));
  color: var(--ink);
  border-color: rgba(214, 221, 245, 0.08);
  box-shadow: 0 24px 55px rgba(2, 8, 20, 0.28);
}

:root[data-theme="dark"] .lesson-slide-panel--theme-navy {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(180deg, rgba(21, 32, 67, 0.99), rgba(18, 28, 56, 0.97));
}

:root[data-theme="dark"] .lesson-slide-media {
  background:
    radial-gradient(circle at 18% 20%, rgba(200, 164, 78, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

:root[data-theme="dark"] .lesson-slide-panel--media-background .lesson-slide-media::after,
:root[data-theme="dark"] .lesson-slide-panel--media-behind-text .lesson-slide-media::after {
  background: linear-gradient(135deg, rgba(10, 16, 31, 0.78), rgba(10, 16, 31, 0.46));
}

:root[data-theme="dark"] .lesson-slide-panel--media-behind-text .lesson-slide-media::after {
  background: linear-gradient(135deg, rgba(10, 16, 31, 0.66), rgba(10, 16, 31, 0.3));
}

:root[data-theme="dark"] .lesson-slide-image--contain {
  background: rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .lesson-slide-copy,
:root[data-theme="dark"] .lesson-slide-copy h3,
:root[data-theme="dark"] .lesson-slide-copy p,
:root[data-theme="dark"] .lesson-slide-rich-body,
:root[data-theme="dark"] .lesson-slide-rich-body h3,
:root[data-theme="dark"] .lesson-slide-rich-body h4,
:root[data-theme="dark"] .lesson-slide-rich-body li,
:root[data-theme="dark"] .lesson-slide-rich-body td,
:root[data-theme="dark"] .lesson-slide-rich-body th,
:root[data-theme="dark"] .lesson-slide-controls-hint {
  color: var(--ink);
}

:root[data-theme="dark"] .lesson-slide-copy p,
:root[data-theme="dark"] .lesson-slide-rich-body,
:root[data-theme="dark"] .lesson-slide-rich-body li,
:root[data-theme="dark"] .lesson-slide-controls-hint {
  color: var(--muted);
}

:root[data-theme="dark"] .lesson-slide-rich-body table,
:root[data-theme="dark"] .lesson-slide-rich-body th,
:root[data-theme="dark"] .lesson-slide-rich-body td {
  border-color: rgba(214, 221, 245, 0.14);
}

:root[data-theme="dark"] .lesson-slide-rich-body th {
  background: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .lesson-next-preview-card {
  background:
    radial-gradient(circle at 88% 18%, rgba(102, 123, 255, 0.2), transparent 28%),
    radial-gradient(circle at 14% 84%, rgba(200, 164, 78, 0.1), transparent 24%),
    linear-gradient(135deg, rgba(25, 35, 63, 0.99), rgba(16, 24, 43, 0.97));
  border-color: rgba(214, 221, 245, 0.12);
  box-shadow: 0 26px 54px rgba(2, 8, 20, 0.3);
}

:root[data-theme="dark"] .lesson-next-preview-card h4 {
  color: var(--ink);
}

:root[data-theme="dark"] .lesson-next-preview-card p,
:root[data-theme="dark"] .lesson-next-preview-card .eyebrow {
  color: var(--muted);
}

:root[data-theme="dark"] .learner-dashboard-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 164, 78, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(18, 27, 50, 0.98), rgba(14, 21, 38, 0.96));
  border-color: rgba(214, 221, 245, 0.08);
}

:root[data-theme="dark"] .learner-stat-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(92, 126, 185, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(28, 39, 68, 0.98), rgba(18, 27, 50, 0.96));
  border-color: rgba(214, 221, 245, 0.1);
}

:root[data-theme="dark"] .learner-stat-card span,
:root[data-theme="dark"] .learner-stat-card strong,
:root[data-theme="dark"] .learner-dashboard-hero-copy p:not(.eyebrow),
:root[data-theme="dark"] .learner-resume-copy p,
:root[data-theme="dark"] .learner-resume-meta,
:root[data-theme="dark"] .learner-course-description,
:root[data-theme="dark"] .learner-current-module-card span,
:root[data-theme="dark"] .learner-current-module-card strong,
:root[data-theme="dark"] .learner-course-meta-row span,
:root[data-theme="dark"] .learner-session-time strong,
:root[data-theme="dark"] .learner-session-time span,
:root[data-theme="dark"] .learner-empty-state,
:root[data-theme="dark"] .learner-admin-card p,
:root[data-theme="dark"] .learner-cert-card p,
:root[data-theme="dark"] .learner-session-card p {
  color: var(--ink);
}

:root[data-theme="dark"] .learner-dashboard-hero-copy p:not(.eyebrow),
:root[data-theme="dark"] .learner-resume-copy p,
:root[data-theme="dark"] .learner-resume-meta,
:root[data-theme="dark"] .learner-course-description,
:root[data-theme="dark"] .learner-current-module-card span:last-child,
:root[data-theme="dark"] .learner-course-meta-row span,
:root[data-theme="dark"] .learner-session-time span,
:root[data-theme="dark"] .learner-empty-state,
:root[data-theme="dark"] .learner-admin-card p,
:root[data-theme="dark"] .learner-cert-card p,
:root[data-theme="dark"] .learner-session-card p {
  color: var(--muted);
}

:root[data-theme="dark"] .learner-resume-card {
  background:
    radial-gradient(circle at 12% 16%, rgba(200, 164, 78, 0.1), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(92, 126, 185, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(21, 31, 57, 0.98), rgba(14, 21, 38, 0.96));
  border-color: rgba(214, 221, 245, 0.08);
  box-shadow: 0 22px 44px rgba(2, 8, 20, 0.24);
}

:root[data-theme="dark"] .learner-progress-ring {
  background:
    conic-gradient(rgba(167, 184, 255, 0.96) calc(var(--progress-value, 0) * 1%), rgba(255, 255, 255, 0.16) 0);
  box-shadow: 0 20px 38px rgba(2, 8, 20, 0.28);
}

:root[data-theme="dark"] .learner-progress-ring-inner {
  background: linear-gradient(180deg, rgba(18, 27, 50, 0.98), rgba(14, 21, 38, 0.96));
}

:root[data-theme="dark"] .learner-course-card-premium,
:root[data-theme="dark"] .learner-session-card-premium,
:root[data-theme="dark"] .learner-cert-card,
:root[data-theme="dark"] .learner-admin-card,
:root[data-theme="dark"] .learner-empty-course-card {
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(21, 31, 57, 0.98), rgba(14, 21, 38, 0.96));
  border-color: rgba(214, 221, 245, 0.08);
  box-shadow: 0 22px 42px rgba(2, 8, 20, 0.24);
}

:root[data-theme="dark"] .learner-current-module-card,
:root[data-theme="dark"] .learner-certificate-item,
:root[data-theme="dark"] .learner-session-item,
:root[data-theme="dark"] .learner-booking-summary-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(214, 221, 245, 0.1);
}

:root[data-theme="dark"] .learner-certificate-item:hover {
  background: rgba(255, 255, 255, 0.09);
}

:root[data-theme="dark"] .learner-session-status .pill,
:root[data-theme="dark"] .learner-booking-summary-pill,
:root[data-theme="dark"] .learner-booking-summary-pill-empty {
  color: var(--ink);
}

:root[data-theme="dark"] .learner-dashboard-quick-link {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(214, 221, 245, 0.1);
  color: var(--ink);
}

:root[data-theme="dark"] .learner-empty-state,
:root[data-theme="dark"] .learner-empty-course-card p,
:root[data-theme="dark"] .learner-cert-card .learner-empty-state,
:root[data-theme="dark"] .learner-session-card .learner-empty-state {
  color: var(--ink);
}

:root[data-theme="dark"] .admin-inline-editor summary,
:root[data-theme="dark"] .lesson-shell-editor > summary,
:root[data-theme="dark"] .lesson-inline-editor summary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(214, 221, 245, 0.12);
  color: var(--ink);
}

:root[data-theme="dark"] .inquiry-card-form select,
:root[data-theme="dark"] .booking-form-panel select,
:root[data-theme="dark"] select option {
  background: rgba(18, 27, 50, 0.98);
  color: var(--ink);
}

:root[data-theme="dark"] .learner-current-module-card.is-complete,
:root[data-theme="dark"] .learner-course-card.course-card--women-in-money-management .learner-current-module-card.is-complete,
:root[data-theme="dark"] .learner-course-card.course-card--women-in-real-estate .learner-current-module-card.is-complete,
:root[data-theme="dark"] .learner-course-card.course-card--women-in-trading .learner-current-module-card.is-complete {
  background: linear-gradient(180deg, rgba(36, 86, 63, 0.96), rgba(28, 69, 52, 0.96));
  border: 1px solid rgba(154, 214, 176, 0.22);
  box-shadow: 0 16px 36px rgba(6, 20, 14, 0.26);
}

:root[data-theme="dark"] .learner-current-module-card.is-complete .learner-current-module-label,
:root[data-theme="dark"] .learner-current-module-card.is-complete strong,
:root[data-theme="dark"] .learner-current-module-card.is-complete span:last-child {
  color: #eef8f1;
}

:root[data-theme="dark"] input,
:root[data-theme="dark"] textarea,
:root[data-theme="dark"] select {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(214, 221, 245, 0.14);
  color: var(--ink);
}

:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder {
  color: rgba(214, 221, 245, 0.48);
}

:root[data-theme="dark"] input:focus,
:root[data-theme="dark"] textarea:focus,
:root[data-theme="dark"] select:focus {
  border-color: rgba(187, 166, 255, 0.44);
  box-shadow: 0 0 0 3px rgba(124, 102, 255, 0.16);
}

:root[data-theme="dark"] .pill,
:root[data-theme="dark"] .pill-soft,
:root[data-theme="dark"] .message-hero-pill,
:root[data-theme="dark"] .booking-status-pill,
:root[data-theme="dark"] .course-module-lock-indicator,
:root[data-theme="dark"] .lesson-row-state,
:root[data-theme="dark"] .lesson-row-state a,
:root[data-theme="dark"] .admin-link-pill,
:root[data-theme="dark"] .admin-builder-mini-pill,
:root[data-theme="dark"] .lesson-knowledge-question-pill,
:root[data-theme="dark"] .lesson-knowledge-score-pill {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(214, 221, 245, 0.1);
  color: var(--ink);
}

:root[data-theme="dark"] .message-card,
:root[data-theme="dark"] .notification-item,
:root[data-theme="dark"] .booking-form-panel,
:root[data-theme="dark"] .private-conversation-form,
:root[data-theme="dark"] .private-conversation-visual,
:root[data-theme="dark"] .private-conversation-form-wrap,
:root[data-theme="dark"] .checkout-card,
:root[data-theme="dark"] .course-payment-summary,
:root[data-theme="dark"] .admin-inline-editor-form,
:root[data-theme="dark"] .admin-builder-card,
:root[data-theme="dark"] .admin-side-card,
:root[data-theme="dark"] .admin-media-card,
:root[data-theme="dark"] .admin-media-library-shell .card,
:root[data-theme="dark"] .list-item {
  background: linear-gradient(180deg, rgba(21, 29, 49, 0.98), rgba(15, 22, 38, 0.96));
  border-color: rgba(214, 221, 245, 0.08);
  color: var(--ink);
}

:root[data-theme="dark"] .message-card:hover,
:root[data-theme="dark"] .notification-item:hover,
:root[data-theme="dark"] .booking-day-card:hover,
:root[data-theme="dark"] .admin-calendar-window-pill:hover:not(:disabled) {
  border-color: rgba(214, 221, 245, 0.14);
}

:root[data-theme="dark"] .inquiry-card-form label,
:root[data-theme="dark"] .private-conversation-form label,
:root[data-theme="dark"] .booking-form-panel label,
:root[data-theme="dark"] .admin-inline-editor-form label,
:root[data-theme="dark"] .admin-builder-card label,
:root[data-theme="dark"] .admin-side-card label,
:root[data-theme="dark"] .home-assistant-form label {
  color: var(--ink);
}

:root[data-theme="dark"] .inquiry-card-form label span,
:root[data-theme="dark"] .private-conversation-form label span,
:root[data-theme="dark"] .booking-form-panel label span,
:root[data-theme="dark"] .admin-inline-editor summary,
:root[data-theme="dark"] .admin-inline-editor-form .helper-text,
:root[data-theme="dark"] .message-card p,
:root[data-theme="dark"] .notification-item p,
:root[data-theme="dark"] .list-item span,
:root[data-theme="dark"] .home-assistant-trigger-copy small,
:root[data-theme="dark"] .home-assistant-message p,
:root[data-theme="dark"] .home-assistant-form input,
:root[data-theme="dark"] .booking-day-card small {
  color: var(--muted);
}

:root[data-theme="dark"] .booking-day-card,
:root[data-theme="dark"] .admin-calendar-window-pill,
:root[data-theme="dark"] .home-assistant-prompt,
:root[data-theme="dark"] .home-assistant-close,
:root[data-theme="dark"] .rich-editor-toolbar button,
:root[data-theme="dark"] .button.is-disabled {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(214, 221, 245, 0.12);
  color: var(--ink);
}

:root[data-theme="dark"] .home-assistant-panel,
:root[data-theme="dark"] .home-assistant-message-assistant {
  background: linear-gradient(180deg, rgba(18, 26, 45, 0.99), rgba(12, 18, 34, 0.97));
  border-color: rgba(214, 221, 245, 0.08);
}

:root[data-theme="dark"] .home-assistant-message-user {
  background: linear-gradient(180deg, rgba(65, 78, 138, 0.42), rgba(46, 59, 110, 0.38));
  color: var(--ink);
}

:root[data-theme="dark"] .home-assistant-trigger {
  background: linear-gradient(135deg, rgba(28, 39, 73, 0.98), rgba(18, 27, 50, 0.96));
  border-color: rgba(214, 221, 245, 0.12);
}

:root[data-theme="dark"] .home-assistant-trigger-copy strong,
:root[data-theme="dark"] .notification-item strong,
:root[data-theme="dark"] .message-card strong,
:root[data-theme="dark"] .list-item strong,
:root[data-theme="dark"] .admin-inline-editor summary strong {
  color: var(--ink);
}

:root[data-theme="dark"] .booking-form-panel,
:root[data-theme="dark"] .private-conversation-form,
:root[data-theme="dark"] .inquiry-card-form input,
:root[data-theme="dark"] .inquiry-card-form select,
:root[data-theme="dark"] .inquiry-card-form textarea,
:root[data-theme="dark"] .booking-form-panel input,
:root[data-theme="dark"] .booking-form-panel select,
:root[data-theme="dark"] .private-conversation-form input,
:root[data-theme="dark"] .private-conversation-form textarea,
:root[data-theme="dark"] .admin-inline-editor-form textarea {
  box-shadow: none;
}

:root[data-theme="dark"] .booking-day-card,
:root[data-theme="dark"] .notification-item,
:root[data-theme="dark"] .message-card,
:root[data-theme="dark"] .home-assistant-prompt,
:root[data-theme="dark"] .home-assistant-close,
:root[data-theme="dark"] .rich-editor-toolbar button {
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.eyebrow,
.pill {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Canela", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.45rem;
}

p,
label,
span,
li {
  line-height: 1.7;
}

.lead {
  max-width: 64ch;
}

.card-grid,
.slot-grid {
  display: grid;
  gap: 18px;
}

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

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

.placeholder-card-grid > .admin-inline-editor {
  grid-column: span 1;
  width: 100%;
  margin: -8px 0 0;
}

.placeholder-card .admin-inline-editor {
  width: 100%;
  margin: 18px 0 0;
}

.placeholder-card .admin-inline-editor-form {
  padding: 16px;
}

.placeholder-card {
  min-height: 280px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 41, 91, 0.1);
  box-shadow: 0 18px 40px rgba(26, 41, 91, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.placeholder-card-filled {
  padding: 30px 28px;
}

.placeholder-card-heading {
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.placeholder-card-text {
  margin: 0 0 16px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
}

.placeholder-card-actions {
  margin-top: 18px;
  margin-top: auto;
}

.inquiry-card {
  padding: 30px 28px;
}

.inquiry-card-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

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

.inquiry-card-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
}

.inquiry-card-form label span {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(95, 107, 136, 0.95);
}

.inquiry-card-form input,
.inquiry-card-form select,
.inquiry-card-form textarea {
  border-radius: 16px;
  border: 1px solid rgba(26, 41, 91, 0.13);
  background: rgba(255, 255, 255, 0.94);
  padding: 14px 15px;
}

.inquiry-card-form textarea {
  min-height: 120px;
}

.inquiry-card-form .button {
  justify-self: flex-start;
}

.section-block {
  margin-top: 28px;
}

.feature-band {
  width: 100%;
}

.feature-band .card {
  width: 100%;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
}

.feature-band-inner {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-up {
  transform: translate3d(0, 42px, 0);
}

.reveal-left {
  transform: translate3d(-44px, 0, 0);
}

.reveal-right {
  transform: translate3d(44px, 0, 0);
}

.reveal-fade {
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 170ms;
}

.reveal-delay-3 {
  transition-delay: 250ms;
}

.reveal-delay-4 {
  transition-delay: 330ms;
}

.reveal-delay-5 {
  transition-delay: 410ms;
}

@keyframes image-settle-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(1.035);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.portrait-image,
.lms-home-hero-feature-image,
.course-detail-hero-image,
.info-page-card-image,
.private-conversation-visual-image,
.blog-post-card-image,
.lesson-slide-image--learner {
  transform-origin: center;
  backface-visibility: hidden;
  transition:
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 320ms ease,
    filter 320ms ease;
  animation: image-settle-in 820ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.portrait-frame:hover .portrait-image,
.lms-home-hero-image-frame:hover .lms-home-hero-feature-image,
.course-detail-hero-image-frame:hover .course-detail-hero-image,
.info-page-card-visual:hover .info-page-card-image,
.private-conversation-form-wrap:hover .private-conversation-visual-image,
.blog-post-card:hover .blog-post-card-image {
  transform: translate3d(0, -4px, 0) scale(1.02);
}

.lesson-slide-panel.is-active .lesson-slide-image--learner {
  animation-duration: 700ms;
}

.highlight-band {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 18px;
}

.statement-card h2,
.cta-banner h2 {
  max-width: 16ch;
}

.principle-card {
  padding: 36px 42px;
  text-align: center;
}

.principle-card h2 {
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
}

.principle-heading {
  max-width: none !important;
  margin-bottom: 14px !important;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1;
  color: var(--ink);
}

.principle-subheading {
  margin: 0 auto 18px;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.1;
  white-space: nowrap;
  color: var(--home-muted, #516181);
}

.approach-card .principle-heading {
  margin-bottom: 22px !important;
}

.approach-card .principle-subheading {
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  color: rgba(95, 107, 136, 0.9);
  margin-bottom: 24px;
}

.audience-feature-card {
  background: #f1f2f9;
  padding: 42px 48px 44px;
}

.audience-feature-card .principle-heading {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  margin-bottom: 28px !important;
}

.audience-feature-intro {
  max-width: 54ch !important;
  margin: 0 auto 34px !important;
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--ink);
}

.audience-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 78px;
  max-width: 1120px;
  margin: 0 auto 34px;
  text-align: left;
}

.audience-feature-item {
  position: relative;
  padding-top: 16px;
  font-size: 1.03rem;
  line-height: 1.45;
  color: var(--ink);
}

.audience-feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 2px;
  background: var(--accent);
}

.audience-feature-card .principle-close {
  max-width: 44ch;
  margin: 6px auto 0;
  font-size: 1.02rem;
  line-height: 1.5;
  font-family: inherit;
}

.private-conversation-card {
  background: #f8f6f0;
  padding: 0;
}

.private-conversation-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 54px;
  align-items: stretch;
  padding: 0;
}

.private-conversation-copy {
  padding: 32px 0 28px;
}

.private-conversation-heading {
  max-width: 9ch;
  font-size: clamp(2.5rem, 4.8vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.private-conversation-text {
  max-width: 33ch;
  margin: 0 0 20px;
  font-size: 1.08rem;
  line-height: 1.58;
  color: var(--ink);
}

.private-conversation-form-wrap {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  padding: 0;
  min-height: 100%;
}

.private-conversation-visual {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 268px;
  border-left: 1px solid rgba(26, 41, 91, 0.08);
  border-bottom: 1px solid rgba(26, 41, 91, 0.08);
}

.private-conversation-visual-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 268px;
  object-fit: cover;
  object-position: center;
}

.private-conversation-form {
  width: 100%;
  display: grid;
  gap: 14px;
  align-content: center;
  background: rgba(255, 255, 255, 0.92);
  border-left: 1px solid rgba(26, 41, 91, 0.08);
  padding: 28px 30px;
  min-height: 100%;
}

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

.private-conversation-form label {
  color: var(--ink);
  gap: 7px;
}

.private-conversation-form label span {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(95, 107, 136, 0.95);
}

.private-conversation-form input,
.private-conversation-form textarea {
  border-radius: 18px;
  border: 1px solid rgba(26, 41, 91, 0.13);
  background: rgba(255, 255, 255, 0.94);
  padding: 15px 16px;
}

.private-conversation-form textarea {
  min-height: 132px;
}

.private-conversation-form .button {
  justify-self: flex-start;
  min-width: 132px;
  padding-inline: 28px;
}

.advisory-session-card {
  background: #faf8f1;
  padding: 0;
}

.advisory-session-shell {
  display: block;
  padding: 0;
}

.advisory-session-copy {
  padding: 18px 0 12px;
  text-align: center;
}

.advisory-session-heading {
  max-width: 12ch;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
  margin-left: auto;
  margin-right: auto;
}

.advisory-session-text {
  max-width: 44ch;
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.44;
  color: var(--ink);
  margin-left: auto;
  margin-right: auto;
}

.advisory-session-copy .button-row {
  margin-top: 8px;
  justify-content: center;
}

.advisory-session-copy .button {
  min-width: 310px;
  justify-content: center;
  font-size: 0.98rem;
}

.principle-card p {
  max-width: 92ch;
  margin-left: auto;
  margin-right: auto;
}

.principle-close {
  font-family: "Canela", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
  margin-top: 14px;
}

.principle-actions {
  margin-top: 22px;
  justify-content: center;
}

.quote-card blockquote {
  margin: 8px 0 0;
  font-family: "Canela", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.2;
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.audience-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  padding: 16px 18px;
  border-radius: 999px;
  color: var(--ink);
}

.split-layout {
  align-items: stretch;
  flex-wrap: wrap;
}

.split-layout > * {
  flex: 1 1 360px;
}

.feature-list,
.list-stack {
  display: grid;
  gap: 12px;
}

.feature-list {
  padding-left: 18px;
}

.book-session-overview {
  width: min(1400px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 18px 26px 20px;
  background:
    radial-gradient(120% 80% at 0% 30%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 45%),
    radial-gradient(90% 55% at 85% 88%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 55%),
    #f6f0e5;
  border-radius: 34px;
  box-shadow: 0 22px 44px rgba(26, 41, 91, 0.08);
}

.book-session-overview-band {
  width: 100%;
}

.book-session-band {
  width: 100%;
}

.book-session-overview-title {
  max-width: none;
  margin: 0 auto 16px;
  text-align: center;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 0.98;
}

.book-session-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.book-session-overview-item h2 {
  margin-bottom: 8px;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.book-session-overview-item p {
  margin: 0 0 7px;
  max-width: 46ch;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.34;
}

.book-session-overview-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--ink);
}

.book-session-overview-list li {
  margin-bottom: 2px;
}

.book-session-overview-list li::before {
  content: "· ";
}

.book-session-services {
  width: min(1400px, calc(100vw - 28px));
  margin: 26px auto 34px;
  padding: 30px 38px 20px;
  background: #faf7f0;
  border-radius: 34px;
  box-shadow: 0 22px 44px rgba(26, 41, 91, 0.08);
}

.book-session-services-title {
  max-width: none;
  margin: 0 auto 28px;
  text-align: center;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.book-session-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.book-session-services-column {
  display: grid;
  gap: 26px;
}

.book-session-service-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 110px 102px;
  gap: 18px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(26, 41, 91, 0.14);
}

.book-session-service-thumb {
  width: 56px;
  height: 56px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(26, 41, 91, 0.08);
}

.service-thumb-professionals {
  background-image: linear-gradient(135deg, rgba(26, 41, 91, 0.12), rgba(200, 164, 78, 0.1)), url("/static/service-professionals.png");
}

.service-thumb-women {
  background-image: linear-gradient(135deg, rgba(26, 41, 91, 0.12), rgba(200, 164, 78, 0.1)), url("/static/service-women.png");
}

.service-thumb-providers {
  background-image: linear-gradient(135deg, rgba(26, 41, 91, 0.12), rgba(200, 164, 78, 0.1)), url("/static/service-primary-providers.png");
}

.service-thumb-athletes {
  background-image: linear-gradient(135deg, rgba(26, 41, 91, 0.12), rgba(200, 164, 78, 0.1)), url("/static/service-athletes.png");
}

.service-thumb-immigrants {
  background-image: linear-gradient(135deg, rgba(26, 41, 91, 0.12), rgba(200, 164, 78, 0.1)), url("/static/service-immigrants.png");
}

.service-thumb-older-adults {
  background-image: linear-gradient(135deg, rgba(26, 41, 91, 0.12), rgba(200, 164, 78, 0.1)), url("/static/service-older-adults.png");
}

.book-session-service-main h3 {
  margin: 0;
  font-size: 1.5rem;
}

.book-session-service-meta {
  display: grid;
  gap: 2px;
  font-size: 0.92rem;
  color: var(--ink);
}

.book-session-service-meta strong {
  font-weight: 500;
}

.book-session-service-row .button {
  min-height: 26px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  justify-content: center;
}

.booking-status-strip {
  margin-top: 0;
}

.booking-status-card {
  width: min(1400px, calc(100vw - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 16px 18px;
  background: #17244f;
}

.booking-status-pill {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.booking-status-pill-accent {
  background: rgba(200, 164, 78, 0.16);
}

.booking-status-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.booking-status-pill strong {
  color: #fffdf8;
}

.booking-drawer {
  width: min(1400px, calc(100vw - 28px));
  margin: 22px auto 0;
  margin-top: 22px;
  padding: 28px 28px 30px;
  scroll-margin-top: 90px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 360ms ease, opacity 260ms ease, padding 260ms ease;
}

.booking-drawer.is-open {
  max-height: 1400px;
  opacity: 1;
  pointer-events: auto;
}

.booking-planner-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
}

.booking-planner-header h2 {
  max-width: none;
}

.booking-planner-note {
  max-width: 30ch;
  margin: 0;
  color: var(--muted);
}

.booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.booking-day-card {
  min-height: 56px;
  padding: 8px 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 41, 91, 0.08);
  text-align: center;
  cursor: pointer;
}

.booking-day-card.is-available {
  background: rgba(80, 166, 107, 0.12);
  border-color: rgba(80, 166, 107, 0.4);
}

.booking-day-card.is-unavailable {
  background: rgba(196, 74, 74, 0.12);
  border-color: rgba(196, 74, 74, 0.28);
  color: rgba(26, 41, 91, 0.58);
  cursor: not-allowed;
}

.booking-day-card.is-selected {
  background: rgba(200, 164, 78, 0.18);
  border-color: rgba(200, 164, 78, 0.75);
}

.booking-day-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1;
  margin: 0;
}

.booking-drawer-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
}

.booking-calendar-panel {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 41, 91, 0.08);
}

.booking-drawer {
  border-radius: 34px;
  box-shadow: 0 24px 48px rgba(26, 41, 91, 0.08);
}

.checkout-card {
  border-radius: 28px;
  box-shadow: 0 18px 34px rgba(26, 41, 91, 0.08);
}

.course-purchase-form {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.course-purchase-form label {
  display: grid;
  gap: 8px;
}

.course-purchase-button {
  margin-top: 2px;
}

.course-payment-shell {
  width: min(1320px, calc(100vw - 28px));
}

.course-payment-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.82fr);
  align-items: stretch;
  gap: 24px;
}

.course-payment-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.course-payment-copy h1 {
  margin: 0;
  max-width: 16ch;
}

.course-payment-copy p {
  max-width: 62ch;
}

.course-payment-summary {
  border-radius: 30px;
  padding: 26px 24px;
  background:
    radial-gradient(circle at 88% 16%, rgba(108, 123, 214, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(249, 251, 255, 0.98), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(88, 110, 202, 0.12);
  box-shadow: 0 20px 38px rgba(31, 49, 103, 0.08);
  display: grid;
  gap: 14px;
}

.course-payment-summary h2 {
  margin: 0;
}

.course-payment-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.97rem;
  color: rgba(31, 49, 103, 0.82);
}

.course-payment-summary-row strong {
  color: #1f3167;
}

.course-payment-summary-row.is-total {
  padding-top: 14px;
  border-top: 1px solid rgba(31, 49, 103, 0.1);
  font-size: 1.04rem;
}

.course-payment-card {
  padding: 32px 32px 30px;
  border-radius: 30px;
}

.course-payment-form {
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.booking-calendar-header h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.booking-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.booking-day-card-blank,
.booking-day-card.is-empty {
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.booking-calendar-legend {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.legend-chip {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
  margin-left: 10px;
}

.legend-chip:first-child {
  margin-left: 0;
}

.legend-green {
  background: rgba(80, 166, 107, 0.78);
}

.legend-red {
  background: rgba(196, 74, 74, 0.72);
}

.booking-rule-note {
  margin: 12px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.booking-form-panel {
  display: grid;
  gap: 14px;
}

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

.booking-form-panel label {
  display: grid;
  gap: 7px;
}

.booking-form-panel label span {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(95, 107, 136, 0.95);
}

.booking-form-panel input,
.booking-form-panel select {
  border-radius: 16px;
  border: 1px solid rgba(26, 41, 91, 0.12);
  background: rgba(255, 255, 255, 0.94);
  padding: 13px 14px;
}

.booking-submit-button {
  margin-top: 6px;
  justify-content: center;
}

.meta-row {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  margin: 16px 0;
}

.featured-home {
  position: relative;
  overflow: hidden;
}

.featured-home::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(200, 164, 78, 0.12);
}

.lms-home-shell {
  width: min(1600px, calc(100vw - 24px));
}

.lms-home-hero {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
  overflow: hidden;
  position: relative;
  padding: 12px 16px;
}

.lms-home-hero--landing {
  padding: 24px 26px;
  background:
    radial-gradient(circle at 12% 18%, rgba(215, 164, 141, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(243, 225, 216, 0.98), rgba(252, 247, 243, 0.95));
}

.lms-home-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -22% auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38), transparent 68%);
  pointer-events: none;
}

.lms-home-hero-copy {
  position: relative;
  z-index: 1;
}

.lms-home-hero-copy h1 {
  max-width: 15ch;
  margin: 10px 0 14px;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.04;
}

.lms-home-hero-copy-panel {
  max-width: 610px;
}

.lms-home-hero-copy-panel .eyebrow,
.lms-home-hero-copy-panel h1,
.lms-home-hero-copy-panel .lms-home-hero-description,
.lms-home-hero-copy-panel .lms-home-hero-actions {
  text-align: center;
}

.lms-home-hero-copy-panel .lms-home-hero-actions {
  justify-content: center;
}

.lms-home-hero-description {
  max-width: 58ch;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.lms-home-hero-copy-panel h1 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.7rem, 2.35vw, 2.45rem);
  line-height: 1.14;
}

.lms-home-hero-copy-panel .lms-home-hero-description {
  margin-left: auto;
  margin-right: auto;
}

.lms-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.lms-home-hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 100%;
  isolation: isolate;
}

.lms-home-hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 8% 12% 10%;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12));
  filter: blur(18px);
  z-index: -1;
}

.lms-home-hero-image-frame {
  width: min(100%, 500px);
  min-height: 450px;
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 26px 56px rgba(49, 39, 44, 0.14);
}

.lms-home-hero-feature-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 26px;
}

.lms-home-hero-statline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.lms-home-hero-stat {
  padding: 16px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 36, 79, 0.08);
  text-align: center;
}

.lms-home-hero-stat strong {
  display: block;
  font-size: 1.3rem;
  color: var(--ink);
}

.lms-home-hero-stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lms-intro-panel,
.lms-course-stage {
  overflow: hidden;
}

.lms-intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  padding: 28px 30px;
  background:
    radial-gradient(circle at 88% 18%, rgba(130, 171, 226, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 249, 246, 0.96));
}

.lms-intro-copy h2 {
  max-width: 18ch;
  margin: 8px 0 12px;
}

.lms-intro-copy p:last-child {
  max-width: 62ch;
  margin-bottom: 0;
}

.lms-intro-points {
  display: grid;
  gap: 14px;
  align-content: start;
}

.lms-intro-point {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 36, 79, 0.08);
}

.lms-intro-point strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.lms-intro-point span {
  color: var(--muted);
  line-height: 1.65;
}

.lms-course-stage {
  padding: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 166, 95, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 249, 246, 0.96));
}

.lms-course-stage-spaced {
  margin-top: 10px;
}

.lms-course-stage-header {
  margin-bottom: 22px;
}

.lms-course-stage-header h2 {
  max-width: 15ch;
  margin: 8px 0 10px;
}

.lms-course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.course-card-stack {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: start;
  gap: 12px;
  height: 100%;
}

.course-card-stack > .admin-inline-editor {
  width: 100%;
  margin: 0;
}

.course-card-stack > .admin-inline-editor .admin-inline-editor-form {
  padding: 16px;
}

.course-card {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 24px;
  display: grid;
  grid-template-rows: auto minmax(210px, 1fr) auto auto;
  min-height: 100%;
  height: 100%;
  border: 1px solid rgba(23, 36, 79, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.course-card-clickable:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 42px rgba(26, 41, 91, 0.14);
  border-color: rgba(63, 92, 155, 0.16);
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  background: linear-gradient(90deg, rgba(200, 164, 78, 0.8), rgba(23, 36, 79, 0.08));
}

.course-card::after {
  content: "";
  position: absolute;
  right: -56px;
  bottom: -72px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(200, 164, 78, 0.08);
  pointer-events: none;
}

.course-card > * {
  position: relative;
  z-index: 2;
}

.course-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.course-card-price {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}

.course-card-body {
  position: relative;
  z-index: 1;
  min-height: 210px;
  display: grid;
  align-content: start;
}

.course-card-body h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  line-height: 1.02;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

.course-card-body p {
  max-width: 32ch;
  color: var(--muted);
  line-height: 1.52;
  overflow-wrap: anywhere;
}

.course-card-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 20px;
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.course-card-meta-item {
  border-radius: 18px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 36, 79, 0.08);
  text-align: center;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-card-meta-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
}

.course-card-meta-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.course-card-button {
  margin-top: 0;
  width: fit-content;
  border-radius: 999px;
  position: relative;
  z-index: 3;
}

.course-card-stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.course-card--women-in-trading {
  background: linear-gradient(180deg, rgba(243, 248, 244, 0.98), rgba(248, 250, 246, 0.96));
}

.course-card--women-in-trading::before {
  background: linear-gradient(90deg, rgba(78, 133, 95, 0.92), rgba(200, 164, 78, 0.14));
}

.course-card--women-in-real-estate {
  background: linear-gradient(180deg, rgba(232, 239, 249, 0.98), rgba(240, 245, 252, 0.96));
}

.course-card--women-in-real-estate::before {
  background: linear-gradient(90deg, rgba(92, 126, 185, 0.94), rgba(200, 164, 78, 0.16));
}

.course-card--women-in-money-management {
  background: linear-gradient(180deg, rgba(23, 36, 79, 0.98), rgba(30, 45, 96, 0.96));
  border-color: rgba(255, 255, 255, 0.08);
}

.course-card--women-in-money-management::before {
  background: linear-gradient(90deg, rgba(212, 179, 96, 0.94), rgba(255, 255, 255, 0.12));
}

.course-card--women-in-money-management::after {
  background: rgba(255, 255, 255, 0.08);
}

.course-card--women-in-money-management .pill,
.course-card--women-in-money-management .course-card-price,
.course-card--women-in-money-management .course-card-body h2,
.course-card--women-in-money-management .course-card-meta-item strong {
  color: #fffdf8;
}

.course-card--women-in-money-management .course-card-body p,
.course-card--women-in-money-management .course-card-meta-item span {
  color: rgba(255, 253, 248, 0.82);
}

.course-card--women-in-money-management .course-card-meta-item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.text-link {
  color: var(--accent-deep);
  font-weight: 700;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(150, 97, 63, 0.12);
  margin-bottom: 14px;
}

.auth-shell {
  min-height: 70vh;
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(520px, 100%);
}

.auth-social-stack {
  display: grid;
  gap: 14px;
  margin: 18px 0 20px;
}

.auth-divider {
  position: relative;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

.auth-divider span {
  position: relative;
  padding: 0 14px;
  background: var(--surface-strong);
}

.button-google {
  background: linear-gradient(135deg, rgba(102, 87, 173, 0.12), rgba(148, 195, 233, 0.22));
  color: var(--ink);
  border: 1px solid rgba(102, 87, 173, 0.18);
  text-align: center;
}

.button-facebook {
  background: linear-gradient(135deg, rgba(63, 90, 170, 0.14), rgba(116, 152, 228, 0.22));
  color: var(--ink);
  border: 1px solid rgba(63, 90, 170, 0.2);
  text-align: center;
}

.message-page-shell {
  padding-bottom: 60px;
}

.message-hero {
  position: relative;
  overflow: hidden;
  padding-top: 30px;
  padding-bottom: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.86), transparent 48%),
    linear-gradient(145deg, rgba(130, 112, 201, 0.12), rgba(148, 195, 233, 0.1)),
    rgba(255, 252, 247, 0.84);
  border: 1px solid rgba(102, 87, 173, 0.14);
  box-shadow: var(--shadow);
}

.message-hero h1 {
  margin: 6px 0 0;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  line-height: 1.08;
}

.message-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.message-sidebar,
.message-thread-card,
.message-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(252, 249, 245, 0.94));
  border: 1px solid rgba(26, 41, 91, 0.1);
  box-shadow: 0 28px 64px rgba(34, 32, 74, 0.09);
}

.message-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.message-hero-pill {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(102, 87, 173, 0.12);
  color: var(--ink);
  margin-bottom: 0;
}

.message-sidebar {
  padding: 24px;
}

.message-thread-card,
.message-card {
  padding: 28px;
}

.message-partner-item,
.notification-item {
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.message-partner-item:hover,
.notification-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(34, 32, 74, 0.08);
  border-color: rgba(102, 87, 173, 0.18);
}

.message-partner-item.is-active {
  border-color: rgba(102, 87, 173, 0.22);
  background: linear-gradient(135deg, rgba(147, 133, 210, 0.1), rgba(148, 195, 233, 0.08));
}

.message-thread {
  display: grid;
  gap: 16px;
  max-height: 560px;
  overflow: auto;
  padding: 10px 8px 10px 0;
  margin: 12px 0 24px;
}

.message-bubble {
  display: grid;
  gap: 12px;
  padding: 20px 22px;
  border-radius: 24px;
  max-width: min(680px, 100%);
  border: 1px solid rgba(26, 41, 91, 0.1);
}

.message-bubble-subject {
  font-size: 1.15rem;
  color: var(--ink);
}

.message-bubble-meta {
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.message-bubble p,
.notification-item p,
.message-empty-state p {
  margin: 0;
}

.message-bubble-inbound {
  background: rgba(255, 255, 255, 0.92);
  justify-self: start;
}

.message-bubble-outbound {
  background: linear-gradient(135deg, rgba(130, 112, 201, 0.14), rgba(148, 195, 233, 0.12));
  justify-self: end;
}

.message-empty-state,
.notification-item-empty,
.message-partner-empty {
  display: grid;
  gap: 8px;
  padding: 28px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px dashed rgba(26, 41, 91, 0.18);
}

.message-compose-form {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.notification-item-unread {
  border-color: rgba(102, 87, 173, 0.24);
  background: linear-gradient(135deg, rgba(130, 112, 201, 0.08), rgba(255, 255, 255, 0.94));
}

.notification-list {
  gap: 14px;
}

.notification-item {
  align-items: flex-start;
  padding: 20px;
  border-radius: 20px;
}

.notification-item-actionable {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
}

.notification-item-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.notification-item-actions form {
  margin: 0;
}

.notification-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.intake-page-shell {
  padding-bottom: 64px;
}

.intake-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(140deg, rgba(130, 112, 201, 0.1), rgba(148, 195, 233, 0.1)),
    rgba(255, 252, 247, 0.88);
  border: 1px solid rgba(102, 87, 173, 0.12);
  box-shadow: var(--shadow);
  padding: 18px 24px 16px;
}

.intake-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.intake-hero > p:not(.eyebrow) {
  margin-bottom: 0;
  max-width: 60ch;
  font-size: 0.98rem;
  line-height: 1.58;
}

.intake-hero .message-hero-pills {
  margin-top: 12px;
}

.intake-form-stack {
  display: grid;
  gap: 24px;
}

.intake-card {
  padding: 30px;
  background: rgba(255, 253, 250, 0.96);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 41, 91, 0.1);
}

.intake-card h2 {
  margin-top: 0;
}

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

.intake-check-grid fieldset {
  margin: 0;
  border: 1px solid rgba(26, 41, 91, 0.1);
  border-radius: 20px;
  padding: 20px 20px 18px;
  background: rgba(255, 255, 255, 0.82);
  display: grid;
  gap: 12px;
}

.intake-check-grid legend {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 700;
}

.intake-check-grid label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  line-height: 1.5;
  font-size: 0.98rem;
}

.intake-check-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent-deep);
}

.intake-check-grid fieldset:last-child label {
  align-items: flex-start;
}

.intake-consent-grid {
  grid-template-columns: 1fr;
}

.intake-consent-grid fieldset {
  gap: 16px;
}

.intake-consent-grid label span,
.intake-check-grid label span {
  display: block;
}

.intake-card .form-grid label {
  align-content: start;
}

.intake-card .form-grid textarea,
.intake-card .form-grid select,
.intake-card .form-grid input {
  margin-top: 2px;
}

.booking-intake-complete {
  margin: 10px 0 0;
  color: var(--ink);
}

.booking-intake-incomplete {
  color: var(--muted);
}

.archetype-page-shell {
  padding-bottom: 88px;
  gap: 22px;
}

.archetype-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.94), transparent 40%),
    radial-gradient(circle at right center, rgba(148, 195, 233, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(130, 112, 201, 0.12), rgba(255, 252, 247, 0.95) 46%, rgba(26, 41, 91, 0.08));
  border: 1px solid rgba(102, 87, 173, 0.12);
  padding: 18px 24px 16px;
}

.archetype-hero-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 10px;
}

.archetype-hero .admin-back-link {
  position: static;
}

.archetype-action-link {
  background: rgba(255, 255, 255, 0.78);
}

.archetype-hero h1 {
  max-width: 11ch;
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.archetype-hero > p {
  max-width: 760px;
  margin-bottom: 0;
}

.archetype-hero-meta {
  margin-top: 10px;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.archetype-hero-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.archetype-hero-pill {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(26, 41, 91, 0.1);
  background: rgba(255, 255, 255, 0.78);
  min-height: 96px;
  align-content: start;
}

.archetype-hero-pill strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.archetype-overview-grid,
.archetype-bottom-grid {
  display: grid;
  gap: 18px;
}

.archetype-overview-grid {
  grid-template-columns: 1.2fr 0.95fr;
}

.archetype-bottom-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.archetype-summary-card,
.archetype-focus-card,
.archetype-risk-card,
.archetype-response-card,
.archetype-stat-card,
.archetype-roadmap-card,
.archetype-section-card,
.archetype-edit-card,
.archetype-full-intake-card {
  border: 1px solid rgba(26, 41, 91, 0.08);
  box-shadow: var(--shadow);
  padding: 24px 24px 22px;
}

.archetype-summary-card h2,
.archetype-focus-card h2,
.archetype-risk-card h2,
.archetype-response-card h2,
.archetype-roadmap-card h2,
.archetype-section-card h2,
.archetype-full-intake-card h2 {
  margin-top: 0;
  margin-bottom: 14px;
  line-height: 1.18;
}

.archetype-summary-card {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.94), transparent 42%),
    linear-gradient(150deg, rgba(255, 252, 247, 0.98), rgba(255, 255, 255, 0.92));
}

.archetype-focus-card {
  background:
    radial-gradient(circle at top right, rgba(148, 195, 233, 0.18), transparent 30%),
    linear-gradient(150deg, rgba(244, 248, 255, 0.96), rgba(255, 255, 255, 0.94));
}

.archetype-summary-card,
.archetype-focus-card,
.archetype-risk-card,
.archetype-response-card {
  min-height: 100%;
}

.archetype-risk-card,
.archetype-response-card {
  min-height: 420px;
}

.archetype-lead {
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--ink);
}

.archetype-focus-list,
.archetype-flag-list,
.archetype-point-list,
.archetype-response-list {
  display: grid;
  gap: 10px;
}

.archetype-focus-item,
.archetype-flag-item,
.archetype-point-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(26, 41, 91, 0.08);
}

.archetype-flag-item {
  background: linear-gradient(135deg, rgba(130, 112, 201, 0.1), rgba(255, 255, 255, 0.9));
}

.archetype-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.archetype-stat-card {
  min-height: 136px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px 18px;
}

.archetype-stat-card h3 {
  margin: 0;
  font-size: clamp(1.02rem, 1.55vw, 1.42rem);
  line-height: 1.3;
}

.archetype-stat-card-ink {
  background: rgba(255, 255, 255, 0.96);
}

.archetype-stat-card-blue {
  background: linear-gradient(145deg, rgba(148, 195, 233, 0.18), rgba(255, 255, 255, 0.94));
}

.archetype-stat-card-purple {
  background: linear-gradient(145deg, rgba(130, 112, 201, 0.16), rgba(255, 255, 255, 0.94));
}

.archetype-stat-card-neutral {
  background: linear-gradient(145deg, rgba(247, 242, 234, 0.95), rgba(255, 255, 255, 0.96));
}

.archetype-roadmap-grid,
.archetype-section-grid {
  display: grid;
  gap: 18px;
}

.archetype-roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.archetype-section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.archetype-roadmap-card {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(150deg, rgba(255, 252, 247, 0.98), rgba(244, 248, 255, 0.9));
}

.archetype-section-card {
  background:
    radial-gradient(circle at top right, rgba(130, 112, 201, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 247, 0.96));
}

.archetype-risk-card {
  background:
    radial-gradient(circle at top left, rgba(130, 112, 201, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(249, 246, 255, 0.98), rgba(255, 255, 255, 0.92));
}

.archetype-response-card {
  background:
    radial-gradient(circle at top right, rgba(148, 195, 233, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(245, 249, 255, 0.96), rgba(255, 255, 255, 0.94));
}

.archetype-response-card .list-item {
  align-items: start;
  padding: 14px 16px;
  min-height: 82px;
}

.archetype-response-card .list-item span {
  text-align: right;
  line-height: 1.55;
  color: var(--ink);
}

.archetype-edit-card {
  background:
    radial-gradient(circle at top left, rgba(130, 112, 201, 0.08), transparent 28%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.94));
}

.archetype-full-intake-card {
  background:
    radial-gradient(circle at top right, rgba(148, 195, 233, 0.12), transparent 26%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.94));
  margin-top: 12px;
}

.archetype-intake-sections {
  display: grid;
  gap: 18px;
}

.archetype-intake-section {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(26, 41, 91, 0.08);
}

.archetype-intake-section h3 {
  margin: 0;
  font-size: 1.12rem;
}

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

.archetype-intake-list .list-item {
  align-items: start;
}

.archetype-intake-list .list-item span {
  text-align: right;
  line-height: 1.55;
}

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

.archetype-edit-stack {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(26, 41, 91, 0.08);
}

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

.admin-reminder-tools-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.admin-reminder-item {
  align-items: center;
  gap: 1rem;
}

.admin-visibility-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(26, 41, 91, 0.08);
}

.admin-visibility-card span {
  color: var(--ink);
  font-weight: 700;
}

:root[data-theme="dark"] .admin-visibility-card {
  background: linear-gradient(180deg, rgba(24, 35, 63, 0.98), rgba(17, 26, 46, 0.96));
  border-color: rgba(214, 221, 245, 0.1);
}

:root[data-theme="dark"] .admin-visibility-card span {
  color: var(--ink);
}

:root[data-theme="dark"] .admin-visibility-card select {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(214, 221, 245, 0.12);
  color: var(--ink);
}

:root[data-theme="dark"] .admin-visibility-card {
  background: linear-gradient(180deg, rgba(24, 35, 63, 0.98), rgba(17, 26, 46, 0.96));
  border-color: rgba(214, 221, 245, 0.1);
}

:root[data-theme="dark"] .admin-visibility-card span {
  color: var(--ink);
}

:root[data-theme="dark"] .admin-visibility-card select {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(214, 221, 245, 0.12);
  color: var(--ink);
}

.home-assistant {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  justify-items: end;
  gap: 14px;
}

.home-assistant-trigger {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(27, 42, 91, 0.12);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 237, 0.94));
  box-shadow: 0 18px 40px rgba(26, 41, 91, 0.16);
  color: #1a295b;
  cursor: pointer;
}

.home-assistant-trigger-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a295b, #3c4f8e);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.home-assistant-trigger-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.home-assistant-trigger-copy strong {
  font-size: 0.98rem;
}

.home-assistant-trigger-copy small {
  color: rgba(31, 49, 103, 0.72);
}

.home-assistant-panel {
  width: min(420px, calc(100vw - 28px));
  max-height: min(72vh, 720px);
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(198, 164, 78, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 243, 0.96));
  border: 1px solid rgba(27, 42, 91, 0.1);
  box-shadow: 0 28px 54px rgba(26, 41, 91, 0.18);
  display: grid;
  gap: 16px;
}

.home-assistant-panel[hidden] {
  display: none !important;
}

.home-assistant-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.home-assistant-panel-header h3 {
  margin: 4px 0 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.home-assistant-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: rgba(26, 41, 91, 0.06);
  color: #1a295b;
  font-size: 1.3rem;
  cursor: pointer;
}

.home-assistant-thread {
  display: grid;
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.home-assistant-message {
  max-width: 92%;
  padding: 14px 16px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(26, 41, 91, 0.08);
}

.home-assistant-message p {
  margin: 0;
  line-height: 1.55;
}

.home-assistant-message-assistant {
  justify-self: start;
  background: linear-gradient(180deg, rgba(247, 248, 255, 0.98), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(93, 109, 186, 0.14);
}

.home-assistant-message-user {
  justify-self: end;
  background: linear-gradient(135deg, rgba(31, 49, 103, 0.96), rgba(61, 80, 148, 0.94));
  color: #fff;
}

.home-assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.home-assistant-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-assistant-prompt {
  border: 1px solid rgba(26, 41, 91, 0.08);
  background: rgba(255, 255, 255, 0.84);
  color: #1a295b;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.home-assistant-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.home-assistant-form input {
  min-width: 0;
}

.home-assistant-form.is-loading button {
  opacity: 0.72;
}

@media (max-width: 720px) {
  .home-assistant {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-items: stretch;
  }

  .home-assistant-trigger {
    width: 100%;
    justify-content: flex-start;
  }

  .home-assistant-panel {
    width: 100%;
  }

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

@media print {
  .site-header,
  .site-footer,
  .flash-stack,
  .archetype-hero-actions,
  .archetype-edit-card {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .archetype-page-shell,
  .archetype-page-shell .card,
  .archetype-hero {
    box-shadow: none !important;
  }

  .archetype-page-shell {
    gap: 14px !important;
    padding-bottom: 0 !important;
  }

  .archetype-overview-grid,
  .archetype-bottom-grid,
  .archetype-roadmap-grid,
  .archetype-section-grid,
  .archetype-snapshot-grid,
  .archetype-hero-pills {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 8px !important;
  }

  .archetype-hero {
    padding-bottom: 12px !important;
  }

  .archetype-hero h1 {
    max-width: none !important;
  }

  .archetype-hero-pill,
  .archetype-stat-card,
  .archetype-summary-card,
  .archetype-focus-card,
  .archetype-risk-card,
  .archetype-response-card,
  .archetype-roadmap-card,
  .archetype-section-card {
    min-height: 0 !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .archetype-response-card .list-item,
  .archetype-focus-item,
  .archetype-flag-item,
  .archetype-point-item,
  .archetype-full-intake-card,
  .archetype-intake-section {
    min-height: 0 !important;
  }
}

@media (max-width: 1200px) {
  .archetype-hero-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .archetype-snapshot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .archetype-roadmap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .archetype-overview-grid,
  .archetype-bottom-grid,
  .archetype-roadmap-grid,
  .archetype-section-grid,
  .archetype-edit-grid,
  .admin-visibility-grid {
    grid-template-columns: 1fr;
  }

  .archetype-intake-list .list-item {
    flex-direction: column;
  }

  .archetype-intake-list .list-item span {
    text-align: left;
  }

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

@media (max-width: 640px) {
  .archetype-hero-actions {
    justify-content: stretch;
    flex-direction: column;
  }

  .archetype-hero-pill {
    min-width: 100%;
  }

  .archetype-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .archetype-response-card .list-item {
    flex-direction: column;
  }

  .archetype-response-card .list-item span {
    text-align: left;
  }
}

@media (max-width: 980px) {
  .message-layout {
    grid-template-columns: 1fr;
  }
}

.form-grid,
.quiz-form,
.exam-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

input,
textarea,
select,
button {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.list-item,
.slot-card,
.question-block {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.lesson-row.locked {
  opacity: 0.55;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.assessment-page-shell {
  gap: 26px;
}

.assessment-hero {
  position: relative;
  padding: 26px 28px 24px;
  border-radius: 32px;
  border: 1px solid rgba(23, 36, 79, 0.08);
  box-shadow: 0 22px 44px rgba(26, 41, 91, 0.08);
}

.assessment-hero-module {
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 164, 78, 0.12), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(116, 146, 216, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(245, 242, 250, 0.98), rgba(251, 249, 244, 0.96));
}

.assessment-hero-exam {
  background:
    radial-gradient(circle at 12% 18%, rgba(121, 97, 168, 0.12), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(200, 164, 78, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(247, 243, 250, 0.98), rgba(251, 249, 244, 0.96));
}

.assessment-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.assessment-stat-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 36, 79, 0.08);
}

.assessment-stat-card span {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.assessment-stat-card strong {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  color: var(--ink);
}

.assessment-status-card,
.assessment-form-card,
.assessment-guidance-card,
.assessment-next-card {
  border-radius: 30px;
  box-shadow: 0 18px 36px rgba(26, 41, 91, 0.07);
}

.assessment-status-card {
  display: grid;
  gap: 14px;
  padding: 28px 30px;
  background: linear-gradient(180deg, rgba(248, 249, 253, 0.98), rgba(255, 255, 255, 0.96));
}

.assessment-status-card.is-passed {
  background:
    radial-gradient(circle at 10% 16%, rgba(95, 149, 109, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(244, 251, 246, 0.98), rgba(255, 255, 255, 0.96));
}

.assessment-status-card.is-revisit {
  background:
    radial-gradient(circle at 10% 16%, rgba(200, 164, 78, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(252, 248, 238, 0.98), rgba(255, 255, 255, 0.96));
}

.assessment-status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.assessment-form-card {
  padding: 28px 30px 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(92, 126, 185, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 247, 242, 0.96));
}

.assessment-form-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 18px;
}

.assessment-form {
  gap: 18px;
}

.assessment-question-card {
  display: grid;
  gap: 14px;
  padding: 20px 20px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 255, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 14px 30px rgba(26, 41, 91, 0.05);
}

.assessment-question-card legend {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  padding: 0 4px;
}

.assessment-options-grid {
  display: grid;
  gap: 10px;
}

.assessment-option-card {
  min-height: 54px;
  border-radius: 16px;
  padding: 12px 14px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.assessment-option-card:hover {
  transform: translateY(-1px);
  border-color: rgba(63, 92, 155, 0.18);
  box-shadow: 0 12px 24px rgba(26, 41, 91, 0.06);
}

.assessment-answer-field textarea {
  min-height: 130px;
}

.assessment-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.assessment-guidance-card,
.assessment-next-card {
  padding: 28px 30px;
  background: linear-gradient(180deg, rgba(248, 249, 253, 0.98), rgba(255, 255, 255, 0.96));
}

.assessment-guidance-list {
  gap: 14px;
}

.assessment-guidance-item {
  align-items: start;
}

.status-pass {
  color: var(--forest);
  font-weight: 700;
}

.certificate-panel {
  text-align: center;
  padding: 54px 26px;
}

.certificate-panel h1 {
  max-width: none;
}

.stats-grid {
  flex-wrap: wrap;
}

.stat-card {
  flex: 1 1 180px;
  text-align: center;
}

.stat-card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.stat-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(23, 36, 79, 0.09);
}

.stat-card strong {
  display: block;
  font-size: 2.3rem;
  margin-bottom: 8px;
}

.admin-grid {
  margin-top: 0;
}

.admin-hub {
  padding-bottom: 28px;
}

.admin-hub-hero {
  background:
    radial-gradient(circle at 82% 22%, rgba(121, 97, 168, 0.14), transparent 28%),
    radial-gradient(circle at 14% 18%, rgba(200, 164, 78, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(246, 243, 236, 0.98), rgba(250, 248, 243, 0.96));
  text-align: center;
  justify-items: center;
}

.admin-hub-hero h1 {
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  line-height: 0.98;
  max-width: 17ch;
}

.admin-hub-hero p:not(.eyebrow) {
  max-width: 58ch;
  margin-inline: auto;
}

.admin-hub-hero .eyebrow {
  color: #6d548d;
}

.admin-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.admin-link-pill {
  text-decoration: none;
  background: rgba(23, 36, 79, 0.08);
  color: var(--ink);
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.admin-action-card {
  text-decoration: none;
  color: inherit;
  min-height: 242px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 12px;
  padding: 22px 22px 24px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.admin-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(23, 36, 79, 0.09);
}

.admin-action-card h2 {
  font-size: clamp(1.5rem, 1.9vw, 1.9rem);
  line-height: 1.02;
  margin-bottom: 0;
  max-width: 12ch;
}

.admin-action-card p {
  font-size: 0.94rem;
  line-height: 1.58;
  max-width: 31ch;
  color: var(--muted);
  margin: 0;
}

.admin-action-card-tone-1 {
  background: linear-gradient(180deg, rgba(233, 240, 249, 0.98), rgba(241, 245, 252, 0.96));
}

.admin-action-card-tone-2 {
  background: linear-gradient(180deg, rgba(218, 231, 247, 0.98), rgba(233, 241, 251, 0.96));
}

.admin-action-card-tone-3 {
  background: linear-gradient(180deg, rgba(193, 212, 239, 0.98), rgba(214, 228, 246, 0.96));
}

.admin-action-card-tone-4 {
  background: linear-gradient(180deg, rgba(136, 161, 206, 0.98), rgba(163, 183, 219, 0.96));
}

.admin-action-card-tone-5 {
  background: linear-gradient(180deg, rgba(23, 36, 79, 0.98), rgba(30, 45, 96, 0.96));
  border-color: rgba(255, 255, 255, 0.08);
}

.admin-action-card-tone-5 h2,
.admin-action-card-tone-5 p,
.admin-action-card-tone-5 .pill {
  color: #fffdf8;
}

.admin-action-card-tone-5 .pill {
  background: rgba(255, 255, 255, 0.12);
}

.admin-side-card {
  min-height: 100%;
  padding: 24px 24px 26px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
}

.admin-side-card h2 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.04;
  margin-bottom: 12px;
}

.admin-side-card .form-grid {
  gap: 12px;
  margin-top: 6px;
  min-height: 248px;
  align-content: start;
}

.admin-side-card label {
  font-size: 0.92rem;
}

.admin-side-card input,
.admin-side-card textarea {
  font-size: 0.95rem;
}

.admin-side-card .button {
  margin-top: 4px;
}

.admin-side-card .helper-text {
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 44ch;
  margin-top: 14px;
  align-self: end;
}

.admin-side-card textarea {
  min-height: 92px;
}

.admin-preview-card .section-heading {
  margin-bottom: 18px;
}

.admin-hub > .stats-grid,
.admin-hub > .admin-action-grid,
.admin-hub > .split-layout,
.admin-hub > .card {
  margin-top: 18px;
}

.admin-hub > .split-layout + .split-layout,
.admin-hub > .split-layout + .card,
.admin-hub > .card + .split-layout,
.admin-hub > .card + .card {
  margin-top: 30px;
}

.admin-page-shell > .split-layout,
.admin-page-shell > .card,
.admin-page-shell > .admin-calendar-card {
  margin-top: 26px;
}

.admin-page-shell .section-intro {
  background:
    radial-gradient(circle at 10% 18%, rgba(200, 164, 78, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(247, 244, 236, 0.98), rgba(250, 248, 243, 0.96));
}

.admin-course-builder-hero {
  background:
    radial-gradient(circle at 84% 22%, rgba(121, 97, 168, 0.16), transparent 26%),
    radial-gradient(circle at 68% 78%, rgba(93, 124, 187, 0.12), transparent 30%),
    radial-gradient(circle at 10% 18%, rgba(200, 164, 78, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(247, 244, 236, 0.98), rgba(250, 248, 243, 0.96));
}

.admin-exam-builder-hero,
.admin-module-builder-hero,
.admin-lesson-builder-hero,
.admin-availability-hero {
  background:
    radial-gradient(circle at 84% 22%, rgba(121, 97, 168, 0.14), transparent 26%),
    radial-gradient(circle at 16% 18%, rgba(93, 124, 187, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(246, 244, 250, 0.98), rgba(249, 248, 244, 0.96));
}

.admin-course-builder-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-builder-hero-shell {
  position: relative;
}

.admin-back-link {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(23, 36, 79, 0.08);
  color: #30486f;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.admin-lesson-toolbar-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
  flex-shrink: 0;
}

.admin-lesson-hero-action {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
}

.admin-lesson-hero-action strong,
.admin-lesson-hero-action p {
  margin: 0;
}

.admin-lesson-knowledge-section {
  display: grid;
}

.admin-builder-card-wide {
  width: 100%;
}

.admin-module-quiz-stack {
  display: grid;
  gap: 14px;
}

.admin-module-quiz-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(23, 36, 79, 0.08);
  background: rgba(255, 255, 255, 0.74);
}

.admin-module-quiz-copy {
  display: grid;
  gap: 6px;
}

.admin-module-quiz-copy strong,
.admin-module-quiz-copy p {
  margin: 0;
}

.admin-module-quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.lesson-module-quiz-item {
  margin-bottom: 18px;
}

.admin-lesson-builder-grid,
.admin-lesson-assessment-grid {
  align-items: start;
}

.admin-lesson-preview-card {
  padding: 28px 28px 30px;
}

.admin-lesson-preview-card .admin-builder-card-header {
  margin-bottom: 20px;
}

.admin-lesson-composer-card,
.admin-lesson-stack-card {
  min-height: 100%;
}

.admin-builder-card {
  padding: 24px 24px 26px;
  background:
    linear-gradient(180deg, rgba(242, 247, 253, 0.62), rgba(255, 255, 255, 0.92)),
    linear-gradient(180deg, rgba(249, 247, 242, 0.98), rgba(255, 255, 255, 0.96));
}

.admin-builder-card-primary {
  background:
    radial-gradient(circle at 84% 16%, rgba(92, 126, 185, 0.12), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(200, 164, 78, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(244, 240, 250, 0.98), rgba(252, 250, 246, 0.96));
}

.admin-builder-card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-builder-card-header h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.35rem);
  line-height: 1.02;
}

.admin-builder-status {
  margin-bottom: 0;
  background: rgba(93, 124, 187, 0.12);
  color: #30486f;
}

.admin-builder-card .form-grid {
  gap: 14px;
}

.admin-builder-card label {
  font-size: 0.92rem;
}

.admin-slide-media-library {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 36, 79, 0.08);
}

.admin-slide-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-slide-media-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 36, 79, 0.08);
}

.admin-slide-media-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.admin-media-filter-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr) auto;
  align-items: end;
}

.admin-media-library-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-media-library-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(92, 126, 185, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 242, 0.95));
  box-shadow: 0 18px 36px rgba(26, 41, 91, 0.08);
}

.admin-media-library-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.admin-media-library-copy {
  display: grid;
  gap: 8px;
}

.admin-media-library-copy strong {
  word-break: break-word;
}

.admin-media-library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-assessment-mini-grid,
.admin-assessment-course-grid {
  display: grid;
  gap: 16px;
}

.admin-assessment-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-assessment-course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-assessment-mini-card,
.admin-assessment-course-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(23, 36, 79, 0.08);
  text-decoration: none;
  color: inherit;
  background:
    radial-gradient(circle at 88% 14%, rgba(93, 124, 187, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(248, 244, 252, 0.98), rgba(255, 252, 247, 0.96));
  box-shadow: 0 18px 34px rgba(25, 39, 78, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.admin-assessment-mini-card:hover,
.admin-assessment-course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px rgba(25, 39, 78, 0.11);
}

.admin-assessment-mini-card strong,
.admin-assessment-course-card strong {
  font-size: 1.05rem;
}

.admin-assessment-mini-card span,
.admin-assessment-course-card p {
  margin: 0;
  color: var(--muted);
}

.admin-assessment-course-card .button {
  justify-self: start;
  margin-top: 8px;
}

.admin-exam-lesson-picker {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.admin-exam-lesson-picker .admin-inline-actions {
  align-self: end;
}

.admin-exam-composer-grid {
  gap: 18px;
}

.admin-exam-question-field {
  display: grid;
  gap: 8px;
}

.admin-exam-question-field textarea {
  min-height: 180px;
}

.admin-exam-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.admin-exam-submit-row {
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.admin-exam-submit-row label {
  min-width: 220px;
}

.builder-stack {
  display: grid;
  gap: 20px;
}

.intake-builder-section {
  display: grid;
  gap: 18px;
  padding-top: 4px;
}

.intake-builder-section + .intake-builder-section {
  border-top: 1px solid rgba(31, 49, 103, 0.1);
  padding-top: 22px;
}

.intake-builder-section-head {
  display: grid;
  gap: 10px;
}

.intake-builder-question-stack {
  display: grid;
  gap: 14px;
}

.intake-builder-question-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(31, 49, 103, 0.1);
}

.intake-builder-question-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-soft {
  background: rgba(48, 72, 111, 0.08);
  color: #30486f;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.inline-check input[type="checkbox"] {
  margin: 0;
}

.rich-editor-field {
  display: grid;
  gap: 8px;
  align-content: start;
}

.rich-editor-field > span {
  font-size: 0.92rem;
  color: var(--ink);
}

.rich-editor-shell {
  display: grid;
  gap: 0;
  border: 1px solid rgba(31, 49, 103, 0.12);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.rich-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(242, 247, 253, 0.92), rgba(248, 244, 252, 0.92));
  border-bottom: 1px solid rgba(31, 49, 103, 0.08);
}

.rich-editor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 49, 103, 0.1);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.82rem;
}

.rich-editor-button:hover {
  background: rgba(121, 97, 168, 0.1);
  border-color: rgba(121, 97, 168, 0.16);
  color: #6d548d;
}

.rich-editor {
  min-height: 230px;
  padding: 18px 18px 20px;
  font-size: 1rem;
  line-height: 1.75;
  color: #374d70;
  outline: none;
}

.rich-editor p,
.lesson-slide-rich-body p {
  margin: 0 0 12px;
}

.rich-editor ul,
.rich-editor ol,
.lesson-slide-rich-body ul,
.lesson-slide-rich-body ol {
  margin: 0 0 12px 22px;
}

.rich-editor h3,
.lesson-slide-rich-body h3 {
  font-size: 1.45rem;
  line-height: 1.08;
  margin: 0 0 12px;
}

.rich-editor h4,
.lesson-slide-rich-body h4 {
  font-size: 1.18rem;
  line-height: 1.12;
  margin: 0 0 10px;
}

.rich-editor table,
.lesson-slide-rich-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 0.95rem;
  overflow: hidden;
  border-radius: 16px;
}

.rich-editor th,
.rich-editor td,
.lesson-slide-rich-body th,
.lesson-slide-rich-body td {
  border: 1px solid rgba(23, 36, 79, 0.12);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.rich-editor th,
.lesson-slide-rich-body th {
  background: rgba(23, 36, 79, 0.06);
  color: var(--ink);
}

.admin-builder-card input,
.admin-builder-card textarea,
.admin-builder-card select {
  font-size: 0.97rem;
}

.admin-builder-list {
  gap: 14px;
}

.admin-builder-list-item {
  align-items: center;
  padding: 18px 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(247, 246, 252, 0.92), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(93, 124, 187, 0.12);
}

.admin-builder-list-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.button-danger-soft {
  background: rgba(145, 62, 81, 0.1);
  color: #8d3450;
  border-color: rgba(145, 62, 81, 0.16);
}

.admin-builder-mini-pill {
  margin-bottom: 0;
  background: rgba(121, 97, 168, 0.1);
  color: #6d548d;
}

.admin-exam-builder-hero .eyebrow,
.admin-module-builder-hero .eyebrow,
.admin-lesson-builder-hero .eyebrow,
.admin-availability-hero .eyebrow {
  color: #6d548d;
}

.admin-page-shell .card .list-item strong,
.admin-page-shell .card h2 {
  color: #1f3167;
}

.admin-page-shell .helper-text {
  color: #55627f;
}

.admin-page-shell .card {
  border-color: rgba(93, 124, 187, 0.1);
}

.admin-course-builder-hero .pill {
  background: rgba(23, 36, 79, 0.08);
  color: #30486f;
}

.admin-builder-card .button-primary {
  background: linear-gradient(90deg, #1f3167, #35507a);
}

.admin-builder-card .button-secondary {
  background: rgba(121, 97, 168, 0.1);
  color: #6d548d;
  border-color: rgba(121, 97, 168, 0.16);
}

.lesson-slide-experience {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.lesson-content.lesson-slide-experience {
  padding: 26px 28px 30px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 10%, rgba(200, 164, 78, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 248, 244, 0.96));
  box-shadow: 0 24px 48px rgba(26, 41, 91, 0.08);
}

.lesson-page-hero {
  position: relative;
  padding: 24px 28px 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 18%, rgba(200, 164, 78, 0.12), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(126, 151, 216, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(244, 242, 250, 0.98), rgba(251, 249, 244, 0.96));
  border: 1px solid rgba(23, 36, 79, 0.08);
  box-shadow: 0 22px 44px rgba(26, 41, 91, 0.08);
}

.lesson-page-hero-copy {
  display: grid;
  gap: 8px;
  max-width: 62ch;
}

.lesson-page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.lesson-page-hero p:not(.eyebrow) {
  margin-bottom: 0;
  color: #4f5d79;
  font-size: 0.98rem;
}

.lesson-module-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 14px;
}

.lesson-module-chip {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 247, 242, 0.92));
  border: 1px solid rgba(23, 36, 79, 0.08);
  box-shadow: 0 18px 36px rgba(26, 41, 91, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.lesson-module-chip-link {
  text-decoration: none;
  color: inherit;
}

.lesson-module-chip.is-clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(26, 41, 91, 0.1);
  border-color: rgba(63, 92, 155, 0.16);
}

.lesson-module-chip.is-current {
  background: linear-gradient(180deg, rgba(23, 36, 79, 0.98), rgba(33, 50, 104, 0.95));
  border-color: rgba(255, 255, 255, 0.08);
}

.lesson-module-chip.is-complete:not(.is-current) {
  background:
    radial-gradient(circle at 12% 14%, rgba(104, 153, 119, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(241, 250, 243, 0.98), rgba(250, 255, 251, 0.95));
  border-color: rgba(95, 149, 109, 0.18);
}

.lesson-module-chip.is-current strong,
.lesson-module-chip.is-current .lesson-module-chip-status,
.lesson-module-chip.is-current .pill {
  color: #fffdf8;
}

.lesson-module-chip strong {
  font-size: 1.02rem;
  line-height: 1.35;
}

.lesson-module-chip-status {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lesson-assessment-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lesson-quiz-card.is-disabled {
  opacity: 0.76;
}

.lesson-quiz-card .button.is-disabled {
  pointer-events: none;
  opacity: 0.75;
}

.lesson-undo-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 248, 232, 0.94), rgba(255, 253, 246, 0.92));
  border: 1px solid rgba(200, 164, 78, 0.18);
  margin-bottom: 18px;
}

.lesson-undo-banner strong,
.lesson-undo-banner span {
  display: block;
}

.lesson-undo-banner span {
  color: var(--muted);
  font-size: 0.88rem;
}

.lesson-knowledge-card {
  display: grid;
  gap: 14px;
  padding: 28px 30px;
  border: 1px solid rgba(23, 36, 79, 0.08);
  background:
    radial-gradient(circle at 8% 10%, rgba(200, 164, 78, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(247, 244, 236, 0.98), rgba(255, 255, 255, 0.94));
  box-shadow: 0 18px 44px rgba(23, 36, 79, 0.06);
}

.lesson-knowledge-card .eyebrow {
  margin-bottom: 2px;
}

.lesson-knowledge-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 1.9vw, 2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.lesson-knowledge-card > .helper-text {
  max-width: 58ch;
  color: #4c5d7b;
}

.lesson-knowledge-form {
  display: grid;
  gap: 20px;
}

.lesson-knowledge-form--deck {
  gap: 14px;
}

.lesson-knowledge-item {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.9));
  border: 1px solid rgba(23, 36, 79, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 24px rgba(26, 41, 91, 0.05);
}

.lesson-knowledge-question-header {
  display: grid;
  gap: 6px;
}

.lesson-knowledge-question-pill {
  width: fit-content;
  background: rgba(91, 196, 176, 0.1);
  color: #215a63;
}

.lesson-knowledge-item h3 {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  color: #1f3167;
}

.lesson-knowledge-options {
  display: grid;
  gap: 7px;
}

.lesson-knowledge-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  border: 1px solid rgba(23, 36, 79, 0.08);
  background: rgba(248, 249, 252, 0.82);
  padding: 9px 11px;
  transition: 180ms ease;
  cursor: pointer;
}

.lesson-knowledge-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lesson-knowledge-option-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid rgba(31, 49, 103, 0.22);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
}

.lesson-knowledge-option-text {
  font-size: 12px;
  line-height: 1.5;
  color: #25375f;
}

.lesson-knowledge-option input:checked + .lesson-knowledge-option-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #1f3167;
  border-bottom: 2px solid #1f3167;
  transform: rotate(45deg);
}

.lesson-knowledge-option:hover {
  border-color: rgba(93, 124, 187, 0.18);
  background: rgba(243, 247, 255, 0.86);
}

.lesson-knowledge-option.is-correct {
  border-color: rgba(78, 133, 95, 0.28);
  background: rgba(226, 240, 229, 0.76);
  box-shadow: 0 10px 24px rgba(78, 133, 95, 0.08);
}

.lesson-knowledge-option.is-correct .lesson-knowledge-option-mark {
  border-color: rgba(78, 133, 95, 0.42);
  background: rgba(255, 255, 255, 0.96);
}

.lesson-knowledge-option.is-correct .lesson-knowledge-option-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #355c40;
  border-bottom: 2px solid #355c40;
  transform: rotate(45deg);
}

.lesson-knowledge-option.is-incorrect {
  border-color: rgba(157, 86, 86, 0.24);
  background: rgba(248, 229, 229, 0.76);
  box-shadow: 0 10px 24px rgba(157, 86, 86, 0.06);
}

.lesson-knowledge-option.is-incorrect .lesson-knowledge-option-mark {
  border-color: rgba(157, 86, 86, 0.3);
  background: rgba(255, 255, 255, 0.96);
}

.lesson-knowledge-feedback {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.lesson-knowledge-feedback.is-correct {
  color: #355c40;
}

.lesson-knowledge-feedback.is-incorrect {
  color: #8f4154;
}

.admin-knowledge-check-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(247, 246, 252, 0.92), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(93, 124, 187, 0.12);
}

.admin-knowledge-check-card h3 {
  margin: 0;
}

@media (max-width: 980px) {
  .course-detail-hero {
    grid-template-columns: 1fr;
  }

  .course-detail-hero:has(.course-detail-hero-visual) {
    grid-template-columns: 1fr;
  }

  .course-payment-hero {
    grid-template-columns: 1fr;
  }

  .lesson-knowledge-card {
    padding: 22px 22px;
  }
}

.lesson-slide-experience-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.lesson-slide-viewer {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lesson-slide-preview-shell {
  display: flex;
}

.lesson-slide-preview-shell-wide .lesson-slide-panel {
  min-height: 470px;
}

.lesson-slide-stack {
  display: grid;
  gap: 10px;
}

.lesson-slide-stack-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(26, 41, 91, 0.08);
  min-height: 72px;
}

.lesson-slide-stack-card.is-active {
  border-color: rgba(121, 97, 168, 0.24);
  box-shadow: 0 10px 24px rgba(19, 33, 70, 0.08);
  background: linear-gradient(180deg, rgba(247, 243, 255, 0.96), rgba(255, 255, 255, 0.92));
}

.lesson-slide-stack-card.is-dragging {
  opacity: 0.55;
}

.lesson-slide-stack-preview {
  width: 54px;
  min-height: 54px;
  height: 54px;
  border-radius: 999px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(201, 164, 78, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(31, 49, 103, 0.08), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(26, 41, 91, 0.08);
  display: grid;
  place-items: center;
}

.lesson-slide-stack-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lesson-slide-stack-placeholder {
  padding: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
}

.lesson-slide-stack-placeholder.is-hidden,
.lesson-slide-image.is-hidden {
  display: none;
}

.lesson-slide-stack-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.lesson-slide-stack-copy strong {
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lesson-slide-stack-copy .helper-text {
  font-size: 0.76rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lesson-slide-stack-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 0;
}

.lesson-slide-stack-actions form {
  margin: 0;
}

.lesson-slide-stack-actions .button {
  border-radius: 999px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.lesson-slide-order-form {
  display: none;
}

.lesson-slide-preview-shell .lesson-slide-panel {
  width: 100%;
  min-height: 420px;
}

.lesson-slide-viewer-topline {
  display: flex;
  justify-content: flex-end;
}

.lesson-slide-stage {
  position: relative;
  min-height: 520px;
  padding: 12px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 10% 16%, rgba(200, 164, 78, 0.08), transparent 20%),
    radial-gradient(circle at 88% 18%, rgba(109, 138, 210, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(247, 244, 237, 0.76), rgba(255, 255, 255, 0.84));
}

.lesson-slide-panel {
  position: relative;
  display: none;
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(201, 164, 78, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(247, 245, 239, 0.98), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(31, 49, 103, 0.08);
  box-shadow: 0 24px 55px rgba(16, 26, 53, 0.08);
}

.lesson-slide-panel--theme-editorial {
  background:
    radial-gradient(circle at 15% 18%, rgba(201, 164, 78, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(247, 245, 239, 0.98), rgba(255, 255, 255, 0.94));
}

.lesson-slide-panel--theme-navy {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(18, 31, 77, 0.98), rgba(27, 42, 96, 0.94));
  color: #f7f5ef;
}

.lesson-slide-panel--theme-light-blue {
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.8), transparent 28%),
    linear-gradient(180deg, rgba(232, 242, 255, 0.98), rgba(246, 249, 255, 0.95));
}

.lesson-slide-panel--theme-purple-glow {
  background:
    radial-gradient(circle at 15% 18%, rgba(187, 168, 255, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(251, 247, 255, 0.98), rgba(244, 239, 255, 0.95));
}

.lesson-slide-panel--theme-minimal {
  background:
    radial-gradient(circle at 15% 18%, rgba(31, 49, 103, 0.04), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 250, 250, 0.96));
}

.lesson-slide-panel.is-active {
  display: flex;
  animation: lessonSlideReveal 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lessonSlideReveal {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lesson-slide-panel--media-left,
.lesson-slide-panel--media-right {
  flex-direction: row;
}

.lesson-slide-panel--media-right {
  flex-direction: row-reverse;
}

.lesson-slide-panel--media-top,
.lesson-slide-panel--media-bottom {
  flex-direction: column;
}

.lesson-slide-panel--media-bottom {
  flex-direction: column-reverse;
}

.lesson-slide-panel--media-background,
.lesson-slide-panel--media-behind-text {
  align-items: stretch;
  justify-content: stretch;
}

.lesson-slide-media {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-height: 220px;
  background:
    radial-gradient(circle at 18% 20%, rgba(200, 164, 78, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(31, 49, 103, 0.08), rgba(31, 49, 103, 0.03));
}

.lesson-slide-media.is-empty {
  display: grid;
  place-items: center;
}

.lesson-slide-panel--media-left .lesson-slide-media,
.lesson-slide-panel--media-right .lesson-slide-media {
  width: 45%;
  min-height: 100%;
  padding: 22px 22px 22px 0;
}

.lesson-slide-panel--media-top .lesson-slide-media,
.lesson-slide-panel--media-bottom .lesson-slide-media {
  width: 100%;
  min-height: 240px;
  padding: 18px 18px 0;
}

.lesson-slide-panel--media-right .lesson-slide-media {
  padding: 18px 0 18px 18px;
}

.lesson-slide-panel--media-bottom .lesson-slide-media {
  padding: 0 18px 18px;
}

.lesson-slide-panel--media-background .lesson-slide-media,
.lesson-slide-panel--media-behind-text .lesson-slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lesson-slide-panel--media-background .lesson-slide-media::after,
.lesson-slide-panel--media-behind-text .lesson-slide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247, 245, 239, 0.9), rgba(247, 245, 239, 0.66));
}

.lesson-slide-panel--media-behind-text .lesson-slide-media::after {
  background: linear-gradient(135deg, rgba(247, 245, 239, 0.78), rgba(247, 245, 239, 0.48));
}

.lesson-slide-image {
  width: 100%;
  height: 100%;
  filter: saturate(0.96) contrast(0.96);
  transform: none;
  object-position: center center;
  border-radius: 28px;
  box-shadow: 0 22px 44px rgba(16, 26, 53, 0.14);
}

.lesson-slide-image--cover {
  object-fit: cover;
}

.lesson-slide-image--contain {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.14);
}

.lesson-slide-panel--learner {
  align-items: stretch;
}

.lesson-slide-panel--learner .lesson-slide-media {
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(200, 164, 78, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 241, 233, 0.82));
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.lesson-slide-panel--theme-navy.lesson-slide-panel--learner .lesson-slide-media {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(31, 49, 103, 0.22), rgba(17, 29, 70, 0.28));
}

.lesson-slide-panel--knowledge-full {
  display: none;
  flex-direction: column;
}

.lesson-slide-panel--knowledge-full.is-active {
  display: flex;
}

.lesson-slide-image--learner {
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  max-height: 420px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.72);
  padding: 20px;
  box-sizing: border-box;
  filter: saturate(0.98) contrast(1.01);
}

.lesson-slide-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 46px 44px;
  flex: 1;
  min-width: 0;
}

.lesson-slide-copy h3 {
  font-size: clamp(2.05rem, 2.8vw, 3.1rem);
  line-height: 0.98;
  margin-bottom: 2px;
  letter-spacing: -0.03em;
}

.lesson-slide-copy p {
  font-size: 1.02rem;
  line-height: 1.78;
  max-width: 58ch;
  color: #374d70;
}

.lesson-slide-rich-body {
  max-width: 58ch;
  color: #374d70;
  font-size: 1.02rem;
  line-height: 1.78;
}

.lesson-slide-panel--theme-navy .lesson-slide-copy,
.lesson-slide-panel--theme-navy .lesson-slide-copy h3,
.lesson-slide-panel--theme-navy .lesson-slide-copy p,
.lesson-slide-panel--theme-navy .lesson-slide-rich-body,
.lesson-slide-panel--theme-navy .lesson-slide-rich-body h3,
.lesson-slide-panel--theme-navy .lesson-slide-rich-body h4,
.lesson-slide-panel--theme-navy .lesson-slide-rich-body li {
  color: #f7f5ef;
}

.lesson-slide-panel--media-left .lesson-slide-copy,
.lesson-slide-panel--media-right .lesson-slide-copy {
  padding-inline: 46px;
}

.lesson-slide-panel--media-left .lesson-slide-media,
.lesson-slide-panel--media-right .lesson-slide-media,
.lesson-slide-panel--media-top .lesson-slide-media,
.lesson-slide-panel--media-bottom .lesson-slide-media {
  position: relative;
  overflow: hidden;
}

.lesson-slide-panel--media-left .lesson-slide-media::after,
.lesson-slide-panel--media-right .lesson-slide-media::after,
.lesson-slide-panel--media-top .lesson-slide-media::after,
.lesson-slide-panel--media-bottom .lesson-slide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(247, 245, 239, 0.02), rgba(247, 245, 239, 0.2)),
    radial-gradient(circle at 50% 50%, transparent 56%, rgba(247, 245, 239, 0.18) 100%);
  pointer-events: none;
  border-radius: 30px;
}

.lesson-slide-panel--learner .lesson-slide-copy {
  align-items: flex-start;
  text-align: left;
}

.lesson-slide-panel--learner .lesson-slide-copy p,
.lesson-slide-panel--learner .lesson-slide-rich-body {
  margin-left: 0;
  max-width: 64ch;
}

.lesson-slide-panel--learner .lesson-slide-copy h3 {
  width: 100%;
}

.lesson-slide-panel--text-right .lesson-slide-copy {
  align-items: flex-end;
  text-align: right;
}

.lesson-slide-panel--text-right .lesson-slide-copy p,
.lesson-slide-panel--text-right .lesson-slide-rich-body {
  margin-left: auto;
}

.lesson-slide-panel--learner.lesson-slide-panel--text-right .lesson-slide-copy {
  align-items: flex-start;
  text-align: left;
}

.lesson-slide-panel--learner.lesson-slide-panel--text-right .lesson-slide-copy p,
.lesson-slide-panel--learner.lesson-slide-panel--text-right .lesson-slide-rich-body {
  margin-left: 0;
}

.lesson-slide-panel--text-top .lesson-slide-copy {
  justify-content: flex-start;
}

.lesson-slide-panel--text-bottom .lesson-slide-copy {
  justify-content: flex-end;
}

.lesson-slide-progress-label {
  margin-bottom: 0;
  background: rgba(31, 49, 103, 0.08);
  color: #334a75;
}

.lesson-slide-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding: 0 4px;
}

.lesson-slide-controls-hint {
  color: #5d6a86;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.lesson-knowledge-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 4px;
}

.lesson-knowledge-header h3,
.lesson-knowledge-header p {
  margin: 0;
}

.lesson-knowledge-header h3 {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
}

.lesson-knowledge-intro {
  margin-top: 8px;
  color: #4c5d7b;
  max-width: 56ch;
  font-size: 12px;
  line-height: 1.45;
}

.lesson-knowledge-score-pill {
  display: grid;
  gap: 4px;
  min-width: 96px;
  padding: 10px 12px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(235, 242, 255, 0.82));
  border: 1px solid rgba(31, 49, 103, 0.08);
  text-align: center;
}

.lesson-knowledge-score-pill span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #607190;
}

.lesson-knowledge-score-pill strong {
  font-size: 12px;
  line-height: 1.2;
  color: #1f3167;
}

.lesson-slide-panel--knowledge .lesson-slide-copy {
  gap: 14px;
  width: 100%;
  padding: 34px 36px;
  align-items: stretch;
}

.lesson-slide-panel--knowledge .lesson-knowledge-header h3 {
  font-size: 30px;
  line-height: 1.18;
  font-weight: 700;
  margin: 0;
}

.lesson-slide-panel--knowledge .lesson-knowledge-intro,
.lesson-slide-panel--knowledge .lesson-knowledge-option-text,
.lesson-slide-panel--knowledge .lesson-knowledge-feedback,
.lesson-slide-panel--knowledge .lesson-knowledge-score-pill span,
.lesson-slide-panel--knowledge .lesson-knowledge-score-pill strong {
  font-size: 16px;
}

.lesson-slide-panel--knowledge .lesson-knowledge-item h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0;
}

.lesson-slide-panel--knowledge .lesson-knowledge-form--deck,
.lesson-slide-panel--knowledge .lesson-knowledge-item,
.lesson-slide-panel--knowledge .lesson-knowledge-options {
  width: 100%;
}

.lesson-slide-panel--knowledge .lesson-knowledge-item {
  justify-self: stretch;
}

.lesson-slide-panel--knowledge-full {
  background:
    radial-gradient(circle at 10% 16%, rgba(92, 126, 185, 0.08), transparent 22%),
    radial-gradient(circle at 90% 18%, rgba(200, 164, 78, 0.1), transparent 20%),
    linear-gradient(180deg, rgba(251, 250, 255, 0.99), rgba(255, 255, 255, 0.96));
}

.lesson-next-preview-card {
  margin-top: 18px;
  padding: 24px 26px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 166, 95, 0.16), transparent 26%),
    radial-gradient(circle at 14% 84%, rgba(92, 126, 185, 0.1), transparent 24%),
    linear-gradient(135deg, rgba(250, 244, 238, 0.99), rgba(255, 252, 248, 0.96));
  border: 1px solid rgba(255, 166, 95, 0.18);
  box-shadow: 0 24px 46px rgba(31, 49, 103, 0.1);
  display: grid;
  gap: 12px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  position: relative;
  overflow: hidden;
}

.lesson-next-preview-card::after {
  content: "";
  position: absolute;
  inset: auto -42px -42px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34), transparent 66%);
  pointer-events: none;
}

.lesson-next-preview-card.is-unlocked {
  background:
    radial-gradient(circle at 88% 18%, rgba(102, 123, 255, 0.22), transparent 28%),
    radial-gradient(circle at 14% 84%, rgba(200, 164, 78, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(243, 247, 255, 0.99), rgba(255, 255, 255, 0.97));
  border-color: rgba(67, 96, 196, 0.22);
  box-shadow: 0 26px 52px rgba(47, 72, 152, 0.16);
}

.lesson-next-preview-card.is-locked {
  background:
    radial-gradient(circle at 88% 18%, rgba(160, 170, 196, 0.13), transparent 26%),
    linear-gradient(180deg, rgba(247, 248, 252, 0.98), rgba(252, 253, 255, 0.95));
  border-color: rgba(146, 159, 196, 0.18);
  box-shadow: 0 18px 36px rgba(31, 49, 103, 0.06);
}

.lesson-next-preview-card h4 {
  margin: 2px 0 2px;
  font-size: 1.22rem;
  line-height: 1.16;
  color: #1f3167;
}

.lesson-next-preview-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.62;
  color: rgba(31, 49, 103, 0.82);
}

.lesson-next-preview-card .eyebrow {
  margin: 0;
}

.lesson-next-preview-card .button {
  justify-self: start;
  margin-top: 4px;
}

.lesson-next-preview-card .button.is-disabled {
  pointer-events: none;
  opacity: 0.72;
  background: linear-gradient(135deg, rgba(214, 221, 241, 0.92), rgba(232, 236, 247, 0.88));
  color: rgba(31, 49, 103, 0.72);
  border-color: rgba(160, 170, 196, 0.28);
  box-shadow: none;
}

.lesson-complete-form,
.lesson-complete-badge {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
}

.lesson-slide-controls .button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.lesson-quiz-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lesson-quiz-card-full {
  width: 100%;
  max-width: none;
  padding: 30px 34px;
  background:
    radial-gradient(circle at 12% 18%, rgba(121, 97, 168, 0.08), transparent 26%),
    radial-gradient(circle at 90% 20%, rgba(200, 164, 78, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(247, 244, 236, 0.98), rgba(255, 255, 255, 0.94));
}

.message-empty-state.compact {
  padding: 18px 0 0;
}

.admin-hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.blog-grid {
  display: grid;
  gap: 22px;
}

.blog-post-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: stretch;
  padding: 24px;
}

.blog-post-card-empty {
  grid-template-columns: 1fr;
}

.blog-post-card-media {
  min-height: 240px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(241, 246, 255, 0.96), rgba(255, 255, 255, 0.92));
}

.blog-post-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-post-card-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.blog-post-card-copy h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1.04;
}

.blog-post-body-preview {
  color: var(--muted);
  line-height: 1.7;
}

.blog-post-body-preview p:last-child {
  margin-bottom: 0;
}

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

@media (max-width: 980px) {
  .lesson-page-hero {
    padding: 22px 22px 20px;
  }

  .assessment-hero-stats {
    grid-template-columns: 1fr;
  }

  .admin-lesson-preview-card {
    padding: 22px 22px 24px;
  }

  .lesson-slide-experience-header {
    flex-direction: column;
    align-items: stretch;
  }

  .lesson-slide-stack-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
    padding: 14px;
  }

  .lesson-slide-stack-preview {
    width: 100%;
    min-height: 110px;
    height: auto;
    border-radius: 18px;
  }

  .lesson-slide-stack-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .lesson-slide-stage,
  .lesson-slide-panel {
    min-height: auto;
  }

  .lesson-slide-panel,
  .lesson-slide-panel.is-active,
  .lesson-slide-panel--media-left,
  .lesson-slide-panel--media-right,
  .lesson-slide-panel--media-top,
  .lesson-slide-panel--media-bottom {
    flex-direction: column;
  }

  .lesson-slide-panel--media-left .lesson-slide-media,
  .lesson-slide-panel--media-right .lesson-slide-media {
    width: 100%;
    min-height: 240px;
  }

  .lesson-slide-copy {
    padding: 30px 24px;
  }

  .lesson-slide-controls {
    flex-wrap: wrap;
  }

  .lesson-slide-controls-hint {
    width: 100%;
    order: -1;
  }

  .lesson-slide-panel--text-right .lesson-slide-copy {
    align-items: flex-start;
    text-align: left;
  }

  .lesson-slide-panel--text-right .lesson-slide-copy p {
    margin-left: 0;
  }

  .lesson-knowledge-header {
    flex-direction: column;
  }

  .lesson-slide-panel--knowledge .lesson-slide-copy {
    padding: 30px 24px;
  }
}

.admin-calendar-card {
  padding: 24px;
}

.admin-calendar-helper {
  margin-top: 16px;
}

.admin-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-calendar-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.admin-calendar-scroll {
  width: 100%;
}

.admin-calendar-cell {
  min-height: 170px;
  border-radius: 18px;
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 36, 79, 0.08);
}

.admin-calendar-cell {
  margin: 0;
}

.admin-calendar-cell strong {
  font-size: 1rem;
  color: var(--ink);
}

.admin-calendar-cell small {
  color: var(--muted);
  font-size: 0.76rem;
}

.admin-calendar-cell.is-open {
  background: rgba(226, 240, 229, 0.82);
  border-color: rgba(78, 133, 95, 0.16);
}

.admin-calendar-cell.is-blocked {
  background: rgba(245, 228, 228, 0.82);
  border-color: rgba(157, 86, 86, 0.18);
}

.admin-calendar-cell.is-outside {
  opacity: 0.45;
}

.admin-calendar-switch {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(23, 36, 79, 0.08);
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 0;
}

button.admin-calendar-switch {
  cursor: pointer;
}

.admin-calendar-switch.is-on {
  background: rgba(78, 133, 95, 0.16);
  color: #355c40;
}

.admin-calendar-switch.is-off {
  background: rgba(23, 36, 79, 0.08);
  color: var(--ink);
}

:root[data-theme="dark"] .admin-calendar-card,
:root[data-theme="dark"] .admin-calendar-cell {
  background: linear-gradient(180deg, rgba(22, 32, 58, 0.98), rgba(15, 23, 41, 0.96));
  border-color: rgba(214, 221, 245, 0.08);
}

:root[data-theme="dark"] .admin-calendar-card .section-heading h2,
:root[data-theme="dark"] .admin-calendar-card .section-heading .eyebrow,
:root[data-theme="dark"] .admin-calendar-helper,
:root[data-theme="dark"] .admin-calendar-cell strong,
:root[data-theme="dark"] .admin-calendar-cell small {
  color: var(--ink);
}

:root[data-theme="dark"] .admin-calendar-cell small,
:root[data-theme="dark"] .admin-calendar-helper {
  color: var(--muted);
}

:root[data-theme="dark"] .admin-calendar-cell.is-open {
  background: linear-gradient(180deg, rgba(28, 67, 51, 0.98), rgba(21, 52, 40, 0.96));
  border-color: rgba(154, 214, 176, 0.18);
}

:root[data-theme="dark"] .admin-calendar-cell.is-blocked {
  background: linear-gradient(180deg, rgba(74, 37, 43, 0.98), rgba(56, 27, 32, 0.96));
  border-color: rgba(222, 154, 154, 0.18);
}

:root[data-theme="dark"] .intake-card,
:root[data-theme="dark"] .intake-check-grid fieldset,
:root[data-theme="dark"] .intake-builder-question-card,
:root[data-theme="dark"] .intake-builder-section {
  border-color: rgba(214, 221, 245, 0.1);
}

:root[data-theme="dark"] .intake-card,
:root[data-theme="dark"] .intake-check-grid fieldset,
:root[data-theme="dark"] .intake-builder-question-card {
  background: linear-gradient(180deg, rgba(23, 34, 61, 0.98), rgba(16, 24, 43, 0.96));
}

:root[data-theme="dark"] .intake-card h2,
:root[data-theme="dark"] .intake-check-grid legend,
:root[data-theme="dark"] .intake-check-grid label,
:root[data-theme="dark"] .intake-check-grid label span,
:root[data-theme="dark"] .intake-card .form-grid label,
:root[data-theme="dark"] .intake-builder-section-head label,
:root[data-theme="dark"] .intake-builder-question-card label,
:root[data-theme="dark"] .intake-builder-question-card .inline-check span,
:root[data-theme="dark"] .intake-builder-card .eyebrow,
:root[data-theme="dark"] .intake-builder-card h2 {
  color: var(--ink);
}

:root[data-theme="dark"] .intake-builder-section + .intake-builder-section {
  border-top-color: rgba(214, 221, 245, 0.1);
}

:root[data-theme="dark"] .intake-builder-question-meta .pill-soft,
:root[data-theme="dark"] .intake-builder-question-meta .pill {
  color: var(--ink);
}

:root[data-theme="dark"] .archetype-page-shell,
:root[data-theme="dark"] .archetype-page-shell .card,
:root[data-theme="dark"] .archetype-hero {
  color: var(--ink);
}

:root[data-theme="dark"] .archetype-hero {
  padding: 18px 24px 16px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 38%),
    radial-gradient(circle at right center, rgba(95, 119, 196, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(130, 112, 201, 0.14), rgba(21, 30, 55, 0.98) 46%, rgba(13, 20, 38, 0.96));
  border-color: rgba(214, 221, 245, 0.1);
}

:root[data-theme="dark"] .archetype-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

:root[data-theme="dark"] .archetype-hero-meta,
:root[data-theme="dark"] .archetype-hero-pill strong,
:root[data-theme="dark"] .archetype-lead,
:root[data-theme="dark"] .archetype-response-card .list-item span,
:root[data-theme="dark"] .archetype-intake-list .list-item span {
  color: var(--muted);
}

:root[data-theme="dark"] .archetype-hero-pill,
:root[data-theme="dark"] .archetype-stat-card,
:root[data-theme="dark"] .archetype-summary-card,
:root[data-theme="dark"] .archetype-focus-card,
:root[data-theme="dark"] .archetype-risk-card,
:root[data-theme="dark"] .archetype-response-card,
:root[data-theme="dark"] .archetype-roadmap-card,
:root[data-theme="dark"] .archetype-section-card,
:root[data-theme="dark"] .archetype-edit-card,
:root[data-theme="dark"] .archetype-full-intake-card,
:root[data-theme="dark"] .archetype-intake-section,
:root[data-theme="dark"] .archetype-edit-stack {
  background: linear-gradient(180deg, rgba(24, 35, 63, 0.98), rgba(17, 26, 46, 0.96));
  border-color: rgba(214, 221, 245, 0.1);
}

:root[data-theme="dark"] .archetype-summary-card h2,
:root[data-theme="dark"] .archetype-focus-card h2,
:root[data-theme="dark"] .archetype-risk-card h2,
:root[data-theme="dark"] .archetype-response-card h2,
:root[data-theme="dark"] .archetype-roadmap-card h2,
:root[data-theme="dark"] .archetype-section-card h2,
:root[data-theme="dark"] .archetype-full-intake-card h2,
:root[data-theme="dark"] .archetype-intake-section h3,
:root[data-theme="dark"] .archetype-edit-card h2,
:root[data-theme="dark"] .archetype-response-card .list-item strong,
:root[data-theme="dark"] .archetype-intake-list .list-item strong {
  color: var(--ink);
}

:root[data-theme="dark"] .admin-calendar-card,
:root[data-theme="dark"] .admin-calendar-cell {
  background: linear-gradient(180deg, rgba(22, 32, 58, 0.98), rgba(15, 23, 41, 0.96));
  border-color: rgba(214, 221, 245, 0.08);
}

:root[data-theme="dark"] .admin-calendar-card .section-heading h2,
:root[data-theme="dark"] .admin-calendar-card .section-heading .eyebrow,
:root[data-theme="dark"] .admin-calendar-helper,
:root[data-theme="dark"] .admin-calendar-cell strong,
:root[data-theme="dark"] .admin-calendar-cell small {
  color: var(--ink);
}

:root[data-theme="dark"] .admin-calendar-cell small,
:root[data-theme="dark"] .admin-calendar-helper {
  color: var(--muted);
}

:root[data-theme="dark"] .admin-calendar-cell.is-open {
  background: linear-gradient(180deg, rgba(28, 67, 51, 0.98), rgba(21, 52, 40, 0.96));
  border-color: rgba(154, 214, 176, 0.18);
}

:root[data-theme="dark"] .admin-calendar-cell.is-blocked {
  background: linear-gradient(180deg, rgba(74, 37, 43, 0.98), rgba(56, 27, 32, 0.96));
  border-color: rgba(222, 154, 154, 0.18);
}

.admin-calendar-window-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.admin-calendar-window-pills form {
  margin: 0;
}

.admin-calendar-window-pill {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 180ms ease;
}

.admin-calendar-window-pill.is-open {
  background: rgba(78, 133, 95, 0.16);
  color: #355c40;
}

.admin-calendar-window-pill.is-closed {
  background: rgba(23, 36, 79, 0.08);
  color: var(--ink);
}

.admin-calendar-window-pill.is-protected {
  background: rgba(200, 164, 78, 0.16);
  color: #7a5a18;
}

.admin-calendar-window-pill.is-booked {
  background: rgba(23, 36, 79, 0.88);
  color: #fffdf8;
  cursor: not-allowed;
}

.admin-calendar-window-pill:hover:not(:disabled) {
  transform: translateY(-1px);
}

.admin-window-picker {
  display: grid;
  gap: 12px;
}

.admin-window-picker-label {
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-window-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-window-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 36, 79, 0.08);
  color: var(--ink);
}

.admin-window-option input {
  width: auto;
  margin: 0;
}

.admin-blocked-item {
  gap: 16px;
}

.admin-blocked-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}

.admin-blocked-item-actions form {
  margin: 0;
}

.admin-calendar-switch:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.admin-slot-list-item {
  align-items: center;
}

.admin-toggle-button {
  min-width: 76px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-toggle-button.is-on {
  background: rgba(78, 133, 95, 0.16);
  color: #355c40;
}

.admin-toggle-button.is-off {
  background: rgba(23, 36, 79, 0.08);
  color: var(--ink);
}

.learner-dashboard {
  padding-bottom: 28px;
}

.learner-dashboard-premium {
  gap: 28px;
}

.learner-dashboard-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 164, 78, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(247, 244, 236, 0.98), rgba(251, 249, 244, 0.96));
  border-color: rgba(23, 36, 79, 0.08);
  border-radius: 34px;
  box-shadow: 0 22px 44px rgba(26, 41, 91, 0.08);
  padding: 36px 34px 32px;
}

.learner-dashboard-hero-premium {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 26px;
  align-items: stretch;
}

.learner-dashboard-hero-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.learner-dashboard-actions {
  flex-wrap: wrap;
}

.learner-dashboard-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.learner-dashboard-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 36, 79, 0.08);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.learner-dashboard-quick-link:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 36, 79, 0.14);
}

.learner-dashboard-statline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.learner-stat-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(92, 126, 185, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 246, 248, 0.92));
  border: 1px solid rgba(23, 36, 79, 0.08);
}

.learner-stat-card span {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.learner-stat-card strong {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  color: var(--ink);
}

.learner-resume-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: 30px 32px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 16%, rgba(200, 164, 78, 0.12), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(92, 126, 185, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(247, 242, 250, 0.98), rgba(252, 251, 247, 0.96));
  box-shadow: 0 22px 44px rgba(26, 41, 91, 0.08);
}

.learner-resume-copy {
  display: grid;
  gap: 14px;
}

.learner-resume-copy h2 {
  margin-bottom: 0;
}

.learner-resume-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 0.96rem;
}

.learner-resume-visual {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.learner-progress-ring {
  --ring-size: 170px;
  width: var(--ring-size);
  height: var(--ring-size);
  border-radius: 50%;
  background:
    conic-gradient(rgba(35, 55, 112, 0.96) calc(var(--progress-value, 0) * 1%), rgba(221, 226, 235, 0.88) 0);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 38px rgba(26, 41, 91, 0.12);
}

.learner-progress-ring-inner {
  width: calc(var(--ring-size) - 28px);
  height: calc(var(--ring-size) - 28px);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 241, 0.96));
  display: grid;
  place-items: center;
  gap: 4px;
  text-align: center;
}

.learner-progress-ring-inner strong {
  font-size: 2rem;
  color: var(--ink);
}

.learner-progress-ring-inner span {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.learner-resume-button {
  min-width: 190px;
}

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

.learner-course-grid-premium {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.learner-course-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  gap: 16px;
  padding: 24px 24px 22px;
  overflow: hidden;
}

.learner-course-card-premium {
  border-radius: 30px;
  box-shadow: 0 22px 42px rgba(26, 41, 91, 0.08);
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(250, 248, 243, 0.98), rgba(255, 255, 255, 0.96));
}

.learner-course-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.learner-course-card-progress {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(31, 49, 103, 0.68);
}

.learner-course-card h2 {
  margin-bottom: 0;
}

.learner-course-description {
  color: var(--muted);
  max-width: 36ch;
  min-height: 4.8em;
}

.learner-current-module-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(23, 36, 79, 0.96), rgba(31, 49, 103, 0.96));
  color: #fff;
  box-shadow: 0 16px 36px rgba(23, 36, 79, 0.14);
}

.learner-current-module-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.learner-current-module-card strong {
  font-size: 1rem;
  line-height: 1.35;
}

.learner-current-module-card span:last-child {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.76);
}

.learner-course-progress {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  border-radius: 999px;
  padding: 14px 18px;
  background: rgba(23, 36, 79, 0.08);
  color: var(--ink);
}

.learner-course-progress::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress-width, 0%);
  background: linear-gradient(90deg, rgba(200, 164, 78, 0.92), rgba(223, 187, 79, 0.88));
  transition: width 220ms ease;
}

.learner-course-progress span,
.learner-course-progress strong {
  position: relative;
  z-index: 1;
}

.learner-course-progress strong {
  font-size: 0.95rem;
}

.learner-course-card.course-card--women-in-trading .pill {
  background: rgba(78, 133, 95, 0.14);
  color: #355c40;
}

.learner-course-card.course-card--women-in-real-estate .pill {
  background: rgba(92, 126, 185, 0.14);
  color: #35507a;
}

.learner-course-card.course-card--women-in-real-estate .learner-current-module-card {
  background: linear-gradient(180deg, rgba(56, 88, 141, 0.96), rgba(76, 108, 164, 0.94));
}

.learner-course-card.course-card--women-in-money-management .pill,
.learner-course-card.course-card--women-in-money-management h2,
.learner-course-card.course-card--women-in-money-management .meta-row,
.learner-course-card.course-card--women-in-money-management .learner-course-description {
  color: rgba(255, 253, 248, 0.92);
}

.learner-course-card.course-card--women-in-money-management .pill {
  background: rgba(255, 255, 255, 0.12);
}

.learner-course-card.course-card--women-in-money-management .meta-row {
  color: rgba(255, 253, 248, 0.78);
}

.learner-course-card.course-card--women-in-money-management .learner-current-module-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.08));
  box-shadow: none;
}

.learner-course-card.course-card--women-in-money-management .learner-current-module-label,
.learner-course-card.course-card--women-in-money-management .learner-current-module-card span:last-child {
  color: rgba(255, 253, 248, 0.74);
}

.learner-course-card.course-card--women-in-money-management .learner-course-progress {
  background: rgba(255, 255, 255, 0.12);
  color: #fffdf8;
}

.learner-dashboard-grid {
  align-items: stretch;
  margin-top: 32px;
}

.learner-dashboard-grid-premium {
  margin-top: 8px;
}

.learner-session-card,
.learner-admin-card {
  padding: 28px 28px 30px;
  background: linear-gradient(180deg, rgba(247, 248, 252, 0.98), rgba(252, 252, 253, 0.96));
  border-radius: 30px;
  box-shadow: 0 18px 34px rgba(26, 41, 91, 0.07);
}

.learner-session-card-premium,
.learner-cert-card {
  padding: 28px 28px 30px;
  background: linear-gradient(180deg, rgba(247, 248, 252, 0.98), rgba(252, 252, 253, 0.96));
  border-radius: 30px;
  box-shadow: 0 18px 34px rgba(26, 41, 91, 0.07);
}

.learner-session-card h2,
.learner-admin-card h2,
.learner-cert-card h2 {
  margin-bottom: 14px;
}

.learner-booking-summary-pill {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(23, 36, 79, 0.08);
  color: var(--ink);
  font-size: 0.92rem;
  margin: 4px 0 18px;
}

.learner-booking-summary-pill-empty {
  color: transparent;
}

.learner-session-list {
  gap: 14px;
  margin: 0 0 22px;
}

.learner-session-item {
  align-items: center;
  padding: 18px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 36, 79, 0.08);
}

.learner-session-time {
  display: grid;
  gap: 6px;
}

.learner-session-time strong {
  font-size: 1rem;
  color: var(--ink);
}

.learner-session-time span {
  color: var(--muted);
  font-size: 0.92rem;
}

.learner-session-status {
  margin-left: auto;
}

.learner-session-status .pill {
  background: rgba(78, 133, 95, 0.12);
  color: #365c41;
}

.learner-session-button {
  border-radius: 999px;
}

.learner-empty-state {
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px dashed rgba(23, 36, 79, 0.16);
  color: var(--muted);
}

.learner-certificate-item {
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.learner-certificate-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(26, 41, 91, 0.08);
}

.learner-empty-course-card {
  padding: 30px;
  border-radius: 30px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.checkbox-label input {
  width: auto;
}

.course-module-card {
  display: grid;
  gap: 16px;
}

.course-module-card-locked {
  background: linear-gradient(180deg, rgba(249, 247, 242, 0.96), rgba(243, 240, 234, 0.96));
}

.course-module-footer {
  margin-top: auto;
}

.course-module-lock-indicator {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(23, 36, 79, 0.08);
  color: var(--muted);
  font-size: 0.84rem;
}

.course-module-lock-indicator.is-unlocked {
  background: rgba(78, 133, 95, 0.12);
  color: #355c40;
}

.course-module-lock-indicator.is-complete {
  background: rgba(200, 164, 78, 0.18);
  color: #6f5522;
}

.embedded-form {
  display: grid;
  gap: 14px;
}

.homepage-preview {
  width: 100%;
  min-height: 720px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.quick-controls {
  border: 1px solid rgba(200, 164, 78, 0.35);
}

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

.quick-grid .button {
  width: fit-content;
  align-self: end;
}

.editor-details {
  margin-top: 18px;
}

.editor-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 12px 4px;
}

.lesson-inline-editor {
  width: 100%;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(31, 49, 103, 0.1);
}

.lesson-shell-editor {
  margin-top: 14px;
  max-width: 760px;
}

.lesson-shell-editor > summary {
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(31, 49, 103, 0.9), rgba(72, 91, 160, 0.86));
  color: #fefbf4;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(31, 49, 103, 0.18);
}

.lesson-shell-editor[open] > summary {
  margin-bottom: 14px;
}

.lesson-inline-editor summary {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(31, 49, 103, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lesson-inline-editor[open] summary {
  margin-bottom: 16px;
}

.lesson-inline-editor-form {
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 255, 0.88));
  border: 1px solid rgba(31, 49, 103, 0.08);
}

.lesson-inline-editor-form .rich-editor {
  min-height: 160px;
}

.lesson-slide-admin-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.lesson-shell-editor .lesson-inline-editor-form {
  padding: 16px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 255, 0.92));
  border: 1px solid rgba(118, 139, 214, 0.16);
  box-shadow: 0 18px 40px rgba(25, 40, 91, 0.08);
}

.site-footer {
  padding: 14px 0 16px;
  border-top: 1px solid rgba(23, 36, 79, 0.08);
  background:
    linear-gradient(180deg, rgba(247, 244, 236, 0.58), rgba(244, 242, 237, 0.9));
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) minmax(150px, 0.7fr) minmax(140px, 0.6fr);
  gap: 8px 18px;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.footer-grid strong,
.footer-grid a {
  display: block;
  margin-bottom: 8px;
}

.footer-brand-block p {
  max-width: 34ch;
  margin-top: 6px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.42;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
}

.footer-brand-logo {
  display: block;
  width: clamp(150px, 18vw, 240px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.footer-social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(26, 41, 91, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(200, 164, 78, 0.4);
  background: rgba(255, 255, 255, 0.92);
}

.footer-social-link svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  display: block;
  transform: translate(-50%, -50%);
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.footer-social-link .footer-social-fill,
.footer-social-link svg path {
  fill: currentColor;
  stroke: none;
}

.footer-social-link--instagram svg {
  transform: translate(-50%, -50%);
}

.footer-social-link--x svg {
  transform: translate(calc(-50% + 0.3px), calc(-50% + 0.25px));
}

.footer-social-link--facebook svg {
  transform: translate(calc(-50% + 0.45px), calc(-50% - 0.15px));
}

.footer-social-link--tiktok svg {
  transform: translate(calc(-50% + 0.55px), calc(-50% + 0.1px));
}

.footer-brand-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(23, 36, 79, 0.94), rgba(35, 50, 99, 0.92));
  color: #fffdf8;
  font-family: "Newsreader", serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 14px rgba(23, 36, 79, 0.07);
}

.footer-brand-copy {
  display: grid;
  gap: 2px;
}

.footer-brand-copy strong {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.05;
}

.footer-brand-copy small {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.54rem;
}

.footer-link-group {
  padding-top: 0;
}

.footer-link-group strong {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23, 36, 79, 0.62);
  margin-bottom: 4px;
}

.footer-link-group a {
  color: var(--ink);
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.footer-link-group-platform,
.footer-link-group-legal {
  justify-self: end;
}

.footer-note {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(23, 36, 79, 0.08);
  color: var(--muted);
  font-size: 0.72rem;
}

code {
  background: rgba(255, 255, 255, 0.75);
  padding: 2px 8px;
  border-radius: 8px;
}

@media (max-width: 860px) {
  .container {
    width: min(100vw - 20px, 1180px);
  }

  .nav-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-row {
    position: relative;
    gap: 12px;
  }

  .mobile-nav-shell {
    display: block !important;
    position: absolute;
    right: 0;
    top: 12px;
    transform: none;
  }

  .nav-links {
    display: none !important;
  }

  .brand {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    border-right: 0;
    justify-items: flex-start;
    margin-right: 0;
    padding-right: 0;
  }

  .brand strong,
  .brand small {
    text-align: left;
  }

  .hero-panel,
  .signature-hero {
    grid-template-columns: 1fr;
  }

  .highlight-band,
  .audience-grid,
  .audience-list {
    grid-template-columns: 1fr;
  }

  .placeholder-card-grid {
    grid-template-columns: 1fr;
  }

  .admin-window-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .admin-calendar-window-pills {
    grid-template-columns: 1fr;
  }

  .admin-calendar-toolbar {
    width: 100%;
    justify-content: flex-start;
  }

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

  .info-feature-secondary-shell {
    grid-template-columns: 1fr;
  }

  .info-feature-secondary-visual {
    order: -1;
    max-width: 320px;
    margin: 0 auto 10px;
  }

  .info-serve-split-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .info-serve-split-visual {
    order: 2;
  }

  .info-serve-split-image {
    max-width: 100%;
  }

  .info-page-card-shell.has-intro-image {
    grid-template-columns: 1fr;
  }

  .info-page-hero-approach {
    width: min(100%, calc(100vw - 24px));
  }

  .info-page-hero-serve {
    width: min(100%, calc(100vw - 24px));
  }

  .lms-home-hero,
  .lms-intro-panel {
    grid-template-columns: 1fr;
  }

  .lms-home-hero-actions,
  .lesson-undo-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lesson-module-strip {
    grid-template-columns: 1fr;
  }

  .info-page-card-approach .info-page-card-shell.has-intro-image {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .info-page-card-approach .info-page-card-copy {
    padding: 30px 26px 34px;
    border-radius: 34px;
  }

  .info-page-card-approach .info-page-card-visual {
    order: 2;
    width: min(100%, 340px);
    max-width: 340px;
    height: 460px;
    border-radius: 50% / 38%;
  }

  .info-page-card-approach .info-page-card-image {
    width: 110%;
    height: 110%;
    border-radius: 0;
  }

  .info-page-card-serve {
    padding: 30px 0 36px;
  }

  .info-page-card-serve .eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    margin-bottom: 24px;
  }

  .info-page-card-serve h1 {
    max-width: 14ch;
    font-size: clamp(2.5rem, 11vw, 4.2rem);
  }

  .lms-home-hero {
    grid-template-columns: 1fr;
  }

  .lms-home-hero-visual {
    justify-content: center;
  }

  .lms-home-hero-image-frame {
    width: min(100%, 360px);
    min-height: 420px;
  }

  .lms-home-hero-feature-image {
    min-height: 384px;
  }

  .learner-dashboard-hero-premium,
  .learner-resume-card {
    grid-template-columns: 1fr;
  }

  .learner-dashboard-statline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lms-course-grid {
    grid-template-columns: 1fr;
  }

  .course-card-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lms-home-hero-statline {
    grid-template-columns: 1fr;
  }

  .course-module-row {
    grid-template-columns: 1fr;
  }

  .certificate-page-actions,
  .certificate-signature-row {
    flex-direction: column;
    align-items: stretch;
  }

  .certificate-meta-row {
    grid-template-columns: 1fr;
  }

  .certificate-builder-card {
    grid-template-columns: 1fr;
  }

  .certificate-overlay-name {
    width: 60%;
    font-size: clamp(2rem, 6vw, 4rem);
  }

  .certificate-overlay-signature {
    left: 10%;
    width: 32%;
  }

  .certificate-overlay-date {
    right: 15%;
    width: 22%;
  }

  .admin-assessment-mini-grid,
  .admin-assessment-course-grid,
  .admin-exam-options-grid,
  .admin-exam-lesson-picker,
  .admin-slide-media-grid,
  .admin-media-library-grid,
  .admin-media-filter-grid {
    grid-template-columns: 1fr;
  }

  .admin-exam-submit-row {
    justify-content: stretch;
    align-items: stretch;
  }

  .book-session-overview-grid {
    grid-template-columns: 1fr;
  }

  .book-session-services-grid {
    grid-template-columns: 1fr;
  }

  .book-session-service-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .book-session-service-meta,
  .book-session-service-row .button {
    grid-column: 2;
  }

  .booking-status-card,
  .booking-planner-header {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .booking-drawer-shell,
  .booking-form-grid {
    grid-template-columns: 1fr;
  }

  .info-page-card-visual {
    order: -1;
    max-width: 360px;
    margin: 0 auto 8px;
  }

  .info-grid-items {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .info-slim-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .info-contact-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .info-contact-text,
  .info-contact-copy {
    max-width: 100%;
  }

  .inquiry-card-grid {
    grid-template-columns: 1fr;
  }

  .audience-feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .private-conversation-shell,
  .private-conversation-grid {
    grid-template-columns: 1fr;
  }

  .private-conversation-copy {
    padding: 28px 0 6px;
  }

  .private-conversation-form {
    border-left: 0;
    border-top: 1px solid rgba(26, 41, 91, 0.08);
    padding: 20px 0 28px;
    background: transparent;
  }

  .private-conversation-visual {
    min-height: 220px;
    border-left: 0;
    border-top: 1px solid rgba(26, 41, 91, 0.08);
  }

  .private-conversation-text {
    max-width: 100%;
  }

  .advisory-session-heading,
  .advisory-session-text {
    max-width: 100%;
  }

  .advisory-session-copy .button {
    min-width: 0;
    width: 100%;
  }

  h1 {
    max-width: 100%;
  }

  .signature-copy h2 {
    max-width: 100%;
  }

  .hero-cta-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .page-stack,
  .hero-page {
    padding: 18px 0 42px;
    gap: 18px;
  }

  .site-header {
    padding: 10px 0;
  }

  .nav-row {
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
  }

  .nav-links a,
  .login-link,
  .logout-link,
  .theme-toggle {
    width: 100%;
    justify-content: center;
  }

  .brand {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    border-right: 0;
    margin-right: 0;
    padding: 6px 0 2px;
    justify-items: start;
    text-align: left;
  }

  .signature-hero,
  .course-detail-hero,
  .course-learn-hero,
  .learner-dashboard-hero,
  .learner-resume-card,
  .book-session-service-row,
  .booking-status-card,
  .booking-planner-header,
  .booking-drawer-shell,
  .course-payment-hero,
  .lms-home-hero--landing {
    gap: 16px;
  }

  .signature-hero,
  .lms-home-hero,
  .lms-home-hero--landing,
  .course-detail-hero,
  .course-learn-hero,
  .lesson-page-hero,
  .learner-dashboard-hero,
  .learner-resume-card,
  .course-payment-hero {
    padding: 18px 18px 16px;
    border-radius: 24px;
  }

  .signature-copy,
  .lms-home-hero-copy,
  .lesson-page-hero-copy,
  .learner-dashboard-hero-copy,
  .learner-resume-copy {
    gap: 12px;
    align-items: center;
    text-align: center;
  }

  .signature-copy h1,
  .lms-home-hero-copy h1,
  .course-detail-hero-copy h1,
  .course-learn-hero-copy h1,
  .lesson-page-hero h1,
  .learner-dashboard-hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 0.98;
  }

  .signature-copy h1 {
    max-width: 10.5ch;
    margin: 0 auto;
  }

  .signature-copy h2,
  .lms-home-hero-description,
  .course-detail-hero-copy p,
  .course-learn-hero-copy p,
  .lesson-page-hero p:not(.eyebrow),
  .learner-dashboard-hero-copy p:not(.eyebrow) {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .signature-copy h2 {
    max-width: 24ch;
    margin: 0 auto;
    white-space: normal;
    text-wrap: balance;
  }

  .hero-body {
    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-portrait {
    justify-content: center;
    padding-top: 0;
  }

  .portrait-frame,
  .lms-home-hero-image-frame,
  .course-detail-hero-image-frame {
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .lms-home-hero-image-frame {
    min-height: 340px;
  }

  .lms-home-hero-feature-image {
    min-height: 320px;
  }

  .course-card-meta-grid,
  .learner-dashboard-statline,
  .meta-row {
    grid-template-columns: 1fr;
  }

  .learner-stat-card,
  .course-card-meta-item,
  .learner-current-module-card,
  .learner-session-item,
  .learner-certificate-item,
  .learner-dashboard-quick-link {
    min-height: 0;
  }

  .learner-course-card,
  .learner-session-card-premium,
  .learner-cert-card,
  .learner-admin-card,
  .learner-empty-course-card {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .learner-dashboard-actions,
  .learner-dashboard-quick-links,
  .lms-home-hero-actions,
  .button-row {
    width: 100%;
  }

  .learner-dashboard-actions .button,
  .learner-dashboard-quick-link,
  .lms-home-hero-actions .button,
  .button-row .button {
    width: 100%;
    justify-content: center;
  }

  .course-module-row,
  .course-detail-module-row,
  .lesson-module-strip,
  .card-grid,
  .learner-course-grid-premium {
    grid-template-columns: 1fr;
  }

  .blog-grid,
  .assessment-hero-stats,
  .assessment-options-grid,
  .course-payment-hero,
  .certificate-builder-card,
  .certificate-page-actions {
    grid-template-columns: 1fr;
  }

  .course-payment-summary,
  .course-payment-card,
  .blog-post-card,
  .assessment-form-card,
  .assessment-status-card,
  .assessment-guidance-card,
  .assessment-next-card,
  .certificate-builder-card,
  .certificate-panel-premium {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .course-payment-summary-row,
  .assessment-status-meta,
  .assessment-submit-row,
  .certificate-page-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .assessment-submit-row .button,
  .certificate-page-actions .button {
    width: 100%;
    justify-content: center;
  }

  .blog-post-card-media {
    min-height: 220px;
  }

  .blog-post-card-copy,
  .course-payment-copy,
  .certificate-builder-copy {
    gap: 12px;
  }

  .lesson-module-chip,
  .course-module-card,
  .lesson-row--course-card {
    border-radius: 20px;
  }

  .lesson-content.lesson-slide-experience {
    padding: 18px 16px;
    border-radius: 24px;
  }

  .lesson-slide-experience-header,
  .lesson-slide-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .lesson-slide-controls .button,
  .lesson-slide-experience-header .button {
    width: 100%;
    justify-content: center;
  }

  .lesson-slide-viewer {
    gap: 14px;
  }

  .lesson-slide-panel,
  .lesson-slide-panel.is-active,
  .lesson-slide-panel--media-left,
  .lesson-slide-panel--media-right,
  .lesson-slide-panel--media-top,
  .lesson-slide-panel--media-bottom {
    min-height: 0;
    border-radius: 24px;
  }

  .lesson-slide-panel--media-left,
  .lesson-slide-panel--media-right {
    flex-direction: column;
  }

  .lesson-slide-panel--media-left .lesson-slide-media,
  .lesson-slide-panel--media-right .lesson-slide-media,
  .lesson-slide-panel--media-top .lesson-slide-media,
  .lesson-slide-panel--media-bottom .lesson-slide-media {
    width: 100%;
    min-height: 220px;
    padding: 16px 16px 0;
  }

  .lesson-slide-panel--media-bottom .lesson-slide-media {
    padding: 0 16px 16px;
  }

  .lesson-slide-copy {
    padding: 18px 16px 20px;
  }

  .lesson-next-preview-card {
    padding: 18px;
    border-radius: 22px;
  }

  .booking-calendar-grid,
  .admin-calendar-grid {
    gap: 8px;
  }

  .booking-day-card,
  .admin-calendar-cell {
    min-height: 110px;
    padding: 10px;
    border-radius: 16px;
  }

  .booking-calendar-header,
  .admin-calendar-toolbar,
  .admin-calendar-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-calendar-scroll {
    overflow-x: auto;
    margin: 0 -2px;
    padding: 4px 2px 10px;
    -webkit-overflow-scrolling: touch;
  }

  .admin-calendar-grid {
    min-width: 860px;
    margin-top: 14px;
  }

  .booking-calendar-header .button,
  .admin-calendar-nav .button {
    width: 100%;
    justify-content: center;
  }

  .admin-calendar-cell {
    min-height: 138px;
    padding: 12px;
  }

  .admin-calendar-window-pills {
    grid-template-columns: repeat(2, minmax(64px, 1fr));
    gap: 6px;
  }

  .admin-calendar-window-pill {
    min-height: 34px;
    padding-inline: 8px;
    font-size: 0.72rem;
  }

  .booking-form-panel,
  .admin-builder-card,
  .admin-side-card,
  .admin-preview-card {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .booking-form-grid,
  .form-grid,
  .admin-visibility-grid {
    grid-template-columns: 1fr;
  }

  .booking-status-strip,
  .booking-calendar-weekdays,
  .message-hero-pills {
    gap: 8px;
  }

  .message-hero,
  .admin-hub-hero,
  .admin-builder-hero-shell,
  .intake-hero,
  .archetype-hero {
    padding: 18px 16px 16px;
    border-radius: 22px;
  }

  .message-hero h1,
  .admin-hub-hero h1,
  .admin-builder-hero-shell h1,
  .archetype-hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 0.98;
  }

  .stats-grid,
  .admin-action-grid,
  .admin-grid,
  .admin-visibility-grid,
  .archetype-overview-grid,
  .archetype-bottom-grid,
  .archetype-roadmap-grid,
  .archetype-section-grid,
  .archetype-edit-grid,
  .archetype-snapshot-grid,
  .admin-media-library-grid,
  .admin-media-filter-grid {
    grid-template-columns: 1fr;
  }

  .admin-action-card,
  .admin-builder-card,
  .admin-side-card,
  .admin-preview-card,
  .admin-media-library-card,
  .archetype-summary-card,
  .archetype-focus-card,
  .archetype-risk-card,
  .archetype-response-card,
  .archetype-roadmap-card,
  .archetype-section-card,
  .archetype-edit-card,
  .archetype-full-intake-card,
  .archetype-stat-card,
  .archetype-intake-section,
  .message-card {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .admin-action-card {
    min-height: 0;
  }

  .admin-builder-card-header,
  .section-heading,
  .notification-item,
  .notification-item-actionable,
  .notification-item-actions,
  .archetype-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-builder-card .form-grid,
  .admin-side-card .form-grid,
  .builder-stack,
  .intake-form-stack {
    gap: 16px;
  }

  .admin-builder-card .button,
  .admin-side-card .button,
  .notification-item-actions .button,
  .notification-item-actions form,
  .archetype-hero-actions .admin-back-link,
  .archetype-hero-actions .archetype-action-link {
    width: 100%;
  }

  .notification-item,
  .notification-item-actionable {
    gap: 12px;
  }

  .notification-item .helper-text,
  .notification-item-actions .helper-text {
    text-align: left;
  }

  .admin-media-library-image {
    height: 180px;
  }

  .admin-media-library-actions,
  .admin-module-quiz-actions,
  .button-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .admin-media-library-actions .button,
  .admin-module-quiz-actions .button,
  .button-row .button {
    width: 100%;
    justify-content: center;
  }

  .admin-module-quiz-item,
  .lesson-slide-stack-card {
    border-radius: 20px;
    padding: 14px;
  }

  .admin-module-quiz-item,
  .lesson-slide-stack-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lesson-slide-stack-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lesson-slide-stack-preview {
    width: 100%;
    height: 120px;
    border-radius: 18px;
  }

  .lesson-slide-stack-copy strong,
  .lesson-slide-stack-copy .helper-text {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .lesson-slide-stack-actions form,
  .lesson-slide-stack-actions .button,
  .admin-module-quiz-actions form,
  .admin-module-quiz-actions .button {
    width: 100%;
  }

  .admin-builder-card-header,
  .admin-inline-actions,
  .admin-hero-pill-row,
  .admin-exam-submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-inline-actions .button,
  .admin-hero-pill-row .button,
  .admin-exam-submit-row .button {
    width: 100%;
    justify-content: center;
  }

  .admin-slide-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archetype-response-card .list-item,
  .archetype-intake-list .list-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .archetype-response-card .list-item span,
  .archetype-intake-list .list-item span {
    text-align: left;
  }

  .message-hero-pills {
    flex-direction: column;
    align-items: stretch;
  }

  .message-hero-pill {
    width: 100%;
    justify-content: center;
  }

  .info-page-card-approach .info-page-card-copy {
    padding: 24px 20px;
    text-align: center;
    align-items: center;
  }

  .info-page-card-approach h1 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .info-page-card-approach .info-page-intro,
  .info-page-card-approach .info-page-text {
    max-width: 100%;
    text-align: center;
  }

  .info-slim-shell,
  .info-navy-band-content .info-navy-band-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
    align-items: center;
    justify-items: center;
  }

  .info-slim-heading,
  .info-navy-band-content .info-navy-band-heading {
    width: 100%;
    max-width: 14ch;
    margin: 0 auto 2px;
    text-align: center;
  }

  .info-slim-copy,
  .info-navy-band-copy {
    width: 100%;
    max-width: 34rem;
    margin: 0 auto;
    text-align: center;
  }

  .info-slim-lead,
  .info-slim-text,
  .info-navy-band-content .info-navy-band-text {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.64;
  }

  .info-slim-lead,
  .info-navy-band-content .info-navy-band-text:first-child {
    margin-bottom: 12px;
  }

  .footer-grid {
    gap: 14px;
  }

  .footer-link-group-platform,
  .footer-link-group-legal {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100vw - 16px, 1180px);
  }

  .card,
  .section-intro,
  .hero-strip,
  .certificate-panel {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .brand-monogram,
  .footer-brand-monogram {
    min-width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .brand-logo {
    height: auto;
    max-width: min(100%, 180px);
  }

  .footer-brand-logo {
    height: auto;
    max-width: min(100%, 170px);
  }

  .nav-links a,
  .login-link,
  .logout-link,
  .theme-toggle,
  .button {
    min-height: 46px;
  }

  .lms-home-hero-image-frame,
  .course-detail-hero-image-frame,
  .info-page-card-approach .info-page-card-visual {
    width: min(100%, 280px);
  }

  .info-page-card-approach .info-page-card-visual {
    height: 380px;
  }

  .lesson-slide-media,
  .lesson-slide-panel--media-left .lesson-slide-media,
  .lesson-slide-panel--media-right .lesson-slide-media {
    min-height: 180px;
  }

  .lesson-slide-copy h3,
  .lesson-next-preview-card h4,
  .course-card h2,
  .learner-course-card h2,
  .blog-post-card-copy h2,
  .course-payment-copy h1,
  .assessment-hero h1 {
    font-size: 1.15rem;
  }

  .lesson-slide-copy p,
  .lesson-slide-rich-body,
  .course-card-body p,
  .learner-course-description,
  .booking-day-card small,
  .admin-calendar-cell small,
  .blog-post-card-copy p,
  .course-payment-copy p,
  .assessment-status-card p,
  .assessment-guidance-item span,
  .certificate-builder-copy p {
    font-size: 0.92rem;
  }

  .admin-slide-media-grid {
    grid-template-columns: 1fr;
  }

  .admin-module-quiz-item,
  .lesson-slide-stack-card,
  .admin-builder-card,
  .admin-action-card {
    padding: 16px;
  }

  .learner-progress-ring {
    --ring-size: 132px;
  }

  .home-assistant {
    right: 10px;
    left: 10px;
    justify-items: stretch;
  }

  .home-assistant-trigger,
  .home-assistant-panel {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .certificate-page-actions {
    display: none !important;
  }

  .certificate-builder-card {
    display: none !important;
  }

  body {
    background: white !important;
  }

  .certificate-page-shell,
  .certificate-panel-premium,
  .certificate-artboard {
    box-shadow: none !important;
    border: none !important;
  }

  .certificate-page-shell {
    padding: 0;
    margin: 0;
  }

  .certificate-panel-premium {
    padding: 0;
    background: transparent !important;
  }
}
