/* ========================================================================
   beHired — course reader styles (lessons, figures, locks, buy banner)
   Reader-only. Shared tokens/classes live in styles.css / components.css.
   ======================================================================== */

/* ---------- LESSON SHELL ---------- */
.po-lesson { padding-block: clamp(28px, 5vw, 56px) clamp(48px, 7vw, 96px); }
.po-lesson-head { text-align: left; margin-bottom: clamp(28px, 4vw, 44px); }
.po-lesson-free { display: inline-flex; align-items: center; margin-left: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--grow); background: var(--grow-soft); padding: 3px 9px; border-radius: 999px; vertical-align: middle; }
.po-lesson-kick { display: inline-flex; align-items: center; gap: 7px; }
.po-lesson-head h1 { font-size: clamp(32px, 5.2vw, 58px); margin-top: 16px; text-wrap: balance; line-height: 1.02; }
.po-lesson-subtitle { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); margin-top: 20px; max-width: 60ch; text-wrap: pretty; }
.po-lesson-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.po-lesson-chip { font-size: 11.5px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); }
.po-lesson-build { display: flex; gap: 11px; align-items: flex-start; margin-top: 26px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--grow-soft); border: 1px solid transparent; font-size: 15.5px; color: var(--ink); }
.po-lesson-build svg { color: var(--grow); flex: none; margin-top: 2px; }
.po-lesson-build b { color: var(--ink); }

.po-lesson-body { max-width: 760px; margin-inline: auto; margin-top: clamp(36px, 5vw, 64px); }
.po-lesson-missing { text-align: center; padding: 80px 0; display: grid; gap: 20px; place-items: center; }

