/* lesson.css — shared components for Family Bible Study lesson pages.
   Loads AFTER site.css and reuses its tokens (--brand, --accent, --ink, etc.). */

/* Lesson hero meta line (passage, date, series) */
.lesson-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:14px;font-size:14px;color:var(--muted);font-weight:600}
.lesson-meta .pill{background:#fff;border:1px solid var(--line);border-radius:999px;padding:5px 14px;color:var(--brand)}

/* Big-picture callout */
.big-idea{background:linear-gradient(120deg,#235448,#2f6f5e);color:#fff;border-radius:18px;padding:30px 32px;margin:0 0 8px}
.big-idea .eyebrow{color:var(--accent)}
.big-idea h2{font-size:24px;font-weight:800;margin-bottom:8px}
.big-idea p{font-size:17px;color:rgba(255,255,255,.9);max-width:54em}

/* Scripture block — serif, accent rule */
.scripture{background:#fff;border:1px solid var(--line);border-left:5px solid var(--accent);border-radius:14px;padding:26px 30px;font-family:Georgia,serif;font-size:19px;line-height:1.8;color:var(--ink)}
.scripture .ref{display:block;margin-top:14px;font-family:inherit;font-style:normal;font-weight:700;color:var(--brand);font-size:15px;letter-spacing:.03em}
.scripture sup{color:var(--muted);font-size:.7em;font-weight:700;margin-right:3px}

/* Key-word dashed underline inside scripture/prose */
.kw{border-bottom:2px dashed var(--brand);font-weight:600;cursor:help}

/* Inductive marking (Kay Arthur style). Marks are always present but only
   "light up" when body has class "ind-on", so the toggle needs no styling rebuild. */
.mk{border-radius:4px;padding:0 2px;transition:background .15s ease,box-shadow .15s ease}
body.ind-on .mk-god{background:#fdecc8;box-shadow:inset 0 -2px 0 #e8b04b}      /* God / Yahweh / LORD */
body.ind-on .mk-jesus{background:#e9def7;box-shadow:inset 0 -2px 0 #8b5cf6}    /* Jesus / Son / Messiah */
body.ind-on .mk-spirit{background:#d7f0e6;box-shadow:inset 0 -2px 0 #2f6f5e}   /* Holy Spirit */
body.ind-on .mk-sin{background:#fbdcdc;box-shadow:inset 0 -2px 0 #c0392b}      /* sin / blood / sacrifice */
body.ind-on .mk-place{box-shadow:inset 0 -6px 0 -3px #2f9e6e}                  /* geography / time */
body.ind-on .mk-person{background:#d6e4fb;box-shadow:inset 0 -2px 0 #2563eb}   /* key people */
body.ind-on .mk-key{outline:1.5px solid var(--brand);outline-offset:1px;border-radius:3px} /* repeated key word */

/* Shape icons on each mark — so categories are readable without relying on color.
   Icons only appear when marking is toggled on. */
body.ind-on .mk::after{font-size:.72em;vertical-align:.4em;margin-left:2px;line-height:0;font-family:"Segoe UI Symbol","Apple Color Emoji","Noto Color Emoji",sans-serif}
body.ind-on .mk-god::after{content:"▲";color:#c08a1e}        /* God / LORD / Father */
body.ind-on .mk-jesus::after{content:"♔";color:#7a52c9}      /* Jesus / Son / Messiah */
body.ind-on .mk-spirit::after{content:"🕊"}                  /* Holy Spirit */
body.ind-on .mk-person::after{content:"◆";color:#2563eb}     /* key people */
body.ind-on .mk-place::after{content:"📍"}                   /* geography / time */
body.ind-on .mk-sin::after{content:"✕";color:#c0392b}        /* sin / blood / fire / destroy */
body.ind-on .mk-key::after{content:"✦";color:#2f6f5e}        /* key word */

/* Repeated focal word: a significant word that recurs in the passage. Every
   occurrence gets the same gold "repeat" highlight, and /assets/inductive.js
   appends a small "N×" count badge so the reader can see at a glance that the
   word is repeated and how often — a focal point of the text. Works on top of
   any category class (a word can be e.g. mk-place + mk-rep). Color-blind safe:
   the dotted underline + the count number carry the meaning, not color alone. */
body.ind-on .mk-rep{background:#fbeeca;box-shadow:inset 0 -2px 0 #c08a1e;border-bottom:1px dotted #8a6112;border-radius:4px}
.rep-badge{display:none}
body.ind-on .rep-badge{display:inline-block;font-size:.58em;font-weight:800;color:#8a6112;
  vertical-align:.5em;line-height:1;margin-left:1px;letter-spacing:.02em;font-family:inherit}

/* Time markers (inductive): temporal words — "first", "that day", "after", "when".
   A slate underline + clock icon, distinct from the green of places. */
body.ind-on .mk-time{box-shadow:inset 0 -6px 0 -3px #4b7a86;border-radius:3px}
body.ind-on .mk-time::after{content:"🕒"}

/* Hebrew-Scripture echo: a clickable in-verse marker (📜) that jumps to a short
   "what a first-century Jew would hear" card with the Old Testament passage.
   Always faintly underlined so it reads as a link, even with marking off. */
.ot-ref{font-size:.84em;text-decoration:none;border-bottom:1px dashed #b8860b;color:#8a6112;
  padding:0 2px;border-radius:3px;white-space:nowrap;font-family:"Segoe UI Symbol","Apple Color Emoji","Noto Color Emoji",sans-serif}
.ot-ref:hover{background:#f6edd6}
.ot-card{border-left:5px solid #b8860b}
.ot-card .vref{background:#f4ecd8;color:#7a5a12}

/* ── Verse-by-verse walk ────────────────────────────────────────
   The slow, sentence-by-sentence read after the whole-passage overview.
   Each verse: the text, a plain "what it's saying", an optional
   "Compare translations" reveal (NASB95 vs KJV, manuscript notes), and
   an "In their world" culture clue (geography / food / politics). */
.vbv{display:flex;flex-direction:column;gap:14px;margin-top:6px}
.vbv-row{display:flex;gap:14px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.vbv-v{flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:var(--brand);color:#fff;font-weight:800;
  display:flex;align-items:center;justify-content:center;font-size:14px}
.vbv-body{flex:1;min-width:0}
.vbv-text{margin:.1em 0 .55em;font-size:18px;line-height:1.55;color:var(--ink)}
.vbv-say{margin:0;color:var(--ink);line-height:1.6}
.vbv-say strong,.vbv-culture strong{color:var(--brand-dark)}
.vbv-culture{margin:.6em 0 0;background:#eef7f2;border-radius:10px;padding:9px 13px;font-size:14.5px;line-height:1.55;color:var(--ink)}
.vbv-compare{margin:.6em 0 0;border:1px solid var(--line);border-radius:10px;background:var(--soft)}
.vbv-compare > summary{cursor:pointer;font-weight:600;font-size:14px;color:var(--brand-dark);padding:8px 13px;list-style:none}
.vbv-compare > summary::-webkit-details-marker{display:none}
.vbv-compare > summary::before{content:"\21c4 ";color:var(--brand);font-weight:700}
.vbv-compare[open] > summary{border-bottom:1px solid var(--line)}
.vbv-compare .cmp{padding:11px 13px;font-size:14.5px;line-height:1.55}
.vbv-compare .cmp p{margin:0 0 7px}
.vbv-compare .cmp p:last-child{margin-bottom:0}
.vbv-compare .tg{display:inline-block;min-width:66px;font-weight:700;color:var(--muted);font-size:12px;vertical-align:top}
.vbv-compare .tnote{background:#fdf6e6;border-left:3px solid var(--accent);border-radius:0 8px 8px 0;padding:8px 11px;margin-top:8px}
.vbv-compare .tnote strong{color:#8a6112}
/* Per-verse translation picker: public-domain versions show inline; copyrighted
   ones (dashed, ↗) open on Bible Gateway. Default shown is KJV. */
.xl{margin:.4em 0 0}
.xl-pick{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:8px}
.xl-label{font-size:12px;color:var(--muted);font-weight:600;margin-right:2px}
.xlc{font-family:inherit;font-size:12.5px;font-weight:700;border:1px solid var(--line);background:#fff;color:var(--ink);
  border-radius:999px;padding:3px 11px;cursor:pointer;text-decoration:none;line-height:1.5}
.xlc.active{background:var(--brand);color:#fff;border-color:var(--brand)}
.xlc.xl-ext{color:var(--brand);border-style:dashed}
.xlc.xl-ext::after{content:" \2197";font-weight:400}
.xl-text{margin:0;line-height:1.55}
.xl-v[hidden]{display:none}
@media(max-width:520px){.vbv-row{flex-direction:column;gap:8px}}

/* ── Compare the accounts ───────────────────────────────────────
   When more than one Gospel records the same event, lay the accounts
   side by side and call out every difference so nothing is ignored. */
.accounts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(248px,1fr));gap:14px;margin:6px 0 16px}
.acct{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px}
.acct h3{margin:0 0 2px;font-size:16px;color:var(--brand-dark)}
.acct .who{font-size:12px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.acct ul{margin:9px 0 0;padding-left:18px}
.acct li{margin:5px 0;line-height:1.5;font-size:14.5px}
.acct .uniq{color:#8a6112;font-weight:700}
.acct .none{color:var(--muted);font-style:italic}
.acct-diffs{background:#fdf6e6;border-left:4px solid var(--accent);border-radius:0 12px 12px 0;padding:15px 20px}
.acct-diffs h3{margin:0 0 8px;font-size:16px;color:#8a6112}
.acct-diffs ul{margin:0;padding-left:20px}
.acct-diffs li{margin:7px 0;line-height:1.58}
.acct-diffs li strong{color:#7a5a12}

/* ── Listen to the Spirit ───────────────────────────────────────
   The closing devotional beat: tools and tech are servants; the Holy
   Spirit is the Teacher who carries the "then" into a living "now". */
.listen{background:linear-gradient(180deg,#f1f8f4,#eaf3ef);border:1px solid #cfe5da;border-radius:18px;padding:26px 28px}
.listen .dove{font-size:30px;line-height:1;display:block;margin-bottom:4px}
.listen h2{margin:.05em 0 .5em}
.listen > p{max-width:60em;line-height:1.7;color:var(--ink)}
.listen .steps{list-style:none;margin:18px 0 0;padding:0;counter-reset:lstep}
.listen .steps li{position:relative;padding:11px 0 11px 46px;border-top:1px solid #d7e8e0;line-height:1.6}
.listen .steps li:first-child{border-top:none}
.listen .steps li::before{counter-increment:lstep;content:counter(lstep);position:absolute;left:0;top:10px;
  width:30px;height:30px;border-radius:50%;background:var(--brand);color:#fff;font-weight:800;
  display:flex;align-items:center;justify-content:center;font-size:14px}
.listen .steps strong{color:var(--brand-dark)}
.listen .prayer{margin:18px 0 0;background:#fff;border-left:4px solid var(--brand);border-radius:0 12px 12px 0;
  padding:14px 18px;font-style:italic;color:var(--ink);line-height:1.65}
.listen a{color:var(--brand);font-weight:600}

.ind-bar{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0 0 16px}
.ind-toggle{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:700;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 16px;cursor:pointer}
.ind-toggle .dot{width:34px;height:20px;border-radius:999px;background:var(--line);position:relative;transition:background .15s ease}
.ind-toggle .dot::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .15s ease}
body.ind-on .ind-toggle .dot{background:var(--brand)}
body.ind-on .ind-toggle .dot::after{transform:translateX(14px)}
.ind-legend{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:var(--muted);align-items:center}
.ind-legend span{display:inline-flex;align-items:center;gap:6px}
.ind-legend b{font-size:16px;line-height:1;font-weight:400;font-family:"Segoe UI Symbol","Apple Color Emoji","Noto Color Emoji",sans-serif}
.ind-legend i{width:14px;height:14px;border-radius:4px;display:inline-block}

/* Word-study (philology) cards */
.word-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.word-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;position:relative;scroll-margin-top:84px;transition:border-color .15s ease,box-shadow .15s ease}
.word-card:target{border-color:var(--brand);box-shadow:0 0 0 3px rgba(47,111,94,.16)}
.word-card .vref{display:inline-block;font-size:12px;font-weight:700;color:var(--brand);background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:3px 11px;margin-bottom:10px}
.word-card .orig{font-family:Georgia,serif;font-size:22px;font-weight:700;color:var(--brand)}
.word-card .translit{font-size:13px;color:var(--muted);font-style:italic;margin-bottom:10px}
.word-card .lit{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--accent)}
.word-card p{font-size:15px;color:var(--ink);margin-top:6px}
.word-card .backlink{display:inline-block;margin-top:14px;font-size:13px;font-weight:600;color:var(--muted)}
.word-card .backlink:hover{color:var(--brand)}

/* Key word in the passage that links down to its original-language card */
.wordlink{color:var(--brand);border-bottom:1px dotted var(--brand);cursor:pointer}
.wordlink:hover{border-bottom-style:solid}

/* Hover/focus popover: shows a word card (or OT card) floating over the text so
   the reader doesn't have to scroll down to it. Built by /assets/inductive.js;
   clicking the word still jumps to the full card (the fallback for touch). */
.wc-pop{position:absolute;z-index:80;max-width:340px;padding:15px 17px;border-color:var(--brand);
  box-shadow:0 12px 34px rgba(20,30,40,.22)}
.wc-pop .backlink{display:none}
.wc-pop p:last-child{margin-bottom:0}
#passage{scroll-margin-top:84px}

/* Accordions — the depth-on-demand pattern */
.acc{background:#fff;border:1px solid var(--line);border-radius:14px;padding:0 20px;margin-bottom:12px}
.acc>summary{list-style:none;cursor:pointer;padding:18px 0;font-weight:700;font-size:16px;display:flex;align-items:center;gap:10px}
.acc>summary::-webkit-details-marker{display:none}
.acc>summary::after{content:"+";margin-left:auto;font-size:22px;color:var(--brand);font-weight:400}
.acc[open]>summary::after{content:"\2212"}
.acc>summary:hover{color:var(--brand)}
.acc .acc-body{padding:0 0 20px;color:var(--ink);font-size:15px;line-height:1.7}
.acc .acc-body img{border-radius:10px;border:1px solid var(--line);margin:10px 0}
.acc .acc-body figcaption{font-size:13px;color:var(--muted);margin-top:4px}

/* Chart container (Chart.js renders on load — keep heights capped) */
.chart-box{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;max-width:760px;margin:0 auto}
.chart-box .chart-wrap{position:relative;width:100%;height:42vh;max-height:380px;margin:0 auto}

/* Embedded media (maps, videos) — visible inline for teaching from the page */
.embed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px}
figure.media{margin:0}
.embed{position:relative;width:100%;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 2px 10px rgba(31,39,51,.05)}
.embed iframe{display:block;width:100%;border:0}
.embed img{display:block;width:100%;height:auto}
.embed-16x9{aspect-ratio:16/9}
.embed-16x9 iframe{position:absolute;inset:0;width:100%;height:100%}
.embed-map iframe{height:360px}
.embed-cap{font-size:13px;color:var(--muted);margin-top:8px;line-height:1.5}
.embed-cap .credit{display:block;margin-top:3px;font-size:12px;opacity:.85}

/* Pure-CSS narrative flow (no SVG) */
.flow{display:flex;flex-direction:column;gap:8px;max-width:520px}
.flow .step{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 18px;font-size:15px}
.flow .arrow{align-self:center;color:var(--brand);font-size:20px;line-height:1}

/* Cross-reference / data table */
.xref{width:100%;border-collapse:collapse;font-size:15px;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.xref th,.xref td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--line)}
.xref th{background:var(--soft);font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.xref tr:last-child td{border-bottom:none}

/* Discussion questions */
.questions{list-style:none;counter-reset:q;display:grid;gap:12px}
.questions li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px 16px 52px;position:relative;font-size:16px}
.questions li::before{counter-increment:q;content:counter(q);position:absolute;left:16px;top:14px;width:26px;height:26px;border-radius:50%;background:var(--brand);color:#fff;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}

/* Mental-model lens (e.g. inversion) — a thinking tool that opens the text.
   Use only where the passage genuinely invites it; keep it visible, not hidden. */
.model{background:#fff;border:1px solid var(--line);border-left:5px solid var(--brand);border-radius:14px;padding:24px 26px}
.model .tag{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--brand);margin-bottom:8px}
.model h3{font-size:19px;margin-bottom:8px}
.model p{font-size:16px;color:var(--ink);margin-bottom:10px}
.model p:last-child{margin-bottom:0}
.model .flip{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:stretch;margin:16px 0}
.model .flip .side{background:var(--soft);border:1px solid var(--line);border-radius:12px;padding:14px 16px;font-size:15px}
.model .flip .side .lab{display:block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:5px}
.model .flip .arrow{align-self:center;color:var(--brand);font-size:24px;font-weight:700;text-align:center}
@media(max-width:640px){
  .model .flip{grid-template-columns:1fr}
  .model .flip .arrow{transform:rotate(90deg)}
}

/* Cross-link callout — connect a lesson to a related study (e.g. an OT deep-dive) */
.crosslink{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;background:var(--soft);border:1px solid var(--line);border-left:5px solid var(--brand);border-radius:14px;padding:18px 22px}
.crosslink .cl-text{flex:1;min-width:240px}
.crosslink .cl-text b{display:block;font-size:15px;color:var(--ink);margin-bottom:2px}
.crosslink .cl-text span{font-size:14px;color:var(--muted)}
.crosslink .btn{white-space:nowrap}

/* Resource cards (videos, maps & places, study tools) */
.res-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.res-col{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px}
.res-col h3{font-size:16px;margin-bottom:14px;display:flex;align-items:center;gap:8px}
.res-col h3 .ic{font-size:18px;line-height:1;font-family:"Segoe UI Symbol","Apple Color Emoji","Noto Color Emoji",sans-serif}
.res-col ul{list-style:none;display:grid;gap:12px}
.res-col li a{color:var(--brand);font-weight:700;font-size:14px}
.res-col li a:hover{text-decoration:underline}
.res-col li .d{display:block;color:var(--muted);font-weight:400;font-size:13px;margin-top:2px}

/* Lesson footer nav (prev / next / all) */
.lesson-nav{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px}

/* ── Grasping God's Word components ─────────────────────────────── */
/* Observation box: "observe before you interpret" (GGW chs. 3–5) */
.observe{background:#fbf7ec;border:1px solid #f0e2bd;border-radius:14px;padding:18px 20px;margin:18px 0 0}
.observe h3{margin:0 0 8px;font-size:16px;color:#7a5a12}
.observe ul{margin:0;padding-left:20px}
.observe li{margin:5px 0;line-height:1.55}

/* Gospel question callout: "what is this episode telling us about Jesus?" */
.gospel-q{background:#eef4f1;border-left:4px solid var(--brand);border-radius:10px;padding:14px 18px;margin:18px 0 0}
.gospel-q strong{color:var(--brand-dark)}

/* The Interpretive Journey: their town → river → bridge → map → our town */
.ij{counter-reset:ijstep;margin:8px 0 4px}
.ij-intro{color:var(--muted);max-width:52em;margin:0 0 22px}
.ij-step{position:relative;padding:0 0 26px 64px;border-left:3px solid #d9e6e1;margin-left:22px}
.ij-step:last-child{border-left-color:transparent;padding-bottom:0}
.ij-step::before{counter-increment:ijstep;content:counter(ijstep);position:absolute;left:-22px;top:-4px;
  width:44px;height:44px;border-radius:50%;background:var(--brand);color:#fff;font-weight:800;
  font-size:19px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(35,84,72,.25)}
.ij-step.bridge::before{background:var(--accent);color:#3a2c08}
.ij-tag{display:inline-block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;
  font-weight:700;color:var(--brand-dark);background:#e7f1ed;border-radius:999px;padding:3px 11px;margin-bottom:7px}
.ij-step.bridge .ij-tag{color:#7a5a12;background:#fbf0d6}
.ij-step h3{margin:2px 0 7px;font-size:19px;color:var(--ink)}
.ij-step p{margin:0;color:var(--ink);line-height:1.62}
.ij-step .q{display:block;color:var(--muted);font-style:italic;font-size:14px;margin:0 0 6px}

/* ── "Study it yourself" guide ──────────────────────────────────
   A visible (not toggled) note near the top that names the repeatable
   study path and points to where each step lives on this same page —
   so the group learns to do it on their own. Everyone sees one page. */
.selfstudy{background:#fbf9f3;border:1px solid #e8e1cf;border-left:5px solid var(--accent);
  border-radius:12px;padding:18px 22px}
.selfstudy .eyebrow{color:#8a6112}
.selfstudy h2{margin:.15em 0 .5em;font-size:20px}
.selfstudy > p{margin:0 0 10px;color:var(--ink);max-width:60em}
.selfstudy ol{margin:0;padding-left:22px}
.selfstudy li{margin:7px 0;line-height:1.6}
.selfstudy li strong{color:var(--brand-dark)}
.selfstudy .where{color:var(--muted);font-size:.94em}
.selfstudy .where a{color:var(--brand);font-weight:600}

@media(max-width:820px){
  .scripture{font-size:17px;padding:20px 22px}
  .big-idea{padding:24px}
}
@media(max-width:520px){
  .ij-step{padding-left:54px;margin-left:18px}
  .ij-step::before{width:38px;height:38px;font-size:16px;left:-20px}
}


/* ===== Teaching / projection mode (shared, adopted June 2026) =====
   Sticky control bar (presentation-size toggle, marks toggle, section jump links,
   compact legend) is injected by /assets/inductive.js on every lesson page.
   "Presentation size" (body.present) scales the whole page for the screen at the
   front of the room and is also where expand-all happens (handled in the JS). */
.teach-bar{position:sticky;top:0;z-index:60;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;
  background:#0b3d31;color:#fff;padding:9px 18px}
.teach-bar .tb-btn{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.28);
  border-radius:999px;padding:7px 15px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.teach-bar .tb-btn:hover{background:rgba(255,255,255,.2)}
.teach-bar .tb-btn[aria-pressed="true"]{background:#e8b04b;color:#3b2400;border-color:#e8b04b}
.teach-bar .tb-jump{display:flex;flex-wrap:wrap;gap:4px;margin-left:auto}
.teach-bar .tb-jump a{color:#d8ece4;font-size:12.5px;font-weight:600;text-decoration:none;padding:4px 10px;border-radius:999px}
.teach-bar .tb-jump a:hover{background:rgba(255,255,255,.16);color:#fff}
.teach-legend{display:none;width:100%;flex-wrap:wrap;gap:6px 14px;font-size:12.5px;color:#eaf4f0;
  margin-top:2px;padding-top:6px;border-top:1px solid rgba(255,255,255,.16)}
.teach-legend b{font-family:"Segoe UI Symbol","Apple Color Emoji","Noto Color Emoji",sans-serif;font-weight:400}
body.ind-on .teach-legend{display:flex}
@media print{.teach-bar{display:none}}

body.present{--muted:#3d4a59}
body.present .page-hero h1{font-size:46px}
body.present .page-hero p{font-size:21px}
body.present .section h2{font-size:30px}
body.present .big-idea p{font-size:20px;line-height:1.7;max-width:40em}
body.present .selfstudy p,body.present .selfstudy li{font-size:17px;line-height:1.6}
body.present .scripture{font-size:24px;line-height:1.85;max-width:34em;padding:30px 34px}
body.present .observe,body.present .observe li,body.present .observe p{font-size:18px;line-height:1.6}
body.present .vbv-text{font-size:21px;line-height:1.6}
body.present .vbv-say{font-size:18px;line-height:1.55}
body.present .vbv-culture{font-size:17px;background:#e3f1ea}
body.present .vbv-compare>summary{font-size:16px}
body.present .vbv-compare .cmp{font-size:17px;line-height:1.55}
body.present .vbv-compare .tg{font-size:14px}
body.present .acct li{font-size:17px}
body.present .acct h3{font-size:19px}
body.present .acct-diffs,body.present .acct-diffs li,body.present .acct-diffs p{font-size:17px}
body.present .word-card .orig{font-size:26px}
body.present .word-card p{font-size:18px;line-height:1.55}
body.present .word-card .vref,body.present .word-card .translit,body.present .word-card .lit{font-size:15px}
body.present .ot-card,body.present .ot-card p,body.present .ot-card li{font-size:17px;line-height:1.55}
body.present .flow,body.present .flow *{font-size:17px}
body.present .gospel-q,body.present .gospel-q p{font-size:18px;line-height:1.6}
body.present .acc>summary{font-size:18px}
body.present .acc .body,body.present .acc .body *{font-size:17px;line-height:1.6}
body.present .ij h4{font-size:19px}
body.present .ij p{font-size:18px;line-height:1.6}
body.present .xref{font-size:17px}
body.present .questions li{font-size:18px;line-height:1.6}
body.present .listen>p,body.present .listen .steps li,body.present .listen .prayer{font-size:18px;line-height:1.65}
body.present .ind-legend{font-size:15px}
body.present .ind-legend b{font-size:19px}
body.present .mk-rep{background:#f3d489 !important}
@media(max-width:820px){
  body.present .scripture{font-size:20px;max-width:none}
  body.present .page-hero h1{font-size:32px}
}


/* ---- Presentation ergonomics (July 2026): slim teach bar + auditorium type ----
   The sticky bar compacts to one slim row on scroll (JS adds .tb-compact), can be
   hidden entirely (.tb-hidden + floating .tb-restore pill), and presentation mode
   gets true auditorium type sizes on wide screens so no browser zoom is needed. */
.teach-bar{transition:padding .15s ease}
.teach-bar.tb-compact{flex-wrap:nowrap;overflow-x:auto;gap:6px 10px;padding:4px 12px}
.teach-bar.tb-compact .tb-btn{font-size:12px;padding:3px 10px;white-space:nowrap}
.teach-bar.tb-compact .tb-jump{flex-wrap:nowrap}
.teach-bar.tb-compact .tb-jump a{font-size:11.5px;padding:2px 8px;white-space:nowrap}
.teach-bar.tb-compact .teach-legend{display:none !important}
.teach-bar.tb-hidden{display:none}
.tb-restore{position:fixed;top:10px;right:10px;z-index:70;width:38px;height:38px;border-radius:999px;
  border:1px solid rgba(255,255,255,.4);background:rgba(11,61,49,.88);color:#fff;font-size:17px;
  cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.tb-restore:hover{background:#0b3d31}

@media (min-width:900px){
  body.present .scripture{font-size:38px;line-height:1.85;max-width:none;padding:34px 38px}
  body.present .section h2{font-size:48px}
  body.present .page-hero h1{font-size:64px}
  body.present .page-hero p{font-size:32px}
  body.present .big-idea p{font-size:34px;line-height:1.65;max-width:none}
  body.present .selfstudy p,body.present .selfstudy li{font-size:30px;line-height:1.6}
  body.present .observe,body.present .observe li,body.present .observe p{font-size:32px;line-height:1.6}
  body.present .vbv-text{font-size:36px;line-height:1.7}
  body.present .vbv-say{font-size:32px;line-height:1.6}
  body.present .vbv-culture{font-size:30px}
  body.present .vbv-compare>summary{font-size:28px}
  body.present .vbv-compare .cmp{font-size:30px}
  body.present .vbv-compare .tg{font-size:22px}
  body.present .acct li,body.present .acct-diffs li,body.present .acct-diffs p{font-size:30px}
  body.present .acct h3{font-size:34px}
  body.present .word-card .orig{font-size:48px}
  body.present .word-card p{font-size:32px;line-height:1.6}
  body.present .word-card .vref,body.present .word-card .translit,body.present .word-card .lit{font-size:24px}
  body.present .ot-card,body.present .ot-card p,body.present .ot-card li{font-size:30px;line-height:1.6}
  body.present .flow,body.present .flow *{font-size:30px}
  body.present .gospel-q,body.present .gospel-q p{font-size:32px;line-height:1.6}
  body.present .acc>summary{font-size:32px}
  body.present .acc .body,body.present .acc .body *{font-size:30px;line-height:1.6}
  body.present .acc .acc-body,body.present .acc .acc-body *{font-size:30px;line-height:1.6}
  body.present .ij h4{font-size:34px}
  body.present .ij p,body.present .questions li{font-size:32px;line-height:1.6}
  body.present .ij .q,body.present .ij-tag{font-size:24px}
  body.present .xref,body.present .xref td,body.present .xref th{font-size:30px}
  body.present .listen>p,body.present .listen .steps li,body.present .listen .prayer{font-size:32px;line-height:1.6}
  body.present .schoolhouse p,body.present .schoolhouse li,body.present .schoolhouse summary{font-size:30px;line-height:1.6}
  body.present .throughline{font-size:28px}
  body.present .movement h2{font-size:48px}
  body.present .movement p{font-size:32px}
  body.present .ind-legend{font-size:26px}
  body.present .ind-legend b{font-size:34px}
  body.present .wordlink,body.present .ot-ref{text-decoration-thickness:3px}
}


/* ---- Teaching tools (July 2026): Focus mode + pinned text dock ----
   Focus mode (F / the Focus button) collapses every content section to a single
   clickable header - one section open at a time, so teaching means clicking
   headers, not scrolling. Movement headers stay visible as the spine.
   Pin text (T) docks the marked passage in a fixed right-hand column on wide
   screens; the rest of the lesson scrolls on the left with the text always
   in view. Neither changes the default reading experience. */
.sec-head{display:none;width:calc(100% - 48px);max-width:1080px;margin:8px auto;text-align:left;
  background:#fff;border:1px solid var(--line);border-left:6px solid var(--brand);border-radius:12px;
  padding:14px 18px;font:inherit;font-size:20px;font-weight:800;color:var(--brand-dark);cursor:pointer}
.sec-head:hover{border-color:var(--brand)}
.sec-head .chev{color:var(--accent);margin-right:10px}
body.focus-mode main section.section.collapsible{padding:4px 24px}
body.focus-mode main section.section.collapsible>.wrap{display:none}
body.focus-mode main section.section.collapsible.sec-open>.wrap{display:block}
body.focus-mode main section.section.collapsible>.sec-head{display:block}
body.focus-mode main section.section.collapsible.sec-open{padding:24px 24px 40px}
body.present .sec-head{font-size:30px;padding:18px 22px}

.text-dock{display:none}
@media (min-width:1100px){
  body.text-docked main,body.text-docked .page-hero,body.text-docked .site-footer{margin-right:min(40vw,620px)}
  body.text-docked .text-dock{display:block;position:fixed;top:0;right:0;bottom:0;width:min(40vw,620px);
    overflow:auto;background:#fbfdfc;border-left:2px solid var(--line);padding:16px 20px 60px;z-index:55}
  .text-dock h3{font-size:14px;letter-spacing:.09em;text-transform:uppercase;color:var(--brand);margin:6px 0 10px}
  .text-dock .dock-close{float:right;border:1px solid var(--line);background:#fff;border-radius:999px;
    width:30px;height:30px;cursor:pointer;font-size:15px;color:var(--muted)}
  .text-dock .dock-close:hover{border-color:var(--brand);color:var(--brand)}
  .text-dock .scripture{font-size:16.5px;line-height:1.8;padding:18px 20px;max-width:none}
  body.present .text-dock .scripture{font-size:24px;line-height:1.8}
}

/* Live "follow the teacher" sync (2026-07) */
#followChip{position:fixed;left:50%;transform:translateX(-50%);bottom:20px;z-index:120;background:var(--brand);color:#fff;border:0;border-radius:999px;padding:12px 22px;font-family:'Open Sans',system-ui,sans-serif;font-weight:700;font-size:15px;box-shadow:0 6px 22px rgba(0,0,0,.28);cursor:pointer;display:none}
#followChip:hover{background:var(--brand-dark,#235448)}
#teachBadge{position:fixed;left:12px;bottom:12px;z-index:120;background:#c0392b;color:#fff;border-radius:999px;padding:7px 14px;font-family:'Open Sans',system-ui,sans-serif;font-weight:700;font-size:13px;box-shadow:0 4px 14px rgba(0,0,0,.22)}

/* Picture plates — expandable image galleries (2026-07)
   Usage:
   <details class="acc plate">
     <summary>&#128444;&#65039; See it: the water-drawing ceremony</summary>
     <div class="acc-body">
       <p class="plate-intro">Optional one-line orientation.</p>
       <div class="plate-grid">
         <figure class="pic">
           <img src="/assets/img/lessons/event-95/siloam-pool.jpg" alt="Descriptive alt text" loading="lazy">
           <figcaption><b>Short title.</b> What the reader should notice.
             <span class="credit">Credit / licence</span></figcaption>
         </figure>
       </div>
     </div>
   </details>
   Add class "wide" to a figure to make it span the full row.
   If an image file is missing, inductive.js swaps in a labelled placeholder
   showing the expected filename, so the page never shows a broken icon. */
.plate>summary::before{content:"";}
.plate-intro{margin:0 0 14px;color:var(--muted);font-size:14.5px}
.plate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin:4px 0 6px}
figure.pic{margin:0;display:flex;flex-direction:column}
figure.pic.wide{grid-column:1/-1}
figure.pic img{width:100%;height:auto;display:block;border-radius:10px;border:1px solid var(--line);margin:0;background:var(--soft)}
figure.pic figcaption{font-size:13.5px;line-height:1.6;color:var(--ink);margin-top:8px}
figure.pic figcaption b{color:var(--brand-dark,#235448)}
figure.pic .credit{display:block;font-size:12px;color:var(--muted);margin-top:4px;font-style:italic}
figure.pic .credit a{color:var(--muted)}
figure.pic.missing img{display:none}
figure.pic.missing .ph{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;text-align:center;min-height:170px;padding:18px;border:2px dashed var(--line);border-radius:10px;background:var(--soft);color:var(--muted)}
figure.pic.missing .ph .ph-icon{font-size:26px;line-height:1}
figure.pic.missing .ph .ph-file{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:var(--brand-dark,#235448);word-break:break-all}
figure.pic .ph{display:none}
@media(max-width:640px){.plate-grid{grid-template-columns:1fr}}
body.present figure.pic figcaption{font-size:calc(13.5px*var(--pz,1))}
body.present .plate-grid{gap:22px}
.fbs-audio{background:var(--soft,#f6f8f9);border:1px solid var(--line,#e6eaf0);border-left:6px solid var(--brand,#2f6f5e);border-radius:14px;padding:20px 22px;box-shadow:0 2px 10px rgba(0,0,0,.05)}
.fbs-audio .fbs-top{display:flex;align-items:center;gap:14px;margin-bottom:4px}
.fbs-audio .fbs-ic{font-size:30px;line-height:1}
.fbs-audio .fbs-eyebrow{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:700;color:var(--accent,#e8b04b)}
.fbs-audio h2{margin:2px 0 0;font-size:1.3rem;color:var(--brand-dark,#235448)}
.fbs-audio p{margin:8px 0 14px;color:var(--muted,#5d6b7e);font-size:15px;max-width:60em}
.fbs-audio audio{width:100%;height:44px;outline:none}
.fbs-audio .fbs-meta{margin:10px 0 0;font-size:13px;color:var(--muted,#5d6b7e)}
body.present .fbs-audio h2{font-size:calc(1.3rem*var(--pz,1))}

/* --- Enhanced "Listen" audio player (built by inductive.js from #lessonAudio) --- */
.fbs-audio.fbs-enh audio{display:none}
.fbs-player{margin-top:8px;display:flex;flex-direction:column;gap:12px}
.fbs-player .fbs-scrub{display:flex;align-items:center;gap:10px}
.fbs-player .fbs-time{font-variant-numeric:tabular-nums;font-size:13px;color:var(--muted,#5d6b7e);min-width:44px;text-align:center}
.fbs-player .fbs-bar{position:relative;flex:1;height:22px;display:flex;align-items:center;cursor:pointer;touch-action:none}
.fbs-player .fbs-bar::before{content:"";position:absolute;left:0;right:0;height:6px;border-radius:6px;background:var(--line,#e6eaf0)}
.fbs-player .fbs-buffered{position:absolute;left:0;height:6px;border-radius:6px;background:rgba(47,111,94,.2);width:0}
.fbs-player .fbs-played{position:absolute;left:0;height:6px;border-radius:6px;background:var(--brand,#2f6f5e);width:0}
.fbs-player .fbs-handle{position:absolute;top:50%;left:0;width:16px;height:16px;margin-left:-8px;transform:translateY(-50%);border-radius:50%;background:var(--brand,#2f6f5e);box-shadow:0 1px 4px rgba(0,0,0,.35)}
.fbs-player .fbs-bar:focus{outline:none}
.fbs-player .fbs-bar:focus-visible .fbs-handle{box-shadow:0 0 0 4px rgba(232,176,75,.55)}
.fbs-player .fbs-ctrls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.fbs-player .fbs-btn{-webkit-appearance:none;appearance:none;border:1px solid var(--line,#e6eaf0);background:#fff;color:var(--brand-dark,#235448);font:inherit;font-size:14px;font-weight:600;padding:9px 14px;border-radius:10px;cursor:pointer;min-height:44px;line-height:1}
.fbs-player .fbs-btn:hover{background:var(--soft,#f6f8f9)}
.fbs-player .fbs-btn:active{transform:translateY(1px)}
.fbs-player .fbs-play{background:var(--brand,#2f6f5e);color:#fff;border-color:var(--brand,#2f6f5e);min-width:108px}
.fbs-player .fbs-play:hover{background:var(--brand-dark,#235448)}
.fbs-player .fbs-speed{margin-left:auto;min-width:58px}
@media (max-width:520px){
  .fbs-player .fbs-btn{padding:9px 11px;font-size:13px}
  .fbs-player .fbs-play{min-width:96px}
  .fbs-player .fbs-time{min-width:40px;font-size:12px}
}
