/* ===== Tokens ===== */
:root {
  --bg: #f2f3ec;
  --bg-2: #ebede3;
  --card: #ffffff;
  --cream: #fbf7ee;
  --ink: #111a15;
  --ink-2: #3c4a42;
  --muted: #6b766f;
  --line: #111a15;
  --soft-line: #d9ddd2;
  --lime: #d9f24a;
  --lime-2: #ecf8a6;
  --forest: #1b3a2c;
  --forest-2: #24503c;
  --yellow: #fbc64b;
  --blue: #7cc8f4;
  --orange: #f48a5c;
  --purple: #b7a0f7;
  --green: #b9e86a;
  --pink: #f78fbe;
  --teal: #7fe5c8;
  --red: #e5484d;
  --ok: #1f8a4c;
  --radius: 22px;
  --radius-sm: 14px;
  --bw: 2.5px;
  --shadow: 4px 4px 0 var(--line);
  --shadow-sm: 3px 3px 0 var(--line);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --sidebar: 300px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; }

/* ===== Layout ===== */
.app { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar); flex-shrink: 0; position: sticky; top: 0; height: 100vh;
  background: var(--bg-2); border-right: 1px solid var(--soft-line);
  display: flex; flex-direction: column; padding: 22px 18px 16px; overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 12px; background: var(--forest); color: var(--lime);
  display: grid; place-items: center; font-weight: 800; font-size: 18px; border: var(--bw) solid var(--line);
  box-shadow: var(--shadow-sm);
}
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; }
.brand-name small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 2px; }

.search-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; margin-bottom: 18px;
  background: transparent; border: 2px dashed #c5cabe; border-radius: 16px; color: var(--muted); text-align: left;
}
.search-btn .ico-box { width: 40px; height: 40px; }
.search-btn kbd { margin-left: auto; font-size: 12px; border: 1.5px solid #c5cabe; border-radius: 8px; padding: 2px 7px; background: #fff; }

.nav-group { margin-bottom: 14px; }
.nav-label { font-size: 13px; font-weight: 700; color: var(--muted); padding: 4px 10px 6px; }
.nav-item {
  display: flex; align-items: center; gap: 14px; padding: 7px 10px; border-radius: 16px; font-weight: 700; font-size: 17px;
  margin-bottom: 4px; transition: background .15s;
}
.nav-item:hover { background: rgba(0,0,0,.04); }
.nav-item.active { background: var(--forest); color: #fff; }
.nav-item .badge { margin-left: auto; font-size: 11px; background: var(--lime); color: var(--ink); border-radius: 99px; padding: 2px 8px; border: 1.5px solid var(--line); }

.ico-box {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0;
  border: var(--bw) solid var(--line); box-shadow: 2px 2px 0 var(--line); background: var(--c, var(--lime));
}
.ico-box svg { width: 22px; height: 22px; }
.nav-item.active .ico-box { background: var(--lime); }

.sidebar-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--soft-line); }
.mini-count {
  background: var(--forest); color: #fff; border-radius: 18px; padding: 12px 14px; border: var(--bw) solid var(--line);
  box-shadow: var(--shadow-sm); display: block;
}
.mini-count .lbl { font-size: 12px; color: var(--lime); font-weight: 700; }
.mini-count .num { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.mini-count .num span { font-size: 13px; font-weight: 600; color: #c8d5cc; }
.profile { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 6px 4px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center;
  font-weight: 800; border: var(--bw) solid var(--line); flex-shrink: 0;
}
.profile .nm { font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill-lime { display: inline-block; background: var(--lime); border: 1.5px solid var(--line); border-radius: 99px; padding: 1px 10px; font-size: 12px; font-weight: 800; }

.main { flex: 1; min-width: 0; padding: 34px 44px 140px; }
.wrap { max-width: 1240px; margin: 0 auto; }
.grid-home { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 28px; min-width: 0; }

.topbar { display: none; }

/* ===== Type helpers ===== */
.eyebrow { font-size: 15px; font-weight: 700; color: var(--forest-2); }
.muted { color: var(--muted); }
.hand { font-family: var(--hand); font-size: 26px; line-height: 1.15; color: var(--forest-2); }
.chip-dark {
  display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--lime); font-weight: 800; font-size: 15px;
  border-radius: 14px; padding: 8px 16px; box-shadow: 3px 3px 0 rgba(0,0,0,.25);
}
.page-head { margin: 26px 0 30px; }
.page-head h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -0.045em; margin: 16px 0 10px; }
.page-head p { font-size: 19px; color: var(--ink-2); max-width: 760px; margin: 0; }
.hl {
  display: inline-block; background: var(--lime); padding: 0 .14em; border-radius: 10px; box-shadow: 4px 4px 0 rgba(0,0,0,.18);
  transform: rotate(-1deg);
}
.hi-title { font-size: clamp(38px, 5vw, 64px); font-weight: 800; letter-spacing: -0.045em; }

/* ===== Cards & buttons ===== */
.card {
  background: var(--card); border: var(--bw) solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.card.pad { padding: 24px 26px; }
.card.soft { box-shadow: none; border-color: var(--soft-line); }
.panel { background: var(--cream); border: 1.5px solid var(--soft-line); border-radius: 28px; padding: 26px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 17px;
  padding: 12px 22px; border-radius: 99px; border: var(--bw) solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .08s, box-shadow .08s; white-space: nowrap;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--line); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--line); }
.btn.lime { background: var(--lime); }
.btn.dark { background: var(--ink); color: var(--lime); }
.btn.big { font-size: 20px; padding: 16px 30px; }
.btn.sm { font-size: 14px; padding: 7px 14px; }
.btn.ghost { box-shadow: none; border-color: var(--soft-line); }
.btn.danger { background: #ffe1e1; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff;
  border: var(--bw) solid var(--line); box-shadow: 2px 2px 0 var(--line);
}
.icon-btn.ghost { border-color: var(--soft-line); box-shadow: none; }
.icon-btn svg { width: 20px; height: 20px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 99px;
  border: 2px solid var(--line); background: #fff;
}
.tag.dash { border-style: dashed; border-color: #b9beb3; color: var(--ink-2); }
.tag.lime { background: var(--lime); }
.tag.tilt { transform: rotate(4deg); box-shadow: 2px 2px 0 var(--line); }
.sticker {
  position: absolute; top: -16px; background: var(--lime); border: 2px solid var(--line); border-radius: 12px; padding: 4px 14px;
  font-weight: 800; font-size: 15px; box-shadow: 2px 2px 0 var(--line); transform: rotate(3deg); z-index: 2;
}

/* ===== Section headers ===== */
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-head h3 { font-size: 22px; font-weight: 800; }
.sec-head .sub { color: var(--ink-2); font-weight: 700; }
.sec-head .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ===== Hero: countdown & continue ===== */
.greet h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 800; letter-spacing: -0.05em; }
.greet p { font-size: 19px; color: var(--ink-2); margin: 8px 0 0; }

.countdown {
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; position: relative;
}
.countdown .left { background: var(--forest); color: #fff; padding: 28px 30px; position: relative;
  background-image: radial-gradient(rgba(255,255,255,.09) 1.5px, transparent 1.6px); background-size: 18px 18px; }
