/*
 * Course lesson pages (templates/course-lesson.php; approved mockup, Corey 2026-11-20). The shared layout; each course
 * sets its palette and its motif in <key>.css (the colors of its sales page). Layout by container queries on .lp, so
 * it fits a phone (375 px, nothing scrolls sideways) and the widest screen alike.
 */
.lp {
  --lp-ink: #22152a; --lp-body: #3a2c44; --lp-muted: #5c4f66; --lp-ground: #f6f1ea; --lp-paper: #f1e9dc; --lp-paper2: #ece0cc;
  --lp-card: #fffcf7; --lp-deep: #16121f; --lp-deep2: #2a2140; --lp-deep3: #1f1830; --lp-light: #f4efe8; --lp-kick: #e6c9a8;
  --lp-gold: #e9c27a; --lp-rose: #d79bb2; --lp-accent: #6b3f8f; --lp-accent-ink: #4f2c6c; --lp-btn-a: #4f2c6c; --lp-btn-b: #7a4fa8;
  --lp-done: #2f8f78; --lp-mark: rgba(233, 194, 122, .55); --lp-hit: #e8b4c6;
  container-type: inline-size; container-name: lp;
  font-family: 'Jost', system-ui, sans-serif; color: var(--lp-ink); background: var(--lp-ground);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.vlx-lesson-page { margin: 0; background: var(--lp-deep, #16121f); }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp button { font: inherit; cursor: pointer; }
.lp a { color: var(--lp-accent); }
.lp a:hover { color: var(--lp-accent-ink); }
.lp :focus-visible { outline: 2px solid var(--lp-gold); outline-offset: 3px; }
.lp img { max-width: 100%; }
.lp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.lp-kick { margin: 0; font: 500 12px/1.4 'Jost', sans-serif; letter-spacing: .22em; text-transform: uppercase; }
.lp-accent { color: var(--lp-accent); }
.lp [hidden] { display: none !important; }
/* The theme colors every heading near-black (X's h1–h6); here a heading takes its section's color, light on the dark grounds. */
.lp :is(h1, h2, h3, h4, h5, h6) { color: inherit; }

/* top bar */
.lp-nav { background: var(--lp-deep); color: var(--lp-light); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lp-nav__in { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; min-height: 64px; }
.lp-nav a { color: var(--lp-light); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.lp-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.lp-nav__brand { font: 400 20px/1 'Newsreader', serif; letter-spacing: .01em; }
.lp-nav__course { font-size: 15px; opacity: .85; padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .2); }
.lp-nav__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lp-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; opacity: .9; }
.lp-pill__track { width: 96px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.lp-pill__fill { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--lp-gold), var(--lp-rose)); }

/* header */
.lp-head { position: relative; overflow: hidden; color: var(--lp-light); padding: 56px 0 64px;
  background: radial-gradient(60% 70% at 82% 20%, var(--lp-deep2) 0%, transparent 70%), radial-gradient(50% 60% at 10% 100%, var(--lp-deep3) 0%, transparent 70%), var(--lp-deep); }
.lp-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; }
.lp-head__grid > div:first-child:last-child { grid-column: 1 / -1; }
/* Every part starts with its "·", and the crumb's left edge hides the first one on each line, so a crumb that wraps
   never starts a line with a dot (Corey's screenshot, 2026-11-21) */
.lp-crumb { display: flex; flex-wrap: wrap; gap: 6px 0; color: var(--lp-kick); margin-left: -28px; clip-path: inset(-4px -4px -4px 28px); }
.lp-crumb span { position: relative; padding-left: 28px; }
.lp-crumb span::before { content: "·"; position: absolute; left: 0; width: 28px; text-align: center; opacity: .6; }
.lp-title { margin: 14px 0; font: 300 clamp(40px, 6vw, 76px)/1.04 'Newsreader', serif; letter-spacing: -.01em; overflow-wrap: anywhere; }
.lp-lede { margin: 0; max-width: 60ch; font-size: 19px; line-height: 1.6; opacity: .86; }
.lp-by { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 15px; }
.lp-by > span { opacity: .82; }
.lp-by img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 2px var(--lp-deep), 0 0 0 3.5px var(--lp-gold); }
.lp-by b { display: block; font-weight: 500; font-size: 16px; }
.lp-mark { position: relative; width: 280px; height: 280px; justify-self: end; }

/* player */
.lp-player { margin-top: 44px; padding: 26px 30px 18px; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035));
  border: 1px solid color-mix(in srgb, var(--lp-rose) 30%, transparent); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.lp-parts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lp-part { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .24); background: transparent; color: var(--lp-light); font-size: 15px; }
.lp-part.is-on { background: var(--lp-light); color: var(--lp-ink); }
.lp-video { margin-bottom: 18px; }
.lp-video iframe { display: block; width: 100%; border: 0; border-radius: 14px; }
.lp-video__vimeo { aspect-ratio: 16 / 9; height: auto; background: #000; }
.lp-video__sc { height: 166px; }
.lp-player__top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lp-play { flex: none; width: 68px; height: 68px; border: 0; border-radius: 50%; display: grid; place-items: center; color: var(--lp-deep);
  background: linear-gradient(135deg, color-mix(in srgb, var(--lp-gold) 70%, #fff), var(--lp-gold) 50%, var(--lp-rose)); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.lp-play svg { width: 28px; height: 28px; fill: currentColor; }
.lp-now { flex: 1 1 220px; min-width: 0; }
.lp-now small { display: block; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-kick); }
.lp-now b { display: block; margin-top: 3px; font: 400 22px/1.25 'Newsreader', serif; }
.lp-tools { display: flex; gap: 8px; align-items: center; }
.lp-tool { min-width: 52px; height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .24); background: transparent; color: var(--lp-light);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; }
.lp-tool:hover { background: rgba(255, 255, 255, .08); }
.lp-tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-cap { margin: 22px 0 6px; min-height: 3.1em; font: 300 clamp(24px, 2.9vw, 36px)/1.32 'Newsreader', serif; color: #fff8ee; text-wrap: pretty; overflow-wrap: anywhere; }
.lp-cap.is-idle { font-style: italic; opacity: .72; }
.lp-prompt { margin: 20px 0 8px; padding: 22px 24px; border-radius: 18px; background: var(--lp-paper); color: var(--lp-ink); display: grid; gap: 12px; }
.lp-prompt__k { display: flex; align-items: center; gap: 10px; color: var(--lp-accent); }
.lp-prompt__k svg, .lp-pausenote svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-prompt__q { margin: 0; font: 400 clamp(21px, 2.4vw, 30px)/1.3 'Newsreader', serif; }
.lp-prompt__q:focus { outline: none; }
.lp-prompt__p { margin: 0; font-size: 16px; color: var(--lp-muted); }
.lp-prompt__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 26px; font-size: 16px; font-weight: 500;
  text-decoration: none; color: #fff7ea !important; background: linear-gradient(90deg, var(--lp-btn-a), var(--lp-btn-b)); box-shadow: 0 10px 26px color-mix(in srgb, var(--lp-btn-a) 30%, transparent); text-align: center; }
.lp-btn:hover { filter: brightness(1.07); }
.lp-btn--ghost { background: transparent; color: var(--lp-btn-a) !important; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--lp-btn-a) 55%, transparent); }
.lp-bar { position: relative; height: 44px; margin-top: 10px; }
.lp-bar__track { position: absolute; left: 0; right: 0; top: 19px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.lp-bar__seg { position: absolute; top: 17px; height: 10px; border-radius: 5px; background: color-mix(in srgb, var(--lp-rose) 32%, transparent); }
.lp-bar__fill { position: absolute; left: 0; top: 19px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--lp-gold), var(--lp-rose)); width: 0; }
.lp-bar__pin { position: absolute; top: 8px; width: 2px; height: 28px; margin-left: -1px; background: var(--lp-gold); border-radius: 1px; }
.lp-bar__pin::after { content: ""; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--lp-gold); box-shadow: 0 0 0 3px var(--lp-deep); }
.lp-range { position: absolute; inset: 0; width: 100%; height: 44px; margin: 0; opacity: 0; cursor: pointer; }
.lp-range:focus-visible + .lp-bar__focus { outline: 2px solid var(--lp-gold); outline-offset: 4px; }
.lp-bar__focus { position: absolute; inset: 6px -6px; border-radius: 12px; pointer-events: none; }
.lp-times { display: flex; justify-content: space-between; font-size: 14px; opacity: .72; font-variant-numeric: tabular-nums; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lp-chips:empty { display: none; }
.lp-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 16px 6px 12px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04); color: var(--lp-light); font-size: 15px; text-align: left; max-width: 100%; }
.lp-chip i { font-style: normal; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--lp-kick); }
.lp-chip.is-now { border-color: var(--lp-rose); background: color-mix(in srgb, var(--lp-rose) 16%, transparent); }
.lp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 15px; }
.lp-foot a { color: var(--lp-gold); display: inline-flex; align-items: center; min-height: 44px; gap: 6px; text-decoration: none; }
.lp-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.lp-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; opacity: .9; }
.lp-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--lp-rose); }
.lp-foot__sp { flex: 1 1 auto; }
.lp-fallback { margin: 12px 0 0; font-size: 15px; color: var(--lp-kick); }

