/* =====================================================================
   Cek Jawaban — gaya tampilan (terinspirasi Apple HIG)
   Warna utama berasal dari Pengaturan → Tampilan (variabel --accent*, disisipkan di <head>).
   Tema: [data-theme="light"|"dark"] di <html>, atau "auto" mengikuti perangkat.
   ===================================================================== */

/* ---------- 1. Token warna & ukuran ---------- */
:root {
  --bg: #f5f5f7;
  --bg-elev: #ffffff;
  --bg-elev-2: #fbfbfd;
  --bg-sunken: #ececf0;
  --field: #ffffff;
  --fill: rgba(118, 118, 128, .12);
  --fill-2: rgba(118, 118, 128, .07);
  --ink: #1d1d1f;
  --ink-2: #3a3a3c;
  --muted: #6e6e73;
  --faint: #8e8e93;
  --line: rgba(0, 0, 0, .08);
  --line-strong: rgba(0, 0, 0, .14);
  --glass: rgba(250, 250, 252, .78);
  --glass-strong: rgba(255, 255, 255, .9);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 24px rgba(0, 0, 0, .05);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, .14), 0 2px 6px rgba(0, 0, 0, .05);
  --accent-ink: var(--accent-l);
  --accent-soft: rgb(var(--accent-rgb) / .12);
  --accent-soft-2: rgb(var(--accent-rgb) / .06);
  --green: #1f9d47; --green-soft: rgba(52, 199, 89, .14);
  --orange: #c45500; --orange-soft: rgba(255, 149, 0, .16);
  --red: #d70015; --red-soft: rgba(255, 59, 48, .12);
  --blue: #0066cc; --blue-soft: rgba(0, 122, 255, .12);
  --purple: #8944ab; --purple-soft: rgba(175, 82, 222, .13);
  --gray-soft: rgba(118, 118, 128, .14);
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sidebar: 264px;
  --topbar: 56px;
  --tabbar: 62px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #000000;
  --bg-elev: #1c1c1e;
  --bg-elev-2: #242426;
  --bg-sunken: #0c0c0d;
  --field: #2c2c2e;
  --fill: rgba(118, 118, 128, .24);
  --fill-2: rgba(118, 118, 128, .14);
  --ink: #f5f5f7;
  --ink-2: #e5e5ea;
  --muted: #a1a1a6;
  --faint: #8e8e93;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .18);
  --glass: rgba(22, 22, 24, .76);
  --glass-strong: rgba(28, 28, 30, .92);
  --shadow-sm: none;
  --shadow: 0 0 0 1px rgba(255, 255, 255, .04);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06);
  --accent-ink: var(--accent-d);
  --accent-soft: rgb(var(--accent-rgb) / .22);
  --accent-soft-2: rgb(var(--accent-rgb) / .12);
  --green: #30d158; --green-soft: rgba(48, 209, 88, .18);
  --orange: #ff9f0a; --orange-soft: rgba(255, 159, 10, .18);
  --red: #ff453a; --red-soft: rgba(255, 69, 58, .18);
  --blue: #409cff; --blue-soft: rgba(10, 132, 255, .2);
  --purple: #bf5af2; --purple-soft: rgba(191, 90, 242, .2);
  --gray-soft: rgba(118, 118, 128, .26);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #000000;
    --bg-elev: #1c1c1e;
    --bg-elev-2: #242426;
    --bg-sunken: #0c0c0d;
    --field: #2c2c2e;
    --fill: rgba(118, 118, 128, .24);
    --fill-2: rgba(118, 118, 128, .14);
    --ink: #f5f5f7;
    --ink-2: #e5e5ea;
    --muted: #a1a1a6;
    --faint: #8e8e93;
    --line: rgba(255, 255, 255, .1);
    --line-strong: rgba(255, 255, 255, .18);
    --glass: rgba(22, 22, 24, .76);
    --glass-strong: rgba(28, 28, 30, .92);
    --shadow-sm: none;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .04);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06);
    --accent-ink: var(--accent-d);
    --accent-soft: rgb(var(--accent-rgb) / .22);
    --accent-soft-2: rgb(var(--accent-rgb) / .12);
    --green: #30d158; --green-soft: rgba(48, 209, 88, .18);
    --orange: #ff9f0a; --orange-soft: rgba(255, 159, 10, .18);
    --red: #ff453a; --red-soft: rgba(255, 69, 58, .18);
    --blue: #409cff; --blue-soft: rgba(10, 132, 255, .2);
    --purple: #bf5af2; --purple-soft: rgba(191, 90, 242, .2);
    --gray-soft: rgba(118, 118, 128, .26);
    color-scheme: dark;
  }
}