/* sections */
.po-lesson-sec { margin-bottom: clamp(48px, 7vw, 84px); }
.po-lesson-eyebrow { display: inline-flex; align-items: baseline; gap: 9px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.po-lesson-eyebrow b { font-size: 13px; padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.po-lesson-title { font-size: clamp(24px, 3.2vw, 36px); margin-top: 14px; text-wrap: balance; }
.po-lesson-lead { font-size: clamp(16.5px, 1.4vw, 19px); color: var(--ink-2); margin-top: 16px; }
.po-lesson-p { font-size: 16.5px; line-height: 1.66; color: var(--ink); margin-top: 18px; }
.po-lesson-p strong { font-weight: 700; }
.po-lesson-h { font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); font-weight: 600; margin-top: 34px; letter-spacing: -0.01em; }
.po-lesson-ul { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.po-lesson-ul li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; line-height: 1.55; color: var(--ink); }
.po-lesson-ul svg { color: var(--grow); flex: none; margin-top: 3px; }
.po-lesson-ul b { font-weight: 700; }
.po-lesson-kicker { font-family: var(--font-display); font-size: clamp(18px, 2.1vw, 23px); font-weight: 600; line-height: 1.25; color: var(--ink); margin-top: 30px; padding-left: 18px; border-left: 3px solid var(--accent); text-wrap: balance; }

.po-lesson-foot { margin-top: 20px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.po-lesson-foot > span { font-size: 11.5px; letter-spacing: 0.12em; color: var(--ink-3); }
.po-lesson-next { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--accent); text-wrap: balance; }
.po-lesson-next svg { flex: none; transition: transform .2s; }
.po-lesson-next:hover svg { transform: translateX(4px); }

/* ---------- CALLOUTS ---------- */
.po-callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); margin: 26px 0; }
.po-callout-ic { color: var(--accent); flex: none; margin-top: 1px; }
.po-callout p { font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.po-callout-t { display: block; margin-bottom: 4px; }
.po-callout--insight { border-left: 3px solid var(--accent); }
.po-callout--warning { border-left: 3px solid var(--accent); background: var(--accent-soft); }
.po-callout--quote { border-left: 3px solid var(--grow); background: var(--surface-2); }
.po-callout--quote .po-callout-ic { color: var(--grow); }
.po-callout--quote p { font-style: italic; font-size: 16px; }

/* ---------- THE FOUR LIES ---------- */
.po-lie-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.po-lie { padding: 18px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.po-lie-n { position: absolute; top: 14px; right: 16px; font-size: 12px; color: var(--ink-3); }
.po-lie-claim { font-family: var(--font-display); font-size: 16.5px; padding-right: 26px; }
.po-lie-grain { font-size: 13.5px; color: var(--ink-3); }
.po-lie-grain em { color: var(--grow); font-style: normal; font-weight: 600; }
.po-lie-trap { font-size: 14.5px; color: var(--ink); line-height: 1.5; }

/* ---------- THREE REASONS ---------- */
.po-reasons { display: grid; gap: 14px; margin-top: 22px; }
.po-reason { padding: 20px 22px; }
.po-reason-head { display: flex; gap: 14px; align-items: flex-start; }
.po-reason-n { font-size: 13px; font-weight: 700; color: oklch(0.99 0 0); background: var(--accent); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.po-reason-head h4 { font-family: var(--font-display); font-size: 18px; line-height: 1.25; }
.po-reason-body { margin-top: 12px; display: grid; gap: 9px; }
.po-reason-vignette, .po-reason-check { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.po-reason-vignette b, .po-reason-check b { color: var(--ink); }
.po-reason-fix { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px; transition: background .18s; }
.po-reason-fix:hover { background: var(--accent); color: oklch(0.99 0 0); }

/* ---------- DECODE ROWS ---------- */
.po-decode { display: grid; gap: 12px; margin-top: 22px; }
.po-decode-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.po-decode-worry { display: flex; gap: 8px; align-items: flex-start; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink); }
.po-decode-worry svg { color: var(--accent); flex: none; margin-top: 2px; }
.po-decode-signal { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.po-decode-signal b { color: var(--grow); }

/* ---------- SIX SIGNALS (detail cards) ---------- */
.po-signals { display: grid; gap: 14px; margin-top: 22px; }
.po-signal { padding: 20px 22px; }
.po-signal-head { display: flex; gap: 14px; align-items: center; }
.po-signal-n { font-size: 14px; font-weight: 700; color: oklch(0.99 0 0); background: var(--ink); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.po-signal-head h4 { font-family: var(--font-display); font-size: 18px; }
.po-signal p { font-size: 14.5px; line-height: 1.55; margin-top: 10px; color: var(--ink-2); }
.po-signal-what { color: var(--ink); }
.po-signal-why b, .po-signal-fix b { color: var(--ink); }
.po-signal-fix b { color: var(--grow); }
.po-signal-ba { margin-top: 14px; display: grid; gap: 8px; }
.po-signal-b, .po-signal-a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; font-size: 13.5px; padding: 9px 12px; border-radius: 8px; }
.po-signal-b { background: var(--accent-soft); }
.po-signal-a { background: var(--grow-soft); }
.po-signal-b .mono, .po-signal-a .mono { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; padding-top: 1px; }
.po-signal-b .mono { color: var(--accent); }
.po-signal-a .mono { color: var(--grow); }

/* ---------- TABLES ---------- */
.po-table-wrap { margin-top: 22px; overflow-x: auto; }
.po-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.po-table th { text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; padding: 10px 14px; border-bottom: 1.5px solid var(--line); }
.po-table td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); vertical-align: top; line-height: 1.45; }
.po-table-lead { color: var(--ink); font-weight: 600; }
.po-table tr:last-child td { border-bottom: none; }
.po-table-note { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; line-height: 1.5; }

/* ---------- FIGURES ---------- */
.po-fig { margin: 30px 0; }
.po-fig-cap { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; text-align: center; line-height: 1.5; }
.po-schema { width: 100%; }

/* Funnel */
.po-fn { display: flex; flex-direction: column; gap: 16px; }
.po-fn-stack { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.po-fn-row { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; }
.po-fn-bar { display: flex; justify-content: center; align-items: center; min-width: 120px; padding: 12px 16px; border-radius: 10px; color: oklch(0.99 0 0); background: linear-gradient(90deg, var(--accent), var(--accent-press)); box-shadow: var(--shadow-sm); }
.po-fn-bar.is-end { background: var(--grow); }
.po-fn-bar b { font-family: var(--font-display); font-size: 18px; }
.po-fn-lbl { font-size: 12.5px; color: var(--ink-2); }
.po-fn-lane { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: center; padding: 12px 16px; border: 1px dashed var(--accent); border-radius: var(--radius-sm); background: var(--accent-soft); }
.po-fn-lane-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--accent); }
.po-fn-lane-note { font-size: 13px; color: var(--ink-2); }

/* Channel bars */
.po-cb { display: grid; gap: 12px; }
.po-cb-row { display: grid; grid-template-columns: 168px 1fr 150px; gap: 14px; align-items: center; }
.po-cb-lbl { font-size: 14px; font-weight: 600; color: var(--ink); }
.po-cb-track { height: 14px; background: var(--line); border-radius: 999px; overflow: hidden; }
.po-cb-fill { height: 100%; border-radius: 999px; transition: width .6s cubic-bezier(.3,.8,.3,1); }
.po-cb-cold { background: var(--ink-3); }
.po-cb-warm { background: var(--accent); }
.po-cb-hot { background: var(--grow); }
.po-cb-note { font-size: 12px; color: var(--ink-3); }

/* Three gates */
.po-gates { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; justify-content: center; }
.po-gate { flex: 1; min-width: 168px; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 18px 14px; text-align: center; }
.po-gate-n { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.po-gate-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.po-gate strong { font-family: var(--font-display); font-size: 16px; }
.po-gate-sym { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.po-gate-fix { font-size: 11px; color: var(--grow); background: var(--grow-soft); padding: 3px 9px; border-radius: 999px; margin-top: 2px; }
.po-gate-arrow { display: grid; place-items: center; color: var(--ink-3); flex: none; align-self: center; }

/* Weekly loop */
.po-loop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: center; }
.po-loop-node { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 116px; padding: 14px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-align: center; }
.po-loop-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.po-loop-lbl { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.po-loop-arrow { color: var(--ink-3); flex: none; }
.po-loop-repeat { display: inline-flex; align-items: center; gap: 6px; width: 100%; justify-content: center; margin-top: 6px; font-size: 12px; color: var(--grow); }

/* Locus flip */
.po-locus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.po-locus-col { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.po-locus-out { background: var(--accent-soft); }
.po-locus-in { background: var(--grow-soft); }
.po-locus-h { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.po-locus-out .po-locus-h { color: var(--accent); }
.po-locus-in .po-locus-h { color: var(--grow); }
.po-locus-item { font-size: 13.5px; color: var(--ink); padding: 7px 10px; background: var(--surface); border-radius: 7px; }
.po-locus-mid { color: var(--ink-3); display: grid; place-items: center; }

/* Three readers */
.po-readers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.po-reader { display: flex; flex-direction: column; gap: 7px; padding: 18px; }
.po-reader-top { display: flex; align-items: center; justify-content: space-between; }
.po-reader-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.po-reader-time { font-size: 11px; color: var(--ink-3); }
.po-reader strong { font-family: var(--font-display); font-size: 16px; }
.po-reader-who { font-size: 12.5px; color: var(--ink-3); }
.po-reader-wants { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.po-reader-wants em { color: var(--ink); font-style: normal; font-weight: 600; }

/* Before/after bullet */
.po-bab { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.po-bab-toggle { align-self: flex-start; }
.po-bab-line { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; animation: detailIn .35s ease; }
.po-bab-mark { flex: none; margin-top: 2px; }
.po-bab-line.bad .po-bab-mark { color: var(--accent); }
.po-bab-line.good .po-bab-mark { color: var(--grow); }
.po-bab-line.bad .po-bab-text { color: var(--ink-2); }
.po-bab-issue { font-size: 12.5px; color: var(--accent); font-weight: 600; }
.po-bab-run { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-body); font-weight: 600; font-size: 13.5px; color: var(--accent); background: var(--accent-soft); border: none; padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.po-bab-run:hover { background: var(--accent); color: oklch(0.99 0 0); }

/* Impact formula */
.po-formula { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; justify-content: center; }
.po-formula-chip { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); min-width: 120px; text-align: center; }
.po-formula-chip b { font-family: var(--font-display); font-size: 15px; }
.po-formula-chip span { font-size: 11.5px; color: var(--ink-3); }
.po-formula-chip.is-accent { background: var(--accent); border-color: var(--accent); }
.po-formula-chip.is-accent b, .po-formula-chip.is-accent span { color: oklch(0.99 0 0); }
.po-formula-op { display: grid; place-items: center; color: var(--ink-3); flex: none; }

/* Six signals annotated */
.po-six { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.po-six-doc { padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.po-six-docline { height: 9px; border-radius: 4px; background: var(--line); width: 100%; }
.po-six-docline-wide { width: 70%; height: 13px; background: var(--ink-3); }
.po-six-docline-mid { width: 50%; }
.po-six-docrule { height: 1px; background: var(--line); margin: 4px 0; }
.po-six-right { display: grid; gap: 14px; }
.po-six-pins { display: flex; flex-wrap: wrap; gap: 8px; }
.po-six-pin { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-family: var(--font-body); font-size: 13px; color: var(--ink-2); transition: all .16s; }
.po-six-pin:hover { border-color: var(--accent); color: var(--ink); }
.po-six-pin.on { background: var(--accent); border-color: var(--accent); color: oklch(0.99 0 0); }
.po-six-pin-n { font-size: 11px; font-weight: 700; }
.po-six-detail { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 6px; animation: detailIn .3s ease; }
.po-six-detail-n { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--accent); }
.po-six-detail strong { font-family: var(--font-display); font-size: 16px; }
.po-six-detail p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* Keyword meter */
.po-meter { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.po-meter p { font-size: 13.5px; color: var(--ink-2); text-align: center; max-width: 34ch; }
.po-meter-num { font-family: var(--font-display); font-size: 48px; font-weight: 700; color: var(--accent); }

/* Resume rebuild */
.po-rb { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.po-rb-toggle { align-self: center; }
.po-rb-paper { width: 100%; max-width: 560px; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; animation: detailIn .35s ease; }
.po-rb-paper.bad { border-color: var(--accent); }
.po-rb-paper.good { border-color: var(--grow); }
.po-rb-head { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.po-rb-photo { width: 44px; height: 44px; border-radius: 8px; background: var(--line); color: var(--ink-3); display: grid; place-items: center; flex: none; }
.po-rb-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.po-rb-id strong { font-family: var(--font-display); font-size: 18px; }
.po-rb-contact { font-size: 12px; color: var(--ink-2); word-break: break-word; }
.po-rb-extra { font-size: 12px; }
.po-rb-paper.bad .po-rb-extra { color: var(--accent); }
.po-rb-paper.good .po-rb-extra { color: var(--grow); font-weight: 600; }
.po-rb-role { display: flex; flex-direction: column; gap: 4px; }
.po-rb-role-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.po-rb-role-top b { font-family: var(--font-display); font-size: 14.5px; }
.po-rb-role-top .mono { font-size: 11px; color: var(--ink-3); flex: none; }
.po-rb-company { font-size: 12.5px; color: var(--ink-2); }
.po-rb-role ul { list-style: none; margin-top: 4px; display: grid; gap: 4px; }
.po-rb-role li { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; padding-left: 12px; position: relative; }
.po-rb-role li::before { content: "—"; position: absolute; left: 0; color: var(--ink-3); }
.po-rb-paper.good .po-rb-role li { color: var(--ink); }
.po-rb-skills { font-size: 12px; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
.po-rb-skills b { color: var(--ink); }
.po-rb-verdict { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.po-rb-verdict.bad { color: var(--accent); background: var(--accent-soft); }
.po-rb-verdict.good { color: var(--grow); background: var(--grow-soft); }

/* ---------- ASSIGNMENT ---------- */
.po-assignment { margin-top: 8px; }
.po-assignment-card { padding: clamp(24px, 3.5vw, 38px); border: 1.5px solid var(--accent); position: relative; overflow: hidden; }
.po-assignment-tag { display: inline-flex; align-items: center; gap: 7px; }
.po-assignment-card h2 { font-size: clamp(22px, 2.8vw, 30px); margin-top: 12px; }
.po-assignment-intro { font-size: 16px; color: var(--ink-2); margin-top: 12px; line-height: 1.6; }
.po-assignment-steps { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.po-assignment-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; }
.po-assignment-n { font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.po-assignment-steps b { color: var(--ink); }

/* ---------- SOFT BUY BANNER ---------- */
.po-buybar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; border-radius: var(--radius); background: var(--ink); color: var(--canvas); box-shadow: var(--shadow); }
.po-buybar--inline { margin-top: 40px; }
.po-buybar-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.po-buybar-copy strong { font-family: var(--font-display); font-size: 17px; color: var(--canvas); }
.po-buybar-copy span { font-size: 13.5px; color: var(--night-ink-2); }
.po-buybar-copy .mono { color: var(--canvas); }
.po-buybar-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.po-buybar-x { background: transparent; border: none; color: var(--night-ink-2); cursor: pointer; padding: 6px; border-radius: 7px; display: grid; place-items: center; }
.po-buybar-x:hover { background: oklch(1 0 0 / 0.1); color: var(--canvas); }
.po-buybar--sticky { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 45; width: min(680px, calc(100% - 32px)); }

/* ---------- LOCKED MODULE ---------- */
.po-locked { padding: clamp(22px, 3vw, 32px); position: relative; display: flex; flex-direction: column; gap: 10px; border-style: dashed; }
.po-locked-badge { position: absolute; top: 16px; right: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--ink-3); background: var(--halo); padding: 5px 10px; border-radius: 999px; }
.po-locked-track { display: inline-flex; }
.po-locked h3 { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 24px); margin-top: 4px; padding-right: 80px; }
.po-locked-sub { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.po-locked-list { list-style: none; display: grid; gap: 9px; margin-top: 6px; }
.po-locked-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); filter: blur(0.4px); opacity: 0.85; }
.po-locked-list svg { color: var(--ink-3); flex: none; margin-top: 2px; }
.po-locked-cta { align-self: flex-start; margin-top: 8px; }

/* ---------- LESSON SHELL + LEFT MODULE SIDEBAR ---------- */
.po-lesson-shell { margin-top: clamp(16px, 3vw, 28px); }
.po-lesson-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.po-lesson-col { min-width: 0; }
.po-lesson-aside { position: sticky; top: 88px; align-self: start; }

/* the sidebar: all six modules, current one expanded into its sections */
.po-mnav-rail { display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.po-mnav-head { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding: 4px 8px 8px; }
.po-mnav-list { list-style: none; display: flex; flex-direction: column; gap: 1px; }
.po-mnav-mod { display: flex; flex-direction: column; }
.po-mnav-modlink { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px; color: var(--ink-2); transition: background .15s, color .15s; }
.po-mnav-modlink:hover { background: var(--surface-2); color: var(--ink); }
/* current module is a button that collapses/expands its section submenu */
.po-mnav-modtoggle { width: 100%; border: 0; background: none; font: inherit; cursor: pointer; text-align: left; }
.po-mnav-chev { margin-left: auto; display: inline-flex; color: var(--ink-3); flex: none; transition: transform .2s ease; }
.po-mnav-modtoggle[aria-expanded="true"] .po-mnav-chev { transform: rotate(180deg); }
.po-mnav-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--ink-3); transition: background .15s, color .15s; }
.po-mnav-modlink:hover .po-mnav-ic { color: var(--ink); }
.po-mnav-mtxt { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.po-mnav-mtxt b { font-size: 10.5px; color: var(--ink-3); }
.po-mnav-mlbl { font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* done modules — green tick + tint */
.po-mnav-mod.is-done .po-mnav-ic { background: var(--grow-soft); color: var(--grow); }
.po-mnav-mod.is-done .po-mnav-mtxt b { color: var(--grow); }
/* current module — accent highlight */
.po-mnav-mod.is-now > .po-mnav-modlink { background: var(--accent-soft); }
.po-mnav-mod.is-now .po-mnav-ic { background: var(--accent); color: oklch(0.99 0 0); }
.po-mnav-mod.is-now .po-mnav-mtxt b { color: var(--accent); }
.po-mnav-mod.is-now .po-mnav-mlbl { color: var(--accent); }
.po-mnav-mod.is-now .po-mnav-chev { color: var(--accent); }
/* thin read-progress under the current module */
.po-mnav-prog { height: 3px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 4px 10px 2px; }
.po-mnav-prog span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--grow), var(--accent)); transition: width .15s linear; }
/* nested section submenu (reuses .po-map-* item styles below) */
.po-mnav-secs { list-style: none; display: flex; flex-direction: column; gap: 2px; padding: 2px 0 8px 16px; margin-left: 14px; border-left: 1px solid var(--line); }

.po-map-phase { font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); font-weight: 700; padding: 11px 8px 4px; }
.po-map-item { display: flex; align-items: flex-start; gap: 9px; width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 6px 9px; border-radius: 7px; color: var(--ink-3); font-family: inherit; font-size: 12.5px; line-height: 1.3; transition: background .15s, color .15s; }
.po-map-item:hover:not(:disabled) { background: var(--surface-2); color: var(--ink); }
.po-map-item.on { color: var(--accent); background: var(--accent-soft); }
/* locked sections are disabled until the reader clicks "Keep reading" — dimmed,
   non-interactive, no hover (the See-more button is the single unlock action) */
.po-map-item.locked, .po-map-item:disabled { opacity: 0.45; cursor: not-allowed; }
.po-map-n { font-size: 10.5px; color: var(--ink-3); flex: none; min-width: 16px; padding-top: 1px; display: inline-flex; }
.po-map-item.on .po-map-n { color: var(--accent); }
.po-map-lbl { flex: 1; min-width: 0; }

/* locked-but-tappable row inside the mobile Contents sheet (unlock entry point) */
.po-map-item.locked.is-unlockable { cursor: pointer; }
.po-map-item.locked.is-unlockable svg { color: var(--ink-3); margin-left: auto; flex: none; }

/* ---------- MOBILE READER NAV (≤1024px): sticky bottom bar + Contents sheet ---------- */
/* hidden on desktop; the desktop left rail handles navigation there */
.po-bnav { display: none; }
.po-sheet-scrim { display: none; }

@media (max-width: 1024px) {
  /* sticky bottom bar — reachable at any scroll depth */
  .po-bnav { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; z-index: 48;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: oklch(0.99 0.005 80 / 0.9);
    -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--line); }
  [data-mode="dark"] .po-bnav { background: oklch(0.2 0.018 264 / 0.9); }
  .po-bnav-row { display: flex; align-items: stretch; gap: 6px; }
  /* enroll CTA that appears once the reader hits the bottom of the free content */
  .po-bnav-enroll { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; padding: 11px 14px;
    background: var(--accent); color: oklch(0.99 0 0); border-radius: 12px; font-size: 14px; font-weight: 700; box-shadow: 0 8px 22px -10px var(--accent); }
  .po-bnav-arrow { flex: none; width: 48px; display: grid; place-items: center; border-radius: 12px; color: var(--ink-2); background: var(--surface-2); }
  .po-bnav-arrow:hover { color: var(--ink); }
  .po-bnav-arrow.is-disabled { opacity: 0.35; pointer-events: none; }
  .po-bnav-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; position: relative; border: none; cursor: pointer;
    background: var(--surface-2); border-radius: 12px; padding: 9px 14px; font-family: inherit; color: var(--ink); overflow: hidden; }
  .po-bnav-open > svg { color: var(--accent); flex: none; }
  .po-bnav-label { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; }
  .po-bnav-mod { max-width: 100%; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .po-bnav-mod b { color: var(--ink-3); margin-right: 5px; font-size: 11.5px; }
  .po-bnav-sec { max-width: 100%; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .po-bnav-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
  .po-bnav-prog span { display: block; height: 100%; background: linear-gradient(90deg, var(--grow), var(--accent)); transition: width .15s linear; }

  /* the Contents sheet (slides up over everything, incl. the top navbar) */
  .po-sheet-scrim { display: block; position: fixed; inset: 0; z-index: 60; background: oklch(0.2 0.02 264 / 0.45); animation: po-fade .2s ease; }
  .po-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: min(78vh, 560px); display: flex; flex-direction: column;
    background: var(--surface); border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px -12px oklch(0.2 0.02 264 / 0.4);
    padding-bottom: env(safe-area-inset-bottom); animation: po-slideup .28s cubic-bezier(.2,.7,.2,1); }
  .po-sheet-handle { width: 36px; height: 4px; border-radius: 999px; background: var(--line); margin: 10px auto 4px; flex: none; }
  .po-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px 10px; }
  .po-sheet-head strong { font-family: var(--font-display); font-size: 17px; }
  .po-sheet-close { background: var(--surface-2); border: none; cursor: pointer; color: var(--ink-2); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
  .po-sheet-close:hover { color: var(--ink); }
  .po-sheet-head { border-bottom: 1px solid var(--line); }
  .po-sheet-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 12px 16px; }
  .po-sheet-mods { list-style: none; display: flex; flex-direction: column; gap: 2px; }
  .po-bnav-now { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }
  /* generous touch targets in the sheet */
  .po-sheet-body .po-map-item { min-height: 44px; align-items: center; font-size: 14px; }
  .po-sheet-mods .po-mnav-modlink { min-height: 48px; }

  /* reserve space so the final "Mark complete" button isn't hidden behind the bar */
  .po-lesson-col { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@keyframes po-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes po-slideup { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .po-sheet { animation: po-fade .2s ease; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .po-bnav { background: var(--surface); }
}

/* ---------- SEE MORE gate ----------
   The tail of the last free section fades fully into the page so it visibly
   "disappears" — making it obvious the rest is hidden and you click to read on.
   The button is the single focal action; no competing panel after it. */
.po-seemore { position: relative; margin-top: -184px; padding-top: 208px; display: flex; flex-direction: column; align-items: center; gap: 11px; }
.po-seemore-fade { position: absolute; left: 0; right: 0; top: 0; height: 184px; background: linear-gradient(to bottom, transparent, var(--canvas) 72%); pointer-events: none; }
.po-seemore-btn { font-size: 15.5px; padding-block: 13px; box-shadow: 0 10px 30px -10px var(--accent); }
.po-seemore-note { font-size: 12px; color: var(--ink-3); }
/* secondary "buy the full course" link under the free Keep-reading button (modules 2–6) */
.po-seemore-buy { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--accent); border: 1px solid var(--accent); padding: 8px 16px; border-radius: 999px; transition: background .15s; }
.po-seemore-buy:hover { background: var(--accent-soft); }

/* ---------- KEY POINTS conclusion ---------- */
.po-takeaways { margin-top: 8px; margin-bottom: clamp(40px, 6vw, 72px); }
.po-takeaways-card { padding: clamp(22px, 3vw, 32px); border: 1.5px solid var(--grow); background: var(--grow-soft); }
.po-takeaways-tag { display: inline-flex; align-items: center; gap: 7px; color: var(--grow); }
.po-takeaways-card ul { list-style: none; display: grid; gap: 11px; margin-top: 16px; }
.po-takeaways-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.po-takeaways-card svg { color: var(--grow); flex: none; margin-top: 3px; }

@media (max-width: 1024px) {
  .po-lesson-grid { grid-template-columns: minmax(0, 1fr); }
  .po-lesson-aside { display: none; }
}

/* ---------- MARK COMPLETE ---------- */
.po-complete { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.po-complete-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--grow); background: var(--grow-soft); padding: 7px 13px; border-radius: 999px; }

/* course-home completed marker + free badge */
.po-modcard-n { display: inline-flex; align-items: center; }
.po-modcard.is-done { border-color: var(--grow); }
.po-modcard-done { display: inline-flex; width: 16px; height: 16px; border-radius: 50%; background: var(--grow); color: oklch(0.99 0 0); align-items: center; justify-content: center; margin-left: 7px; }
.po-modcard-free { display: inline-flex; align-items: center; margin-left: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--grow); background: var(--grow-soft); padding: 3px 8px; border-radius: 999px; }

/* ---------- landing entry points ---------- */
.po-syllabus-preview { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 12.5px; font-weight: 600; color: var(--accent); transition: gap .18s; }
.po-syllabus-preview:hover { gap: 11px; }
/* the pricing section (.po-buy) is dark navy — a ghost button needs light ink/border */
.po-buy .btn-ghost { color: oklch(0.97 0.006 80); border-color: oklch(1 0 0 / 0.28); }
.po-buy .btn-ghost:hover { border-color: oklch(1 0 0 / 0.5); background: oklch(1 0 0 / 0.08); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 820px) {
  .po-readers { grid-template-columns: 1fr; }
  .po-six { grid-template-columns: 1fr; }
  .po-six-doc { max-width: 320px; margin-inline: auto; }
}
@media (max-width: 680px) {
  .po-lie-grid { grid-template-columns: 1fr; }
  .po-decode-row { grid-template-columns: 1fr; gap: 8px; }
  .po-cb-row { grid-template-columns: 1fr; gap: 6px; }
  .po-cb-note { margin-top: 2px; }
  .po-buybar { flex-direction: column; align-items: stretch; text-align: center; }
  .po-buybar-actions { justify-content: center; }
  .po-buybar--sticky { bottom: 10px; }
  .po-signal-b, .po-signal-a { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 600px) {
  /* reading rhythm + edge padding */
  .po-lesson-shell { margin-top: 12px; }
  .po-lesson-sec { margin-bottom: clamp(40px, 9vw, 56px); }
  .po-lesson-build { padding: 14px 15px; }
  .po-callout { padding: 15px 16px; gap: 11px; }
  .po-signal, .po-reason { padding: 18px 16px; }
  .po-assignment-card, .po-takeaways-card { padding: 20px 16px; }

  /* resume role header stacks (long title + dates) */
  .po-rb-role-top { flex-direction: column; align-items: flex-start; gap: 2px; }
  .po-rb-paper { padding: 18px 16px; }

  /* tables: smaller cells, smooth horizontal scroll */
  .po-table-wrap { -webkit-overflow-scrolling: touch; }
  .po-table th, .po-table td { padding: 9px 10px; font-size: 13px; }
}

/* ---------- CHECKOUT / PAYMENT PAGE (#/checkout, #/success) ---------- */
.po-pay { padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 110px); }
.po-pay-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: clamp(24px, 4vw, 40px); transition: color .15s; }
.po-pay-back:hover { color: var(--accent); }
.po-pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.po-pay-intro .eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.po-pay-intro h1 { font-size: clamp(30px, 4.6vw, 52px); margin-top: 14px; line-height: 1.04; text-wrap: balance; }
.po-pay-intro > p { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); margin-top: 16px; max-width: 52ch; text-wrap: pretty; }
/* curriculum preview on the enroll page */
.po-pay-curric { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(16px, 2.4vw, 22px); }
.po-pay-curric-h { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.po-pay-mods { list-style: none; display: flex; flex-direction: column; }
.po-pay-mods li + li { border-top: 1px solid var(--line); }
.po-pay-mod { display: flex; align-items: center; gap: 13px; padding: 11px 10px; margin: 1px -6px; border-radius: 10px; transition: background .15s; }
.po-pay-mod:hover { background: var(--surface-2); }
.po-pay-mod-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.po-pay-mod-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.po-pay-mod-txt b { font-size: 14.5px; color: var(--ink); }
.po-pay-mod-txt b .mono { color: var(--ink-3); margin-right: 6px; font-size: 11.5px; }
.po-pay-mod-txt span { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.po-pay-mod-go { flex: none; color: var(--ink-3); opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s, color .15s; }
.po-pay-mod:hover .po-pay-mod-go { opacity: 1; transform: translateX(0); color: var(--accent); }

.po-pay-incl { list-style: none; margin-top: 22px; display: grid; gap: 11px; }
.po-pay-incl li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; color: var(--ink); line-height: 1.45; }
.po-pay-incl svg { color: var(--grow); flex: none; margin-top: 3px; }
.po-pay-trust { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; font-size: 12px; color: var(--ink-3); }
.po-pay-trust svg { color: var(--ink-3); }
.po-pay-card-feats { list-style: none; display: grid; gap: 8px; margin: 4px 0 4px; }
.po-pay-card-feats li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.po-pay-card-feats svg { color: var(--grow); flex: none; }

.po-pay-card { position: sticky; top: 90px; padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.po-pay-tag { font-size: 11px; letter-spacing: 0.04em; color: var(--ink-3); }
.po-pay-price { display: flex; align-items: baseline; gap: 10px; }
.po-pay-price b { font-family: var(--font-display); font-size: clamp(40px, 6vw, 54px); line-height: 1; color: var(--ink); }
.po-pay-cur { display: flex; flex-direction: column; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.po-pay-cur em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.po-pay-btn { width: 100%; justify-content: center; font-size: 16px; padding-block: 14px; }
.po-pay-btn:disabled { opacity: 0.7; cursor: progress; }
/* sign-in-required step (must sign in before paying) */
.po-pay-signin { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px; border: 1px dashed var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.po-pay-signin-note { font-size: 13px; color: var(--ink-2); line-height: 1.5; text-align: center; display: flex; align-items: flex-start; gap: 7px; }
.po-pay-signin-note svg { color: var(--accent); flex: none; margin-top: 2px; }
.po-pay-as { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--grow); justify-content: center; }
.po-pay-error { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--accent); background: var(--accent-soft); padding: 9px 12px; border-radius: var(--radius-sm); }
.po-pay-secure { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-3); justify-content: center; }
.po-pay-secure svg { color: var(--ink-3); }

/* success / processing card */
.po-pay-done { max-width: 560px; margin-inline: auto; text-align: center; padding: clamp(32px, 5vw, 52px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.po-pay-confirming { color: var(--ink-3); }
.po-pay-check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--grow-soft); color: var(--grow); }
.po-pay-check-wait { background: var(--accent-soft); color: var(--accent); }
.po-pay-done h1 { font-size: clamp(28px, 4vw, 40px); }
.po-pay-done p { color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 44ch; }
.po-pay-done .btn { margin-top: 8px; }

@media (max-width: 820px) {
  .po-pay-grid { grid-template-columns: minmax(0, 1fr); }
  .po-pay-card { position: static; order: -1; }
}

/* ---------- AUTH / SIGN-UP PAGE (#/signup) ---------- */
.po-auth { padding-block: clamp(48px, 8vw, 100px) clamp(64px, 10vw, 130px); }
.po-auth-wrap { display: flex; justify-content: center; }
.po-auth-card { width: 100%; max-width: 440px; padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; }
.po-auth-card .eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.po-auth-card h1 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.1; }
.po-auth-card > p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; max-width: 36ch; }
.po-auth-google { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 6px; min-height: 44px; }
.po-gbtn { display: flex; justify-content: center; min-height: 44px; }
.po-auth-error { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--accent); background: var(--accent-soft); padding: 9px 12px; border-radius: var(--radius-sm); }
.po-auth-note { display: flex; align-items: flex-start; gap: 8px; text-align: left; font-size: 13.5px; color: var(--ink-2); background: var(--surface-2); padding: 14px 16px; border-radius: var(--radius-sm); line-height: 1.5; }
.po-auth-note svg { color: var(--accent); flex: none; margin-top: 2px; }
.po-auth-fine { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
/* signed-in (account) view */
.po-auth-id { display: flex; align-items: center; gap: 16px; text-align: left; width: 100%; }
.po-auth-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.po-auth-avatar-fallback { display: grid; place-items: center; background: var(--accent); color: oklch(0.99 0 0); font-size: 24px; font-weight: 700; font-family: var(--font-display); }
.po-auth-tag { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grow); }
.po-auth-id h1 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 2px; }
.po-auth-email { font-size: 13.5px; color: var(--ink-3); }
.po-auth-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 6px; }
.po-auth-actions .btn { width: 100%; justify-content: center; }
.po-auth-signout { background: none; border: none; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink-3); padding: 6px; transition: color .15s; }
.po-auth-signout:hover { color: var(--accent); }

