/* =====================================================================
   CGR LES · Tryout UKPPPG
   Layout: header putih bermerek → kolom konten (maks 1120px);
           layar ujian = kolom soal + rel nomor soal di kanan (laci di HP)
   ===================================================================== */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #e9f1f9;
  --line: #d3dfea;
  --line-strong: #b7c9da;
  --fg: #10243a;
  --muted: #586a7e;
  --brand: #0078d4;
  --brand-hover: #0067b8;
  --brand-ink: #0a4e8c;
  --brand-soft: #dcebfa;
  --on-brand: #ffffff;
  --cyan: #2bb6e3;
  --red: #d9271d;
  --red-soft: #fbe3e1;
  --amber: #e8a317;
  --amber-ink: #6b4700;
  --amber-soft: #fcf1d9;
  --green: #1c8a5a;
  --green-soft: #ddf2e8;
  --shadow: 0 1px 2px rgba(16, 36, 58, .06), 0 6px 24px rgba(16, 36, 58, .06);
  --logo-chip: #ffffff;

  --ink: #0b1b2e;
  --hero-a: #0a3fb8;
  --hero-b: #0067d6;
  --hero-c: #1a9be6;
  --sky: #dff1ff;
  --f-display: 'Archivo Narrow', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-ui: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-soal: 'Source Serif 4', 'Georgia', 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Consolas', monospace;

  --fs-soal: 1.0625rem;
  --r: 10px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 15px/1.55 var(--f-ui); -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; margin: 0; }