/* ---------- 2. Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100dvh;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(28px, 6vw, 40px); }
h2 { font-size: clamp(22px, 4vw, 28px); }
h3 { font-size: 19px; letter-spacing: -.01em; }
h4 { font-size: 16px; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
small { font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
:focus-visible { outline: 3px solid rgb(var(--accent-rgb) / .55); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgb(var(--accent-rgb) / .25); }
button { font: inherit; color: inherit; }
.icon { width: 20px; height: 20px; flex: none; }
.icon.sm { width: 16px; height: 16px; }
.icon.lg { width: 24px; height: 24px; }
.icon.xl { width: 32px; height: 32px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 17px; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.center { text-align: center; }
.right { text-align: right; }
.strong { font-weight: 600; }
.accent { color: var(--accent-ink); }
.green { color: var(--green); }
.red { color: var(--red); }
.orange { color: var(--orange); }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
[hidden] { display: none !important; }

/* ---------- 3. Tata letak umum ---------- */
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--sm { gap: 8px; }
.stack--lg { gap: 24px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row--nowrap { flex-wrap: nowrap; }
.row--between { justify-content: space-between; }
.row--top { align-items: flex-start; }
.row--sm { gap: 6px; }
.spacer { flex: 1; }
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.grid--stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .grid--stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.split { display: grid; gap: 20px; }
@media (min-width: 1100px) { .split { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }

/* ---------- 4. Tombol ---------- */
.btn {
  --btn-bg: var(--fill);
  --btn-ink: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 18px;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-ink);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s var(--ease), background-color .2s, opacity .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:hover { text-decoration: none; filter: brightness(1.04); }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { --btn-bg: var(--accent); --btn-ink: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); filter: none; }
.btn--tinted { --btn-bg: var(--accent-soft); --btn-ink: var(--accent-ink); }
.btn--plain { --btn-bg: transparent; --btn-ink: var(--accent-ink); padding-inline: 10px; }
.btn--plain:hover { background: var(--accent-soft-2); }
.btn--ghost { --btn-bg: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--danger { --btn-bg: var(--red-soft); --btn-ink: var(--red); }
.btn--danger-solid { --btn-bg: #e5342b; --btn-ink: #fff; }
.btn--success { --btn-bg: #1f9d47; --btn-ink: #fff; }
.btn--sm { min-height: 32px; padding: 6px 13px; font-size: 13px; }
.btn--sm .icon { width: 16px; height: 16px; }
.btn--lg { min-height: 50px; padding: 12px 26px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--icon { width: 40px; padding: 0; }
.btn--icon.btn--sm { width: 32px; }
.btn.is-loading { pointer-events: none; opacity: .7; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: transparent; color: var(--ink-2); cursor: pointer;
  transition: background-color .2s;
}
.icon-btn:hover { background: var(--fill); text-decoration: none; }
.count {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #ff3b30; color: #fff; font-size: 11px; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.count:empty, .count[data-value="0"] { display: none; }
.icon-btn .count { position: absolute; top: 2px; right: 0; border: 2px solid var(--glass-strong); height: 20px; min-width: 20px; }

/* ---------- 5. Formulir ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field__label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field__label .req { color: var(--red); }
.field__hint { margin: 0; font-size: 12.5px; color: var(--muted); }
.field__error { margin: 0; font-size: 12.5px; color: var(--red); font-weight: 500; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]), .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--field); border: 1px solid var(--line-strong); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
:root[data-theme="dark"] .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]),
:root[data-theme="dark"] .field select, :root[data-theme="dark"] .field textarea, :root[data-theme="dark"] .input { border-color: transparent; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] .field input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]),
  :root[data-theme="auto"] .field select, :root[data-theme="auto"] .field textarea, :root[data-theme="auto"] .input { border-color: transparent; }
}
.field textarea, textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
.field select, select.input {
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238e8e93' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .18); }
.field input[type=file] { font-size: 14px; color: var(--muted); max-width: 100%; }
.field input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; cursor: pointer; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.input-group { position: relative; display: flex; align-items: center; }
.input-group > input { padding-right: 46px !important; }
.input-group__btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.form-actions--end { justify-content: flex-end; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 600; margin-bottom: 8px; }

.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 15px; line-height: 1.4; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; cursor: pointer; }
.check--card { padding: 12px 14px; border-radius: 12px; background: var(--fill-2); width: 100%; }
.check--card:has(input:checked) { background: var(--accent-soft); }

/* Saklar gaya iOS: <label class="switch"><input type="checkbox"><span></span> Teks</label> */
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch > span { position: relative; width: 51px; height: 31px; border-radius: 999px; background: var(--fill); transition: background .25s; flex: none; }
.switch > span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .16); transition: transform .25s var(--ease); }
.switch input:checked + span { background: #34c759; }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid rgb(var(--accent-rgb) / .5); outline-offset: 2px; }

/* Pilihan berbentuk tombol (segmented) */
.segmented {
  display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; background: var(--fill);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.segmented::-webkit-scrollbar { display: none; }
.segmented__item {
  flex: none; padding: 6px 14px; border: 0; border-radius: 8px; background: transparent;
  color: var(--ink-2); font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none !important;
  transition: background .2s, box-shadow .2s;
}
.segmented__item.is-active, .segmented__item[aria-selected="true"] { background: var(--bg-elev); color: var(--ink); box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 1px 1px rgba(0, 0, 0, .04); }
:root[data-theme="dark"] .segmented__item.is-active { background: #636366; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .segmented__item.is-active { background: #636366; } }
.segmented--block { display: flex; width: 100%; }
.segmented--block .segmented__item { flex: 1; text-align: center; }

/* ---------- 6. Kartu, daftar, lencana ---------- */
.card { background: var(--bg-elev); border-radius: var(--radius-lg); box-shadow: var(--shadow); min-width: 0; }
.card--pad { padding: 20px; }
@media (min-width: 760px) { .card--pad { padding: 24px; } }
.card__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 0; }
.card__head + .card__body { padding-top: 12px; }
.card__title { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.card__sub { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.card__body { padding: 20px; }
.card__foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.card--link { display: block; color: inherit; text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s; }
.card--link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card--accent { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); color: var(--on-accent); }
.card--accent h2, .card--accent h3, .card--accent .card__title { color: inherit; }
.card--accent .muted { color: inherit; opacity: .8; }
.card--tint { background: var(--accent-soft-2); box-shadow: inset 0 0 0 1px var(--accent-soft); }
.card--warn { background: var(--orange-soft); box-shadow: none; }

.list { list-style: none; margin: 0; padding: 0; }
.list__item { display: flex; align-items: center; gap: 14px; padding: 12px 20px; position: relative; min-width: 0; }
.list__item + .list__item::before { content: ""; position: absolute; top: 0; left: 20px; right: 0; border-top: 1px solid var(--line); }
.list__item--avatar + .list__item--avatar::before { left: 74px; }
.list__item--link { color: inherit; text-decoration: none !important; transition: background .15s; }
.list__item--link:hover { background: var(--fill-2); }
.list__main { flex: 1; min-width: 0; }
.list__title { font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--ink); display: block; overflow: hidden; text-overflow: ellipsis; }
.list__sub { font-size: 13px; color: var(--muted); display: block; margin-top: 1px; }
.list__end { display: flex; align-items: center; gap: 8px; color: var(--faint); flex: none; }
.list__chev { color: var(--faint); width: 18px; height: 18px; }
.list--inset .list__item { padding-inline: 0; }
.list--inset .list__item + .list__item::before { left: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.35; white-space: nowrap; background: var(--gray-soft); color: var(--ink-2);
}
.badge--green { background: var(--green-soft); color: var(--green); }
.badge--orange { background: var(--orange-soft); color: var(--orange); }
.badge--red { background: var(--red-soft); color: var(--red); }
.badge--blue { background: var(--blue-soft); color: var(--blue); }
.badge--purple { background: var(--purple-soft); color: var(--purple); }
.badge--accent { background: var(--accent-soft); color: var(--accent-ink); }
.badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--fill-2); font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.chip__emoji { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: 12px; background: var(--c, var(--accent-soft)); }

.avatar {
  --h: 210;
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(145deg, hsl(var(--h) 70% 62%), hsl(calc(var(--h) + 25) 65% 48%));
  color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .02em; user-select: none;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--xs { width: 24px; height: 24px; font-size: 10px; }
.avatar--sm { width: 32px; height: 32px; font-size: 12px; }
.avatar--lg { width: 56px; height: 56px; font-size: 20px; }
.avatar--xl { width: 96px; height: 96px; font-size: 34px; }
.avatar-wrap { position: relative; display: inline-block; flex: none; }
.online-dot { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: #34c759; border: 2px solid var(--bg-elev); }
.avatar-stack { display: flex; }
.avatar-stack .avatar { border: 2px solid var(--bg-elev); margin-left: -8px; }
.avatar-stack .avatar:first-child { margin-left: 0; }

.stat { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 760px) { .stat { padding: 20px; } }
.stat__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); }
.stat__icon--green { background: var(--green-soft); color: var(--green); }
.stat__icon--orange { background: var(--orange-soft); color: var(--orange); }
.stat__icon--purple { background: var(--purple-soft); color: var(--purple); }
.stat__value { font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 13px; color: var(--muted); font-weight: 500; }

.progress { height: 6px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.progress__bar { height: 100%; border-radius: inherit; background: var(--accent); width: 0; transition: width .6s var(--ease); }
.progress--green .progress__bar { background: #34c759; }
.progress--lg { height: 10px; }

.ring { --p: 0; --size: 120px; --stroke: 10px; position: relative; width: var(--size); height: var(--size); flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: var(--stroke); }
.ring__track { stroke: var(--fill); }
.ring__value { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: var(--off, 326.73); animation: ringIn 1.1s var(--ease) both; }
@keyframes ringIn { from { stroke-dashoffset: 326.73; } }
.ring__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__num { font-size: calc(var(--size) * .26); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ring__cap { font-size: 12px; color: var(--muted); margin-top: 4px; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: var(--blue-soft); color: var(--ink); font-size: 14.5px; }
.alert .icon { margin-top: 1px; color: var(--blue); }
.alert--success { background: var(--green-soft); } .alert--success .icon { color: var(--green); }
.alert--warning { background: var(--orange-soft); } .alert--warning .icon { color: var(--orange); }
.alert--danger { background: var(--red-soft); } .alert--danger .icon { color: var(--red); }
.alert p:last-child { margin-bottom: 0; }
.alert__body { flex: 1; min-width: 0; }

.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 40px 20px; color: var(--muted); }
.empty__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--fill-2); color: var(--faint); margin-bottom: 8px; font-size: 30px; }
.empty__icon .icon { width: 30px; height: 30px; }
.empty__title { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0; }
.empty p { margin: 0; max-width: 380px; }

.kbd { display: inline-block; padding: 1px 6px; border-radius: 6px; background: var(--fill); font-family: var(--mono); font-size: 12px; }

/* Tabel: di HP berubah menjadi kartu (setiap sel diberi data-label) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { position: sticky; top: 0; z-index: 1; padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; background: var(--bg-elev); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--fill-2); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .center { text-align: center; }
.table .check-col { width: 44px; }
.table .check-col input { width: 18px; height: 18px; accent-color: var(--accent); }
.table--compact td { padding: 8px 12px; }
@media (max-width: 759px) {
  .table--stack thead { display: none; }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack td { display: block; width: 100%; }
  .table--stack tr { padding: 12px 16px; border-bottom: 1px solid var(--line); position: relative; }
  .table--stack tr:last-child { border-bottom: 0; }
  .table--stack td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .table--stack td::before { content: attr(data-label); color: var(--muted); font-size: 13px; text-align: left; flex: none; }
  .table--stack td[data-label=""]::before, .table--stack td:not([data-label])::before { display: none; }
  .table--stack td.cell-main { display: block; text-align: left; padding-bottom: 6px; }
  .table--stack td.check-col { position: absolute; right: 12px; top: 12px; width: auto; padding: 0; }
  .table--stack tbody tr:hover td { background: none; }
}

.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 16px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; background: var(--fill-2); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.pagination .is-current { background: var(--accent); color: var(--on-accent); }

/* Menu tarik-turun berbasis <details> */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 230px; padding: 6px;
  background: var(--glass-strong); backdrop-filter: saturate(180%) blur(30px); -webkit-backdrop-filter: saturate(180%) blur(30px);
  border-radius: 14px; box-shadow: var(--shadow-lg); animation: pop .18s var(--ease);
}
.menu__item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: var(--ink); font-size: 14.5px; text-align: left; cursor: pointer; text-decoration: none !important; }
.menu__item:hover { background: var(--fill); }
.menu__item--danger { color: var(--red); }
.menu__sep { height: 1px; margin: 5px 8px; background: var(--line); }
.menu__head { padding: 10px 12px 8px; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

/* Dialog (konfirmasi & formulir kecil) */
dialog.modal {
  width: min(92vw, 440px); max-height: 88vh; padding: 0; border: 0; border-radius: 22px;
  background: var(--bg-elev); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto;
}
dialog.modal--wide { width: min(94vw, 640px); }
dialog.modal::backdrop { background: rgba(0, 0, 0, .38); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
dialog.modal[open] { animation: pop .22s var(--ease); }
.modal__body { padding: 22px 22px 10px; }
.modal__title { margin: 0 0 6px; font-size: 18px; }
.modal__foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 22px 20px; flex-wrap: wrap; }
.modal__foot .btn { min-width: 96px; }
@media (max-width: 520px) {
  dialog.modal { margin: auto auto 0; width: 100%; max-width: 100%; border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  dialog.modal[open] { animation: sheet .3s var(--ease); }
  .modal__foot .btn { flex: 1; }
}
@keyframes sheet { from { transform: translateY(100%); } }

/* Notifikasi kecil melayang */
.toast-stack { position: fixed; z-index: 200; left: 50%; top: 12px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; pointer-events: auto;
  background: var(--glass-strong); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: var(--shadow-lg); color: var(--ink); font-size: 14px; animation: toastIn .35s var(--ease); cursor: default;
}
.toast.is-leaving { animation: toastOut .3s var(--ease) forwards; }
.toast__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--on-accent); flex: none; }
.toast--error .toast__icon { background: #ff3b30; color: #fff; }
.toast--success .toast__icon { background: #34c759; color: #fff; }
.toast--warning .toast__icon { background: #ff9f0a; color: #fff; }
.toast__title { font-weight: 600; display: block; }
.toast__text { color: var(--muted); display: block; }
a.toast { text-decoration: none; cursor: pointer; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-16px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-12px) scale(.96); } }

.flash-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

/* ---------- 7. Kerangka aplikasi (setelah login) ---------- */
.app { min-height: 100vh; min-height: 100dvh; }
.sidebar { display: none; }
.main { min-width: 0; padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 24px); }
.content { width: 100%; max-width: 1180px; margin: 0 auto; padding: 16px 16px 0; }
.content--narrow { max-width: 760px; }
.content--wide { max-width: 1400px; }

.topbar {
  position: sticky; top: 0; z-index: 40; height: var(--topbar);
  display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px;
  background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.topbar__brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none !important; font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.topbar__brand img, .brand-mark { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; flex: none; }
.brand-mark { display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.brand-mark .icon { width: 18px; height: 18px; }
.topbar__title { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.topbar__user { padding: 3px; border-radius: 50%; display: grid; }

.tabbar {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
}
.tabbar__item {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 0; background: none; color: var(--faint); font-size: 10.5px; font-weight: 600; letter-spacing: .01em;
  text-decoration: none !important; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.tabbar__item .icon { width: 25px; height: 25px; }
.tabbar__item.is-active { color: var(--accent-ink); }
.tabbar__item .count { position: absolute; top: 5px; left: calc(50% + 6px); }

.sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sheet-grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 16px; background: var(--fill-2); color: var(--ink); font-size: 12.5px; font-weight: 600; text-align: center; text-decoration: none !important; position: relative; }
.sheet-grid a .icon { width: 24px; height: 24px; color: var(--accent-ink); }
.sheet-grid a .count { position: absolute; top: 8px; right: 10px; }

@media (min-width: 1024px) {
  .app { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); }
  .sidebar {
    position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column;
    background: var(--glass); backdrop-filter: saturate(180%) blur(30px); -webkit-backdrop-filter: saturate(180%) blur(30px);
    border-right: 1px solid var(--line); overflow-y: auto; scrollbar-width: thin;
  }
  .tabbar, .topbar__brand--mobile { display: none; }
  .main { padding-bottom: 48px; }
  .content { padding: 28px 36px 0; }
  .topbar { padding: 0 20px 0 36px; }
}
.sidebar__brand { display: flex; align-items: center; gap: 12px; padding: 22px 20px 14px; color: var(--ink); text-decoration: none !important; }
.sidebar__brand img, .sidebar__brand .brand-mark { width: 38px; height: 38px; border-radius: 10px; }
.sidebar__name { font-weight: 700; font-size: 15px; letter-spacing: -.02em; line-height: 1.2; display: block; }
.sidebar__org { font-size: 12px; color: var(--muted); display: block; line-height: 1.3; }
.sidebar__nav { flex: 1; padding: 6px 12px 20px; }
.nav-group + .nav-group { margin-top: 14px; }
.nav-group__title { padding: 6px 10px; font-size: 11.5px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.nav-link {
  display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px;
  color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none !important; transition: background .15s;
}
.nav-link .icon { width: 19px; height: 19px; color: var(--accent-ink); }
.nav-link:hover { background: var(--fill-2); }
.nav-link.is-active { background: var(--accent); color: var(--on-accent); }
.nav-link.is-active .icon { color: inherit; }
.nav-link .count { margin-left: auto; }
.sidebar__foot { padding: 12px; border-top: 1px solid var(--line); }

.page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 6px 0 22px; }
.page-head__text { flex: 1; min-width: min(100%, 260px); }
.page-head__eyebrow { font-size: 13px; font-weight: 600; color: var(--accent-ink); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.page-head__title { margin: 0; font-size: clamp(28px, 5vw, 34px); letter-spacing: -.03em; }
.page-head__sub { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.page-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; gap: 2px; margin-bottom: 8px; font-size: 15px; font-weight: 500; }
.back-link .icon { width: 18px; height: 18px; }
.section-title { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px; }
.section-title h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.section-title a { margin-left: auto; font-size: 14px; font-weight: 500; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.toolbar .input, .toolbar select { min-height: 38px; padding-top: 6px; padding-bottom: 6px; font-size: 14px; width: auto; }
.toolbar form { display: contents; }
.search-input { position: relative; flex: 1; min-width: 200px; }
.search-input .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); width: 17px; height: 17px; }
.search-input input { padding-left: 36px !important; width: 100%; background: var(--fill) !important; border-color: transparent !important; min-height: 38px !important; font-size: 15px !important; }
.bulkbar {
  position: sticky; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 10px); z-index: 30; margin-top: 12px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px 10px 18px; border-radius: 18px;
  background: var(--glass-strong); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: var(--shadow-lg);
}
@media (min-width: 1024px) { .bulkbar { bottom: 16px; } }

/* ---------- 8. Halaman publik ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { max-width: 1120px; margin: 0 auto; height: 60px; padding: 0 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 16px; letter-spacing: -.02em; text-decoration: none !important; min-width: 0; }
.brand img, .brand .brand-mark { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__text small { font-size: 11.5px; color: var(--muted); font-weight: 500; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-nav { display: none; gap: 4px; margin-left: 18px; }
.site-nav a { padding: 6px 12px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; }
.site-nav a:hover { background: var(--fill); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
@media (min-width: 860px) { .site-nav { display: flex; } }
@media (max-width: 480px) { .site-header__actions .btn--ghost { display: none; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 120%; z-index: -1;
  background: radial-gradient(ellipse 50% 40% at 30% 30%, rgb(var(--accent-rgb) / .16), transparent 70%),
              radial-gradient(ellipse 40% 35% at 75% 20%, rgba(255, 159, 10, .12), transparent 70%);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 96px 0 72px; } .hero__grid { grid-template-columns: 1.1fr .9fr; } }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--bg-elev); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 20px; }
.hero__eyebrow img, .hero__eyebrow .brand-mark { width: 22px; height: 22px; border-radius: 6px; }
.hero__title { font-size: clamp(38px, 8vw, 68px); line-height: 1.04; letter-spacing: -.045em; margin: 0 0 18px; }
.hero__title em { font-style: normal; background: linear-gradient(120deg, var(--accent), #ff6b00 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 28px; line-height: 1.5; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__visual { position: relative; min-height: 360px; display: grid; place-items: center; }
.mock {
  position: relative; width: min(100%, 360px); padding: 18px; border-radius: 30px; background: var(--bg-elev); box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.mock__row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--fill-2); }
.mock__row + .mock__row { margin-top: 10px; }
.mock__float { position: absolute; padding: 12px 14px; border-radius: 18px; background: var(--glass-strong); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow-lg); font-size: 13px; display: flex; gap: 10px; align-items: center; }
.mock__float--a { top: 8px; right: -6px; transform: rotate(3deg); }
.mock__float--b { bottom: 10px; left: -10px; transform: rotate(-3deg); }
@media (max-width: 520px) { .mock__float--a { right: 0; } .mock__float--b { left: 0; } }

.stats-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 760px) { .stats-strip { grid-template-columns: repeat(4, 1fr); } }
.stats-strip > div { background: var(--bg-elev); padding: 22px 18px; text-align: center; }
.stats-strip strong { display: block; font-size: 32px; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats-strip span { color: var(--muted); font-size: 13.5px; }

.section { padding: 56px 0; }
@media (min-width: 960px) { .section { padding: 88px 0; } }
.section__head { max-width: 680px; margin: 0 0 32px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__eyebrow { color: var(--accent-ink); font-weight: 600; font-size: 14px; margin-bottom: 8px; display: block; }
.section__title { font-size: clamp(30px, 5vw, 46px); letter-spacing: -.04em; line-height: 1.08; margin: 0 0 12px; }
.section__text { color: var(--muted); font-size: 17px; margin: 0; }
.section--alt { background: var(--bg-elev); }
.section--alt .card { background: var(--bg); box-shadow: none; }

.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.feature { padding: 24px; border-radius: var(--radius-lg); background: var(--bg-elev); box-shadow: var(--shadow); }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; margin-bottom: 16px; background: var(--accent-soft); color: var(--accent-ink); }
.feature__icon .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 14.5px; }

.site-footer { padding: 48px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: var(--ink); font-size: 14px; margin-bottom: 10px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--fill); color: var(--ink-2); }
.socials a:hover { background: var(--accent); color: var(--on-accent); text-decoration: none; }
.socials .icon { width: 18px; height: 18px; }
.site-footer__bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }

/* Halaman masuk & daftar */
.auth { min-height: calc(100vh - 60px); min-height: calc(100dvh - 60px); display: grid; place-items: center; padding: 32px 16px 56px; }
.auth__card { width: 100%; max-width: 420px; }
.auth__card--wide { max-width: 640px; }
.auth__head { text-align: center; margin-bottom: 24px; }
.auth__logo { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; background: var(--bg-elev); box-shadow: var(--shadow); }
.auth__logo img { width: 44px; height: 44px; object-fit: contain; }
.auth__logo .brand-mark { width: 44px; height: 44px; border-radius: 12px; }
.auth__title { font-size: 28px; margin: 0 0 6px; letter-spacing: -.03em; }
.auth__foot { text-align: center; margin-top: 20px; color: var(--muted); font-size: 14.5px; }
.kv { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 10px 16px; text-align: left; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }

/* ---------- 9. Dasbor & komponen halaman ---------- */
.greet { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 4px 0 22px; }
.greet__date { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.greet__title { margin: 2px 0 0; font-size: clamp(28px, 6vw, 36px); letter-spacing: -.035em; }

.image-preview { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; background: var(--fill-2); }
.setting-image { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.setting-image img { max-height: 64px; border-radius: 10px; background: var(--fill-2); padding: 6px; }
.color-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.color-row input[type=color] { width: 48px; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .08); transition: transform .15s; }
.swatch:hover { transform: scale(1.12); }
.swatch.is-active { box-shadow: 0 0 0 2px var(--bg-elev), 0 0 0 4px var(--ink); }
.score-big { font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.meter { display: grid; gap: 12px; }
.meter__row { display: grid; grid-template-columns: 96px 1fr 52px; gap: 12px; align-items: center; font-size: 14px; }
.meter__row strong { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 13. Animasi masuk & aksesibilitas ---------- */
.fade-in { animation: fadeUp .5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 400; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall 2.6s cubic-bezier(.2, .6, .4, 1) forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: .9; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .sidebar, .topbar, .tabbar, .no-print, .site-header, .site-footer, .toast-stack, .bulkbar { display: none !important; }
  .app { display: block; }
  .main { padding: 0; }
  .card { box-shadow: none; border: 1px solid #ddd; }
  body { background: #fff; }
}

/* ---------- 14. Utilitas tambahan ---------- */
@media (max-width: 759px) { .hide-mobile { display: none !important; } }
@media (min-width: 760px) { .hide-desktop { display: none !important; } }
.segmented__item:has(input:checked) { background: var(--bg-elev); color: var(--ink); box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 1px 1px rgba(0, 0, 0, .04); }
:root[data-theme="dark"] .segmented__item:has(input:checked) { background: #636366; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .segmented__item:has(input:checked) { background: #636366; } }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details.card[open] > summary .muted { display: none; }
.chip:link, .chip:visited { text-decoration: none; }
a.chip:hover { background: var(--fill); }
.card--link.row { display: flex; }
.card--link.stack { display: flex; }

/* =====================================================================
   15. CEK JAWABAN — komponen khusus aplikasi
   ===================================================================== */

/* ---------- Umum ---------- */
.input--sm { min-height: 34px !important; padding: 5px 10px !important; font-size: 14px !important; border-radius: 10px !important; width: auto; }
.input--xs { min-height: 30px; padding: 4px 8px; font-size: 14px; border-radius: 8px; width: 64px; }
select.input--sm { padding-right: 30px !important; background-position: right 10px center; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--accent)); flex: none; display: inline-block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.divider-text { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; margin: 0; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.badge--pro { background: linear-gradient(135deg, #ffd60a, #ff9f0a); color: #3d2600; }
.badge--pro .icon { width: 13px; height: 13px; }
.chip { border: 0; cursor: pointer; font: inherit; font-size: 13px; }
.chip.is-active { background: var(--accent); color: var(--on-accent); }
.chip b { font-weight: 700; margin-left: 2px; }
.stat__value--sm { font-size: 22px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--green); flex: none; margin-top: 2px; }
.checks--sm { gap: 8px; font-size: 14px; }
.checks--sm .icon { width: 17px; height: 17px; }
.sheet-title { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }

/* Menu */
.nav-pro { margin-left: auto; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: linear-gradient(135deg, #ffd60a, #ff9f0a); color: #3d2600; }
.nav-link.is-active .nav-pro { background: rgba(255, 255, 255, .25); color: inherit; }
.plan-pill { display: flex; align-items: center; gap: 8px; padding: 9px 12px; margin-bottom: 8px; border-radius: 12px; background: var(--fill-2); color: var(--ink-2); font-size: 13px; font-weight: 600; text-decoration: none !important; }
.plan-pill .icon { color: var(--accent-ink); }
.plan-pill.is-pro { background: linear-gradient(135deg, rgba(255, 214, 10, .22), rgba(255, 159, 10, .18)); }
.plan-pill.is-pro .icon { color: #c47f00; }
.tabbar__item--scan .icon { width: 28px; height: 28px; padding: 3px; border-radius: 9px; background: var(--accent); color: var(--on-accent); }
.tabbar__item--scan.is-active { color: var(--accent-ink); }

/* Ajakan upgrade */
.upsell { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(255, 214, 10, .16), rgba(255, 159, 10, .1)); box-shadow: inset 0 0 0 1px rgba(255, 159, 10, .25); flex-wrap: wrap; }
.upsell__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #ffd60a, #ff9f0a); color: #3d2600; flex: none; }

/* ---------- Mata pelajaran ---------- */
.subject-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.subject-card { --c-soft: color-mix(in srgb, var(--c) 14%, var(--bg-elev)); display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--radius-lg); background: var(--bg-elev); box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s; position: relative; overflow: hidden; }
.subject-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--c-soft); }
.subject-card > * { position: relative; z-index: 1; }
.subject-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.subject-card__tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; margin-bottom: 8px; background: var(--c, var(--accent)); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .02em; flex: none; }
.subject-card__tile--sm { width: 36px; height: 36px; border-radius: 10px; margin: 0; font-size: 11px; }
.subject-card__tile--lg { width: 64px; height: 64px; border-radius: 18px; margin: 0; font-size: 18px; }
.subject-card__name { font-weight: 700; font-size: 16px; letter-spacing: -.015em; }
.subject-card__meta { font-size: 12.5px; color: var(--muted); }
.subject-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 14%, var(--bg-elev)), var(--bg-elev) 80%); box-shadow: var(--shadow); }
details > summary.list__item { cursor: pointer; }
@supports not (color: color-mix(in srgb, red 50%, blue)) { .subject-card { --c-soft: var(--accent-soft); } .subject-head { background: var(--bg-elev); } }

/* Pilihan centang */
.pick-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--fill-2); font-size: 14px; cursor: pointer; transition: background .15s, box-shadow .15s; }
.pick input { width: 17px; height: 17px; accent-color: var(--accent); margin: 0; }
.pick:has(input:checked) { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.chip-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-pick input { position: absolute; opacity: 0; pointer-events: none; }
.chip-pick span { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--fill-2); color: var(--ink-2); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.chip-pick input:checked + span { background: var(--accent); color: var(--on-accent); }
.chip-pick input:focus-visible + span { outline: 3px solid rgb(var(--accent-rgb) / .5); }

/* ---------- Grafik batang sederhana ---------- */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 170px; padding-top: 18px; }
.bars--sm { height: 140px; }
.bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.bars__bar { width: 100%; max-width: 34px; min-height: 2px; border-radius: 6px 6px 3px 3px; background: var(--accent); transition: height .6s var(--ease); }
.bars__bar.is-low { background: #ff9f0a; }
.bars__val { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 15px; }
.bars__label { font-size: 11px; color: var(--faint); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* ---------- Beranda publik ---------- */
.hero--sm { padding: 48px 0 24px; }
@media (min-width: 960px) { .hero--sm { padding: 72px 0 32px; } }
.phone { width: 250px; height: 500px; border-radius: 44px; padding: 12px; background: #1c1c1e; box-shadow: var(--shadow-lg), inset 0 0 0 2px #3a3a3c; transform: rotate(-3deg); }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: linear-gradient(160deg, #3a3a3c, #1c1c1e); display: grid; place-items: center; }
.phone__sheet { position: relative; width: 78%; aspect-ratio: 210 / 297; background: #fafafa; border-radius: 3px; transform: rotate(4deg); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); padding: 14% 9% 8%; }
.phone__anchor { position: absolute; width: 7%; aspect-ratio: 1; background: #111; }
.phone__lines i { display: block; height: 4px; border-radius: 2px; background: #d1d1d6; margin: 0 auto 4px; width: 80%; }
.phone__bubbles { margin-top: 10px; display: grid; gap: 3px; }
.phone__row { display: flex; align-items: center; gap: 3px; }
.phone__row b { width: 12px; font-size: 7px; color: #555; text-align: right; margin-right: 2px; }
.phone__row span { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1px #8e8e93; }
.phone__row span.is-on { background: #222; box-shadow: 0 0 0 1.5px #34c759; }
.phone__row span.is-on.is-wrong { box-shadow: 0 0 0 1.5px #ff3b30; }
.phone__frame { position: absolute; inset: 9% 7%; border-radius: 16px; box-shadow: 0 0 0 2px rgba(52, 199, 89, .9), 0 0 0 999px rgba(0, 0, 0, .18); animation: scanPulse 2.4s var(--ease) infinite; }
@keyframes scanPulse { 50% { box-shadow: 0 0 0 3px rgba(52, 199, 89, .5), 0 0 0 999px rgba(0, 0, 0, .18); } }
.phone__status { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; background: #34c759; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.score-chip { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #1f9d47; color: #fff; font-weight: 800; font-size: 16px; flex: none; }
.about { display: grid; gap: 24px; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.about__text { font-size: 17px; color: var(--ink-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step { padding: 24px; border-radius: var(--radius-lg); background: var(--bg); }
.step h3 { font-size: 18px; margin: 14px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.step__no { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; }
.light-box { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .light-box { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.light-box .checks { padding: 22px; border-radius: var(--radius-lg); background: var(--bg); }
.cta { text-align: center; max-width: 720px; }

/* Harga */
.pricing { display: grid; gap: 16px; max-width: 880px; margin: 0 auto; }
@media (min-width: 760px) { .pricing { grid-template-columns: 1fr 1fr; } }
.price-card { position: relative; padding: 28px; border-radius: var(--radius-xl); background: var(--bg-elev); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.price-card--pro { box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg); }
.price-card__ribbon { position: absolute; top: -12px; right: 20px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, #ffd60a, #ff9f0a); color: #3d2600; font-size: 12px; font-weight: 700; }
.price-card__name { font-size: 22px; margin: 0; }
.price-card__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin: 8px 0 18px; }
.price-card__price strong { font-size: 40px; letter-spacing: -.04em; line-height: 1; }
.price-card__price span { color: var(--muted); font-size: 14px; }
.price-card__packs { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; }
.compare td:first-child { font-size: 14.5px; }
.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq summary { cursor: pointer; }

/* ---------- Kop sekolah (HTML) ---------- */
.kop { display: grid; grid-template-columns: 64px 1fr 64px; gap: 12px; align-items: center; padding-bottom: 10px; border-bottom: 3px double #000; color: #000; text-align: center; font-family: Arial, Helvetica, sans-serif; }
.kop__logo img { width: 64px; height: 64px; object-fit: contain; }
.kop__l1, .kop__l2 { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.kop__name { font-size: 19px; font-weight: 800; letter-spacing: .01em; line-height: 1.2; }
.kop__small { font-size: 11.5px; line-height: 1.35; }
.kop-preview { padding: 18px; border-radius: 12px; background: #fff; overflow-x: auto; }
.kop-preview .kop { min-width: 480px; }

/* ---------- Langganan ---------- */
.plan-hero { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--fill), var(--fill-2)); }
.plan-hero.is-pro { background: linear-gradient(135deg, #ffd60a, #ff9f0a); color: #3d2600; }
.plan-hero__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .5); flex: none; }
.plan-hero__name { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.package-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.package { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px; border: 0; border-radius: var(--radius-lg); background: var(--bg-elev); box-shadow: var(--shadow); color: var(--ink); text-align: left; cursor: pointer; font: inherit; transition: transform .2s var(--ease), box-shadow .2s; }
.package:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg); }
.package__months { font-size: 13px; font-weight: 600; color: var(--muted); }
.package__price { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.package__per { font-size: 13px; color: var(--muted); }
.invoice__amount { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border-radius: 14px; background: var(--accent-soft-2); }
.invoice__amount strong { font-size: 32px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pay { display: grid; gap: 14px; }
@media (min-width: 760px) { .pay { grid-template-columns: 1fr 180px; } .pay__actions { grid-column: 1 / -1; } }
.pay__amount { font-size: 22px; font-weight: 700; margin: 8px 0; }
.pay__proof img { width: 100%; max-height: 240px; object-fit: contain; border-radius: 12px; background: var(--fill-2); }
.pay__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- Ujian: alur & kunci ---------- */
.flow { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow__step a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px; border-radius: var(--radius-lg); background: var(--bg-elev); box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; transition: transform .2s var(--ease); }
.flow__step a:active { transform: scale(.98); }
.flow__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--fill); color: var(--muted); flex: none; }
.flow__text { min-width: 0; display: flex; flex-direction: column; }
.flow__text strong { font-size: 14.5px; }
.flow__text span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow__step.is-done .flow__icon { background: var(--green-soft); color: var(--green); }
.flow__step.is-current a { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.flow__step.is-current .flow__icon { background: var(--accent); color: var(--on-accent); }
.scan-cta { min-height: 56px; font-size: 17px; border-radius: 18px; }

.key-card { overflow: hidden; }
.key-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.key-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.key-row { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.key-row.is-empty .key-row__no { color: var(--orange); }
.key-row__no { width: 30px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.key-row__opts { display: flex; gap: 5px; }
.key-row__pts { width: 62px; }
.key-row__topic { display: none; flex: 1 1 100%; width: 100%; }
.show-topic .key-row__topic { display: block; }
.bub { position: relative; }
.bub input { position: absolute; opacity: 0; pointer-events: none; }
.bub span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: background .12s, color .12s, transform .1s; user-select: none; -webkit-tap-highlight-color: transparent; }
.bub span:active { transform: scale(.9); }
.bub input:checked + span { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.bub input:focus-visible + span { outline: 3px solid rgb(var(--accent-rgb) / .5); }
.bub--bonus span { color: var(--faint); font-size: 13px; }
.bub--bonus input:checked + span { background: #ff9f0a; color: #fff; }
.savebar { position: sticky; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 10px); z-index: 20; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px 10px 16px; border-radius: 18px; background: var(--glass-strong); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: var(--shadow-lg); }
@media (min-width: 1024px) { .savebar { bottom: 16px; } }

/* ---------- Pilih ujian untuk dipindai ---------- */
.pick-list { display: grid; gap: 10px; }
.pick-exam { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--bg-elev); box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; }
.pick-exam__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--c, var(--accent)); color: #fff; flex: none; }

/* ---------- Layar pemindai ---------- */
.scan-body { background: #000; color: #fff; overscroll-behavior: none; }
.scanner { position: fixed; inset: 0; display: flex; flex-direction: column; background: #000; }
.scanner__bar { display: flex; align-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top)) 8px 8px; background: rgba(0, 0, 0, .55); z-index: 3; }
.scanner__bar .icon-btn { color: #fff; }
.scanner__bar .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.scanner__title { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.scanner__title strong { font-size: 15px; }
.scanner__title span { font-size: 12px; opacity: .7; }
.scanner__count { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; transition: transform .2s var(--ease), background .2s; }
.scanner__count.is-pop { transform: scale(1.3); background: #34c759; }
.scanner__stage { position: relative; flex: 1; overflow: hidden; }
.scanner__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scanner__overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scanner__frame { position: absolute; left: 50%; top: 50%; width: min(78vw, calc((100vh - 230px) * .707)); aspect-ratio: 210 / 297; transform: translate(-50%, -50%); pointer-events: none; transition: opacity .3s; }
.scanner__frame i { position: absolute; width: 30px; height: 30px; border: 4px solid rgba(255, 255, 255, .85); }
.scanner__frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.scanner__frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.scanner__frame i:nth-child(3) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.scanner__frame i:nth-child(4) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.scanner__stage.is-found .scanner__frame { opacity: .25; }
.scanner__hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 9px 16px; border-radius: 999px; background: rgba(0, 0, 0, .66); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 14px; font-weight: 600; text-align: center; z-index: 2; }
.scanner__hint.is-ok { background: rgba(31, 157, 71, .92); }
.scanner__queue { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(255, 159, 10, .95); color: #000; font-size: 13px; font-weight: 600; display: flex; gap: 6px; align-items: center; z-index: 2; white-space: nowrap; }
.scanner__start { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; background: radial-gradient(ellipse at 50% 30%, #1c1c1e, #000 70%); }
.scanner__start h1 { color: #fff; font-size: 26px; margin: 4px 0 0; }
.scanner__start p { color: rgba(255, 255, 255, .75); max-width: 340px; margin: 0 0 8px; }
.scanner__start .btn { max-width: 340px; }
.scanner__start .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.scanner__start-icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; background: var(--accent); color: var(--on-accent); margin-bottom: 6px; box-shadow: 0 16px 40px rgb(var(--accent-rgb) / .4); }
.scanner__file { cursor: pointer; }
.scanner__controls { display: grid; grid-template-columns: 1fr auto 1fr 1fr; align-items: center; gap: 8px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: rgba(0, 0, 0, .7); z-index: 3; }
.scanner__side { display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; color: #fff; font-size: 11px; font-weight: 600; cursor: pointer; padding: 6px; border-radius: 12px; }
.scanner__side .icon { width: 26px; height: 26px; }
.scanner__side.is-on { color: #ffd60a; }
.scanner__auto input { position: absolute; opacity: 0; pointer-events: none; }
.scanner__auto:has(input:checked) { color: #ffd60a; }
.scanner__shutter { width: 74px; height: 74px; border-radius: 50%; border: 4px solid #fff; background: none; padding: 4px; cursor: pointer; }
.scanner__shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; transition: transform .15s; }
.scanner__shutter:active span { transform: scale(.88); }

/* Tinjau hasil */
.review { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); animation: sheet .3s var(--ease); }
.is-reviewing { overflow: hidden; }
.review__bar { display: flex; align-items: center; gap: 10px; padding: calc(8px + env(safe-area-inset-top)) 12px 8px; border-bottom: 1px solid var(--line); background: var(--glass-strong); }
.review__bar strong { flex: 1; font-size: 16px; }
.review__body { flex: 1; overflow-y: auto; padding: 14px 14px 24px; -webkit-overflow-scrolling: touch; max-width: 760px; width: 100%; margin: 0 auto; }
.review__score { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.review__num { font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.review__facts { display: flex; gap: 12px; font-size: 14px; color: var(--muted); }
.review__facts b { color: var(--ink); font-size: 17px; }
.review__warn { display: grid; gap: 8px; margin-bottom: 12px; }
.review__warn:empty { display: none; }
.review__student { margin-bottom: 12px; padding: 14px !important; }
.review__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; flex: none; }
.review__avatar.is-unknown { background: #ff9f0a; color: #fff; }
.student-search { margin-top: 10px; }
.student-search__list { max-height: 260px; overflow-y: auto; margin-top: 6px; }
.student-search__list button { width: 100%; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; padding-inline: 4px; }
.review__filters { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.review__foot { display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--glass-strong); }
.review__foot .btn { min-height: 50px; }
.review__photo canvas { width: 100%; height: auto; border-radius: 12px; background: #fff; touch-action: manipulation; }

/* Kisi jawaban */
.answer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; }
.ans { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 52px; padding: 4px; border: 0; border-radius: 12px; background: var(--fill-2); color: var(--ink); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ans__no { font-size: 10.5px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.ans__val { font-size: 18px; font-weight: 800; line-height: 1.1; }
.ans__key { position: absolute; top: 3px; right: 5px; font-size: 10px; font-weight: 700; color: var(--green); }
.ans--ok { background: var(--green-soft); }
.ans--ok .ans__val { color: var(--green); }
.ans--bad { background: var(--red-soft); }
.ans--bad .ans__val { color: var(--red); }
.ans--empty .ans__val { color: var(--faint); }
.ans.is-flag { box-shadow: inset 0 0 0 2px #ff9f0a; }
.ans.is-edited::after { content: ""; position: absolute; left: 6px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.answer-grid--form { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
.answer-grid--form .ans { cursor: default; }
.answer-grid--form select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; font-size: 18px; font-weight: 800; text-align: center; text-align-last: center; color: inherit; width: 100%; padding: 0; cursor: pointer; }
.answer-grid--form .ans--ok select { color: var(--green); }
.answer-grid--form .ans--bad select { color: var(--red); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -2px; margin-right: 4px; }
.lg--ok { background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green); }
.lg--bad { background: var(--red-soft); box-shadow: inset 0 0 0 1px var(--red); }
.lg--flag { box-shadow: inset 0 0 0 2px #ff9f0a; }
.lg--empty { background: var(--fill); }
.lg--edit { background: var(--blue); border-radius: 50%; width: 8px; height: 8px; }
.essay-inputs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.essay-in { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--fill-2); }
.essay-in span { font-weight: 700; width: 28px; }
.essay-in input { width: 72px !important; }
.essay-in small { color: var(--muted); }

/* Pemilih jawaban */
.picker { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .35); }
.picker__panel { width: 100%; max-width: 480px; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: var(--bg-elev); color: var(--ink); animation: sheet .25s var(--ease); }
@media (min-width: 600px) { .picker { align-items: center; } .picker__panel { border-radius: 22px; } }
.picker__title { text-align: center; margin-bottom: 14px; color: var(--muted); }
.picker__title b { color: var(--ink); }
.picker__opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pk { height: 56px; border: 0; border-radius: 16px; background: var(--fill); color: var(--ink); font-size: 22px; font-weight: 800; cursor: pointer; }
.pk.is-on { background: var(--accent); color: var(--on-accent); }
.pk--wide { grid-column: 1 / -1; height: 46px; font-size: 15px; }

/* ---------- Rekap & analisis ---------- */
.row-warn td { background: var(--orange-soft); }
.score-pill { display: inline-grid; place-items: center; min-width: 46px; padding: 3px 8px; border-radius: 9px; background: var(--green-soft); color: var(--green); font-weight: 800; font-variant-numeric: tabular-nums; }
.score-pill.is-low { background: var(--red-soft); color: var(--red); }
.score-pill--lg { min-width: 70px; padding: 8px 12px; font-size: 26px; border-radius: 14px; }
@media (min-width: 1100px) { .sheet-photo { position: sticky; top: calc(var(--topbar) + 16px); } }
.sheet-photo__wrap { position: relative; border-radius: 10px; overflow: hidden; background: #fff; }
.sheet-photo__wrap img { width: 100%; display: block; }
.sheet-photo__wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.difficulty { display: grid; gap: 10px; }
@media (min-width: 700px) { .difficulty { grid-template-columns: repeat(3, 1fr); } }
.difficulty__col { padding: 12px; border-radius: 14px; background: var(--fill-2); }
.difficulty__col--green { background: var(--green-soft); }
.difficulty__col--blue { background: var(--blue-soft); }
.difficulty__col--red { background: var(--red-soft); }
.nums { display: flex; flex-wrap: wrap; gap: 4px; }
.nums span { display: grid; place-items: center; min-width: 28px; height: 26px; padding: 0 5px; border-radius: 8px; background: var(--bg-elev); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dist-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--fill); }
.dist-bar__green { background: #34c759; } .dist-bar__blue { background: #0a84ff; } .dist-bar__red { background: #ff3b30; }
.progress__bar--ok { background: #34c759; }
.meter__row { grid-template-columns: minmax(90px, 30%) 1fr 48px; }
.analysis-table td { vertical-align: top; }
.opt-bars { display: flex; align-items: flex-end; gap: 4px; }
.opt-bar { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; width: 22px; height: 46px; }
.opt-bar i { display: block; width: 100%; border-radius: 4px 4px 2px 2px; background: #ff9f0a; }
.opt-bar b { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.opt-bar.is-key i { background: #34c759; }
.opt-bar.is-key b { color: var(--green); }
.opt-bar.is-weak i { background: var(--fill); outline: 1px dashed var(--line-strong); }
.rank-list { list-style: none; margin: 0; padding: 4px 0 8px; }
.rank-list li { display: flex; align-items: center; gap: 12px; padding: 8px 20px; }
.rank-list li + li { border-top: 1px solid var(--line); }
.rank-list__no { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--fill); font-size: 12px; font-weight: 700; flex: none; }
.rank-list li:nth-child(1) .rank-list__no { background: #ffd60a; color: #3d2600; }
.rank-list li:nth-child(2) .rank-list__no { background: #d1d1d6; color: #1d1d1f; }
.rank-list li:nth-child(3) .rank-list__no { background: #e3a869; color: #3d2600; }
.explain summary { cursor: pointer; display: flex; gap: 6px; align-items: center; }

/* ---------- Template ---------- */
.tpl-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.tpl-icon--custom { background: var(--purple-soft); color: var(--purple); }
.choice-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius-lg); background: var(--bg-elev); box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .2s; }
.choice-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--accent), var(--shadow-lg); }
.choice-card span:last-child { color: var(--muted); font-size: 14px; }
.choice-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: var(--on-accent); margin-bottom: 6px; }
.choice-card__icon--alt { background: var(--purple); color: #fff; }
.editor { display: grid; gap: 16px; align-items: start; }
@media (min-width: 1100px) { .editor { grid-template-columns: minmax(0, 1fr) 340px; } .editor__panel { position: sticky; top: calc(var(--topbar) + 16px); } }
.editor__canvas { position: relative; overflow: hidden; }
.editor__hint { padding: 10px 14px; font-size: 14px; font-weight: 600; background: var(--accent-soft-2); color: var(--accent-ink); }
.editor__scroll { overflow: auto; max-height: 78vh; background: var(--bg-sunken); -webkit-overflow-scrolling: touch; }
.editor__scroll canvas { display: block; cursor: crosshair; touch-action: pan-x pan-y; }
.editor__zoom { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--glass-strong); box-shadow: var(--shadow-lg); }
.block-item { padding: 10px 12px; border-radius: 12px; background: var(--fill-2); }
.block-item.is-active { box-shadow: inset 0 0 0 2px #ff9f0a; }
.block-item__fields { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.block-item__fields label { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.block-item__fields .input--sm { width: 92px; }
.tips .checks { margin-top: 4px; }
/* Perbaikan setelah uji 18 Okt 2026 */
.table--stack td.cell-main { min-width: 170px; }
.bub span { width: 32px; height: 32px; }
.key-row__opts { gap: 4px; }
.key-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr)); }
.analysis-table td:last-child { min-width: 220px; }
.opt-bars .text-xs { white-space: nowrap; }
.essay-in small { white-space: nowrap; }
@media (max-width: 560px) { .greet > .btn { width: 100%; } .greet__title { font-size: 28px; } }

/* =====================================================================
   16. KERAPIAN JARAK (18 Okt 2026) — tombol & teks tidak boleh dempet.
   Aturan umum: jarak antar elemen sejajar ≥ 10px, antar blok ≥ 16px,
   antara judul kartu dan isinya ≥ 12px, tombol di HP minimal setinggi 44px.
   ===================================================================== */

/* Tombol & ikon */
.btn { gap: 8px; }
.btn--sm { gap: 6px; }
.btn > span + .icon, .btn > .icon + span { margin: 0; }
.row { gap: 12px; }
.row--sm { gap: 8px; }

/* Kepala halaman */
.page-head { gap: 14px 20px; margin: 6px 0 24px; }
.page-head__title { line-height: 1.12; }
.page-head__sub { margin-top: 8px; line-height: 1.5; }
.page-head__actions { gap: 10px; align-items: center; }
.page-head__eyebrow { margin-bottom: 8px; }
.back-link { margin-bottom: 12px; }
@media (max-width: 759px) {
  .page-head { align-items: flex-start; }
  .page-head__actions { width: 100%; }
  .page-head__actions .btn { flex: 1 1 auto; }
  .page-head__actions .btn--icon, .page-head__actions .menu .btn { flex: none; }
}

/* Kartu */
.card__head { padding: 18px 20px 10px; gap: 12px; flex-wrap: wrap; }
.card__head .card__title { flex: 1; min-width: 0; }
.card--pad > .card__title:first-child, .card--pad > h2.card__title { margin-bottom: 4px; }
.card__title + .card__sub { margin-top: 4px; }
.section-title { gap: 12px; margin: 32px 0 14px; flex-wrap: wrap; }
.section-title h2 { flex: 1; min-width: 0; }

/* Formulir */
.field { gap: 8px; }
.field__hint, .field__error { line-height: 1.45; }
.form-grid { gap: 18px 16px; }
.form-actions { gap: 12px; margin-top: 12px; }
.check { gap: 12px; line-height: 1.45; }
.check > span { flex: 1; }
.switch { gap: 14px; line-height: 1.35; }
.toolbar { gap: 12px; margin-bottom: 18px; }
.toolbar .segmented { max-width: 100%; }
@media (max-width: 759px) {
  .toolbar > .input, .toolbar > select, .toolbar .search-input { flex: 1 1 100%; width: 100%; }
}

/* Daftar & lencana */
.list__item { gap: 14px; padding-top: 13px; padding-bottom: 13px; }
.list__main { display: flex; flex-direction: column; gap: 2px; }
.list__sub { margin-top: 0; line-height: 1.45; }
.list__end { gap: 10px; }
.list__end form { display: contents; }
.badge { padding: 3px 10px; }
.badge + .badge { margin-left: 4px; }

/* Peringatan & ajakan */
.alert { gap: 12px; padding: 14px 16px; line-height: 1.5; }
.alert .icon { flex: none; }
.alert__body a { font-weight: 600; }
.upsell { gap: 14px 16px; padding: 16px 18px; }
.upsell .spacer { min-width: min(100%, 220px); }
.upsell p { margin-top: 4px !important; line-height: 1.45; }
@media (max-width: 559px) { .upsell .btn { width: 100%; } }
.empty { gap: 8px; padding: 44px 20px; }
.empty .btn { margin-top: 10px; }

/* Statistik */
.stat { gap: 8px; }
.stat__label { line-height: 1.4; }

/* Sapaan dasbor */
.greet { gap: 16px 20px; margin-bottom: 24px; }
.greet__sub { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; color: var(--muted); }

/* Tabel → kartu di HP: nama siswa tampil paling atas */
@media (max-width: 759px) {
  .table--stack tr { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; }
  .table--stack td.cell-main { order: -1; padding-bottom: 6px; }
  .table--stack td { padding: 2px 0; align-items: center; }
  .table--stack td.right { justify-content: flex-start; padding-top: 8px; }
  .table--stack td.right::before { display: none; }
}

/* Beranda publik */
.hero__eyebrow { margin-bottom: 22px; }
.hero__title { margin-bottom: 20px; }
.hero__text { margin-bottom: 30px; }
.hero__actions { gap: 12px; }
.hero__note { display: flex; align-items: flex-start; gap: 8px; margin: 20px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.hero__note .icon { flex: none; margin-top: 2px; color: var(--green); }
@media (max-width: 559px) { .hero__actions .btn { flex: 1 1 100%; } }
.section__eyebrow { margin-bottom: 10px; }
.section__title { margin-bottom: 14px; }
.feature__icon { margin-bottom: 18px; }
.feature h3 { margin-bottom: 8px; }
.step h3 { margin: 16px 0 8px; }
.cta .section__text { margin-bottom: 24px !important; }
.site-header__actions { gap: 8px; }
.site-footer .stack { gap: 10px; }

/* Harga */
.pricing--3 { max-width: 1120px; }
@media (min-width: 760px) { .pricing--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .pricing--3 { grid-template-columns: repeat(3, 1fr); } }
.price-card { gap: 0; }
.price-card__desc { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.price-card__price { margin: 18px 0 20px; }
.price-card__list { margin-top: 22px; }
.price-card__list li { line-height: 1.45; }
.price-card__packs { margin-top: auto; padding-top: 16px; }
.price-card__list + .price-card__packs { margin-top: 20px; }
.price-card__pack { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.faq { gap: 12px; }
.faq summary { line-height: 1.4; }

/* Masuk & daftar */
.auth__head { margin-bottom: 28px; }
.auth__title { margin-bottom: 8px; }
.auth__foot { margin-top: 22px; }
.auth__help { margin: 10px auto 0; max-width: 380px; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.5; }
.type-pick { display: grid; gap: 10px; }
@media (min-width: 560px) { .type-pick { grid-template-columns: 1fr 1fr; } }
.type-pick__item { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--fill-2); cursor: pointer; transition: background .15s, box-shadow .15s; }
.type-pick__item input { position: absolute; opacity: 0; pointer-events: none; }
.type-pick__item:has(input:checked) { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.type-pick__item:has(input:focus-visible) { outline: 3px solid rgb(var(--accent-rgb) / .5); }
.type-pick__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--bg-elev); color: var(--accent-ink); flex: none; }
.type-pick__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.type-pick__text span { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* Kunci jawaban: satu baris rapi di HP */
.key-head { gap: 12px; flex-wrap: wrap; }
.key-row { gap: 8px 10px; padding: 9px 12px; flex-wrap: wrap; }
.key-row__no { width: 26px; flex: none; }
.key-row__opts { gap: 4px; flex: none; }
.key-row__pts { width: 56px; flex: none; margin-left: auto; }
.key-row__topic { flex: 1 1 100%; margin-left: 36px; width: calc(100% - 36px); }
@media (max-width: 400px) { .bub span { width: 30px; height: 30px; font-size: 13px; } .key-row__pts { width: 50px; } }
[data-key-form] { padding-bottom: 8px; }
.savebar { gap: 10px; padding: 12px 14px 12px 18px; margin-top: 16px; }
@media (max-width: 559px) {
  .savebar { padding: 12px; }
  .savebar > span:first-child { flex: 1 1 100%; text-align: center; }
  .savebar .spacer { display: none; }
  .savebar .btn { flex: 1 1 0; padding-inline: 10px; }
}

/* Alur ujian */
.flow { gap: 12px; margin-bottom: 18px; }
.flow__step a { gap: 12px; padding: 16px; }
.flow__text { gap: 2px; }
.scan-cta + p { margin-top: 12px !important; }

/* Langganan & pembayaran */
.plan-hero { gap: 18px; }
.invoice__amount { gap: 10px; padding: 18px; }
.package { gap: 6px; padding: 22px; }
.package .btn { margin-top: 10px; }
.pay__actions { gap: 10px; }
.pay__actions .input { min-width: min(100%, 220px); }

/* Rekap & analisis */
.score-pill { min-width: 50px; }
.difficulty__col .row { gap: 8px; }
.difficulty__col p { margin: 6px 0 10px !important; }
.meter { gap: 14px; }
.meter__row { gap: 14px; }
.opt-bars { gap: 5px; }
.rank-list li { gap: 14px; padding: 10px 20px; }

/* Template */
.choice-card { gap: 8px; padding: 22px; }
.block-item__fields { gap: 10px; margin-top: 8px; }
.editor__panel .card .row { gap: 8px; }

/* Layar pindai & tinjau */
.review__score { gap: 18px; }
.review__facts { gap: 14px; flex-wrap: wrap; }
.review__filters { gap: 8px; }
.essay-in { gap: 10px; }
.picker__opts { gap: 10px; }
.scanner__start { gap: 14px; }
.scanner__start .btn { min-height: 52px; }

/* Cetak */
.print-options { gap: 10px; }
.print-tips { margin-bottom: 4px; }
