/**
 * Token bridge for the Psychoeducation world stylesheet.
 *
 * The `:root` variables below repoint the world's structural tokens to assets/css/tokens.css.
 * Every per-element rule in this file already uses `var(--pe-*)` — nothing per-element is
 * changed. The world's identity palette (teal, coral, amber, blue) is intentionally kept as
 * authored: those colours define this world's clinical-but-warm character and must not be
 * remapped to unrelated platform semantic tokens.
 *
 * Design system §0.1, §2: tokens.css is authoritative for surfaces/lines/shadows/radii/width;
 * world colour is a secondary identifier and stays per-world.
 *
 * Config single-source: --pe-accent and --pe-teal are overridden at runtime by
 * lvone_pe_premium_styles() in psychoeducation/premium-ui.php, reading from
 * config header.accent.psychoeducation so the CSS and the config cannot drift.
 */
:root {
  /* ── Structural: bridged to platform tokens ──────────────────────────── */
  --pe-bg:         var(--lv-bg);
  --pe-surface:    var(--lv-surface);
  --pe-surface-2:  var(--lv-surface-2);
  --pe-text:       var(--lv-ink);
  --pe-muted:      var(--lv-ink-soft);
  --pe-soft:       var(--lv-ink-mute);
  --pe-line:       var(--lv-border);
  --pe-shadow:     var(--lv-sh-md);
  --pe-shadow-sm:  var(--lv-sh-sm);
  --pe-r-sm:       var(--lv-r-sm);
  --pe-r:          var(--lv-r-md);
  --pe-r-lg:       var(--lv-r-lg);
  --pe-max:        var(--lv-maxw);

  /* ── World identity: kept as authored ───────────────────────────────────
   * These values are also written as CSS custom properties by lvone_pe_premium_styles()
   * via <?= $peAccent ?> interpolation, which reads from config at request time.
   * The values here are the authored fallbacks — they agree with config. */
  --pe-accent:      #075e68;
  --pe-accent-2:    #064852;
  --pe-accent-soft: #e3f2f1;
  --pe-teal:        #087b72;
  --pe-teal-soft:   #e4f5f1;

  /* Semantic role colours: named after the role, not a colour hue.
   * --pe-danger and --pe-amber-soft use platform semantic tokens because access-state
   * colours must look the same in every world (design system §2). */
  --pe-coral:       #c54e3f;   /* warm warning / emotional tone; distinct from --lv-danger */
  --pe-coral-soft:  #fbeae7;
  --pe-amber:       #916000;
  --pe-amber-soft:  var(--lv-access-credits-bg);   /* credit disclosure uses access token */
  --pe-blue:        #245b9e;
  --pe-blue-soft:   #e8f0fa;
  --pe-danger:      var(--lv-danger);
  --pe-danger-soft: var(--lv-danger-bg);
}

body { background: var(--pe-bg) !important; color: var(--pe-text) !important; }
.pe-main.pe-premium {
  /* NOTE: this file is linked AFTER the inline <style> emitted by lvone_pe_premium_styles(), so
     its rules win for equal specificity. Layout corrections must be made HERE — editing only the
     inline block silently does nothing. */
  box-sizing: border-box;
  max-width: min(var(--pe-max), 100%);
  margin: 0 auto;
  padding: 22px 32px 88px;
  background: transparent;
  color: var(--pe-text);
  font-family: var(--lv-font-body), "Noto Sans Devanagari", "Segoe UI", Arial, sans-serif;
}
/* `.pe-premium *` matches DESCENDANTS only, so the root itself kept the default content-box and
   added its horizontal padding on top of its width. */
.pe-premium, .pe-premium *, .pe-premium *::before, .pe-premium *::after { box-sizing: border-box; }
/* minmax(0,1fr) rather than an implicit `auto` track. An auto track has a min-content floor, so a
   single wide descendant inflates the track past its container and every sibling inherits that
   width (design system §6: no page-level horizontal overflow at 320px, ever). */
.pe-premium .pe-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.pe-premium h1:not(.lv-wpass-title),
.pe-premium h2:not(.lv-wpass-title),
.pe-premium h3,
.pe-premium h4 { color: var(--pe-text); letter-spacing: 0; text-wrap: balance; }
.pe-premium .lv-wpass-card h2,
.pe-premium .lv-wpass-title { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
.pe-premium p { color: var(--pe-muted); }

/* Product navigation */
.pe-premium .pe-topnav {
  position: sticky;
  top: 10px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 56px;
  margin: 0 0 20px;
  padding: 5px 8px;
  overflow-x: auto;
  background: rgba(255, 255, 255, .97);
  border: 1px solid var(--pe-line);
  border-radius: var(--pe-r);
  box-shadow: var(--pe-shadow-sm);
  scrollbar-width: none;
}
.pe-premium .pe-topnav::-webkit-scrollbar { display: none; }
.pe-premium .pe-topnav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--pe-muted);
  font-size: .88rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
}
.pe-premium .pe-topnav a:hover { color: var(--pe-text); background: #f0f4f3; }
.pe-premium .pe-topnav a.is-active { color: var(--pe-accent-2); background: var(--pe-accent-soft); }
.pe-premium .pe-topnav a.is-active::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  background: var(--pe-teal);
}
.pe-premium .pe-topnav .pe-nav-spacer { flex: 1; min-width: 12px; }
.pe-premium .pe-topnav .pe-nav-safety { color: var(--pe-danger); }
.pe-premium .pe-mobile-nav { display: none; }

