/* ==========================================================
   KimiaKita — gaya tampilan
   Warna utama dapat diganti guru di Pengaturan (variabel --accent)
   ========================================================== */
:root {
  --accent: #1f7a55;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, white);
  --accent-ink: color-mix(in srgb, var(--accent) 70%, black);
  --ink: #15302a;
  --muted: #5b6f68;
  --paper: #f2f5f1;
  --card: #ffffff;
  --line: #dde5df;
  --side: #10292a;
  --side-ink: #c9d8d3;
  --amber: #c98a12;
  --amber-soft: #fdf3dc;
  --red: #b83a2e;
  --red-soft: #fbe7e4;
  --blue: #2a6db0;
  --blue-soft: #e5eff9;
  --radius: 14px;
  --radius-sm: 9px;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); font-size: 15px; line-height: 1.6; }
a { color: var(--accent-ink); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 1.6rem; font-weight: 800; }
h2 { font-size: 1.2rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; margin-top: 1.4em; }
h4 { font-size: .98rem; font-weight: 700; }
code { background: #eef2ef; padding: .1em .35em; border-radius: 5px; font-size: .92em; }
.ic { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, white); outline-offset: 2px; }

/* ---------- Kerangka ---------- */
.shell { display: flex; min-height: 100vh; }
.side { width: 248px; flex: none; background: var(--side); color: var(--side-ink); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; padding: 4px 10px 16px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: #fff; }
.brand-mark .ic { width: 20px; height: 20px; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side a:not(.brand) { display: flex; align-items: center; gap: 11px; color: var(--side-ink); text-decoration: none; padding: 9px 12px; border-radius: 10px; font-weight: 500; font-size: .93rem; }
.side a:not(.brand):hover { background: rgba(255,255,255,.06); color: #fff; }
.side a.on { background: var(--accent); color: #fff; }
.side-label { font-size: .75rem; color: #7f9b93; padding: 14px 12px 4px; font-weight: 600; }
.side-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 2px; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; gap: 14px; padding: 12px 28px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-title { font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-user { display: flex; align-items: center; gap: 10px; }
.top-meta { display: flex; flex-direction: column; line-height: 1.2; }
.top-meta small { color: var(--muted); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; }
.menu-btn { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }
.content { padding: 26px 28px 60px; max-width: 1180px; width: 100%; }
.preview-bar { background: var(--blue-soft); color: var(--blue); padding: 8px 28px; font-size: .88rem; display: flex; gap: 8px; align-items: center; }
.side-scrim { display: none; }

@media (max-width: 900px) {
  .side { position: fixed; left: 0; top: 0; z-index: 30; transform: translateX(-100%); transition: transform .2s; }
  body.side-open .side { transform: none; }
  body.side-open .side-scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 20; }
  .menu-btn { display: block; }
  .top { padding: 10px 16px; }
  .top-meta { display: none; }
  .content { padding: 18px 16px 50px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Komponen dasar ---------- */
.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0; }
.lead { color: var(--muted); margin: .35em 0 0; max-width: 70ch; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs { font-size: .83rem; color: var(--muted); display: flex; gap: 6px; margin-bottom: 4px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs .cur { color: var(--ink); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.card + .card { margin-top: 16px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 700px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.inline { display: inline; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; border: 1px solid var(--accent); border-radius: 10px; padding: 9px 16px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; text-decoration: none; line-height: 1.2; }
.btn:hover { filter: brightness(1.07); }
.btn-ghost { background: var(--card); color: var(--accent-ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--accent-soft); filter: none; }
.btn-warn { background: var(--amber); border-color: var(--amber); }
.btn-danger { background: var(--red); border-color: var(--red); }
.btn-sm { padding: 6px 11px; font-size: .84rem; border-radius: 8px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.icon-btn { background: none; border: 1px solid var(--line); border-radius: 8px; width: 32px; height: 32px; display: inline-grid; place-items: center; cursor: pointer; color: var(--muted); padding: 0; }
.icon-btn:hover { background: var(--accent-soft); color: var(--accent-ink); }
.icon-btn.danger:hover { background: var(--red-soft); color: var(--red); }
.icon-btn .ic { width: 16px; height: 16px; }
.row-actions { display: inline-flex; gap: 4px; }
.row-actions form { display: inline-flex; gap: 4px; }

.badge { display: inline-block; font-size: .76rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #eef2ef; color: var(--muted); white-space: nowrap; }
.badge.ok { background: var(--accent-soft); color: var(--accent-ink); }
.badge.warn { background: var(--amber-soft); color: #8a5c00; }
.badge.err { background: var(--red-soft); color: var(--red); }
.badge.info { background: var(--blue-soft); color: var(--blue); }

.flash { padding: 11px 15px; border-radius: 10px; margin-bottom: 14px; font-weight: 500; }
.flash-ok { background: var(--accent-soft); color: var(--accent-ink); }
.flash-warn { background: var(--amber-soft); color: #7a5200; }
.flash-err { background: var(--red-soft); color: var(--red); }

.bar { height: 10px; background: #e6ece8; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

.empty { text-align: center; padding: 34px 20px; color: var(--muted); }
.empty .ic { width: 34px; height: 34px; color: var(--accent); opacity: .6; }

/* ---------- Tabel ---------- */
.table-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: #f4f7f5; font-weight: 700; font-size: .85rem; color: #33504a; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
.data td { vertical-align: middle; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.form-grid .wide, .form-grid .field.wide { grid-column: 1 / -1; }
.form-one .field + .field { margin-top: 14px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 5px; }
.field .help, .help { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; }
input[type=text], input[type=password], input[type=number], input[type=url], input:not([type]), select, textarea {
  width: 100%; font: inherit; font-size: .95rem; padding: 9px 12px; border: 1px solid #cbd6cf; border-radius: 9px; background: #fff; color: var(--ink);
}
textarea { resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
input[type=color] { width: 60px; height: 38px; padding: 2px; border: 1px solid #cbd6cf; border-radius: 8px; }
.check { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; font-weight: 500; }
.check input { margin-top: 5px; accent-color: var(--accent); }

/* ---------- Login ---------- */
.auth-page { background: var(--paper); }
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { background: var(--side); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-art h1 { font-size: 2.4rem; max-width: 14ch; margin: 0 0 12px; }
.login-art p { color: #bcd2cb; max-width: 44ch; font-size: 1.02rem; }
.login-art .brand { padding: 0; }
.molecule { position: absolute; right: -40px; bottom: -30px; width: 380px; opacity: .9; }
.login-themes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; position: relative; }
.login-themes span { border: 1px solid rgba(255,255,255,.22); padding: 5px 12px; border-radius: 99px; font-size: .85rem; color: #dbe9e4; }
.login-form { display: grid; place-items: center; padding: 32px; }
.login-form .card { width: 100%; max-width: 380px; padding: 30px; }
.login-form .field + .field { margin-top: 14px; }
.login-form .btn { width: 100%; justify-content: center; margin-top: 18px; padding: 11px; }
@media (max-width: 860px) { .login { grid-template-columns: 1fr; } .login-art { padding: 32px 24px; } .login-art h1 { font-size: 1.8rem; } .molecule { width: 220px; opacity: .35; } }
.install { max-width: 760px; margin: 40px auto; padding: 0 18px; }
.checks { list-style: none; padding: 0; }
.checks li.ok { color: var(--accent-ink); } .checks li.bad { color: var(--red); font-weight: 700; }

/* ---------- Beranda ---------- */
.hello { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: center; }
.hello h1 { font-size: 1.7rem; }
.group-chip { display: flex; gap: 12px; align-items: center; background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; }
.group-chip .ic { color: var(--accent-ink); width: 26px; height: 26px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 12px; text-align: center; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.tile:hover { border-color: var(--accent); }
.tile .ic { width: 26px; height: 26px; color: var(--accent); }
.tile-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); }
.cycle-list { display: grid; gap: 10px; }
.cycle { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--card); }
.cycle:hover { border-color: var(--accent); }
.cycle-num { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.cycle strong { display: block; }
.cycle small { color: var(--muted); }
.note { border-left: 4px solid var(--amber); background: var(--amber-soft); padding: 10px 14px; border-radius: 0 10px 10px 0; }
.note + .note { margin-top: 8px; }
.note small { color: #8a6a2a; }

/* ---------- Konten materi ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { text-decoration: none; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: .88rem; }
.tabs a.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.prose { max-width: 78ch; }
.prose p, .prose li { line-height: 1.72; }
.prose .table-wrap { max-width: 100%; }
.prose figure { margin: 18px 0; }
.prose figure img, .prose p.fig img { border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.prose figcaption, .prose p.fig + p em { font-size: .86rem; color: var(--muted); }
.prose .eq { font-weight: 700; font-size: 1.05rem; background: #f4f7f5; border-radius: 10px; padding: 10px 14px; text-align: center; letter-spacing: .01em; }
.prose ul.sources { padding-left: 18px; font-size: .9rem; }
.prose ul.sources a { white-space: nowrap; font-weight: 600; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.info-grid div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.info-grid span { display: block; font-size: .8rem; color: var(--muted); }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 28px; position: relative; margin: 6px 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border: 2px solid var(--accent); border-radius: 4px; }

.callout { border-radius: 12px; padding: 14px 18px; margin: 16px 0; background: #f4f7f5; border-left: 5px solid #9fb3ab; }
.callout h4 { margin: 0 0 6px; }
.callout > :last-child { margin-bottom: 0; }
.callout-isu { background: #eaf3ee; border-color: var(--accent); }
.callout-sdg { background: var(--blue-soft); border-color: var(--blue); }
.callout-ingat { background: var(--red-soft); border-color: var(--red); }
.callout-sudut { background: #f1edf8; border-color: #6b4fa3; }
.callout-data, .callout-tips { background: var(--amber-soft); border-color: var(--amber); }
.callout-bisa { background: #eaf3ee; border-color: var(--accent); }
.callout-info, .callout-pemantik { background: var(--blue-soft); border-color: var(--blue); }
.callout-notice { background: var(--amber-soft); border-color: var(--amber); }
.callout .src { font-size: .85rem; color: var(--muted); }

.toc { display: flex; flex-direction: column; gap: 4px; }
.toc a { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; color: var(--ink); padding: 8px 10px; border-radius: 9px; font-size: .92rem; }
.toc a:hover { background: var(--accent-soft); }
.toc a.on { background: var(--accent-soft); font-weight: 700; color: var(--accent-ink); }
.toc .dot { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid #b9c8c1; display: grid; place-items: center; margin-top: 1px; }
.toc .dot.done { background: var(--accent); border-color: var(--accent); color: #fff; }
.toc .dot .ic { width: 12px; height: 12px; }
.video { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; margin: 14px 0; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.page-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

/* ---------- LKPD ---------- */
.stages { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; }
.stage-pill { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--card); padding: 7px 14px 7px 7px; border-radius: 99px; text-decoration: none; color: var(--ink); font-size: .85rem; font-weight: 600; white-space: nowrap; }
.stage-pill b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: .85rem; }
.stage-pill.full b { background: var(--accent); color: #fff; }
.meeting-label { display: flex; align-items: center; gap: 12px; margin: 28px 0 12px; font-weight: 800; color: var(--accent-ink); }
.meeting-label::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.lk-section { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; overflow: hidden; scroll-margin-top: 80px; }
.lk-head { display: flex; gap: 14px; align-items: center; padding: 14px 20px; background: #f4f7f5; border-bottom: 1px solid var(--line); }
.lk-letter { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; flex: none; }
.lk-head h2 { margin: 0; font-size: 1.05rem; }
.lk-head p { margin: 0; color: var(--muted); font-size: .88rem; font-style: italic; }
.lk-body { padding: 8px 20px 18px; }
.lk-item { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.lk-item:last-child { border-bottom: 0; }
.lk-q { display: grid; grid-template-columns: 30px 1fr; gap: 6px; }
.lk-no { font-weight: 800; color: var(--accent-ink); }
.lk-prompt > :first-child { margin-top: 0; }
.lk-prompt p { margin: 0 0 8px; }
.lk-input { margin-top: 8px; }
.lk-meta { font-size: .78rem; color: var(--muted); margin-top: 5px; }
.lk-item.dirty .lk-meta::after { content: " · belum disimpan"; color: var(--amber); font-weight: 700; }
.help-btn { background: var(--amber-soft); color: #7a5200; border: 1px solid #efd59a; border-radius: 8px; padding: 5px 11px; font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; }
.help-btn .ic { width: 15px; height: 15px; }
.help-box { display: none; background: var(--amber-soft); border-left: 4px solid var(--amber); padding: 10px 14px; border-radius: 0 10px 10px 0; margin-top: 8px; font-size: .92rem; }
.help-box.open { display: block; }
.lk-table td { padding: 5px; }
.lk-table td.fixed { padding: 9px 12px; background: #fafcfb; font-weight: 600; }
.lk-table textarea { min-height: 44px; border-radius: 7px; padding: 7px 9px; font-size: .9rem; }
.opt-list { display: grid; gap: 7px; }
.opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; cursor: pointer; }
.opt:hover { border-color: var(--accent); }
.opt input { margin-top: 5px; accent-color: var(--accent); }
.savebar { position: sticky; bottom: 0; z-index: 4; background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; box-shadow: 0 6px 24px rgba(16,41,42,.08); }
.score-box { display: flex; gap: 6px; align-items: center; margin-top: 10px; padding: 8px 10px; background: var(--blue-soft); border-radius: 10px; flex-wrap: wrap; }
.score-box input { width: 80px; }
.score-box .quick { border: 1px solid #b8d0ea; background: #fff; border-radius: 7px; padding: 3px 9px; cursor: pointer; font: inherit; font-size: .82rem; }
.answer-view { background: #f7faf8; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; white-space: pre-wrap; min-height: 38px; }
.answer-view.none { color: var(--muted); font-style: italic; }

/* ---------- Latihan & Quiz ---------- */
.q-card { max-width: 780px; }
.q-num { font-size: .85rem; color: var(--muted); font-weight: 700; }
.q-prompt { font-size: 1.05rem; font-weight: 600; margin: 6px 0 14px; }
.opt.correct { border-color: var(--accent); background: var(--accent-soft); }
.opt.wrong { border-color: var(--red); background: var(--red-soft); }
.feedback { border-radius: 12px; padding: 14px 16px; margin-top: 14px; }
.feedback.ok { background: var(--accent-soft); }
.feedback.no { background: var(--red-soft); }
.feedback h4 { display: flex; gap: 8px; align-items: center; margin: 0 0 4px; }
.q-dots { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.q-dots span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: #e6ece8; color: var(--muted); }
.q-dots span.cur { background: var(--ink); color: #fff; }
.q-dots span.ok { background: var(--accent); color: #fff; }
.q-dots span.no { background: var(--red); color: #fff; }
.big-score { font-size: 3rem; font-weight: 800; color: var(--accent-ink); line-height: 1; }

/* ---------- Refleksi ---------- */
.scale { display: flex; gap: 8px; flex-wrap: wrap; }
.scale label { border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; cursor: pointer; display: flex; gap: 7px; align-items: center; font-size: .9rem; }
.scale input { accent-color: var(--accent); }
.scale label:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); font-weight: 700; }
.r-q { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.r-q:last-of-type { border-bottom: 0; }
.r-q > p { font-weight: 600; margin: 0 0 8px; }

/* ---------- Progress ---------- */
.ring { --p: 0; width: 130px; height: 130px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), #e3eae6 0); display: grid; place-items: center; flex: none; }
.ring span { width: 100px; height: 100px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.stat .tile-ico .ic { color: var(--accent-ink); }
.stat b { font-size: 1.5rem; display: block; line-height: 1.1; }
.stat small { color: var(--muted); }

/* ---------- Bantuan ---------- */
details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
details.faq + details.faq { margin-top: 10px; }
details.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; gap: 12px; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--muted); }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 0 16px 38px; }
details.faq summary .ic { color: var(--amber); }

/* ---------- Admin ---------- */
.admin-list { display: grid; gap: 8px; }
.admin-row { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 10px 14px; }
.admin-row .grow { flex: 1; min-width: 0; }
.admin-row .grow strong { display: block; }
.admin-row .grow small { color: var(--muted); }
.item-editor { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 10px; }
.item-editor > summary { padding: 11px 14px; cursor: pointer; display: flex; gap: 10px; align-items: center; list-style: none; }
.item-editor > summary::-webkit-details-marker { display: none; }
.item-editor > .ie-body { padding: 4px 16px 16px; border-top: 1px solid var(--line); }
.type-tag { font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: #eef2ef; color: var(--muted); }
.cards-print { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.acc-card { border: 1.5px dashed #9fb3ab; border-radius: 10px; padding: 12px 14px; break-inside: avoid; }
.acc-card b { display: block; }
.chart-box { position: relative; height: 280px; }
@media print {
  .side, .top, .no-print, .preview-bar { display: none !important; }
  .content { padding: 0; max-width: none; }
  body { background: #fff; }
}
.grid > .card + .card, .split > .card + .card, .split > * + * { margin-top: 0; }
.stage-pill { white-space: normal; }
.stage-pill b { flex: none; }
.login-art .molecule { top: 40px; bottom: auto; right: -50px; }
.login-art > div { z-index: 1; }
