/* Saleha Tajweed online lessons. Palette and fonts follow the main site (src/website/static/site.css). */
:root {
  --bg: #f6f1e7; --surface: #fffdf8; --ink: #2a251e; --muted: #7a6f5e; --line: #e2d7c1;
  --gold: #9c7834; --green: #1f5c4a; --green-ink: #ffffff; --amber: #c77a1e; --band: #efe7d7;
  --radius: 14px; --shadow: 0 1px 2px rgba(60, 45, 20, .05), 0 8px 24px rgba(60, 45, 20, .06);
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Literata", Georgia, serif;
  --font-ar: "Amiri Quran", "Amiri", serif;
}
[data-theme="dark"] {
  --bg: #0e1713; --surface: #14211b; --ink: #efe7d3; --muted: #a1a08a; --line: #273830;
  --gold: #d6b46c; --green: #2f7d63; --band: #1a2a22;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 var(--font-body); }
a { color: var(--green); }
.top { display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.brand { font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--ink); }
.crumb { color: var(--muted); flex: 1; }
.crumb a { color: var(--muted); }
.theme-toggle { background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 6px 14px; cursor: pointer; font: inherit; font-size: 15px; }
.preview-note { background: var(--amber); color: #fff; text-align: center; font-size: 14px; padding: 6px 12px; }
main { max-width: 860px; margin: 0 auto; padding: 24px 20px 60px; }
.foot { text-align: center; color: var(--muted); font-size: 14px; padding: 24px 20px 40px; border-top: 1px solid var(--line); }
h1, h2 { font-family: var(--font-head); font-weight: 600; color: var(--green); line-height: 1.2; }
h1 { font-size: 34px; margin: 4px 0 12px; }
h2 { font-size: 28px; margin: 6px 0 14px; }
.eyebrow, .step-count { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.small { font-size: 14px; color: var(--muted); }
.lead { font-size: 20px; }
.ar { font-family: var(--font-ar); line-height: 2; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--green); border-color: var(--green); color: var(--green-ink); font-weight: 600; }
.btn.small { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.btn.disabled { opacity: .55; cursor: default; }
.btn:focus-visible, .play:focus-visible, .tile:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* lesson frame */
.lesson-head { margin-bottom: 14px; }
.progress { height: 8px; background: var(--band); border-radius: 4px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; margin: 16px 0; }
.js .lesson .step { display: none; }
.js .lesson .step.current { display: block; }
.stepnav { display: none; }
.js .stepnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.where { color: var(--muted); font-size: 15px; }
.after { margin-top: 18px; color: var(--ink); font-style: italic; }

/* play buttons */
.play { display: inline-flex; align-items: center; gap: 10px; border: 0; background: var(--green); color: var(--green-ink); border-radius: 999px; padding: 10px 18px 10px 12px; font: inherit; font-size: 16px; cursor: pointer; min-height: 46px; }
.play .ico { width: 0; height: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 6px; }
.play.playing .ico { width: 12px; height: 14px; border: 0; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.play.round { padding: 0; width: 52px; height: 52px; justify-content: center; flex-shrink: 0; }
.play.round .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.play.round .ico { margin-left: 4px; }
.voice { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }

/* ayat */
.ayat { display: flex; flex-direction: column; gap: 14px; margin: 16px 0; }
.ayah { display: flex; gap: 16px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.ayah.playing-row { border-color: var(--green); box-shadow: 0 0 0 2px var(--green) inset; }
.ayah-text { flex: 1; text-align: right; }
.ayah-ar { font-size: 34px; display: block; }
.tr { text-align: left; color: var(--muted); font-size: 16px; margin: 4px 0 0; }
.ref { display: block; text-align: left; font-size: 13px; color: var(--gold); margin-top: 4px; }

/* meaning */
.word { text-align: center; margin: 4px 0 8px; }
.word-ar { font-size: 96px; color: var(--green); display: block; line-height: 2.3; }
.word-en { font-family: var(--font-head); font-size: 22px; color: var(--muted); display: block; margin-top: 4px; }
.root { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
.root-label { color: var(--muted); font-size: 15px; }
.root-tiles { display: flex; gap: 14px; }
.tile { width: 84px; height: 84px; border-radius: 14px; border: 0; background: var(--green); color: var(--green-ink); cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tile .ar { display: block; font-size: 46px; line-height: normal; }
.tile.playing { background: var(--gold); }
.root-meaning { font-family: var(--font-head); font-weight: 600; color: var(--green); font-size: 22px; }

/* spot the difference */
.pair { display: flex; justify-content: center; align-items: center; gap: 30px; margin: 18px 0; }
.pw { display: flex; flex-direction: column; align-items: center; padding: 12px 26px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); min-width: 150px; }
.pw-ar { font-size: 64px; line-height: 1.7; }
.pw-say { color: var(--muted); }
.pw-mean { font-weight: 600; color: var(--green); }
.js .step:not(.revealed) .hidden-until-reveal { visibility: hidden; }
.ne { font-size: 34px; color: var(--muted); }
.reveal { margin-top: 14px; padding: 14px 18px; border-left: 4px solid var(--gold); background: var(--bg); border-radius: 8px; }

/* course map */
.levels { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.level { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 4px 16px; }
.level.here { border-color: var(--green); }
.level summary { display: flex; align-items: center; gap: 14px; cursor: pointer; padding: 10px 0; list-style: none; flex-wrap: wrap; }
.level summary::-webkit-details-marker { display: none; }
.lnum { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-head); font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.lname { font-weight: 600; flex: 1; }
.lcount { color: var(--muted); font-size: 15px; }
.you { background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; }
.l1 { margin: 0 0 12px; padding-left: 22px; color: var(--muted); font-size: 16px; }
.l1 .more { list-style: none; margin-left: -22px; font-style: italic; }

/* practice */
.practice { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pr-letter { text-align: center; padding: 10px 0 0; background: var(--bg); }
.pr-ar { font-size: 150px; line-height: 1.75; display: block; }
.pr-say { display: block; color: var(--muted); padding: 6px 0 12px; }
.pr-band { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--band); flex-wrap: wrap; }
.cue { border-radius: 999px; padding: 6px 16px; font-weight: 700; letter-spacing: .14em; font-size: 15px; background: var(--line); color: var(--muted); }
.practice.listening .cue-listen { background: var(--green); color: #fff; }
.practice.turn .cue-turn { background: var(--amber); color: #fff; }
.pr-status { flex: 1; min-width: 160px; }
.pr-bar { width: 140px; height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.pr-bar i { display: block; height: 100%; width: 0; background: var(--amber); }
.pr-actions { display: flex; align-items: center; gap: 16px; padding: 14px 16px; flex-wrap: wrap; }
.pr-mic { font-size: 15px; color: var(--muted); }
.pr-compare { padding: 0 16px 16px; }
.cmp { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 10px; margin: 8px 0; }
.cmp-label { font-weight: 600; font-size: 15px; }
.wave { width: 100%; height: 70px; background: var(--bg); border-radius: 8px; }
.pr-note { padding: 0 16px 14px; margin: 0; }

/* tips */
.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tip { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.tip b { font-family: var(--font-head); color: var(--green); font-size: 19px; }
.tip p { margin: 6px 0 0; font-size: 16px; }
.today { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.week { display: flex; gap: 6px; }
.week span { width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--line); font-size: 11px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.week span.on { background: var(--green); border-color: var(--green); color: #fff; }

/* complete */
.journey { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 6px; margin: 10px 0 18px; }
.journey span { height: 22px; border-radius: 6px; background: var(--band); border: 1px solid var(--line); transition: background .6s; }
.journey span.done { background: var(--green); border-color: var(--green); }
.journey span.next { border: 2px solid var(--gold); }
.done-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

/* course home */
.lesson-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lesson-list li > a, .lesson-list li.soon { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--ink); }
.lesson-list li.open > a { border-color: var(--green); }
.lesson-list li.soon { opacity: .6; }
.ln { font-family: var(--font-head); font-weight: 600; color: var(--gold); }
.state { font-size: 14px; color: var(--muted); }
.lesson-list li.open .state { color: var(--green); font-weight: 600; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .step { padding: 20px 16px; }
  .tips { grid-template-columns: 1fr; }
  .pr-ar { font-size: 120px; }
  .word-ar { font-size: 78px; }
  .pair { gap: 12px; }
  .pw { min-width: 0; padding: 10px 14px; }
  .pw-ar { font-size: 52px; }
  .journey { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- practice-first steps */
.glyph { display: block; line-height: normal; }
.recap { margin: 6px 0 14px; padding-left: 22px; font-size: 19px; }
.recap li { margin: 6px 0; }
.video-link { margin-top: 14px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 15px; cursor: pointer; min-height: 38px; }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }

.grid7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.gcell { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); cursor: pointer; font: inherit; }
.gcell.playing { border-color: var(--green); box-shadow: 0 0 0 2px var(--green) inset; }
.gl { height: 64px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gl .ar { font-size: 40px; }
.gname { font-size: 13px; color: var(--muted); }

.pr-rows { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 16px 0; }
.pr-strip { display: flex; justify-content: center; gap: 10px; padding: 0 16px 12px; background: var(--bg); flex-wrap: wrap; }
.ps { font-family: var(--font-ar); font-size: 30px; line-height: 1.6; padding: 0 8px; border-radius: 8px; color: var(--muted); }
.ps.on { background: var(--green); color: #fff; }
.ps.done { color: var(--green); }

.quiz { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.q { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--bg); }
.q.solved { border-color: var(--green); }
.q-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.q-n { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.q-p { font-weight: 600; flex: 1; }
.opts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.opt { border: 2px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 12px; padding: 8px 16px; font: inherit; cursor: pointer; min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.opts.letters .opt { width: 84px; height: 84px; padding: 0; overflow: hidden; }
.opt-ar { font-size: 30px; }
.opt-ar.big { font-size: 44px; }
.opt-l { font-size: 15px; }
.opt.right { border-color: var(--green); background: var(--green); color: #fff; }
.opt.wrong { border-color: #b3261e; opacity: .6; }
.q-fb { margin: 8px 0 0; font-weight: 600; min-height: 1.4em; }
.q-explain { margin: 4px 0 0; color: var(--muted); }
.quiz-score { font-weight: 600; color: var(--green); margin-top: 12px; }

.read-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-top: 12px; background: var(--bg); }
.rr-letters { display: flex; gap: 10px; }
.rr-cell { width: 70px; height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.rr-cell > .ar { font-size: 40px; }
.rr-cell.on { border-color: var(--green); box-shadow: 0 0 0 2px var(--green) inset; }
.rr-name { font-size: 12px; color: var(--muted); }

.plan { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 10px 0; }
.plan-l { font-weight: 600; }

@media (max-width: 640px) {
  .grid7 { gap: 5px; }
  .gl { height: 50px; }
  .gl .ar { font-size: 30px; }
  .gname { font-size: 11px; }
  .rr-cell { width: 54px; height: 80px; }
  .rr-cell > .ar { font-size: 32px; }
  .rr-letters { gap: 6px; }
}
/* big practice letter: fixed-height stage so its tall line box never covers the row buttons */
.pr-letter { height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 0; }
.pr-ar { font-size: 108px; pointer-events: none; }
.pr-say { padding: 0 0 6px; }
@media (max-width: 640px) { .pr-letter { height: 210px; } .pr-ar { font-size: 88px; } }
/* letter stages hold only the glyph; names sit underneath */
.pr-letter { height: 210px; }
.pr-say { text-align: center; color: var(--muted); background: var(--bg); padding: 0 0 8px; min-height: 1.6em; }
.rr-cell { height: auto; padding: 4px 0 6px; justify-content: flex-start; }
.rr-cell .gl { height: 64px; width: 100%; }
.rr-cell .gl .ar { font-size: 40px; }
.rr-name { min-height: 1.2em; }
@media (max-width: 640px) { .pr-letter { height: 170px; } .rr-cell .gl { height: 52px; } .rr-cell .gl .ar { font-size: 32px; } }
/* Guided order (course home + lesson pages) */
.lesson-list li.up-next a { border-color: var(--green); box-shadow: inset 4px 0 0 var(--green); }
.lesson-list li.up-next .state { color: var(--green); font-weight: 700; }
.lesson-list li.later .state { color: var(--muted); font-weight: 600; }
.order-note { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--band); border-left: 4px solid var(--gold); color: var(--ink); }
.order-note a { color: var(--green); font-weight: 700; }

/* groups of letters or words (L1-03 non-joiners, L1-05 throat parts) */
.groups { display: grid; gap: 14px; margin-top: 14px; }
.group { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.group h3 { margin: 0 0 8px; font-size: 18px; }
.gitems { display: flex; flex-wrap: wrap; gap: 8px; }
.gitems .gcell { min-width: 74px; }
.gcell.static { cursor: default; }
.group p { margin: 8px 0 0; font-size: 16px; }
/* one letter, four shapes (L1-03) */
.forms { width: 100%; border-collapse: collapse; margin-top: 12px; }
.forms th { font-size: 13px; color: var(--muted); font-weight: 600; padding: 4px; text-align: center; }
.forms td { text-align: center; padding: 3px; border-top: 1px solid var(--line); }
.forms tr.nj td { background: color-mix(in srgb, var(--line) 45%, transparent); }
.forms td .gcell { width: 100%; }
/* a word shown with a quiz question (find the letter) */
.q-word .ar { font-size: 44px; line-height: 1.6; }
.done-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }

/* ---------------------------------------------------------------- course homepage (2026-10-20) */
.course-home h1 { font-family: var(--font-head); font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin: 8px 0 14px; }
.ch-hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: center; padding: 28px; margin: 4px 0 40px; background: var(--band); border: 1px solid var(--line); border-radius: 22px; }
.ch-hero .lead { margin: 0 0 20px; color: var(--ink); }
.ch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.ch-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ch-facts li { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.ch-facts b { color: var(--green); }
.ch-hero-art { aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; background: radial-gradient(circle at 50% 35%, #2c7660, #173f33 75%); border: 3px solid #c9a65c; box-shadow: inset 0 0 0 7px #173f33, inset 0 0 0 8px rgba(216, 182, 110, .55), var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #e7c97f; }
.ch-hero-art .ar { white-space: nowrap; display: block; font-family: var(--font-ar); font-size: clamp(60px, 9vw, 92px); line-height: 1.5; }
.ch-art-cap { margin-top: 14px; font-family: var(--font-head); letter-spacing: .3em; text-transform: uppercase; font-size: 13px; color: #e6dec8; opacity: .85; }
.ch-h { font-family: var(--font-head); font-size: 26px; margin: 44px 0 16px; }
.ch-h::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 10px; border-radius: 3px; background: var(--gold); }
.ch-ico { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--band); color: var(--green); margin-bottom: 10px; }
.ch-ico svg { width: 26px; height: 26px; }
.ch-cards, .ch-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ch-steps { grid-template-columns: repeat(3, 1fr); counter-reset: chs; }
.ch-cards li, .ch-steps li, .ch-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.ch-cards h3, .ch-steps h3, .ch-panel h3 { font-family: var(--font-head); font-size: 19px; margin: 0 0 6px; }
.ch-cards p, .ch-steps p, .ch-panel p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.ch-steps li { position: relative; counter-increment: chs; }
.ch-steps li::before { content: counter(chs); position: absolute; top: 16px; right: 18px; font-family: var(--font-head); font-size: 34px; font-weight: 600; color: var(--gold); opacity: .35; }
.ch-note { margin: 16px 0 0; padding: 12px 16px; border-left: 4px solid var(--gold); background: var(--band); border-radius: 0 12px 12px 0; font-size: 16px; }
.ch-outcomes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ch-outcomes li { position: relative; padding: 14px 16px 14px 54px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: 17px; }
.ch-outcomes li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.ch-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; }
.ch-needs { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.ch-needs li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.ch-needs svg { width: 24px; height: 24px; color: var(--green); flex-shrink: 0; }
.ch-panel .small { margin-top: 10px; font-size: 14px; }
.ch-opt { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; vertical-align: middle; margin-left: 6px; }
.ch-faq { display: grid; gap: 10px; }
.ch-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.ch-faq summary { cursor: pointer; padding: 15px 30px 15px 0; font-weight: 600; list-style: none; position: relative; }
.ch-faq summary::-webkit-details-marker { display: none; }
.ch-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--gold); }
.ch-faq details[open] summary::after { content: "\2212"; }
.ch-faq details p { margin: 0 0 16px; color: var(--muted); }
.ch-memorial { margin: 48px 0 0; padding: 34px 24px; border-radius: 22px; background: #1d3b2f; color: #e6dec8; text-align: center; border: 1px solid #2c5544; }
.ch-memorial p { margin: 0; font-size: 16px; }
.ch-memorial .ch-name { font-family: var(--font-head); font-size: 28px; color: #d8b66e; margin: 12px 0; }
@media (max-width: 720px) {
  .ch-hero { grid-template-columns: 1fr; padding: 22px; gap: 20px; }
  .ch-hero-art { order: -1; aspect-ratio: auto; height: 190px; border-radius: 120px 120px 16px 16px; }
  .ch-hero-art .ar { font-size: 58px; line-height: 1.25; }
  .ch-art-cap { margin-top: 18px; }
  .ch-steps { grid-template-columns: 1fr; }
  .ch-split { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ch-cards { grid-template-columns: 1fr; }
  .ch-actions .btn { flex: 1 1 100%; }
  .ch-h { font-size: 23px; }
}
[data-theme="dark"] .course-home h1, [data-theme="dark"] .ch-h { color: var(--ink); }
.ch-level { font-family: var(--font-head); font-size: 20px; margin: 28px 0 10px; color: var(--green); }
[data-theme="dark"] .ch-level { color: var(--gold); }
