/* Nalar — Buku Panduan Online /konsep/ (dual-audience: anak + orang tua) */
:root {
  --navy: #102a43;
  --navy-soft: #243b53;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --emerald: #059669;
  --sky: #0284c7;
  --violet: #7c3aed;
  --orange: #ea580c;
  --slate: #475569;
  --paper: #f8fafc;
  --line: #e2e8f0;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--paper);
  color: var(--navy);
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--sky); }

/* ---------- header ---------- */
.site-head {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
}
.site-head .wrap { max-width: 980px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.brand-mark {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  padding: 7px 14px; border-radius: 999px; text-decoration: none; color: #fff; font-weight: 800; letter-spacing: .3px;
}
.brand-mark .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.head-back { color: #cbd5e1; text-decoration: none; font-weight: 600; font-size: .95rem; }
.head-back:hover { color: #fff; }

/* ---------- hero sesi ---------- */
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.sesi-hero { padding: 34px 0 10px; }
.sesi-hero .kicker { display: inline-block; background: var(--amber); color: var(--navy); font-weight: 800; border-radius: 999px; padding: 5px 14px; font-size: .85rem; letter-spacing: .4px; }
.sesi-hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); margin: 14px 0 8px; line-height: 1.2; }
.sesi-hero .misi { font-size: 1.12rem; color: var(--navy-soft); max-width: 42em; margin: 0 0 16px; font-weight: 500; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; }
.chip { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: .88rem; font-weight: 700; color: var(--navy-soft); }

/* ---------- blok konten ---------- */
.block {
  background: #fff; border-radius: var(--radius); border: 1.5px solid var(--line);
  padding: 24px 24px 26px; margin: 22px 0;
  box-shadow: 0 4px 18px rgba(16,42,67,.05);
  page-break-inside: avoid; break-inside: avoid;
}
.block > h2 { margin: 0 0 4px; font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.block > .sub { margin: 0 0 14px; color: var(--slate); font-size: .98rem; }
.block-emerald { border-top: 5px solid var(--emerald); }
.block-sky { border-top: 5px solid var(--sky); }
.block-violet { border-top: 5px solid var(--violet); }
.block-orange { border-top: 5px solid var(--orange); }
.block-slate { border-top: 5px solid var(--slate); background: #f1f5f9; }
.pill { font-size: .78rem; font-weight: 800; border-radius: 999px; padding: 3px 10px; letter-spacing: .3px; }
.pill-emerald { background: #d1fae5; color: #065f46; }
.pill-sky { background: #e0f2fe; color: #075985; }

/* poin belajar */
.poin { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 9px; }
.poin li { background: #f0fdf4; border: 1.5px solid #bbf7d0; border-radius: 12px; padding: 10px 14px; font-weight: 600; display: flex; gap: 10px; }
.poin li::before { content: "✅"; flex: none; }
.cerita { font-size: 1.06rem; background: #f8fafc; border-left: 4px solid var(--emerald); border-radius: 0 12px 12px 0; padding: 14px 16px; margin: 14px 0; }

/* aktivitas */
.aktivitas { background: #fffbeb; border: 1.5px dashed var(--amber); border-radius: 14px; padding: 16px 18px; margin-top: 14px; }
.aktivitas h3 { margin: 0 0 6px; font-size: 1.05rem; }
.aktivitas .bahan { font-size: .92rem; color: #92400e; font-weight: 600; margin: 0 0 8px; }
ol.langkah, ul.langkah { margin: 6px 0 0; padding-left: 22px; }
ol.langkah li, ul.langkah li { margin-bottom: 6px; }

/* kosakata */
.kosakata { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 12px; }
.kata-card { background: #f0f9ff; border: 1.5px solid #bae6fd; border-radius: 13px; padding: 11px 13px; }
.kata-card .en { font-weight: 800; font-size: 1.05rem; color: #0c4a6e; }
.kata-card .id { color: var(--slate); font-size: .93rem; }
.kata-card .contoh { font-size: .85rem; color: #0369a1; font-style: italic; margin-top: 3px; }
.kalimat-contoh { background: #0c4a6e; color: #e0f2fe; border-radius: 13px; padding: 13px 16px; margin-top: 14px; font-size: 1rem; }
.kalimat-contoh strong { color: #fbbf24; }

/* quiz */
.quiz-item { border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; margin: 12px 0; }
.quiz-item .tanya { font-weight: 800; margin: 0 0 10px; font-size: 1.02rem; }
.quiz-opts { display: grid; gap: 8px; }
.quiz-opt {
  text-align: left; font: inherit; font-weight: 600; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 14px;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.quiz-opt:hover { border-color: var(--violet); transform: translateX(3px); }
.quiz-opt.benar { background: #d1fae5; border-color: var(--emerald); color: #065f46; }
.quiz-opt.salah { background: #fee2e2; border-color: #ef4444; color: #991b1b; animation: shake .3s; }
.quiz-opt[disabled] { cursor: default; transform: none; }
.bahas { display: none; margin-top: 10px; background: #f5f3ff; border: 1.5px solid #ddd6fe; border-radius: 11px; padding: 10px 13px; font-size: .95rem; }
.bahas.tampil { display: block; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.skor-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; background: #faf5ff; border: 1.5px solid #e9d5ff; border-radius: 12px; padding: 10px 14px; font-weight: 700; color: #6b21a8; }
.btn-reset { font: inherit; font-size: .85rem; font-weight: 700; border: 1.5px solid #c4b5fd; background: #fff; color: #6d28d9; border-radius: 9px; padding: 6px 12px; cursor: pointer; }

/* audio */
.audio-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.audio-card { flex: 1 1 260px; background: #f8fafc; border: 1.5px solid var(--line); border-radius: 13px; padding: 13px 15px; }
.audio-card .label { font-weight: 800; margin-bottom: 6px; }
.audio-card audio { width: 100%; }
.audio-hint { font-size: .88rem; color: var(--slate); margin: 10px 0 0; }

/* tips ortu */
.ortu-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.ortu-list li { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; gap: 10px; font-weight: 500; }
.ortu-list li::before { content: "💡"; flex: none; }

/* CTA */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, #1c3f5e 100%); color: #fff; border-radius: var(--radius); padding: 26px 26px; margin: 26px 0; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; page-break-inside: avoid; }
.cta-band h3 { margin: 0 0 4px; font-size: 1.2rem; }
.cta-band p { margin: 0; color: #cbd5e1; font-size: .97rem; max-width: 34em; }
.btn-cta { background: linear-gradient(90deg, var(--amber), var(--amber-dark)); color: var(--navy); font-weight: 800; text-decoration: none; border-radius: 12px; padding: 12px 22px; box-shadow: 0 8px 20px rgba(245,158,11,.35); white-space: nowrap; }
.btn-cta:hover { transform: scale(1.03); }

/* footer nav sesi */
.sesi-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 26px 0 8px; }
.sesi-nav a { text-decoration: none; font-weight: 700; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 16px; color: var(--navy); }
.sesi-nav a:hover { border-color: var(--amber); }
.site-foot { color: var(--slate); font-size: .88rem; text-align: center; padding: 26px 20px 40px; }
.site-foot a { color: var(--slate); }

/* ---------- hub ---------- */
.hub-hero { padding: 40px 0 6px; text-align: center; }
.hub-hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 10px 0 8px; }
.hub-hero p.lead { color: var(--navy-soft); max-width: 40em; margin: 0 auto 14px; font-size: 1.08rem; }
.sesi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 24px 0; }
.sesi-card { display: block; background: #fff; border: 1.5px solid var(--line); border-radius: 15px; padding: 18px 18px 16px; text-decoration: none; color: var(--navy); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; position: relative; }
.sesi-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(16,42,67,.10); border-color: var(--amber); }
.sesi-card .no { font-size: .8rem; font-weight: 800; color: var(--amber-dark); letter-spacing: .5px; }
.sesi-card .emoji { font-size: 1.7rem; }
.sesi-card h3 { margin: 6px 0 6px; font-size: 1.08rem; line-height: 1.3; }
.sesi-card .meta { font-size: .85rem; color: var(--slate); }
.sesi-card .bintang { position: absolute; top: 14px; right: 14px; font-size: .95rem; letter-spacing: 1px; }
.hub-note { background: #fffbeb; border: 1.5px solid #fde68a; border-radius: 14px; padding: 14px 18px; font-size: .96rem; margin: 18px 0; }

/* ---------- pita CP Fase B (Pembelajaran Mendalam) ---------- */
.cp-pita { background: #eef2ff; border: 1.5px solid #c7d2fe; border-radius: 14px; padding: 14px 16px; margin: 18px 0; }
.cp-pita .cp-head { font-weight: 800; color: #3730a3; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cp-pita .cp-badge { background: #3730a3; color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .75rem; letter-spacing: .3px; }
.cp-pita .cp-materi { font-weight: 700; color: #1e1b4b; margin: 6px 0 8px; }
.cp-elemen { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cp-elemen li { font-size: .93rem; display: flex; gap: 8px; }
.cp-elemen .tag { flex: none; font-weight: 800; font-size: .72rem; border-radius: 8px; padding: 2px 8px; height: fit-content; margin-top: 2px; }
.tag-konseptual { background: #ddd6fe; color: #5b21b6; }
.tag-prosedural { background: #bbf7d0; color: #166534; }
.tag-metakognitif { background: #fde68a; color: #92400e; }
.cp-sumber { font-size: .78rem; color: #6366f1; margin: 8px 0 0; }

/* ---------- label momen (Pembelajaran Mendalam) ---------- */
.momen { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border-radius: 999px; padding: 5px 15px; font-weight: 800; font-size: .8rem; letter-spacing: .6px; margin: 26px 0 -10px; position: relative; z-index: 1; }
.momen-1 { background: #0f766e; }
.momen-2 { background: #b45309; }
.momen-3 { background: #6d28d9; }

/* ---------- pemantik & refleksi ---------- */
.pemantik { background: #fffbeb; border: 2px dashed var(--amber); border-radius: 14px; padding: 14px 16px; margin: 14px 0; }
.pemantik .label { font-weight: 800; color: #92400e; }
.refleksi { background: #faf5ff; border: 1.5px solid #e9d5ff; border-radius: 13px; padding: 13px 16px; margin-top: 14px; }
.refleksi ul { margin: 6px 0 0; padding-left: 20px; }
.refleksi li { margin-bottom: 4px; }

/* ---------- kartu LKPD ---------- */
.lkpd-card { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(135deg,#f0fdfa,#ccfbf1); border: 1.5px solid #5eead4; border-radius: 14px; padding: 14px 18px; margin: 16px 0; }
.lkpd-card h3 { margin: 0 0 2px; font-size: 1.03rem; color: #134e4a; }
.lkpd-card .meta { font-size: .87rem; color: #0f766e; font-weight: 600; }
.btn-lkpd { flex: none; background: #0d9488; color: #fff; font-weight: 800; text-decoration: none; border-radius: 11px; padding: 10px 16px; }
.btn-lkpd:hover { background: #0f766e; }

/* ---------- lembar kerja LKPD (halaman cetak) ---------- */
.ws-kop { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; border-bottom: 3px solid var(--navy); padding-bottom: 10px; margin-bottom: 6px; }
.ws-kop .judul { font-size: 1.3rem; font-weight: 800; margin: 0; }
.ws-kop .sub { color: var(--slate); font-size: .9rem; margin: 2px 0 0; }
.ws-identitas { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; font-size: .93rem; margin: 10px 0 4px; }
.ws-alat { background: #f1f5f9; border-radius: 10px; padding: 8px 12px; font-size: .9rem; margin: 8px 0 14px; }
.ws-bagian { border: 1.5px solid var(--line); border-radius: 13px; padding: 13px 15px; margin: 12px 0; page-break-inside: avoid; break-inside: avoid; }
.ws-bagian h3 { margin: 0 0 3px; font-size: 1.02rem; color: var(--navy); }
.ws-bagian .petunjuk { font-size: .88rem; color: var(--slate); margin: 0 0 10px; }
.ws-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ws-table th, .ws-table td { border: 1.3pt solid #64748b; padding: 7pt 8pt; }
.ws-table th { background: #e2e8f0; font-weight: 800; text-align: center; }
.ws-table td { min-height: 26pt; height: 26pt; }
.ws-lingkari .soal { margin: 0 0 8px; font-weight: 600; }
.ws-opsi { display: flex; gap: 16px; flex-wrap: wrap; padding-left: 4px; }
.ws-opsi span { font-weight: 500; }
.ws-opsi span::before { content: "◯ "; font-weight: 700; color: #64748b; }
.ws-garis { margin-bottom: 10px; font-weight: 600; }
.ws-garis .line { display: block; border-bottom: 1.3pt dotted #94a3b8; height: 22pt; }
.ws-peta { text-align: center; padding: 8px 0; }
.ws-pusat { display: inline-block; background: var(--navy); color: #fff; font-weight: 800; border-radius: 14px; padding: 10px 22px; margin-bottom: 12px; }
.ws-cabang { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ws-cabang div { border: 2px dashed #94a3b8; border-radius: 12px; padding: 8px; font-weight: 700; min-height: 54pt; display: flex; align-items: flex-start; justify-content: center; }
.ws-kunci { page-break-before: always; }

/* ---------- halaman mendalam (materi acuan per mapel) ---------- */
.badge-deep { display: inline-block; font-weight: 800; border-radius: 999px; padding: 5px 14px; font-size: .82rem; letter-spacing: .4px; }
.badge-ipas { background: var(--emerald); color: #fff; }
.badge-en { background: var(--sky); color: #fff; }
.btn-deep { display: inline-block; font-weight: 800; text-decoration: none; border-radius: 11px; padding: 10px 16px; margin-top: 12px; font-size: .95rem; }
.btn-deep-ipas { background: #059669; color: #fff; }
.btn-deep-en { background: #0284c7; color: #fff; }
.btn-deep:hover { transform: scale(1.02); }

.peta-bab { display: grid; gap: 8px; margin: 16px 0; }
.peta-item { display: flex; gap: 12px; align-items: flex-start; background: #f8fafc; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.peta-item .no { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: .82rem; display: flex; align-items: center; justify-content: center; }
.peta-item .inti { color: var(--slate); font-size: .93rem; }

.bacaan { text-align: justify; }
.bacaan p { font-size: 1.04rem; line-height: 1.75; }
.bacaan h3 { margin: 22px 0 6px; font-size: 1.18rem; border-left: 5px solid var(--emerald); padding-left: 10px; }

.mf-card { border: 1.5px solid var(--line); border-radius: 13px; overflow: hidden; margin: 10px 0; }
.mf-card .mitos { background: #fef2f2; padding: 10px 14px; font-weight: 700; color: #991b1b; border-bottom: 1.5px solid var(--line); }
.mf-card .fakta { background: #f0fdf4; padding: 10px 14px; color: #14532d; font-size: .96rem; }

.praktikum-full { border: 2px dashed var(--emerald); border-radius: 15px; padding: 16px 18px; margin-top: 14px; background: #fafffe; }
.praktikum-full h3 { margin: 0 0 8px; font-size: 1.1rem; }
.praktikum-full dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: .97rem; }
.praktikum-full dt { font-weight: 800; color: #065f46; }
.praktikum-full dd { margin: 0; }
.praktikum-full ol { margin: 4px 0 0; padding-left: 20px; }
.praktikum-full li { margin-bottom: 4px; }

.isu-banner { background: #fff7ed; border-left: 5px solid #ea580c; border-radius: 0 12px 12px 0; padding: 12px 15px; margin-top: 12px; font-size: .97rem; }
.isu-banner strong { color: #c2410c; }
.lintas-banner { background: #f1f5f9; border-left: 5px solid var(--slate); border-radius: 0 12px 12px 0; padding: 12px 15px; margin-top: 10px; font-size: .97rem; }

/* English deep: cerita, dialog, grammar, latihan, rubrik */
.story-card { background: #f0f9ff; border: 1.5px solid #bae6fd; border-radius: 15px; padding: 18px 20px; }
.story-card .judul-cerita { font-weight: 800; font-size: 1.15rem; color: #0c4a6e; margin: 0 0 8px; }
.story-card p { font-size: 1.03rem; line-height: 1.7; margin: 8px 0; }
.story-card .tanya-pembaca { background: #fff; border: 1.5px dashed var(--sky); border-radius: 10px; padding: 9px 12px; font-weight: 600; font-size: .95rem; }
.grammar-box { background: #0c4a6e; color: #e0f2fe; border-radius: 13px; padding: 14px 17px; font-size: 1.05rem; font-weight: 700; margin: 12px 0; }
.aturan-list { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.aturan-list li { background: #f8fafc; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 13px; font-size: .97rem; }
.aturan-list li::before { content: "📌 "; }
.contoh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.contoh-chips span { background: #e0f2fe; color: #075985; border: 1.5px solid #bae6fd; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: .92rem; }
.chat { display: grid; gap: 8px; margin-top: 12px; }
.chat-bubble { max-width: 82%; padding: 9px 14px; border-radius: 16px; font-size: .99rem; position: relative; }
.chat-bubble .who { display: block; font-size: .74rem; font-weight: 800; opacity: .75; margin-bottom: 2px; }
.chat-a { background: #e2e8f0; justify-self: start; border-bottom-left-radius: 4px; }
.chat-b { background: #fef3c7; justify-self: end; border-bottom-right-radius: 4px; }
.lagu-card { background: linear-gradient(135deg,#fffbeb,#fde68a); border-radius: 14px; padding: 15px 18px; margin-top: 12px; }
.lagu-card .lirik { white-space: pre-line; font-weight: 600; font-size: 1.02rem; line-height: 1.7; margin: 6px 0; }
.lagu-card .catatan { font-size: .87rem; color: #92400e; }
.latihan details { background: #f8fafc; border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 14px; margin-bottom: 8px; }
.latihan summary { cursor: pointer; font-weight: 700; }
.latihan details[open] summary { color: var(--sky); margin-bottom: 6px; }
.latihan .jawab { background: #d1fae5; border-radius: 8px; padding: 7px 11px; font-weight: 700; color: #065f46; }
.rubrik-table { width: 100%; border-collapse: collapse; font-size: .93rem; margin-top: 10px; }
.rubrik-table th, .rubrik-table td { border: 1.3pt solid #94a3b8; padding: 8pt 10pt; text-align: left; vertical-align: top; }
.rubrik-table th { background: var(--navy); color: #fff; }

/* ---------- anatomy artikel (kloning dari pola artikel Tursina) ---------- */
.byline { font-size: .85rem; color: var(--slate); margin: 10px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.byline strong { color: var(--navy); }
.lead2 { font-size: 1.05rem; color: var(--navy-soft); margin-top: 10px; }
.ahli-quote { background: #f8fafc; border-left: 5px solid var(--amber); border-radius: 0 14px 14px 0; padding: 15px 18px; margin: 16px 0; font-size: 1.06rem; font-weight: 600; font-style: italic; }
.peta-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 8px; }
.peta-table caption { caption-side: top; text-align: left; font-weight: 800; margin-bottom: 7px; font-size: .95rem; }
.peta-table th, .peta-table td { border: 1.3pt solid #94a3b8; padding: 7pt 9pt; text-align: left; vertical-align: top; }
.peta-table th { background: var(--navy); color: #fff; font-size: .88rem; }
.poin-penting { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 9px; counter-reset: pp; }
.poin-penting li { background: #fffbeb; border: 1.5px solid #fde68a; border-radius: 12px; padding: 11px 14px 11px 44px; position: relative; font-size: .99rem; }
.poin-penting li::before { counter-increment: pp; content: counter(pp); position: absolute; left: 12px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); color: var(--navy); font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.faq-item { border-bottom: 1.5px solid var(--line); padding: 12px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { margin: 0 0 5px; font-size: 1.04rem; color: var(--navy); }
.faq-item p { margin: 0; color: var(--navy-soft); font-size: .98rem; }
.kesimpulan-box { background: linear-gradient(135deg,#eef2ff,#e0e7ff); border: 1.5px solid #c7d2fe; border-radius: 14px; padding: 15px 18px; margin-top: 12px; }
.baca-juga { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
.baca-juga a {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: #f8fafc; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px 18px; text-decoration: none; color: var(--navy); font-size: .98rem;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.baca-juga a:hover { border-color: var(--amber); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(16,42,67,.08); }
.baca-juga a .jenis {
  flex: 0 0 auto; display: inline-block; font-size: .72rem; font-weight: 800;
  color: var(--amber-dark); background: #fffbeb; border: 1.2px solid #fde68a;
  border-radius: 999px; padding: 4px 11px; letter-spacing: .5px; text-transform: uppercase;
}
.baca-juga a .judul-link { flex: 1 1 260px; line-height: 1.55; font-weight: 600; }
.baca-juga a .arrow { flex: none; margin-left: auto; color: var(--amber-dark); font-weight: 800; font-size: 1.05rem; }

/* ---------- jump-nav TOC (halaman panjang hasil merge) ---------- */
.toc-jump { display: flex; flex-wrap: wrap; gap: 8px; background: #f1f5f9; border: 1.5px solid var(--line); border-radius: 14px; padding: 11px 13px; margin: 16px 0 4px; }
.toc-jump .toc-label { font-weight: 800; font-size: .8rem; color: var(--slate); align-self: center; margin-right: 2px; }
.toc-jump a { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: .87rem; font-weight: 700; text-decoration: none; color: var(--navy); }
.toc-jump a:hover { border-color: var(--amber); background: #fffbeb; }

/* agenda sesi (halaman jadwal tanpa materi) */
.agenda-grid { display: grid; gap: 10px; margin-top: 14px; }
.agenda-item { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 18px; background: #fff; }
.agenda-item .info h3 { margin: 0 0 3px; font-size: 1.08rem; }
.agenda-item .info .meta { font-size: .88rem; color: var(--slate); font-weight: 600; }
.agenda-item .jam { flex: none; background: var(--navy); color: #fff; font-weight: 800; border-radius: 10px; padding: 6px 12px; font-size: .9rem; }
.agenda-item a.masuk { flex: none; background: linear-gradient(90deg,var(--amber),var(--amber-dark)); color: var(--navy); font-weight: 800; text-decoration: none; border-radius: 11px; padding: 11px 17px; }
.agenda-item a.masuk:hover { transform: scale(1.03); }

/* hub mapel */
.subject-hero { padding: 36px 0 6px; text-align: center; }
.subject-hero h1 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); margin: 12px 0 8px; }
.subject-hero p.lead { color: var(--navy-soft); max-width: 44em; margin: 0 auto 12px; font-size: 1.05rem; }

/* ---------- breakpoint mobile ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .block { padding: 18px 15px; border-radius: 14px; }
  /* praktikum: label & isi bertumpuk agar tidak meluber di layar 360px */
  .praktikum-full dl { grid-template-columns: 1fr; gap: 2px 0; }
  .praktikum-full dt { margin-top: 10px; }
  .praktikum-full dt:first-child { margin-top: 0; }
  /* LKPD: peta pikiran 2 kolom (kotak lebih besar untuk menulis) */
  .ws-cabang { grid-template-columns: repeat(2, 1fr); }
  /* tabel isian: paksa muat 100% + pecah kata — cegah overflow di 360px */
  .ws-table { table-layout: fixed; width: 100%; font-size: 7.8pt; }
  .ws-table th, .ws-table td { padding: 4pt 4pt; overflow-wrap: anywhere; word-break: break-word; }
  /* tabel & rubrik: biar aman walau teks panjang */
  .peta-table, .rubrik-table { display: block; overflow-x: auto; }
  /* hero & kartu lebih ringkas */
  .sesi-hero { padding-top: 24px; }
  .chat-bubble { max-width: 92%; }
  .baca-juga a { padding: 12px 14px; gap: 10px; }
  .baca-juga a .judul-link { flex-basis: 100%; order: 3; }
  .agenda-item { padding: 13px 14px; }
  .cta-band { padding: 20px 16px; }
  .toc-jump { padding: 9px 10px; gap: 6px; }
  .toc-jump a { padding: 4px 10px; font-size: .82rem; }
}

/* ---------- print A4 ---------- */
.print-only { display: none; }
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  body { background: #fff; font-size: 11.5pt; }
  .site-head, .audio-row, .audio-hint, .btn-reset, .skor-line, .cta-band, .site-foot, .quiz-opts, .hub-cta-print-hide { display: none !important; }
  .block { box-shadow: none; border: 1.2pt solid #94a3b8; page-break-inside: avoid; break-inside: avoid; margin: 10pt 0; padding: 12pt; }
  .sesi-nav { display: none; }
  .print-only { display: block; }
  .kunci-print { border: 1.2pt solid #94a3b8; border-radius: 10pt; padding: 10pt 12pt; margin-top: 10pt; }
  .kunci-print ol { margin: 4pt 0 0; padding-left: 16pt; }
  .quiz-item { border: none; padding: 0; }
  .quiz-item .tanya::after { content: "  ▢ ▢ ▢"; color: #64748b; }
  .bahas { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .sesi-hero { padding-top: 0; }
  a { color: inherit; text-decoration: none; }
}