h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 1.2rem; font-weight: 700; }
h3 { font-size: 1rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.num { font-variant-numeric: tabular-nums; }
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 12px; padding-block: 8px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); min-width: 0; }
.brand img { height: 40px; width: auto; background: var(--logo-chip); border-radius: 8px; padding: 2px 6px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text b { font-size: .98rem; font-weight: 800; white-space: nowrap; }
.brand-text span { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.topbar .spacer { flex: 1; }
.userchip { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink);
  display: grid; place-items: center; font-weight: 800; font-size: .85rem; text-transform: uppercase;
}
.demo-flag {
  font-size: .72rem; font-weight: 700; color: var(--amber-ink); background: var(--amber-soft);
  border: 1px solid var(--amber); padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent;
  font-weight: 700; font-size: .93rem; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-quiet { background: transparent; color: var(--muted); padding: 0 10px; }
.btn-quiet:hover { color: var(--brand); }
.btn-danger { background: var(--surface); color: var(--red); border-color: var(--red); }
.btn-danger:hover { background: var(--red-soft); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: .85rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 700; }
.input {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg);
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hint { font-size: .8rem; color: var(--muted); }
.alert { padding: 10px 14px; border-radius: 8px; font-size: .9rem; border: 1px solid; }
.alert-err { background: var(--red-soft); border-color: var(--red); color: var(--fg); }
.alert-ok { background: var(--green-soft); border-color: var(--green); color: var(--fg); }
.alert-info { background: var(--brand-soft); border-color: var(--brand); color: var(--fg); }
.alert-warn { background: var(--amber-soft); border-color: var(--amber); color: var(--fg); }

/* ---------- Halaman masuk ---------- */
.auth { min-height: calc(100vh - 61px); display: grid; place-items: center; padding-block: 32px; }
.auth-card {
  width: 100%; max-width: 940px; display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
}
.auth-side {
  position: relative; padding: 36px 32px; background: #0a4e8c; color: #ffffff;
  display: flex; flex-direction: column; gap: 20px; overflow: hidden;
}
.auth-side h1 { font-size: 1.9rem; color: #ffffff; }
.auth-side p { color: #cfe4f8; max-width: 34ch; }
.auth-side .slogan { font-weight: 800; color: #8fd3f4; letter-spacing: .02em; }
.auth-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9rem; color: #e6f1fb; }
.auth-side li { display: flex; gap: 10px; align-items: flex-start; }
.auth-side li { align-items: center; }
.auth-side li i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #8fd3f4; display: grid; place-items: center; font-style: normal; color: #8fd3f4; }
.auth-side li i .ikon { stroke-width: 2.2; }
.bubbles { position: absolute; right: -18px; bottom: -18px; display: grid; grid-template-columns: repeat(5, 30px); gap: 8px; opacity: .22; pointer-events: none; }
.bubbles span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #ffffff; display: grid; place-items: center; font-size: .7rem; font-weight: 800; }
.bubbles span.on { background: #ffffff; color: #0a4e8c; }
.auth-form { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.auth-form .logo-big { height: 64px; width: auto; align-self: flex-start; background: var(--logo-chip); border-radius: 10px; padding: 4px 8px; }
.tabs { display: flex; gap: 4px; background: var(--surface-2); border-radius: 10px; padding: 4px; }
.tabs a { flex: 1; display: grid; place-items: center; min-height: 38px; border-radius: 7px; font-weight: 700; color: var(--muted); text-decoration: none; }
.tabs a[aria-selected="true"] { background: var(--surface); color: var(--brand); box-shadow: var(--shadow); }
.tabs button { flex: 1; min-height: 38px; border: 0; border-radius: 7px; background: transparent; font-weight: 700; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--brand); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 14px; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 70px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--brand); font-weight: 700; font-size: .8rem; cursor: pointer; padding: 6px; }
.demo-box { font-size: .82rem; background: var(--amber-soft); border: 1px dashed var(--amber); border-radius: 8px; padding: 10px 12px; }
.demo-box code { font-family: var(--f-mono); font-size: .8rem; }

/* ---------- Beranda ---------- */
.page { padding-block: 28px 64px; display: grid; gap: 28px; }
.hello { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.hello p { margin-top: 4px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.paket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.paket {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
}
.paket .kode { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.paket h3 { font-size: 1.05rem; }
.paket .desc { color: var(--muted); font-size: .9rem; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; background: var(--surface-2); color: var(--fg); white-space: nowrap;
}
.chip-brand { background: var(--brand-soft); color: var(--brand-ink); }
.chip-ok { background: var(--green-soft); color: var(--green); }
.chip-warn { background: var(--amber-soft); color: var(--amber-ink); }
.chip-bad { background: var(--red-soft); color: var(--red); }
.chip-paid { background: var(--amber-soft); color: var(--amber-ink); border: 1px solid var(--amber); }
.paket-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.paket-top > div { min-width: 0; flex: 1 1 200px; }
.sosmed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sosmed-link { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--fg); text-decoration: none; font-size: .8rem; }
.sosmed-link b { color: var(--brand); font-weight: 700; }
.sosmed-link:hover { border-color: var(--brand); color: var(--brand); }
.ebook-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: var(--amber-soft); border: 1px solid var(--amber); border-radius: 12px; padding: 18px 20px; }
.ebook-cta p { max-width: 60ch; }
.paket .foot { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.empty {
  border: 1px dashed var(--line-strong); border-radius: 12px; padding: 28px; text-align: center; color: var(--muted);
  display: grid; gap: 8px; justify-items: center;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.angka, th.angka { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Ujian ---------- */
.exam-bar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 61px); z-index: 15; }
.exam-bar .wrap { display: flex; align-items: center; gap: 12px; padding-block: 10px; flex-wrap: wrap; }
.exam-title { min-width: 0; flex: 1 1 240px; }
.exam-title b { display: block; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.save-state { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.save-state .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.save-state.saving .dot { background: var(--amber); }
.save-state.error .dot { background: var(--red); }
.timer {
  font-family: var(--f-mono); font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums;
  padding: 6px 12px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-ink);
  display: flex; align-items: center; gap: 8px;
}
.timer small { font-family: var(--f-ui); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.timer.low { background: var(--red-soft); color: var(--red); }
.fontsize { display: flex; gap: 2px; }
.fontsize button { width: 34px; height: 34px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 6px; cursor: pointer; font-weight: 800; }
.btn-grid { display: none; }

.exam { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; padding-block: 20px 48px; align-items: start; }
.qcard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.qhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.qno { font-weight: 800; font-size: 1rem; }
.qno span { color: var(--muted); font-weight: 600; }
.qbody { padding: 20px; display: grid; gap: 18px; font-family: var(--f-soal); font-size: var(--fs-soal); line-height: 1.7; }
.stimulus {
  background: var(--surface-2); border-left: 4px solid var(--brand); border-radius: 0 8px 8px 0;
  padding: 14px 16px; font-size: .96em;
}
.stimulus .eyebrow { font-family: var(--f-ui); display: block; margin-bottom: 6px; }
.qtext { font-weight: 500; }
.qimg { max-width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.instr { font-family: var(--f-ui); font-size: .85rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }

.opts { display: grid; gap: 10px; }
.opt {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--surface);
  transition: border-color .12s, background .12s;
}
.opt:hover { border-color: var(--brand); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .mark {
  width: 34px; height: 34px; display: grid; place-items: center; font-family: var(--f-ui); font-weight: 800; font-size: .9rem;
  border: 2px solid var(--line-strong); color: var(--muted); background: var(--surface);
}
.opt.radio .mark { border-radius: 50%; }
.opt.check .mark { border-radius: 8px; }
.opt .txt { padding-top: 4px; }
.opt.on { border-color: var(--brand); background: var(--brand-soft); }
.opt.on .mark { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.opt:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }

.kat { width: 100%; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; border-collapse: separate; border-spacing: 0; font-size: 1em; }
.kat th { font-family: var(--f-ui); text-align: center; }
.kat th:first-child { text-align: left; }
.kat td { padding: 12px 14px; }
.kat td.pil { text-align: center; width: 1%; white-space: nowrap; }
.kat .no { font-family: var(--f-ui); font-weight: 800; color: var(--muted); margin-right: 6px; }
.radio-btn { position: relative; display: inline-grid; place-items: center; cursor: pointer; }
.radio-btn input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio-btn span {
  min-width: 44px; height: 36px; padding: 0 10px; border-radius: 8px; border: 1.5px solid var(--line-strong);
  display: grid; place-items: center; font-family: var(--f-ui); font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--surface);
}
.radio-btn input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.radio-btn input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.kat-wrap { overflow-x: auto; }

.essay { width: 100%; min-height: 260px; resize: vertical; font-family: var(--f-soal); font-size: 1em; line-height: 1.7; padding: 14px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--fg); }
.essay:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.essay-meta { font-family: var(--f-ui); font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }

.qnav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.ragu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 8px; border: 1.5px solid var(--amber); background: var(--surface); color: var(--amber-ink); font-weight: 700; cursor: pointer; }
.ragu-toggle[aria-pressed="true"] { background: var(--amber); color: #2b1d00; }
.ragu-toggle .box { width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 4px; display: grid; place-items: center; font-size: 11px; line-height: 1; }

.rail { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 136px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 14px; }
.rail-head { display: flex; justify-content: space-between; align-items: center; }
.ngrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; max-height: 46vh; overflow-y: auto; padding: 3px; }
.nbtn {
  position: relative; aspect-ratio: 1; min-height: 38px; border-radius: 7px; border: 1.5px solid var(--line-strong);
  background: var(--surface); font-weight: 700; font-size: .85rem; cursor: pointer; color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.nbtn.ans { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.nbtn.part { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-ink); }
.nbtn.ragu { background: var(--amber); border-color: var(--amber); color: #2b1d00; }
.nbtn.cur { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--fg); }
.nbtn .t { position: absolute; top: 2px; right: 3px; font-size: .55rem; font-weight: 800; opacity: .7; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; font-size: .78rem; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-strong); flex: none; }
.legend i.ans { background: var(--brand); border-color: var(--brand); }
.legend i.ragu { background: var(--amber); border-color: var(--amber); }
.legend i.part { background: var(--brand-soft); border-color: var(--brand); }
.rail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.rail-stats div { background: var(--surface-2); border-radius: 8px; padding: 8px 4px; }
.rail-stats b { display: block; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.rail-stats span { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.rail-close { display: none; }

/* ---------- Modal ---------- */
.modal-back { position: fixed; inset: 0; z-index: 50; background: rgba(8, 20, 34, .55); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal { width: 100%; max-width: 480px; background: var(--surface); border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 16px; max-height: 90vh; overflow-y: auto; }
.modal.wide { max-width: 860px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.sumgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sumgrid div { border-radius: 10px; padding: 12px; text-align: center; background: var(--surface-2); }
.sumgrid b { display: block; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.sumgrid span { font-size: .78rem; color: var(--muted); font-weight: 700; }
.rules { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .92rem; }

/* ---------- Hasil ---------- */
.score-hero { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.ring { --p: 0; width: 148px; height: 148px; border-radius: 50%; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--surface-2) 0); display: grid; place-items: center; }
.ring > div { width: 118px; height: 118px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; text-align: center; }
.ring b { font-size: 2.1rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.ring span { font-size: .72rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.score-info { display: grid; gap: 12px; min-width: 0; }
.breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.breakdown div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.breakdown b { font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.breakdown span { display: block; font-size: .75rem; color: var(--muted); font-weight: 700; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .82rem; cursor: pointer; color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.review { display: grid; gap: 14px; }
.rv { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); flex-wrap: wrap; }
.rv-body { padding: 16px; display: grid; gap: 12px; font-family: var(--f-soal); font-size: 1rem; line-height: 1.65; }
.rv-opt { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 8px 10px; border-radius: 8px; border: 1px solid transparent; }
.rv-opt .m { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-strong); font-family: var(--f-ui); font-weight: 800; font-size: .8rem; color: var(--muted); }
.rv-opt.key { border-color: var(--green); background: var(--green-soft); }
.rv-opt.key .m { border-color: var(--green); color: var(--green); }
.rv-opt.pick .m { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.rv-opt.pick.wrong { border-color: var(--red); background: var(--red-soft); }
.rv-opt .tag { font-family: var(--f-ui); font-size: .72rem; font-weight: 800; white-space: nowrap; }
.pembahasan { font-family: var(--f-ui); font-size: .9rem; background: var(--brand-soft); border-radius: 8px; padding: 12px 14px; }
.pembahasan b { color: var(--brand-ink); }
.essay-ans { white-space: pre-wrap; background: var(--surface-2); border-radius: 8px; padding: 12px 14px; }

/* ---------- Admin ---------- */
.admin-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.admin-tabs button { border: 0; background: transparent; padding: 10px 14px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.admin-tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.panel { display: grid; gap: 16px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .85rem; font-weight: 700; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 40px; height: 22px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background .15s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #ffffff; transition: transform .15s; }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 3px solid var(--cyan); outline-offset: 2px; }
.drop {
  border: 2px dashed var(--line-strong); border-radius: 12px; padding: 28px; text-align: center; background: var(--surface);
  display: grid; gap: 10px; justify-items: center; cursor: pointer;
}
.drop.over { border-color: var(--brand); background: var(--brand-soft); }
.drop input { display: none; }
.issues { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: .88rem; }
.preview-list { display: grid; gap: 8px; }
.pv { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: var(--surface); display: grid; gap: 4px; font-size: .9rem; }
.pv .top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pv .q { color: var(--fg); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.score-input { width: 80px; min-height: 34px; padding: 4px 8px; text-align: right; }

/* ---------- Toast & loading ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); }
.toast { background: var(--fg); color: var(--bg); padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); }
.toast.err { background: var(--red); color: #ffffff; }
.loading { display: grid; place-items: center; padding: 80px 16px; color: var(--muted); gap: 12px; }
.loading .spin { width: 28px; height: 28px; border: 3px solid var(--brand); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.site-foot { border-top: 1px solid var(--line); padding-block: 20px; font-size: .8rem; color: var(--muted); }
.site-foot .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsif ---------- */
@media (max-width: 900px) {
  .exam { grid-template-columns: minmax(0, 1fr); }
  .btn-grid { display: inline-flex; }
  .rail {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: 40; border-radius: 16px 16px 0 0; max-height: 78vh; overflow-y: auto;
    padding: 18px max(16px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    transform: translateY(105%); transition: transform .2s ease; box-shadow: 0 -10px 40px rgba(8, 20, 34, .25);
  }
  .rail.open { transform: none; box-shadow: 0 0 0 100vmax rgba(8, 20, 34, .45); }
  .rail-close { display: inline-flex; }
  .ngrid { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); max-height: none; }
}
@media (max-width: 760px) {
  .auth-card { grid-template-columns: 1fr; }
  .auth-side { padding: 24px; }
  .auth-side ul, .bubbles { display: none; }
  .auth-form { padding: 24px 20px; }
  .brand-text { display: none; }
  .topbar .wrap { gap: 8px; }
  .userchip { gap: 6px; }
  .demo-flag { font-size: .62rem; padding: 2px 6px; }
  .exam-bar .wrap { flex-wrap: nowrap; gap: 8px; }
  .exam-title { flex: 1 1 auto; }
  .exam-title .eyebrow { display: none; }
  .exam-title b { font-size: .88rem; }
  .timer { font-size: 1rem; padding: 6px 10px; }
  .timer small { display: none; }
  .btn-grid { padding: 0 10px; }
  .score-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .exam-bar .fontsize { display: none; }
  .qbody, .qhead, .qnav { padding-left: 14px; padding-right: 14px; }
  .qnav .btn { flex: 1; }
  .ragu-toggle { order: -1; width: 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .brand img { height: 34px; }
  .userchip .uname, .userchip .avatar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =====================================================================
   LANDING PAGE (referensi: header pill, hero biru besar, kartu bawah)
   ===================================================================== */
.lp { background: var(--bg); }
.lp-wrap {
  max-width: 1240px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.lp-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); }
.lp-header-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.lp-brand img { height: 44px; width: auto; display: block; }
.lp-nav { flex: 1; display: flex; justify-content: center; gap: 30px; }
.lp-nav a { color: var(--fg); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.lp-nav a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.lp-actions { display: flex; align-items: center; gap: 8px; }
.lp-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; place-items: center; color: var(--fg); }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border-radius: 999px; font-weight: 700; font-size: .93rem; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.pill:hover { transform: translateY(-1px); }
.pill-dark { background: var(--ink); color: #ffffff; }
.pill-light { background: #eef2f7; color: var(--ink); }
.pill-white { background: #ffffff; color: var(--ink); box-shadow: 0 8px 24px rgba(5, 25, 70, .18); }
.pill-blue { background: var(--brand); color: #ffffff; }
.pill-ghost-white { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, .7); }
.pill-ghost-white:hover { background: rgba(255, 255, 255, .12); }

/* hero */
.lp-hero-sec { padding-block: 8px 0; }
.hero {
  position: relative; overflow: hidden; border-radius: 32px; color: #ffffff;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: center;
  padding: 48px 48px 44px;
  background:
    radial-gradient(60% 80% at 82% 30%, rgba(124, 204, 255, .45), transparent 60%),
    radial-gradient(40% 50% at 0% 100%, rgba(255, 255, 255, .10), transparent 70%),
    linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 55%, var(--hero-c) 100%);
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .025);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; display: grid; gap: 22px; min-width: 0; }
.hero-kicker {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); font-weight: 700; font-size: .82rem; letter-spacing: .02em;
}
.hero-kicker i, .float-chip i { width: 9px; height: 9px; border-radius: 50%; background: #7fe0ff; box-shadow: 0 0 0 3px rgba(127, 224, 255, .25); }
.hero-h {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.9rem, 7.4vw, 6.3rem); line-height: .9; letter-spacing: -.005em; display: grid; gap: 4px; text-wrap: initial;
}
.hero-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avatars { display: inline-flex; align-items: center; }
.avatars img, .av-plus {
  width: clamp(48px, 6vw, 68px); height: clamp(48px, 6vw, 68px); border-radius: 50%; border: 3px solid #ffffff;
  object-fit: cover; background: #ffffff; margin-left: -14px; flex: none;
}
.avatars > :first-child { margin-left: 0; }
.avatars .av-logo { object-fit: contain; padding: 6px; }
.av-plus { display: grid; place-items: center; color: var(--brand); }
.hero-sub { max-width: 48ch; color: #dcebfc; font-size: 1.02rem; line-height: 1.65; }
.hero-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #ffffff; color: var(--ink);
  box-shadow: 0 8px 24px rgba(5, 25, 70, .18); transition: transform .15s;
}
.round-btn:hover { transform: translateY(-2px); }
.hero-pitch { display: grid; gap: 8px; max-width: 52ch; }
.hero-q { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 800; color: #ffffff; }
.hero-sub b { color: #ffffff; font-weight: 800; letter-spacing: .02em; }
.hero-visual { position: relative; z-index: 1; align-self: stretch; margin: -24px 0 -44px; min-height: 420px; }
.hero-visual::before {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(110%, 460px); aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .5) 0%, rgba(160, 215, 255, .25) 45%, transparent 70%);
}
.hero-person {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 100%; width: auto; max-width: 100%;
  object-fit: contain; object-position: bottom; filter: drop-shadow(0 24px 40px rgba(4, 20, 60, .35));
}
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: #ffffff; color: var(--ink); font-weight: 700; font-size: .82rem; box-shadow: 0 10px 30px rgba(4, 20, 60, .22); white-space: nowrap;
}
.float-chip i { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hero-visual .c1 { top: 22%; left: -4%; }
.hero-visual .c2 { bottom: 22%; right: -2%; }

.hero-cards { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 16px; margin-top: 16px; }
.hc { border-radius: 24px; padding: 22px 24px; display: grid; gap: 8px; align-content: start; text-decoration: none; color: inherit; min-width: 0; }
.hc small { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.hc b { font-size: 1.15rem; line-height: 1.3; font-weight: 800; }
.hc-dark { background: var(--ink); color: #ffffff; grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
.hc-slot { display: contents; }
.hc-event { grid-template-columns: auto minmax(0, 1fr) auto; border: 0; font: inherit; text-align: left; cursor: pointer; width: 100%; }
.hc-teks { display: grid; gap: 4px; min-width: 0; }
.hc-ket { font-size: .86rem; opacity: .75; }
.hc-thumb { width: 84px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #1c2d44; flex: none; }
.hc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-go { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; transition: background .15s; }
.hc-event:hover .hc-go { background: rgba(255, 255, 255, .24); }
.hc-event:hover { transform: translateY(-2px); transition: transform .15s; }
.fc-teks { display: inline-block; transition: opacity .28s ease, transform .28s ease; }
.float-chip.ganti .fc-teks { opacity: 0; transform: translateY(6px); }
.hc-play { width: 52px; height: 52px; border-radius: 50%; background: #ffffff; color: var(--ink); display: grid; place-items: center; }
.hc-white { border: 1px solid var(--line); background: var(--surface); }
.hc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hc-chips span { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); }
.hc-accent { background: var(--sky); color: var(--brand-ink); }
.hc-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--brand); }
a.hc:hover { transform: translateY(-2px); transition: transform .15s; }

/* section umum */
.lp-sec { padding-block: 80px 0; }
.lp { --hdr: 76px; }
.lp-screen {
  min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr));
  display: flex; flex-direction: column; justify-content: center; padding-block: 56px; scroll-margin-top: var(--hdr);
}
.lp-screen .langkah { margin-top: 20px; }
.lp-banner-sec { padding-block: 24px; }
.sec-head { display: grid; gap: 8px; margin-bottom: 28px; max-width: 720px; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.sec-head h2, .tentang h2, .cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.fitur-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fitur { background: #f4f8fc; border-radius: 20px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.fitur .ikon { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--brand); color: #ffffff; }
.fitur h3 { font-size: 1.05rem; }
.fitur p { color: var(--muted); font-size: .92rem; }

.langkah { border: 1px solid var(--line); border-radius: 28px; padding: 36px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr) auto; gap: 32px; align-items: center; }
.langkah .sec-head { margin: 0; }
.langkah-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: l; }
.langkah-list li { counter-increment: l; display: grid; gap: 4px; padding-top: 52px; position: relative; }
.langkah-list li::before { content: "0" counter(l); position: absolute; top: 0; left: 0; font-family: var(--f-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--brand); }
.langkah-list b { font-size: 1rem; }
.langkah-list span { color: var(--muted); font-size: .9rem; }

.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.prod { border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--fg); transition: border-color .15s, transform .15s, box-shadow .15s; }
.prod:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.prod-jenis { justify-self: start; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); }
.prod-jenis.gratis { background: var(--green-soft); color: var(--green); }
.prod h3 { font-size: 1.05rem; }
.prod p { color: var(--muted); font-size: .9rem; }
.prod-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .86rem; color: var(--brand); margin-top: 4px; }

.banner { display: block; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.banner img { display: block; width: 100%; height: auto; }

.tentang { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.tentang-foto { position: relative; justify-self: center; width: min(100%, 460px); aspect-ratio: 1 / 1; }
.tim-bg {
  position: absolute; inset: 18% 0 0 0; border-radius: 32px;
  background: radial-gradient(60% 80% at 80% 10%, rgba(124, 204, 255, .55), transparent 60%), linear-gradient(135deg, var(--hero-a), var(--hero-c));
}
.tim-clip { position: absolute; inset: 0; clip-path: inset(-50% 0 0 0 round 0 0 32px 32px); }
.tentang-foto img { position: absolute; bottom: 0; height: 92%; width: auto; max-width: 62%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 30px rgba(4, 20, 60, .3)); }
.tentang-foto .tim-a { left: 4%; }
.tentang-foto .tim-b { right: 2%; height: 86%; }
.tentang-foto .float-chip { left: 50%; bottom: -16px; transform: translateX(-50%); z-index: 2; }
.tentang-isi { display: grid; gap: 16px; }
.tentang-isi > p { color: var(--muted); font-size: 1.02rem; line-height: 1.7; max-width: 62ch; }
.bidang { display: flex; flex-wrap: wrap; gap: 8px; }
.bidang span { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-weight: 700; font-size: .82rem; }
.tentang-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tentang-list li { display: flex; gap: 10px; align-items: flex-start; }
.tentang-list .ikon { color: var(--green); flex: none; margin-top: 2px; }
.sos-row { display: flex; flex-wrap: wrap; gap: 8px; }

.cta-band {
  border-radius: 28px; padding: 40px; color: #ffffff; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  background: radial-gradient(50% 120% at 90% 0%, rgba(124, 204, 255, .45), transparent 60%), linear-gradient(120deg, var(--hero-a), var(--hero-b));
}
.cta-band p { color: #dcebfc; margin-top: 8px; max-width: 56ch; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.lp-footer { margin-top: 80px; border-top: 1px solid var(--line); background: #f6f9fc; }
.kontak-screen { min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); display: flex; flex-direction: column; scroll-margin-top: var(--hdr); }
.kontak-mid { flex: 1; display: grid; align-content: center; gap: 16px; width: 100%; padding-block: 48px; }
.kontak-screen .lp-footer { margin-top: 0; }
.kontak-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kontak { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--fg); min-width: 0; transition: border-color .15s, transform .15s; }
.kontak:hover { border-color: var(--brand); transform: translateY(-2px); }
.kontak .ikon { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.kontak span { display: grid; min-width: 0; }
.kontak small { font-size: .74rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.kontak b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 48px 32px; }
.lp-foot-brand { display: grid; gap: 12px; align-content: start; }
.lp-foot-brand img { height: 52px; width: auto; }
.lp-footer h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.lp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-footer a { color: var(--fg); text-decoration: none; font-size: .92rem; }
.lp-footer a:hover { color: var(--brand); }
.lp-foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 18px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.lp .auth { min-height: auto; padding-block: 24px 0; }

/* =====================================================================
   APLIKASI (sidebar kiri, bisa dibuka-tutup)
   ===================================================================== */
.app { --sbw: 268px; display: grid; grid-template-columns: var(--sbw) minmax(0, 1fr); min-height: 100vh; transition: grid-template-columns .2s ease; }
.app.sb-kecil { --sbw: 84px; }
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--surface); border-right: 1px solid var(--line);
  padding: max(14px, env(safe-area-inset-top, 0px)) 14px 16px max(14px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 8px; z-index: 40;
}
.sb-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 10px; }
.sb-logo img { height: 40px; width: auto; display: block; }
.sb-close { display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; place-items: center; color: var(--fg); }
.sb-nav { display: grid; gap: 4px; }
.sb-grup { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 6px; }
.sb-item {
  position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 12px; border: 0;
  background: transparent; color: var(--muted); font-weight: 650; font-size: .93rem; text-decoration: none; cursor: pointer; text-align: left;
}
.sb-item:hover { background: var(--surface-2); color: var(--fg); }
.sb-item.on { background: var(--brand); color: #ffffff; box-shadow: 0 6px 16px rgba(0, 120, 212, .28); }
.sb-item.sb-on-parent { color: var(--brand-ink); }
.sb-item .ikon { flex: none; }
.sb-teks { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-caret { display: grid; transition: transform .15s; }
.sb-parent.open .sb-caret { transform: rotate(180deg); }
.sb-sub { display: none; margin: 2px 0 6px 23px; padding-left: 16px; border-left: 1.5px solid var(--line); }
.sb-parent.open .sb-sub { display: grid; gap: 2px; }
.sb-subitem { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .9rem; text-decoration: none; }
.sb-subitem:hover { background: var(--surface-2); color: var(--fg); }
.sb-subitem.on { background: var(--brand-soft); color: var(--brand-ink); }
.sb-badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #ffffff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.sb-item.on .sb-badge { background: #ffffff; color: var(--red); }
.sb-bottom { margin-top: auto; display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.sb-promo { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--sky); color: var(--brand-ink); text-decoration: none; }
.sb-promo .sb-teks { display: grid; white-space: normal; }
.sb-promo small { font-size: .75rem; opacity: .8; }

.app.sb-kecil .sb-teks, .app.sb-kecil .sb-caret, .app.sb-kecil .sb-sub { display: none !important; }
.app.sb-kecil .sb-grup { font-size: 0; padding: 10px 0 4px; border-top: 1px solid var(--line); margin: 6px 8px 0; }
.app.sb-kecil .sb-item, .app.sb-kecil .sb-promo { justify-content: center; padding: 12px 0; }
.app.sb-kecil .sb-logo img { height: 34px; width: 52px; object-fit: cover; object-position: left center; }
.app.sb-kecil .sb-top { justify-content: center; }
.app.sb-kecil .sb-badge { position: absolute; top: 4px; right: 10px; min-width: 18px; height: 18px; font-size: .64rem; }

.sb-overlay { display: none; }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; display: flex; align-items: center; gap: 12px; min-height: 66px;
  padding-block: 10px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.app-title { display: grid; line-height: 1.2; min-width: 0; }
.app-title b { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-top .spacer { flex: 1; }
.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  display: inline-grid; place-items: center; color: var(--fg); cursor: pointer; flex: none; text-decoration: none;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn.danger:hover { border-color: var(--red); color: var(--red); }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--surface); }
.app-top .uname { display: grid; line-height: 1.15; }
.app-top .uname small { font-size: .72rem; color: var(--muted); }
.app-content {
  flex: 1; width: 100%; max-width: 1240px; padding-block: 28px 48px;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.app-foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted);
  padding-block: 16px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.app-foot nav { display: flex; flex-wrap: wrap; gap: 14px; }
.app-foot a { color: var(--muted); text-decoration: none; }
.app-foot a:hover { color: var(--brand); }
.page-in { display: grid; gap: 24px; }
.page-in > .hello h1 { font-size: 1.5rem; }

/* dashboard */
.dash-hero {
  position: relative; overflow: hidden; border-radius: 24px; padding: 28px 32px; color: #ffffff;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  background: radial-gradient(50% 120% at 95% 0%, rgba(124, 204, 255, .5), transparent 60%), linear-gradient(120deg, var(--hero-a), var(--hero-b));
}
.dash-hero h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 6px 0; }
.dash-hero p { color: #dcebfc; max-width: 56ch; }
.eyebrow.on-blue { color: #a9dcff; }
.dash-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.dash-sheet { display: grid; grid-template-columns: repeat(5, 30px); gap: 8px; opacity: .9; }
.dash-sheet span { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: rgba(255, 255, 255, .8); }
.dash-sheet span.on { background: #ffffff; color: var(--brand); border-color: #ffffff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 4px; }
.stat .ikon { color: var(--brand); margin-bottom: 6px; }
.stat b { font-size: 1.8rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.panel-card { border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--surface); }
.quick { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mini-stats a { border-radius: 14px; background: #f4f8fc; padding: 14px; text-decoration: none; color: var(--fg); display: grid; gap: 2px; }
.mini-stats a:hover { background: var(--brand-soft); }
.mini-stats b { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.mini-stats span { font-weight: 700; font-size: .85rem; }
.mini-stats small { color: var(--muted); font-size: .75rem; }
.dash-cols { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.paket-grid.one { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .86rem; color: var(--brand); text-decoration: none; }
.ann-mini { display: grid; gap: 10px; }
.ann-mini a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--fg); }
.ann-mini a:hover { border-color: var(--brand); }
.ann-mini img, .ann-ico { width: 84px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand); }
.ann-mini span { display: grid; gap: 2px; min-width: 0; }
.ann-mini b { font-size: .92rem; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ann-mini small { color: var(--muted); font-size: .76rem; }
.ann-label { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.promo-strip { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px; background: var(--sky); color: var(--brand-ink); text-decoration: none; }
.promo-strip span { flex: 1; display: grid; }
.promo-strip small { opacity: .8; }

/* pengumuman */
.ann-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.ann-card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; min-width: 0; }
.ann-card.pinned { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.ann-open { border: 0; padding: 0; background: var(--brand-soft); cursor: pointer; display: block; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; }
.ann-open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.ann-open:hover img { transform: scale(1.03); }
.ann-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--brand); background: radial-gradient(60% 80% at 80% 20%, rgba(124, 204, 255, .45), transparent 60%), var(--brand-soft); }
.ann-body { padding: 16px 18px 14px; display: grid; gap: 8px; flex: 1; align-content: start; }
.ann-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ann-body h3 { font-size: 1.05rem; line-height: 1.35; }
.linkish { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.linkish:hover { color: var(--brand); }
.ann-excerpt { color: var(--muted); font-size: .9rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.ann-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.ann-actions { display: flex; gap: 6px; }
.ann-popup .modal-body { display: grid; gap: 14px; }
.ann-hero { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.img-info { display: grid; gap: 2px; font-size: .8rem; padding: 8px 10px; border-radius: 10px; width: 100%; }
.img-info:empty { display: none; }
.img-info.ok { background: var(--green-soft); color: var(--fg); }
.img-info.warn { background: var(--amber-soft); color: var(--fg); }
.img-panduan { border-radius: 12px; background: var(--surface-2); padding: 12px 14px; font-size: .8rem; display: grid; gap: 6px; }
.img-panduan table { font-size: .8rem; border: 0; }
.img-panduan td { padding: 3px 8px 3px 0; border: 0; vertical-align: top; }
.img-panduan td:first-child { color: var(--muted); white-space: nowrap; }
.img-panduan p { color: var(--muted); }
.ann-isi { line-height: 1.7; }
.pp-judul { font-size: 1.25rem; line-height: 1.3; }
.pp-nav { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ann-form-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.label { font-size: .85rem; font-weight: 700; }
textarea.input { resize: vertical; line-height: 1.6; }
.input-sm { min-height: 36px; padding: 4px 8px; width: auto; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.switch-row span:first-child { display: grid; }
.switch-row small { color: var(--muted); font-size: .78rem; }
.img-drop { border: 1.5px dashed var(--line-strong); border-radius: 14px; padding: 12px; display: grid; gap: 8px; justify-items: start; }
#img-prev { width: 100%; }
#img-prev img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 10px; display: block; }
.img-empty { width: 100%; aspect-ratio: 2 / 1; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; align-content: center; gap: 4px; color: var(--muted); }

/* ---------- responsif landing & aplikasi ---------- */
@media (max-width: 1080px) {
  .lp-nav { gap: 18px; }
  .fitur-grid { grid-template-columns: repeat(2, 1fr); }
  .langkah { grid-template-columns: 1fr; }
  .lp-foot-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid, .mini-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-cols { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .app, .app.sb-kecil { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); height: 100%; transform: translateX(-105%);
    transition: transform .22s ease; box-shadow: 10px 0 40px rgba(8, 20, 34, .2);
  }
  .app.sb-buka .sidebar { transform: none; }
  .app.sb-kecil .sb-teks, .app.sb-kecil .sb-caret { display: initial !important; }
  .app.sb-kecil .sb-parent.open .sb-sub { display: grid !important; }
  .app.sb-kecil .sb-item, .app.sb-kecil .sb-promo { justify-content: flex-start; padding: 11px 12px; }
  .app.sb-kecil .sb-grup { font-size: .7rem; border: 0; margin: 0; padding: 14px 12px 6px; }
  .app.sb-kecil .sb-logo img { width: auto; height: 40px; }
  .app.sb-kecil .sb-top { justify-content: space-between; }
  .sb-close { display: inline-grid; }
  .app.sb-buka .sb-overlay { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(8, 20, 34, .45); }
  .hero { grid-template-columns: 1fr; padding: 32px 24px; }
  .hero-visual { margin: 8px 0 -32px; min-height: 0; height: clamp(340px, 78vw, 480px); }
  .hero-visual .c1 { top: 18%; left: 0; }
  .hero-visual .c2 { bottom: 18%; right: 0; }
  .lp-screen { padding-block: 48px; }
  .kontak-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-cards { grid-template-columns: 1fr; }
  .tentang { grid-template-columns: 1fr; gap: 32px; }
  .ann-form-cols { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .lp-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); box-shadow: 0 20px 40px rgba(8, 20, 34, .12);
  }
  .lp-nav.open { display: flex; }
  .lp-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .lp-burger { display: inline-grid; }
  .lp-header-in { position: relative; justify-content: space-between; }
}
@media (max-width: 640px) {
  .lp-actions .pill { min-height: 38px; padding: 0 14px; font-size: .85rem; }
  .lp-actions .pill-light { display: none; }
  .lp-brand img { height: 38px; }
  .hero { border-radius: 24px; }
  .hero-h { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .float-chip { font-size: .74rem; padding: 7px 11px; }
  .hero-row { gap: 10px; }
  .hero-cta .pill { flex: 1 1 100%; }
  .kontak-grid { grid-template-columns: 1fr; }
  .tentang-foto { width: min(100%, 340px); }
  .fitur-grid, .langkah-list, .lp-foot-grid { grid-template-columns: 1fr; }
  .langkah { padding: 24px; }
  .lp-sec { padding-block: 56px 0; }
  .cta-band { padding: 28px 22px; }
  .app-top { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); gap: 8px; }
  .app-title .eyebrow, .app-top .uname, .app-top .demo-flag { display: none; }
  .app-content, .app-foot { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .dash-hero { grid-template-columns: 1fr; padding: 24px 20px; }
  .dash-sheet { display: none; }
  .field-row { grid-template-columns: 1fr; }
}

/* layar pendek (laptop 768 px): rapatkan agar tiap bagian pas satu layar */
@media (min-width: 961px) and (max-height: 820px) {
  .lp-screen { padding-block: 28px; }
  .lp-screen .sec-head { margin-bottom: 18px; }
  .fitur { padding: 18px; }
  .langkah { padding: 24px 28px; }
  .kontak-mid { padding-block: 20px; gap: 12px; }
  .cta-band { padding: 26px 32px; }
  .kontak { padding: 12px 14px; }
  .lp-foot-grid { padding-block: 24px 16px; }
  .lp-foot-bottom { padding-block: 12px; }
  .lp-footer ul { gap: 4px; }
  .lp-foot-brand { gap: 6px; }
  .lp-foot-brand img { height: 40px; }
  .tentang-foto { width: min(100%, 400px); }
}

/* bentuk dinamis di judul hero */
.hero-shape { position: relative; display: inline-block; flex: none; width: 1.55em; height: .78em; }
.hs-blob {
  position: absolute; inset: 0; border-radius: 42% 58% 55% 45% / 60% 40% 60% 40%;
  background: linear-gradient(120deg, #ffffff 0%, #bfe6ff 45%, #7fd0ff 100%); background-size: 200% 200%;
  box-shadow: 0 10px 30px rgba(4, 20, 60, .25), inset 0 -6px 14px rgba(0, 90, 200, .18);
  animation: hs-morph 7s ease-in-out infinite, hs-geser 6s ease-in-out infinite;
}
.hs-star { position: absolute; width: .42em; height: .42em; left: 50%; top: 50%; margin: -.21em 0 0 -.21em; fill: var(--hero-a); animation: hs-putar 9s linear infinite; }
.hs-star.kecil { width: .2em; height: .2em; left: auto; top: -.08em; right: -.06em; margin: 0; fill: #ffffff; animation: hs-kedip 2.4s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9)); }
@keyframes hs-morph {
  0%, 100% { border-radius: 42% 58% 55% 45% / 60% 40% 60% 40%; transform: rotate(-3deg); }
  33% { border-radius: 60% 40% 40% 60% / 45% 60% 40% 55%; transform: rotate(2deg) scale(1.03); }
  66% { border-radius: 50% 50% 62% 38% / 38% 55% 45% 62%; transform: rotate(-1deg) scale(.98); }
}
@keyframes hs-geser { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes hs-putar { to { transform: rotate(360deg); } }
@keyframes hs-kedip { 0%, 100% { transform: scale(.7) rotate(0deg); opacity: .6; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hs-blob, .hs-star { animation: none !important; } }

/* tombol & daftar acara mendatang */
.pill-event { position: relative; background: var(--sky); color: var(--brand-ink); border-color: transparent; padding: 0 16px 0 14px; }
.pill-event:hover { border-color: var(--brand); }
.ev-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(0, 120, 212, .5); }
.pill-event.ada .ev-dot { background: var(--red); animation: ev-pulse 1.8s ease-out infinite; }
@keyframes ev-pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 39, 29, .45); } 100% { box-shadow: 0 0 0 9px rgba(217, 39, 29, 0); } }
.ev-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #ffffff; font-size: .72rem; font-weight: 800; display: inline-grid; place-items: center; }
.acara-list { display: grid; gap: 12px; }
.acara-list.grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.acara { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.acara.lewat { opacity: .7; }
.acara-tgl { border-radius: 14px; background: linear-gradient(160deg, var(--hero-a), var(--hero-c)); color: #ffffff; display: grid; justify-items: center; align-content: center; padding: 10px 4px; text-align: center; align-self: start; }
.acara-tgl span { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.acara-tgl b { font-family: var(--f-display); font-size: 2rem; line-height: 1; margin: 2px 0; }
.acara-isi { display: grid; gap: 6px; min-width: 0; }
.acara-isi h3 { font-size: 1.05rem; line-height: 1.35; }
.acara-waktu { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .88rem; }
.acara-waktu .ikon { flex: none; margin-top: 2px; color: var(--brand); }
.acara-desk { font-size: .9rem; color: var(--fg); }
.acara-aksi { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.acara-aksi:empty { display: none; }
.field-row.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .lp-actions .ev-teks { display: none; } .pill-event { padding: 0 12px; } }
@media (max-width: 640px) {
  .field-row.three { grid-template-columns: 1fr 1fr; }
  .acara { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .acara-tgl b { font-size: 1.6rem; }
  .pill-event .ev-dot { display: none; }
}
@media (max-width: 480px) { .lp-actions .demo-flag { display: none; } .lp-actions { gap: 6px; } }

/* ---------- Pengaturan landing (admin) ---------- */
.set-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.set-preview { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #f6f9fc; min-width: 0; }
.prev-hero { height: 90px; border-radius: 16px; background: linear-gradient(135deg, var(--hero-a), var(--hero-c)); display: grid; place-items: center; color: rgba(255, 255, 255, .8); font-size: .8rem; font-weight: 700; }
.prev-cards { display: grid; }
.ev-prev { width: 100%; display: flex; justify-content: center; }
.ev-prev img { width: 160px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; display: block; }
.img-empty.tegak { width: 160px; aspect-ratio: 4 / 5; }
.tujuan { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.radio-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.radio-row:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.radio-row input { margin-top: 3px; accent-color: var(--brand); }
.radio-row span { display: grid; gap: 2px; }
.radio-row small { color: var(--muted); font-size: .8rem; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
@media (max-width: 1080px) { .set-grid { grid-template-columns: 1fr; } .set-preview { position: static; } }
@media (max-width: 640px) { .hc-thumb { width: 64px; } .hc-event { gap: 12px; } }
