/* =========================================================
   Belajar English: theme
   ========================================================= */
:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #fbfaf7;
  --ink: #16181d;
  --muted: #646a77;
  --line: #e8e4db;
  --soft: #f1eee7;

  --brand: #ff5a36;
  --brand-ink: #ffffff;
  --brand-soft: #ffe9e3;
  --sun: #ffb020;
  --navy: #1b1f44;

  --subj: #12805a;
  --subj-bg: #e2f4eb;
  --obj: #1665c1;
  --obj-bg: #e4eefb;
  --name: #a2780a;
  --warn: #c0352b;
  --warn-bg: #fdecea;
  --ok-bg: #e2f4eb;
  --why: #9a6400;
  --why-bg: #fff5da;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(22, 24, 29, .04), 0 4px 16px rgba(22, 24, 29, .05);
  --shadow-lg: 0 10px 30px rgba(22, 24, 29, .10);
  --font: "InterVariable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
:root { color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1014;
    --surface: #171a20;
    --surface-2: #1b1f26;
    --ink: #eceef2;
    --muted: #9ba2ae;
    --line: #2a2f39;
    --soft: #222731;
    --brand: #ff7656;
    --brand-ink: #1a0d08;
    --brand-soft: #3a1f17;
    --navy: #121533;
    --subj: #52d49c;
    --subj-bg: #11302a;
    --obj: #78b8ff;
    --obj-bg: #14283f;
    --name: #f0c24f;
    --warn: #ff8a80;
    --warn-bg: #3a1d1c;
    --ok-bg: #11302a;
    --why: #f2c14e;
    --why-bg: #2c2513;
    --shadow: none;
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1014;
  --surface: #171a20;
  --surface-2: #1b1f26;
  --ink: #eceef2;
  --muted: #9ba2ae;
  --line: #2a2f39;
  --soft: #222731;
  --brand: #ff7656;
  --brand-ink: #1a0d08;
  --brand-soft: #3a1f17;
  --navy: #121533;
  --subj: #52d49c;
  --subj-bg: #11302a;
  --obj: #78b8ff;
  --obj-bg: #14283f;
  --name: #f0c24f;
  --warn: #ff8a80;
  --warn-bg: #3a1d1c;
  --ok-bg: #11302a;
  --why: #f2c14e;
  --why-bg: #2c2513;
  --shadow: none;
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16.5px; line-height: 1.65;
  font-optical-sizing: auto;
  /* Inter: capital I with serifs and l with a tail, so "I" never looks like "l" */
  font-feature-settings: "cv05" 1, "cv08" 1;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, video, iframe { max-width: 100%; }
code { font-size: .9em; background: var(--soft); padding: 1px 6px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.2px; white-space: nowrap; }
.brand-mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--sun)); color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 90, 54, .35);
}
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; line-height: 1; margin-top: 2px; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a.active { background: var(--ink); color: var(--bg); }