/* ---------- ADMIN DASHBOARD (#/admin) ---------- */
.po-admin { padding-block: clamp(28px, 5vw, 56px) clamp(56px, 9vw, 120px); }
.po-admin-loading, .po-admin-empty { color: var(--ink-3); padding: 24px 0; }
.po-admin-error { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--accent); background: var(--accent-soft); padding: 10px 13px; border-radius: var(--radius-sm); }
/* gate */
.po-admin-gatewrap { display: flex; justify-content: center; }
.po-admin-gate { width: 100%; max-width: 400px; padding: clamp(26px, 4vw, 36px); display: flex; flex-direction: column; gap: 12px; text-align: center; align-items: center; }
.po-admin-gate .eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.po-admin-gate h1 { font-size: clamp(24px, 3vw, 30px); }
.po-admin-gate > p { color: var(--ink-2); font-size: 14.5px; }
.po-admin-input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); font-family: var(--font-mono, monospace); font-size: 14px; color: var(--ink); }
.po-admin-input:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.po-admin-gate .btn { width: 100%; justify-content: center; }
.po-admin-fine { font-size: 11px; color: var(--ink-3); }
/* header + tabs */
.po-admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.po-admin-head .eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.po-admin-head h1 { font-size: clamp(28px, 4vw, 40px); margin-top: 6px; }
.po-admin-lock { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: border-color .15s, color .15s; }
.po-admin-lock:hover { border-color: var(--accent); color: var(--accent); }
.po-admin-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.po-admin-tab { background: none; border: none; border-bottom: 2px solid transparent; padding: 10px 14px; margin-bottom: -1px; font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-3); cursor: pointer; transition: color .15s, border-color .15s; }
.po-admin-tab:hover { color: var(--ink); }
.po-admin-tab.is-on { color: var(--accent); border-bottom-color: var(--accent); }
.po-admin-banner { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.po-admin-banner svg { color: var(--accent); flex: none; }
/* KPI cards */
.po-admin-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 32px; }
.po-admin-kpi { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.po-admin-kpi-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 6px; }
.po-admin-kpi-val { font-family: var(--font-display); font-size: clamp(22px, 3vw, 28px); line-height: 1.1; color: var(--ink); }
.po-admin-kpi-lbl { font-size: 12.5px; color: var(--ink-3); }
.po-admin-h2 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
/* tables */
.po-admin-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
.po-admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.po-admin-table th { text-align: left; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.po-admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.po-admin-table tr:last-child td { border-bottom: none; }
.po-admin-nowrap { white-space: nowrap; }
.po-admin-muted { color: var(--ink-3); }
.po-admin-pill { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; padding: 3px 9px; border-radius: 999px; text-transform: capitalize; }
.po-admin-pill-ok { color: var(--grow); background: var(--grow-soft); }
.po-admin-pill-warn { color: var(--accent); background: var(--accent-soft); }
.po-admin-actions { white-space: nowrap; }
.po-admin-refund { background: none; border: 1px solid var(--line); border-radius: 7px; padding: 5px 11px; font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: border-color .15s, color .15s; }
.po-admin-refund:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.po-admin-refund:disabled { opacity: 0.6; cursor: progress; }
.po-admin-err-inline { font-size: 11.5px; color: var(--accent); margin-left: 8px; }
.po-admin-user { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.po-admin-user img, .po-admin-uav { width: 26px; height: 26px; border-radius: 50%; flex: none; object-fit: cover; }
.po-admin-uav { display: grid; place-items: center; background: var(--accent); color: oklch(0.99 0 0); font-size: 12px; font-weight: 700; }
/* stats tab: range toggle, deltas, daily revenue bar chart */
.po-stat-ranges { display: inline-flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 999px; margin-bottom: 22px; }
.po-stat-range { background: none; border: none; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 6px 14px; border-radius: 999px; transition: background .15s, color .15s; }
.po-stat-range.is-on { background: var(--accent); color: oklch(0.99 0 0); }
.po-stat-delta { font-size: 11.5px; font-weight: 700; margin-top: 6px; display: inline-flex; align-items: baseline; gap: 4px; }
.po-stat-delta em { font-style: normal; font-weight: 500; color: var(--ink-3); }
.po-stat-delta.is-up { color: var(--grow); }
.po-stat-delta.is-down { color: var(--accent); }
.po-stat-delta.is-flat { color: var(--ink-3); }
.po-stat-chart { display: flex; align-items: flex-end; gap: 2px; height: 180px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.po-stat-col { flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; }
.po-stat-bar { width: 100%; min-height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--accent), var(--grow)); transition: opacity .15s; }
.po-stat-col:hover .po-stat-bar { opacity: 0.75; }
.po-stat-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 7px; font-family: var(--font-mono, monospace); }
/* per-user modules-completed cell in the Users table */
.po-admin-modprog { display: inline-flex; align-items: center; gap: 9px; }
.po-admin-modbar { width: 64px; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; flex: none; }
.po-admin-modbar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--grow), var(--accent)); }
.po-admin-modprog b { font-size: 12px; color: var(--ink-2); }
/* conversion funnel (Overview) */
.po-funnel { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; background: var(--surface); }
.po-funnel-row { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 16px; }
.po-funnel-meta { display: flex; flex-direction: column; }
.po-funnel-meta b { font-family: var(--font-display); font-size: 22px; line-height: 1.1; }
.po-funnel-meta span { font-size: 12.5px; color: var(--ink-3); }
.po-funnel-track { height: 12px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.po-funnel-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--grow), var(--accent)); transition: width .4s cubic-bezier(.4,.8,.3,1); }
.po-funnel-rate { grid-column: 2; font-size: 11.5px; color: var(--ink-3); margin-top: -6px; }
.po-funnel-note { font-size: 11px; color: var(--ink-3); margin-top: 10px; }
/* modules tab */
.po-mod-name { font-weight: 600; }
.po-mod-name b { color: var(--ink-3); margin-right: 6px; }
.po-mod-free { font-style: normal; margin-left: 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--grow); background: var(--grow-soft); padding: 2px 7px; border-radius: 999px; }
.po-mod-keep { display: inline-flex; align-items: center; gap: 10px; }
.po-mod-keepbar { width: 90px; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; flex: none; }
.po-mod-keepbar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--grow), var(--accent)); }
.po-mod-keep b { font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 600px) { .po-funnel-row { grid-template-columns: 1fr; gap: 6px; } .po-funnel-rate { grid-column: 1; } }