/* Type and actions */
.pe-premium .pe-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  color: var(--pe-accent-2);
  background: var(--pe-accent-soft);
  border-radius: 4px;
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}
.pe-premium .pe-kicker.teal { color: #04655f; background: var(--pe-teal-soft); }
.pe-premium .pe-kicker.amber { color: #7a5000; background: var(--pe-amber-soft); }
.pe-premium .pe-kicker-danger { color: var(--pe-danger); background: var(--pe-danger-soft); }
.pe-premium .pe-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pe-premium .pe-btn {
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 5px;
  font: inherit;
  font-size: .91rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.pe-premium .pe-btn:hover { transform: translateY(-1px); }
.pe-premium .pe-btn-primary { color: #fff !important; background: var(--pe-accent); box-shadow: 0 8px 20px rgba(7, 94, 104, .2); }
.pe-premium .pe-btn-primary:hover { background: var(--pe-accent-2); }
.pe-premium .pe-btn-secondary,
.pe-premium .pe-btn-quiet { color: var(--pe-text) !important; background: #fff; border-color: #becbcd; }
.pe-premium .pe-btn-secondary:hover { border-color: var(--pe-accent); color: var(--pe-accent-2) !important; }
.pe-premium .pe-btn-danger { color: var(--pe-danger) !important; background: var(--pe-danger-soft); border-color: #f2c5bf; }
.pe-premium .pe-btn-sm { min-height: 40px; padding: 8px 13px; font-size: .84rem; }
.pe-premium .pe-btn:focus-visible,
.pe-premium a:focus-visible,
.pe-premium input:focus-visible,
.pe-premium textarea:focus-visible,
.pe-premium select:focus-visible,
.pe-premium button:focus-visible { outline: 3px solid rgba(7, 123, 114, .25); outline-offset: 3px; }

/* Homepage */
.pe-premium .pe-hero {
  position: relative;
  overflow: hidden;
  padding: 48px;
  background: #fff;
  border: 1px solid var(--pe-line);
  border-radius: var(--pe-r-lg);
}
.pe-premium .pe-home-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background-color: #0d3144;
  background-image: url("./kriyasya-learning-hero.png");
  background-position: center;
  background-size: cover;
  border: 0;
}
.pe-premium .pe-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 31, 46, .55);
}
.pe-premium .pe-home-hero .pe-hero-copy { width: min(620px, 58%); }
.pe-premium .pe-home-hero .pe-kicker { color: #dff8f4; background: rgba(7, 55, 68, .82); border: 1px solid rgba(217, 249, 244, .28); }
.pe-premium .pe-home-hero h1 {
  max-width: 650px;
  margin: 16px 0;
  color: #fff;
  font-size: 3.55rem;
  line-height: 1.02;
  font-weight: 830;
}
.pe-premium .pe-home-hero p { max-width: 600px; margin: 0; color: #edf6f6; font-size: 1.08rem; line-height: 1.7; }
.pe-premium .pe-home-hero .pe-btn-secondary { color: #fff !important; background: rgba(9, 34, 47, .74); border-color: rgba(255, 255, 255, .55); }
.pe-premium .pe-hero-proof { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; color: #e6f1f1; font-size: .8rem; font-weight: 720; }
.pe-premium .pe-hero-proof span { padding: 0 14px; border-left: 1px solid rgba(255, 255, 255, .38); }
.pe-premium .pe-hero-proof span:first-child { padding-left: 0; border-left: 0; }

.pe-premium .pe-section { margin-top: 56px; }
.pe-premium .pe-section-head { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 22px; }
.pe-premium .pe-section-head h2 { margin: 0; max-width: 760px; font-size: 2rem; line-height: 1.15; }
.pe-premium .pe-section-head p { max-width: 700px; margin: 7px 0 0; font-size: .97rem; line-height: 1.62; }
.pe-premium .pe-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.pe-premium .pe-col-12 { grid-column: span 12; }
.pe-premium .pe-col-8 { grid-column: span 8; }
.pe-premium .pe-col-7 { grid-column: span 7; }
.pe-premium .pe-col-6 { grid-column: span 6; }
.pe-premium .pe-col-5 { grid-column: span 5; }
.pe-premium .pe-col-4 { grid-column: span 4; }
.pe-premium .pe-col-3 { grid-column: span 3; }

.pe-premium .pe-card {
  min-width: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--pe-surface);
  border: 1px solid var(--pe-line);
  border-radius: var(--pe-r);
  box-shadow: 0 2px 8px rgba(17, 42, 55, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pe-premium .pe-card::before { display: none !important; }
.pe-premium .pe-card:hover { background: #fff; }
.pe-premium .pe-card-link { text-decoration: none; }
.pe-premium .pe-card-link:hover { transform: translateY(-3px); border-color: #9eb3b6; box-shadow: var(--pe-shadow); }
.pe-premium .pe-card h2,
.pe-premium .pe-card h3 { margin: 11px 0 8px; line-height: 1.28; white-space: normal; overflow: visible; letter-spacing: 0; }
.pe-premium .pe-card h3 { font-size: 1.13rem; }
.pe-premium .pe-card p { margin: 0; font-size: .92rem; line-height: 1.58; }

.pe-premium .pe-intent { position: relative; min-height: 230px; padding: 28px 26px; border-top: 5px solid var(--pe-blue); }
.pe-premium .pe-intent.pe-col-3 { grid-column: span 6; }
.pe-premium .pe-intent:nth-child(2) { border-top-color: var(--pe-teal); }
.pe-premium .pe-intent:nth-child(3) { border-top-color: var(--pe-coral); }
.pe-premium .pe-intent:nth-child(4) { border-top-color: #c28b13; }
.pe-premium .pe-intent .pe-step {
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  color: var(--pe-blue);
  background: var(--pe-blue-soft);
  border-radius: 6px;
  font-weight: 900;
  font-size: .84rem;
}
.pe-premium .pe-intent:nth-child(2) .pe-step { color: var(--pe-teal); background: var(--pe-teal-soft); }
.pe-premium .pe-intent:nth-child(3) .pe-step { color: var(--pe-coral); background: var(--pe-coral-soft); }
.pe-premium .pe-intent:nth-child(4) .pe-step { color: #8a5d00; background: var(--pe-amber-soft); }
.pe-premium .pe-intent h3 { max-width: 390px; font-size: 1.35rem; }
.pe-premium .pe-intent::after { content: "Open"; position: absolute; right: 24px; bottom: 22px; color: var(--pe-accent); font-size: .78rem; font-weight: 850; }

.pe-premium .pe-topic-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pe-premium .pe-topic-list a {
  min-height: 46px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--pe-text);
  background: #fff;
  border: 1px solid var(--pe-line);
  border-radius: 4px;
  font-size: .86rem;
  font-weight: 720;
  text-decoration: none;
}
.pe-premium .pe-topic-list a::after { content: "\2192"; color: var(--pe-teal); }
.pe-premium .pe-topic-list a:hover { color: var(--pe-accent-2); background: var(--pe-accent-soft); border-color: #a8cbc8; }
.pe-premium .pe-role-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--pe-line); border-radius: var(--pe-r); background: var(--pe-line); }
.pe-premium .pe-role { min-height: 130px; padding: 22px; background: #fff; border: 0; border-radius: 0; text-decoration: none; }
.pe-premium .pe-role::before { content: ""; display: block; width: 34px; height: 4px; margin-bottom: 18px; background: var(--pe-blue); }
.pe-premium .pe-role:nth-child(2)::before { background: var(--pe-coral); }
.pe-premium .pe-role:nth-child(3)::before { background: var(--pe-teal); }
.pe-premium .pe-role strong { display: block; margin-bottom: 7px; color: var(--pe-text); font-size: .98rem; }
.pe-premium .pe-role span { color: var(--pe-muted); font-size: .84rem; line-height: 1.5; }

/* Shared page surfaces */
.pe-premium .pe-page-head { padding: 50px 8px 42px; border-bottom: 1px solid var(--pe-line); }
.pe-premium .pe-page-head h1 { max-width: 950px; margin: 15px 0 14px; font-size: 3.2rem; line-height: 1.06; }
.pe-premium .pe-page-head > p { max-width: 780px; margin: 0; font-size: 1.05rem; line-height: 1.7; }
.pe-premium .pe-panel { padding: 30px; background: #fff; border: 1px solid var(--pe-line); border-radius: var(--pe-r); }
.pe-premium .pe-notice { display: flex; gap: 13px; align-items: flex-start; padding: 17px 19px; background: #fff; border: 1px solid var(--pe-line); border-left: 4px solid var(--pe-blue); border-radius: var(--pe-r); }
.pe-premium .pe-notice strong { display: block; margin-bottom: 4px; color: var(--pe-text); }
.pe-premium .pe-notice p { margin: 0; font-size: .88rem; line-height: 1.58; }
.pe-premium .pe-notice.info { background: var(--pe-blue-soft); border-color: #c9d9ec; border-left-color: var(--pe-blue); }
.pe-premium .pe-notice.success { background: var(--pe-teal-soft); border-color: #bde4dc; border-left-color: var(--pe-teal); }
.pe-premium .pe-notice.safety { background: var(--pe-danger-soft); border-color: #f1c6c1; border-left-color: var(--pe-danger); }
.pe-premium .pe-notice.safety strong { color: var(--pe-danger); }
.pe-premium .pe-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; color: var(--pe-soft); font-size: .79rem; font-weight: 680; }
.pe-premium .pe-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; color: var(--pe-muted); background: #f7f9f8; border: 1px solid var(--pe-line); border-radius: 4px; font-size: .75rem; font-weight: 780; }
.pe-premium .pe-chip.free { color: #03665e; background: var(--pe-teal-soft); border-color: #bde4dc; }
.pe-premium .pe-chip.credit { color: #765000; background: var(--pe-amber-soft); border-color: #ecd595; }
.pe-premium .pe-chip.alert { color: var(--pe-danger); background: var(--pe-danger-soft); border-color: #f1c6c1; }
.pe-premium .pe-progress { height: 7px; overflow: hidden; background: #dfe7e6; border-radius: 4px; }
.pe-premium .pe-progress > span { display: block; height: 100%; background: var(--pe-teal); border-radius: 4px; }
.pe-premium .pe-empty { padding: 52px 28px; text-align: center; background: #fff; border: 1px dashed #afbec0; border-radius: var(--pe-r); }
.pe-premium .pe-empty h2,
.pe-premium .pe-empty h3 { margin: 0 0 9px; }
.pe-premium .pe-empty p { max-width: 560px; margin: 0 auto 20px; line-height: 1.58; }
.pe-premium .pe-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--pe-soft); font-size: .81rem; font-weight: 670; }
.pe-premium .pe-breadcrumbs a { color: var(--pe-muted); text-decoration: none; }
.pe-premium .pe-breadcrumbs a:hover { color: var(--pe-accent); }

/* Tools and paths */
.pe-premium .pe-tool-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr); gap: 44px; align-items: center; padding: 48px; background: #103444; border: 0; border-radius: var(--pe-r-lg); }
.pe-premium .pe-tool-intro h1 { margin: 16px 0; color: #fff; font-size: 3.45rem; line-height: 1.03; }
.pe-premium .pe-tool-intro > p { max-width: 680px; margin: 0; color: #dce8ea; font-size: 1.04rem; line-height: 1.7; }
.pe-premium .pe-tool-intro .pe-meta { color: #c7dadd; }
.pe-premium .pe-tool-intro .pe-meta span { padding-right: 14px; border-right: 1px solid #58737d; }
.pe-premium .pe-tool-intro .pe-meta span:last-child { border-right: 0; }
.pe-premium .pe-tool-visual { padding: 20px; background: #c9dadb; border: 1px solid #9eb7b9; border-radius: 6px; }
.pe-premium .pe-preview-window { min-height: 330px; padding: 22px; background: #fff; border: 1px solid #aec0c2; border-radius: 6px; box-shadow: 0 22px 45px rgba(4, 28, 39, .25); }
.pe-premium .pe-preview-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--pe-line); }
.pe-premium .pe-preview-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #b4c2c4; }
.pe-premium .pe-preview-bar strong { margin-left: 7px; color: var(--pe-muted); font-size: .77rem; }
.pe-premium .pe-preview-window small { color: var(--pe-teal); font-weight: 820; }
.pe-premium .pe-preview-window h2 { margin: 11px 0 18px; font-size: 1.22rem; line-height: 1.35; }
.pe-premium .pe-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.pe-premium .pe-choice { min-height: 55px; padding: 13px; display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--pe-line); border-radius: 5px; cursor: pointer; }
.pe-premium .pe-choice:hover { background: var(--pe-accent-soft); border-color: #9fc6c3; }
.pe-premium .pe-choice span { color: var(--pe-text); font-size: .87rem; font-weight: 710; line-height: 1.38; }
.pe-premium .pe-preview-button { width: 100px; margin: 16px 0 0 auto; padding: 10px 14px; color: #fff; background: var(--pe-accent); border-radius: 4px; text-align: center; font-size: .79rem; font-weight: 800; }
.pe-premium .pe-tool-feature { border-top: 5px solid var(--pe-teal); }
.pe-premium .pe-tool-feature:nth-child(2) { border-top-color: var(--pe-blue); }
.pe-premium .pe-tool-feature:nth-child(3) { border-top-color: var(--pe-coral); }
.pe-premium .pe-tool-index-row { display: grid; grid-template-columns: minmax(0, 1fr) 155px 42px; gap: 18px; align-items: center; padding: 18px 3px; color: inherit; border-top: 1px solid var(--pe-line); text-decoration: none; }
.pe-premium .pe-tool-index-row h3 { margin: 0; font-size: 1rem; }
.pe-premium .pe-tool-index-row p { margin: 4px 0 0; font-size: .86rem; line-height: 1.45; }
.pe-premium .pe-tool-index-row:hover h3 { color: var(--pe-accent); }
.pe-premium .pe-tool-index-row .pe-index-access { text-align: right; }
.pe-premium .pe-tool-index-row .pe-index-arrow { width: 38px; height: 38px; display: grid; place-items: center; color: var(--pe-accent); background: #f5f8f7; border: 1px solid var(--pe-line); border-radius: 4px; font-weight: 900; }
.pe-premium .pe-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 56px; padding: 30px; background: #0f3d43; border: 0; border-radius: var(--pe-r); }
.pe-premium .pe-cta-band h2 { margin: 10px 0 6px; color: #fff; }
.pe-premium .pe-cta-band p { margin: 0; color: #d7e6e6; }
.pe-premium .pe-cta-band .pe-btn-secondary { background: transparent; border-color: #8ba4a6; color: #fff !important; }

.pe-pathways-page .pe-premium .pe-hero { padding: 54px; background: #eef4f2; border-left: 7px solid var(--pe-teal); }
.pe-pathways-page .pe-premium .pe-hero h1 { max-width: 820px; margin: 16px 0 14px; font-size: 3.2rem; line-height: 1.06; }
.pe-pathways-page .pe-premium .pe-hero p { max-width: 760px; margin: 0; font-size: 1.05rem; line-height: 1.68; }
.pe-pathways-page .pe-premium .pe-section .pe-card { position: relative; overflow: hidden; }
.pe-pathways-page .pe-premium .pe-section .pe-card::after { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 5px; background: var(--pe-blue); }
.pe-pathways-page .pe-premium .pe-section .pe-card:nth-child(2)::after { background: var(--pe-teal); }
.pe-pathways-page .pe-premium .pe-section .pe-card:nth-child(3)::after { background: var(--pe-coral); }
.pe-pathways-page .pe-premium .pe-section .pe-card:nth-child(4)::after { background: #b78614; }

/* Learning, forms and reading */
.pe-premium .pe-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: var(--pe-line); border: 1px solid var(--pe-line); border-radius: var(--pe-r); }
.pe-premium .pe-stat { padding: 20px; background: #fff; border: 0; border-radius: 0; }
.pe-premium .pe-stat strong { display: block; color: var(--pe-text); font-size: 1.65rem; }
.pe-premium .pe-stat span { color: var(--pe-muted); font-size: .77rem; font-weight: 720; }
.pe-premium .pe-access-gate { max-width: 760px; margin: 34px auto 0; padding: 58px 36px; text-align: center; background: #fff; border: 1px solid var(--pe-line); border-top: 6px solid var(--pe-teal); border-radius: var(--pe-r); box-shadow: var(--pe-shadow-sm); }
.pe-premium .pe-access-gate h2 { margin: 15px 0 9px; font-size: 2.15rem; }
.pe-premium .pe-access-gate > p { max-width: 590px; margin: 0 auto; line-height: 1.62; }
.pe-premium .pe-access-gate .pe-actions { justify-content: center; }
.pe-premium .pe-gate-icon { width: 50px; height: 50px; margin: 0 auto 18px; display: grid; place-items: center; color: var(--pe-teal); background: var(--pe-teal-soft); border: 1px solid #bde4dc; border-radius: 50%; font-weight: 900; }
.pe-premium .pe-form label { display: block; margin-bottom: 8px; color: var(--pe-text); font-size: .9rem; font-weight: 800; }
.pe-premium .pe-form input[type=text],
.pe-premium .pe-form input[type=search],
.pe-premium .pe-form textarea,
.pe-premium .pe-form select { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--pe-text); background: #fff; border: 1px solid #bdc9ca; border-radius: 5px; font: inherit; }
.pe-premium .pe-form textarea { min-height: 132px; resize: vertical; }
.pe-premium .pe-toolbar { display: flex; align-items: end; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--pe-line); border-radius: var(--pe-r); }
.pe-premium .pe-toolbar > label { min-width: max-content; }
.pe-premium .pe-toolbar input { flex: 1; }
.pe-premium .pe-toolbar select { max-width: 190px; }
.pe-premium .pe-finder { display: grid; gap: 28px; padding: 30px; background: #fff; border: 1px solid var(--pe-line); border-radius: var(--pe-r); }
.pe-premium .pe-field { display: grid; gap: 8px; padding: 0 0 22px; border-bottom: 1px solid var(--pe-line); }
.pe-premium .pe-field fieldset,
.pe-premium .pe-finder fieldset { padding: 0; margin: 0; border: 0; }
.pe-premium .pe-field legend,
.pe-premium .pe-finder legend { margin-bottom: 12px; color: var(--pe-text); font-weight: 800; }
.pe-premium .pe-finder legend > span { width: 29px; height: 29px; margin-right: 8px; display: inline-grid; place-items: center; color: #fff; background: var(--pe-accent); border-radius: 4px; }
.pe-premium .pe-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 24px; align-items: start; }
.pe-premium .pe-toc { position: sticky; top: 82px; padding: 17px; background: #fff; border: 1px solid var(--pe-line); border-radius: var(--pe-r); }
.pe-premium .pe-toc a { display: block; padding: 9px 10px; color: var(--pe-muted); border-radius: 4px; font-size: .85rem; font-weight: 690; text-decoration: none; }
.pe-premium .pe-toc a:hover { color: var(--pe-accent); background: var(--pe-accent-soft); }
.pe-premium .pe-reading section { padding: 28px; margin-bottom: 16px; background: #fff; border: 1px solid var(--pe-line); border-radius: var(--pe-r); }
.pe-premium .pe-reading section h2,
.pe-premium .pe-reading section h3 { margin-top: 0; }
.pe-premium .pe-reading section p,
.pe-premium .pe-reading section li { color: var(--pe-muted); line-height: 1.75; }
.pe-premium .pe-player-wrap { padding: 14px; overflow: hidden; background: #0d2633; border-radius: var(--pe-r); box-shadow: 0 22px 48px rgba(8, 29, 41, .2); }
.pe-premium .pe-tool-video { position: relative; max-width: 900px; overflow: hidden; aspect-ratio: 16/9; background: #0d2633; border-radius: var(--pe-r); }
.pe-premium .pe-tool-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pe-premium .pe-video-pending { min-height: 250px; padding: 34px; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 20px; align-items: center; color: #fff; background: #0d3144; border-radius: var(--pe-r); }
.pe-premium .pe-video-pending strong { font-size: 1.18rem; }
.pe-premium .pe-video-pending p { max-width: 650px; margin: 7px 0 0; color: #cbdde1; line-height: 1.58; }
.pe-premium .pe-video-mark { width: 54px; height: 54px; display: grid; place-items: center; color: #d6e9eb; border: 1px solid #66828c; border-radius: 50%; }
.pe-premium .pe-video-pending .pe-chip { color: #fff; background: #214c5b; border-color: #52727e; }
.pe-premium .pe-path-step { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 15px; align-items: center; padding: 17px; background: #fff; border: 1px solid var(--pe-line); border-radius: var(--pe-r); }
.pe-premium .pe-stepnum { width: 40px; height: 40px; display: grid; place-items: center; color: var(--pe-muted); background: var(--pe-surface-2); border-radius: 5px; font-weight: 900; }
.pe-premium .pe-path-step.is-current { border-color: #81bbb5; box-shadow: 0 0 0 3px rgba(8, 123, 114, .08); }
.pe-premium .pe-path-step.is-done { background: #f2faf8; border-color: #bde4dc; }
.pe-premium .is-current .pe-stepnum { color: #fff; background: var(--pe-accent); }
.pe-premium .is-done .pe-stepnum { color: #fff; background: var(--pe-teal); }
.pe-premium .pe-step-list,
.pe-premium .pe-tool-fields,
.pe-premium .pe-assignment-items { display: grid; gap: 10px; }
.pe-premium .pe-assignment-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 0; border-top: 1px solid var(--pe-line); }
.pe-premium .pe-assignment-row strong { display: block; margin-top: 7px; }
.pe-premium .pe-info-grid,
.pe-premium .pe-path-facts,
.pe-premium .pe-value-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: var(--pe-line); border: 1px solid var(--pe-line); border-radius: var(--pe-r); }
.pe-premium .pe-info-grid > div,
.pe-premium .pe-path-facts > div,
.pe-premium .pe-value-strip > div { padding: 19px; background: #fff; }
.pe-premium .pe-info-grid strong,
.pe-premium .pe-path-facts strong,
.pe-premium .pe-value-strip strong { display: block; margin-bottom: 6px; }
.pe-premium .pe-info-grid p,
.pe-premium .pe-path-facts span,
.pe-premium .pe-value-strip span { display: block; margin: 0; color: var(--pe-muted); font-size: .88rem; line-height: 1.5; }
.pe-premium .pe-path-facts { margin: 20px 0; }
.pe-premium .pe-topic-start { padding: 30px; background: var(--pe-teal-soft); border-left: 6px solid var(--pe-teal); }
.pe-premium .pe-topic-start h2 { margin: 12px 0 8px; }
.pe-premium .pe-split-band { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; padding: 34px 0; border-top: 1px solid var(--pe-line); border-bottom: 1px solid var(--pe-line); }
.pe-premium .pe-inline-form { display: flex; gap: 10px; }
.pe-premium .pe-inline-form input { flex: 1; }
.pe-premium .pe-consent-box { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; padding: 19px; margin-top: 18px; background: var(--pe-surface-2); border-radius: var(--pe-r); }
.pe-premium .pe-table-wrap { overflow: auto; background: #fff; border: 1px solid var(--pe-line); border-radius: var(--pe-r); }
.pe-premium table { width: 100%; min-width: 680px; border-collapse: collapse; }
.pe-premium th,
.pe-premium td { padding: 13px 15px; color: var(--pe-muted); border-bottom: 1px solid var(--pe-line); font-size: .86rem; text-align: left; }
.pe-premium th { color: var(--pe-text); background: #f5f8f7; font-size: .76rem; text-transform: uppercase; letter-spacing: 0; }
.pe-premium tr:last-child td { border-bottom: 0; }
.pe-premium .pe-credit-disclosure { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px; color: #775000; background: var(--pe-amber-soft); border: 1px solid #ecd595; border-radius: var(--pe-r); font-size: .86rem; }
.pe-premium .pe-practice-shell { max-width: 920px; margin: 0 auto; }
.pe-premium .pe-practice-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--pe-line); }
.pe-premium .pe-practice-head h1 { margin: 12px 0 7px; font-size: 2.65rem; }
.pe-premium .pe-practice-head p { margin: 0; }
.pe-premium .pe-practice-price { min-width: 180px; text-align: right; }
.pe-premium .pe-wizard { overflow: hidden; background: #fff; border: 1px solid var(--pe-line); border-radius: var(--pe-r); box-shadow: var(--pe-shadow-sm); }
.pe-premium .pe-wizard-status { padding: 18px 24px; background: #f5f8f7; border-bottom: 1px solid var(--pe-line); }
.pe-premium .pe-wizard-status > div:first-child { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 10px; }
.pe-premium .pe-wizard-step { padding: 44px; }
.pe-premium .pe-wizard-step > h2 { margin: 10px 0 8px; font-size: 2rem; }
.pe-premium .pe-wizard-step > p { margin: 0 0 24px; }
.pe-premium .pe-question-number { color: var(--pe-teal); font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.pe-premium .pe-wizard-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; }
.pe-premium .pe-review-cost { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; margin-bottom: 18px; border: 1px solid var(--pe-line); border-radius: var(--pe-r); }
.pe-premium .pe-review-cost > div { padding: 17px; }
.pe-premium .pe-review-cost > div + div { border-left: 1px solid var(--pe-line); }

@media (max-width: 980px) {
  .pe-main.pe-premium { padding-right: 22px; padding-left: 22px; }
  .pe-premium .pe-home-hero { min-height: 500px; background-position: 62% center; }
  .pe-premium .pe-home-hero .pe-hero-copy { width: 67%; }
  .pe-premium .pe-home-hero h1 { font-size: 3rem; }
  .pe-premium .pe-tool-hero { grid-template-columns: 1fr; gap: 30px; }
  .pe-premium .pe-tool-intro h1 { font-size: 3rem; }
  .pe-premium .pe-col-8,
  .pe-premium .pe-col-7,
  .pe-premium .pe-col-6,
  .pe-premium .pe-col-5,
  .pe-premium .pe-col-4,
  .pe-premium .pe-col-3 { grid-column: span 12; }
  .pe-premium .pe-intent.pe-col-3 { grid-column: span 6; }
  .pe-premium .pe-topic-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pe-premium .pe-role-strip { grid-template-columns: 1fr; }
  .pe-premium .pe-role { min-height: auto; }
  .pe-premium .pe-content-layout { grid-template-columns: 1fr; }
  .pe-premium .pe-toc { position: static; }
  .pe-premium .pe-info-grid,
  .pe-premium .pe-path-facts,
  .pe-premium .pe-value-strip { grid-template-columns: 1fr; }
  .pe-premium .pe-split-band { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .pe-main.pe-premium { padding: 12px 14px 64px; }
  .pe-premium .pe-topnav { display: none; }
  .pe-premium .pe-mobile-nav { display: block; margin-bottom: 14px; background: #fff; border: 1px solid var(--pe-line); border-radius: var(--pe-r); box-shadow: var(--pe-shadow-sm); }
  .pe-premium .pe-mobile-nav summary { min-height: 50px; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; color: var(--pe-text); font-weight: 820; list-style: none; cursor: pointer; }
  .pe-premium .pe-mobile-nav summary::-webkit-details-marker { display: none; }
  .pe-premium .pe-mobile-nav summary::after { content: "+"; color: var(--pe-accent); font-size: 1.2rem; }
  .pe-premium .pe-mobile-nav[open] summary::after { content: "\2212"; }
  .pe-premium .pe-mobile-links { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 0 9px 9px; }
  .pe-premium .pe-mobile-links a { min-height: 42px; padding: 10px; color: var(--pe-muted); border-radius: 4px; font-size: .82rem; font-weight: 720; text-decoration: none; }
  .pe-premium .pe-mobile-links a.is-active { color: var(--pe-accent-2); background: var(--pe-accent-soft); }
  .pe-premium .pe-mobile-links a.pe-nav-safety { color: var(--pe-danger); }
  .pe-premium .pe-home-hero { min-height: 530px; align-items: flex-end; padding: 28px 22px; background-position: 64% center; }
  .pe-premium .pe-home-hero::before { background: rgba(5, 31, 46, .65); }
  .pe-premium .pe-home-hero .pe-hero-copy { width: 100%; }
  .pe-premium .pe-home-hero h1 { font-size: 2.35rem; line-height: 1.07; }
  .pe-premium .pe-home-hero p { font-size: .96rem; line-height: 1.62; }
  .pe-premium .pe-hero-proof { display: grid; grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .pe-premium .pe-hero-proof span { padding: 0 8px; }
  .pe-premium .pe-hero-proof span:nth-child(3) { padding-left: 0; border-left: 0; }
  .pe-premium .pe-actions .pe-btn { flex: 1 1 100%; }
  .pe-premium .pe-section { margin-top: 42px; }
  .pe-premium .pe-section-head { align-items: flex-start; flex-direction: column; margin-bottom: 17px; }
  .pe-premium .pe-section-head h2 { font-size: 1.55rem; }
  .pe-premium .pe-intent.pe-col-3 { grid-column: span 12; }
  .pe-premium .pe-intent { min-height: 205px; padding: 22px; }
  .pe-premium .pe-intent .pe-step { margin-bottom: 20px; }
  .pe-premium .pe-intent h3 { padding-right: 48px; font-size: 1.17rem; }
  .pe-premium .pe-topic-list { grid-template-columns: 1fr; }
  .pe-premium .pe-page-head { padding: 34px 2px 30px; }
  .pe-premium .pe-page-head h1 { font-size: 2.3rem; }
  .pe-premium .pe-hero { padding: 30px 22px; }
  .pe-pathways-page .pe-premium .pe-hero { padding: 34px 24px; }
  .pe-pathways-page .pe-premium .pe-hero h1 { font-size: 2.25rem; }
  .pe-premium .pe-tool-hero { padding: 30px 22px; }
  .pe-premium .pe-tool-intro h1 { font-size: 2.35rem; }
  .pe-premium .pe-tool-visual { padding: 11px; }
  .pe-premium .pe-preview-window { min-height: 285px; padding: 16px; }
  .pe-premium .pe-choice-grid { grid-template-columns: 1fr; }
  .pe-premium .pe-tool-index-row { grid-template-columns: minmax(0, 1fr) 38px; }
  .pe-premium .pe-tool-index-row .pe-index-access { grid-column: 1; text-align: left; }
  .pe-premium .pe-tool-index-row .pe-index-arrow { grid-column: 2; grid-row: 1 / 3; }
  .pe-premium .pe-cta-band,
  .pe-premium .pe-practice-head,
  .pe-premium .pe-toolbar,
  .pe-premium .pe-inline-form,
  .pe-premium .pe-assignment-row { align-items: stretch; flex-direction: column; }
  .pe-premium .pe-toolbar select { max-width: none; }
  .pe-premium .pe-stats { grid-template-columns: 1fr 1fr; }
  .pe-premium .pe-access-gate { padding: 42px 20px; }
  .pe-premium .pe-access-gate h2 { font-size: 1.72rem; }
  .pe-premium .pe-video-pending { grid-template-columns: 46px 1fr; min-height: 220px; padding: 22px; }
  .pe-premium .pe-video-pending .pe-chip { grid-column: 2; }
  .pe-premium .pe-path-step { grid-template-columns: 40px minmax(0, 1fr); }
  .pe-premium .pe-path-step > .pe-step-action { grid-column: 1 / -1; min-width: 0; }
  .pe-premium .pe-practice-price { text-align: left; }
  .pe-premium .pe-practice-head h1 { font-size: 2.15rem; }
  .pe-premium .pe-wizard-step { padding: 27px 20px; }
  .pe-premium .pe-wizard-step > h2 { font-size: 1.55rem; }
  .pe-premium .pe-review-cost { grid-template-columns: 1fr; }
  .pe-premium .pe-review-cost > div + div { border-top: 1px solid var(--pe-line); border-left: 0; }
  .pe-premium .pe-consent-box { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pe-premium * { animation: none !important; transition: none !important; }
}

/* 2026 learning architecture: catalogue, module hubs and focused playlists */
.pe-premium .pe-grow { flex: 1; min-width: 220px; }
.pe-premium .pe-world-scale { margin-top: 15px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) minmax(220px,1.25fr); gap: 1px; overflow: hidden; color: #fff; background: #496874; border: 1px solid #496874; border-radius: var(--pe-r); }
.pe-premium .pe-world-scale > div,.pe-premium .pe-world-scale > a { min-height: 94px; padding: 17px; display: flex; flex-direction: column; justify-content: center; background: #173f4e; }
.pe-premium .pe-world-scale strong,.pe-premium .pe-world-scale span { display: block; }
.pe-premium .pe-world-scale strong { font-size: 1.45rem; }
.pe-premium .pe-world-scale span { margin-top: 4px; color: #c5d9dd; font-size: .72rem; }
.pe-premium .pe-world-scale > a { align-items: center; color: #173f4e; background: #f4cc73; font-size: .84rem; font-weight: 850; text-decoration: none; }
.pe-premium .pe-catalogue-hero {
  min-height: 480px;
  padding: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: 58px;
  align-items: center;
  color: #fff;
  background: #103847;
  border-left: 8px solid #e0a52b;
  border-radius: var(--pe-r-lg);
}
.pe-premium .pe-catalogue-hero h1 { max-width: 780px; margin: 17px 0 16px; color: #fff; font-size: 3.45rem; line-height: 1.04; }
.pe-premium .pe-catalogue-hero p { max-width: 720px; margin: 0; color: #d9e7e9; font-size: 1.05rem; line-height: 1.7; }
.pe-premium .pe-catalogue-numbers { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; background: #486875; border: 1px solid #587985; border-radius: var(--pe-r); }
.pe-premium .pe-catalogue-numbers div { min-height: 126px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; background: #173f4e; }
.pe-premium .pe-catalogue-numbers dt { color: #fff; font-size: 2rem; font-weight: 850; }
.pe-premium .pe-catalogue-numbers dd { margin: 5px 0 0; color: #c6d9dc; font-size: .78rem; line-height: 1.4; }
.pe-premium .pe-catalogue-principles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-top: 16px; overflow: hidden; background: var(--pe-line); border: 1px solid var(--pe-line); border-radius: var(--pe-r); }
.pe-premium .pe-catalogue-principles div { min-height: 104px; padding: 22px; background: #fff; }
.pe-premium .pe-catalogue-principles strong,.pe-premium .pe-catalogue-principles span { display: block; }
.pe-premium .pe-catalogue-principles span { margin-top: 7px; color: var(--pe-muted); font-size: .84rem; line-height: 1.5; }
.pe-premium .pe-library-jump { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 15px; }
.pe-premium .pe-library-jump a { min-height: 64px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; color: var(--pe-text); background: #fff; border: 1px solid var(--pe-line); border-radius: 4px; font-size: .8rem; font-weight: 760; line-height: 1.35; text-decoration: none; }
.pe-premium .pe-library-jump a:hover { border-color: #81aaa9; background: var(--pe-accent-soft); }
.pe-premium .pe-library-jump span { width: 31px; height: 31px; flex: none; display: grid; place-items: center; color: var(--pe-accent-2); background: var(--pe-accent-soft); border-radius: 4px; }
/* Explicit track, same reason as .pe-shell: .pe-library-header below is a flex row whose
   min-content width (library number + long title + link) inflated this implicit `auto` track to
   304px inside a 282px container, and every section in the stack inherited it. That was the
   actual source of the 8px horizontal scroll at 320px on the module catalogue. */
.pe-premium .pe-library-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 40px; }
.pe-premium .pe-library-section { scroll-margin-top: 82px; }
.pe-premium .pe-library-header { min-height: 92px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; background: #173f4e; border-left: 5px solid #e0a52b; }
/* min-width:0 lets these flex children shrink below their min-content width so a long library
   title wraps instead of forcing the row wider than the viewport. */
.pe-premium .pe-library-header { min-width: 0; flex-wrap: wrap; }
.pe-premium .pe-library-header > div { display: flex; align-items: center; gap: 17px; min-width: 0; }
.pe-premium .pe-library-header h2, .pe-premium .pe-library-header p { min-width: 0; overflow-wrap: anywhere; }
.pe-premium .pe-library-header h2 { margin: 0; color: #fff; font-size: 1.22rem; }
.pe-premium .pe-library-header p { margin: 0; color: #c9dadd; font-size: .8rem; }
.pe-premium .pe-library-header p a { margin-left: 10px; color: #f5cf79; font-weight: 820; }
.pe-premium .pe-library-index { color: #f4cd74; font-size: 1.5rem; font-weight: 850; }
.pe-premium .pe-library-hero { margin-top: 16px; padding: 50px; color: #fff; background: #173f4e; border-left: 7px solid #e0a52b; border-radius: var(--pe-r-lg); }
.pe-premium .pe-library-hero h1 { max-width: 900px; margin: 16px 0 13px; color: #fff; font-size: 3.15rem; line-height: 1.08; }
.pe-premium .pe-library-hero > p { max-width: 800px; margin: 0; color: #d3e2e4; font-size: 1.02rem; line-height: 1.65; }
.pe-premium .pe-library-hero dl { max-width: 700px; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: #55737e; border: 1px solid #55737e; }
.pe-premium .pe-library-hero dl div { padding: 17px; background: #103847; }
.pe-premium .pe-library-hero dt { color: #fff; font-size: 1.25rem; font-weight: 850; }
.pe-premium .pe-library-hero dd { margin: 5px 0 0; color: #c5dadd; font-size: .73rem; }
.pe-premium .pe-module-list { background: #fff; border: 1px solid var(--pe-line); border-top: 0; }
.pe-premium .pe-module-row { min-height: 82px; padding: 13px 18px; display: grid; grid-template-columns: 60px minmax(210px,1fr) 165px 145px 36px; gap: 16px; align-items: center; color: inherit; border-top: 1px solid var(--pe-line); text-decoration: none; }
.pe-premium .pe-module-row:first-child { border-top: 0; }
.pe-premium .pe-module-row:hover { background: #f3f8f7; }
.pe-premium .pe-module-code { color: var(--pe-soft); font-size: .78rem; font-weight: 840; }
.pe-premium .pe-module-copy strong,.pe-premium .pe-module-copy small { display: block; }
.pe-premium .pe-module-copy strong { color: var(--pe-text); font-size: .95rem; }
.pe-premium .pe-module-copy small { margin-top: 5px; color: var(--pe-soft); font-size: .76rem; }
.pe-premium .pe-language-state { display: flex; gap: 5px; }
.pe-premium .pe-language-state i { padding: 5px 7px; color: #765000; background: var(--pe-amber-soft); border: 1px solid #ecd595; border-radius: 3px; font-size: .69rem; font-style: normal; font-weight: 820; }
.pe-premium .pe-language-state i.ready { color: #03665e; background: var(--pe-teal-soft); border-color: #bde4dc; }
.pe-premium .pe-audience-label { color: var(--pe-muted); font-size: .73rem; font-weight: 720; }
.pe-premium .pe-row-arrow { width: 34px; height: 34px; display: grid; place-items: center; color: var(--pe-accent); border: 1px solid var(--pe-line); border-radius: 4px; }

.pe-premium .pe-directory-head .pe-hero-proof { color: var(--pe-muted); }
.pe-premium .pe-directory-head .pe-hero-proof span { border-left-color: var(--pe-line); }
.pe-premium .pe-engine-groups { display: grid; gap: 22px; margin-top: 25px; }
.pe-premium .pe-engine-group { display: grid; grid-template-columns: 230px minmax(0,1fr); background: #fff; border: 1px solid var(--pe-line); }
.pe-premium .pe-library-rail { padding: 22px; background: #eef4f3; border-right: 1px solid var(--pe-line); }
.pe-premium .pe-library-rail h3 { margin: 0 0 8px; font-size: 1rem; line-height: 1.35; }
.pe-premium .pe-library-rail span { color: var(--pe-soft); font-size: .76rem; }
.pe-premium .pe-engine-row { min-height: 77px; padding: 13px 16px; display: grid; grid-template-columns: 62px minmax(0,1fr) 145px 35px; gap: 14px; align-items: center; color: inherit; border-top: 1px solid var(--pe-line); text-decoration: none; }
.pe-premium .pe-engine-row:first-child { border-top: 0; }
.pe-premium .pe-engine-row:hover { background: #f6f9f8; }
.pe-premium .pe-engine-id { color: var(--pe-soft); font-size: .75rem; font-weight: 820; }
.pe-premium .pe-engine-copy strong,.pe-premium .pe-engine-copy small { display: block; }
.pe-premium .pe-engine-copy strong { color: var(--pe-text); font-size: .92rem; }
.pe-premium .pe-engine-copy small { margin-top: 4px; color: var(--pe-muted); font-size: .76rem; line-height: 1.45; }

.pe-premium .pe-module-hero { margin-top: 15px; padding: 48px; display: grid; grid-template-columns: minmax(0,1fr) 370px; gap: 52px; align-items: center; color: #fff; background: #103847; border-left: 7px solid #e0a52b; border-radius: var(--pe-r-lg); }
.pe-premium .pe-module-heading h1 { max-width: 820px; margin: 16px 0 14px; color: #fff; font-size: 3.15rem; line-height: 1.07; }
.pe-premium .pe-module-heading p { max-width: 720px; margin: 0; color: #d6e5e7; line-height: 1.68; }
.pe-premium .pe-module-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; background: #51707b; border: 1px solid #587a86; border-radius: var(--pe-r); }
.pe-premium .pe-module-facts div { min-height: 112px; padding: 19px; display: flex; flex-direction: column; justify-content: flex-end; background: #173f4e; }
.pe-premium .pe-module-facts strong,.pe-premium .pe-module-facts span { display: block; }
.pe-premium .pe-module-facts strong { color: #fff; font-size: 1.25rem; }
.pe-premium .pe-module-facts span { margin-top: 5px; color: #bfd4d8; font-size: .73rem; }
.pe-premium .pe-module-status { margin: 16px 0 28px; padding: 16px 18px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--pe-line); }
.pe-premium .pe-module-status div span,.pe-premium .pe-module-status div strong,.pe-premium .pe-module-status div small { display: block; }
.pe-premium .pe-module-status div span { color: var(--pe-teal); font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.pe-premium .pe-module-status div strong { margin-top: 3px; font-size: .88rem; }
.pe-premium .pe-module-status div small { margin-top: 3px; color: var(--pe-soft); }
.pe-premium .pe-module-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 24px; align-items: start; }
.pe-premium .pe-playlist { min-width: 0; }
.pe-premium .pe-playlist ol { padding: 0; margin: 0; list-style: none; background: #fff; border: 1px solid var(--pe-line); }
.pe-premium .pe-playlist li + li { border-top: 1px solid var(--pe-line); }
.pe-premium .pe-playlist li a { min-height: 88px; padding: 14px 17px; display: grid; grid-template-columns: 45px minmax(0,1fr) auto 35px; gap: 14px; align-items: center; color: inherit; text-decoration: none; }
.pe-premium .pe-playlist li a:hover { background: #f3f8f7; }
.pe-premium .pe-lesson-number { color: var(--pe-soft); font-size: .77rem; font-weight: 850; }
.pe-premium .pe-lesson-copy strong,.pe-premium .pe-lesson-copy small { display: block; }
.pe-premium .pe-lesson-copy strong { color: var(--pe-text); font-size: .94rem; line-height: 1.4; }
.pe-premium .pe-lesson-copy small { margin-top: 5px; color: var(--pe-soft); font-size: .73rem; }
.pe-premium .pe-lesson-copy i { font-style: normal; }
.pe-premium .pe-module-sidebar { position: sticky; top: 82px; display: grid; gap: 12px; }
.pe-premium .pe-module-sidebar section { padding: 21px; background: #fff; border: 1px solid var(--pe-line); border-top: 4px solid var(--pe-teal); }
.pe-premium .pe-module-sidebar section:nth-child(2) { border-top-color: #e0a52b; }
.pe-premium .pe-module-sidebar h2 { margin: 12px 0 8px; font-size: 1.12rem; }
.pe-premium .pe-module-sidebar p { margin: 0; font-size: .84rem; line-height: 1.58; }
.pe-premium .pe-module-sidebar a { display: inline-block; margin-top: 15px; color: var(--pe-accent); font-size: .82rem; font-weight: 820; text-decoration: none; }
.pe-premium .pe-credit-line { padding: 12px; margin-top: 14px; background: var(--pe-amber-soft); }
.pe-premium .pe-credit-line span,.pe-premium .pe-credit-line small { display: block; }
.pe-premium .pe-credit-line span { color: #775000; font-weight: 850; }
.pe-premium .pe-credit-line small { margin-top: 4px; color: #826b37; line-height: 1.4; }

.pe-premium .pe-lesson-head { padding: 38px 4px 30px; display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; border-bottom: 1px solid var(--pe-line); }
.pe-premium .pe-lesson-head h1 { max-width: 850px; margin: 14px 0 8px; font-size: 2.7rem; line-height: 1.1; }
.pe-premium .pe-lesson-head p { margin: 0; }
.pe-premium .pe-lesson-head p a { color: var(--pe-accent); }
.pe-premium .pe-lesson-meta { min-width: 210px; display: grid; gap: 5px; text-align: right; }
.pe-premium .pe-lesson-meta span { color: var(--pe-muted); font-size: .76rem; font-weight: 720; }
.pe-premium .pe-lesson-layout { margin-top: 24px; display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 24px; align-items: start; }
.pe-premium .pe-lesson-main { min-width: 0; display: grid; gap: 18px; }
.pe-premium .pe-player-wrap .lvvd { max-width: none; margin: 0; padding: 0; }
.pe-premium .pe-player-wrap .lvvd > h2,.pe-premium .pe-player-wrap .lvvd > .lvvd-sub { display: none; }
.pe-premium .pe-player-wrap .lvvd-frame { border-radius: 4px; box-shadow: none; }
.pe-premium .pe-inline-link { display: inline-block; margin-top: 13px; color: #fff; font-weight: 800; }
.pe-premium .pe-completion-bar { padding: 17px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--pe-teal-soft); border: 1px solid #bde4dc; }
.pe-premium .pe-completion-bar strong,.pe-premium .pe-completion-bar span { display: block; }
.pe-premium .pe-completion-bar span { margin-top: 3px; color: var(--pe-muted); font-size: .8rem; }
.pe-premium .pe-accessibility-material { padding: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid var(--pe-line); border-left: 5px solid var(--pe-teal); }
.pe-premium .pe-accessibility-material h2 { margin: 9px 0 0; font-size: 1.15rem; }
.pe-premium .pe-accessibility-material details { flex-basis: 100%; border-top: 1px solid var(--pe-line); }
.pe-premium .pe-accessibility-material summary { padding: 14px 0 4px; color: var(--pe-accent); font-size: .84rem; font-weight: 820; cursor: pointer; }
.pe-premium .pe-accessibility-material details div { max-height: 420px; overflow: auto; padding: 14px 0; color: var(--pe-muted); font-size: .88rem; line-height: 1.7; }
.pe-premium .pe-lesson-context { padding: 28px; background: #fff; border: 1px solid var(--pe-line); }
.pe-premium .pe-lesson-context h2 { margin: 12px 0 8px; }
.pe-premium .pe-lesson-context > p { margin: 0; line-height: 1.68; }
.pe-premium .pe-lesson-context dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 22px 0 0; background: var(--pe-line); border: 1px solid var(--pe-line); }
.pe-premium .pe-lesson-context dl div { padding: 14px; background: #f7f9f8; }
.pe-premium .pe-lesson-context dt { color: var(--pe-soft); font-size: .7rem; font-weight: 820; text-transform: uppercase; }
.pe-premium .pe-lesson-context dd { margin: 6px 0 0; color: var(--pe-text); font-size: .82rem; font-weight: 710; }
.pe-premium .pe-lesson-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pe-premium .pe-lesson-nav a { min-height: 88px; padding: 15px; color: inherit; background: #fff; border: 1px solid var(--pe-line); text-decoration: none; }
.pe-premium .pe-lesson-nav a.next { text-align: right; }
.pe-premium .pe-lesson-nav small,.pe-premium .pe-lesson-nav strong { display: block; }
.pe-premium .pe-lesson-nav small { color: var(--pe-soft); font-size: .7rem; text-transform: uppercase; }
.pe-premium .pe-lesson-nav strong { margin-top: 6px; font-size: .83rem; line-height: 1.4; }
.pe-premium .pe-lesson-playlist { position: sticky; top: 82px; max-height: calc(100vh - 100px); overflow: auto; background: #fff; border: 1px solid var(--pe-line); }
.pe-premium .pe-lesson-playlist header { padding: 18px; background: #173f4e; }
.pe-premium .pe-lesson-playlist header span,.pe-premium .pe-lesson-playlist header a { color: #c5d9dc; font-size: .72rem; font-weight: 760; }
.pe-premium .pe-lesson-playlist header h2 { margin: 8px 0 10px; color: #fff; font-size: 1rem; line-height: 1.4; }
.pe-premium .pe-lesson-playlist ol { padding: 0; margin: 0; list-style: none; }
.pe-premium .pe-lesson-playlist li { border-top: 1px solid var(--pe-line); }
.pe-premium .pe-lesson-playlist li a { min-height: 58px; padding: 10px 12px; display: grid; grid-template-columns: 30px minmax(0,1fr) 9px; gap: 8px; align-items: center; color: inherit; text-decoration: none; }
.pe-premium .pe-lesson-playlist li.is-current a { background: var(--pe-accent-soft); box-shadow: inset 4px 0 var(--pe-teal); }
.pe-premium .pe-lesson-playlist li span { color: var(--pe-soft); font-size: .68rem; }
.pe-premium .pe-lesson-playlist li strong { font-size: .77rem; line-height: 1.38; }
.pe-premium .pe-lesson-playlist li i { width: 7px; height: 7px; background: #d4a33c; border-radius: 50%; }
.pe-premium .pe-lesson-playlist li i.ready { background: var(--pe-teal); }
.pe-premium .pe-playlist-practice { padding: 17px; display: grid; gap: 5px; background: var(--pe-amber-soft); border-top: 1px solid #ecd595; }
.pe-premium .pe-playlist-practice small { color: #826b37; text-transform: uppercase; font-weight: 820; }
.pe-premium .pe-playlist-practice span { color: #765000; font-size: .73rem; }
.pe-premium .pe-playlist-practice a { margin-top: 6px; color: var(--pe-accent); font-size: .8rem; font-weight: 820; }

@media (max-width: 1040px) {
  .pe-premium .pe-catalogue-hero,.pe-premium .pe-module-hero { grid-template-columns: 1fr; }
  .pe-premium .pe-catalogue-numbers { max-width: 620px; }
  .pe-premium .pe-module-facts { max-width: 620px; }
  .pe-premium .pe-module-row { grid-template-columns: 52px minmax(180px,1fr) 150px 36px; }
  .pe-premium .pe-module-row .pe-audience-label { display: none; }
  .pe-premium .pe-module-layout,.pe-premium .pe-lesson-layout { grid-template-columns: minmax(0,1fr) 300px; }
}
@media (max-width: 820px) {
  .pe-premium .pe-world-scale { grid-template-columns: 1fr 1fr; }
  .pe-premium .pe-world-scale > a { grid-column: 1 / -1; }
  .pe-premium .pe-library-jump { grid-template-columns: 1fr 1fr; }
  .pe-premium .pe-catalogue-principles { grid-template-columns: 1fr; }
  .pe-premium .pe-engine-group { grid-template-columns: 1fr; }
  .pe-premium .pe-library-rail { border-right: 0; border-bottom: 1px solid var(--pe-line); }
  .pe-premium .pe-module-layout,.pe-premium .pe-lesson-layout { grid-template-columns: 1fr; }
  .pe-premium .pe-module-sidebar,.pe-premium .pe-lesson-playlist { position: static; max-height: none; }
  .pe-premium .pe-lesson-playlist { order: -1; }
}
@media (max-width: 680px) {
  .pe-premium .pe-library-hero { padding: 30px 22px; }
  .pe-premium .pe-library-hero h1 { font-size: 2.2rem; }
  .pe-premium .pe-library-hero dl { grid-template-columns: 1fr; }
  .pe-premium .pe-world-scale { grid-template-columns: 1fr 1fr; }
  .pe-premium .pe-catalogue-hero,.pe-premium .pe-module-hero { min-height: 0; padding: 30px 22px; gap: 30px; }
  .pe-premium .pe-catalogue-hero h1,.pe-premium .pe-module-heading h1 { font-size: 2.25rem; }
  .pe-premium .pe-catalogue-numbers div,.pe-premium .pe-module-facts div { min-height: 94px; padding: 15px; }
  .pe-premium .pe-catalogue-numbers dt { font-size: 1.55rem; }
  .pe-premium .pe-library-jump { grid-template-columns: 1fr; }
  .pe-premium .pe-library-header { align-items: flex-start; flex-direction: column; }
  .pe-premium .pe-module-row { grid-template-columns: 40px minmax(0,1fr) 34px; gap: 10px; }
  .pe-premium .pe-module-row .pe-language-state { grid-column: 2; }
  .pe-premium .pe-module-row .pe-row-arrow { grid-column: 3; grid-row: 1 / 3; }
  .pe-premium .pe-engine-row { grid-template-columns: 48px minmax(0,1fr) 34px; gap: 9px; }
  .pe-premium .pe-engine-row .pe-chip { grid-column: 2; width: max-content; }
  .pe-premium .pe-engine-row .pe-row-arrow { grid-column: 3; grid-row: 1 / 3; }
  .pe-premium .pe-module-status { grid-template-columns: 1fr 1fr; }
  .pe-premium .pe-module-status .pe-btn { grid-column: 1 / -1; }
  .pe-premium .pe-playlist li a { grid-template-columns: 36px minmax(0,1fr) 32px; }
  .pe-premium .pe-playlist li .pe-chip { grid-column: 2; width: max-content; }
  .pe-premium .pe-playlist li .pe-row-arrow { grid-column: 3; grid-row: 1 / 3; }
  .pe-premium .pe-lesson-head { align-items: flex-start; flex-direction: column; }
  .pe-premium .pe-lesson-head h1 { font-size: 2.15rem; }
  .pe-premium .pe-lesson-meta { min-width: 0; text-align: left; }
  .pe-premium .pe-completion-bar { align-items: stretch; flex-direction: column; }
  .pe-premium .pe-lesson-context dl,.pe-premium .pe-lesson-nav { grid-template-columns: 1fr; }
  .pe-premium .pe-lesson-nav a.next { text-align: left; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ELEVATION LAYER v2 — editorial / premium craft pass
   Loaded last in this file, so these rules win for equal specificity. Goal: lift the world from
   "clean corporate" to a considered, editorial, trustworthy health-publication feel — the single
   biggest levers are display-serif headings, softer forms, layered depth, and richer heroes.
   ═══════════════════════════════════════════════════════════════════════════ */

.pe-premium {
  --pe-r-sm: 10px;
  --pe-r: 14px;
  --pe-r-lg: 22px;
  --pe-serif: var(--lv-font-display, Georgia, "Times New Roman", serif);
  --pe-ink-hero: #f7fbfb;
  --pe-shadow-soft: 0 1px 2px rgba(16,42,55,.04), 0 6px 20px rgba(16,42,55,.06);
  --pe-shadow-lift: 0 2px 6px rgba(16,42,55,.06), 0 18px 44px rgba(16,42,55,.12);
}

/* ── Editorial display typography ─────────────────────────────────────────── */
.pe-premium .pe-hero h1,
.pe-premium .pe-page-head h1,
.pe-premium .pe-home-hero h1,
.pe-premium .pe-tool-intro h1,
.pe-premium .pe-section-head h2,
.pe-premium .pe-practice-head h1,
.pe-premium .pe-access-gate h2,
.pe-premium .pe-wizard-step > h2,
.pe-premium .pe-cta-band h2,
.pe-premium .pe-lesson-head h1 {
  font-family: var(--pe-serif);
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.pe-premium .pe-hero h1,
.pe-premium .pe-page-head h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); line-height: 1.03; }
.pe-premium .pe-section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; }
.pe-premium .pe-card h3 { font-family: var(--pe-serif); font-weight: 600; font-size: 1.28rem; line-height: 1.22; letter-spacing: -.01em; }

/* Kicker: quieter, letterspaced, no filled chip — reads like an editorial eyebrow */
.pe-premium .pe-kicker {
  padding: 0; background: none !important; color: var(--pe-teal);
  font-size: .74rem; font-weight: 800; letter-spacing: .14em;
  display: inline-flex; align-items: center; gap: 9px;
}
.pe-premium .pe-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; opacity: .6; }
.pe-premium .pe-kicker.amber { color: #9a6a00; }
.pe-premium .pe-kicker-danger { color: var(--pe-danger); background: none !important; }
.pe-premium .pe-home-hero .pe-kicker { color: #bff0e8; background: none !important; border: 0; padding: 0; }

/* ── Buttons: pill, refined depth ─────────────────────────────────────────── */
.pe-premium .pe-btn { border-radius: 999px; font-weight: 700; letter-spacing: .01em; padding: 12px 22px; min-height: 48px; }
.pe-premium .pe-btn-primary { background: linear-gradient(135deg, var(--pe-teal), var(--pe-accent-2)); box-shadow: 0 8px 22px rgba(7,94,104,.24); }
.pe-premium .pe-btn-primary:hover { box-shadow: 0 12px 30px rgba(7,94,104,.32); transform: translateY(-2px); }
.pe-premium .pe-btn-secondary, .pe-premium .pe-btn-quiet { background: #fff; border-color: var(--pe-line); box-shadow: var(--pe-shadow-soft); }

/* ── Top nav: floating, soft ──────────────────────────────────────────────── */
.pe-premium .pe-topnav { border-radius: 999px; padding: 6px 10px; box-shadow: var(--pe-shadow-soft); background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pe-premium .pe-topnav a { border-radius: 999px; }
.pe-premium .pe-topnav a.is-active { background: var(--pe-teal-soft); }
.pe-premium .pe-topnav a.is-active::after { display: none; }

/* ── Hero (non-image): tonal gradient + soft radial motif ─────────────────── */
.pe-premium .pe-hero {
  padding: clamp(40px, 5vw, 68px);
  border: 0;
  border-radius: var(--pe-r-lg);
  background:
    radial-gradient(120% 140% at 88% -10%, rgba(7,123,114,.14), transparent 55%),
    radial-gradient(90% 120% at 0% 110%, rgba(36,91,158,.10), transparent 60%),
    linear-gradient(180deg, #ffffff, #f2f7f5);
  box-shadow: var(--pe-shadow-soft);
}
.pe-premium .pe-hero > * { position: relative; z-index: 1; }
.pe-premium .pe-hero p { font-size: 1.1rem; line-height: 1.7; max-width: 60ch; }

/* Page-head hero (find / explore / library): editorial, generous, with a hairline motif */
.pe-premium .pe-page-head {
  padding: clamp(44px, 5vw, 72px) clamp(24px, 4vw, 52px);
  margin-bottom: 8px;
  border: 0;
  border-radius: var(--pe-r-lg);
  background:
    radial-gradient(110% 130% at 92% -20%, rgba(7,123,114,.12), transparent 55%),
    linear-gradient(180deg, #ffffff, #f3f8f6);
  box-shadow: var(--pe-shadow-soft);
}
.pe-premium .pe-page-head > p { font-size: 1.12rem; line-height: 1.72; }

/* Home image hero: taller, richer scrim, serif headline (headline capped to ≤2 lines) */
.pe-premium .pe-home-hero { min-height: 560px; border-radius: var(--pe-r-lg); padding: clamp(36px,5vw,72px); }
.pe-premium .pe-home-hero::before { background: linear-gradient(105deg, rgba(4,26,38,.82) 0%, rgba(4,26,38,.52) 46%, rgba(4,26,38,.14) 100%); }
.pe-premium .pe-home-hero .pe-hero-copy { width: min(700px, 68%); }
.pe-premium .pe-home-hero h1 { font-size: clamp(2.4rem, 4vw, 3.7rem); font-weight: 600; text-wrap: balance; }
.pe-premium .pe-home-hero p { font-size: 1.1rem; max-width: 34em; }

/* ── Cards: airy, layered, refined hover ──────────────────────────────────── */
.pe-premium .pe-card {
  padding: 28px;
  border-radius: var(--pe-r-lg);
  border-color: color-mix(in srgb, var(--pe-line) 70%, transparent);
  box-shadow: var(--pe-shadow-soft);
}
.pe-premium .pe-card-link { position: relative; overflow: hidden; }
.pe-premium .pe-card-link::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--pe-teal), var(--pe-blue));
  opacity: 0; transition: opacity .2s ease;
}
.pe-premium .pe-card-link:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--pe-shadow-lift); }
.pe-premium .pe-card-link:hover::before { opacity: 1; }
.pe-premium .pe-card .pe-link-label { margin-top: 16px; color: var(--pe-accent); font-weight: 800; font-size: .82rem; letter-spacing: .04em; }

/* Library / module browse cards get a calm tinted footer cue */
.pe-premium .pe-card-link p { color: var(--pe-soft); }

/* ── Section rhythm ───────────────────────────────────────────────────────── */
.pe-premium .pe-section { margin-top: clamp(48px, 6vw, 72px); }
.pe-premium .pe-section-head { margin-bottom: 26px; }
.pe-premium .pe-section-head p { font-size: 1.02rem; }

/* ── Value strip (Read/Listen/Watch on home): editorial, iconographic ─────── */
.pe-premium .pe-value-strip { border: 0; background: transparent; gap: 16px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.pe-premium .pe-value-strip > div {
  padding: 26px; border: 1px solid color-mix(in srgb, var(--pe-line) 70%, transparent);
  border-radius: var(--pe-r-lg); background: #fff; box-shadow: var(--pe-shadow-soft);
}
.pe-premium .pe-value-strip strong { font-family: var(--pe-serif); font-weight: 600; font-size: 1.35rem; }
.pe-premium .pe-value-strip span { margin-top: 8px; font-size: .95rem; line-height: 1.6; }

/* ── Chips ────────────────────────────────────────────────────────────────── */
.pe-premium .pe-chip { border-radius: 999px; padding: 5px 12px; font-weight: 750; }
.pe-premium .pe-mode-chip { border-radius: 999px; }

/* ── Notices: softer ──────────────────────────────────────────────────────── */
.pe-premium .pe-notice { border-radius: var(--pe-r); border-left-width: 4px; box-shadow: var(--pe-shadow-soft); }

/* ── CTA band: deep, warm, serif ──────────────────────────────────────────── */
.pe-premium .pe-cta-band {
  border-radius: var(--pe-r-lg); padding: clamp(28px,4vw,44px);
  background: radial-gradient(120% 160% at 90% -30%, rgba(255,255,255,.10), transparent 55%), linear-gradient(135deg, #0f4a4f, #0c333a);
}
.pe-premium .pe-cta-band h2 { font-size: clamp(1.6rem,3vw,2.2rem); }

/* ── Finder ───────────────────────────────────────────────────────────────── */
.pe-premium .pe-finder { border-radius: var(--pe-r-lg); padding: clamp(26px,4vw,40px); box-shadow: var(--pe-shadow-soft); }
.pe-premium .pe-choice { border-radius: 12px; min-height: 58px; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.pe-premium .pe-choice:hover { box-shadow: var(--pe-shadow-soft); }

/* ── Tri-modal player + reader (lesson) ───────────────────────────────────── */
.pe-player { --pe-accent: var(--pe-teal); }
.pe-mode-tab { border-radius: 999px !important; min-height: 46px; font-weight: 700; }
.pe-mode-tab.is-active { background: linear-gradient(135deg, var(--pe-teal), var(--pe-accent-2)) !important; border-color: transparent !important; box-shadow: 0 8px 20px rgba(7,94,104,.24) !important; }
.pe-audio { border-radius: var(--pe-r-lg); padding: 28px; background: linear-gradient(180deg, #ffffff, #f2f7f5); border-color: color-mix(in srgb, var(--pe-line) 70%, transparent); box-shadow: var(--pe-shadow-soft); }
.pe-reader-body { font-family: var(--lv-font-body); }
.pe-reader-body p:first-child::first-letter {
  float: left; font-family: var(--pe-serif); font-weight: 600; font-size: 3.4rem;
  line-height: .8; padding: 6px 12px 0 0; color: var(--pe-accent-2);
}

@media (max-width: 900px) { .pe-premium .pe-value-strip { grid-template-columns: 1fr; } }


/* ═══ ELEVATION v2.1 — richer collection cards, tighter rhythm, crisper hero ═══ */

/* Home hero: stronger art-directed scrim so the headline is crisp and the image reads */
.pe-premium .pe-home-hero { min-height: 500px; }
.pe-premium .pe-home-hero::before {
  background:
    linear-gradient(90deg, rgba(4,26,38,.9) 0%, rgba(4,26,38,.66) 42%, rgba(4,26,38,.28) 72%, rgba(4,26,38,.12) 100%),
    linear-gradient(0deg, rgba(4,26,38,.5), transparent 40%);
}
.pe-premium .pe-hero-proof { margin-top: 30px; gap: 0; }
.pe-premium .pe-hero-proof span { font-weight: 750; letter-spacing: .01em; }

/* Learning-library collection cards — vertical: image/monogram band on top, title on its own
   full width below (readable), meta + arrow on one line. Accepts a square image per library. */
.pe-premium .pe-lib-grid { gap: 22px; }
.pe-premium .pe-lib-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.pe-premium .pe-lib-card::before { display: none !important; }
.pe-premium .pe-lib-thumb {
  aspect-ratio: 16 / 10; width: 100%; display: grid; place-items: center;
  background-size: cover; background-position: center; background-color: var(--pe-teal-soft);
}
.pe-premium .pe-lib-mono { font-family: var(--pe-serif); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--pe-teal); opacity: .9; }
.pe-premium .pe-lib-body { padding: 20px 22px 22px; }
.pe-premium .pe-lib-card h3 { margin: 0 0 12px; font-size: 1.2rem; line-height: 1.28; }
.pe-premium .pe-lib-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--pe-soft); font-size: .85rem; font-weight: 650; }
.pe-premium .pe-lib-go { color: var(--pe-accent); font-size: 1.15rem; font-weight: 800; transition: transform .18s ease; flex: none; }
.pe-premium .pe-lib-card:hover .pe-lib-go { transform: translateX(4px); }
/* rotate identity accents across the monogram-fallback bands so the set reads as designed */
.pe-premium .pe-lib-grid > :nth-child(4n+1) .pe-lib-thumb.is-mono { background: var(--pe-teal-soft); }
.pe-premium .pe-lib-grid > :nth-child(4n+2) .pe-lib-thumb.is-mono { background: var(--pe-blue-soft); }
.pe-premium .pe-lib-grid > :nth-child(4n+2) .pe-lib-mono { color: var(--pe-blue); }
.pe-premium .pe-lib-grid > :nth-child(4n+3) .pe-lib-thumb.is-mono { background: var(--pe-coral-soft); }
.pe-premium .pe-lib-grid > :nth-child(4n+3) .pe-lib-mono { color: var(--pe-coral); }
.pe-premium .pe-lib-grid > :nth-child(4n+4) .pe-lib-thumb.is-mono { background: var(--pe-amber-soft); }
.pe-premium .pe-lib-grid > :nth-child(4n+4) .pe-lib-mono { color: #8a5d00; }

/* Foundational / starter cards: tighten the void, add a calm top accent */
.pe-premium .pe-start-card { min-height: 0; padding-bottom: 22px; }
.pe-premium .pe-start-card .pe-chip { align-self: flex-start; }
.pe-premium .pe-start-card h3 { margin: 14px 0 6px; }
.pe-premium .pe-start-card p { margin: 0 0 2px; color: var(--pe-soft); font-size: .86rem; }

/* Tri-modal value strip: large emoji glyph as a calm lead-in, generous copy */
.pe-premium .pe-value-strip > div { padding: 28px 26px; }
.pe-premium .pe-value-strip strong { display: flex; align-items: center; gap: 12px; }
.pe-premium .pe-value-strip strong::first-letter { font-size: 1.6rem; }

/* CTA band: constrain copy width for a tighter, more intentional composition */
.pe-premium .pe-cta-band > div { max-width: 60ch; }
.pe-premium .pe-cta-band p { color: #d7e6e6; }


/* ═══ ELEVATION v2.2 — cohesive editorial headings across every hero + row polish ═══ */

/* Every hero/heading variant uses the display serif, so the world reads consistently editorial */
.pe-premium .pe-library-hero h1,
.pe-premium .pe-module-hero h1,
.pe-premium .pe-module-heading h1,
.pe-premium .pe-catalogue-hero h1,
.pe-premium .pe-tool-hero h1,
.pe-premium .pe-tool-intro h1,
.pe-premium .pe-library-header h1,
.pe-premium h2.pe-section-title,
.pe-premium .pe-topic-start h2,
.pe-premium .pe-split-band h2,
.pe-premium .pe-intent h3,
.pe-premium .pe-aside-card h2 {
  font-family: var(--pe-serif);
  font-weight: 600;
  letter-spacing: -.015em;
}

/* Dark heroes: soften corners + unify radius, add a whisper of depth */
.pe-premium .pe-library-hero,
.pe-premium .pe-tool-hero,
.pe-premium .pe-module-hero { border-radius: var(--pe-r-lg); box-shadow: var(--pe-shadow-soft); }

/* Module + list rows: softer radius, calmer hover, roomier hit area */
.pe-premium .pe-module-list { border-radius: var(--pe-r-lg); overflow: hidden; }
.pe-premium .pe-module-row:hover { background: var(--pe-teal-soft); }
.pe-premium .pe-module-row .pe-row-arrow,
.pe-premium .pe-tool-index-row .pe-index-arrow { border-radius: 10px; }

/* Library "continue exploring" jump chips: pill, monogram-tinted */
.pe-premium .pe-library-jump a { border-radius: 12px; min-height: 68px; }
.pe-premium .pe-library-jump span { border-radius: 10px; }

/* Practice engine rows (practice-tools): softer, roomier */
.pe-premium .pe-engine-row { border-radius: 12px; }
.pe-premium .pe-engine-group { gap: 8px; }

/* Access gate: warmer, more considered */
.pe-premium .pe-access-gate { border-top-width: 4px; box-shadow: var(--pe-shadow-soft); }

/* Reading sections (guide/legacy content): editorial headings */
.pe-premium .pe-reading section h2,
.pe-premium .pe-reading section h3 { font-family: var(--pe-serif); font-weight: 600; }

/* Wizard step headings editorial */
.pe-premium .pe-wizard-step > h2 { font-family: var(--pe-serif); font-weight: 600; }

/* Stats tiles: bigger serif numerals read premium */
.pe-premium .pe-stat strong,
.pe-premium .pe-library-hero dt,
.pe-premium .pe-module-facts strong,
.pe-premium .pe-info-grid strong { font-family: var(--pe-serif); font-weight: 600; }


/* ═══ ELEVATION v2.3 — form inputs, finder polish, radio affordance ═══ */

/* Finder + toolbar inputs must be full-width (they are NOT inside .pe-form) */
.pe-premium .pe-finder input[type=search],
.pe-premium .pe-finder input[type=text],
.pe-premium .pe-finder select {
  width: 100%; min-height: 52px; padding: 13px 16px;
  color: var(--pe-text); background: #fff; border: 1px solid #bdc9ca;
  border-radius: 12px; font: inherit;
}
.pe-premium .pe-finder input[type=search]:focus,
.pe-premium .pe-finder input[type=text]:focus { border-color: var(--pe-teal); outline: 3px solid rgba(7,123,114,.18); outline-offset: 1px; }

/* Concern choice cards: clearer selected state + custom radio */
.pe-premium .pe-choice { padding: 15px 16px; }
.pe-premium .pe-choice input[type=radio] { width: 20px; height: 20px; accent-color: var(--pe-teal); flex: none; margin-top: 1px; }
.pe-premium .pe-choice:has(input:checked) { border-color: var(--pe-teal); background: var(--pe-teal-soft); box-shadow: 0 0 0 3px rgba(7,123,114,.08); }

/* Explore jumplist chips (tools.php topic-list at top): pill + hover lift */
.pe-premium .pe-page-head .pe-topic-list a { border-radius: 999px; }


/* ═══ ELEVATION v2.4 — hero breathing room + user-centric availability copy ═══ */

/* Hero must not butt against the next block (home: education/safety banner) */
.pe-premium .pe-hero + .pe-notice,
.pe-premium .pe-home-hero + .pe-notice,
.pe-premium .pe-page-head + .pe-notice { margin-top: 28px; }
.pe-premium .pe-home-hero { margin-bottom: 4px; }

/* Library module-row readiness chip alignment */
.pe-premium .pe-module-ready .pe-chip { white-space: nowrap; }

/* module.php formats strip already scoped in-page; ensure chips never wrap awkwardly on mobile */
@media (max-width: 560px) {
  .pe-premium .pe-module-formats { grid-template-columns: 1fr; }
  .pe-premium .pe-module-formats a { grid-column: 1; }
}

/* ═══ Universal audio player (assets/lv-audio) — Psychoeducation theme ═══════════
   The shared player defaults to the devotional saffron palette. Map it onto the
   psychoeducation teal tokens so Listen matches the rest of the world, and drop the
   sticky/centred chrome it needs in a long scripture reader (here it sits inside a
   tab panel, so it should simply fill the panel). */
.pe-premium .lvap {
  --lvap-accent:       var(--pe-teal, #0d9488);
  --lvap-accent-hover: var(--pe-accent-2, #0f766e);
  --lvap-surface:      #fff;
  --lvap-bg:           #e3efee;
  --lvap-text:         var(--pe-text, #14211f);
  --lvap-text-2:       var(--pe-soft, #5d6b6c);
  --lvap-border:       var(--pe-line, #e2e8e7);
  --lvap-radius:       var(--pe-r-lg, 18px);
  --lvap-shadow:       var(--pe-shadow-soft, 0 12px 28px -24px rgba(15,23,42,.4));
  position: static;
  max-width: none;
  margin: 0;
}
.pe-premium .lvap__title { font-family: var(--pe-serif, Georgia, serif); font-weight: 600; font-size: 1.08rem; }
.pe-premium .lvap__hint  { font-size: .84rem; }

/* Lesson prev/next: the external grid wins on specificity, so scope to match it.
   A lone link (first or last lesson) spans the full row instead of floating. */
.pe-premium .pe-lesson-nav { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; margin-top: 24px; }
.pe-premium .pe-lesson-nav .pe-lesson-navlink { min-height: 0; display: flex; flex-direction: column; gap: 4px;
  padding: 16px 20px; border-radius: var(--pe-r-lg); }
.pe-premium .pe-lesson-nav .pe-lesson-navlink.next { grid-column: 2; text-align: right; align-items: flex-end; }
.pe-premium .pe-lesson-nav .pe-lesson-navlink:only-child { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .pe-premium .pe-lesson-nav { grid-template-columns: minmax(0,1fr); }
  .pe-premium .pe-lesson-nav .pe-lesson-navlink.next { grid-column: auto; text-align: left; align-items: flex-start; }
}

/* 1.4.10 Reflow — let the shared player's flex internals shrink below their intrinsic
   width instead of forcing the page wider than the viewport at 320px. */
.pe-premium .lvap__seek { min-width: 0; }
.pe-premium .lvap__body { min-width: 0; }
.pe-premium .lvap__top { flex-wrap: wrap; }

/* ═══ WCAG 2.2 AA remediation ════════════════════════════════════════════════
   Findings from the formal pass. Scoped to .pe-premium so nothing leaks into the
   other 27 worlds. */

/* 1.4.3 Contrast (Minimum) — the muted text token.
   --pe-soft inherits the platform --lv-ink-mute (#837D9B), which is only 3.91:1 on
   white and 3.51:1 on our tinted card surfaces — it fails AA for normal-size text
   wherever it carries real copy (card meta, breadcrumb tail, player hint/time,
   playlist numerals, "Video soon" chips, engine ids).
   Darkened to #6b6685: 5.43:1 on white, >=4.88:1 on every tinted surface we use.
   NOTE: the platform token itself is left untouched — see the plan doc; the same
   failure exists in any world that uses --lv-ink-mute for body copy. */
.pe-premium { --pe-soft: #6b6685; }

/* 1.4.3 — the danger colour. --pe-danger inherits the platform --lv-danger (#dc2626),
   which clears AA on white (4.83:1) but only reaches 3.95:1 on its OWN tint
   (--lv-danger-bg / #fee2e2) — and that pairing is exactly how we use it: the safety
   banner heading, .pe-chip.alert and .pe-btn-danger all sit on the tint.
   #b91c1c gives 5.30:1 on the tint and 6.47:1 on white. */
.pe-premium { --pe-danger: #b91c1c; }

/* 1.4.3 — amber kicker sits on the DARK library/module/catalogue heroes, where the
   light-surface amber (#9a6a00) drops to 2.39:1. Use the on-dark amber there. */
.pe-premium .pe-library-hero .pe-kicker.amber,
.pe-premium .pe-module-hero .pe-kicker.amber,
.pe-premium .pe-catalogue-hero .pe-kicker.amber,
.pe-premium .pe-tool-hero .pe-kicker.amber { color: #f4cd74; }

/* 2.5.8 Target Size (Minimum) — 24x24 CSS px.
   Breadcrumb links and the sidebar text-links rendered ~16-18px tall. Give them a
   24px hit box without changing their visual size. */
.pe-premium .pe-breadcrumbs a,
.pe-premium .pe-aside-card > a,
.pe-premium .pe-module-sidebar a,
.pe-premium .pe-lib-more,
.pe-premium .pe-link-label { display: inline-flex; align-items: center; min-height: 24px; }

/* 2.4.7 Focus Visible / 2.4.11 Focus Not Obscured — one consistent, high-contrast
   focus ring for every interactive element in the world, offset so the sticky
   header/aside can't clip it. */
.pe-premium a:focus-visible,
.pe-premium button:focus-visible,
.pe-premium input:focus-visible,
.pe-premium select:focus-visible,
.pe-premium textarea:focus-visible,
.pe-premium [tabindex]:focus-visible {
  outline: 3px solid #0d9488;
  outline-offset: 2px;
  border-radius: 6px;
  scroll-margin-top: 96px;
  scroll-margin-bottom: 24px;
}
/* On the dark heroes the teal ring is too low-contrast — use white there. */
.pe-premium .pe-home-hero a:focus-visible,
.pe-premium .pe-home-hero button:focus-visible,
.pe-premium .pe-module-hero a:focus-visible,
.pe-premium .pe-library-hero a:focus-visible,
.pe-premium .pe-split-band a:focus-visible { outline-color: #fff; }

/* 2.3.3 Animation from Interactions — honour reduced-motion across the world. */
@media (prefers-reduced-motion: reduce) {
  .pe-premium *,
  .pe-premium *::before,
  .pe-premium *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .pe-premium .pe-card:hover,
  .pe-premium .pe-row-link:hover,
  .pe-premium .pe-lesson-navlink:hover { transform: none !important; }
}

/* Visually-hidden text that stays available to assistive tech (used for control labels
   whose visible label is carried by a <legend> or surrounding design). */
.pe-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 1.4.10 Reflow — flex/grid children default to min-width:auto, so a long heading or
   word can push a text column wider than the viewport at 320px (seen on Explore, where
   .pe-section-head is a flex row). Let these text containers shrink, and break truly
   unbreakable strings rather than overflowing the page. */
.pe-premium .pe-section-head > *,
.pe-premium .pe-page-head > *,
.pe-premium .pe-lesson-head > *,
.pe-premium .pe-notice > *,
.pe-premium .pe-card > * { min-width: 0; }
.pe-premium .pe-section-head h2,
.pe-premium .pe-section-head p,
.pe-premium .pe-page-head h1,
.pe-premium .pe-page-head > p,
.pe-premium .pe-card h3 { overflow-wrap: break-word; }

/* 1.4.10 — below 680px .pe-section-head flips to flex-direction:column with
   align-items:flex-start, so a child's WIDTH becomes its cross size, resolved as
   fit-content — and fit-content's floor is min-content. A long single word (e.g.
   "Neurodevelopmental,") therefore made the column 316px inside a 282px shell and the
   page scrolled sideways. min-width:0 cannot fix a cross-size floor; the item has to be
   stretched to the container instead. */
@media (max-width: 680px) {
  .pe-premium .pe-section-head > * { align-self: stretch; width: 100%; }
}