main { padding: 28px 0 72px; }
.site-footer { color: var(--muted); font-size: 13px; padding: 28px 0 40px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Type ---------- */
h1 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.15; letter-spacing: -.6px; margin: 0 0 10px; font-weight: 800; }
h2 { font-size: clamp(20px, 2.6vw, 24px); line-height: 1.3; letter-spacing: -.2px; margin: 0 0 12px; font-weight: 750; }
h3 { font-size: 17px; margin: 0 0 8px; font-weight: 800; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.s { color: var(--subj); font-weight: 800; }
.o { color: var(--obj); font-weight: 800; }
.n { color: var(--name); font-weight: 800; }
.v { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.section { margin-top: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  padding: 11px 18px; border-radius: 999px; font: 700 15px/1.2 var(--font);
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { background: var(--soft); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(255, 90, 54, .28); }
.btn-primary:hover { background: var(--brand); filter: brightness(1.05); box-shadow: 0 8px 22px rgba(255, 90, 54, .36); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--ink); opacity: .9; }
.btn-ghost-light { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .18); }
.btn-danger { color: var(--warn); }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
label.field, span.field { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.input, select.input, textarea.input {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; background: var(--surface-2); color: var(--ink);
}
.input:focus { outline: 2px solid var(--brand); outline-offset: 1px; background: var(--surface); }
.form-row { margin-bottom: 18px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 5px; }
.error { color: var(--warn); font-size: 13px; margin-top: 5px; font-weight: 600; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 15px; font-weight: 600; }
.alert-ok { background: var(--ok-bg); color: var(--subj); }
.alert-err { background: var(--warn-bg); color: var(--warn); }
.segmented { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; gap: 4px; }
.segmented label { position: relative; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--muted); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; cursor: pointer; user-select: none; }
.toggle input { appearance: none; -webkit-appearance: none; width: 40px; height: 24px; border-radius: 999px; background: var(--line); position: relative; cursor: pointer; transition: background .2s; flex-shrink: 0; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.toggle input:checked { background: var(--subj); }
.toggle input:checked::after { transform: translateX(16px); }
.toggle input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: 28px; color: #fff; padding: 44px 40px;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255, 90, 54, .55), transparent 60%),
    radial-gradient(500px 300px at 70% 110%, rgba(64, 140, 255, .45), transparent 60%),
    radial-gradient(400px 260px at 0% 100%, rgba(46, 200, 140, .35), transparent 60%),
    var(--navy);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center;
}
.hero .eyebrow { color: rgba(255, 255, 255, .7); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffb020, #ff7a59); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: rgba(255, 255, 255, .82); font-size: 17px; max-width: 520px; }
.hero .btn-row { margin-top: 20px; }
.hero-art { position: relative; height: 240px; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: #16181d;
  font-weight: 800; font-size: 22px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  animation: float 6s ease-in-out infinite;
}
.chip .cs { color: #12805a; } .chip .co { color: #1665c1; }
.chip .arrow { color: #b6bac4; font-size: 18px; }
.chip:nth-child(1) { top: 6px; left: 8%; transform: rotate(-6deg); }
.chip:nth-child(2) { top: 70px; right: 2%; transform: rotate(5deg); animation-delay: -2s; }
.chip:nth-child(3) { top: 140px; left: 0; transform: rotate(3deg); animation-delay: -4s; }
.chip:nth-child(4) { bottom: 0; right: 14%; transform: rotate(-4deg); animation-delay: -1s; font-size: 18px; background: #ffb020; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 22px; }
  .hero-art { height: 190px; }
  .chip { font-size: 18px; padding: 10px 14px; }
  .chip:nth-child(2) { top: 56px; } .chip:nth-child(3) { top: 112px; }
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 26px; letter-spacing: -.5px; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }
@media (max-width: 680px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 36px 0 14px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: path; }
.path-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.path-step:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.path-step .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 12px; }
.path-step:nth-child(1) .ico { background: var(--subj-bg); }
.path-step:nth-child(2) .ico { background: var(--brand-soft); }
.path-step:nth-child(3) .ico { background: var(--obj-bg); }
.path-step h3 { margin-bottom: 4px; }
.path-step p { margin: 0; font-size: 14px; color: var(--muted); }
.path-step .no { position: absolute; top: 16px; right: 18px; font-size: 13px; font-weight: 800; color: var(--muted); }
@media (max-width: 760px) { .path { grid-template-columns: 1fr; } }

.chapter-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.chapter-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.chapter-num {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  font-size: 28px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--subj), var(--obj));
}
.chapter-card h2 { margin: 2px 0 4px; }
.chapter-card p { margin: 0; }
.meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.pill-ok { background: var(--ok-bg); color: var(--subj); }
.go { font-size: 22px; color: var(--muted); }
@media (max-width: 600px) { .chapter-card { grid-template-columns: auto 1fr; } .go { display: none; } .chapter-num { width: 52px; height: 52px; font-size: 22px; } }

/* ---------- Chapter banner & tabs ---------- */
.chapter-banner {
  position: relative; overflow: hidden; border-radius: 24px; padding: 28px 28px 0; color: #fff; margin-bottom: 24px;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(255, 90, 54, .5), transparent 60%),
    radial-gradient(380px 220px at 0% 120%, rgba(46, 200, 140, .35), transparent 60%),
    var(--navy);
}
.chapter-banner .eyebrow { color: rgba(255, 255, 255, .7); }
.chapter-banner h1 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin-bottom: 6px; }
.chapter-banner .sub { color: rgba(255, 255, 255, .78); margin: 0 0 18px; max-width: 640px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 16px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 15px;
  color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
}
.tabs a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.tabs a.active { background: #fff; color: #16181d; border-color: #fff; }
.tabs .count { font-size: 12px; background: rgba(255, 255, 255, .18); border-radius: 999px; padding: 1px 8px; }
.tabs a.active .count { background: #f1eee7; }

/* ---------- Lesson layout ---------- */
.lesson { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.lesson > * { min-width: 0; }
.lesson-nav { position: sticky; top: 84px; }
.lesson-nav .card { padding: 18px; }
.progress-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.progress { height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--subj), #2fc28a); border-radius: 999px; transition: width .3s; }
.toc { list-style: none; margin: 14px 0 0; padding: 0; }
.toc a { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 7px 8px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.toc a:hover { background: var(--soft); color: var(--ink); }
.toc a.current { background: var(--soft); color: var(--ink); }
.toc .dot { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--soft); color: var(--muted); border: 1.5px solid var(--line); }
.toc a.current .dot { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.toc a.done .dot { background: var(--subj); color: #fff; border-color: var(--subj); }
.toc a.done .dot::before { content: "✓"; }
.toc a.done .dot span { display: none; }
.lesson-nav .video-mini { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px; border-radius: 12px; background: var(--brand-soft); text-decoration: none; font-size: 14px; font-weight: 700; }
.lesson-nav .video-mini img { width: 64px; border-radius: 8px; }
@media (max-width: 960px) {
  .lesson { grid-template-columns: minmax(0, 1fr); }
  .lesson-nav { position: static; }
  .toc { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .toc::-webkit-scrollbar { display: none; }
  .toc li { flex-shrink: 0; }
  .toc a { background: var(--soft); white-space: nowrap; padding: 6px 12px 6px 6px; border-radius: 999px; }
  .toc .label-long { display: none; }
  .lesson-nav .video-mini { display: none; }
}
@media (min-width: 961px) { .toc .label-short { display: none; } }

.step { scroll-margin-top: 84px; }
.step + .step { margin-top: 18px; }
.step-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.step-no {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--sun));
}
.step-head h2 { margin: 0 0 2px; }
.step-head .muted { font-size: 14px; }
.step-foot { display: flex; justify-content: flex-end; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.done-btn { border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); padding: 9px 16px; border-radius: 999px; font: 700 14px/1 var(--font); cursor: pointer; }
.done-btn:hover { border-color: var(--subj); color: var(--subj); }
.done-btn.is-done { background: var(--subj); border-color: var(--subj); color: #fff; }

.formula { text-align: center; font-size: clamp(18px, 3vw, 26px); font-weight: 800; background: var(--soft); border-radius: var(--radius); padding: 18px; margin: 6px 0 16px; letter-spacing: -.3px; }
.formula small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.rule-box { border-radius: var(--radius); padding: 18px; }
.rule-box.subj { background: var(--subj-bg); }
.rule-box.obj { background: var(--obj-bg); }
.rule-box .big { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .compare { grid-template-columns: 1fr; } }
.compare > div { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.compare > div:last-child { border-color: var(--subj); background: var(--ok-bg); }
.compare ul { list-style: none; margin: 8px 0 0; padding: 0; }
.compare li { margin: 4px 0; }

.why, .tip { border-radius: var(--radius-sm); padding: 14px 16px 14px 52px; margin: 14px 0; position: relative; }
.why { background: var(--why-bg); }
.tip { background: var(--obj-bg); }
.why::before, .tip::before { position: absolute; left: 14px; top: 12px; font-size: 22px; line-height: 1; }
.why::before { content: "💡"; }
.tip::before { content: "🎯"; }
.why b.tag, .tip b.tag { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.why b.tag { color: var(--why); }
.tip b.tag { color: var(--obj); }

.bd { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.w { display: inline-flex; flex-direction: column; align-items: center; padding: 8px 12px 5px; border-radius: 12px; font-weight: 800; font-size: 19px; line-height: 1.15; }
.w small { font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; margin-top: 4px; opacity: .85; }
.w-s { background: var(--subj-bg); color: var(--subj); }
.w-o { background: var(--obj-bg); color: var(--obj); }
.w-v { background: var(--soft); color: var(--ink); }
.w-x { color: var(--muted); font-weight: 600; }
.w-x small { visibility: hidden; }
.idn { color: var(--muted); font-size: 15px; margin: 0 0 12px; }

details.quick { margin-top: 16px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
details.quick summary { cursor: pointer; font-weight: 800; padding: 12px 16px; list-style: none; display: flex; align-items: center; gap: 10px; }
details.quick summary::-webkit-details-marker { display: none; }
details.quick summary::before { content: "✍️"; }
details.quick summary::after { content: "Lihat jawaban"; margin-left: auto; font-size: 12px; font-weight: 700; color: var(--brand); white-space: nowrap; }
details.quick[open] summary::after { content: "Tutup"; }
details.quick .ans, details.quick ol { padding: 0 16px 14px; }
details.quick ol { margin: 0; padding-left: 36px; }
details.quick li { margin: 5px 0; }

.mini { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.mini th, .mini td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.mini tr:last-child td { border-bottom: 0; }
.mini th { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); background: var(--surface-2); }
.mini tr.hl td { background: var(--subj-bg); }
.sfx { color: var(--brand); font-weight: 800; }
.think { counter-reset: t; list-style: none; padding: 0; margin: 10px 0 0; }
.think li { counter-increment: t; position: relative; padding-left: 38px; margin: 10px 0; }
.think li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.example-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin-top: 12px; }
.example-box h3 { font-size: 16px; }

.table-wrap { overflow-x: auto; }
table.pron { width: 100%; border-collapse: collapse; }
table.pron th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); }
table.pron td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.pron tr:last-child td { border-bottom: 0; }
table.pron td.p { font-size: 22px; font-weight: 800; white-space: nowrap; }
table.pron .sub { display: block; font-size: 13px; color: var(--muted); }
.hide-obj td.objcol .reveal { display: inline-block; filter: blur(8px); cursor: pointer; user-select: none; transition: filter .2s; }
.hide-obj td.objcol .reveal.shown { filter: none; }

.summary { background: linear-gradient(135deg, var(--subj-bg), var(--obj-bg)); border: 0; }
.summary ol { margin: 0; padding-left: 22px; }
.summary li { margin: 8px 0; }
.pairs { display: flex; flex-wrap: wrap; gap: 8px; }
.pair { background: var(--surface); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: 17px; box-shadow: var(--shadow); }
.bad { color: var(--warn); }
.good { color: var(--subj); }

.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--ink); color: var(--bg); border: 0; }
.cta-card .muted { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.cta-card .btn:not(.btn-primary) { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 30%, transparent); }

/* ---------- Video ---------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-sm); overflow: hidden; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card { padding: 14px; }
.video-card .body { padding: 8px 8px 4px; }
.empty { text-align: center; padding: 48px 20px; }
.empty .icon { font-size: 40px; margin-bottom: 8px; }

/* ---------- Quiz ---------- */
.quiz-bar {
  position: sticky; top: 64px; z-index: 5; margin: 0 -16px 16px; padding: 12px 16px;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line);
}
.quiz-bar .progress { flex: 1; min-width: 140px; height: 10px; }
.quiz-bar .count { font-weight: 800; font-size: 14px; white-space: nowrap; }
.quiz-layout { max-width: 820px; margin: 0 auto; }
.section-title { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px; font-size: 19px; }
.section-title::before { content: ""; width: 6px; height: 22px; border-radius: 3px; background: var(--brand); }
.q { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px; box-shadow: var(--shadow); transition: border-color .2s, background .2s; }
.q-num { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--muted); }
.q-prompt { font-size: 18px; font-weight: 700; margin: 6px 0 14px; line-height: 1.5; }
.blank { display: inline-block; min-width: 70px; border-bottom: 2.5px solid var(--brand); text-align: center; color: var(--obj); font-weight: 800; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 700; background: var(--surface-2); transition: border-color .15s, background .15s, transform .1s; }
.opt span:hover { border-color: var(--muted); }
.opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.opt input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.q.is-right { border-color: var(--subj); background: var(--ok-bg); }
.q.is-wrong { border-color: var(--warn); background: var(--warn-bg); }
.opt.right span { border-color: var(--subj); background: var(--subj); color: #fff; }
.opt.wrong span { border-color: var(--warn); background: transparent; color: var(--warn); text-decoration: line-through; }
.feedback { margin-top: 12px; font-size: 14px; display: none; padding-top: 10px; border-top: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent); }
.q.show-feedback .feedback { display: block; }
.submit-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.score-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.ring {
  --p: 0; --c: var(--subj);
  width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--soft) 0);
}
.ring > div { width: 126px; height: 126px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; text-align: center; }
.ring b { font-size: 38px; line-height: 1; letter-spacing: -1px; }
.ring span { display: block; font-size: 13px; color: var(--muted); font-weight: 700; }
.score-card h2 { font-size: clamp(22px, 3vw, 30px); }
@media (max-width: 600px) { .score-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } .score-card .btn-row { justify-content: center; } }
.badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; }
.badge-ok { background: var(--subj); color: #fff; }
.badge-bad { background: var(--warn); color: #fff; }
.history { list-style: none; padding: 0; margin: 0; }
.history li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.history li:last-child { border-bottom: 0; }
.history a { text-decoration: none; }

/* ---------- Panel ---------- */
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.panel-head h1 { margin: 0; }
.panel-list { list-style: none; padding: 0; margin: 0; }
.panel-item { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.panel-item:last-child { border-bottom: 0; }
.thumb { width: 132px; flex-shrink: 0; aspect-ratio: 16/9; border-radius: 10px; background: var(--soft); object-fit: cover; display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.panel-item .grow { flex: 1; min-width: 0; }
.panel-item .title { font-weight: 800; overflow-wrap: anywhere; }
@media (max-width: 560px) { .panel-item { flex-wrap: wrap; } .thumb { width: 100%; } }
.login-box { max-width: 400px; margin: 40px auto; }
.login-box .brand-mark { width: 48px; height: 48px; font-size: 20px; border-radius: 14px; margin-bottom: 14px; }

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
  .brand { font-size: 16px; }
  .brand small { display: none; }
  .nav a { padding: 7px 10px; font-size: 13px; }
  .card { padding: 18px; }
  .chapter-banner { padding: 22px 18px 0; border-radius: 20px; }
}

/* Quiz: un-check / redo tools */
.quiz-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.quiz-tools .btn[disabled] { opacity: .45; cursor: not-allowed; }
.quiz-tools .pill { padding: 0 8px; font-size: 12px; background: var(--warn); color: #fff; }
.quiz-hint { margin: -6px 0 6px; }
.q-reset {
  margin-left: auto; border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font: 700 12px/1 var(--font); padding: 6px 10px; border-radius: 999px; cursor: pointer;
}
.q-reset:hover { color: var(--ink); border-color: var(--muted); }
.q-reset[hidden] { display: none; }
.quiz-tools .btn[hidden] { display: none; }
.q .opt.right input + span { border-color: var(--subj); background: var(--subj); color: #fff; }
.q .opt.wrong input + span { border-color: var(--warn); background: var(--warn-bg); color: var(--warn); text-decoration: line-through; }

/* Simpler lesson helpers */
.inti { display: flex; gap: 12px; align-items: flex-start; background: var(--brand-soft); border-radius: var(--radius-sm); padding: 14px 16px; margin: 0 0 16px; font-size: 17px; font-weight: 700; line-height: 1.5; }
.inti::before { content: "👉"; font-size: 20px; line-height: 1.3; }
.ex-list { list-style: none; margin: 8px 0; padding: 0; }
.ex-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 17px; }
.ex-list li:last-child { border-bottom: 0; }
.tr { display: block; font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 2px; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0; }
.vs > div { border-radius: var(--radius-sm); padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); }
.vs > div.hot { background: var(--brand-soft); border-color: var(--brand); }
.vs h4 { margin: 0 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.vs .big-line { font-size: 19px; font-weight: 700; margin: 3px 0; }
@media (max-width: 560px) { .vs { grid-template-columns: 1fr; } }
.choose { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin: 10px 0; }
.choose > div { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; }
.choose .who { font-size: 13px; color: var(--muted); font-weight: 700; }
.choose .pp { font-size: 20px; font-weight: 800; }
.mnemonic { text-align: center; font-size: clamp(20px, 3.4vw, 28px); font-weight: 800; padding: 18px; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand-soft), var(--why-bg)); margin: 14px 0; letter-spacing: -.3px; }
.mnemonic small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
details.more { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
details.more > summary { cursor: pointer; padding: 12px 16px; font-weight: 800; list-style: none; display: flex; gap: 10px; align-items: center; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: "📎"; }
details.more > summary::after { content: "Buka"; margin-left: auto; font-size: 12px; color: var(--brand); }
details.more[open] > summary::after { content: "Tutup"; }
details.more > .more-body { padding: 0 16px 16px; }

/* Quiz part tabs */
.part-nav { display: grid; gap: 14px; padding: 16px 18px; margin-bottom: 18px; }
.part-group-title { font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.part-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.part-tabs a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink);
}
.part-tabs a:hover { border-color: var(--muted); }
.part-tabs a.is-material { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.part-tabs a.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.part-tabs a.is-material.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.n-badge { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.part-tabs a.active .n-badge { background: rgba(255, 255, 255, .22); color: inherit; }
.part-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 6px 0 14px; }
.quiz-bar { row-gap: 10px; }
.quiz-hint { overflow-wrap: anywhere; }

/* =========================================================
   Mobile: nothing scrolls sideways, choices stay compact
   ========================================================= */
.lbl-short { display: none; }
.toc-box > summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 14px; margin-top: 14px; display: none; }
.toc-box > summary::-webkit-details-marker { display: none; }

@media (max-width: 960px) {
  /* Table of contents: a folded vertical list instead of a sideways strip */
  .toc-box > summary { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: var(--soft); }
  .toc-box > summary::after { content: "Buka ▾"; font-size: 12px; color: var(--brand); }
  .toc-box[open] > summary::after { content: "Tutup ▴"; }
  .toc { display: block; overflow: visible; margin-top: 8px; }
  .toc li { flex-shrink: 1; }
  .toc a { background: none; white-space: normal; padding: 7px 8px; border-radius: 10px; }
}

@media (max-width: 600px) {
  /* Chapter tabs: three equal buttons, no sideways scroll */
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; gap: 6px; }
  .tabs a { justify-content: center; padding: 9px 4px; font-size: 14px; gap: 5px; }
  .tabs .count { padding: 0 6px; }

  /* Quiz part tabs: two per row */
  .part-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .part-tabs a { justify-content: space-between; font-size: 13px; padding: 8px 10px; line-height: 1.3; border-radius: 12px; }
  .part-tabs:has(> a:only-child) { grid-template-columns: 1fr; }

  /* Answer choices: an even grid that fits the card */
  .opts { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 8px; }
  .opt span { display: block; text-align: center; padding: 11px 4px; }
  .opts-long .opt span { text-align: left; padding: 11px 14px; }
  .q { padding: 16px; }
  .q-prompt { font-size: 17px; }
  .q-num { flex-wrap: wrap; }

  /* Sticky quiz bar: two short rows */
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .quiz-bar { gap: 8px 10px; padding: 10px 16px; }
  .quiz-bar .count { order: 0; }
  .quiz-bar .progress { order: 1; min-width: 0; flex: 1 1 120px; }
  .quiz-bar .toggle { order: 2; font-size: 13px; }
  .quiz-tools { order: 3; margin-left: auto; gap: 6px; }
  .quiz-tools .btn { padding: 6px 10px; font-size: 12px; }

  /* Pronoun example table: one card per pronoun */
  table.pron thead { display: none; }
  table.pron, table.pron tbody { display: block; }
  table.pron tr { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
  table.pron tr:last-child { border-bottom: 0; }
  table.pron td { display: block; padding: 0; border: 0; }
  table.pron td.p { font-size: 22px; }
  table.pron td.p.s::after { content: " →"; color: var(--muted); font-weight: 600; }
  table.pron td:last-child { grid-column: 1 / -1; margin-top: 6px; }

  /* Small tables: stack each row */
  .mini thead, .mini tr:first-child:has(th) { display: none; }
  .mini, .mini tbody { display: block; border: 0; border-radius: 0; }
  .mini tr { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: var(--surface); }
  .mini tr.hl { background: var(--subj-bg); }
  .mini tr.hl td { background: none; }
  .mini td { display: block; padding: 2px 0; border: 0; }
  .mini td:first-child { font-weight: 800; }

  .score-card { gap: 16px; }
  .ring { width: 140px; height: 140px; }
  .ring > div { width: 110px; height: 110px; }
}

/* Theme toggle */
.nav { align-items: center; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  font-size: 17px; line-height: 1; cursor: pointer; display: grid; place-items: center; margin-left: 4px; flex-shrink: 0;
}
.theme-toggle:hover { background: var(--soft); }

/* Lesson sidebar: drawer on phones / tablets */
.drawer-head, .nav-fab, .nav-backdrop { display: none; }
@media (max-width: 960px) {
  .lesson-nav {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 60; width: min(330px, 88vw);
    padding: 14px; background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-105%); transition: transform .25s ease; box-shadow: var(--shadow-lg);
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .lesson-nav { transform: none; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; font-size: 15px; }
  .drawer-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); font-size: 15px; cursor: pointer; }
  body.nav-open .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .45); }
  .lesson-nav .video-mini { display: flex; }
  .toc { display: block; }
  .toc a { padding: 9px 8px; }

  .nav-fab {
    display: inline-flex; align-items: center; gap: 8px; position: fixed; z-index: 50;
    right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    padding: 12px 16px; border-radius: 999px; border: 0; cursor: pointer;
    background: var(--ink); color: var(--bg); font: 800 15px/1 var(--font); box-shadow: var(--shadow-lg), 0 6px 18px rgba(0,0,0,.25);
  }
  .fab-bar { width: 44px; height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 25%, transparent); overflow: hidden; }
  .fab-bar > span { display: block; height: 100%; width: 0; background: var(--subj); transition: width .3s; }
  body.nav-open .nav-fab { display: none; }
  main { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .lesson-nav { transition: none; } }