/* ---------- LEGAL PAGES (#/privacy, #/terms, #/refund) ---------- */
.po-legal { padding-block: clamp(28px, 5vw, 56px) clamp(56px, 9vw, 110px); }
.po-legal-wrap { max-width: 760px; }
.po-legal-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: clamp(20px, 4vw, 36px); transition: color .15s; }
.po-legal-back:hover { color: var(--accent); }
.po-legal .eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.po-legal h1 { font-size: clamp(30px, 5vw, 46px); margin-top: 12px; line-height: 1.05; }
.po-legal-updated { font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.po-legal-intro { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); margin-top: 18px; line-height: 1.55; max-width: 62ch; }
.po-legal-body { margin-top: 14px; }
.po-legal-body section { margin-top: 30px; }
.po-legal-body h2 { font-size: clamp(18px, 2.2vw, 22px); margin-bottom: 10px; }
.po-legal-body p { color: var(--ink-2); line-height: 1.65; margin-bottom: 10px; max-width: 70ch; }
.po-legal-body ul { list-style: none; display: grid; gap: 9px; margin: 6px 0 4px; }
.po-legal-body li { position: relative; padding-left: 18px; color: var(--ink-2); line-height: 1.6; max-width: 70ch; }
.po-legal-body li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.po-legal-body b { color: var(--ink); font-weight: 600; }
.po-legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.po-legal-callout { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); padding: 16px 18px; margin-top: 24px; }
.po-legal-callout p { color: var(--ink); margin: 0; }
.po-legal-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.po-legal-nav a { color: var(--ink-2); }
.po-legal-nav a:hover { color: var(--accent); }
.po-legal-contact { margin-left: auto; font-weight: 400; color: var(--ink-3); font-size: 13px; }
.po-legal-contact a { color: var(--accent); font-weight: 600; }

