@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url('/assets/fonts/DM-Sans.ttf') format('truetype'); }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/DM-Serif-Display.ttf') format('truetype'); }
@font-face { font-family: 'DM Serif Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/DM-Serif-Display-Italic.ttf') format('truetype'); }

:root {
  --teal-950: #043f4a;
  --teal-900: #005a70;
  --teal-800: #096c7b;
  --teal-700: #1c8190;
  --teal-100: #dceff0;
  --teal-50: #eff9f8;
  --gold: #e4ad38;
  --gold-soft: #fff1cc;
  --cream: #fbf7ef;
  --paper: #fffdf9;
  --ink: #17383f;
  --muted: #61777b;
  --line: #dce6e4;
  --rose: #d98779;
  --sage: #82a18f;
  --shadow: 0 16px 44px rgba(13, 65, 72, .09);
  --shadow-small: 0 7px 22px rgba(13, 65, 72, .08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --sidebar: 264px;
}

* { box-sizing: border-box; }
.lesson-text-preview { white-space: pre-wrap; line-height: 1.7; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, [data-route-link] { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; }
h1 { margin-bottom: 10px; font-size: clamp(2.15rem, 4vw, 3.35rem); line-height: 1.04; letter-spacing: -.025em; }
h2 { margin-bottom: 8px; font-size: 1.65rem; line-height: 1.15; }
h3 { margin-bottom: 8px; font-size: 1.35rem; line-height: 1.2; }
p { color: var(--muted); line-height: 1.65; }

.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-140%); padding: 10px 16px; border-radius: 10px; background: white; box-shadow: var(--shadow-small); }
.skip-link:focus { transform: translateY(0); }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 30; inset: 0 auto 0 0; display: flex; width: var(--sidebar); flex-direction: column; padding: 27px 20px 20px; background: var(--teal-950); color: white; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand img { width: 120px; filter: brightness(0) invert(1); }
.brand span { padding-left: 10px; border-left: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.72); font-size: .78rem; }
.brand-motto { margin: 11px 8px 23px; color: rgba(255,255,255,.62); font-family: "DM Serif Display", serif; font-size: .82rem; font-style: italic; letter-spacing: .02em; }
.main-nav { display: grid; gap: 5px; padding-top: 25px; }
.main-nav a { display: flex; align-items: center; gap: 13px; padding: 12px 13px; border-radius: 12px; color: rgba(255,255,255,.7); font-size: .91rem; font-weight: 600; transition: .2s ease; }
.main-nav a:hover, .main-nav a.is-active { background: rgba(255,255,255,.1); color: white; }
.main-nav svg { width: 19px; height: 19px; }
.sidebar-spacer { flex: 1; }
.sidebar-card { display: grid; gap: 5px; margin: 18px 0; padding: 17px; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background: rgba(255,255,255,.065); }
.sidebar-card__eyebrow { color: #f2cc76; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sidebar-card strong { font-family: "DM Serif Display", Georgia, serif; font-size: 1.05rem; font-weight: 400; }
.sidebar-card > span:not(.sidebar-card__eyebrow) { color: rgba(255,255,255,.62); font-size: .78rem; }
.sidebar-card .text-button { justify-self: start; margin-top: 6px; color: white; }
.profile { display: flex; width: 100%; align-items: center; gap: 10px; padding: 13px 6px 0; border: 0; border-top: 1px solid rgba(255,255,255,.1); background: transparent; color: white; cursor: pointer; text-align: left; }
.profile > span:nth-child(2) { display: grid; flex: 1; gap: 2px; }
.profile small { color: rgba(255,255,255,.55); }
.mobile-header { display: none; }
.main-content { min-height: 100vh; margin-left: var(--sidebar); padding: 46px clamp(24px, 5vw, 72px) 84px; }
.page { display: none; width: 100%; max-width: 1320px; margin: 0 auto; animation: page-in .3s ease; }
.page.is-active { display: block; }
.public-flow .sidebar, .public-flow .mobile-header, .public-flow .prototype-switch { display: none; }
.public-flow .main-content { max-width: 1440px; margin: 0 auto; padding-top: 30px; }
@keyframes page-in { from { opacity: 0; transform: translateY(7px); } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 35px; }
.page-heading > div:first-child { max-width: 750px; }
.page-heading p:last-child { margin-bottom: 0; }
.eyebrow { margin-bottom: 9px; color: var(--teal-700); font-size: .69rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 11px 18px; border: 1px solid transparent; border-radius: 999px; background: none; cursor: pointer; font-size: .87rem; font-weight: 700; transition: .2s ease; }
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-small); }
.button svg { width: 17px; height: 17px; }
.button--primary { background: var(--teal-900); color: white; }
.button--soft { background: white; color: var(--teal-900); box-shadow: var(--shadow-small); }
.button--outline { border-color: var(--teal-900); background: white; color: var(--teal-900); }
.button--ghost { background: var(--teal-50); color: var(--teal-900); }
.button--full { width: 100%; }
.button--large { min-height: 55px; }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--teal-900); cursor: pointer; font-size: .84rem; font-weight: 700; }
.icon-button { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.icon-button svg { width: 18px; height: 18px; }
.avatar { display: inline-flex; width: 40px; height: 40px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: #d7a08e; color: white; font-size: .76rem; font-weight: 800; }
.avatar--sage { background: var(--sage); }
.avatar--gold { background: #c49b45; }
.avatar--button { border: 0; cursor: pointer; }
.pill { display: inline-flex; padding: 7px 10px; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .09em; }
.pill--light { background: rgba(255,255,255,.88); color: var(--teal-950); backdrop-filter: blur(8px); }

/* Public campus entrance */
.gateway-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.gateway-header img { width: 165px; }
.gateway-header p { margin: 0; color: var(--teal-800); font-family: "DM Serif Display", serif; font-style: italic; }
.gateway-header .button { justify-self: end; }
.gateway-hero { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 510px; align-items: center; gap: clamp(35px, 6vw, 85px); padding: 60px 0; }
.gateway-hero > div:first-child { max-width: 650px; }
.gateway-hero h1 { font-size: clamp(2.7rem, 5vw, 4.75rem); }
.gateway-hero > div:first-child > p:not(.eyebrow) { max-width: 580px; font-size: 1.08rem; }
.gateway-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.gateway-hero__image { position: relative; min-height: 430px; overflow: hidden; border-radius: 45% 45% 18px 18px; background-position: center; background-size: cover; box-shadow: var(--shadow); }
.gateway-hero__image > div { position: absolute; right: 22px; bottom: 22px; left: 22px; display: grid; gap: 4px; padding: 18px; border-radius: 14px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); }
.gateway-hero__image strong { color: var(--teal-950); font-family: "DM Serif Display", serif; font-size: 1.25rem; font-weight: 400; }
.gateway-hero__image span { color: var(--muted); font-size: .72rem; }
.gateway-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; margin-bottom: 70px; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.gateway-path span { display: flex; align-items: center; gap: 10px; padding: 19px; background: white; color: var(--muted); font-size: .75rem; font-weight: 700; }
.gateway-path strong { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--teal-50); color: var(--teal-900); }
.gateway-programs { scroll-margin-top: 25px; }
.gateway-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.gateway-course { overflow: hidden; }
.gateway-course__image { position: relative; height: 205px; background-position: center; background-size: cover; }
.gateway-course__image .pill { position: absolute; top: 15px; left: 15px; }
.gateway-course__body { padding: 24px; }
.gateway-course__body h3 { margin-top: 6px; font-size: 1.65rem; }
.gateway-course__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.gateway-course__meta span { padding: 5px 8px; border-radius: 999px; background: var(--teal-50); color: var(--teal-900); font-size: .65rem; font-weight: 700; }
.gateway-course__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 17px; border-top: 1px solid var(--line); }
.gateway-course__footer > strong { color: var(--teal-900); font-family: "DM Serif Display", serif; font-size: 1.55rem; font-weight: 400; }
.gateway-help { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 65px; padding: clamp(28px, 5vw, 50px); border-radius: var(--radius-xl); background: var(--teal-950); color: white; }
.gateway-help h2 { color: white; }
.gateway-help p { max-width: 760px; margin-bottom: 0; color: rgba(255,255,255,.72); }
.gateway-help .eyebrow { color: var(--gold); }
.product-back { margin: 28px 0 20px; }
.product-hero { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 520px; align-items: center; gap: clamp(35px, 6vw, 80px); padding: 25px 0 55px; }
.product-hero__copy { max-width: 650px; }
.product-lead { max-width: 610px; font-size: 1.08rem; }
.product-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 23px 0; }
.product-facts span { padding: 7px 11px; border-radius: 999px; background: var(--teal-50); color: var(--teal-900); font-size: .72rem; font-weight: 700; }
.product-price { display: grid; width: min(100%, 390px); grid-template-columns: 1fr auto; align-items: end; gap: 2px 20px; margin: 25px 0; padding: 19px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-price span { color: var(--muted); font-size: .76rem; }
.product-price strong { grid-row: span 2; color: var(--teal-900); font-family: "DM Serif Display", serif; font-size: 2.7rem; font-weight: 400; }
.product-price small { color: #8b6a23; font-size: .68rem; }
.product-hero__image { position: relative; min-height: 455px; overflow: hidden; border-radius: 46% 46% 18px 18px; background-position: center; background-size: cover; box-shadow: var(--shadow); }
.product-hero__image > div { position: absolute; right: 22px; bottom: 22px; left: 22px; display: grid; gap: 4px; padding: 18px; border-radius: 14px; background: rgba(255,255,255,.91); backdrop-filter: blur(10px); }
.product-hero__image strong { color: var(--teal-950); font-family: "DM Serif Display", serif; font-size: 1.18rem; font-weight: 400; }
.product-hero__image span { color: var(--muted); font-size: .72rem; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(330px,.6fr); gap: 24px; margin-bottom: 55px; }
.product-content { padding: clamp(25px,4vw,42px); }
.product-summary { align-self: start; padding: clamp(25px,4vw,36px); }
.product-summary .button { margin: 18px 0 12px; }
.product-summary > small { display: block; color: var(--muted); font-size: .68rem; text-align: center; }
.product-checks { display: grid; gap: 13px; margin: 25px 0 0; padding: 0; list-style: none; }
.product-checks li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.product-checks svg { width: 19px; color: var(--teal-700); }
.modal-field { display: grid; gap: 7px; margin: 20px 0; color: #36575d; font-size: .75rem; font-weight: 700; }
.modal-field input { min-height: 48px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.modal-help { margin: 13px 0 0; font-size: .68rem; text-align: center; }
.modal-recovery { width: 100%; justify-content: center; margin-top: 14px; }
.progress { height: 6px; overflow: hidden; border-radius: 999px; background: #dce7e5; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.continue-card { display: grid; overflow: hidden; grid-template-columns: minmax(280px, .9fr) 1.2fr; margin-bottom: 47px; border-radius: var(--radius-xl); background: var(--paper); box-shadow: var(--shadow); }
.continue-card__image, .course-card__image, .offer-card__visual, .post-image, .order-cover { background-position: center; background-size: cover; }
.image-rechazo { background-image: linear-gradient(140deg, rgba(4,63,74,.08), rgba(4,63,74,.28)), url('assets/catalogo/portadas/rechazo-v1.png'); }
.image-proposito { background-image: linear-gradient(140deg, rgba(4,63,74,.05), rgba(4,63,74,.22)), url('assets/catalogo/portadas/proposito-v1.png'); }
.image-nina { background-image: linear-gradient(140deg, rgba(4,63,74,.05), rgba(4,63,74,.2)), url('assets/catalogo/portadas/nina-v1.png'); }
.image-pareja { background-position:center; background-image:linear-gradient(140deg,rgba(4,63,74,.05),rgba(4,63,74,.2)),url('assets/catalogo/portadas/pareja-v1.png'); }
.image-abandono { background-position:center; background-image:linear-gradient(140deg,rgba(4,63,74,.05),rgba(4,63,74,.2)),url('assets/catalogo/portadas/abandono-v1.png'); }
.continue-card__image { position: relative; min-height: 352px; }
.continue-card__image .pill { position: absolute; top: 22px; left: 22px; }
.play-button { display: inline-flex; position: absolute; inset: 50% auto auto 50%; width: 62px; height: 62px; align-items: center; justify-content: center; transform: translate(-50%,-50%); border: 0; border-radius: 50%; background: white; color: var(--teal-900); box-shadow: 0 12px 30px rgba(4,63,74,.24); cursor: pointer; }
.play-button svg { width: 21px; height: 21px; margin-left: 3px; }
.continue-card__body { display: flex; flex-direction: column; justify-content: space-between; gap: 34px; padding: clamp(28px, 5vw, 52px); }
.continue-card__body h2 { margin-bottom: 12px; font-size: clamp(2rem, 3vw, 2.75rem); }
.lesson-title { max-width: 540px; margin: 0; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--muted); font-size: .78rem; }
.continue-card__body .button { margin-top: 23px; }
.section-heading, .panel__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-heading { margin-bottom: 20px; }
.section-heading h2, .panel__heading h2 { margin: 0; }
.section-heading .eyebrow, .panel__heading .eyebrow { margin-bottom: 5px; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.course-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 47px; }
.course-card { overflow: hidden; border: 1px solid rgba(0,90,112,.08); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-small); transition: .2s ease; }
.course-card[data-route-link] { cursor: pointer; }
.course-card[data-route-link]:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-card__image { position: relative; min-height: 210px; }
.course-card__image .pill { position: absolute; top: 16px; left: 16px; }
.course-card__body { padding: 24px; }
.course-card__body p { min-height: 45px; margin-bottom: 18px; font-size: .88rem; }
.course-card__body .progress { margin-bottom: 9px; }
.course-card__body small { color: var(--muted); }
.course-type { color: var(--teal-700); font-size: .65rem; font-weight: 800; letter-spacing: .09em; }
.course-card--large .course-card__image { min-height: 250px; }
.dashboard-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 25px; }
.panel { border: 1px solid rgba(0,90,112,.08); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-small); }
.upcoming-panel, .community-preview { padding: 28px; }
.event-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.event-row:last-child { padding-bottom: 0; border: 0; }
.event-row > div:nth-child(2) { display: grid; gap: 5px; }
.event-row span { color: var(--muted); font-size: .77rem; }
.date-tile { display: grid; width: 54px; height: 58px; place-content: center; border-radius: 13px; background: var(--teal-900); color: white; text-align: center; }
.date-tile strong { font-family: "DM Serif Display", serif; font-size: 1.4rem; line-height: 1; }
.date-tile span { color: inherit; font-size: .58rem; letter-spacing: .1em; }
.date-tile--soft { background: var(--gold-soft); color: #7d5a18; }
.mini-post { display: flex; gap: 13px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.mini-post:last-child { border: 0; padding-bottom: 0; }
.mini-post p { margin: 4px 0; font-size: .82rem; line-height: 1.45; }
.mini-post span:last-child { color: #8aa0a3; font-size: .7rem; }
.segmented { display: flex; padding: 4px; border-radius: 999px; background: #e8efed; }
.segmented button { padding: 8px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .77rem; font-weight: 700; }
.segmented button.is-active { background: white; color: var(--teal-900); box-shadow: 0 2px 8px rgba(0,0,0,.06); }

/* Course player */
.course-player-page { max-width: 1500px; }
.course-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.course-topbar > div { display: grid; width: min(260px, 42vw); grid-template-columns: auto 1fr; align-items: center; gap: 10px; color: var(--muted); font-size: .75rem; }
.player-layout { display: grid; overflow: hidden; grid-template-columns: minmax(0, 1fr) 370px; border-radius: var(--radius-xl); background: white; box-shadow: var(--shadow); }
.video-stage { position: relative; min-height: min(56vw, 570px); background: linear-gradient(135deg, rgba(4,63,74,.93), rgba(0,90,112,.65)), url('assets/catalogo/portadas/rechazo-v1.png') center/cover; color: white; }
.video-stage__eyebrow, .video-stage__duration { position: absolute; top: 24px; left: 25px; font-size: .68rem; font-weight: 700; letter-spacing: .09em; }
.video-stage__duration { inset: auto 24px 20px auto; padding: 6px 8px; border-radius: 6px; background: rgba(0,0,0,.45); }
.video-provider { position: absolute; top: 20px; right: 23px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(4,63,74,.45); font-size: .65rem; font-weight: 700; backdrop-filter: blur(8px); }
.play-button--large { width: 76px; height: 76px; }
.lesson-content { padding: clamp(28px, 5vw, 56px); }
.lesson-content > p:not(.eyebrow) { max-width: 800px; }
.lesson-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.reflection { display: flex; gap: 15px; padding: 20px; border-left: 3px solid var(--gold); border-radius: 0 13px 13px 0; background: var(--gold-soft); }
.reflection > svg { width: 22px; flex: 0 0 auto; color: #947019; }
.reflection p { margin: 4px 0 0; color: #6f5a2b; font-size: .88rem; }
.lesson-resources, .lesson-comments { margin-top: 38px; padding-top: 34px; border-top: 1px solid var(--line); }
.resource-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 17px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #f9fbfa; }
.resource-icon { display: inline-flex; width: 48px; height: 54px; align-items: center; justify-content: center; border-radius: 8px 8px 8px 2px; background: #d87864; color: white; font-size: .68rem; font-weight: 800; letter-spacing: .05em; }
.resource-card > div { display: grid; gap: 4px; }
.resource-card small { color: var(--muted); }
.lesson-comments__heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.lesson-comments__heading h2 { margin: 0; }
.lesson-comments__heading h2 span { color: var(--muted); font-family: "DM Sans", sans-serif; font-size: .8rem; }
.comments-note { display: flex; align-items: center; gap: 7px; margin: 15px 0; padding: 11px 13px; border-radius: 10px; background: var(--teal-50); color: var(--teal-800); font-size: .72rem; }
.comments-note svg { width: 15px; flex: 0 0 auto; }
.lesson-comment { display: flex; gap: 13px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.lesson-comment:last-child { border: 0; }
.lesson-comment header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.lesson-comment p { margin: 0; color: #405b60; font-size: .84rem; }
.curriculum { max-height: 940px; overflow: auto; border-left: 1px solid var(--line); background: #fbfdfc; }
.curriculum__heading { display: flex; align-items: flex-start; justify-content: space-between; padding: 27px 24px 22px; border-bottom: 1px solid var(--line); }
.curriculum summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: .82rem; font-weight: 700; }
.curriculum summary span:first-child { display: grid; gap: 4px; }
.curriculum summary small { color: var(--teal-700); font-size: .58rem; letter-spacing: .1em; }
.lesson { display: flex; width: 100%; align-items: flex-start; gap: 12px; padding: 14px 22px; border: 0; border-bottom: 1px solid #edf1f0; background: white; cursor: pointer; text-align: left; }
.lesson.is-current { background: var(--teal-50); color: var(--teal-900); }
.lesson > svg, .lesson-number { display: inline-flex; width: 22px; height: 22px; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; padding: 4px; }
.lesson > span:last-child { display: grid; gap: 4px; font-size: .78rem; font-weight: 600; }
.lesson small { color: var(--muted); font-weight: 400; }
.community-link { display: grid; width: calc(100% - 34px); grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 20px 17px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--teal-900); cursor: pointer; text-align: left; }
.community-link svg { width: 20px; }
.community-link span:nth-child(2) { display: grid; gap: 3px; }
.community-link small { color: var(--muted); }

/* Community */
.community-layout { display: grid; grid-template-columns: 300px minmax(0, 820px); justify-content: center; gap: 26px; }
.community-groups { align-self: start; padding: 22px 15px; }
.community-groups h2 { padding: 0 9px; font-size: 1.25rem; }
.community-groups > .eyebrow { padding: 0 9px; }
.group { display: flex; width: 100%; align-items: center; gap: 11px; padding: 10px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; text-align: left; }
.group.is-active { background: var(--teal-50); }
.group > span:nth-child(2) { display: grid; gap: 2px; }
.group strong { font-size: .8rem; }
.group small { color: var(--muted); font-size: .67rem; }
.group-icon { display: inline-flex; width: 37px; height: 37px; align-items: center; justify-content: center; border-radius: 10px; background: var(--teal-900); color: white; font-family: "DM Serif Display", serif; }
.group-icon--gold { background: #c59630; }
.group-icon--pink { background: var(--rose); }
.privacy-note { display: flex; gap: 10px; margin: 22px 8px 0; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #f7faf9; }
.privacy-note > svg { width: 18px; flex: 0 0 auto; color: var(--teal-700); }
.privacy-note strong { display: block; font-size: .78rem; }
.privacy-note p { margin: 4px 0 0; font-size: .68rem; line-height: 1.45; }
.guidelines { margin: 22px 8px 0; padding: 17px; border-radius: 13px; background: var(--gold-soft); }
.guidelines > svg { width: 20px; color: #9b731e; }
.guidelines strong { display: block; margin-top: 6px; font-size: .8rem; }
.guidelines p { margin: 5px 0; font-size: .72rem; line-height: 1.5; }
.feed { display: grid; gap: 20px; }
.composer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 17px; }
.composer > button:nth-child(2) { padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: #f8faf9; color: var(--muted); cursor: pointer; text-align: left; }
.post { padding: 23px; }
.post header { display: flex; align-items: center; gap: 12px; }
.post header > div { display: grid; flex: 1; gap: 3px; }
.post header span { color: var(--muted); font-size: .7rem; }
.post > p { margin: 19px 0; color: #405b60; }
.verified { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--teal-900); color: white !important; }
.post-image { height: 310px; border-radius: 16px; }
.post footer { display: flex; gap: 22px; padding-top: 18px; }
.post footer button { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .75rem; }
.post footer svg { width: 18px; }
.post footer button.is-liked { color: var(--rose); }
.quote-card { padding: 32px; border-radius: 17px; background: var(--teal-950); color: white; font-family: "DM Serif Display", serif; font-size: 1.4rem; line-height: 1.4; text-align: center; }
.mobile-course-picker { display: none; }
.course-space { min-width: 0; }
.course-space-header { display: grid; grid-template-columns: 1fr auto; gap: 18px; margin-bottom: 20px; padding: 24px 25px 0; }
.course-space-identity { display: flex; align-items: center; gap: 13px; }
.course-space-identity .group-icon { width: 48px; height: 48px; font-size: 1.15rem; }
.course-space-identity h2 { margin-bottom: 3px; }
.course-space-identity .eyebrow { margin-bottom: 3px; }
.course-space-identity > div > span { color: var(--muted); font-size: .72rem; }
.private-badge { display: inline-flex; align-self: start; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; background: var(--teal-50); color: var(--teal-800); font-size: .66rem; font-weight: 700; }
.private-badge svg { width: 14px; }
.space-tabs { display: flex; grid-column: 1 / -1; gap: 8px; margin-top: 3px; }
.space-tabs button { display: inline-flex; position: relative; align-items: center; gap: 7px; padding: 13px 17px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: .79rem; font-weight: 700; }
.space-tabs button.is-active { border-bottom-color: var(--teal-900); color: var(--teal-900); }
.space-tabs svg { width: 17px; }
.tab-count { display: inline-flex; min-width: 19px; height: 19px; align-items: center; justify-content: center; border-radius: 999px; background: var(--gold-soft); color: #85641b; font-size: .62rem; }
.space-panel { display: none; }
.space-panel.is-active { display: grid; gap: 20px; }
.next-course-event { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; padding: 17px 20px; border-color: rgba(228,173,56,.5); background: #fffbf1; }
.next-course-event > div:nth-child(2) { display: grid; gap: 3px; }
.next-course-event small { color: var(--muted); }
#course-posts { display: grid; gap: 20px; }
.course-calendar { padding: 26px; }
.course-calendar__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.course-calendar__heading h2 { margin: 0; }
.calendar-week, .month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.calendar-week { margin-bottom: 7px; color: var(--muted); font-size: .65rem; font-weight: 700; text-align: center; }
.month-grid > span, .month-grid > button { display: grid; min-height: 66px; place-content: start center; gap: 4px; padding: 10px 4px; border: 0; border-radius: 11px; background: #f7faf9; color: var(--ink); font-size: .76rem; }
.month-grid > .outside { color: #b7c3c1; background: transparent; }
.month-grid > button { cursor: pointer; font-weight: 400; }
.month-grid > .has-event { background: var(--teal-100); color: var(--teal-950); font-weight: 800; }
.month-grid > .is-selected { outline: 2px solid var(--teal-700); outline-offset: -2px; }
.month-grid small { color: var(--teal-800); font-size: .55rem; }
.calendar-event-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 23px; }
.calendar-event-card h2 { margin: 5px 0; }
.calendar-event-card p { margin-bottom: 6px; font-size: .83rem; }
.calendar-event-card > div:nth-child(2) > span:last-child { color: var(--muted); font-size: .75rem; }

/* Store and checkout */
.store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px; }
.offer-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: white; box-shadow: var(--shadow-small); }
.offer-card--featured { border: 2px solid var(--gold); }
.offer-card__visual { position: relative; height: 280px; }
.offer-card__visual .pill { position: absolute; top: 18px; left: 18px; }
.offer-card__body { padding: 30px; }
.offer-card__body h2 { margin-top: 7px; font-size: 2rem; }
.offer-card ul, .order-summary ul { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.offer-card li, .order-summary li { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .82rem; }
.offer-card li svg, .order-summary li svg { width: 17px; color: var(--teal-700); }
.price { display: grid; grid-template-columns: 1fr auto; align-items: end; margin: 25px 0 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.price span { color: var(--muted); font-size: .75rem; }
.price strong { grid-row: span 2; color: var(--teal-900); font-family: "DM Serif Display", serif; font-size: 2rem; font-weight: 400; }
.price small { color: var(--muted); }
.access-status { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; margin: -22px 0 38px; padding: 18px 21px; }
.access-status__icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--teal-100); color: var(--teal-900); }
.access-status__icon svg { width: 20px; }
.access-status > div { display: grid; gap: 3px; }
.access-status small { color: var(--muted); }
.checkout-brand { display: flex; align-items: center; justify-content: space-between; margin-bottom: 33px; }
.checkout-brand img { width: 155px; }
.checkout-brand > span { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .78rem; }
.checkout-brand svg { width: 16px; }
.checkout-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 24px; padding: 0; list-style: none; }
.checkout-steps li { position: relative; display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: .68rem; }
.checkout-steps li::after { position: absolute; z-index: -1; top: 15px; left: 50%; width: 100%; height: 1px; background: var(--line); content: ""; }
.checkout-steps li:last-child::after { display: none; }
.checkout-steps span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-weight: 800; }
.checkout-steps .is-current { color: var(--teal-900); }
.checkout-steps .is-current span { border-color: var(--teal-900); background: var(--teal-900); color: white; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 28px; align-items: start; }
.checkout-form { padding: clamp(25px, 5vw, 45px); }
.checkout-intro { margin-bottom: 34px; }
.checkout-form fieldset { margin: 0 0 30px; padding: 0; border: 0; }
.checkout-form legend { width: 100%; margin-bottom: 17px; padding-bottom: 11px; border-bottom: 1px solid var(--line); font-family: "DM Serif Display", serif; font-size: 1.25rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.checkout-form label { display: grid; gap: 8px; color: #36575d; font-size: .76rem; font-weight: 700; }
.checkout-form input:not([type="checkbox"]), .fake-input { width: 100%; min-height: 48px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); outline: none; }
.checkout-form input:focus { border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(28,129,144,.12); }
.field-full { margin-top: 15px; }
.stripe-box { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--teal-50); }
.stripe-box > svg { width: 23px; flex: 0 0 auto; color: var(--teal-900); }
.stripe-box p { margin: 4px 0 0; font-size: .76rem; }
.legal-check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; margin: 0 0 20px; padding: 15px; border-radius: 11px; background: #f7f2e7; }
.legal-check input { margin-top: 2px; accent-color: var(--teal-900); }
.payment-tabs { display: flex; margin-bottom: 17px; padding: 4px; border-radius: 10px; background: #eef3f2; }
.payment-tabs button { flex: 1; padding: 10px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font-size: .76rem; font-weight: 700; }
.payment-tabs .is-active { background: white; color: var(--teal-900); box-shadow: 0 2px 8px rgba(0,0,0,.07); }
.card-fields { display: grid; gap: 13px; }
.fake-input { display: flex; align-items: center; justify-content: space-between; font-weight: 500; }
.fake-input span { color: var(--teal-900); font-size: .7rem; font-weight: 800; }
.demo-note { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; color: #866826; font-size: .72rem; }
.demo-note svg { width: 16px; }
.bump { display: grid !important; grid-template-columns: auto 1fr; gap: 11px !important; margin-bottom: 26px; padding: 16px; border: 1px dashed var(--gold); border-radius: 12px; background: #fffbf1; }
.bump input { margin-top: 2px; accent-color: var(--teal-900); }
.bump span { display: grid; gap: 4px; }
.bump small { color: var(--muted); font-weight: 400; }
.legal { margin: 12px 0 0; font-size: .68rem; text-align: center; }
.order-summary { position: sticky; top: 25px; padding: 25px; }
.order-cover { height: 210px; margin-bottom: 22px; border-radius: 16px; }
.order-line { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--line); font-size: .84rem; }
.order-total { color: var(--teal-900); font-size: 1.1rem; }
.activation-note, .zoom-access-note { padding: 16px; border-radius: 13px; background: var(--teal-50); }
.activation-note p { margin: 5px 0 0; font-size: .74rem; }
.testimonial { margin-top: 20px; padding: 18px; border-radius: 13px; background: var(--teal-50); }
.testimonial p { margin-bottom: 6px; color: var(--teal-950); font-family: "DM Serif Display", serif; font-size: 1rem; font-style: italic; }
.testimonial span { color: var(--muted); font-size: .7rem; }
.activation-page { max-width: 760px; padding: 40px 0; }
.activation-card { padding: clamp(28px,6vw,56px); text-align: center; }
.activation-card > p { max-width: 600px; margin-right: auto; margin-left: auto; }
.activation-icon { display: grid; width: 70px; height: 70px; margin: 0 auto 23px; place-items: center; border-radius: 50%; background: var(--teal-900); color: white; font-size: 2rem; }
.activation-flow--large { display: grid; gap: 0; margin: 30px 0; text-align: left; }
.activation-flow--large li { position: relative; padding: 14px 0; }
.activation-flow--large li:not(:last-child)::after { position: absolute; top: 48px; bottom: -8px; left: 15px; width: 1px; background: var(--line); content: ""; }
.activation-flow--large li > span { z-index: 1; display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--teal-900); color: white; font-size: .76rem; font-weight: 800; }
.mail-preview { display: flex; align-items: flex-start; gap: 13px; margin: 25px 0; padding: 18px; border-radius: 14px; background: var(--gold-soft); text-align: left; }
.mail-preview svg { width: 22px; flex: 0 0 auto; color: #80601e; }
.mail-preview p { margin: 4px 0 0; font-size: .74rem; }
.activation-logo { width: 175px; margin: 0 auto 30px; }
.activation-card label { display: grid; gap: 8px; margin: 17px 0; color: #36575d; font-size: .78rem; font-weight: 700; text-align: left; }
.activation-card input { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); }
.activation-card input[readonly] { background: #f0f4f3; color: var(--muted); }
.password-help { margin: 0 0 22px !important; font-size: .7rem; text-align: left; }
.activation-recovery { width: 100%; justify-content: center; margin-top: 18px; }

/* Agenda and admin */
.agenda-list { overflow: hidden; }
.zoom-access-note { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 18px; }
.zoom-access-note svg { flex: 0 0 auto; width: 20px; color: var(--teal-900); }
.zoom-access-note p { margin: 3px 0 0; font-size: .76rem; }
.modal-status { display: flex; gap: 11px; margin: 18px 0; padding: 15px; border-radius: 12px; background: var(--teal-50); }
.modal-status > span, .activation-flow > li > span { display: grid; flex: 0 0 auto; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--teal-800); color: white; font-weight: 800; }
.modal-status p { margin: 3px 0 0; font-size: .78rem; }
.activation-flow { display: grid; gap: 11px; margin: 20px 0; padding: 0; list-style: none; }
.activation-flow li { display: flex; align-items: center; gap: 11px; }
.activation-flow li div { display: grid; gap: 2px; }
.activation-flow small { color: var(--muted); }
.agenda-month { padding: 14px 24px; background: var(--teal-950); color: white; font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.agenda-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; padding: 28px; border-bottom: 1px solid var(--line); }
.agenda-item:last-child { border: 0; }
.agenda-item h2 { margin: 4px 0; }
.agenda-item p { margin: 0 0 6px; }
.agenda-item > div:nth-child(2) > span:last-child { color: var(--muted); font-size: .78rem; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 17px; margin-bottom: 24px; }
.metrics article { display: grid; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-small); }
.metrics span { color: var(--muted); font-size: .75rem; }
.metrics strong { color: var(--teal-950); font-family: "DM Serif Display", serif; font-size: 2rem; font-weight: 400; }
.metrics small { color: var(--muted); }
.metrics .positive { color: #3e8060; }
.admin-section-heading { margin: 34px 0 18px; }
.admin-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.admin-course { overflow: hidden; }
.admin-course__cover { position: relative; height: 118px; background-position: center; background-size: cover; }
.admin-course__cover .status { position: absolute; top: 12px; right: 12px; }
.admin-course__body { padding: 20px; }
.admin-course__body h3 { margin: 5px 0 15px; font-size: 1.35rem; }
.content-counts, .admin-course__services { display: flex; flex-wrap: wrap; gap: 7px; }
.content-counts span { padding: 5px 8px; border-radius: 999px; background: var(--teal-50); color: var(--teal-900); font-size: .66rem; font-weight: 700; }
.admin-course__services { margin: 14px 0; color: var(--muted); font-size: .67rem; }
.admin-course__next { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; padding-top: 13px; border-top: 1px solid var(--line); font-size: .7rem; }
.admin-course__next span { color: var(--muted); }
.admin-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; margin-bottom: 24px; }
.admin-grid .panel, .orders { padding: 27px; }
.panel select { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); }
.fake-chart { display: flex; height: 230px; align-items: flex-end; gap: 8px; margin-top: 25px; padding: 20px 10px 0; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, #fff 0, #fff 56px, #edf2f1 57px); }
.fake-chart div { flex: 1; min-height: 12px; border-radius: 4px 4px 0 0; background: linear-gradient(to top, var(--teal-900), #62aab0); }
.chart-labels { display: flex; justify-content: space-between; padding-top: 8px; color: var(--muted); font-size: .64rem; }
.product-stat { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.product-stat:last-child { border: 0; }
.product-stat > div { display: grid; gap: 4px; }
.product-stat span { color: var(--muted); font-size: .7rem; }
.stat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-700); }
.stat-dot--gold { background: var(--gold); }
.stat-dot--pink { background: var(--rose); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 18px; }
th, td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: .75rem; white-space: nowrap; }
th { color: var(--muted); font-weight: 600; }
.status { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: .66rem; font-weight: 700; }
.status--paid { background: #e5f5eb; color: #2f704c; }
.status--pending { background: var(--gold-soft); color: #88641a; }
.status--active, .status--published { background: #e5f5eb; color: #2f704c; }
.status--draft { background: #edf0f0; color: #617176; }
.status--failed, .status--blocked { background: #fbe8e6; color: #994b43; }
.course-manager { display: grid; gap: 10px; margin: 20px 0; }
.course-manager__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.course-manager__row > span:first-child { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: var(--teal-50); color: var(--teal-900); font-weight: 800; }
.course-manager__row div { display: grid; gap: 2px; }
.course-manager__row small, .course-manager__row > span:last-child { color: var(--muted); font-size: .68rem; }

/* Course editor */
.editor-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.editor-actions { display: flex; align-items: center; gap: 9px; }
.editor-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.editor-heading h1 { margin: 4px 0 6px; }
.editor-heading p { margin: 0; }
.editor-completion { display: grid; grid-template-columns: auto 1fr; width: min(280px, 100%); gap: 3px 10px; color: var(--muted); font-size: .72rem; }
.editor-completion strong { grid-row: span 2; color: var(--teal-900); font-family: "DM Serif Display", serif; font-size: 2rem; font-weight: 400; }
.editor-completion .progress { align-self: end; }
.editor-tabs { display: flex; gap: 6px; margin-bottom: 20px; padding: 5px; border-radius: 14px; background: #e9eeec; }
.editor-tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 700; }
.editor-tabs button.is-active { background: white; color: var(--teal-900); box-shadow: var(--shadow-small); }
.editor-panel:not(.is-active) { display: none; }
.course-editor-layout { display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.7fr); gap: 20px; align-items: start; }
.course-outline, .lesson-editor, .settings-card { padding: 24px; }
.course-outline { position: sticky; top: 20px; }
.lesson-editor { scroll-margin-top: 88px; }
.private-chat { padding: 28px; }
.private-chat h1 { font-size: 2rem; }
.private-chat__messages { display: flex; flex-direction: column; gap: 14px; max-height: 440px; overflow-y: auto; padding: 18px 0; margin: 18px 0; }
.private-chat__message { align-self: flex-start; max-width: 88%; padding: 16px 20px; border-radius: 16px; background: #f7f1e7; overflow-wrap: anywhere; }
.private-chat__message.is-own { align-self: flex-end; background: #eaf3ee; }
.private-chat__message p { white-space: pre-wrap; margin: 8px 0; }
.private-chat__message time { font-size: .75rem; color: var(--muted); }
.circle-reply-quote, .circle-composer-reply { margin: 10px 0; padding: 12px 15px; border: 0; border-left: 3px solid #b9cdbf; background: #ffffff80; border-radius: 6px; font-size: .85rem; }
.circle-composer-reply { background: #edf3ed; }
.circle-composer-reply p { margin: 6px 0; overflow-wrap: anywhere; }
.circle-reply-button { display: block; margin-top: 9px; font-size: .8rem; }
.circle-live-status { font-size: .8rem; color: var(--muted); }
.bonus-coupon { border: 1px solid #e0d6bf; border-radius: 16px; background: #fcfaf3; margin: 22px 0; }
.bonus-coupon summary { padding: 18px 20px; cursor: pointer; font-weight: 700; color: var(--teal-950); }
.bonus-coupon summary span { font-weight: 400; font-size: .8rem; margin-left: 8px; color: var(--muted); }
.bonus-coupon__body { padding: 0 20px 20px; }
.bonus-coupon__body > label { display: block; margin-bottom: 8px; font-weight: 600; }
.bonus-coupon__body p { font-size: .85rem; line-height: 1.65; }
.bonus-coupon button:disabled { opacity: .5; cursor: not-allowed; }
.bonus-coupon__planned, .bonus-order-row { background: #edf3e9; padding: 14px 16px; border-radius: 10px; color: var(--teal-950); }
.bonus-order-row { margin: 20px 0; font-size: .85rem; }
.private-chat textarea { width: 100%; min-height: 130px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; box-sizing: border-box; }
.professional-inbox { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.5fr); gap: 22px; margin-top: 24px; align-items: start; }
.professional-inbox > aside { padding: 24px; }
.professional-thread { display: grid; grid-template-columns:52px minmax(0,1fr); align-items:start; gap: 13px; width: 100%; padding: 17px 8px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--teal-950); text-align: left; cursor: pointer; font: inherit; }
.professional-thread small { color: var(--muted); }
@media (max-width: 800px) { .professional-inbox { grid-template-columns: 1fr; } }
.editor-back-to-outline { margin-bottom: 20px; }
.course-outline h2 { font-size: 1.35rem; }
.outline-module { margin: 19px 0; }
.outline-module__heading { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; margin-bottom: 8px; }
.outline-module__heading > span { grid-column: 1; color: var(--teal-700); font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.outline-module__heading strong { grid-column: 1; font-size: .8rem; }
.outline-module__heading button { grid-column: 2; grid-row: 1 / 3; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.outline-lesson { display: grid; width: 100%; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; margin: 5px 0; padding: 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.outline-lesson:hover, .outline-lesson.is-active { border-color: var(--line); background: var(--teal-50); }
.outline-lesson > span:first-child { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 7px; background: white; color: var(--teal-900); font-size: .67rem; font-weight: 800; }
.outline-lesson > div { display: grid; gap: 2px; }
.outline-lesson strong { font-size: .72rem; }
.outline-lesson small, .outline-lesson > span:last-child { color: var(--muted); font-size: .62rem; }
.add-lesson { margin: 7px 0 0 32px; border: 0; background: transparent; color: var(--teal-800); cursor: pointer; font-size: .68rem; font-weight: 700; }
.lesson-editor__head, .settings-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.visibility-toggle, .switch-control { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .7rem; font-weight: 700; }
.visibility-toggle input, .switch-control input { accent-color: var(--teal-800); }
.editor-form, .settings-list { display: grid; gap: 18px; }
.editor-form label, .settings-list label { display: grid; gap: 7px; color: #36575d; font-size: .74rem; font-weight: 700; }
.editor-form input, .editor-form select, .editor-form textarea, .settings-list input, .settings-list select, .settings-list textarea { width: 100%; min-height: 47px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--ink); font: inherit; outline: none; }
.editor-form textarea, .settings-list textarea { min-height: 120px; resize: vertical; }
.editor-form input:focus, .editor-form select:focus, .editor-form textarea:focus, .settings-list input:focus, .settings-list textarea:focus { border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(28,129,144,.1); }
.editor-form label > small { color: var(--muted); font-size: .65rem; font-weight: 400; }
.editor-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.input-action { display: grid; grid-template-columns: 1fr auto; }
.input-action input { border-radius: 10px 0 0 10px; }
.input-action button { padding: 0 16px; border: 1px solid var(--teal-800); border-radius: 0 10px 10px 0; background: var(--teal-800); color: white; cursor: pointer; font-weight: 700; }
.resource-editor { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 15px; border: 1px dashed var(--gold); border-radius: 12px; background: #fffbf1; }
.resource-editor__icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 10px; background: white; color: var(--teal-900); }
.resource-editor__icon svg { width: 20px; }
.resource-editor > div:nth-child(2) { display: grid; gap: 3px; }
.resource-editor small { color: var(--muted); }
.lesson-options { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.lesson-options label { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 8px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; }
.lesson-options label > span { display: grid; gap: 3px; }
.lesson-options small { color: var(--muted); font-weight: 400; }
.editor-form-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 4px; }
.settings-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 20px; align-items: start; }
.settings-grid--zoom { grid-template-columns: 1fr 1fr; }
.switch-control input { position: absolute; opacity: 0; }
.switch-control span { position: relative; display: block; width: 44px; height: 24px; border-radius: 999px; background: #b9c4c2; cursor: pointer; }
.switch-control span::after { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: white; content: ""; transition: .2s; }
.switch-control input:checked + span { background: var(--teal-800); }
.switch-control input:checked + span::after { transform: translateX(20px); }
.check-settings { display: grid; gap: 11px; margin: 20px 0; }
.check-settings label { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .75rem; }
.check-settings input { accent-color: var(--teal-800); }
.moderator-box { margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.moderator-box > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 12px; }
.admin-event { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.admin-event > div:nth-child(2) { display: grid; gap: 3px; }
.admin-event span, .admin-event small { color: var(--muted); font-size: .68rem; }
.zoom-security { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding: 14px; border-radius: 11px; background: var(--teal-50); }
.zoom-security svg { flex: 0 0 auto; width: 18px; color: var(--teal-900); }
.zoom-security p { margin: 0; font-size: .72rem; }

.prototype-switch { position: fixed; z-index: 25; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: var(--teal-950); color: white; box-shadow: 0 10px 35px rgba(4,63,74,.28); cursor: pointer; font-size: .75rem; font-weight: 700; }
.prototype-switch svg { width: 17px; }
.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(3,35,41,.58); backdrop-filter: blur(4px); }
.modal-backdrop[hidden] { display: none; }
.modal { position: relative; width: min(520px, 100%); max-height: 88vh; overflow: auto; padding: 35px; border-radius: 24px; background: white; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal h2 { font-size: 2rem; }
.modal textarea { width: 100%; min-height: 130px; margin: 15px 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; resize: vertical; font: inherit; }
.upload-placeholder { display: grid; justify-items: center; gap: 7px; margin: 20px 0; padding: 28px; border: 1px dashed var(--teal-700); border-radius: 13px; background: var(--teal-50); text-align: center; }
.upload-placeholder svg { width: 28px; color: var(--teal-900); }
.upload-placeholder small { color: var(--muted); }
.toast { position: fixed; z-index: 200; right: 22px; bottom: 82px; max-width: 360px; transform: translateY(20px); padding: 14px 17px; border-radius: 12px; background: var(--teal-950); color: white; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s ease; font-size: .8rem; }
.toast.is-visible { transform: translateY(0); opacity: 1; }

@media (max-width: 1160px) {
  :root { --sidebar: 224px; }
  .sidebar { padding-inline: 14px; }
  .brand img { width: 105px; }
  .dashboard-grid, .admin-grid { grid-template-columns: 1fr; }
  .admin-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-editor-layout, .settings-grid, .settings-grid--zoom { grid-template-columns: 1fr; }
  .course-outline { position: static; }
  .gateway-hero { grid-template-columns: 1fr 1fr; }
  .product-hero { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .gateway-course-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gateway-course:last-child { grid-column: 1 / -1; }
  .player-layout { grid-template-columns: minmax(0,1fr) 320px; }
  .metrics { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform .25s ease; }
  body.menu-open .sidebar { transform: translateX(0); }
  .mobile-header { position: sticky; z-index: 20; top: 0; display: flex; height: 67px; align-items: center; justify-content: space-between; padding: 10px 18px; border-bottom: 1px solid var(--line); background: rgba(251,247,239,.94); backdrop-filter: blur(12px); }
  .mobile-header img { width: 125px; }
  .main-content { margin-left: 0; padding: 30px 20px 80px; }
  .continue-card { grid-template-columns: 1fr; }
  .continue-card__image { min-height: 290px; }
  .course-grid { grid-template-columns: repeat(2,1fr); }
  .player-layout { grid-template-columns: 1fr; }
  .curriculum { max-height: none; border-top: 1px solid var(--line); border-left: 0; }
  .community-layout { grid-template-columns: 1fr; }
  .community-groups { display: none; }
  .mobile-course-picker { display: grid; gap: 7px; margin: -10px 0 20px; color: var(--muted); font-size: .72rem; font-weight: 700; }
  .mobile-course-picker select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); }
  .checkout-layout { grid-template-columns: 1fr; }
  .access-status { grid-template-columns: auto 1fr; }
  .access-status > .button { grid-column: 2; justify-self: start; }
  .order-summary { position: static; }
}

@media (max-width: 650px) {
  h1 { font-size: 2.25rem; }
  .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
  .page-heading > .button { width: 100%; }
  .continue-card__image { min-height: 235px; }
  .continue-card__body { padding: 28px 22px; }
  .course-grid, .course-grid--compact, .store-grid, .metrics, .admin-course-grid { grid-template-columns: 1fr; }
  .editor-topbar, .editor-heading { align-items: flex-start; flex-direction: column; }
  .editor-actions { width: 100%; flex-wrap: wrap; }
  .editor-actions .button { flex: 1; }
  .editor-tabs { overflow-x: auto; }
  .editor-tabs button { min-width: 150px; }
  .editor-form-grid, .lesson-options { grid-template-columns: 1fr; }
  .resource-editor { grid-template-columns: auto 1fr; }
  .resource-editor .button { grid-column: 1 / -1; }
  .gateway-header { grid-template-columns: 1fr auto; }
  .gateway-header p { display: none; }
  .gateway-hero, .gateway-course-grid, .product-hero { grid-template-columns: 1fr; }
  .gateway-hero { padding-top: 40px; }
  .gateway-hero__image { min-height: 330px; }
  .product-hero { padding-top: 20px; }
  .product-hero__image { min-height: 340px; }
  .product-price { grid-template-columns: 1fr; gap: 5px; }
  .product-price strong { grid-row: auto; }
  .gateway-course:last-child { grid-column: auto; }
  .gateway-path { grid-template-columns: 1fr 1fr; }
  .gateway-help { align-items: flex-start; flex-direction: column; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .event-row, .agenda-item { grid-template-columns: auto 1fr; }
  .event-row > .button, .agenda-item > .button { grid-column: 2; justify-self: start; }
  .post { padding: 18px; }
  .post-image { height: 230px; }
  .post footer { justify-content: space-between; gap: 8px; }
  .post footer button { font-size: 0; }
  .post footer button span { font-size: .74rem; }
  .video-provider { top: auto; right: auto; bottom: 20px; left: 20px; }
  .resource-card { grid-template-columns: auto 1fr; }
  .resource-card > .button { grid-column: 1 / -1; width: 100%; }
  .lesson-comments__heading { align-items: flex-start; flex-direction: column; }
  .course-space-header { grid-template-columns: 1fr; padding: 19px 19px 0; }
  .private-badge { display: none; }
  .space-tabs { grid-column: 1; }
  .space-tabs button { flex: 1; justify-content: center; }
  .next-course-event, .calendar-event-card { grid-template-columns: auto 1fr; }
  .next-course-event > .button, .calendar-event-card > .button { grid-column: 2; justify-self: start; }
  .course-calendar { padding: 18px; }
  .course-calendar__heading { align-items: flex-start; flex-direction: column; }
  .month-grid > span, .month-grid > button { min-height: 51px; padding: 7px 2px; }
  .form-grid { grid-template-columns: 1fr; }
  .checkout-form, .order-summary { border-radius: 18px; }
  .prototype-switch .switch-label { display: none; }
  .prototype-switch { width: 44px; height: 44px; justify-content: center; padding: 0; }
  .segmented { width: 100%; overflow-x: auto; }
  .segmented button { flex: 1; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Isolated student journey preview; never publishes the source course. */
.student-preview-banner { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; border-bottom:1px solid var(--line); color:var(--teal-800); font-size:.7rem; font-weight:700; letter-spacing:.04em; }
.student-notebook { max-width:960px; margin:0 auto 48px; padding:clamp(24px,4vw,48px); background:#fffdf8; }
.notebook-heading { display:flex; align-items:center; gap:20px; }
.notebook-heading h1 { margin:6px 0 0; font-size:clamp(2.2rem,5vw,3.2rem); }
.notebook-heading .eyebrow { margin:0; }
.notebook-symbol { display:grid; place-items:center; width:64px; height:64px; border:1px solid #e4dccb; border-radius:50%; background:#f4f1e7; color:var(--teal-800); font-size:2rem; flex:none; }
.notebook-intro { max-width:680px; margin:24px 0 28px; color:var(--muted); line-height:1.8; }
.notebook-label, .notebook-conflict label { display:block; margin-bottom:12px; color:var(--teal-950); font-weight:600; }
.student-notebook textarea { display:block; box-sizing:border-box; width:100%; min-height:360px; padding:18px 22px; border:1px solid #deded0; border-radius:12px; outline:none; color:var(--ink); font:inherit; line-height:2; resize:vertical; background:repeating-linear-gradient(to bottom,#fffefa 0,#fffefa calc(2em - 1px),#efeee5 calc(2em - 1px),#efeee5 2em); background-origin:content-box; }
.student-notebook textarea:focus { border-color:var(--teal-700); box-shadow:0 0 0 3px rgba(28,129,144,.1); }
.student-notebook textarea::placeholder { color:#8a9189; }
.notebook-help { margin:14px 0 24px; color:var(--muted); font-size:.85rem; line-height:1.6; }
.notebook-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
#notebook-status { flex:1 1 200px; color:var(--teal-800); font-size:.82rem; line-height:1.5; }
#notebook-status[data-state="error"] { color:#895b3e; }
.notebook-conflict { margin-top:28px; padding:24px; border:1px solid #e4dccb; border-radius:12px; background:#f8f5ed; }
.notebook-conflict textarea { min-height:160px; margin-bottom:20px; }
@media (max-width:650px) { .notebook-actions .button { width:100%; } .student-notebook textarea { padding:14px; min-height:320px; font-size:1rem; } .notebook-symbol { width:48px; height:48px; } }
.student-classroom-header { display:grid; grid-template-columns:minmax(150px,1fr) minmax(0,2fr) minmax(150px,1fr); align-items:center; gap:24px; padding:26px 0; }
.student-classroom-header img { width:150px; height:auto; }
.student-classroom-course-title { margin:0; color:var(--teal-950); font-family:"DM Serif Display",Georgia,serif; font-size:clamp(1.2rem,2.2vw,1.7rem); font-weight:400; line-height:1.3; text-align:center; text-wrap:balance; }
.student-classroom-course-title::after { content:""; display:block; width:42px; height:1px; margin:12px auto 0; background:#bfa36d; }
.student-classroom-account { display: grid; gap: 6px; justify-items: end; text-align: right; min-width: 0; }
.student-name-chip { border: 1px solid #d8e4df; background: #edf4ef; color: var(--teal-950); padding: 10px 16px; border-radius: 24px; font: inherit; font-weight: 600; cursor: pointer; max-width: 100%; overflow-wrap: anywhere; }
.student-classroom-account > span { font-size: .75rem; color: var(--muted); }
@media (max-width:650px) { .student-classroom-account { grid-column: 1 / -1; justify-items: center; text-align: center; } }
.student-classroom-header > span { justify-self:end; text-align:right; color:var(--muted); font-family:Georgia,serif; font-style:italic; }
@media (max-width:650px) { .student-classroom-header { grid-template-columns:110px minmax(0,1fr); gap:16px; } .student-classroom-header img { width:110px; } .student-classroom-header > span { grid-column:1 / -1; justify-self:center; text-align:center; } }
.student-confirmation { max-width:700px; margin:24px auto 60px; padding:48px; text-align:center; }
.student-confirmation h1 { margin:16px 0; font-size:clamp(2.2rem,5vw,3.4rem); }
.student-confirmation-check { display:grid; place-items:center; width:64px; height:64px; margin:0 auto 24px; border-radius:50%; background:var(--teal-100); color:var(--teal-800); font-size:2rem; }
.student-confirmation .button { margin:18px 0; }
.student-confirmation small { display:block; max-width:500px; margin:0 auto; color:var(--muted); line-height:1.6; }
.student-preview-lead { font-size:1.13rem; }
.student-welcome { display:grid; grid-template-columns:1.2fr .8fr; align-items:center; gap:40px; padding:24px 0 48px; }
.student-welcome h1 { font-size:clamp(2.3rem,5vw,3.7rem); }
.student-course-image { min-height:330px; border-radius:120px 120px 24px 24px; background-position:center; background-size:cover; }
.student-progress { display:grid; gap:10px; margin-top:24px; color:var(--muted); font-size:.8rem; }
.student-module-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.student-module-card { padding:28px; }
.student-module-card--locked { background:#f5f4ef; border:1px solid #e4e4d9; box-shadow:none; }
.student-module-lock { display:grid; grid-template-columns:36px 1fr; align-items:center; gap:8px 12px; margin-top:24px; padding-top:20px; border-top:1px solid var(--line); color:#596e68; }
.student-module-lock > span { display:grid; place-items:center; grid-row:1 / 3; width:36px; height:36px; border-radius:50%; background:#e9ede5; }
.student-module-lock strong { font-size:.85rem; }
.student-module-lock p { grid-column:2; margin:0; font-size:.83rem; line-height:1.6; }
.student-outline-locked { display:grid; gap:6px; margin-top:16px; padding:18px 10px; border-top:1px solid var(--line); color:#64736c; }
.student-outline-locked small { color:var(--teal-800); font-size:.65rem; letter-spacing:.08em; }
.student-outline-locked strong { font-size:.9rem; }
.student-outline-locked > span { font-size:.75rem; }
.module-access-panel { padding:clamp(24px,4vw,40px); }
.module-access-panel > p { max-width:850px; line-height:1.8; }
.module-access-select { display:grid; gap:10px; max-width:620px; margin-top:28px; font-weight:600; }
.module-access-select select { width:100%; min-height:48px; padding:12px; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:white; font:inherit; }
.module-access-help { color:var(--muted); font-size:.85rem; }
.module-access-list { margin-top:24px; }
.module-access-row { display:grid; grid-template-columns:minmax(0,1fr) 90px 180px; align-items:center; gap:24px; padding:24px 0; border-top:1px solid var(--line); }
.module-access-row .eyebrow { margin:0 0 6px; }
.module-access-row h3 { margin:0; font-size:1.1rem; }
.module-access-row p:not(.eyebrow) { margin:8px 0 0; font-size:.82rem; color:var(--muted); }
.module-access-state { padding:6px 12px; border-radius:30px; background:#f0eee6; color:#726b56; font-size:.78rem; text-align:center; }
.module-access-state.is-open { background:#e8efe7; color:#426458; }
.module-access-initial { color:var(--muted); font-size:.8rem; text-align:center; }
@media (max-width:650px) { .module-access-row { grid-template-columns:minmax(0,1fr) 85px; gap:16px; } .module-access-row .button,.module-access-initial { grid-column:1 / -1; } }
.student-module-card ul { margin:20px 0 0; padding:0; list-style:none; }
.student-module-card li { border-top:1px solid var(--line); }
.student-module-card li .text-button { display:block; padding:12px 0; text-align:left; line-height:1.5; }
.student-preview-footnote { max-width:850px; margin:30px 0; font-size:.85rem; }
.student-back { margin:0 0 24px; }
.student-reader-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:28px; align-items:start; }
.student-lesson { padding:clamp(24px,4vw,48px); }
.protected-course-content { -webkit-user-select:none; user-select:none; }
.protected-course-content img { -webkit-user-drag:none; user-drag:none; }
.protected-course-content :is(input,textarea,select,[contenteditable="true"]) { -webkit-user-select:text; user-select:text; }
.content-protection-notice { display:flex; align-items:center; gap:9px; margin:0 0 22px; padding:10px 13px; border:1px solid #d9d0b8; border-radius:10px; background:#fbf8ee; color:#695c3a; font-size:.78rem; line-height:1.5; }
.content-protection-notice span { flex:none; color:#9a7d42; font-size:1rem; }
.visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.student-lesson h1 { font-size:clamp(2rem,4vw,3rem); margin:14px 0 30px; }
.student-lesson .lesson-text-preview { color:var(--ink); font-size:1.05rem; }
.student-lesson-actions { display:flex; flex-wrap:wrap; gap:12px; padding-top:28px; margin-top:28px; border-top:1px solid var(--line); }
.student-downloads { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.student-downloads h2 { width:100%; font-size:1.3rem; }
.formation-types { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:12px 0 42px; }
.formation-type-card { display:flex; flex-direction:column; gap:12px; padding:24px 20px; border:1px solid transparent; border-radius:18px; text-align:left; color:var(--ink); font:inherit; cursor:pointer; transition:box-shadow .2s,border-color .2s; }
.formation-type-card--program { background:#e8f0eb; }
.formation-type-card--course { background:#e9eff2; }
.formation-type-card--seminar { background:#efeaf2; }
.formation-type-card--workshop { background:#f4eddf; }
.formation-type-card:hover,.formation-type-card.is-selected { border-color:var(--teal-700); box-shadow:0 6px 20px rgba(27,67,65,.08); }
.formation-type-card > strong { font:1.6rem "DM Serif Display",Georgia,serif; }
.formation-type-lead { font-weight:600; font-size:.82rem; line-height:1.5; }
.formation-type-card > span:not(.formation-type-lead) { font-size:.78rem; line-height:1.7; color:#536563; }
.formation-type-card small { margin-top:auto; padding-top:10px; font-size:.72rem; }
.formation-results-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:20px; margin:0 0 18px; }
.formation-results-heading h2 { margin:6px 0; }
.formation-results-heading .eyebrow { margin:0; }
.formation-results { color:var(--muted); font-size:.8rem; margin-bottom:20px; }
.formation-badge { display:inline-block; width:fit-content; padding:7px 12px; border-radius:30px; font-size:.7rem; font-weight:700; letter-spacing:.06em; color:#254d48; background:#e6eee6; }
.formation-badge--course { color:#355967; background:#e5edf3; }
.formation-badge--seminar { color:#665173; background:#eee6f2; }
.formation-badge--workshop { color:#77603b; background:#f3e9d3; }
.offer-card__visual .formation-badge { position:absolute; left:20px; top:20px; }
.offer-card__visual { position:relative; }
.formation-draft { position:absolute; right:18px; top:22px; padding:4px 10px; background:#fffdf5; border-radius:30px; font-size:.7rem; color:#726343; }
.formation-coming { position:absolute; right:18px; top:22px; padding:5px 11px; background:#fff4cf; border-radius:30px; font-size:.7rem; font-weight:800; color:#7c5808; }
.formation-card-meta,.formation-preview-note { font-size:.82rem; color:var(--muted); line-height:1.7; }
.formation-card-date { margin:10px 0; padding:8px 11px; border-radius:10px; background:#fff4cf; color:#7c5808; font-weight:800; }
.formation-preview-note { margin:12px 0 20px; }
.formation-empty { padding:40px; text-align:center; color:var(--muted); }
.formation-empty-symbol { color:#a59168; font-size:2rem; }
.formation-cover { background:linear-gradient(135deg,#c9d8cf,#e8dfcc); }
.formation-format-panel { padding:clamp(24px,4vw,40px); }
.formation-format-panel > label { display:grid; gap:10px; max-width:480px; margin:24px 0; font-weight:600; }
.formation-format-panel select,.modal-field select { width:100%; padding:14px; border:1px solid var(--line); border-radius:10px; background:white; color:var(--ink); font:inherit; }
.formation-format-guide { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.formation-format-guide > div { padding:22px; background:#f7f7f2; border-radius:14px; }
.formation-format-guide strong { display:block; margin:12px 0; font-size:.9rem; }
.formation-format-guide p { font-size:.85rem; line-height:1.7; color:var(--muted); }
#formation-format-status { color:var(--teal-800); }
@media(max-width:900px) { .formation-types { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .formation-types,.formation-format-guide { grid-template-columns:minmax(0,1fr); } .formation-type-card { padding:22px; } }
.student-curriculum { padding:24px; }
.student-curriculum details { margin-top:16px; border-top:1px solid var(--line); padding-top:16px; }
.student-curriculum summary { cursor:pointer; line-height:1.5; }
.student-curriculum summary small { display:block; color:var(--teal-800); font-size:.65rem; letter-spacing:.08em; }
.student-curriculum summary strong { font-weight:600; font-size:.9rem; }
.student-lesson-link { display:flex; gap:10px; width:100%; padding:12px 8px; border:0; background:transparent; text-align:left; color:var(--muted); font:inherit; font-size:.8rem; line-height:1.5; cursor:pointer; border-radius:8px; }
.student-lesson-link.is-active { background:var(--teal-50); color:var(--teal-900); font-weight:700; }
.student-lesson-link:hover { background:var(--teal-50); }
.student-lesson-marker { flex:0 0 14px; }
.student-lesson-link.student-dynamic-link { margin:4px 0; background:#f2f5ed; color:#4c665f; }
.student-dynamic-link .student-lesson-marker { color:#948157; font-size:1rem; line-height:1.2; }
.student-lesson-link.student-dynamic-link:hover { background:#eaf0e4; }
.student-lesson-link.student-dynamic-link.is-active { background:#e6eee0; color:var(--teal-900); }
.student-module-card li .text-button.student-dynamic-link { width:100%; margin:5px 0; padding:11px 12px; border-radius:8px; background:#f2f5ed; color:#4c665f; }
.student-module-card .student-lesson-marker { display:inline-block; min-width:22px; }
.student-module-card li .text-button.student-dynamic-link:hover { background:#eaf0e4; }
@media (max-width:1000px) { .student-reader-layout { grid-template-columns:minmax(0,1fr); } }
@media (max-width:650px) { .student-welcome,.student-module-grid { grid-template-columns:minmax(0,1fr); } .student-course-image { min-height:240px; } .student-preview-banner { flex-wrap:wrap; } .student-classroom-header > span { font-size:.8rem; } .student-confirmation { padding:28px 22px; } }

.student-video { position:relative; width:100%; aspect-ratio:16/9; margin:0 0 32px; border-radius:18px; overflow:hidden; background:var(--teal-950); }
.student-video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.student-video--pending { display:grid; place-items:center; padding:24px; text-align:center; color:white; background:linear-gradient(135deg,var(--teal-950),var(--teal-800)); }
.student-video--pending .eyebrow { color:#badfe0; margin:10px 0; }
.student-video--pending h2 { color:white; font-size:clamp(1.4rem,3vw,2rem); }
.student-video--pending p:last-child { color:#dceff0; max-width:440px; margin:0 auto; font-size:.9rem; }
.student-video-symbol { display:block; font-size:2rem; line-height:1; color:var(--gold); }

/* Single-lesson layout trial: Raíces invisibles presentation only. */
.student-reader-layout--roots { grid-template-columns:minmax(0,1fr) 270px; gap:24px; }
.student-lesson--roots { padding:0; border:0; background:transparent; box-shadow:none; min-width:0; }
.roots-presentation { color:var(--ink); font-size:1rem; line-height:1.85; }
.roots-hero { position:relative; isolation:isolate; overflow:hidden; min-height:390px; border-radius:26px; background:#eaf1eb; border:1px solid #dce6dd; }
.roots-hero::after { content:""; position:absolute; inset:20px; border:1px solid #b79a5b55; border-radius:16px; pointer-events:none; z-index:-1; }
.roots-hero-copy { position:relative; width:74%; padding:46px 0 44px 36px; z-index:1; }
.student-lesson--roots h1.roots-title { margin:0 0 15px; max-width:490px; font-size:clamp(2.1rem,3.7vw,3.35rem); line-height:1.08; color:var(--teal-950); text-wrap:balance; }
.roots-subtitle { font-family:"DM Serif Display",Georgia,serif; font-style:italic; font-size:1.45rem; line-height:1.35; color:#77613b; margin:0 0 22px; }
.roots-program { font-size:.68rem; letter-spacing:.07em; font-weight:700; color:var(--teal-800); margin:0 0 10px; }
.roots-lead { max-width:330px; font-size:.98rem; line-height:1.7; color:#355963; margin:0; }
.roots-hero-image { position:absolute; z-index:-2; right:0; top:0; bottom:0; width:58%; background:linear-gradient(90deg,#eaf1eb 0%,#eaf1eb11 70%),url('assets/catalogo/portadas/nina-v1.png') center / cover; opacity:.8; }
.roots-video-slot { padding:22px 0 0; }
.roots-video-slot .student-video { margin:0; }
.roots-video-slot .student-video--pending { min-height:145px; aspect-ratio:auto; padding:24px 30px; border:1px solid #d3e3df; background:#f0f6f3; color:var(--teal-950); }
.roots-video-slot .student-video--pending > div { display:grid; grid-template-columns:46px 1fr; column-gap:20px; text-align:left; align-items:center; }
.roots-video-slot .student-video-symbol { grid-column:1; grid-row:1 / 4; display:grid; place-items:center; width:46px; height:46px; border:1px solid #bca66e; border-radius:50%; color:#826929; font-size:1.7rem; }
.roots-video-slot .student-video--pending .eyebrow { margin:0 0 2px; color:var(--teal-800); font-size:.6rem; }
.roots-video-slot .student-video--pending h2 { margin:0 0 3px; color:var(--teal-950); font-size:1.35rem; }
.roots-video-slot .student-video--pending p:last-child { color:#567078; font-size:.78rem; max-width:420px; margin:0; }
.roots-source-gap { display:none; }
.roots-block { margin-top:24px; padding:34px 36px; border:1px solid #e4e8e0; border-radius:22px; background:#fffefa; }
.roots-block p { margin:0; white-space:normal; overflow-wrap:break-word; }
.roots-block p + p { margin-top:14px; }
.roots-section-title { font-size:1.75rem; line-height:1.25; color:var(--teal-950); margin:0 0 22px; text-wrap:balance; }
.roots-block--experience { border-top:3px solid #c6a460; }
.roots-block--experience .roots-section-title { font-family:"DM Sans",sans-serif; font-size:.75rem; letter-spacing:.13em; line-height:1.7; font-weight:700; max-width:350px; }
.roots-bullet { padding:13px 0; border-bottom:1px solid #e6ece6; line-height:1.8; }
.roots-block p.roots-bullet + p.roots-bullet { margin-top:0; }
.roots-bullet:last-child { border-bottom:0; padding-bottom:0; }
.roots-block--intro { background:var(--teal-950); border-color:var(--teal-950); color:#edf7f3; padding:38px; }
.roots-block--intro .roots-copy { color:#edf7f3; font-family:"DM Serif Display",Georgia,serif; font-size:1.3rem; line-height:1.7; }
.roots-block .roots-caption { color:#88703f; font-size:.7rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; padding-top:18px; border-top:1px solid #c5b27c55; margin-top:24px; }
.roots-block--intro .roots-caption { color:#e7c882; }
.roots-block--topic { position:relative; border-left:3px solid #bfa36d; }
.roots-block--topic .roots-copy { color:#506b71; white-space:pre-line; }
.roots-block--closing { background:#edf4ef; border-color:#d8e5d9; }
.roots-block--closing .roots-copy { white-space:pre-line; }
.roots-block--quote { background:transparent; border:0; padding:28px 20px; text-align:center; font-family:"DM Serif Display",Georgia,serif; font-style:italic; font-size:1.3rem; color:#7b6540; }
.roots-block--farewell { background:transparent; border:0; border-top:1px solid #d5ddcf; border-radius:0; padding:28px 18px; text-align:center; font-family:"DM Serif Display",Georgia,serif; font-size:1.45rem; color:var(--teal-950); }
.roots-block--farewell .roots-copy { white-space:pre-line; }
.student-reader-layout--roots > .student-curriculum { border:1px solid #e0e7df; box-shadow:none; border-radius:22px; }
.student-reader-layout--roots .student-lesson-actions { padding:24px 0; margin-top:12px; }
.student-reader-layout--roots .student-lesson-link.is-active { border-left:2px solid #bfa36d; }
@media (max-width:1000px) { .student-reader-layout--roots { grid-template-columns:minmax(0,1fr); } }
@media (max-width:650px) {
  .roots-hero { min-height:360px; }
  .roots-hero-copy { width:90%; padding:36px 24px; }
  .roots-hero-image { opacity:.32; width:80%; }
  .roots-hero::after { inset:12px; }
  .roots-block { padding:26px 24px; }
  .roots-section-title { font-size:1.55rem; }
  .roots-video-slot .student-video--pending { padding:20px; }
  .roots-video-slot .student-video--pending > div { column-gap:14px; }
}

/* Independent, full-length readings within module 1. */
.student-lesson--roots .roots-pdf-title { font-size:1.7rem; margin:0 0 22px; color:var(--teal-950); }
.roots-pdf-pages { display:grid; gap:22px; }
.roots-pdf-pages > .roots-video-slot { padding-top:0; }
.roots-pdf-page { display:block; overflow:hidden; margin:0; border-radius:14px; border:1px solid #e2e3d5; background:#faf7ed; box-shadow:0 4px 16px #21484d08; }
.roots-pdf-page img { display:block; width:100%; height:auto; }
.roots-pdf-page--new-cover { background:linear-gradient(100deg,#fffdf4c9,#f8f5ebbd),url('assets/module-one-layout/portadas/raices-invisibles-v2.png') center / cover; }
.roots-reading { --reading-accent:#a58b52; --reading-wash:#edf4ef; }
.roots-reading--02 { --reading-accent:#b28170; --reading-wash:#f6eeea; }
.roots-reading--03 { --reading-accent:#768f76; --reading-wash:#eef1e8; }
.roots-reading--04 { --reading-accent:#9e8ba7; --reading-wash:#f3eef5; }
.roots-reading--05 { --reading-accent:#ae9559; --reading-wash:#f6f2e6; }
.reading-header { position:relative; overflow:hidden; padding:38px 36px; border:1px solid #e1e5db; border-top:3px solid var(--reading-accent); border-radius:22px; background:var(--reading-wash); }
.reading-header::after { content:""; position:absolute; pointer-events:none; width:200px; height:200px; border:1px solid var(--reading-accent); border-radius:50%; right:-100px; top:-85px; opacity:.25; box-shadow:0 0 0 24px var(--reading-wash),0 0 0 25px var(--reading-accent); }
.reading-header .eyebrow { margin:0 0 18px; }
.student-lesson--roots .reading-header h1 { position:relative; margin:0; color:var(--teal-950); font-size:clamp(1.7rem,3vw,2.5rem); line-height:1.25; text-wrap:balance; overflow-wrap:break-word; }
.reading-paper { margin-top:24px; padding:38px 36px; border:1px solid #e2e6dd; border-radius:22px; background:#fffefa; color:var(--ink); font-size:1.04rem; line-height:1.9; }
.reading-whitespace { display:none; }
.reading-paragraph { color:var(--ink); margin:0 0 20px; overflow-wrap:break-word; }
.reading-paper > .reading-paragraph:first-of-type { padding:0 0 24px; margin-bottom:26px; border-bottom:1px solid #e2dfd1; color:var(--teal-800); font-family:"DM Serif Display",Georgia,serif; font-size:1.45rem; line-height:1.5; }
.reading-paragraph--bullet { padding:14px 18px; border-left:2px solid var(--reading-accent); background:var(--reading-wash); border-radius:0 12px 12px 0; }
.reading-paragraph--highlight { padding:20px 22px; margin:26px 0; background:var(--reading-wash); border:1px solid #e0e3d8; border-radius:14px; color:var(--teal-950); font-weight:500; }
.reading-section { margin-top:34px; padding-top:30px; border-top:1px solid #dfdfd3; }
.reading-section h2 { color:var(--teal-950); font-size:1.55rem; line-height:1.4; margin:0 0 22px; text-wrap:balance; }
.reading-section .reading-paragraph:last-child { margin-bottom:0; }
.reading-section--reflection { padding:28px; border:1px solid #d8e5d9; border-radius:18px; background:#eef5f0; }
.reading-section--reminder { padding:28px; border:1px solid #eadfbc; border-radius:18px; background:#faf6e9; }
.reading-section--reminder h2 { color:#806936; }
@media (max-width:650px) {
  .reading-header,.reading-paper { padding:28px 24px; }
  .reading-paper { font-size:1rem; line-height:1.85; }
  .reading-section--reflection,.reading-section--reminder { padding:22px 18px; }
}

/* The full module shares the cream, teal and photographic treatment of its PDF. */
.roots-reading--document { --reading-accent:#b59d67; --reading-wash:#f6f1e4; }
.reading-document-cover { display:flex; min-height:365px; flex-direction:column; align-items:center; justify-content:center; padding:38px 32px 26px; text-align:center; border:1px solid #e2dfd2; border-radius:14px; background:linear-gradient(100deg,#fffdf2ed,#fbf6e5cf),url('assets/module-one-layout/fondo-original.png') center 54% / cover; box-shadow:0 4px 16px #21484d08; }
.reading-document-cover .eyebrow { margin:0 0 30px; color:var(--teal-900); }
.student-lesson--roots .reading-document-cover h1 { margin:0; font-family:Georgia,serif; font-size:clamp(1.65rem,3vw,2.4rem); font-weight:400; line-height:1.35; color:#005a70; text-wrap:balance; overflow-wrap:break-word; }
.reading-cover-subtitle { margin:22px auto 0; max-width:540px; color:#005a70; font-family:Georgia,serif; font-size:1.15rem; line-height:1.65; }
.reading-cover-logo { display:block; width:130px; height:auto; margin:30px auto 0; }
.reading-document-cover[class*="reading-cover--"] { background-image:linear-gradient(100deg,#fffdf2c9,#fbf6e5ba),var(--reading-cover-image); background-position:center; }
.reading-cover--epigenetica { --reading-cover-image:url('assets/module-one-layout/portadas/epigenetica.png'); }
.reading-cover--nina-interior { --reading-cover-image:url('assets/module-one-layout/portadas/nina-interior.png'); }
.reading-cover--sistema-familiar { --reading-cover-image:url('assets/module-one-layout/portadas/sistema-familiar.png'); }
.reading-cover--cinco-heridas { --reading-cover-image:url('assets/module-one-layout/portadas/cinco-heridas.png'); }
.reading-cover--reflexiones { --reading-cover-image:url('assets/module-one-layout/portadas/reflexiones.png'); }
.reading-cover--module2-presentacion,.reading-theme--module2-presentacion { --reading-cover-image:url('assets/module-two-layout/portadas/presentacion.png'); }
.reading-cover--module2-creencias,.reading-theme--module2-creencias { --reading-cover-image:url('assets/module-two-layout/portadas/creencias-nina-v2.png'); }
.reading-cover--module2-lealtades,.reading-theme--module2-lealtades { --reading-cover-image:url('assets/module-two-layout/portadas/lealtades.png'); }
.reading-cover--module2-mascaras,.reading-theme--module2-mascaras { --reading-cover-image:url('assets/module-two-layout/portadas/mascaras.png'); }
.reading-cover--module2-circuito,.reading-theme--module2-circuito { --reading-cover-image:url('assets/module-two-layout/portadas/circuito.png'); }
.reading-cover--module2-reflexiones,.reading-theme--module2-reflexiones { --reading-cover-image:url('assets/module-two-layout/portadas/reflexiones.png'); }
.reading-cover--prep-indice,.reading-theme--prep-indice { --reading-cover-image:url('assets/preparativos-layout/portadas/indice.png'); }
.reading-cover--prep-bienvenida,.reading-theme--prep-bienvenida { --reading-cover-image:url('assets/preparativos-layout/portadas/bienvenida.png'); }
.reading-cover--prep-espacio,.reading-theme--prep-espacio { --reading-cover-image:url('assets/preparativos-layout/portadas/espacio.png'); }
.reading-cover--prep-compromiso,.reading-theme--prep-compromiso { --reading-cover-image:url('assets/preparativos-layout/portadas/compromiso.png'); }
.reading-document-pages { display:grid; gap:22px; margin-top:22px; }
.reading-page { padding:36px 36px 22px; border:1px solid #e2dfd2; border-radius:14px; background:linear-gradient(115deg,#fffdf5f7,#f6f1e3ee),url('assets/module-one-layout/fondo-original.png') right center / cover; box-shadow:0 4px 16px #21484d08; }
.reading-page-source { color:#005a70; font-size:1.04rem; line-height:1.95; }
.roots-reading--module2 .reading-page,.roots-reading--preparativos .reading-page,.roots-reading--finalmodules .reading-page { background-image:linear-gradient(115deg,#fffdf5f7,#f6f1e3ee),var(--reading-cover-image); }
.reading-cover-program { margin:0 0 22px; font-size:.85rem; color:#376470; }
.reading-page .reading-paragraph { color:#005a70; margin:0 0 20px; }
.reading-source-link { color:inherit; text-underline-offset:4px; overflow-wrap:anywhere; }
.roots-reading--preparativos .reading-cover-subtitle { white-space:pre-line; }
.reading-page .reading-page-heading { color:#005a70; font-family:Georgia,serif; font-size:1.5rem; font-weight:400; line-height:1.5; margin:0 0 24px; text-wrap:balance; }
.reading-page .reading-page-heading:not(:first-child) { padding-top:16px; }
.reading-page .reading-paragraph--highlight { border-color:#d8c79580; background:#fff9e6c9; color:#005a70; }
.reading-page .reading-paragraph--bullet { background:#fffdf3a8; border-left-color:#bba66b; }
.roots-pdf-pages--exercise { max-width:660px; margin:0 auto; }
@media (max-width:650px) {
  .reading-document-cover { padding:30px 22px 24px; min-height:330px; }
  .reading-page { padding:28px 23px 20px; }
  .reading-page-source { font-size:1rem; line-height:1.85; }
}

/* Module 3, 4 and 5 photographic covers. */
.reading-cover--m3-presentacion,.reading-theme--m3-presentacion { --reading-cover-image:url('assets/final-modules-layout/portadas/m3-presentacion.png'); }
.reading-cover--m3-introduccion,.reading-theme--m3-introduccion { --reading-cover-image:url('assets/final-modules-layout/portadas/m3-introduccion.png'); }
.reading-cover--m3-traumas,.reading-theme--m3-traumas { --reading-cover-image:url('assets/final-modules-layout/portadas/m3-traumas.png'); }
.reading-cover--m3-verguenza,.reading-theme--m3-verguenza { --reading-cover-image:url('assets/final-modules-layout/portadas/m3-verguenza.png'); }
.reading-cover--m3-reparentalizacion,.reading-theme--m3-reparentalizacion { --reading-cover-image:url('assets/final-modules-layout/portadas/m3-reparentalizacion.png'); }
.reading-cover--m3-conexion,.reading-theme--m3-conexion { --reading-cover-image:url('assets/final-modules-layout/portadas/m3-conexion.png'); }
.reading-cover--m3-reflexiones,.reading-theme--m3-reflexiones { --reading-cover-image:url('assets/final-modules-layout/portadas/m3-reflexiones.png'); }
.reading-cover--m4-presentacion,.reading-theme--m4-presentacion { --reading-cover-image:url('assets/final-modules-layout/portadas/m4-presentacion.png'); }
.reading-cover--m4-introduccion,.reading-theme--m4-introduccion { --reading-cover-image:url('assets/final-modules-layout/portadas/m4-introduccion.png'); }
.reading-cover--m4-yo-cuantico,.reading-theme--m4-yo-cuantico { --reading-cover-image:url('assets/final-modules-layout/portadas/m4-yo-cuantico.png'); }
.reading-cover--m4-epigenetica,.reading-theme--m4-epigenetica { --reading-cover-image:url('assets/final-modules-layout/portadas/m4-epigenetica.png'); }
.reading-cover--m4-coherencia,.reading-theme--m4-coherencia { --reading-cover-image:url('assets/final-modules-layout/portadas/m4-coherencia.png'); }
.reading-cover--m4-integracion,.reading-theme--m4-integracion { --reading-cover-image:url('assets/final-modules-layout/portadas/m4-integracion.png'); }
.reading-cover--m4-reflexiones,.reading-theme--m4-reflexiones { --reading-cover-image:url('assets/final-modules-layout/portadas/m4-reflexiones.png'); }
.reading-cover--m5-renacer,.reading-theme--m5-renacer { --reading-cover-image:url('assets/final-modules-layout/portadas/m5-renacer.png'); }
.reading-cover--m5-reflexiones,.reading-theme--m5-reflexiones { --reading-cover-image:url('assets/final-modules-layout/portadas/m5-reflexiones.png'); }
.reading-cover--m5-cierre,.reading-theme--m5-cierre { --reading-cover-image:url('assets/final-modules-layout/portadas/m5-cierre.png'); }

.formation-catalog-group + .formation-catalog-group { margin-top:48px; }
.formation-catalog-group-title { margin:0 0 24px; color:var(--teal-800); font-size:1.7rem; }

.formation-evergreen { padding:clamp(24px,4vw,40px); border:1px solid var(--line); border-radius:var(--radius-xl); background:#f0f3ec; }
.formation-evergreen .formation-catalog-group-title { margin-bottom:14px; }
.formation-evergreen > p:not(.eyebrow) { max-width:650px; color:var(--muted); line-height:1.8; }
.formation-evergreen-pending { display:flex; align-items:center; gap:14px; margin-top:24px; padding-top:20px; border-top:1px solid var(--line); color:var(--muted); }
.formation-evergreen-pending > span { font-size:1.7rem; color:var(--teal-700); }
.formation-evergreen-pending p { margin:0; }

.formation-support { display:flex; align-items:center; gap:9px; padding:12px 14px; border-radius:12px; background:#edf3ef; color:var(--teal-800); font-size:.82rem; line-height:1.6; }
.formation-support > span { flex:none; font-size:1.3rem; line-height:1; }
.formation-support--independent { display:inline-flex; background:#faf8f2; color:var(--muted); }

.image-isis { background-position:center; background-image:linear-gradient(140deg,rgba(4,63,74,.05),rgba(4,63,74,.2)),url('assets/catalogo/portadas/isis-embarazo.webp'); }

.image-menopausia { background-position:center; background-image:linear-gradient(140deg,rgba(4,63,74,.05),rgba(4,63,74,.2)),url('assets/catalogo/portadas/menopausia-v1.png'); }

.image-meditacion { background-position:center 15%; background-image:linear-gradient(140deg,rgba(4,63,74,.05),rgba(4,63,74,.2)),url('assets/catalogo/portadas/meditacion-v1.png'); }

.customer-tour-guide { margin:0 0 30px; padding:20px 24px; border:1px solid #bed3cc; border-radius:16px; background:#edf3ef; color:var(--teal-800); }
.customer-tour-guide[hidden] { display:none; }
.customer-tour-guide p { margin:0 0 14px; }
.customer-tour-guide strong,.customer-tour-guide p span { display:block; }
.customer-tour-guide p span { margin-top:6px; font-size:.8rem; line-height:1.6; }
.customer-tour-guide nav { display:flex; flex-wrap:wrap; gap:10px; }
.customer-tour-guide .is-current { background:var(--teal-800); color:white; }

.product-detail--complete .product-content { display:none; }
.product-detail--complete .product-detail-grid { grid-template-columns:1fr; }
.program-info-navigation { display:flex; flex-wrap:wrap; gap:10px; padding:20px 0 30px; border-top:1px solid var(--line); }
.program-info-original .seccion { padding:44px 0; scroll-margin-top:24px; }
.program-info-original .seccion + .seccion { border-top:1px solid var(--line); }
.program-info-original .azul { margin:20px 0; padding:36px; border-radius:24px; background:#edf3ef; }
.program-info-original h2 { margin:0 0 20px; font-size:clamp(1.8rem,3vw,2.4rem); }
.program-info-original h3 { font-size:1.3rem; }
.program-info-original p,.program-info-original li { color:var(--muted); line-height:1.85; }
.program-info-original .intro { max-width:800px; margin-bottom:28px; font-size:1.05rem; }
.program-info-original .rejilla { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.program-info-original .senales,.program-info-original .modulos,.program-info-original .dos-columnas { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.program-info-original .tarjeta,.program-info-original .paso,.program-info-original .modulo,.program-info-original .lista,.program-info-original blockquote { margin:0; padding:26px; border:1px solid var(--line); border-radius:18px; background:var(--paper); }
.program-info-original .marca,.program-info-original .numero,.program-info-original .modulo>b,.program-info-original .etiqueta { display:block; margin-bottom:14px; color:var(--teal-700); font-size:.8rem; letter-spacing:.06em; }
.program-info-original ul { padding-left:20px; }
.program-info-original .precio { margin:24px 0; color:var(--teal-800); font:2.6rem "DM Serif Display",serif; }
.program-info-original .bio { display:grid; grid-template-columns:minmax(200px,.75fr) 1.25fr; align-items:center; gap:36px; }
.program-info-original .bio img { width:100%; height:auto; border-radius:24px; }
.program-info-original blockquote { color:var(--teal-800); line-height:1.85; }
.program-info-original blockquote footer { margin-top:18px; font-size:.8rem; color:var(--muted); }
.program-info-original .program-info-pending { padding:14px 18px; border:1px solid #d9d0b8; border-radius:12px; background:#fbf6e9; color:#695c3a; font-size:.85rem; }
@media(max-width:800px) { .program-info-original .rejilla,.program-info-original .senales,.program-info-original .modulos,.program-info-original .dos-columnas,.program-info-original .bio { grid-template-columns:1fr; } .program-info-original .azul { padding:24px; } }

/* Compact presentation applies only to the recognition section. */
.program-info-original #nina-info-0 .senales { display:flex; flex-direction:column; gap:0; padding:16px 24px; border:1px solid var(--line); border-radius:18px; background:var(--paper); }
.program-info-original #nina-info-0 .senales .tarjeta { display:grid; grid-template-columns:14px minmax(0,1fr); align-items:start; gap:12px; margin:0; padding:10px 0; border:0; border-radius:0; background:transparent; }
.program-info-original #nina-info-0 .senales .marca { margin:4px 0 0; line-height:1.5; }
.program-info-original #nina-info-0 .senales p { margin:0; font-size:.95rem; line-height:1.65; }
@media(max-width:600px) { .program-info-original #nina-info-0 .senales { padding:12px 18px; } }

.program-support-numbers { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 28px; margin-bottom:30px; }
.program-support-numbers > div { padding:18px 0; border-bottom:1px solid var(--line); }
.program-support-numbers strong,.program-support-numbers span { display:block; }
.program-support-numbers strong { color:var(--teal-800); font:1.4rem "DM Serif Display",serif; }
.program-support-numbers span { margin-top:6px; color:var(--muted); font-size:.88rem; line-height:1.6; }
.program-support-sessions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-bottom:28px; }
.program-support-sessions h4 { margin:10px 0; color:var(--teal-800); font-size:1rem; }
.program-support-details { margin:20px 0 0; }
.program-support-details > div { padding:17px 0; border-top:1px solid var(--line); }
.program-support-details dt { color:var(--teal-800); font-weight:600; }
.program-support-details dd { margin:7px 0 0; color:var(--muted); line-height:1.75; }
@media(max-width:600px) { .program-support-numbers,.program-support-sessions { grid-template-columns:1fr; } }

.program-info-original .program-dynamics { margin:22px 0; padding:32px; border:1px solid var(--line); border-radius:22px; background:#f0f4ee; }
.program-dynamics-steps { margin:24px 0; padding:4px 22px; border:1px solid var(--line); border-radius:16px; background:var(--paper); }
.program-dynamics-steps > div { display:grid; grid-template-columns:14px minmax(0,1fr); gap:14px; padding:18px 0; }
.program-dynamics-steps > div + div { border-top:1px solid var(--line); }
.program-info-original .program-dynamics-steps .marca { margin:4px 0 0; }
.program-info-original .program-dynamics-steps h3 { margin:0 0 6px; font-size:1.1rem; }
.program-info-original .program-dynamics-steps p { margin:0; line-height:1.7; }
.program-dynamics-examples { font-size:.95rem; }
.program-dynamics-support { margin-bottom:0; font-size:.9rem; }
@media(max-width:600px) { .program-info-original .program-dynamics { padding:24px 18px; } .program-dynamics-steps { padding:2px 16px; } }

.activation-card label[for="activation-password"],.activation-card label[for="activation-password-confirmation"] { margin-bottom:8px; }
.password-input { position:relative; }
.activation-card .password-input input { padding-right:58px; }
.password-visibility { position:absolute; top:50%; right:5px; display:grid; place-items:center; width:44px; height:44px; padding:0; transform:translateY(-50%); border:0; border-radius:8px; background:transparent; color:var(--teal-800); cursor:pointer; }
.password-visibility:hover { background:var(--teal-50); }
.password-visibility:focus-visible { outline:2px solid var(--teal-700); outline-offset:1px; }

.saved-customer-tour { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:28px; background:#edf3ef; }
.saved-customer-tour[hidden] { display:none; }
.saved-customer-tour h2 { margin:8px 0 12px; font-size:1.45rem; }
.saved-customer-tour p { line-height:1.7; }
.saved-customer-tour small { color:var(--muted); }
.saved-customer-tour > a { flex:none; }
@media(max-width:800px) { .saved-customer-tour { flex-direction:column; align-items:flex-start; } }

.login-verification-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin:24px 0; }
.student-confirmation .login-verification-actions .button { margin:0; }

.campus-loading { position:fixed; inset:0; z-index:200000; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:20px; background:#faf7f0; color:#285d68; font:17px/1.6 system-ui,sans-serif; }
.campus-loading[hidden] { display:none; }

.formation-countdown { background:#f9e5b3; color:#654a19; max-width:calc(100% - 36px); top:auto; bottom:18px; font-size:.76rem; padding:7px 12px; box-shadow:0 2px 12px rgba(58,44,18,.08); }

/* La portada pública se muestra desde el primer dibujo, sin pantalla de espera. */
.campus-public-entry #campus-loading { display:none; }
.campus-public-entry .page[data-route="acceso"] { display:block; }

.offer-card__cover-link { display:block; width:100%; border:0; padding:0; cursor:pointer; text-align:left; color:inherit; font:inherit; }
.offer-card__cover-link:focus-visible { outline:3px solid var(--teal-700); outline-offset:-5px; }

.checkout-payment-status { margin:25px 0; padding:18px; border-radius:14px; background:#fff4cf; color:#654a19; line-height:1.6; }
#stripe-payment-button { min-height:64px; margin-top:8px; font-size:1.05rem; font-weight:700; box-shadow:0 6px 16px rgb(0 80 96 / 14%); }
.checkout-payment-help { margin:14px 0 0; font-size:.8rem; line-height:1.65; color:var(--muted); text-align:center; }
.checkout-payment-help strong { font-weight:600; }
.checkout-payment-help .checkout-access-note { display:block; margin-top:6px; color:var(--teal-800); font-size:.9rem; font-weight:700; }
.student-events { margin:24px 0; padding:24px; background:#f4f6ef; }
.student-events h2 { margin:0 0 16px; }
.student-event { padding:16px 0; border-top:1px solid var(--line); }
.student-event h3 { margin:0 0 8px; font-size:1rem; }
.student-event p,.student-events>p { font-size:.85rem; line-height:1.6; }
.student-event-note { color:var(--muted); }
.recordings-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:22px; margin:28px 0; }
.recording-card { padding:26px; background:linear-gradient(145deg,#fff,#f6f2e8); }
.recording-card h2 { margin:10px 0 20px; font-size:1.35rem; }
.recording-symbol { display:inline-flex; width:48px; height:48px; align-items:center; justify-content:center; border-radius:50%; background:#e7efea; color:var(--teal-800); font-size:1.6rem; }
.recording-pending,.recording-privacy-note { color:var(--muted); font-size:.82rem; line-height:1.65; }
.recording-manager-fields { display:grid; gap:18px; margin:20px 0; }
.recording-manager-fields label { display:grid; gap:8px; font-size:.9rem; }
.recording-manager-fields input:not([type="checkbox"]),.recording-manager-fields select { width:100%; padding:12px; border:1px solid var(--line); border-radius:10px; font:inherit; color:var(--ink); }
.recording-manager-fields .legal-check { display:flex; align-items:center; }
.recording-manager-fields small { color:var(--muted); line-height:1.6; }
.recording-programs { display:grid; gap:12px; margin-top:24px; }
.reading-theme--prep-indice .reading-index-topic { text-transform:uppercase; }
.reading-index-star { display:inline-block; margin-right:.45em; color:#b88620; font-size:.9em; font-weight:700; text-shadow:0 1px 0 #f4df9e; }
.reading-theme--prep-indice .reading-page .reading-index-module { margin:38px 0 26px; padding:22px 0 14px; border-top:1px solid #c8b783; color:#153f44; font-size:clamp(1.65rem,2.5vw,2rem); font-weight:700; line-height:1.35; }
.reading-theme--prep-indice .reading-page .reading-index-module:first-child { margin-top:0; }
.student-curriculum .student-events { padding:16px; margin-top:0; }
.checkout-bonus-information { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); color:var(--muted); font-size:.85rem; }
#stripe-payment-panel .eyebrow { margin-top:24px; }

.registration-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.registration-full { grid-column:1 / -1; }
.registration-grid small { color:var(--muted); font-weight:400; line-height:1.5; }
.registration-privacy { margin-bottom:28px; padding:20px; border-radius:14px; background:#eef4ef; }
.registration-privacy h2 { margin:0 0 10px; font-size:1.2rem; }
.registration-privacy p { font-size:.85rem; line-height:1.65; }
.registration-privacy .legal-check { display:flex; align-items:flex-start; gap:12px; margin:0; font-weight:400; line-height:1.6; }
.registration-privacy input[type="checkbox"] { flex:none; margin-top:4px; }
.registration-privacy a { color:var(--teal-800); text-decoration:underline; }
@media(max-width:560px) { .registration-grid { grid-template-columns:1fr; } }

.admin-environment-note { margin:0 0 20px; padding:12px 18px; border-radius:12px; background:#edf3ee; color:var(--teal-800); font-size:.85rem; }
.registrations-panel { margin-bottom:35px; padding:clamp(22px,3vw,32px); min-width:0; }
.registrations-panel .panel__heading { flex-wrap:wrap; gap:18px; }
.registrations-panel .panel__heading p { margin-bottom:0; max-width:650px; font-size:.85rem; color:var(--muted); }
.registrations-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:end; gap:18px; padding:24px 0; }
.registrations-filters label { display:grid; gap:8px; min-width:0; font-size:.8rem; color:var(--teal-800); }
.registrations-filters input,.registrations-filters select { width:100%; min-height:44px; padding:10px; border:1px solid var(--line); border-radius:10px; background:white; color:var(--ink); }
.registrations-table { min-width:1150px; width:100%; }
.registrations-table th[scope="row"] { color:var(--ink); font-weight:600; white-space:normal; }
.registration-state { display:inline-block; padding:5px 9px; border-radius:12px; font-size:.75rem; background:#f5efd9; }
.registration-state--paid { background:#e5f1e7; color:#285638; }
.registrations-pagination { display:flex; align-items:center; justify-content:flex-end; gap:16px; margin-top:18px; }
.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; }

.registrations-panel .table-wrap { max-width:100%; border:1px solid var(--line); border-radius:12px; }
.registrations-table th,.registrations-table td { padding:16px 18px; }
.page:is([data-route="admin"],[data-route="inscripciones"],[data-route="gestion-formaciones"]) > article.panel:not(.registrations-panel) { padding:clamp(22px,3vw,32px); }
@media(max-width:560px) { .registrations-filters { grid-template-columns:1fr; } .registrations-pagination { flex-wrap:wrap; justify-content:center; } }

/* Cada cuenta tiene su propio menú; visitantes sin navegación interna. */
.sidebar .brand { flex-direction:column; align-items:flex-start; gap:12px; padding-bottom:20px; }
.sidebar .brand span { padding-left:0; border-left:0; text-transform:uppercase; letter-spacing:.08em; font-size:.68rem; }
body[data-campus-audience="visitor"] .sidebar,body[data-campus-audience="visitor"] .mobile-header { display:none; }
body[data-campus-audience="visitor"] .main-content { margin-left:0; }

.admin-overview-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); }
.admin-income-card strong { font-size:clamp(1.6rem,3vw,2.3rem); overflow-wrap:anywhere; }
.admin-income-note { color:var(--muted); font-size:.82rem; line-height:1.65; margin:18px 0; }
.admin-overview-actions { display:flex; flex-wrap:wrap; gap:14px; margin:25px 0; }
.admin-overview-table { width:100%; min-width:900px; }
.admin-overview-table th,.admin-overview-table td { padding:16px 18px; }
@media(max-width:700px) { .admin-overview-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:420px) { .admin-overview-metrics { grid-template-columns:1fr; } }

.admin-business-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px; margin:28px 0; }
.admin-business-panel { padding:clamp(22px,3vw,32px); min-width:0; }
.admin-business-panel h2 { margin:8px 0 14px; font-size:1.55rem; }
.admin-business-panel > p:not(.eyebrow) { color:var(--muted); font-size:.83rem; line-height:1.65; }
.business-stat { margin-top:23px; padding-bottom:20px; border-bottom:1px solid var(--line); }
.business-stat:last-child { border-bottom:0; padding-bottom:0; }
.business-stat__heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.business-stat__heading > strong:last-child { white-space:nowrap; color:var(--teal-800); }
.business-stat__heading strong { font-size:.88rem; line-height:1.55; }
.business-stat small { display:block; margin-top:5px; font-size:.76rem; color:var(--muted); }
.business-stat__bar { height:8px; margin-top:12px; background:#edf0ec; border-radius:20px; overflow:hidden; }
.business-stat__bar span { display:block; height:100%; background:#42747b; border-radius:inherit; }
.business-stat--1 .business-stat__bar span { background:#c7a45c; }
.business-stat--2 .business-stat__bar span { background:#b58b87; }
.admin-people-total { display:flex; gap:16px; align-items:center; margin:18px 0 12px; padding:18px; border-radius:15px; background:#edf3ee; }
.admin-people-total strong { font-family:"DM Serif Display",serif; font-size:2.6rem; color:var(--teal-800); }
.admin-people-total span { max-width:180px; font-size:.85rem; color:var(--teal-800); }
@media(max-width:1000px) { .admin-business-grid { grid-template-columns:1fr; } }

.admin-design-warning { position:sticky; top:70px; z-index:15; display:grid; gap:5px; margin-bottom:28px; padding:18px 22px; border:1px solid #debd77; border-radius:15px; background:#fff2d1; color:#684d16; box-shadow:0 4px 18px rgba(82,62,17,.07); }
.admin-design-warning span { font-size:.83rem; line-height:1.6; }
.admin-design-demo .admin-grid { margin-top:30px; }
.admin-design-demo .metrics { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:1100px) { .admin-design-demo .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:460px) { .admin-design-demo .metrics { grid-template-columns:1fr; } }

.admin-overview-metrics article { border-top:3px solid #d7e4df; }
.admin-overview-metrics .admin-income-card { border-top-color:#c6a366; background:linear-gradient(140deg,#fffdf7,#f5f0e3); }
.admin-live-dashboard { margin-top:28px; align-items:start; }
.admin-live-dashboard > .panel { min-width:0; }
.admin-live-dashboard h2 { font-size:1.55rem; }
#admin-live-chart-note { font-size:.83rem; color:var(--muted); line-height:1.65; }
.live-chart-scroll { max-width:100%; overflow-x:auto; padding:8px 0 14px; }
.live-income-chart { display:flex; gap:12px; min-width:560px; padding:0 2px; }
.live-income-column { flex:1; min-width:54px; text-align:center; }
.live-income-column > strong { display:block; min-height:30px; font-size:.68rem; font-weight:700; color:var(--teal-800); overflow-wrap:anywhere; }
.live-income-column__area { display:flex; align-items:flex-end; height:220px; border-bottom:1px solid var(--line); background:repeating-linear-gradient(to top,transparent 0,transparent 54px,#edf2f1 55px); }
.live-income-column__area > span { display:block; width:100%; border-radius:5px 5px 0 0; background:linear-gradient(to top,var(--teal-900),#62aab0); }
.live-income-column__label { display:block; margin-top:12px; font-size:.62rem; line-height:1.45; color:var(--muted); overflow-wrap:anywhere; }
.live-chart-currency + .live-chart-currency { margin-top:28px; }
.admin-school-enrollments { margin-bottom:28px; }
#admin-enrollments-by-course { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:32px; }
@media(max-width:650px) { #admin-enrollments-by-course { grid-template-columns:1fr; } }

.professional-thread__cover { display:block; width:52px; height:52px; border-radius:10px; background-size:cover; background-position:center; background-repeat:no-repeat; }
.professional-thread__content { display:grid; gap:6px; min-width:0; line-height:1.5; }
.professional-thread__content strong { font-size:.87rem; overflow-wrap:break-word; }
.professional-thread__content > span { font-size:.8rem; }

.circle-course-title { margin:10px 0 18px; color:var(--teal-800); font-size:1.1rem; line-height:1.5; }
.circle-course-title strong { font-weight:700; }

.registration-test-note { padding:16px 18px; border-radius:12px; background:#fff4cf; color:#654a19; line-height:1.65; font-size:.85rem; }
#registration-save-status { padding:14px 0; font-size:.87rem; line-height:1.65; color:var(--teal-800); }
#registration-save-status:empty { padding:0; margin:0; }
.registration-test-badge { display:block; margin-top:6px; font-size:.72rem; color:var(--muted); font-weight:400; }