.nav .lbl-long { display: inline; }
@media (max-width: 600px) { .nav .lbl-long { display: none; } }
@media (max-width: 400px) {
  .site-header .wrap { gap: 8px; }
  .brand { gap: 8px; font-size: 15px; }
  .brand-mark { width: 30px; height: 30px; font-size: 14px; }
  .nav { gap: 2px; }
  .theme-toggle { width: 34px; height: 34px; font-size: 15px; margin-left: 2px; }
}

/* Readability: Inter, a touch more air, lighter heavy weights */
p, li, td { text-wrap: pretty; }
.inti { font-weight: 650; }
.big-line { font-weight: 600; }
.q-prompt { font-weight: 600; line-height: 1.55; }
.opt span { font-weight: 600; }
.ex-list li { line-height: 1.55; }
@media (max-width: 600px) { body { font-size: 16px; } .q-prompt { font-size: 17px; } }

/* Rumus per question */
.q-actions { margin-left: auto; display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.q-actions .q-reset { margin-left: 0; }
.q-hint {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font: 700 12px/1 var(--font); padding: 6px 10px; border-radius: 999px; cursor: pointer;
}
.q-hint:hover, .q-hint.on { color: var(--obj); border-color: var(--obj); background: var(--obj-bg); }
.hint-box { margin-top: 12px; }
.hint-box[hidden] { display: none; }
.q.show-feedback .hint-box { display: none; }
.rumus { background: var(--obj-bg); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.rumus-title { font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--obj); margin-bottom: 4px; }
.rumus-rule { font-size: 15px; line-height: 1.55; color: var(--ink); }
.rumus-pairs { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.rumus .bd { margin: 10px 0 2px; }
.rumus .w { font-size: 17px; background: var(--surface); }
.rumus .w-s { background: var(--subj-bg); }
.rumus .w-o { background: var(--surface); color: var(--obj); box-shadow: inset 0 0 0 1.5px var(--obj); }
.rumus .w-x { background: transparent; }
.fb-label:empty { display: none; }
.fb-why { margin-top: 6px; }
.feedback { font-size: 15px; }
.w small.w-en { margin-top: 1px; font-size: 9.5px; font-weight: 700; opacity: .7; text-transform: lowercase; letter-spacing: .3px; }

/* Shared lesson pieces for all chapters */
.forms3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.form-box { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--surface-2); }
.form-box h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.form-rumus { font-weight: 800; font-size: 14px; background: var(--soft); border-radius: 8px; padding: 6px 8px; margin-bottom: 8px; line-height: 1.4; }
.form-ex { font-size: 16px; font-weight: 600; padding: 3px 0; }
.form-pos { border-color: color-mix(in srgb, var(--subj) 45%, var(--line)); }
.form-neg { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); }
.form-ask { border-color: color-mix(in srgb, var(--obj) 45%, var(--line)); }
@media (max-width: 760px) { .forms3 { grid-template-columns: 1fr; } }
.k { background: var(--why-bg); border-radius: 5px; padding: 0 4px; font-weight: 800; }
.grid-words { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin: 10px 0; }
.grid-words > div { display: flex; justify-content: space-between; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; font-weight: 700; }
.grid-words > div span { color: var(--muted); font-weight: 600; }
.timeline3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.timeline3 > div { border-radius: var(--radius-sm); padding: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.timeline3 > div.now { border-color: var(--brand); background: var(--brand-soft); }
.timeline3 h4 { margin: 0 0 4px; font-size: 15px; }
.timeline3 p { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .timeline3 { grid-template-columns: 1fr; } }
.map6 { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 12px 0; }
.map6 > div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--surface-2); }
.map6 > div.here { border-color: var(--brand); background: var(--brand-soft); }
.map6 b { display: block; }
.map6 small { display: block; color: var(--muted); font-size: 13px; }
.map6 i { display: block; font-style: normal; font-weight: 700; margin-top: 4px; }
.verbs3 { width: 100%; border-collapse: collapse; font-size: 15px; }
.verbs3 th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 6px 8px; border-bottom: 2px solid var(--line); }
.verbs3 td { padding: 6px 8px; border-bottom: 1px solid var(--line); }
.verbs3 td:first-child { font-weight: 700; }
.verbs3 td.tr-id { color: var(--muted); font-size: 13px; }
@media (max-width: 600px) {
  /* Verb tables: forms side by side, meaning on its own line */
  .verbs3, .verbs3 tbody { display: block; }
  .verbs3 tr { display: grid; grid-template-columns: repeat(var(--vc, 3), minmax(0, 1fr)); gap: 0 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
  .verbs3 th, .verbs3 td { border: 0; padding: 0 2px; overflow-wrap: anywhere; }
  .verbs3 th:last-child { display: none; }
  .verbs3 td.tr-id { grid-column: 1 / -1; }
}