/* cookie / local-storage notice */
.po-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap;
  padding: 14px clamp(16px, 4vw, 40px) calc(14px + env(safe-area-inset-bottom)); background: var(--night, oklch(0.22 0.02 264)); color: oklch(0.96 0.005 80); box-shadow: 0 -8px 30px -12px oklch(0.2 0.02 264 / 0.5); }
.po-cookie p { font-size: 13px; line-height: 1.5; max-width: 70ch; margin: 0; opacity: 0.92; }
.po-cookie a { color: oklch(0.97 0.005 80); text-decoration: underline; text-underline-offset: 2px; }
.po-cookie-ok { flex: none; padding: 8px 20px; font-size: 14px; }
.po-cookie-actions { flex: none; display: flex; align-items: center; gap: 10px; }
.po-cookie-decline { flex: none; padding: 8px 18px; font-size: 14px; color: oklch(0.96 0.005 80); border-color: oklch(0.96 0.005 80 / 0.4); background: transparent; }
.po-cookie-decline:hover { background: oklch(0.96 0.005 80 / 0.1); }

/* footer disclaimer + checkout legal line */
.po-footer-disclaimer { padding-top: 8px; }
.po-footer-disclaimer p { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; max-width: 90ch; }
.po-pay-legal { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; margin-top: 2px; }
.po-pay-legal a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.po-pay-legal a:hover { color: var(--accent); }