/* the lesson's own players (no transcript yet, or a teaser unit) */
.lp-embeds { margin-top: 40px; display: grid; gap: 16px; }
.lp-embed iframe { display: block; width: 100%; border: 0; border-radius: 14px; background: #000; }
.lp-embed--vimeo iframe { aspect-ratio: 16 / 9; height: auto; }
.lp-embed--soundcloud iframe { height: 166px; }

/* not enrolled */
.lp-gate { margin-top: 40px; display: grid; gap: 24px; }
.lp-gate__msg:empty { display: none; }
.lp-gate__msg { font-size: 17px; line-height: 1.6; }
.lp-gate__msg .wpcw_fe_progress_box_wrap, .lp-gate__msg .wpcw_fe_progress_box { margin: 0; padding: 0; border: 0; background: none; color: inherit; }
.lp-gate__msg a { color: var(--lp-gold); }
.lp-gate__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.lp-gate__clip .lp-kick { color: var(--lp-kick); margin-bottom: 12px; }
.lp-gate__clip .mh-moment { --ep-accent: var(--lp-gold); --ep-ink: var(--lp-light); --ep-mute: color-mix(in srgb, var(--lp-light) 72%, transparent); --ep-bg: var(--lp-deep); }
.lp-enroll { padding: 28px; border-radius: 22px; background: var(--lp-paper); color: var(--lp-ink); }
.lp-enroll .lp-kick { color: var(--lp-accent); }
.lp-enroll h2 { margin: 8px 0 8px; font: 300 32px/1.15 'Newsreader', serif; }
.lp-enroll p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: var(--lp-body); }
.lp-enroll .cs-box__p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.lp-enroll .cs-box__p b { font: 400 34px/1 'Newsreader', serif; color: var(--lp-ink); }
.lp-enroll .cs-box__member { font-weight: 500; color: var(--lp-accent); }
.lp-enroll__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.lp-enroll__in { margin-top: 14px !important; font-size: 15px !important; }
.lp-enroll__in a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }

/* the course map */
.lp-path { background: linear-gradient(180deg, var(--lp-paper), var(--lp-paper2)); padding: 44px 0 40px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.lp-path__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.lp-path__head h2 { margin: 6px 0 0; font: 300 34px/1.15 'Newsreader', serif; }
.lp-path__head p { margin: 0; font-size: 15px; color: var(--lp-muted); }
.lp-mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.lp-mod { width: 100%; height: 100%; min-height: 150px; padding: 12px 6px 10px; border: 0; border-radius: 18px; background: transparent; color: var(--lp-ink);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.lp-mod:hover { background: rgba(255, 255, 255, .42); }
.lp-mod.is-open { background: var(--lp-card); box-shadow: 0 8px 24px rgba(60, 40, 20, .12); }
.lp-mod__ring { --a: var(--lp-gold); --b: var(--lp-rose); position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font: 400 22px/1 'Newsreader', serif; flex: none; }
.lp-mod__ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 210deg, var(--a), var(--b), var(--a));
  -webkit-mask: radial-gradient(circle, transparent 23px, #000 24px); mask: radial-gradient(circle, transparent 23px, #000 24px); }
.lp-mod.is-here .lp-mod__ring { box-shadow: 0 0 0 4px var(--lp-card), 0 0 0 6px var(--lp-accent); }
.lp-mod__t { font-size: 14px; line-height: 1.3; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lp-mod__d { font-size: 13px; color: var(--lp-muted); margin-top: auto; }
.lp-mod__bar { width: 70%; height: 4px; border-radius: 2px; background: rgba(0, 0, 0, .1); overflow: hidden; flex: none; }
.lp-mod__bar span { display: block; height: 100%; background: var(--lp-accent); border-radius: 2px; }
.lp-lessons { margin: 18px 0 0; padding: 8px; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; border-radius: 20px; background: var(--lp-card); box-shadow: 0 8px 24px rgba(60, 40, 20, .1); }
.lp-lesson a { display: flex; align-items: center; gap: 12px; min-height: 56px; height: 100%; padding: 8px 12px; border-radius: 14px; color: var(--lp-ink); text-decoration: none; }
.lp-lesson a:hover { background: var(--lp-ground); color: var(--lp-ink); }
.lp-lesson__st { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--lp-muted); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .25); }
.lp-lesson__st svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lp-lesson.is-done .lp-lesson__st { background: var(--lp-done); box-shadow: none; color: #fff; }
.lp-lesson.is-locked .lp-lesson__st { color: var(--lp-muted); }
.lp-lesson.is-locked b { color: var(--lp-muted); }
.lp-lesson.is-now a { background: var(--lp-deep); color: var(--lp-light); }
.lp-lesson.is-now .lp-lesson__st { background: linear-gradient(135deg, var(--lp-gold), var(--lp-rose)); box-shadow: none; color: var(--lp-deep); }
.lp-lesson__x { min-width: 0; display: flex; flex-direction: column; }
.lp-lesson__x b { font-weight: 500; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.lp-lesson__x small { font-size: 13px; color: var(--lp-muted); }
.lp-lesson.is-now .lp-lesson__x small { color: var(--lp-kick); }

/* the read-along and the side */
.lp-body { padding: 56px 0 72px; }
.lp-cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.lp-cols--one { grid-template-columns: minmax(0, 760px); }
.lp-cols--one .lp-side { grid-template-columns: minmax(0, 1fr); }
.lp-sechead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; padding-bottom: 18px; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.lp-sechead h2 { margin: 6px 0 0; font: 300 38px/1.1 'Newsreader', serif; }
.lp-search { position: relative; display: flex; align-items: center; flex: 0 1 320px; }
.lp-search svg { position: absolute; left: 14px; width: 18px; height: 18px; fill: none; stroke: var(--lp-muted); stroke-width: 1.8; stroke-linecap: round; }
.lp-search input { width: 100%; height: 46px; padding: 0 14px 0 40px; border-radius: 23px; border: 1px solid rgba(0, 0, 0, .2); background: var(--lp-card); font: inherit; font-size: 16px; color: var(--lp-ink); }
.lp-search input:focus { outline: 2px solid var(--lp-accent); outline-offset: 1px; }
.lp-hits { margin: 10px 0 0; font-size: 14px; color: var(--lp-muted); min-height: 1em; }
.lp-hits:empty { margin: 0; }
.lp-tsec { padding-top: 30px; }
.lp-tsec__k { display: flex; align-items: center; gap: 10px; color: var(--lp-accent); }
.lp-tsec__k svg { width: 16px; height: 16px; fill: var(--lp-gold); }
.lp-tsec h3 { margin: 6px 0 4px; font: 400 26px/1.2 'Newsreader', serif; }
.lp-para { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 14px; margin-top: 12px; }
.lp-at { align-self: start; min-height: 44px; min-width: 56px; padding: 0 6px; border: 0; border-radius: 10px; background: transparent; color: var(--lp-accent); font-size: 14px; font-variant-numeric: tabular-nums; text-align: left; }
.lp-at:hover { background: color-mix(in srgb, var(--lp-accent) 8%, transparent); }
.lp-para p { margin: 0; padding-top: 9px; font: 400 19px/1.65 'Newsreader', serif; color: var(--lp-body); overflow-wrap: anywhere; }
.tl { transition: color .3s, background-color .3s; border-radius: 4px; }
.tl.is-now { background: linear-gradient(transparent 12%, var(--lp-mark) 12%, var(--lp-mark) 92%, transparent 92%); color: var(--lp-ink); }
.tl.is-ann { font-family: 'Jost', sans-serif; font-size: 14px; letter-spacing: .06em; color: var(--lp-muted); }
.lp-para mark { background: var(--lp-hit); color: var(--lp-ink); border-radius: 3px; padding: 0 2px; }
.lp-para mark.is-at { box-shadow: 0 0 0 2px var(--lp-accent); }
.lp-pausenote { display: flex; align-items: center; gap: 10px; margin: 14px 0 0 78px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--lp-gold) 22%, transparent); font-size: 15px; color: var(--lp-muted); }
.lp-side { display: grid; gap: 28px; min-width: 0; }
.lp-card { padding: 26px 26px 24px; border-radius: 22px; background: var(--lp-card); border: 1px solid rgba(0, 0, 0, .08); box-shadow: 0 10px 30px rgba(60, 40, 50, .06); min-width: 0; }
.lp-card h2 { margin: 6px 0 4px; font: 300 30px/1.15 'Newsreader', serif; }
.lp-about p { font-size: 16px; line-height: 1.65; color: var(--lp-body); }
.lp-ex { padding: 18px 0 4px; border-top: 1px solid rgba(0, 0, 0, .1); margin-top: 16px; }
.lp-ex h3 { margin: 0 0 6px; font: 500 17px/1.35 'Jost', sans-serif; }
.lp-ex__body p { margin: 0 0 8px; font-size: 16px; line-height: 1.6; color: var(--lp-body); }
.lp-ex__at { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--lp-accent); font-size: 15px; font-weight: 500; }
.lp-ex__at svg { width: 18px; height: 18px; fill: currentColor; }
.lp-note { display: grid; gap: 6px; margin: 6px 0 4px; }
.lp-note__l { font-size: 14px; font-weight: 500; color: var(--lp-muted); }
.lp-note textarea { width: 100%; min-height: 88px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(0, 0, 0, .18); background: #fff; font: 400 16px/1.5 'Jost', sans-serif; color: var(--lp-ink); resize: vertical; }
.lp-note textarea:focus { outline: 2px solid var(--lp-accent); outline-offset: 1px; }
.lp-note__st { font-size: 13px; color: var(--lp-muted); min-height: 1.2em; }
.lp-note__journal { margin: 14px 0 0; font-size: 14px; color: var(--lp-muted); }
.lp-note__journal a { display: inline-flex; align-items: center; min-height: 44px; }
.lp-prac { background: radial-gradient(80% 60% at 70% 0%, var(--lp-deep2), transparent 70%), var(--lp-deep); color: var(--lp-light); border: 0; }
.lp-prac .lp-kick { color: var(--lp-kick); }
.lp-prac__row { display: flex; gap: 20px; align-items: center; margin-top: 18px; }
.lp-prac__face { flex: none; width: 132px; transform: rotate(-3deg); }
.lp-prac__face a { display: block; min-height: 44px; }
.lp-prac p { margin: 0; font-size: 15.5px; line-height: 1.6; opacity: .86; }
.lp-prac__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lp-prac .lp-btn { background: linear-gradient(90deg, var(--lp-gold), color-mix(in srgb, var(--lp-gold) 70%, #fff)); color: var(--lp-deep) !important; box-shadow: none; }
.lp-prac .lp-btn.is-on { background: transparent; color: var(--lp-gold) !important; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--lp-gold) 60%, transparent); }
.lp-prac .lp-btn--ghost { background: transparent; color: var(--lp-light) !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }

/* finish: WP Courseware's box (its own markup and script), restyled, and the next lesson */
.lp-end { background: radial-gradient(60% 80% at 50% 0%, var(--lp-deep2), transparent 70%), var(--lp-deep); color: var(--lp-light); padding: 60px 0 64px; }
.lp-end__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.lp-end h2 { margin: 8px 0 18px; font: 300 40px/1.12 'Newsreader', serif; }
.lp-end .lp-kick { color: var(--lp-kick); }
.lp-end__p { margin: -6px 0 20px; font-size: 17px; line-height: 1.55; opacity: .86; max-width: 46ch; }
/* WP Courseware's own markup (its wrappers, completion box, quiz), restyled: the button on the dark band, our words above */
.lp-wpcw { color: var(--lp-light); font-size: 16px; line-height: 1.55; overflow-x: auto; }
.lp-wpcw :is(.wpcw-unit-wrapper, .wpcw-unit-single-content, .wpcw-unit-desc, .wpcw-unit-completebox, .wpcw-unit-navigation, #wpcw_fe_outer_wrap) { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; min-height: 0 !important; box-shadow: none !important; }
.lp-wpcw .wpcw-unit-desc:empty, .lp-wpcw .wpcw-unit-navigation, .lp-wpcw .wpcw_fe_navigation_box { display: none !important; }
.lp-wpcw .wpcw_fe_progress_box_wrap { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.lp-wpcw .wpcw_fe_progress_box { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; color: inherit !important; box-shadow: none !important; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
/* while it waits, WPCW's own sentence repeats ours (or is empty): the button alone */
.lp-wpcw .wpcw_fe_progress_box_pending .wpcw_fe_progress_box_text { display: none; }
.lp-wpcw .fe_btn, .lp-wpcw input[type="submit"] { display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px !important; border: 0 !important; border-radius: 28px !important;
  font: 500 17px/1.2 'Jost', sans-serif !important; text-decoration: none !important; color: var(--lp-deep) !important; background: linear-gradient(90deg, var(--lp-gold), var(--lp-rose)) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .3) !important; cursor: pointer; float: none !important; margin: 0 !important; }
.lp-wpcw .fe_btn::before { content: "✓"; font-weight: 600; }
.lp-wpcw .fe_btn:hover, .lp-wpcw input[type="submit"]:hover { filter: brightness(1.06); }
.lp-wpcw .wpcw_fe_progress_box_complete { color: var(--lp-gold) !important; font-weight: 500; font-size: 17px; }
.lp-wpcw .wpcw_fe_progress_box_complete .wpcw_fe_progress_box_text::before { content: "✓ "; }
.lp-wpcw .wpcw_fe_progress_box_error { color: var(--lp-kick) !important; }
/* a quiz is a form to read and answer: on a light card */
.lp-wpcw:has(.wpcw_fe_quiz_box_wrap, form) { padding: 22px 24px; border-radius: 18px; background: var(--lp-card); color: var(--lp-ink); }
.lp-wpcw .wpcw_fe_quiz_box_wrap { color: var(--lp-ink); }
.lp-wpcw:has(.wpcw_fe_quiz_box_wrap, form) .fe_btn, .lp-wpcw:has(.wpcw_fe_quiz_box_wrap, form) input[type="submit"] { color: #fff7ea !important; background: linear-gradient(90deg, var(--lp-btn-a), var(--lp-btn-b)) !important; box-shadow: none !important; }
.lp-end__nav { min-width: 0; }
.lp-next { display: flex; align-items: center; gap: 20px; padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid color-mix(in srgb, var(--lp-rose) 30%, transparent); color: var(--lp-light) !important; text-decoration: none; }
.lp-next:hover { background: rgba(255, 255, 255, .1); }
.lp-next > span:nth-child(2) { min-width: 0; }
.lp-next__r { flex: none; width: 58px; height: 58px; border-radius: 50%; background: conic-gradient(from 210deg, var(--lp-gold), var(--lp-rose), var(--lp-gold));
  -webkit-mask: radial-gradient(circle, transparent 22px, #000 23px); mask: radial-gradient(circle, transparent 22px, #000 23px); }
.lp-next small { display: block; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-kick); }
.lp-next b { display: block; margin: 4px 0 2px; font: 400 28px/1.15 'Newsreader', serif; overflow-wrap: anywhere; }
.lp-next span span { font-size: 15px; opacity: .75; }
.lp-next svg { margin-left: auto; flex: none; width: 26px; height: 26px; fill: none; stroke: var(--lp-gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-next__wait { margin: 0; font-size: 16px; line-height: 1.6; opacity: .82; }
.lp-prev { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: var(--lp-light) !important; opacity: .82; font-size: 15px; text-decoration: none; }
.lp-prev:hover { opacity: 1; text-decoration: underline; }
.lp-sitefoot { background: var(--lp-deep); color: var(--lp-light); font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .06); }
.lp-sitefoot .lp-wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; min-height: 76px; }
.lp-sitefoot a { color: var(--lp-light); opacity: .75; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.lp-sitefoot a:hover { opacity: 1; }

/* narrow screens */
@container lp (max-width: 980px) {
  .lp-cols { grid-template-columns: minmax(0, 1fr); }
  .lp-side { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .lp-end__grid, .lp-gate__grid { grid-template-columns: minmax(0, 1fr); }
}
@container lp (max-width: 760px) {
  .lp-wrap { padding: 0 16px; }
  .lp-nav .lp-nav__course { display: none; }
  .lp-pill__track { width: 56px; }
  .lp-head { padding: 28px 0 36px; }
  .lp-head__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lp-mark { order: -1; justify-self: center; transform: scale(.62); margin: -46px 0 -60px; }
  .lp-title { font-size: 44px; }
  .lp-lede { font-size: 17px; }
  .lp-player { margin-top: 26px; padding: 18px 16px 10px; border-radius: 20px; }
  .lp-play { width: 60px; height: 60px; }
  .lp-now b { font-size: 19px; }
  .lp-tools { width: 100%; }
  .lp-cap { font-size: 24px; min-height: 4.2em; }
  .lp-prompt { padding: 18px 16px; }
  .lp-chip { width: 100%; }
  .lp-path { padding: 32px 0; }
  .lp-path__head h2 { font-size: 28px; }
  .lp-mods { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .lp-mod { min-height: 0; padding: 10px 2px; }
  .lp-mod__ring { width: 50px; height: 50px; font-size: 19px; }
  .lp-mod__ring::before { -webkit-mask: radial-gradient(circle, transparent 19px, #000 20px); mask: radial-gradient(circle, transparent 19px, #000 20px); }
  .lp-mod__t { font-size: 12.5px; }
  .lp-mod__d { display: none; }
  .lp-lessons { grid-template-columns: minmax(0, 1fr); }
  .lp-body { padding: 36px 0 48px; }
  .lp-sechead h2 { font-size: 32px; }
  .lp-search { flex: 1 1 100%; }
  .lp-para { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lp-at { min-height: 44px; padding: 0; }
  .lp-para p { padding-top: 0; font-size: 18px; }
  .lp-pausenote { margin-left: 0; }
  .lp-side { grid-template-columns: minmax(0, 1fr); }
  .lp-card { padding: 22px 18px; }
  .lp-prac__row { flex-direction: column; align-items: flex-start; }
  .lp-end { padding: 44px 0; }
  .lp-end h2 { font-size: 32px; }
  .lp-next { padding: 18px; gap: 14px; }
  .lp-next__r { width: 44px; height: 44px; -webkit-mask: radial-gradient(circle, transparent 16px, #000 17px); mask: radial-gradient(circle, transparent 16px, #000 17px); }
  .lp-next b { font-size: 24px; }
  .lp-enroll { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
}

/* your notes on this course (lesson.js mine()); WP Courseware's own notes button retires on these pages (ILP 0.49.2 copies its notes in) */
body.vlx-lesson-page .wpcw-toaster, .lp .wpcw-toaster { display: none !important; }
.lp-mine__open { margin-top: 6px; }
.lp-mine__list { margin-top: 18px; display: grid; gap: 18px; max-height: 70vh; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.lp-mine__lesson h3 { margin: 0 0 8px; font: 500 16px/1.35 'Jost', sans-serif; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.lp-mine__lesson h3 a { color: var(--lp-accent); display: inline-flex; align-items: center; min-height: 44px; }
.lp-mine__here { font: 500 11px/1 'Jost', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-muted); border: 1px solid currentColor; border-radius: 10px; padding: 4px 8px; }
.lp-mine__note { border-left: 2px solid var(--lp-mark); padding: 2px 0 2px 14px; margin-bottom: 12px; }
.lp-mine__day { margin: 0 0 4px; font-size: 13px; color: var(--lp-muted); }
.lp-mine__q { margin: 8px 0 2px; font-size: 14px; color: var(--lp-muted); }
.lp-mine__a { margin: 0; font-size: 15px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--lp-body); }
.lp-mine__at { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.lp-mine__empty { margin: 0; font-size: 15px; color: var(--lp-muted); }

/* Watch or listen (a lesson with its video): the video above, its captions on it; Listen only hides it */
.lp-seg { display: inline-flex; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); overflow: hidden; }
.lp-seg button { min-height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--lp-light); font-size: 15px; }
.lp-seg button[aria-pressed="true"] { background: var(--lp-light); color: var(--lp-deep); }
.lp-tool[aria-pressed] { gap: 8px; }
.lp-tool[aria-pressed="false"] { opacity: .62; }
.lp-player--video .lp-video { position: relative; }
.lp-vcap { position: absolute; z-index: 2; left: 50%; bottom: 6%; transform: translateX(-50%); width: max-content; max-width: 84%; margin: 0; padding: 8px 16px; border-radius: 10px;
  background: rgba(8, 6, 12, .74); color: #fff; font: 400 clamp(16px, 2vw, 24px)/1.35 'Newsreader', serif; text-align: center; pointer-events: none; }
.lp-vcap:empty, .lp-player.no-vcap .lp-vcap { display: none; }
.lp-player--video:not(.is-listening) .lp-cap { display: none; }
.lp-tool--along { width: auto; }

/* Practice along: the page dims; the teacher's words large in the middle; the video small in a corner */
.lp-along { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; overflow: hidden; color: #EEEAF6; background: #050407; font-family: 'Jost', system-ui, sans-serif; }
.lp-along[hidden] { display: none !important; }
html.lp-along-open, html.lp-along-open body { overflow: hidden; }
.lp-along__glow { position: absolute; left: 50%; top: 46%; width: min(780px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--lv2, var(--lv, #8E7BD8)) 40%, transparent) 0%, color-mix(in srgb, var(--lv, #8E7BD8) 26%, transparent) 38%, transparent 70%);
  animation: lpBreathe 11s ease-in-out infinite; }
.lp-along__ring { position: absolute; left: 50%; top: 46%; width: min(420px, 80vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(238, 234, 246, .16);
  box-shadow: 0 0 0 60px rgba(238, 234, 246, .025), 0 0 0 140px rgba(238, 234, 246, .015); }
@keyframes lpBreathe { 0%, 100% { transform: translate(-50%, -50%) scale(.94); opacity: .8; } 50% { transform: translate(-50%, -50%) scale(1.04); opacity: 1; } }
.lp-along__top { position: relative; z-index: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; padding: 18px clamp(16px, 3vw, 40px); }
.lp-along__top .lp-kick { color: rgba(238, 234, 246, .74); letter-spacing: .3em; }
.lp-along__who { margin-left: auto !important; }
.lp-along__x { color: #EEEAF6 !important; box-shadow: inset 0 0 0 1px rgba(238, 234, 246, .32) !important; }
.lp-along__mid { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 clamp(16px, 4vw, 40px); }
.lp-along__ch { color: var(--lv-hi, #C9BFEA); min-height: 1.4em; }
.lp-along__words { margin: 22px 0 0; max-width: 22ch; font: 300 clamp(30px, 4.6vw, 58px)/1.18 'Newsreader', serif; text-wrap: balance; overflow-wrap: anywhere; }
.lp-along__prev { margin: 26px 0 0; max-width: 46ch; min-height: 3em; font: 300 italic clamp(16px, 1.6vw, 20px)/1.5 'Newsreader', serif; color: rgba(238, 234, 246, .5); }
.lp-along__bot { position: relative; z-index: 2; padding: 0 clamp(16px, 3vw, 40px) 26px; }
.lp-along__track { height: 3px; border-radius: 2px; background: rgba(238, 234, 246, .14); overflow: hidden; }
.lp-along__track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lv2, var(--lv, #8E7BD8)), var(--lv, #8E7BD8)); }
.lp-along__row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin-top: 16px; }
.lp-along__play { width: 60px; height: 60px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #EEEAF6; color: #050407; cursor: pointer; }
.lp-along__play svg { width: 22px; height: 22px; fill: currentColor; }
.lp-along__t { font-size: 14px; color: rgba(238, 234, 246, .74); font-variant-numeric: tabular-nums; }
.lp-along .lp-tool { color: #EEEAF6; }
.lp-along__note { margin-left: auto; font-size: 14px; color: rgba(238, 234, 246, .6); }
.lp-player.is-along .lp-video { position: fixed; z-index: 1001; right: clamp(12px, 3vw, 40px); bottom: 124px; width: min(240px, 42vw); margin: 0; border-radius: 12px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
.lp-player.is-along .lp-vcap { display: none; }
@media (prefers-reduced-motion: reduce) { .lp-along__glow { animation: none; } }
@container lp (max-width: 760px) { .lp-along__who, .lp-along__note { display: none; } .lp-player.is-along .lp-video { bottom: 196px; width: 46vw; } }

/* A long transcript in a panel about a screen tall (Corey: it buried "When you're done"); it follows the lesson as it
   plays, unless you've just scrolled it yourself; "Show the whole transcript" opens it all. */
.lp-scroll.is-long { position: relative; max-height: min(72vh, 760px); overflow-y: auto; overscroll-behavior: contain; padding-right: 10px; scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--lp-accent) 40%, transparent) transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 72px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 72px), transparent); }
.lp-scroll.is-long.at-end, .lp-scroll.is-long.is-full { -webkit-mask-image: none; mask-image: none; }
.lp-scroll.is-long.is-full { max-height: none; overflow: visible; }
.lp-scroll.is-long:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 6px; border-radius: 6px; }
.lp-more { margin-top: 18px; }

/* (Corey 2026-11-21: too much empty space) Beside the side column, the transcript's panel fills the column's height
   (never shorter than about a screen), so nothing stands empty beside the reflections; the practice cards and your
   course notes sit in a row under the lesson. */
@container lp (min-width: 981px) {
  .lp-cols:not(.lp-cols--one) > .lp-read { align-self: stretch; display: flex; flex-direction: column; }
  .lp-cols:not(.lp-cols--one) > .lp-read > .lp-more { align-self: flex-start; }
  .lp-cols:not(.lp-cols--one) > .lp-read > .lp-scroll.is-long:not(.is-full) { flex: 1 1 0; min-height: min(72vh, 760px); max-height: none; contain: size; }
}
.lp-keep { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px 56px; margin-top: 56px; align-items: start; }
.lp-keep > .lp-prac { grid-column: 1; }
.lp-keep > .lp-mine { grid-column: 2; grid-row: 1 / span 2; }
.lp-keep--notes { grid-template-columns: minmax(0, 760px); }
.lp-keep--notes > .lp-mine { grid-column: 1; grid-row: auto; }
.lp-prac { display: flex; align-items: center; gap: 36px; padding: 34px 36px; }
a.lp-prac__face { flex: none; display: block; width: 176px; min-height: 44px; transform: rotate(-3deg); transition: transform .25s ease; border-radius: 10px; }
a.lp-prac__face:hover, a.lp-prac__face:focus-visible { transform: rotate(0deg) translateY(-3px); }
a.lp-prac__face:focus-visible { outline: 2px solid var(--lp-gold); outline-offset: 6px; }
.lp-prac__face .ilp-cf { width: 100%; }
.lp-prac__x { min-width: 0; }
.lp-prac h2 { font-size: 34px; }
.lp-prac__do { margin: 10px 0 0 !important; max-width: 46ch; }
@container lp (max-width: 980px) {
  .lp-keep { grid-template-columns: minmax(0, 1fr); }
  .lp-keep > .lp-prac, .lp-keep > .lp-mine { grid-column: 1; grid-row: auto; }
}
@container lp (max-width: 560px) {
  .lp-prac { flex-direction: column; align-items: flex-start; gap: 22px; padding: 26px 20px; }
  a.lp-prac__face { width: 150px; }
  .lp-prac h2 { font-size: 28px; }
}

/* (2026-11-21) Mark as Completed sits under its line, at the left: WP Courseware's box sets its cell to the right, and
   its own line ("Have you completed this unit?") repeats ours, in the theme's dark ink on the dark band. */
.lp-wpcw .wpcw_fe_progress_box_mark, .lp-wpcw .wpcw_fe_progress_box_download { display: block !important; text-align: left !important; float: none !important; margin: 0 !important; width: auto !important; }
.lp-wpcw .wpcw_fe_progress_box:has(.fe_btn_completion) .wpcw_fe_progress_box_text { display: none !important; }
.lp-wpcw .wpcw_fe_progress_box { justify-content: flex-start !important; text-align: left !important; }
.lp-wpcw p { color: inherit; }

/* (Corey 2026-11-21) The site's own header above the course bar: the theme's logo and main menu, in its own styles. */
.lp-site { position: relative; z-index: 50; }
.lp-site .x-brand img { max-height: 48px; width: auto; }

/* ---------------------------------------------------------------- a lesson whose written text is the page (Integral Dharma) */
/* The course's mandala in the header, its rings turning slowly (as on its sales page). */
.lp-lotus { position: relative; aspect-ratio: 1; width: 100%; max-width: 380px; justify-self: end; }
.lp-lotus__l { position: absolute; inset: 0; width: 100%; height: 100%; animation: lpTurn 300s linear infinite; }
.lp-lotus__l2 { animation-duration: 210s; animation-direction: reverse; }
.lp-lotus__l1 { animation-duration: 150s; }
@keyframes lpTurn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lp-lotus__l { animation: none; } }
/* The Up the lesson belongs to, its emblem (or a ring in its color until the emblems come). */
.lp-up { display: inline-flex; align-items: center; gap: 12px; margin: 22px 0 0; font: 400 13px/1.3 'Jost', sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--lp-kick); }
.lp-upmark { flex: none; width: 40px; height: 40px; object-fit: contain; }
.lp-upmark--ring { display: block; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--c), 0 0 18px color-mix(in srgb, var(--c) 45%, transparent); background: radial-gradient(circle, color-mix(in srgb, var(--c) 55%, transparent) 0 22%, transparent 24%); }
/* Read along, folded under the player */
.lp-body--essay { padding-top: 40px; }
.lp-talk { margin: 0 0 40px; border-radius: 20px; background: var(--lp-card); border: 1px solid rgba(0, 0, 0, .08); }
.lp-talk > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; min-height: 64px; padding: 18px 24px; cursor: pointer; list-style: none; }
.lp-talk > summary::-webkit-details-marker { display: none; }
.lp-talk > summary::after { content: "Open"; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--lp-accent); }
.lp-talk[open] > summary::after { content: "Close"; }
.lp-talk > summary b { font: 400 20px/1.3 'Newsreader', serif; color: var(--lp-ink); }
.lp-talk > summary:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; border-radius: 20px; }
.lp-talk .lp-read { padding: 0 24px 24px; }
/* Go for the essence: the lesson's one-liners, each to its practice */
.lp-essence { margin-bottom: 48px; }
.lp-essence h2 { margin: 6px 0 0; font: 300 36px/1.1 'Newsreader', serif; }
.lp-essence__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.lp-essence__list a { display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 150px; padding: 20px 18px 16px; border-radius: 18px; background: var(--lp-card); border: 1px solid rgba(0, 0, 0, .08); color: var(--lp-ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.lp-essence__list a:hover { border-color: var(--lp-gold); transform: translateY(-2px); color: var(--lp-ink); }
.lp-essence__list b { font: 400 21px/1.15 'Newsreader', serif; }
.lp-essence__list span { font-size: 15px; line-height: 1.5; color: var(--lp-body); }
.lp-essence__list small { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 500; color: var(--lp-accent); }
/* The lesson, with its contents beside it */
.lp-essay { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; align-items: start; justify-content: center; }
.lp-essay--one { grid-template-columns: minmax(0, 720px); }
.lp-toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 48px); overflow-y: auto; }
.lp-toc .lp-kick { margin: 0 12px 8px; color: var(--lp-muted); }
.lp-toc a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 12px; border-radius: 10px; color: var(--lp-body); text-decoration: none; font-size: 15px; line-height: 1.3; }
.lp-toc a:hover { background: color-mix(in srgb, var(--lp-gold) 18%, transparent); color: var(--lp-ink); }
.lp-toc a i { flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--lp-gold); }
.lp-toc a.is-band i { background: var(--lp-gold); }
.lp-essay__text { min-width: 0; }
.lp-essay__text > .lp-kick { margin-bottom: 18px; }
.lp-essay__text p, .lp-essay__text li { font: 400 20px/1.7 'Newsreader', serif; color: var(--lp-body); }
.lp-essay__text p { margin: 0 0 22px; }
.lp-essay__text ul, .lp-essay__text ol { margin: 0 0 22px; padding-left: 24px; }
.lp-essay__text li { margin-bottom: 6px; }
.lp-essay__text h3 { margin: 48px 0 12px; font: 400 32px/1.2 'Newsreader', serif; color: var(--lp-ink); scroll-margin-top: 24px; }
.lp-essay__text h4 { margin: 28px 0 10px; font: 500 18px/1.35 'Jost', sans-serif; color: var(--lp-ink); }
.lp-essay__text img { display: block; max-width: 100%; height: auto; margin: 32px auto; border-radius: 12px; }
.lp-essay__text hr { margin: 40px 0; border: 0; border-top: 1px solid rgba(0, 0, 0, .12); }
.lp-bq { margin: 32px 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--lp-gold); }
.lp-bq p { margin: 0 0 8px !important; font: italic 300 24px/1.5 'Newsreader', serif !important; color: var(--lp-ink) !important; }
.lp-bq cite { font: 400 13px/1.4 'Jost', sans-serif; letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--lp-muted); }
.lp-ivid { position: relative; aspect-ratio: 16 / 9; margin: 32px 0; border-radius: 14px; overflow: hidden; background: #000; }
.lp-ivid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* A practice: the box Ryan's page drew, as a dark card that breaks out of the column a little */
.lp-band { margin: 40px -32px; padding: 32px; border-radius: 22px; background: radial-gradient(70% 90% at 100% 0%, var(--lp-deep2), transparent 70%), var(--lp-deep); color: var(--lp-light); scroll-margin-top: 24px; }
.lp-band p, .lp-band li { color: color-mix(in srgb, var(--lp-light) 88%, transparent) !important; font-size: 18px !important; }
.lp-band h3.lp-band__t { margin: 0 0 14px !important; color: #fff !important; font-size: 30px !important; }
.lp-band h4 { color: var(--lp-kick) !important; }
.lp-band a { color: var(--lp-kick); }
/* A guided practice's player */
.lp-rp { position: relative; margin: 24px 0; padding: 16px 18px 14px; border-radius: 20px; background: var(--lp-deep3); border: 1px solid color-mix(in srgb, var(--lp-gold) 35%, transparent); color: var(--lp-light); }
.lp-essay__text > .lp-rp { background: var(--lp-deep); }
.lp-rp__main { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.lp-rp__play { width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--lp-gold), color-mix(in srgb, var(--lp-gold) 60%, #fff)); color: var(--lp-deep); cursor: pointer; }
.lp-rp__play svg { width: 22px; height: 22px; fill: currentColor; }
.lp-rp__play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lp-rp__x { min-width: 0; }
.lp-rp__x small { display: block; font-size: 13px; color: color-mix(in srgb, var(--lp-light) 70%, transparent); }
.lp-rp__x b { display: block; font: 400 19px/1.25 'Newsreader', serif; color: #fff; }
.lp-rp__bar { position: relative; height: 22px; margin-top: 4px; }
.lp-rp__track, .lp-rp__fill { position: absolute; left: 0; top: 9px; height: 4px; border-radius: 2px; }
.lp-rp__track { right: 0; background: color-mix(in srgb, var(--lp-light) 18%, transparent); }
.lp-rp__fill { width: 0; background: var(--lp-gold); }
.lp-rp__bar .lp-range { position: absolute; inset: 0; width: 100%; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.lp-rp__bar .lp-range:focus-visible { opacity: 1; }
.lp-rp__t { font-size: 13px; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--lp-light) 70%, transparent); }
.lp-rp__cap { margin: 12px 0 0 !important; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .28); font: 300 19px/1.45 'Newsreader', serif !important; color: #fff !important; }
.lp-rp__cap.is-idle { color: color-mix(in srgb, var(--lp-light) 62%, transparent) !important; }
.lp-rp__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.lp-rp__card { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-left: auto; color: var(--lp-kick); text-decoration: none; font-size: 14px; }
.lp-rp__card .ilp-cf { width: 56px; transform: rotate(-3deg); transition: transform .2s; }
.lp-rp__card:hover .ilp-cf, .lp-rp__card:focus-visible .ilp-cf { transform: rotate(0); }
.lp-rp__embed { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lp-essay__notes { margin-top: 48px; max-width: 900px; }
/* The course map as a path: the ground, the Practice Hub's four Ups, into life; Beyond the Course as links */
.lp-way { display: grid; grid-template-columns: 210px minmax(0, 1fr) 210px; gap: 12px; margin-top: 26px; align-items: stretch; }
.lp-way__b { position: relative; display: flex; align-items: center; gap: 14px; min-height: 104px; height: 100%; padding: 22px 16px 16px; border-radius: 16px; border: 0; background: var(--lp-card); color: var(--lp-ink); text-align: left; cursor: pointer; overflow: hidden; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); font: inherit; }
.lp-way__b::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c); }
.lp-way__b.is-open { box-shadow: 0 0 0 2px var(--c), 0 12px 30px rgba(0, 0, 0, .1); }
.lp-way__b:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; }
.lp-hub { padding: 16px; border-radius: 20px; border: 1.5px solid var(--lp-gold); background: color-mix(in srgb, var(--lp-gold) 8%, transparent); }
.lp-hub__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.lp-hub__h .lp-kick { color: var(--lp-muted); }
.lp-hub__intro { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--lp-accent); }
.lp-hub__intro.is-here { text-decoration: none; color: var(--lp-ink); }
.lp-doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lp-beyond { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.lp-beyond .lp-kick { margin-right: 8px; color: var(--lp-muted); }
.lp-beyond__a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--lp-accent) 40%, transparent); color: var(--lp-accent); text-decoration: none; font-size: 15px; }
.lp-beyond__a:hover { background: color-mix(in srgb, var(--lp-gold) 18%, transparent); }
@container lp (max-width: 1100px) {
  .lp-essay { grid-template-columns: minmax(0, 720px); }
  .lp-toc { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .lp-toc .lp-kick { flex-basis: 100%; }
  .lp-toc a { padding: 4px 12px; border: 1px solid rgba(0, 0, 0, .1); }
  .lp-way { grid-template-columns: minmax(0, 1fr); }
}
@container lp (max-width: 760px) {
  .lp-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-band { margin: 32px -8px; padding: 22px 16px; }
  .lp-essay__text p, .lp-essay__text li { font-size: 18px; }
  .lp-essay__text h3 { font-size: 27px; }
  .lp-rp__main { grid-template-columns: 52px minmax(0, 1fr); }
  .lp-rp__t { grid-column: 2; }
  .lp-rp__card { margin-left: 0; }
  .lp-lotus { max-width: 220px; justify-self: center; }
}
/* A tile's progress ring and its words (FSM's expansions, Integral Dharma's path) */
.lp-exp__ring { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c) 0 var(--p, 0%), color-mix(in srgb, var(--c, #8E7BD8) 22%, #fff) var(--p, 0%) 100%); }
.lp-exp__ring::after { content: ""; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.lp-exp__x { display: flex; flex-direction: column; min-width: 0; }
.lp-exp__x small { font: 400 11px/1.3 'Jost', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--lp-muted); }
.lp-exp__x b { margin-top: 2px; font: 400 19px/1.2 'Newsreader', serif; color: var(--lp-ink); }
.lp-exp__x > span { margin-top: 2px; font-size: 13px; color: var(--lp-muted); }
.lp-door { flex-direction: column; align-items: flex-start; gap: 10px; }
.lp-way__stage { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
.lp-hub__intro { text-decoration: none; }
.lp-hub__intro:hover { text-decoration: underline; }
/* Your notes on the lesson, in line with the lesson */
.lp-essay__notes { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; justify-content: center; max-width: none; }
.lp-essay__notes > .lp-card { grid-column: 2; }
@container lp (max-width: 1100px) { .lp-essay__notes { grid-template-columns: minmax(0, 720px); } .lp-essay__notes > .lp-card { grid-column: 1; } }
/* Under the site's header the course bar starts with the course (no brand before it), on a phone too. */
.lp-nav__course { padding-left: 0; border-left: 0; letter-spacing: .04em; }
@container lp (max-width: 760px) { .lp-nav .lp-nav__course { display: inline-flex; } .lp-nav__in { min-height: 56px; } }
/* 44px to touch: the contents' links, a practice's seek bar */
.lp-toc a { min-height: 44px; }
.lp-rp__bar { height: 44px; margin-top: 0; }
.lp-rp__track, .lp-rp__fill { top: 20px; }
.lp-rp__bar .lp-range { height: 44px; }

/* (Corey 2026-11-21) Ryan reads the lesson: the paragraph being read lights up in the lesson itself. */
.lp-essay__text [data-at] { position: relative; border-radius: 6px; transition: background-color .4s ease, box-shadow .4s ease; }
.lp-essay__text .is-read { background: color-mix(in srgb, var(--lp-gold) 18%, transparent); box-shadow: 0 0 0 10px color-mix(in srgb, var(--lp-gold) 18%, transparent); }
.lp-band .is-read { background: rgba(227, 201, 143, .14); box-shadow: 0 0 0 10px rgba(227, 201, 143, .14); }
@media (prefers-reduced-motion: reduce) { .lp-essay__text [data-at] { transition: none; } }
/* "From here": in the margin beside the paragraph on a wide screen, above it on a narrow one */
.lp-from { position: absolute; left: -70px; top: -6px; display: inline-flex; align-items: center; gap: 4px; min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; border-radius: 22px;
  background: transparent; color: color-mix(in srgb, var(--lp-accent) 70%, transparent); font: 500 12px/1 'Jost', sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; opacity: .55; transition: opacity .2s, background-color .2s; }
.lp-from svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.lp-essay__text [data-at]:hover > .lp-from, .lp-from:focus-visible, .is-read > .lp-from { opacity: 1; }
.lp-from:hover { background: color-mix(in srgb, var(--lp-gold) 22%, transparent); }
.lp-from:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 2px; }
.lp-band .lp-from { color: var(--lp-kick); }
h3.has-from > .lp-from { top: 0; }
@container lp (max-width: 1100px) {
  .lp-from { position: static; display: flex; width: max-content; margin: 0 0 2px -8px; opacity: .8; }
  h3.has-from > .lp-from { margin-bottom: 4px; }
}
/* The reading's bar at the foot of the screen, while the player is out of sight */
.lp-mini { position: fixed; left: 50%; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 12px; width: min(620px, calc(100vw - 24px)); padding: 8px 10px 8px 8px;
  border-radius: 40px; background: var(--lp-deep); color: var(--lp-light); box-shadow: 0 16px 40px rgba(0, 0, 0, .35), 0 0 0 1px color-mix(in srgb, var(--lp-gold) 40%, transparent); transform: translateX(-50%); }
.lp-mini[hidden] { display: none; }
.lp-mini__play { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--lp-gold), color-mix(in srgb, var(--lp-gold) 60%, #fff)); color: var(--lp-deep); cursor: pointer; }
.lp-mini__play svg { width: 20px; height: 20px; fill: currentColor; }
.lp-mini__x { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lp-mini__x small { font-size: 12px; color: color-mix(in srgb, var(--lp-light) 70%, transparent); font-variant-numeric: tabular-nums; }
.lp-mini__x b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 16px/1.3 'Newsreader', serif; }
.lp-mini__go { flex: none; min-height: 44px; padding: 0 16px; color: var(--lp-light) !important; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--lp-light) 35%, transparent); background: transparent; }
/* The contents: always open beside the lesson; a menu that folds on a narrow screen */
.lp-toc__box > summary { display: none; }
.lp-toc__box { display: flex; flex-direction: column; gap: 2px; }
@container lp (max-width: 1100px) {
  .lp-toc { display: block; }
  .lp-toc__box { display: block; border-radius: 16px; background: var(--lp-card); border: 1px solid rgba(0, 0, 0, .08); }
  .lp-toc__box > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin: 0 !important; padding: 0 18px; cursor: pointer; list-style: none; color: var(--lp-ink); }
  .lp-toc__box > summary::-webkit-details-marker { display: none; }
  .lp-toc__box > summary small { font: 400 13px/1 'Jost', sans-serif; letter-spacing: 0; text-transform: none; color: var(--lp-muted); }
  .lp-toc__box > summary small::after { content: " ▾"; }
  .lp-toc__box[open] > summary small::after { content: " ▴"; }
  .lp-toc__box > a { display: flex; margin: 0 8px; border: 0 !important; }
  .lp-toc__box[open] { padding-bottom: 8px; }
}
.lp .lp-from, .lp .lp-from span { font: 500 12px/1 'Jost', sans-serif; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
/* (Corey 2026-11-21: "are we supposed to have two captions?") Whenever a video shows, its captions are on the video
   and the line under the player steps aside; listening, the line under the player is the caption. */
.lp-video { position: relative; }
.lp-player:not(.is-listening) .lp-video:not([hidden]) ~ .lp-cap, .lp-player:not(.is-listening):has(.lp-video:not([hidden])) .lp-cap { display: none; }

/* (Corey 2026-11-21: "maybe we just need row dividers between rows") A module's lessons in rows, left to right, with a
   hairline between rows. Every lesson draws a line above itself; the first row's lines sit just outside the list,
   hidden by it, so only the lines between rows show. */
.lp-lessons { overflow: hidden; padding: 0 8px 8px; column-gap: 6px; row-gap: 0; }
.lp-lessons > li { margin-top: -1px; padding-top: 7px; border-top: 1px solid color-mix(in srgb, var(--lp-ink) 10%, transparent); }
.lp-lessons > li:first-child { padding-top: 8px; }

/* (Corey 2026-11-21: "the cards can be improved, when we have so many on a page") The lesson's own cards as tiles; the
   cards it only practices too (their own lesson is elsewhere) as a slim row of small faces. */
.lp-cards { grid-column: 1; min-width: 0; }
.lp-cards h2 { margin: 6px 0 0; font: 300 32px/1.15 'Newsreader', serif; }
.lp-ctiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 20px; }
.lp-ctile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 18px 18px; border-radius: 20px; text-align: center; color: var(--lp-light);
  background: radial-gradient(80% 60% at 50% 0%, var(--lp-deep2), transparent 75%), var(--lp-deep); }
.lp-ctile__face { display: block; width: 132px; transform: rotate(-2deg); transition: transform .25s ease; }
.lp-ctile__face:hover, .lp-ctile__face:focus-visible { transform: rotate(0) translateY(-3px); }
.lp-ctile__face .ilp-cf { width: 100%; }
.lp-ctile h3 { margin: 4px 0 0; font: 400 21px/1.2 'Newsreader', serif; color: #fff; }
.lp-ctile p { margin: 0; font-size: 14.5px; line-height: 1.5; color: color-mix(in srgb, var(--lp-light) 80%, transparent);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lp-ctile__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.lp-ctile .lp-btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
.lp-ctile .lp-btn:not(.lp-btn--ghost) { background: linear-gradient(90deg, var(--lp-gold), color-mix(in srgb, var(--lp-gold) 70%, #fff)); color: var(--lp-deep) !important; box-shadow: none; }
.lp-ctile .lp-btn.is-on { background: transparent; color: var(--lp-gold) !important; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--lp-gold) 60%, transparent); }
.lp-ctile .lp-btn--ghost { background: transparent; color: var(--lp-light) !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.lp-also { margin-top: 24px; }
.lp-also .lp-kick { color: var(--lp-muted); }
.lp-also ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.lp-also__a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 16px 6px 8px; border-radius: 14px; background: var(--lp-card);
  border: 1px solid rgba(0, 0, 0, .08); color: var(--lp-ink); text-decoration: none; font: 400 17px/1.25 'Newsreader', serif; }
.lp-also__a:hover { border-color: var(--lp-gold); color: var(--lp-ink); }
.lp-also__a .ilp-cf { width: 40px; flex: none; }

/* Room for the site's pinned header (lesson.js pinnedTop() measures it into --lp-top) */
.lp-toc { top: calc(var(--lp-top, 0px) + 24px); max-height: calc(100vh - var(--lp-top, 0px) - 48px); }
.lp-essay__text h3, .lp-band, .lp-essay__text [id] { scroll-margin-top: 0; }   /* the page keeps the room (scroll-padding) */
.lp-ctile a.lp-ctile__face { width: 132px; min-height: 0; }
/* (Corey 2026-11-21: the times "aren't looking styled right in these sections") Inside a practice's dark box, "from
   here" sits on its own line above the paragraph, in the box's gold, not half over its edge. */
.lp-band .lp-from { position: static; display: flex; width: max-content; margin: 0 0 2px -8px; opacity: .85; color: var(--lp-kick); }
.lp-band .is-read > .lp-from, .lp-band .lp-from:hover { opacity: 1; background: rgba(255, 255, 255, .08); }

/* A module's name where it begins, in a list that holds several (Integral Dharma's ground: modules 1 and 2) */
.lp-lessons > li.lp-lessons__mod { grid-column: 1 / -1; padding: 16px 10px 6px; border-top: 0; font: 400 12px/1.4 'Jost', sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--lp-muted); }
.lp-lessons > li.lp-lessons__mod:not(:first-child) { margin-top: 10px; border-top: 1px solid color-mix(in srgb, var(--lp-ink) 16%, transparent); }
/* One notes card on an Integral Dharma lesson: the lesson's box, then the course's notes */
.lp-mine--lesson .lp-note { margin-top: 14px; }
.lp-mine--lesson .lp-mine__open { margin-top: 12px; }
.lp-essay__text img { float: none !important; }

/* A read-along with the page to itself (no side column): centered, at reading width */
.lp-cols--one { justify-content: center; }
/* A module taught by one teacher (The Fourth Turning): their face in the ring, their name under the title */
.lp-mod__ring--face { padding: 0; overflow: hidden; background: none; box-shadow: 0 0 0 3px var(--voice, var(--lp-gold)); }
.lp-mod__ring--face::before { display: none; }
.lp-mod__ring--face img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.lp-mod__who { font-size: 12.5px; line-height: 1.3; color: var(--lp-muted); }

/* (The Fourth Turning) The paintings in a written lesson: each a picture of its own, at the text's width */
.lp-essay__text img.lp-art { width: 100%; max-width: 640px; margin: 40px auto; border-radius: 14px; box-shadow: 0 18px 48px -24px rgba(0,0,0,.45); }
/* On a phone a module's long word ("Methodological") breaks with a hyphen instead of running into its neighbor */
@media (max-width: 480px) { .lp-mod__t { font-size: 11.5px; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; } }

/* (The Fourth Turning) A byline at the end of a written lesson */
.lp-essay__text .lp-sig { margin-top: 36px; font: italic 300 19px/1.4 'Newsreader', serif; color: var(--lp-muted); }
.lp-essay__text .lp-sig::before { content: ""; display: block; width: 48px; height: 1px; margin-bottom: 18px; background: var(--lp-gold); }

/* A written lesson's own questions in its notes card */
.lp-note--q { margin-top: 18px; }
.lp-note__q { display: block; margin-bottom: 8px; font: 400 19px/1.4 'Newsreader', serif; color: var(--lp-ink); }

/* A picture that opens full size, and its dialog */
.lp-zoomable { display: block; width: 100%; min-height: 44px; margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; }
.lp-zoomable img { display: block; width: 100%; height: auto; }
.lp-zoomable:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 4px; }
.lp-zoom { max-width: min(96vw, 1400px); max-height: 94vh; padding: 0; border: 0; border-radius: 16px; background: #fff; overflow: auto; }
.lp-zoom::backdrop { background: rgba(10, 8, 20, .78); }
.lp-zoom img { display: block; max-width: 100%; height: auto; }
.lp-zoom__x { position: sticky; top: 8px; float: right; width: 44px; height: 44px; margin: 8px 8px -52px 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; z-index: 1; }

/* The course home (templates/course-home-head.php): the course's hero, then where you are and one way on */
.lp-head--home { padding-bottom: 64px; }
.lp-head--home .lp-title { max-width: 16ch; }
.lp-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px 40px; align-items: center; margin-top: 40px; padding: 26px 28px; border-radius: 22px;
  background: color-mix(in srgb, var(--lp-light) 7%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lp-light) 16%, transparent); }
.lp-home .lp-kick { color: var(--lp-kick); margin: 0 0 8px; }
.lp-home__n { margin: 0 0 12px; font: 300 26px/1.2 'Newsreader', serif; color: var(--lp-light); }
.lp-home__bar { display: block; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--lp-light) 16%, transparent); overflow: hidden; }
.lp-home__bar span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--lp-btn-a, var(--lp-gold)), var(--lp-btn-b, var(--lp-gold))); }
.lp-home__go { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; padding: 20px 24px; border-radius: 18px; text-decoration: none;
  background: linear-gradient(120deg, var(--lp-btn-a, var(--lp-gold)), var(--lp-btn-b, var(--lp-gold))); color: #fff; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .6); transition: transform .2s ease; }
.lp-home__go:hover, .lp-home__go:focus-visible { transform: translateY(-2px); }
.lp-home__go:focus-visible { outline: 2px solid var(--lp-light); outline-offset: 3px; }
.lp-home__go small { display: block; font: 500 12px/1 'Jost', sans-serif; letter-spacing: .22em; text-transform: uppercase; opacity: .85; margin-bottom: 8px; }
.lp-home__go b { display: block; font: 400 24px/1.2 'Newsreader', serif; }
.lp-home__go em { display: block; margin-top: 6px; font: 400 14px/1.3 'Jost', sans-serif; font-style: normal; opacity: .8; }
.lp-home__go svg { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@container lp (max-width: 760px) { .lp-home { grid-template-columns: minmax(0, 1fr); padding: 20px; } .lp-home__go b { font-size: 21px; } }
.lp .lp-home__go { color: #fff; }   /* over .lp a */
/* (FSM) Its buttons take the lesson's level color; the home has no level: the course's violet */
.lp--fsm .lp-home__go, .lp--fsm .lp-home__bar span { background: linear-gradient(120deg, #3B2A6B, #6A4FC0); }