.countdown .left .eyebrow { color: var(--lime); }
.countdown .left h2 { font-size: 34px; font-weight: 800; margin: 6px 0 4px; }
.countdown .left p { margin: 0; color: #cfe0d5; }
.cd-units { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.cd-unit { background: var(--lime); color: var(--ink); border: var(--bw) solid var(--line); border-radius: 18px; min-width: 84px; padding: 10px 10px 8px; text-align: center; box-shadow: 3px 3px 0 #000; }
.cd-unit b { display: block; font-size: 38px; line-height: 1; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.cd-unit span { font-size: 13px; font-weight: 700; }
.countdown .right { padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.cd-meter { height: 14px; border-radius: 99px; border: 2px solid var(--line); overflow: hidden; background: #f0f2ea; }
.cd-meter i { display: block; height: 100%; background: repeating-linear-gradient(45deg, var(--lime) 0 10px, #c8e33a 10px 20px); border-right: 2px solid var(--line); }

.continue { display: grid; grid-template-columns: 340px 1fr; overflow: hidden; }
.continue .art {
  border-right: var(--bw) solid var(--line); background: #eef0e8; position: relative; display: grid; place-items: center; min-height: 340px;
  background-image: radial-gradient(#c9cec2 1.3px, transparent 1.4px); background-size: 16px 16px;
}
.continue .art .tag { position: absolute; top: 18px; left: 18px; transform: rotate(-3deg); box-shadow: 2px 2px 0 var(--line); }
.continue .body { padding: 30px 34px; }
.continue h2 { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; margin: 8px 0 6px; }
.lesson-list { list-style: none; margin: 20px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lesson-list li { display: flex; align-items: center; gap: 14px; padding: 9px 14px; border-radius: 14px; border: 2px solid transparent; font-weight: 700; font-size: 17px; }
.lesson-list li .right { margin-left: auto; font-weight: 700; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.lesson-list li.done .t { text-decoration: line-through; color: var(--muted); }
.lesson-list li.next { background: var(--lime-2); border-color: var(--line); }
.lesson-list li:hover { background: #f4f6ee; }
.lesson-list li.next:hover { background: var(--lime-2); }
.check { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; border: 2px solid #c9cec2; font-size: 14px; font-weight: 800; background: #fff; }
.check.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.check.next { background: var(--lime); border-color: var(--line); }

/* rings */
.ring { position: relative; display: inline-grid; place-items: center; }
.ring svg { transform: rotate(-90deg); }
.ring .lbl { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; letter-spacing: -0.03em; }
.ring-big { background: #fff; border-radius: 50%; border: var(--bw) solid var(--line); box-shadow: 5px 5px 0 var(--line); padding: 10px; }

/* ===== Right column cards ===== */
.streak .top { display: flex; gap: 16px; align-items: center; }
.flame-box { width: 78px; height: 78px; border-radius: 22px; background: var(--yellow); border: var(--bw) solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.flame-box svg { width: 34px; height: 34px; }
.streak .num { font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; margin: 18px 0 10px; }
.week .d { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.week .d svg { width: 24px; height: 24px; display: block; margin: 0 auto 2px; }
.week .d.on svg { color: var(--orange); fill: var(--orange); }
.week .d.today span { background: var(--lime); border-radius: 6px; padding: 0 4px; color: var(--ink); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0 14px; }
.seg i { height: 11px; border-radius: 99px; border: 2px solid var(--line); background: #fff; }
.seg i.on { background: var(--orange); }
.dash-sep { border-top: 2px dashed var(--soft-line); margin: 14px 0; }

.track-row { display: flex; gap: 14px; align-items: center; padding: 8px 0; }
.track-row .t { font-weight: 800; }
.track-row .s { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.num-badge { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; background: #f3f0e6; flex-shrink: 0; }

/* ===== Module cards (carousel) ===== */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 6px 10px 2px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.mcard { scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden; min-height: 330px; }
.mcard .art { height: 156px; border-bottom: var(--bw) solid var(--line); position: relative; overflow: hidden; }
.mcard .art .no { position: absolute; top: 14px; left: 14px; background: #fff; border: 2px solid var(--line); border-radius: 12px; font-weight: 800; padding: 1px 11px; font-size: 17px; box-shadow: 2px 2px 0 var(--line); }
.mcard .body { padding: 16px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.mcard h4 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.mcard p { margin: 6px 0 0; color: var(--ink-2); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mcard .foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.mcard .bar { height: 6px; background: #e7eae1; border-radius: 99px; overflow: hidden; margin-top: 10px; }
.mcard .bar i { display: block; height: 100%; background: var(--forest-2); border-radius: 99px; }
.mcard.current { box-shadow: 0 0 0 4px var(--lime), var(--shadow); }

/* art bubbles */
.bubble { position: absolute; background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 3px 10px; font-weight: 800; font-size: 13px; box-shadow: 2px 2px 0 var(--line); white-space: nowrap; }
.bubble.dark { background: var(--ink); color: #fff; }
.bubble.lime { background: var(--lime); }
.face { position: absolute; width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; box-shadow: 2px 2px 0 var(--line); }
.face svg { width: 30px; height: 30px; }
.dots-bg { background-image: radial-gradient(rgba(0,0,0,.18) 1.4px, transparent 1.5px); background-size: 14px 14px; }

/* ===== Bottom continue bar ===== */
.dock {
  position: fixed; left: calc(var(--sidebar) + 40px); right: 40px; bottom: 22px; z-index: 30; max-width: 1060px; margin: 0 auto;
  background: #fff; border: var(--bw) solid var(--line); border-radius: 26px; box-shadow: 0 5px 0 var(--line); padding: 12px 14px;
  display: flex; align-items: center; gap: 16px;
}
.dock .mods { display: flex; gap: 6px; padding-right: 16px; border-right: 2px solid var(--soft-line); }
.dock .mods .m { width: 40px; height: 40px; }
.dock .info { min-width: 0; }
.dock .info .e { font-size: 14px; font-weight: 700; color: var(--forest-2); }
.dock .info .t { font-size: 18px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock .btn { margin-left: auto; }
.dock.hide { display: none; }

/* ===== Module page ===== */
.mod-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 26px 30px; }
.mod-hero .bignum { font-size: 86px; font-weight: 800; letter-spacing: -0.06em; line-height: .9; }
.chapter { margin-bottom: 18px; overflow: hidden; }
.chapter-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; }
.chapter-head h3 { font-size: 20px; font-weight: 800; }
.chapter-head .meta { margin-left: auto; font-weight: 700; color: var(--ink-2); font-size: 15px; white-space: nowrap; }
.chapter-body { border-top: 2px dashed var(--soft-line); padding: 10px 14px 14px; }
.chapter.closed .chapter-body { display: none; }
.lrow { display: flex; align-items: center; gap: 14px; padding: 10px 10px; border-radius: 14px; font-weight: 700; }
.lrow:hover { background: #f4f6ee; }
.lrow .m { margin-left: auto; color: var(--muted); font-size: 14px; white-space: nowrap; }

/* ===== Reader ===== */
.reader { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.reader-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs { font-weight: 700; color: var(--ink-2); font-size: 15px; }
.crumbs a:hover { text-decoration: underline; }
.article { padding: 40px 48px 34px; }
.article h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 8px; }
.article .meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.prose { font-size: 18px; line-height: 1.75; color: #1d2621; }
.prose p { margin: 0 0 16px; }
.prose h3 { font-size: 22px; font-weight: 800; margin: 30px 0 12px; letter-spacing: -0.02em; }
.prose .li { display: flex; gap: 10px; margin: 0 0 10px; }
.prose .li .mk { font-weight: 800; color: var(--forest-2); flex-shrink: 0; min-width: 22px; }
.prose .lv1 { padding-left: 26px; } .prose .lv2 { padding-left: 52px; } .prose .lv3 { padding-left: 78px; }
.prose .cap { font-size: 14px; color: var(--muted); font-style: italic; margin: -4px 0 18px; }
.prose .tbl-wrap { overflow-x: auto; margin: 10px 0 26px; border: 1.5px solid var(--soft-line); border-radius: 16px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.03); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15.5px; line-height: 1.6; }
.prose th, .prose td { border-bottom: 1px solid var(--soft-line); border-right: 1px solid var(--soft-line); padding: 14px 18px; text-align: left; vertical-align: top; min-width: 90px; }
.prose th:last-child, .prose td:last-child { border-right: 0; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose thead th { background: #eef5e4; font-weight: 800; color: var(--ink); }
.prose tbody tr:nth-child(even) td { background: #f7faf2; }
.prose table.lab tbody td:first-child { font-weight: 800; }
.prose mark { background: var(--lime); border-radius: 4px; padding: 0 2px; cursor: pointer; }
.prose mark.c-yellow { background: #ffe58a; } .prose mark.c-blue { background: #bfe5ff; } .prose mark.c-pink { background: #ffc8e0; }
.prose .pg { font-size: 12px; color: var(--muted); }
.reader-foot { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 24px; border-top: 2px dashed var(--soft-line); flex-wrap: wrap; }
.toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding: 18px; }
.toc h4 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.toc .ch { font-size: 13px; font-weight: 800; color: var(--muted); margin: 14px 0 4px; text-transform: uppercase; letter-spacing: .02em; }
.toc a { display: flex; gap: 8px; align-items: flex-start; padding: 6px 8px; border-radius: 10px; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.toc a:hover { background: #f2f4ec; }
.toc a.cur { background: var(--lime-2); font-weight: 800; }
.toc a .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #b8bdb2; flex-shrink: 0; margin-top: 5px; }
.toc a.done .dot { background: var(--forest-2); border-color: var(--forest-2); }

.sel-pop { position: absolute; z-index: 60; display: flex; align-items: center; gap: 4px; background: #fff; border: 2.5px solid var(--line); border-radius: 16px; padding: 6px; box-shadow: 4px 4px 0 var(--line); }
.sel-pop button { background: transparent; border: 0; color: var(--ink); font: inherit; font-weight: 800; font-size: 15px; padding: 8px 12px; border-radius: 10px; display: flex; gap: 6px; align-items: center; cursor: pointer; }
.sel-pop button:hover { background: #f2f4ec; }
.sel-pop .sp-ex { background: var(--lime-2); }
.sel-pop .sp-sw { display: flex; gap: 0; } .sel-pop .sp-sw button { padding: 6px 4px; }
.sel-pop .sp-sep { width: 1.5px; align-self: stretch; background: var(--soft-line); margin: 4px 2px; }
.sel-pop .sw { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); display: block; }
.note-pop, .explain-pop { flex-direction: column; align-items: stretch; width: 360px; padding: 12px; gap: 10px; }
.explain-pop { width: 420px; max-height: 60vh; overflow: auto; }
.note-pop textarea { font: inherit; font-size: 15px; border: 2px solid var(--line); border-radius: 12px; padding: 10px; resize: vertical; width: 100%; }
.np-head { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.np-note { background: #fff7c2; border-radius: 10px; padding: 10px 12px; font-size: 15px; white-space: pre-wrap; }
.ex-row { font-size: 14.5px; line-height: 1.5; padding: 8px 10px; background: #f7faf2; border-radius: 10px; }
.ex-sub { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--muted); letter-spacing: .03em; }
.icon-btn.sm { width: 28px; height: 28px; }

/* ===== Quiz / exam ===== */
.q-card { padding: 30px 34px; }
.q-no { font-size: 15px; font-weight: 800; color: var(--forest-2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.q-text { font-size: 21px; font-weight: 700; line-height: 1.5; margin: 12px 0 22px; white-space: pre-line; }
.opts { display: flex; flex-direction: column; gap: 12px; }
.opt {
  display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 16px;
  border: 2px solid var(--soft-line); background: #fff; font-size: 17px; font-weight: 600; line-height: 1.45; transition: border-color .1s, background .1s;
}
.opt:hover { border-color: var(--line); }
.opt .k { width: 32px; height: 32px; border-radius: 10px; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; background: #fff; font-size: 15px; }
.opt.sel { border-color: var(--line); background: var(--lime-2); box-shadow: 3px 3px 0 var(--line); }
.opt.sel .k { background: var(--lime); }
.opt.right { border-color: var(--ok); background: #e3f6e9; }
.opt.right .k { background: var(--ok); color: #fff; border-color: var(--ok); }
.opt.wrong { border-color: var(--red); background: #fde8e8; }
.opt.wrong .k { background: var(--red); color: #fff; border-color: var(--red); }
.opt[disabled] { cursor: default; }
.explain { margin-top: 18px; border-radius: 16px; padding: 16px 18px; background: #f4f6ee; border: 2px dashed #c4cabd; font-size: 16px; }
.explain b { color: var(--forest-2); }
.q-actions { display: flex; gap: 12px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.q-actions .sp { flex: 1; }

.exam { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.exam-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.timer { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 24px; background: var(--ink); color: var(--lime); border-radius: 14px; padding: 6px 16px; }
.timer.warn { background: var(--red); color: #fff; }
.navgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.navgrid button { height: 42px; border-radius: 11px; border: 2px solid var(--soft-line); background: #fff; font-weight: 800; font-size: 14px; position: relative; }
.navgrid button.ans { background: var(--forest-2); color: #fff; border-color: var(--forest-2); }
.navgrid button.flag { background: var(--yellow); border-color: var(--line); color: var(--ink); }
.navgrid button.cur { outline: 3px solid var(--line); outline-offset: 1px; }
.navgrid button.right { background: #cdeed8; border-color: var(--ok); color: var(--ink); }
.navgrid button.wrong { background: #fbd3d3; border-color: var(--red); color: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 14px; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-top: 14px; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 5px; border: 2px solid var(--soft-line); }

/* ===== Collections (kuis, pencapaian) ===== */
.collect { display: grid; grid-template-columns: 1fr 1.6fr; overflow: hidden; }
.collect .l { background: var(--lime); border-right: var(--bw) solid var(--line); padding: 26px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 380px;
  background-image: radial-gradient(rgba(0,0,0,.12) 1.3px, transparent 1.4px); background-size: 16px 16px; }
.collect .l .tag { position: absolute; top: 18px; left: 18px; transform: rotate(-4deg); box-shadow: 2px 2px 0 var(--line); }
.collect .r { padding: 32px 34px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.collect .r h2 { font-size: 46px; font-weight: 800; letter-spacing: -0.045em; }
.stickers { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.stickers span { width: 38px; height: 38px; border-radius: 10px; border: 2px solid #a8b14f; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: rgba(255,255,255,.35); color: #6f7a2a; }
.stickers span.on { background: var(--c); border-color: var(--line); color: var(--ink); box-shadow: 2px 2px 0 var(--line); }
.stickers span.next { border-style: dashed; border-color: var(--line); background: #fff; color: var(--ink); }

.qgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.qcard { padding: 22px 22px 20px; position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 280px; }
.qcard .num { width: 70px; height: 66px; border-radius: 18px; border: var(--bw) solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: 30px; box-shadow: 3px 3px 0 var(--line); background: var(--c); }
.qcard .time { position: absolute; top: 20px; right: 18px; }
.qcard h4 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.qcard .go { margin-left: auto; }
.qcard .row { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.pips { display: flex; gap: 5px; }
.pips i { width: 22px; height: 12px; border-radius: 99px; border: 2px solid var(--line); background: #fff; }
.pips i.on { background: var(--c); }
.qcard .last { border-top: 2px dashed var(--soft-line); padding-top: 12px; font-size: 15px; font-weight: 700; }
.qcard.dashed { border: 2.5px dashed #b6bcb0; box-shadow: none; background: transparent; align-items: center; justify-content: center; text-align: center; }

.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.ach { padding: 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.ach .medal { width: 92px; height: 92px; border-radius: 50%; border: var(--bw) solid var(--line); display: grid; place-items: center; box-shadow: 4px 4px 0 var(--line); background: var(--c, #e8ebe3); }
.ach .medal svg { width: 40px; height: 40px; }
.ach.locked { opacity: .55; filter: grayscale(1); }
.ach h4 { font-size: 17px; font-weight: 800; }
.ach p { margin: 0; font-size: 14px; color: var(--ink-2); }

.tabs { display: inline-flex; background: #fff; border: var(--bw) solid var(--line); border-radius: 99px; padding: 5px; gap: 4px; box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; padding: 9px 18px; border-radius: 99px; font-weight: 800; font-size: 16px; }
.tabs button.on { background: var(--ink); color: var(--lime); }
.tabs button small { font-weight: 700; opacity: .7; margin-left: 4px; }

/* ===== Path (Alur) ===== */
.path { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; }
.path-card { width: min(820px, 100%); padding: 28px 30px; position: relative; }
.path-card .tape { position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-1deg); width: 130px; height: 22px; background: var(--c); opacity: .9; border-radius: 3px; }
.path-card .bn { font-size: 64px; font-weight: 800; letter-spacing: -0.05em; color: var(--c2, var(--forest-2)); line-height: 1; }
.path-line { width: 0; height: 56px; border-left: 3px dashed #9aa395; }
.path-nodes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; width: min(1100px, 100%); margin: 0 0 10px; }
.pnode { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 14px 8px; border-radius: 20px; }
.pnode:hover { background: rgba(0,0,0,.035); }
.pnode .ico-box { width: 68px; height: 68px; border-radius: 20px; }
.pnode .ico-box svg { width: 30px; height: 30px; }
.pnode b { font-size: 16px; line-height: 1.2; }
.pnode small { font-weight: 700; color: var(--ink-2); }
.steps { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; align-items: stretch; width: 100%; }
.steps .st { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); text-align: left; }
.steps .st .c { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--orange); display: grid; place-items: center; font-size: 10px; font-weight: 800; flex-shrink: 0; background: #fff; }
.steps .st.ok .c { background: var(--forest-2); border-color: var(--forest-2); color: #fff; }

/* ===== Forms ===== */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 800; font-size: 15px; }
.field input, .field select, .field textarea {
  border: 2px solid var(--line); border-radius: 14px; padding: 11px 14px; background: #fff; font-size: 16px; font-weight: 600;
}
.field small { color: var(--muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chipsel { border: 2px solid var(--soft-line); background: #fff; border-radius: 99px; padding: 8px 16px; font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.chipsel.on { border-color: var(--line); background: var(--lime); box-shadow: 2px 2px 0 var(--line); }
.chipsel .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--line); }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { padding: 18px 20px; }
.stat b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.stat span { font-weight: 700; color: var(--ink-2); font-size: 14px; }

.bars { display: flex; flex-direction: column; gap: 12px; }
.barrow { display: grid; grid-template-columns: 170px 1fr 70px; gap: 12px; align-items: center; font-weight: 700; font-size: 15px; }
.barrow .tr { height: 14px; border-radius: 99px; background: #eceee6; border: 2px solid var(--line); overflow: hidden; }
.barrow .tr i { display: block; height: 100%; background: var(--c, var(--forest-2)); }
.barrow .v { text-align: right; font-variant-numeric: tabular-nums; }

/* notes */
.note-card { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.note-card blockquote { margin: 0; padding: 8px 12px; border-left: 4px solid var(--lime); background: #f7f9ef; border-radius: 6px; font-size: 15.5px; }
.note-card .src { font-size: 13px; font-weight: 700; color: var(--muted); }
.masonry { columns: 3 300px; column-gap: 20px; }
.masonry > * { break-inside: avoid; margin-bottom: 20px; }

.empty { padding: 36px; background-image: radial-gradient(#d3d7cc 1.3px, transparent 1.4px); background-size: 18px 18px; }
.empty h2 { font-size: 34px; font-weight: 800; margin: 16px 0 14px; }
.empty .ln { display: flex; gap: 14px; align-items: center; margin: 10px 0; font-size: 17px; }

/* glossary */
.gl-item { padding: 16px 20px; }
.gl-item b { font-size: 18px; }
.gl-item p { margin: 6px 0 0; color: var(--ink-2); }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.az a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; border: 2px solid var(--soft-line); background: #fff; }
.az a:hover { border-color: var(--line); }

/* modal */
.modal-bg { position: fixed; inset: 0; background: rgba(17,26,21,.45); z-index: 80; display: flex; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; }
.modal { width: min(720px, 100%); max-height: 78vh; display: flex; flex-direction: column; overflow: hidden; }
.modal .mh { padding: 16px 18px; border-bottom: 2px solid var(--soft-line); display: flex; gap: 10px; align-items: center; }
.modal .mh input { flex: 1; border: 0; outline: 0; font-size: 20px; font-weight: 700; background: transparent; }
.modal .mb { overflow-y: auto; padding: 10px; }
.sr { display: block; padding: 10px 12px; border-radius: 12px; }
.sr:hover, .sr.on { background: var(--lime-2); }
.sr .k { font-size: 12px; font-weight: 800; color: var(--forest-2); text-transform: uppercase; }
.sr .t { font-weight: 800; }
.sr .x { font-size: 14px; color: var(--ink-2); }

.toast { position: fixed; bottom: 110px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 700; z-index: 90; box-shadow: 3px 3px 0 rgba(0,0,0,.3); animation: pop .2s ease-out; }
.toast b { color: var(--lime); }
@keyframes pop { from { transform: translate(-50%, 10px); opacity: 0; } }

.loading { padding: 80px 0; text-align: center; font-weight: 800; color: var(--muted); }
.spin { width: 38px; height: 38px; border: 4px solid var(--soft-line); border-top-color: var(--ink); border-radius: 50%; animation: sp 0.8s linear infinite; margin: 0 auto 14px; }
@keyframes sp { to { transform: rotate(360deg); } }

.hide-sm { }
.mt0 { margin-top: 0 !important; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .grid-home { grid-template-columns: 1fr; }
  .qgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  :root { --sidebar: 250px; }
  .continue { grid-template-columns: 1fr; }
  .continue .art { min-height: 200px; border-right: 0; border-bottom: var(--bw) solid var(--line); }
  .reader { grid-template-columns: 1fr; }
  .toc { display: none; }
  .exam { grid-template-columns: 1fr; }
  .carousel { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 860px) {
  .app { display: block; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; z-index: 70; transform: translateX(-105%); transition: transform .2s; width: 290px; box-shadow: 6px 0 0 rgba(0,0,0,.1); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 60; }
  .topbar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--soft-line); }
  .topbar .brand-name { font-size: 20px; }
  .main { padding: 18px 16px 130px; }
  .countdown, .collect { grid-template-columns: 1fr; }
  .collect .l { border-right: 0; border-bottom: var(--bw) solid var(--line); min-height: 280px; }
  .qgrid, .grid2, .grid3 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel { grid-auto-columns: 82%; }
  .dock { left: 12px; right: 12px; bottom: 12px; padding: 10px; }
  .dock .mods { display: none; }
  .dock .btn { padding: 10px 14px; font-size: 15px; }
  .article { padding: 24px 20px; }
  .prose { font-size: 17px; }
  .q-card { padding: 22px 18px; }
  .q-text { font-size: 18.5px; }
  .opt { font-size: 16px; }
  .mod-hero { grid-template-columns: 1fr; }
  .barrow { grid-template-columns: 110px 1fr 56px; }
  .continue h2, .collect .r h2 { font-size: 34px; }
  .cd-unit { min-width: 64px; } .cd-unit b { font-size: 30px; }
}

/* ===== Lesson interaktif ===== */
.reader-bar { position: sticky; top: 0; z-index: 35; display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: -8px -10px 22px; background: rgba(242,243,236,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--soft-line); flex-wrap: wrap; }
.rb-title { font-size: 16px; max-width: 420px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-prog { position: absolute; left: 0; bottom: -2px; height: 3px; width: 0; background: linear-gradient(90deg, var(--lime), var(--teal)); border-radius: 99px; transition: width .1s; }
.seg-toggle { display: inline-flex; background: #fff; border: 1.5px solid var(--soft-line); border-radius: 14px; padding: 3px; gap: 2px; }
.seg-toggle button { border: 0; background: transparent; border-radius: 11px; padding: 6px 12px; font-weight: 800; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; color: var(--ink-2); }
.seg-toggle button svg { width: 16px; height: 16px; }
.seg-toggle button.on { background: var(--lime); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.article-flat { max-width: 860px; }
.article-flat .crumbs { margin-bottom: 14px; }
.lesson-hero { padding: 28px 30px; margin-bottom: 22px; position: relative; overflow: hidden; background: linear-gradient(135deg, #fff 60%, color-mix(in srgb, var(--c) 35%, #fff)); }
.lesson-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.04em; margin: 6px 0 14px; }
.lesson-hero .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.tldr { background: #eef1e8; border-radius: 22px; padding: 20px 24px; margin-bottom: 16px; }
.tldr .eyebrow { margin-bottom: 8px; color: var(--ink-2); }
.tl-row { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; font-size: 17px; line-height: 1.55; }
.tl-row svg { flex-shrink: 0; margin-top: 4px; color: var(--forest-2); }
.keychips { margin: 0 0 28px; }
.keychips .eyebrow { display: block; margin-bottom: 8px; }
.kchip { display: inline-block; background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 3px 10px; font-weight: 800; font-size: 14px; box-shadow: 2px 2px 0 var(--line); margin: 0 6px 8px 0; }
.prose b.kn { background: linear-gradient(transparent 58%, #e6f6a0 58%); font-weight: 800; color: var(--ink); }
.prose b.kw { font-weight: 800; color: #b5491f; }
.prose b.term { font-weight: 800; }
.tl-row b.kn { background: linear-gradient(transparent 58%, #e6f6a0 58%); }
.tl-row b.kw { color: #b5491f; }
.prose .sec-h { display: flex; gap: 12px; align-items: center; font-size: 26px; margin: 40px 0 14px; letter-spacing: -.03em; }
.prose .sec-h .ico-box { box-shadow: none; border-width: 0; border-radius: 10px; }
.callout.ex { background: #f6f9ec; border: 2px dashed #b9cf6a; border-radius: 18px; padding: 16px 20px; margin: 4px 0 20px; }
.callout.ex p { margin: 0; }
.prose .li { background: transparent; }
.prose .li.lv0 { padding: 10px 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--soft-line); }
.prose .li.lv0 .mk { background: var(--lime); border: 1.5px solid var(--line); border-radius: 8px; min-width: 28px; height: 28px; display: grid; place-items: center; font-size: 13px; }

.widget { padding: 26px 28px 24px; margin: 30px 0; position: relative; background-image: radial-gradient(#e4e7de 1.2px, transparent 1.3px); background-size: 16px 16px; background-color: #fff; }
.w-tag { display: inline-block; background: var(--lime); border: 2px solid var(--line); border-radius: 12px; padding: 3px 14px; font-weight: 800; font-size: 14px; box-shadow: 2px 2px 0 var(--line); transform: rotate(-2deg); margin-bottom: 10px; }
.w-title { font-size: 26px !important; font-weight: 800; letter-spacing: -.03em; margin: 4px 0 18px !important; line-height: 1.25; }
.w-foot { margin-top: 14px; font-weight: 700; }
.mf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.mf { padding: 16px; border-radius: 18px; background: #fff; border: 2.5px solid var(--line) !important; box-shadow: 3px 3px 0 var(--line); display: flex; flex-direction: column; gap: 12px; }
.mf p { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.45; }
.mf .row { margin-top: auto; }
.mf .btn { flex: 1; }
.mf.ok { background: #effbe3; } .mf.no { background: #fff0ec; }
.mf-res { font-size: 14px; line-height: 1.45; }
.mf-res:empty { display: none; }
.fc-stack { perspective: 1200px; }
.fc { cursor: pointer; height: 250px; }
.fc.hide { display: none; }
.fc-in { position: relative; width: 100%; height: 100%; transition: transform .45s; transform-style: preserve-3d; }
.fc.flip .fc-in { transform: rotateY(180deg); }
.fc-face { position: absolute; inset: 0; backface-visibility: hidden; border: 2.5px solid var(--line); border-radius: 22px; box-shadow: 5px 5px 0 var(--line); background: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; padding: 22px 26px; }
.fc-face b { font-size: 21px; line-height: 1.35; letter-spacing: -.01em; }
.fc-back { transform: rotateY(180deg); background: var(--lime-2); }
.fc-n { position: absolute; top: 14px; left: 18px; font-weight: 800; font-size: 13px; }
.fc-hint { font-size: 13px; font-weight: 700; }
.fc-e { font-size: 14px; color: var(--ink-2); }
.fc-nav { margin-top: 18px; }
.mt-list { display: flex; flex-direction: column; gap: 12px; }
.mt-row { padding: 14px 16px; border-radius: 16px; background: #fff; }
.mt-row p { margin: 0 0 10px; font-weight: 700; font-size: 16px; }
.mt-row.ok { background: #effbe3; border-color: var(--ok) !important; }
.chipsel.bad { background: #fbd3d3; border-color: var(--red); animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.end-widgets { margin-top: 10px; }
.finish { display: flex; align-items: center; gap: 12px; padding: 16px 18px; margin: 30px 0 10px; flex-wrap: wrap; background: #eef1e8; border: 0; border-radius: 22px; }
.ringkas .prose > .cap, .ringkas .prose > .callout.ex { display: none; }
.ringkas .prose > p:not(:has(b)):not(.open) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; color: var(--ink-2); }
.ringkas .prose > p:not(:has(b)):not(.open)::after { content: ""; }
.ringkas .prose > p { background: #fff; border-radius: 12px; padding: 8px 12px; border: 1.5px solid var(--soft-line); }
@media (max-width: 860px) {
  .reader-bar { margin: -8px -6px 16px; }
  .rb-title { display: none; }
  .lesson-hero { padding: 22px 20px; }
  .widget { padding: 20px 16px; }
  .w-title { font-size: 21px !important; }
  .fc { height: 280px; }
  .fc-face b { font-size: 18px; }
}

/* ===== Beranda: kolom kanan ramping & sticky ===== */
.grid-home { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
.grid-home > .col.side { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; scrollbar-width: none; gap: 20px; padding: 6px 8px 120px 4px; margin: -6px -8px 0 -4px; }
.grid-home > .col.side::-webkit-scrollbar { display: none; }
.side .card.pad { padding: 18px 20px; }
.side .flame-box { width: 60px; height: 60px; border-radius: 18px; }
.side .flame-box svg { width: 28px; height: 28px; }
.side .streak .num { font-size: 44px; }
.side .week .d { font-size: 12.5px; }
.side .week .d svg { width: 20px; height: 20px; }
.side .hand { font-size: 21px; }
.side .track-row { padding: 6px 0; gap: 12px; }
.side .track-row .t { font-size: 15px; }
.side .track-row .s { font-size: 13px; }
.continue { grid-template-columns: 240px minmax(0, 1fr); }
.continue .art { min-height: 0; }
.continue h2 { font-size: clamp(28px, 2.6vw, 40px); overflow-wrap: anywhere; }
.continue .body { padding: 26px 28px; min-width: 0; }
.continue .lesson-list li { font-size: 15.5px; }
.countdown { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.countdown .left h2 { font-size: clamp(24px, 2.2vw, 32px); }
.cd-unit { min-width: 72px; } .cd-unit b { font-size: 32px; }
@media (min-width: 1281px) { .dock.home { right: calc(44px + 320px + 28px); left: calc(var(--sidebar) + 44px); max-width: none; } }
@media (max-width: 1500px) {
  .continue { grid-template-columns: 1fr; }
  .continue .art { border-right: 0; border-bottom: var(--bw) solid var(--line); min-height: 170px; }
}
@media (max-width: 1280px) {
  .grid-home > .col.side { position: static; max-height: none; overflow: visible; padding: 0; margin: 0; }
}
button.tag.doneToggle { cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; background: var(--paper, #fff); }
button.tag.doneToggle.on { background: var(--lime, #c8f169); }
button.tag.doneToggle:hover { transform: translateY(-1px); }
.lrow .check[data-tog] { cursor: pointer; }
.lrow .check[data-tog]:hover { outline: 2px dashed var(--ink, #111); outline-offset: 2px; }
.prose tr.sec td { background: var(--lime-2) !important; font-weight: 800; font-size: 14px; letter-spacing: .01em; }

/* ---------- Simulasi Wawancara ---------- */
.iv-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 900px) { .iv-grid { grid-template-columns: 1fr; } }
.iv-form { display: flex; flex-direction: column; gap: 12px; }
.iv-form h3 { font-size: 18px; font-weight: 800; }
.iv-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.iv-form input, .iv-form textarea, .iv-form select, .iv-ans textarea { font: inherit; font-weight: 500; font-size: 15px; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; color: var(--ink); width: 100%; resize: vertical; }
.iv-form label.mini { flex: 1 1 140px; }
.iv-form label.chk { flex-direction: row; align-items: center; gap: 8px; align-self: flex-end; padding-bottom: 10px; }
.iv-form label.chk input { width: auto; }
.iv-tips { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.5; margin-top: 8px; }
.iv-hist { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.iv-hist a { padding: 8px; border-radius: 12px; gap: 10px; flex-wrap: nowrap; }
.iv-hist a:hover { background: #f2f4ec; }
.iv-prog { height: 8px; border-radius: 99px; background: #e8ebe1; margin-bottom: 16px; overflow: hidden; }
.iv-prog span { display: block; height: 100%; background: var(--forest, #24503c); transition: width .3s; }
.iv-q { padding: 22px 24px; margin-bottom: 16px; background: var(--lime-2); }
.iv-boss { display: flex; align-items: center; gap: 12px; }
.iv-ava { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; }
.iv-text { font-size: 22px; font-weight: 800; line-height: 1.4; margin-top: 14px; }
.iv-timer { font-weight: 800; font-variant-numeric: tabular-nums; border: 2px solid var(--line); border-radius: 10px; padding: 4px 10px; background: #fff; }
.iv-timer.warn { background: #ffd4d4; }
#ivMic.rec { background: #ff8a8a; animation: ivpulse 1.2s infinite; }
@keyframes ivpulse { 50% { transform: scale(1.04); } }
.iv-frame { margin-top: 12px; background: #f7faf2; border: 1.5px dashed var(--soft-line); border-radius: 12px; padding: 10px 14px; }
.iv-frame summary { cursor: pointer; font-weight: 700; }
.iv-frame ol { padding-left: 20px; margin: 8px 0; line-height: 1.6; }
.iv-fb { display: flex; gap: 16px; align-items: flex-start; margin-top: 14px; padding: 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.iv-score { min-width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--line); background: var(--c); display: flex; align-items: baseline; justify-content: center; padding-top: 18px; box-shadow: 3px 3px 0 var(--line); }
.iv-score b { font-size: 28px; } .iv-score small { font-weight: 700; }
.iv-fb ul { list-style: none; display: flex; flex-direction: column; gap: 5px; font-size: 14.5px; }
.iv-fb li.ok { color: var(--ink); } .iv-fb li.no { color: #a33; } .iv-fb li small { color: var(--ink-2); font-weight: 500; }
.iv-fill { margin-top: 8px; font-size: 14px; font-weight: 600; }
.iv-rev summary { cursor: pointer; display: flex; gap: 10px; align-items: flex-start; }
.iv-myans { white-space: pre-wrap; background: #f7faf2; border-radius: 10px; padding: 10px 12px; font-size: 15px; }

/* ---------- Catatanku ---------- */
.nt-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.nt-tab { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 2.5px solid var(--line); border-radius: 16px; background: #fff; font-weight: 800; font-size: 16px; box-shadow: 3px 3px 0 var(--line); }
.nt-tab.on { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime); }
.nt-tab .nt-n { min-width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: #f2f4ec; color: var(--ink); }
.nt-tab.on .nt-n { background: var(--lime); }
.nt-search { display: flex; align-items: center; gap: 10px; border: 2.5px solid var(--line); border-radius: 14px; padding: 0 16px; background: #fff; }
.nt-search input { border: 0; outline: 0; font: inherit; font-size: 16px; padding: 14px 0; width: 100%; background: transparent; }
.btn.dashb { border-style: dashed; }
.nt-group { border: 2.5px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 5px 5px 0 var(--line); margin-bottom: 24px; background: #fafbf6; }
.nt-gh { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 2.5px solid var(--line); }
.nt-gh > span { flex: 1; display: flex; flex-direction: column; }
.nt-gh small { font-weight: 700; font-size: 13px; } .nt-gh b { font-size: 21px; }
.nt-items { padding: 18px; display: flex; flex-direction: column; gap: 12px; background-image: radial-gradient(#d9ddcf 1px, transparent 1px); background-size: 14px 14px; }
.nt-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: 3px 3px 0 var(--line); }
a.nt-item { align-items: center; }
.nt-mark { font-weight: 700; font-size: 16px; line-height: 1.7; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 2px 4px; }
.nt-note { margin-top: 10px; background: #fff7c2; border-radius: 10px; padding: 8px 12px; font-size: 15px; display: flex; gap: 8px; align-items: flex-start; white-space: pre-wrap; }
.nt-meta { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 8px; }
.nt-act { display: flex; gap: 8px; }
.nt-edit { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.nt-edit textarea { font: inherit; border: 2px solid var(--line); border-radius: 10px; padding: 10px; width: 100%; resize: vertical; }

/* ---------- Ikutin Alurnya ---------- */
.al-track { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); position: relative; margin: 18px 0 16px; }
.al-track::before { content: ""; position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 26px; height: 4px; background: var(--ink); }
.al-dot { position: relative; background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; font: inherit; padding: 0 4px; }
.al-dot b { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 20px; border: 2.5px solid var(--ink); transition: transform .15s; }
.al-dot span { font-size: 13.5px; font-weight: 700; color: var(--ink-2); text-align: center; line-height: 1.3; }
.al-dot.on b { background: var(--lime); color: var(--ink); transform: translateY(-4px); box-shadow: 3px 3px 0 var(--ink); }
.al-dot.on span { color: var(--ink); font-weight: 800; }
.al-card { background: #ffa97a; border: 2.5px solid var(--ink); border-radius: 18px; padding: 18px 22px; box-shadow: 4px 4px 0 var(--ink); }
.al-card p { margin-top: 10px; font-size: 16px; line-height: 1.6; }
.al-n { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-weight: 800; }
.al-l { font-size: 21px; }
.al-nav { margin-top: 16px; gap: 10px; }
.al-nav .hide, .al-card.hide { display: none; }
@media (max-width: 700px) { .al-dot span { display: none; } .al-dot b { width: 40px; height: 40px; } .al-track::before { top: 20px; } }

/* ---------- Knowledge check & Ringkasan bab ---------- */
.kc, .rk { margin: 34px 0 10px; }
.kc-h { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.kc-sub { margin-bottom: 18px; font-size: 15.5px; }
.kc-q { padding: 22px; margin-bottom: 18px; }
.kc-t { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; margin-bottom: 14px; }
.kc-no { min-width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.kc-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .kc-opts { grid-template-columns: 1fr; } }
.kc-o { display: flex; gap: 12px; align-items: flex-start; text-align: left; font: inherit; font-size: 15.5px; background: #fff; border: 2px solid var(--soft-line); border-radius: 14px; padding: 14px; cursor: pointer; position: relative; }
.kc-o:hover:not(:disabled) { border-color: var(--ink); }
.kc-o .k { min-width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--soft-line); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.kc-o.wrong { border: 2.5px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.kc-o.wrong .k { background: #e8572a; color: #fff; border-color: #e8572a; }
.kc-o.wrong i::after { content: "✕"; color: #e8572a; font-weight: 800; font-style: normal; position: absolute; right: 14px; top: 14px; }
.kc-o.right { border: 2.5px solid #2f8a4c; background: #effae9; }
.kc-o.right .k { background: #2f8a4c; color: #fff; border-color: #2f8a4c; }
.kc-box { margin-top: 14px; border-radius: 14px; padding: 14px 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; font-size: 15.5px; }
.kc-box.no { background: #fdeee6; } .kc-box.ok { background: #effae9; display: block; }
.rk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
@media (max-width: 900px) { .rk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rk-grid { grid-template-columns: 1fr; } }
.rk-c { text-align: left; font: inherit; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; padding: 16px; box-shadow: 4px 4px 0 var(--ink); display: flex; flex-direction: column; gap: 8px; cursor: pointer; transition: transform .12s; }
.rk-c:hover { transform: translateY(-2px); }
.rk-c b { font-size: 17px; line-height: 1.3; } .rk-c > span:last-child { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.rk-n { align-self: flex-start; background: #ffd84a; border: 2px solid var(--ink); border-radius: 10px; padding: 2px 8px; font-weight: 800; font-size: 14px; }
.rk-c.on { background: var(--lime-2); }
.rk-c.on .rk-n { background: var(--lime); }
.rk-c.on .rk-n::after { content: " ✓"; }
.al-dot { min-width: 0; }
.al-dot span { overflow-wrap: break-word; word-break: normal; hyphens: auto; max-width: 100%; }
.al-track.many .al-dot span { display: none; }
.al-track.many .al-dot b { width: 44px; height: 44px; font-size: 17px; }
.al-track.many::before { top: 22px; }

/* ---------- Pemilih ujian ---------- */
.exam-switch { display: grid; grid-template-columns: 1fr 1fr; background: #e7eadf; border: 2px solid var(--line); border-radius: 14px; padding: 4px; gap: 4px; margin: -4px 0 14px; }
.exam-switch button { border: 0; background: transparent; font: inherit; font-weight: 800; font-size: 15px; padding: 8px 6px; border-radius: 10px; cursor: pointer; color: var(--ink-2); }
.exam-switch button.on { background: var(--ink); color: var(--lime); box-shadow: 2px 2px 0 var(--lime); }
.lvl-switch { display: flex; align-items: center; gap: 6px; margin: -6px 0 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.lvl-switch button { border: 1.5px solid var(--soft-line); background: #fff; border-radius: 99px; padding: 4px 12px; font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.lvl-switch button.on { background: var(--lime); border-color: var(--line); color: var(--ink); }
.lvl-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 800; border: 1.5px solid var(--line); background: #fff; }
.lvl-chip.A { background: #e9defc; } .lvl-chip.T { background: #e6f6cf; } .lvl-chip.TA { background: #fff3c4; }
.ess-q { font-size: 19px; line-height: 1.45; margin-bottom: 12px; }
.ess textarea { font: inherit; font-size: 15px; border: 2px solid var(--line); border-radius: 12px; padding: 12px; width: 100%; resize: vertical; }
.ess-pts { list-style: none; margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.ess-pts li.no { color: #a33; } .ess-pts li.ok { color: var(--ok); font-weight: 700; }
.al-hafal { margin-top: 14px; background: #fff7c2; border: 2px dashed var(--line); border-radius: 14px; padding: 10px 16px; }
.al-hafal summary { cursor: pointer; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.al-hafal div { margin-top: 8px; font-size: 15.5px; line-height: 1.6; }

/* ---------- Glosarium ---------- */
.gl-sticky { position: sticky; top: 0; z-index: 20; background: var(--bg); padding: 12px 0 10px; }
.gl-search { display: flex; align-items: center; gap: 12px; background: #fff; border: 2.5px solid var(--line); border-radius: 18px; padding: 0 20px; box-shadow: 4px 4px 0 var(--line); }
.gl-search input { border: 0; outline: 0; font: inherit; font-size: 18px; font-weight: 600; padding: 16px 0; width: 100%; background: transparent; }
.gl-az { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.gl-az button { width: 38px; height: 38px; border-radius: 10px; border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 2px 2px 0 var(--line); }
.gl-az button:disabled { border-color: var(--soft-line); color: #c3c8bd; box-shadow: none; cursor: default; }
.gl-az button:not(:disabled):hover { background: var(--lime); }
.gl-sec { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px; margin-bottom: 28px; align-items: start; }
.gl-letter { position: sticky; top: 140px; width: 76px; height: 76px; border-radius: 18px; background: var(--lime); border: 2.5px solid var(--line); box-shadow: 4px 4px 0 var(--line); display: grid; place-items: center; font-size: 38px; font-weight: 800; }
.gl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 1100px) { .gl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .gl-grid { grid-template-columns: 1fr; } .gl-sec { grid-template-columns: 1fr; } .gl-letter { position: static; width: 56px; height: 56px; font-size: 28px; } }
.gl-card { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.gl-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.gl-card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.gl-rel { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; }
.gl-chip { border: 2px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 12px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.gl-chip:hover { background: var(--lime-2); }
.gl-in { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--lime); border: 0; border-radius: 12px; padding: 10px 14px; font: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; }
.gl-in.open svg:last-child { transform: rotate(180deg); }
.gl-ls { border: 2px dashed var(--soft-line); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.gl-ls.hide { display: none; }
.gl-ls a { display: flex; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 10px; font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.gl-ls a:hover { background: #f2f4ec; }
.gl-mb { min-width: 38px; text-align: center; padding: 3px 6px; border-radius: 8px; border: 2px solid var(--line); background: var(--c); font-size: 12.5px; font-weight: 800; }
.gl-none { font-size: 13px; }
.gl-card.flash { animation: glflash 1.2s ease; }
@keyframes glflash { 0%, 40% { box-shadow: 0 0 0 4px var(--lime), 4px 4px 0 var(--line); } 100% { box-shadow: var(--shadow); } }

/* ===== Akun, paket & pembayaran ===== */
.exam-switch.three { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.exam-switch .free { font-size: 10px; background: var(--lime); color: var(--ink); border-radius: 99px; padding: 0 5px; vertical-align: 2px; }
.exam-switch button.on .free { background: var(--lime-2); }
.exam-switch .lock { font-size: 11px; }
.login-btn { width: 100%; justify-content: center; }
.tiny { font-size: 13px; }
img.avatar { object-fit: cover; }
.admin-link { margin-bottom: 8px; }
.center-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ico-box.big { width: 64px; height: 64px; border-radius: 18px; }
.ico-box.big svg { width: 30px; height: 30px; }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card.pkg { text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 22px; position: relative; display: flex; flex-direction: column; gap: 6px; }
.card.pkg.on { background: var(--lime-2); outline: 3px solid var(--ink); }
.card.pkg.off { opacity: .55; }
.card.pkg .tag.tilt { position: absolute; top: -12px; right: 14px; }
.pkg-name { font-size: 19px; font-weight: 800; }
.pkg-price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.pkg-price s { font-size: 17px; color: var(--muted); font-weight: 700; }
.pkg-feat { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-weight: 600; }
.pkg-feat li { display: flex; gap: 8px; align-items: flex-start; }
.pkg-feat svg { flex: none; margin-top: 2px; color: var(--ok); }
.bundle-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.satuan-sum .acc-row:last-child { border-top: 2px solid var(--line); margin-top: 6px; padding-top: 10px; }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.card.pay { text-align: left; font: inherit; cursor: pointer; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-sm); }
.card.pay.on { background: var(--lime-2); outline: 3px solid var(--ink); }
.checkout { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.mod-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pad-sm { padding: 12px 14px; }
.va-box { text-align: center; margin: 18px 0; padding: 18px; background: var(--cream); border: 2px dashed var(--line); border-radius: var(--radius-sm); }
.va-num { font-size: 30px; font-weight: 800; letter-spacing: .04em; margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.qr-box { text-align: center; margin: 18px 0; }
.qr-box img, .qr-box svg { width: 260px; max-width: 100%; height: auto; border: 2px solid var(--line); border-radius: 14px; background: #fff; padding: 8px; }
.acc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--soft-line); }
.acc-row:last-child { border-bottom: 0; }
.spin.sm { width: 16px; height: 16px; border-width: 2px; display: inline-block; vertical-align: -3px; }
.table-card { padding: 0; overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--soft-line); vertical-align: top; }
.tbl th { background: var(--bg-2); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.tbl tr[data-go] { cursor: pointer; }
.tbl tr[data-go]:hover td { background: var(--lime-2); }
.nowrap { white-space: nowrap; }
/* ===== Admin ===== */
.adm-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.adm-tabs .tab { display: inline-flex; gap: 8px; align-items: center; padding: 9px 16px; border: 2px solid var(--line); border-radius: 99px; font-weight: 800; background: #fff; }
.adm-tabs .tab.on { background: var(--ink); color: var(--lime); }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.adm-stats .stat { display: flex; gap: 14px; align-items: center; }
.adm-stats .num { font-size: 26px; font-weight: 800; }
.adm-modal { width: min(760px, 94vw); max-height: 90vh; display: flex; flex-direction: column; }
.adm-modal .mb { overflow: auto; }
.adm-modal .mf { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 2px solid var(--soft-line); }
.adm-modal .mh { display: flex; align-items: center; padding: 14px 20px; border-bottom: 2px solid var(--soft-line); }
.inp, .adm-modal input:not([type=checkbox]):not([type=radio]), .adm-modal select, .adm-modal textarea, .tbl input[type=number], .tbl select { border: 2px solid var(--line); border-radius: 12px; padding: 9px 12px; background: #fff; }
.adm-modal .field input, .adm-modal .field select, .adm-modal .field textarea { width: 100%; }
.chk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; font-weight: 600; }
.chk { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: 14px; }
.opt-row { margin-bottom: 6px; flex-wrap: nowrap; }
.q-adm { margin-bottom: 12px; }
.q-adm.off { opacity: .5; }
.q-adm .q-txt { font-weight: 700; margin: 10px 0 6px; white-space: pre-wrap; }
.q-adm li.ok { font-weight: 800; color: var(--ok); }
pre.raw { white-space: pre-wrap; font-size: 12px; background: var(--bg-2); padding: 12px; border-radius: 12px; }
@media (max-width: 760px) { .bundle-wrap { grid-template-columns: 1fr; } .va-num { font-size: 22px; } }
/* PKN: daftar ditulis sebagai teks biasa, tanpa kotak per butir */
.prose.plain .li.lv0 { padding: 0; border: 0; background: none; border-radius: 0; margin: 0 0 8px; }
.prose.plain .li.lv0 .mk { background: none; border: 0; min-width: 22px; height: auto; display: inline; font-size: inherit; }
.prose.plain p { line-height: 1.75; }

/* ---------- Halaman paket: tiket ala Ailene ---------- */
.plans { background: var(--forest); background-image: radial-gradient(circle at 15% 0%, #2c5a43 0, transparent 45%), radial-gradient(circle at 90% 30%, #23503b 0, transparent 40%); margin: -34px -44px -140px; padding: 48px 44px 140px; min-height: 100vh; color: #fff; }
.plans-in { max-width: 1180px; margin: 0 auto; }
.plans-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.plans-head h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.04em; line-height: 1.05; margin: 14px 0 10px; color: #fff; }
.plans-head p { color: #cfe0d5; font-size: 17px; }
.plans-head .hl { background: var(--lime); color: var(--ink); padding: 0 .2em; border-radius: 10px; }
.chip-dark.lime { background: var(--lime); color: var(--ink); }
.tickets { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 380px)); justify-content: center; gap: 34px; align-items: start; }
.tk { position: relative; background: #fff; color: var(--ink); border-radius: 26px; padding: 44px 30px 30px; box-shadow: 0 18px 40px rgba(0,0,0,.35); transform: rotate(-1.2deg); transition: transform .2s; margin-top: 30px; }
.tk:nth-child(2) { transform: rotate(1deg); }
.tk:hover { transform: rotate(0) translateY(-4px); }
.tk.hot { background: linear-gradient(160deg, #f4fbd0 0%, #ffffff 45%, #fff6e8 100%); border: 4px solid var(--lime); }
.tk.on { outline: 4px solid var(--lime); outline-offset: 4px; }
.tk-strap { position: absolute; top: -64px; left: 50%; width: 34px; height: 70px; margin-left: -17px; background: repeating-linear-gradient(180deg, var(--lime) 0 12px, #b9d43a 12px 18px); border-radius: 4px; }
.tk:nth-child(1) .tk-strap { background: repeating-linear-gradient(180deg, #3d7a5b 0 12px, #2c5a43 12px 18px); }
.tk-hole { position: absolute; top: 16px; left: 50%; width: 70px; height: 14px; margin-left: -35px; border-radius: 99px; background: var(--ink); }
.tk-ribbon { position: absolute; top: 22px; right: -8px; background: var(--ink); color: var(--lime); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; transform: rotate(8deg); border-radius: 6px; }
.tk-eyebrow { font-weight: 700; color: var(--ink-2); font-size: 14px; }
.tk h2 { font-size: 32px; letter-spacing: -.04em; line-height: 1.05; margin: 6px 0 8px; }
.tk-sub { color: var(--ink-2); font-size: 15px; margin: 0; min-height: 44px; }
.tk-tear { position: relative; border-top: 2.5px dashed #c9cdbf; margin: 22px -30px 20px; }
.tk-tear::before, .tk-tear::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--forest); }
.tk-tear::before { left: -12px; } .tk-tear::after { right: -12px; }
.tk-price { font-size: 46px; font-weight: 800; letter-spacing: -.05em; line-height: 1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tk-badge { font-size: 12px; letter-spacing: .06em; background: var(--lime); border: 2px solid var(--ink); border-radius: 99px; padding: 5px 10px; }
.tk-strike { display: block; color: var(--muted); font-weight: 700; font-size: 18px; margin-top: 6px; }
.tk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.tk-chips span { border: 2px solid var(--ink); border-radius: 99px; padding: 5px 12px; font-weight: 700; font-size: 13px; background: #fff; }
.tk-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: var(--lime); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 18px; padding: 16px 20px; font: 800 18px var(--font); cursor: pointer; box-shadow: 0 5px 0 var(--ink); text-decoration: none; }
.tk-btn:hover { transform: translateY(1px); box-shadow: 0 4px 0 var(--ink); }
.tk-btn:disabled { opacity: .7; cursor: wait; }
.tk-btn.ghost { background: #fff; }
.checkout-sheet { max-width: 780px; margin: 56px auto 0; background: #fff; color: var(--ink); border-radius: 26px; padding: 28px; box-shadow: 0 18px 40px rgba(0,0,0,.35); scroll-margin-top: 20px; }
.cs-step { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.cs-step b { font-size: 22px; display: block; } .cs-step small { color: var(--muted); font-weight: 600; }
.cs-n { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); border: 2.5px solid var(--ink); display: grid; place-items: center; font-weight: 800; }
.cs-login { text-align: center; padding: 10px 0; }
.pay-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.pay-tile { display: flex; align-items: center; gap: 12px; text-align: left; border: 2px solid var(--soft-line); background: #fff; border-radius: 16px; padding: 12px 14px; cursor: pointer; font: inherit; color: inherit; }
.pay-tile img { width: 54px; height: 32px; object-fit: contain; flex-shrink: 0; }
.pay-tile b { display: block; } .pay-tile small { color: var(--muted); font-size: 12px; }
.pay-tile.on { border-color: var(--ink); background: var(--lime-2); box-shadow: var(--shadow-sm); }
.pt-ic { width: 54px; display: grid; place-items: center; flex-shrink: 0; }
.cs-sum { margin-top: 20px; border-top: 2.5px dashed #c9cdbf; padding-top: 16px; }
.cs-sum .acc-row.tot { font-size: 18px; } .cs-total { font-size: 26px; }
.cs-sum .tk-btn { margin: 16px 0 8px; }
@media (max-width: 720px) { .plans { margin: -18px -16px -130px; padding: 28px 16px 130px; } .tk { transform: none !important; } .tk h2 { font-size: 28px; } .tk-price { font-size: 40px; } }

/* ---------- Halaman pembayaran (VA / QRIS) ---------- */
.dv-wrap { max-width: 560px; }
.dv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.dv-head b { font-size: 20px; }
.dv-card { background: #fff; border: 2.5px solid var(--line); border-radius: 22px; padding: 20px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.dv-card.center, .center { text-align: center; }
.dv-label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.dv-bank { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.dv-bank img { width: 64px; height: 38px; object-fit: contain; border: 1.5px solid var(--soft-line); border-radius: 10px; padding: 4px; background: #fff; }
.dv-bank b { display: block; font-size: 17px; } .dv-bank small { color: var(--muted); }
.dv-bank.inline { justify-content: center; margin: 10px 0; }
.dv-copyrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--cream); border: 2px dashed #c9cdbf; border-radius: 16px; padding: 12px 14px; }
.dv-big { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.dv-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.dv-hl { background: var(--lime); padding: 0 4px; border-radius: 6px; }
.dv-copy { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--ink); background: var(--lime); border-radius: 12px; padding: 8px 12px; font: 800 14px var(--font); cursor: pointer; flex-shrink: 0; }
.dv-copy.wide { margin-top: 6px; }
.dv-note { color: var(--muted); font-size: 13px; margin-top: 8px; }
.dv-warn { display: flex; gap: 10px; align-items: flex-start; background: #fff6e0; border: 1.5px solid #f2d27a; border-radius: 14px; padding: 10px 12px; margin-top: 12px; font-size: 14px; }
.dv-warn svg { flex-shrink: 0; margin-top: 2px; }
.dv-steps { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.dv-steps li { padding-left: 4px; line-height: 1.55; }
.dv-steps-pre { white-space: pre-wrap; background: var(--cream); border-radius: 14px; padding: 14px; margin-top: 12px; }
.dv-qr { display: inline-block; background: #fff; border: 2px solid var(--soft-line); border-radius: 18px; padding: 12px; }
.dv-qr img, .dv-qr svg { width: 240px; height: 240px; display: block; }
.dv-state { text-align: center; padding: 30px 22px; }
.dv-state .ic { width: 70px; height: 70px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 2.5px solid var(--line); }
.dv-state.good .ic { background: var(--lime); }
.dv-state h3 { font-size: 24px; margin: 0 0 6px; } .dv-state .tk-btn { margin-top: 16px; }

/* ---------- Admin: Setup & Deploy ---------- */
.dp-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.dp-step { margin-bottom: 14px; }
.dp-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 18px; }
.dp-st { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--line); display: grid; place-items: center; flex-shrink: 0; background: #fff; }
.dp-st.ok { background: var(--lime); }
.dp-check { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.dp-check small { display: block; }
.dp-log { position: sticky; top: 16px; }
.dp-log pre { background: #0f1f17; color: #d6f0dc; border-radius: 14px; padding: 14px; margin-top: 10px; height: 460px; overflow: auto; font-size: 12.5px; white-space: pre-wrap; word-break: break-word; }
.dp-log pre a { color: var(--lime); }
@media (max-width: 980px) { .dp-grid { grid-template-columns: 1fr; } .dp-log { position: static; } }

/* ===================== Tampilan HP (ala Ailene) — taruh paling akhir supaya tidak tertimpa ===================== */
.mnav, .rtool { display: none; }
.gbar { display: flex; align-items: center; gap: 10px; background: var(--forest); color: #fff; padding: 9px 16px; font-weight: 700; font-size: 14px; position: sticky; top: 0; z-index: 41; }
.gbar.hide { display: none; }
.gbar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(217,242,74,.25); flex-shrink: 0; }
.gbar .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gbar .x { background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; display: grid; }
.sheet-bg { position: fixed; inset: 0; z-index: 90; background: rgba(17,26,21,0); transition: background .2s; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg.on { background: rgba(17,26,21,.45); }
.sheet { width: 100%; max-width: 640px; max-height: 86vh; background: var(--bg); border: var(--bw) solid var(--line); border-bottom: 0; border-radius: 26px 26px 0 0; transform: translateY(100%); transition: transform .22s ease-out; display: flex; flex-direction: column; }
.sheet-bg.on .sheet { transform: none; }
.sheet-grip { width: 48px; height: 5px; border-radius: 9px; background: #c9cdbf; margin: 10px auto 0; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px 6px; }
.sheet-h b { font-size: 22px; letter-spacing: -.02em; }
.sheet-b { overflow-y: auto; padding: 6px 18px 28px; }
.sh-mod { background: #fff; border: 1.5px solid var(--soft-line); border-radius: 18px; padding: 14px; margin-bottom: 12px; }
.sh-title { display: block; font-size: 18px; margin: 8px 0; }
.sh-bar { height: 8px; border-radius: 9px; background: var(--bg-2); overflow: hidden; } .sh-bar i { display: block; height: 100%; background: var(--lime); border-right: 2px solid var(--ink); }
.sh-ch { border-bottom: 1px solid var(--soft-line); }
.sh-ch summary { display: flex; align-items: center; gap: 12px; padding: 14px 4px; cursor: pointer; list-style: none; }
.sh-ch summary::-webkit-details-marker { display: none; }
.sh-ch summary .no { width: 32px; height: 32px; border-radius: 10px; background: var(--bg-2); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.sh-ch[open] summary .no { background: var(--ink); color: #fff; }
.sh-ch summary b { flex: 1; font-size: 15.5px; line-height: 1.3; }
.sh-ch summary .cnt { font-size: 12px; font-weight: 800; background: var(--bg-2); border-radius: 99px; padding: 3px 9px; }
.sh-l { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 0 0 6px 16px; border-left: 2px solid var(--soft-line); border-radius: 0 12px 12px 0; color: var(--ink-2); text-decoration: none; }
.sh-l small { display: block; color: var(--muted); font-weight: 700; font-size: 11px; }
.sh-l span:nth-child(2) { flex: 1; min-width: 0; }
.sh-l .ck { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b9bfb2; display: grid; place-items: center; flex-shrink: 0; }
.sh-l.done .ck { background: var(--lime); border-color: var(--ink); }
.sh-l.cur { background: #fdf3d6; border-left-color: var(--ink); color: var(--ink); font-weight: 700; }
.sh-l em { font-style: normal; font-size: 12px; font-weight: 800; background: var(--ink); color: var(--lime); border-radius: 99px; padding: 4px 10px; }
.sh-note { background: #fff; border: 1.5px solid var(--soft-line); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; }
.sh-note p { margin: 6px 0 0; color: var(--ink-2); }
.sh-tip { border-top: 2px dashed #c9cdbf; border-bottom: 2px dashed #c9cdbf; padding: 12px 0; margin: 12px 0; color: var(--ink-2); }

@media (max-width: 1280px) {
  .grid-home { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  body { -webkit-text-size-adjust: 100%; }
  .main { padding: 14px 14px 120px; }
  .dock { display: none !important; }
  .topbar { padding: 10px 14px; }
  .topbar .icon-btn { width: 44px; height: 44px; }
  /* navigasi bawah */
  .mnav { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50; background: #fbfbf7; border: var(--bw) solid var(--line); border-radius: 24px; box-shadow: 0 4px 0 var(--line); padding: 6px 4px; }
  .mn-item, .mn-play { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); text-decoration: none; padding: 6px 2px; border-radius: 16px; }
  .mn-item.on { background: var(--lime); color: var(--ink); border: 2px solid var(--line); }
  .mn-play { margin-top: -26px; color: var(--ink); }
  .mn-play svg { width: 54px; height: 54px; padding: 12px; background: var(--lime); border: var(--bw) solid var(--line); border-radius: 18px; box-shadow: 0 3px 0 var(--line); }
  /* beranda */
  .greet h1 { font-size: 40px; line-height: 1.05; }
  .carousel { grid-auto-columns: 86%; gap: 14px; }
  .card { border-radius: 20px; }
  .continue h2 { font-size: 28px; }
  .continue .body { padding: 18px; }
  .countdown, .collect, .exam { grid-template-columns: minmax(0, 1fr) !important; }
  .grid2, .grid3, .qgrid { grid-template-columns: minmax(0, 1fr) !important; }
  .page-head h1 { font-size: 34px; line-height: 1.08; }
  /* halaman baca: header & toolbar sendiri */
  body.reading .topbar, body.reading .mnav, body.reading .gbar { display: none; }
  body.reading .main { padding-top: 0; padding-bottom: 110px; }
  .reader-bar { margin: 0 -14px 14px; padding: 8px 12px; gap: 8px; flex-wrap: nowrap; top: 0; }
  .reader-bar .tag, .reader-bar a[title="Buka di PDF"] { display: none; }
  .reader-bar .rb-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
  .reader-bar .grow { display: none; }
  .reader-bar .seg-toggle button { padding: 6px 9px; font-size: 13px; }
  .reader-bar .seg-toggle button svg { display: none; }
  .lesson-hero h1 { font-size: 30px; line-height: 1.1; }
  .lesson-hero .meta { gap: 6px; }
  .lesson-hero .meta .tag { font-size: 12px; padding: 4px 9px; }
  .lesson-hero .meta .tag.dash { display: none; }
  .prose { font-size: 17px; }
  .prose .tbl-wrap { margin-left: -4px; margin-right: -4px; }
  .finish { display: none; }
  .rtool { display: grid; grid-template-columns: repeat(4, 1fr) 1.25fr; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50; background: #fbfbf7; border: var(--bw) solid var(--line); border-radius: 22px; box-shadow: 0 4px 0 var(--line); padding: 5px; gap: 2px; }
  .rt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: none; border: 0; font: 700 12px var(--font); color: var(--ink); padding: 7px 2px; border-radius: 16px; text-decoration: none; cursor: pointer; }
  .rt.dis { opacity: .35; }
  .rt.next { background: var(--ink); color: var(--lime); }
  /* widget latihan di dalam materi */
  .widget { padding: 16px; }
  .mf-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .kc-q { padding: 16px; }
  .al-track { gap: 4px; }
}
@media (max-width: 860px) {
  .cd-units { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .cd-unit { min-width: 0 !important; padding: 10px 4px !important; } .cd-unit b { font-size: 26px !important; }
  .main a.btn.big, .main button.btn.big { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}
/* widget Benar/Salah: hasil ala Ailene */
.mf.ok { background: #e6f7a6 !important; }
.mf.no { background: #fde3d6 !important; }
.mf-top { font-weight: 800; font-size: 15px; color: #2f6d1f; }
.mf.no .mf-top { color: #c2410c; }
.mf-q { color: var(--ink-2); font-weight: 700 !important; }
.mf-stamp { align-self: flex-start; font-weight: 800; font-size: 26px; letter-spacing: -.02em; border: 3px solid var(--ink); border-radius: 12px; padding: 4px 16px; transform: rotate(-2deg); background: rgba(255,255,255,.35); }
.mf-why { font-size: 15.5px; line-height: 1.5; }
@media (max-width: 860px) { .toast { bottom: calc(96px + env(safe-area-inset-bottom)); max-width: calc(100% - 32px); } }
@media (max-width: 860px) { body.focus .mnav { display: none; } body.focus .main { padding-bottom: 40px; } }

/* ---------- Tur perkenalan (maskot Uko) ---------- */
.tour-chip { display: inline-flex; align-items: center; gap: 10px; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 6px 8px 6px 14px; font: 600 14px var(--font); color: var(--ink); cursor: pointer; box-shadow: 0 3px 0 var(--line); margin-bottom: 14px; }
.tour-chip u { text-decoration-color: var(--lime); text-decoration-thickness: 3px; font-weight: 800; }
.tour { position: fixed; inset: 0; z-index: 120; }
.tour.center { background: rgba(17,26,21,.55); }
.tour-hole { position: fixed; z-index: 1; border-radius: 26px; box-shadow: 0 0 0 4px var(--lime), 0 0 0 9999px rgba(17,26,21,.55); pointer-events: none; transition: all .25s ease; }
.tour-card { position: fixed; z-index: 2; display: flex; align-items: flex-end; gap: 0; transition: top .25s ease, left .25s ease; }
.tour.center .tour-card { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); width: min(380px, calc(100vw - 24px)); }
.tour-bubble { position: relative; flex: 1; background: #fffdf6; border: var(--bw) solid var(--line); border-radius: 22px; padding: 16px 18px 14px; box-shadow: 0 5px 0 var(--line); animation: tour-in .22s ease-out; }
@keyframes tour-in { from { transform: translateY(8px) scale(.97); } to { transform: none; } }
.tour-bubble::after { content: ""; position: absolute; right: -12px; bottom: 26px; width: 18px; height: 18px; background: #fffdf6; border-right: var(--bw) solid var(--line); border-bottom: var(--bw) solid var(--line); transform: rotate(-45deg); }
.tour-uko { flex-shrink: 0; margin: 0 -6px -8px 8px; filter: drop-shadow(0 3px 0 rgba(0,0,0,.25)); animation: uko-bob 2.4s ease-in-out infinite; }
@keyframes uko-bob { 50% { transform: translateY(-4px) rotate(-3deg); } }
.tb-eyebrow { font-weight: 800; font-size: 13px; color: var(--forest-2); }
.tb-x { position: absolute; top: 10px; right: 10px; background: none; border: 0; cursor: pointer; padding: 4px; color: var(--ink); }
.tour-bubble h3 { font-size: 22px; letter-spacing: -.02em; margin: 4px 0 6px; padding-right: 22px; }
.tour-bubble p { margin: 0 0 14px; color: var(--ink-2); line-height: 1.5; }
.tb-foot { display: flex; align-items: center; gap: 8px; }
.tb-dots { display: flex; gap: 5px; } .tb-dots i { width: 8px; height: 8px; border-radius: 9px; background: var(--ink); opacity: .85; }
.tb-dots i.on { width: 26px; background: var(--lime); border: 2px solid var(--ink); opacity: 1; }
.tb-skip { background: none; border: 0; font: 700 14px var(--font); color: var(--ink-2); cursor: pointer; padding: 8px; }
.tb-back { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; display: grid; place-items: center; cursor: pointer; }
.tb-next { display: inline-flex; align-items: center; gap: 6px; background: var(--lime); border: 2px solid var(--ink); border-radius: 99px; padding: 9px 16px; font: 800 15px var(--font); cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
@media (max-width: 860px) { .tour-bubble h3 { font-size: 20px; } .tour-uko svg { width: 56px; height: 56px; } }
.tour-bubble { text-align: left; } .tb-skip, .tb-next { white-space: nowrap; }

/* Knowledge check ala Ailene */
.kc-q { border-radius: 26px; box-shadow: 0 5px 0 var(--line); }
.kc-opts { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
.kc-o { position: relative; background: #f4f4ef; border: 2px solid #dcdfd4; border-radius: 16px; padding: 14px 44px 14px 14px; font-weight: 600; align-items: center; }
.kc-o .k { background: #fff; }
.kc-o i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 800; }
.kc-o.right { background: var(--lime) !important; border: 2.5px solid var(--ink) !important; box-shadow: 0 4px 0 var(--ink); }
.kc-o.right .k { background: var(--ink); color: #fff; border-color: var(--ink); }
.kc-o.right i::after { content: "✓"; color: var(--ink); }
.kc-o.wrong { background: #fff; border: 2.5px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.kc-o.wrong i::after { content: "✕"; position: static; color: #c2410c; }
.kc-o.tried { box-shadow: none; opacity: .55; border-width: 2px; }
.kc-box { border-radius: 18px; padding: 16px 18px; align-items: center; }
.kc-box.ok { background: #effbcf; display: flex !important; align-items: flex-start; gap: 12px; }
.kc-spark { font-size: 18px; line-height: 1.3; }
.kc-box.no { background: #fde9df; }
.kc-acts { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.kc-retry { background: var(--ink); color: var(--lime); border: 0; border-radius: 99px; padding: 12px 18px; font: 800 15px var(--font); cursor: pointer; white-space: nowrap; }
.kc-keylink { background: none; border: 0; font: 700 13px var(--font); color: var(--ink-2); text-decoration: underline; cursor: pointer; }

/* ---------- Alur: garis waktu modul ala Ailene ---------- */
.tl { position: relative; max-width: 720px; margin: 0 auto; padding: 18px 0 8px 0; }
.tl::before { content: ""; position: absolute; left: 41px; top: 0; bottom: 0; border-left: 4px dashed #9fb5a7; }
.tl-item { position: relative; display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 0; color: inherit; text-decoration: none; }
.tl-dot { justify-self: center; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; background: #fff; border: 3px dashed var(--ink); z-index: 1; }
.tl-item.done .tl-dot { background: #22a565; color: #fff; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.tl-txt { padding-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.tl-txt small { color: var(--forest-2); font-weight: 800; font-size: 14px; }
.tl-t { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.tl-d { color: var(--ink-2); font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tl-item.todo .tl-t, .tl-item.todo .tl-d { opacity: .78; }
.tl-ring { justify-self: center; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--lime) var(--p), #2c3a31 0); border: 3px solid var(--ink); box-shadow: 0 0 0 7px rgba(217,242,74,.35); z-index: 1; margin-top: 24px; }
.tl-ring b { width: 62px; height: 62px; border-radius: 50%; background: var(--lime); border: 3px solid var(--ink); display: grid; place-items: center; font-size: 17px; }
.tl-card { background: #fff; border: var(--bw) solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 5px 0 var(--line); display: flex; flex-direction: column; gap: 8px; transform: rotate(-1deg); }
.tl-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--lime); border: 2px solid var(--ink); border-radius: 99px; padding: 5px 12px; font-weight: 800; font-size: 14px; }
.tl-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.tl-n { font-size: 15px; }
.tl-bar { height: 12px; border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; background: #fff; }
.tl-bar i { display: block; height: 100%; background: var(--lime); }
.tl-free { display: inline-flex; align-items: center; gap: 8px; border: 2.5px solid var(--ink); border-radius: 99px; padding: 6px 14px; font-weight: 800; background: #fff; box-shadow: 0 3px 0 var(--ink); }
.tl-free i { width: 12px; height: 12px; border-radius: 50%; background: #22a565; }
.tl-sticky { position: fixed; top: 74px; left: 50%; transform: translateX(-50%); z-index: 45; display: flex; align-items: center; gap: 10px; background: #fff; border: var(--bw) solid var(--line); border-radius: 99px; padding: 8px 16px; box-shadow: 0 4px 0 var(--line); font-size: 15px; max-width: calc(100vw - 24px); white-space: nowrap; }
.tl-sticky.hide, .tl-me.hide { display: none; }
.tl-sticky > i { width: 10px; height: 10px; border-radius: 50%; background: var(--forest-2); }
.tl-sticky span:not(.tl-mini) { font-weight: 700; overflow: hidden; text-overflow: ellipsis; padding-left: 10px; border-left: 2px solid var(--soft-line); }
.tl-mini { width: 64px; height: 12px; border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; flex-shrink: 0; } .tl-mini i { display: block; height: 100%; background: #22a565; }
.tl-me { position: fixed; right: 18px; bottom: 30px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; background: var(--lime); border: var(--bw) solid var(--line); border-radius: 99px; padding: 12px 18px; font: 800 16px var(--font); box-shadow: 0 4px 0 var(--line); cursor: pointer; }
@media (min-width: 861px) { .tl-sticky { top: 16px; left: calc(50% + var(--sidebar) / 2); } }
@media (max-width: 860px) {
  .tl::before { left: 32px; }
  .tl-item { grid-template-columns: 66px minmax(0, 1fr); gap: 12px; }
  .tl-dot { width: 52px; height: 52px; font-size: 14px; }
  .tl-ring { width: 74px; height: 74px; margin-top: 30px; margin-left: -4px; } .tl-ring b { width: 52px; height: 52px; font-size: 15px; }
  .tl-t { font-size: 18px; }
  .tl-me { bottom: calc(108px + env(safe-area-inset-bottom)); right: 14px; }
  .tl-sticky { top: 72px; }
}

/* ---------- Ilustrasi kartu modul: gaya tambahan ala Ailene ---------- */
.art-big { display: flex; flex-direction: column; justify-content: center; padding: 34px 18px 14px; gap: 4px; }
.art-big.dark { color: #fff; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px) !important; }
.ab-eyebrow { font-size: 12px; font-weight: 700; opacity: .75; position: absolute; top: 18px; right: 16px; }
.ab-big { font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--lime); }
.art-big:not(.dark) .ab-big { color: var(--ink); }
.ab-tag { align-self: flex-start; background: var(--lime); color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; padding: 2px 10px; font-weight: 800; font-size: 12px; transform: rotate(-2deg); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab-spark { position: absolute; right: 22px; bottom: 16px; color: var(--lime); font-size: 18px; }
.art-steps { display: flex; align-items: center; justify-content: center; padding: 40px 12px 12px; }
.as-row { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px 4px; }
.as-pill { background: #fff; border: 2px solid var(--ink); border-radius: 99px; padding: 4px 11px; font-weight: 800; font-size: 13px; box-shadow: 2px 2px 0 var(--ink); }
.as-pill.last { background: var(--ink); color: var(--lime); }
.as-arr { font-style: normal; font-weight: 800; }
.art-chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 40px 14px 14px; }
.ac-msg { align-self: flex-start; max-width: 82%; background: #fff; border: 2px solid var(--ink); border-radius: 14px 14px 14px 4px; padding: 4px 10px; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-msg.me { align-self: flex-end; background: var(--lime); border-radius: 14px 14px 4px 14px; }