/* ── per-module feedback + free-reader email capture ───────────────────────── */
.po-fb { margin: 30px 0 8px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.po-fb-ask { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.po-fb-q { font-size: 15px; font-weight: 600; color: var(--ink); }
.po-fb-btns { display: flex; gap: 10px; }
.po-fb-btn { width: 44px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 19px; cursor: pointer; transition: transform .12s, border-color .18s, background .18s; }
.po-fb-btn:hover { transform: translateY(-1px); border-color: var(--accent); background: var(--accent-soft); }
.po-fb-comment { display: flex; flex-direction: column; gap: 10px; }
.po-fb-text { width: 100%; resize: vertical; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px; background: var(--surface); color: var(--ink); }
.po-fb-text:focus { outline: none; border-color: var(--accent); }
.po-fb-actions { display: flex; justify-content: flex-end; gap: 12px; align-items: center; }
.po-fb-skip { background: none; border: none; color: var(--ink-3); font: inherit; font-size: 14px; cursor: pointer; }
.po-fb-skip:hover { color: var(--ink); }
.po-fb-send { padding: 8px 18px; font-size: 14px; }
.po-fb-thanks { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--grow, #2f8f63); }

.po-lead { margin: 22px 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, var(--accent-soft), transparent); display: flex; gap: 22px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.po-lead-copy h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 4px; color: var(--ink); }
.po-lead-copy p { font-size: 13.5px; color: var(--ink-2); margin: 0; max-width: 46ch; }
.po-lead-form { display: flex; gap: 10px; flex: none; }
.po-lead-input { padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 14px; min-width: 220px; background: var(--surface); color: var(--ink); }
.po-lead-input:focus { outline: none; border-color: var(--accent); }
.po-lead-err { display: block; margin-top: 8px; font-size: 13px; color: var(--accent); }
.po-lead-thanks { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--grow, #2f8f63); margin: 0; font-weight: 600; }
@media (max-width: 560px) { .po-lead-form { width: 100%; } .po-lead-input { flex: 1; min-width: 0; } }
