/* Zupermen — satu keluarga dengan ZuperGuru (indigo + emas), ruang kerjanya berupa kertas ujian. */
:root {
  --bg: #ECEFF8; --bg2: #F6F8FD; --surface: #FFFFFF; --surface-2: #F1F4FC; --line: #D5DBEE; --line-2: #E4E8F5;
  --ink: #141B4D; --ink-2: #3A4478; --muted: #6A7399;
  --indigo: #2F4FD0; --indigo-d: #2339A8; --indigo-soft: #E5EAFC;
  --gold: #F2B437; --gold-d: #C98A12; --gold-ink: #3A2600; --gold-soft: #FFF3D6;
  --pen: #D43D2C; --pen-soft: #FDE6E2; --ok: #17784A; --ok-soft: #DDF3E8; --warn: #8A5A12; --warn-soft: #FBEFD6;
  --shadow: 0 1px 0 rgba(20, 27, 77, .05), 0 12px 28px -16px rgba(20, 27, 77, .35);
  --display: 'Lexend', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --kertas: 'Times New Roman', Tinos, 'Liberation Serif', serif;
  --r: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0A0F2B; --bg2: #0E1538; --surface: #131B45; --surface-2: #1A2358; --line: #2A3569; --line-2: #222C5E;
    --ink: #EAF0FF; --ink-2: #B9C4EE; --muted: #8A96C8; --indigo: #8CA6FF; --indigo-d: #6F8BF0; --indigo-soft: #1F2A66;
    --gold-soft: #3A2D0E; --pen: #FF8377; --pen-soft: #3A1B20; --ok: #4ADE9B; --ok-soft: #0F2B22; --warn: #F5C451; --warn-soft: #33270F;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 14px 30px -16px rgba(0, 0, 0, .8); color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0A0F2B; --bg2: #0E1538; --surface: #131B45; --surface-2: #1A2358; --line: #2A3569; --line-2: #222C5E;
  --ink: #EAF0FF; --ink-2: #B9C4EE; --muted: #8A96C8; --indigo: #8CA6FF; --indigo-d: #6F8BF0; --indigo-soft: #1F2A66;
  --gold-soft: #3A2D0E; --pen: #FF8377; --pen-soft: #3A1B20; --ok: #4ADE9B; --ok-soft: #0F2B22; --warn: #F5C451; --warn-soft: #33270F;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 14px 30px -16px rgba(0, 0, 0, .8); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--display); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 .6em; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--indigo); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--indigo) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 18px; border-radius: 12px; border: 1px solid transparent;
  background: var(--indigo); color: #fff; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform .12s, background .15s, box-shadow .15s; box-shadow: 0 3px 0 var(--indigo-d); }
.btn:hover { background: var(--indigo-d); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--indigo-d); }
.btn.gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 3px 0 var(--gold-d); }
.btn.gold:hover { background: #F6BE50; }
.btn.gold:active { box-shadow: 0 1px 0 var(--gold-d); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: 0 3px 0 var(--line); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.sm { min-height: 34px; padding: 5px 12px; font-size: 13px; border-radius: 10px; box-shadow: 0 2px 0 var(--indigo-d); }
.btn.ghost.sm { box-shadow: 0 2px 0 var(--line); }
.btn.danger { background: var(--surface); color: var(--pen); border-color: color-mix(in srgb, var(--pen) 40%, transparent); box-shadow: 0 2px 0 color-mix(in srgb, var(--pen) 30%, transparent); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.icobtn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.icobtn:hover { background: var(--surface-2); }
.link { background: none; border: 0; padding: 0; color: var(--indigo); text-decoration: underline; cursor: pointer; font: inherit; }

/* ---------- bidang isian ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .lab { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.hint { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
input[type='text'], input[type='number'], input[type='password'], input[type='search'], select, textarea {
  width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--indigo) 22%, transparent); }
textarea.mono, .mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 12.5px; }
.grid2 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid3 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.sb { justify-content: space-between; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 500; }
.seg button[aria-pressed='true'] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.num { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.num button { width: 38px; border: 0; background: var(--surface-2); cursor: pointer; font-size: 18px; }
.num button:hover { background: var(--indigo-soft); }
.num input { width: 56px; border: 0; border-radius: 0; text-align: center; min-height: 40px; padding: 4px; box-shadow: none !important; }

/* ---------- kerangka ---------- */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px max(16px, env(safe-area-inset-left)); background: color-mix(in srgb, var(--bg2) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -.02em; border: 0; background: none; padding: 0; cursor: pointer; }
.logo { width: 34px; height: 34px; border-radius: 9px; background: var(--indigo); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 19px; position: relative; box-shadow: 0 3px 0 var(--indigo-d); }
.logo::after { content: ''; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; background: var(--gold); border-radius: 3px; border: 2px solid var(--bg2); }
.brand small { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: -2px; }
.top .judul { flex: 1; min-width: 0; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.simpan { font-size: 12px; color: var(--muted); white-space: nowrap; }
.simpan.ok::before { content: '✓ '; color: var(--ok); }

.shell { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 1240px; margin: 0 auto; padding: 14px 16px 90px; }
.rail { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 -2px; scrollbar-width: thin; }
.rail button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 500; font-size: 13.5px; white-space: nowrap; }
.rail .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 12px; font-weight: 700; color: var(--ink-2); border: 1px solid var(--line); }
.rail button[aria-current='step'] { border-color: var(--indigo); background: var(--indigo-soft); color: var(--ink); }
.rail button[aria-current='step'] .dot { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.rail button.done .dot { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.rail button[disabled] { opacity: .5; cursor: not-allowed; }
@media (min-width: 960px) {
  .shell { grid-template-columns: 232px minmax(0, 1fr); gap: 28px; padding-top: 24px; }
  .rail { flex-direction: column; overflow: visible; position: sticky; top: 76px; align-self: start; padding: 0 0 0 18px; margin: 0; border-left: 2px solid var(--pen); gap: 6px; }
  .rail button { border-radius: 12px; padding: 8px 12px 8px 8px; width: 100%; }
}

.work { min-width: 0; }
.sheet { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px 18px 24px; margin-bottom: 18px; }
.sheet > h2 { font-family: var(--serif); font-size: 25px; font-weight: 700; letter-spacing: -.015em; }
.sheet > .lede { color: var(--ink-2); margin: 6px 0 20px; max-width: 64ch; }
.sheet h3 { font-size: 15.5px; margin: 20px 0 10px; }
.sheet h3:first-child { margin-top: 0; }
@media (min-width: 700px) { .sheet { padding: 28px 30px 30px; } }
.sub { border-top: 1px dashed var(--line); padding-top: 18px; margin-top: 20px; }
.foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-2); }

/* ---------- lencana, status, pesan ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.chip.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip.bad { background: var(--pen-soft); color: var(--pen); border-color: transparent; }
.chip.ind { background: var(--indigo-soft); color: var(--indigo); border-color: transparent; }
.note { border-radius: 12px; padding: 11px 14px; font-size: 13.5px; background: var(--surface-2); border: 1px solid var(--line); }
.note.bad { background: var(--pen-soft); border-color: color-mix(in srgb, var(--pen) 35%, transparent); }
.note.warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.note.ok { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.note ul { margin: 6px 0 0; padding-left: 18px; }
.note li { margin: 2px 0; }
.note b { font-weight: 600; }
.kosong { text-align: center; padding: 34px 16px; color: var(--ink-2); border: 2px dashed var(--line); border-radius: 16px; }
.kosong h3 { margin-bottom: 6px; }

/* ---------- daftar mapel ---------- */
.mapel-list { max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.mapel-list button { display: flex; width: 100%; justify-content: space-between; gap: 10px; text-align: left; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line-2); background: none; cursor: pointer; }
.mapel-list button:hover { background: var(--surface-2); }
.mapel-list button[aria-pressed='true'] { background: var(--indigo-soft); font-weight: 600; }
.mapel-list button:last-child { border-bottom: 0; }
.mapel-list .tag { font-size: 11.5px; color: var(--muted); white-space: nowrap; }

/* ---------- CP ---------- */
.cp-el { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.cp-el.off { opacity: .55; }
.cp-el .h { display: flex; gap: 10px; align-items: flex-start; }
.cp-el input[type='checkbox'] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--indigo); flex: none; }
.cp-el .t { font-weight: 600; }
.cp-el .p { font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 2px 0 0; }
.cp-el.open .p { display: none; }
.cp-el textarea { margin-top: 10px; font-size: 14px; }

/* ---------- rancangan ---------- */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.tbl .r { text-align: right; }
.tbl input[type='number'] { width: 72px; text-align: center; }
.ringkas { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--surface-2); }
.stat b { display: block; font-size: 22px; font-family: var(--serif); letter-spacing: -.01em; }
.stat span { font-size: 12.5px; color: var(--muted); }

/* ---------- prompt & tempel ---------- */
.langkah { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.langkah > .n { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; font-weight: 700; }
.langkah + .langkah { margin-top: 22px; }
.promptbox { max-height: 190px; overflow: auto; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; white-space: pre-wrap; word-break: break-word; }
.ailinks { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- baris kisi-kisi ---------- */
.krow { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: var(--surface); display: grid; gap: 12px; }
.krow.err { border-color: color-mix(in srgb, var(--pen) 55%, transparent); }
.krow .kh { display: flex; justify-content: space-between; align-items: center; }
.krow .kh b { font-size: 13.5px; }
.krow .f2 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.krow .f3 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr 90px; }
@media (max-width: 520px) { .krow .f3 { grid-template-columns: 1fr 1fr; } }
.counter { display: flex; flex-wrap: wrap; gap: 8px; }
.counter .chip b { font-weight: 700; }
.ktable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ktable th, .ktable td { border: 1px solid var(--line); padding: 7px 9px; vertical-align: top; text-align: left; }
.ktable th { background: var(--surface-2); font-size: 12.5px; }
.tablewrap { overflow-x: auto; border-radius: 10px; }

/* ---------- batch & soal ---------- */
.batch { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--surface); }
.batch + .batch { margin-top: 14px; }
.batch .bh { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.batch .bh h4 { font-size: 15.5px; }
.soal-card { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.soal-card + .soal-card { margin-top: 12px; }
.soal-card.err { border-color: color-mix(in srgb, var(--pen) 55%, transparent); }
.soal-card .sh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line-2); }
.soal-card .sh .no { font-family: var(--serif); font-size: 19px; font-weight: 700; margin-right: 4px; }
.soal-card .sb { padding: 14px 16px; font-family: var(--kertas); font-size: 15.5px; line-height: 1.5; }
.soal-card .sb .dp { margin-bottom: 4pt; }
.soal-card .sk { padding: 10px 16px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink-2); }
.soal-card .sa { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 14px; border-top: 1px solid var(--line-2); align-items: center; }
.soal-card textarea { margin: 0 14px 12px; width: calc(100% - 28px); }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--ok); }

/* ---------- dokumen ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; }
.tabs button { flex: 0 0 auto; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px 10px 0 0; border-bottom-width: 3px; cursor: pointer; font-weight: 500; }
.tabs button[aria-selected='true'] { border-bottom-color: var(--gold); background: var(--gold-soft); font-weight: 600; }
.tabs button[disabled] { opacity: .45; cursor: not-allowed; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.opsi-dok { display: grid; gap: 12px; margin-bottom: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.pratinjau { background: repeating-linear-gradient(0deg, transparent 0 31px, color-mix(in srgb, var(--line) 55%, transparent) 31px 32px), var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 10px; overflow-x: auto; }
.pratinjau .skala { margin: 0 auto; }

/* ---------- kertas (pratinjau & cetak) ---------- */
.paper { background: #fff; color: #111; font-family: var(--kertas); font-size: 12pt; line-height: 1.32; box-shadow: 0 2px 4px rgba(20, 27, 77, .15), 0 18px 40px -18px rgba(20, 27, 77, .5); margin: 0 auto; text-align: left; }
.paper.port { width: 210mm; min-height: 297mm; padding: 20mm; }
.paper.land { width: 297mm; min-height: 210mm; padding: 20mm; }
.paper .dp { margin: 0; overflow-wrap: anywhere; }
.paper .hang { position: relative; }
.paper .hang .lb { position: absolute; top: 0; }
.paper .dtitle { text-align: center; margin-bottom: 4pt; }
.paper .dtitle div { line-height: 1.25; }
.paper .drule { border: 0; border-top: 1.4pt solid #141b4d; margin: 3pt 0 6pt; }
.paper table.dt { width: 100%; border-collapse: collapse; table-layout: fixed; }
.paper table.dt td { border: .6pt solid #7f8796; padding: 2.5pt 5pt; vertical-align: top; overflow-wrap: anywhere; }
.paper table.dt.nb td { border: 0; padding: 1.5pt 3pt; }
.paper table.dt .dp { margin-bottom: 0; }
.paper .dbox { border: .6pt solid #7f8796; background: #f6f7fb; padding: 5pt 7pt; margin: 0 0 4pt; }
.paper .dgambar { border: .8pt dashed #9aa3c0; background: #fbfbfe; padding: 6pt; margin: 0 0 4pt; text-align: center; font-style: italic; font-size: 10.5pt; }
.paper table.kv { border-collapse: collapse; width: 100%; font-size: 11.5pt; margin-bottom: 2pt; }
.paper table.kv td { padding: 1pt 3pt; vertical-align: top; }
.paper table.kv td.k { white-space: nowrap; width: 17%; }
.paper table.kv td.c { width: 2%; }
.paper table.kv.two td.v { width: 31%; }
.paper .ttd { display: flex; justify-content: space-around; text-align: center; font-size: 11.5pt; margin-top: 8pt; break-inside: avoid; }
.paper .ttd-sp { height: 42pt; }
.paper .ttd-n { font-weight: 700; }
.paper .pbrk { height: 0; border-top: 1px dashed #b7bfd8; margin: 16pt -20mm; position: relative; }
.paper .pbrk::after { content: 'halaman baru'; position: absolute; right: 8mm; top: -8pt; font: 9px var(--display); color: #8a93b5; background: #fff; padding: 0 4px; }
.paper .katex { font-size: 1.04em; }

/* ---------- gerbang ---------- */
.gate { min-height: 100vh; display: grid; grid-template-columns: 1fr; align-items: center; gap: 36px; max-width: 1140px; margin: 0 auto; padding: 28px 20px 40px; }
@media (min-width: 900px) { .gate { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.gate .brand { margin-bottom: 26px; }
.gate h1 { font-family: var(--serif); font-size: clamp(34px, 5.4vw, 56px); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; max-width: 14ch; }
.gate .lede { font-size: 17px; color: var(--ink-2); max-width: 46ch; margin: 18px 0 30px; }
.tumpuk { position: relative; height: 230px; max-width: 460px; }
.tumpuk .lb { position: absolute; width: 150px; height: 196px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 24px -12px rgba(20, 27, 77, .45); padding: 12px 12px; transform-origin: bottom left; color: #141b4d; }
.tumpuk .lb b { display: block; font-size: 11.5px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.005em; }
.tumpuk .lb i { display: block; height: 4px; border-radius: 2px; background: #dfe4f4; margin: 6px 0; }
.tumpuk .lb i:nth-child(odd) { width: 86%; }
.tumpuk .lb .tb { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px; margin-top: 4px; }
.tumpuk .lb .tb em { height: 14px; background: #edf0fa; border: 1px solid #d5dbee; }
.tumpuk .lb:nth-child(1) { left: 0; top: 24px; transform: rotate(-9deg); }
.tumpuk .lb:nth-child(2) { left: 60px; top: 12px; transform: rotate(-4deg); }
.tumpuk .lb:nth-child(3) { left: 120px; top: 4px; transform: rotate(1deg); }
.tumpuk .lb:nth-child(4) { left: 180px; top: 12px; transform: rotate(5deg); }
.tumpuk .lb:nth-child(5) { left: 240px; top: 26px; transform: rotate(10deg); border-top: 5px solid var(--gold); }
.tumpuk .lb:nth-child(5) b::after { content: ' ✓'; color: var(--ok); }
@media (max-width: 520px) { .tumpuk { height: 200px; transform: scale(.82); transform-origin: left top; } }
.kartu-masuk { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 28px 24px; border-left: 3px solid var(--pen); }
.kartu-masuk h2 { font-size: 22px; margin-bottom: 4px; }
.pw { position: relative; }
.pw button { position: absolute; right: 4px; top: 4px; }
.pesan { min-height: 22px; font-size: 13.5px; margin: 8px 0 12px; }
.pesan.bad { color: var(--pen); }
.pesan.good { color: var(--ok); }
.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- beranda ---------- */
.paketgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.paketcard { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); border-top: 4px solid var(--indigo); }
.paketcard h3 { font-size: 16px; line-height: 1.3; }
.paketcard .meta { font-size: 13px; color: var(--muted); }
.paketcard .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

/* ---------- toast ---------- */
#toasts { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 100; width: min(92vw, 420px); }
.toast { background: var(--ink); color: var(--bg2); padding: 11px 16px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow); transition: opacity .4s, transform .4s; }
.toast.bad { background: var(--pen); color: #fff; }
.toast.out { opacity: 0; transform: translateY(8px); }

dialog { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); padding: 22px; max-width: min(92vw, 460px); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(10, 15, 43, .55); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- cetak ---------- */
@media print {
  html, body { background: #fff !important; }
  body > *:not(#cetak) { display: none !important; }
  #cetak { display: block !important; }
  #cetak .paper { box-shadow: none; width: auto; min-height: 0; padding: 0; margin: 0; zoom: 1 !important; }
  #cetak .paper .pbrk { break-after: page; border: 0; margin: 0; height: 0; }
  #cetak .paper .pbrk::after { display: none; }
  #cetak table.dt tr, #cetak .dbox { break-inside: avoid; }
  #cetak table.dt.cs { break-inside: avoid; }
}
#cetak { display: none; }

/* =====================================================================
   v2 — nuansa 3D: lapisan, bayangan bertingkat, tombol timbul, gerak halus
   ===================================================================== */
@property --s { syntax: '<number>'; inherits: true; initial-value: 1; }
:root {
  --ease: cubic-bezier(.22, .8, .24, 1);
  --spring: cubic-bezier(.34, 1.45, .5, 1);
  --hi: inset 0 1px 0 rgba(255, 255, 255, .9);
  --edge: #C9D1EA;
  --card-top: #FFFFFF; --card-bot: #F5F7FE;
  --sh1: 0 1px 1px rgba(20, 27, 77, .06), 0 2px 2px rgba(20, 27, 77, .05), 0 6px 8px -2px rgba(20, 27, 77, .07), 0 18px 26px -10px rgba(20, 27, 77, .20), 0 36px 60px -30px rgba(35, 57, 168, .35);
  --sh2: 0 1px 1px rgba(20, 27, 77, .07), 0 4px 6px -2px rgba(20, 27, 77, .09), 0 14px 22px -12px rgba(20, 27, 77, .22);
  --sh-hover: 0 2px 2px rgba(20, 27, 77, .07), 0 10px 14px -4px rgba(20, 27, 77, .12), 0 28px 40px -16px rgba(35, 57, 168, .38);
  --well: inset 0 2px 4px rgba(20, 27, 77, .10), inset 0 0 0 1px rgba(20, 27, 77, .02);
  --bg-img:
    radial-gradient(900px 520px at 8% -8%, rgba(47, 79, 208, .16), transparent 62%),
    radial-gradient(760px 480px at 100% 0%, rgba(242, 180, 55, .17), transparent 60%),
    radial-gradient(800px 600px at 60% 108%, rgba(47, 79, 208, .10), transparent 60%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --hi: inset 0 1px 0 rgba(255, 255, 255, .07); --edge: #0A0F2B; --card-top: #18214F; --card-bot: #121A44;
    --sh1: 0 1px 1px rgba(0, 0, 0, .4), 0 8px 14px -4px rgba(0, 0, 0, .45), 0 30px 50px -24px rgba(0, 0, 0, .8);
    --sh2: 0 1px 1px rgba(0, 0, 0, .4), 0 8px 14px -6px rgba(0, 0, 0, .6);
    --sh-hover: 0 2px 2px rgba(0, 0, 0, .4), 0 14px 24px -8px rgba(0, 0, 0, .7), 0 0 0 1px rgba(140, 166, 255, .25);
    --well: inset 0 2px 5px rgba(0, 0, 0, .45);
    --bg-img: radial-gradient(900px 520px at 8% -8%, rgba(95, 120, 255, .22), transparent 62%), radial-gradient(700px 460px at 100% 0%, rgba(242, 180, 55, .10), transparent 60%);
  }
}
:root[data-theme='dark'] {
  --hi: inset 0 1px 0 rgba(255, 255, 255, .07); --edge: #0A0F2B; --card-top: #18214F; --card-bot: #121A44;
  --sh1: 0 1px 1px rgba(0, 0, 0, .4), 0 8px 14px -4px rgba(0, 0, 0, .45), 0 30px 50px -24px rgba(0, 0, 0, .8);
  --sh2: 0 1px 1px rgba(0, 0, 0, .4), 0 8px 14px -6px rgba(0, 0, 0, .6);
  --sh-hover: 0 2px 2px rgba(0, 0, 0, .4), 0 14px 24px -8px rgba(0, 0, 0, .7), 0 0 0 1px rgba(140, 166, 255, .25);
  --well: inset 0 2px 5px rgba(0, 0, 0, .45);
  --bg-img: radial-gradient(900px 520px at 8% -8%, rgba(95, 120, 255, .22), transparent 62%), radial-gradient(700px 460px at 100% 0%, rgba(242, 180, 55, .10), transparent 60%);
}
html { scroll-behavior: smooth; }
body { background-color: var(--bg); background-image: var(--bg-img); background-repeat: no-repeat; background-attachment: fixed; }
html.tema-anim *, html.tema-anim *::before, html.tema-anim *::after { transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease !important; }
::selection { background: color-mix(in srgb, var(--gold) 55%, transparent); }

/* ---- tombol: tuts timbul, naik saat disentuh, turun saat ditekan ---- */
.btn { position: relative; background: linear-gradient(180deg, color-mix(in srgb, var(--indigo) 82%, #fff) 0%, var(--indigo) 55%, var(--indigo-d) 140%);
  border-color: color-mix(in srgb, var(--indigo-d) 70%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 4px 0 var(--indigo-d), 0 10px 16px -6px rgba(35, 57, 168, .55);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), filter .2s, background .2s; will-change: transform; }
.btn:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--indigo) 74%, #fff) 0%, color-mix(in srgb, var(--indigo) 96%, #fff) 60%, var(--indigo) 140%);
  transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 0 var(--indigo-d), 0 16px 22px -8px rgba(35, 57, 168, .6); }
.btn:active { transform: translateY(3px); transition-duration: .06s; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25), 0 1px 0 var(--indigo-d), 0 2px 4px -2px rgba(35, 57, 168, .5); }
.btn.gold { background: linear-gradient(180deg, #FFD777 0%, var(--gold) 55%, #E9A41E 140%); border-color: color-mix(in srgb, var(--gold-d) 60%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 4px 0 var(--gold-d), 0 10px 16px -6px rgba(201, 138, 18, .6); }
.btn.gold:hover { background: linear-gradient(180deg, #FFE192 0%, #F7BF4A 60%, var(--gold) 140%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 6px 0 var(--gold-d), 0 16px 22px -8px rgba(201, 138, 18, .65); }
.btn.gold:active { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2), 0 1px 0 var(--gold-d), 0 2px 4px -2px rgba(201, 138, 18, .5); }
.btn.ghost { background: linear-gradient(180deg, var(--card-top), var(--card-bot)); color: var(--ink); border-color: var(--line);
  box-shadow: var(--hi), 0 3px 0 var(--edge), 0 8px 12px -6px rgba(20, 27, 77, .22); }
.btn.ghost:hover { background: linear-gradient(180deg, var(--card-top), var(--indigo-soft)); border-color: color-mix(in srgb, var(--indigo) 45%, var(--line)); box-shadow: var(--hi), 0 5px 0 var(--edge), 0 14px 20px -8px rgba(35, 57, 168, .35); }
.btn.ghost:active { box-shadow: var(--well); }
.btn.sm { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 3px 0 var(--indigo-d), 0 8px 12px -6px rgba(35, 57, 168, .5); }
.btn.sm:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 5px 0 var(--indigo-d), 0 12px 16px -8px rgba(35, 57, 168, .55); }
.btn.ghost.sm { box-shadow: var(--hi), 0 2px 0 var(--edge), 0 6px 10px -6px rgba(20, 27, 77, .22); }
.btn.ghost.sm:hover { box-shadow: var(--hi), 0 4px 0 var(--edge), 0 12px 16px -8px rgba(35, 57, 168, .3); }
.btn.danger { background: linear-gradient(180deg, var(--card-top), var(--card-bot)); box-shadow: var(--hi), 0 2px 0 color-mix(in srgb, var(--pen) 28%, var(--edge)), 0 6px 10px -6px rgba(212, 61, 44, .3); }
.btn.danger:hover { background: var(--pen-soft); box-shadow: var(--hi), 0 4px 0 color-mix(in srgb, var(--pen) 35%, var(--edge)), 0 12px 16px -8px rgba(212, 61, 44, .4); }
.btn.sm:active, .btn.ghost.sm:active, .btn.danger:active { transform: translateY(2px); }
.btn[disabled] { filter: saturate(.4); transform: none !important; }
.icobtn { background: linear-gradient(180deg, var(--card-top), var(--card-bot)); box-shadow: var(--hi), 0 2px 0 var(--edge), 0 6px 10px -6px rgba(20, 27, 77, .25); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.icobtn:hover { transform: translateY(-2px); background: linear-gradient(180deg, var(--card-top), var(--indigo-soft)); box-shadow: var(--hi), 0 4px 0 var(--edge), 0 12px 16px -8px rgba(35, 57, 168, .35); }
.icobtn:active { transform: translateY(1px); box-shadow: var(--well); }
.link { transition: color .15s; } .link:hover { color: var(--indigo-d); }

/* ---- isian: cekung, menyala saat fokus ---- */
input[type='text'], input[type='number'], input[type='password'], input[type='search'], select, textarea {
  background: color-mix(in srgb, var(--surface) 70%, var(--surface-2)); border-color: var(--line); box-shadow: var(--well);
  transition: border-color .2s, box-shadow .25s var(--ease), background .2s, transform .2s var(--ease); }
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--indigo) 40%, var(--line)); }
input:focus, select:focus, textarea:focus { background: var(--surface); border-color: var(--indigo); box-shadow: var(--well), 0 0 0 4px color-mix(in srgb, var(--indigo) 20%, transparent), 0 10px 20px -12px rgba(47, 79, 208, .5); }
.field > label, .lab { transition: color .2s; }
.field:focus-within > label, .field:focus-within > .lab { color: var(--indigo); }
.seg button { background: linear-gradient(180deg, var(--card-top), var(--card-bot)); box-shadow: var(--hi), 0 2px 0 var(--edge), 0 5px 8px -5px rgba(20, 27, 77, .2);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s; }
.seg button:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--indigo) 50%, var(--line)); box-shadow: var(--hi), 0 4px 0 var(--edge), 0 10px 14px -8px rgba(35, 57, 168, .35); }
.seg button:active { transform: translateY(1px); }
.seg button[aria-pressed='true'] { background: linear-gradient(180deg, color-mix(in srgb, var(--indigo) 82%, #fff), var(--indigo)); color: #fff; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25), 0 0 0 3px color-mix(in srgb, var(--indigo) 20%, transparent); transform: translateY(1px); }
.num { box-shadow: var(--well); } .num button { transition: background .15s, transform .12s; } .num button:active { transform: scale(.88); }

/* ---- bilah atas: kaca ---- */
.top { background: color-mix(in srgb, var(--bg2) 72%, transparent); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 24px -18px rgba(20, 27, 77, .4); }
.logo { background: linear-gradient(145deg, color-mix(in srgb, var(--indigo) 70%, #fff) 0%, var(--indigo) 45%, var(--indigo-d) 100%); border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -3px 5px rgba(0, 0, 0, .2), 0 3px 0 var(--indigo-d), 0 8px 12px -4px rgba(35, 57, 168, .55);
  transition: transform .5s var(--spring); transform-style: preserve-3d; }
.logo::after { background: linear-gradient(135deg, #FFE08C, var(--gold)); box-shadow: 0 2px 0 var(--gold-d), 0 4px 6px rgba(0, 0, 0, .2); transition: transform .5s var(--spring); }
.brand:hover .logo { transform: perspective(300px) rotateY(-18deg) rotateX(8deg) translateY(-2px); }
.brand:hover .logo::after { transform: translate(2px, 2px) rotate(12deg); }
.brand:active .logo { transform: translateY(2px) scale(.96); }

/* ---- navigasi langkah: tuts bertingkat dengan sorot yang meluncur ---- */
.rail { position: relative; display: flex; gap: 6px; overflow: visible; padding: 0; margin: 0; border: 0; }
.rail-glow { position: absolute; z-index: 0; pointer-events: none; border-radius: 14px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--indigo-soft) 70%, #fff), var(--indigo-soft));
  border: 1px solid color-mix(in srgb, var(--indigo) 55%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 3px 0 color-mix(in srgb, var(--indigo) 38%, var(--line)), 0 12px 20px -10px rgba(47, 79, 208, .5);
  transition: transform .55s var(--spring); }
.rail button { position: relative; z-index: 1; background: transparent; border: 1px solid transparent; border-radius: 14px; box-shadow: none; color: var(--ink-2);
  transition: color .25s, background .25s, transform .25s var(--ease); }
.rail button:not([disabled]):not([aria-current]):hover { background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--ink); transform: translateX(3px); }
.rail button[aria-current='step'] { background: transparent; border-color: transparent; color: var(--ink); font-weight: 600; }
.rail .dot { transition: transform .4s var(--spring), background .3s, color .3s, box-shadow .3s; box-shadow: var(--hi), 0 2px 0 var(--edge); background: linear-gradient(180deg, var(--card-top), var(--card-bot)); }
.rail button:not([disabled]):hover .dot { transform: scale(1.12) rotate(-6deg); }
.rail button[aria-current='step'] .dot { background: linear-gradient(180deg, color-mix(in srgb, var(--indigo) 80%, #fff), var(--indigo)); color: #fff; transform: scale(1.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 3px 0 var(--indigo-d), 0 6px 10px -4px rgba(35, 57, 168, .6); }
.rail button.done .dot { background: linear-gradient(180deg, #fff, var(--ok-soft)); color: var(--ok); box-shadow: var(--hi), 0 2px 0 color-mix(in srgb, var(--ok) 30%, var(--edge)); }
.rail button[disabled] { opacity: .42; }

@media (min-width: 960px) {
  .rail { flex-direction: column; position: sticky; top: 84px; align-self: start; padding: 0 0 0 20px; gap: 6px; width: 100%; }
  .rail::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(180deg, var(--pen), color-mix(in srgb, var(--pen) 30%, transparent)); border-radius: 2px; }
  .rail button { height: 54px; width: 100%; padding: 0 12px 0 10px; display: flex; align-items: center; gap: 12px; text-align: left; }
  .rail .dot { width: 30px; height: 30px; flex: none; }
  .rail-glow { left: 20px; right: 0; top: 0; height: 54px; transform: translateY(calc(var(--i, 0) * 60px)); }
}
@media (max-width: 959.98px) {
  .shell { padding-bottom: 120px; }
  .rail { position: fixed; z-index: 40; left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 0; padding: 6px; border-radius: 22px;
    background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
    border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 2px 0 var(--edge), 0 18px 34px -10px rgba(20, 27, 77, .5); }
  .rail button { flex-direction: column; justify-content: center; gap: 3px; min-height: 56px; padding: 6px 2px; display: flex; align-items: center; min-width: 0; border-radius: 17px; }
  .rail .dot { width: 26px; height: 26px; }
  .rail .rl { font-size: 10.5px; line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rail button:not([disabled]):not([aria-current]):hover { transform: translateY(-2px); }
  .rail-glow { left: 6px; top: 6px; bottom: 6px; border-radius: 17px; width: calc((100% - 12px) / var(--n, 6)); transform: translateX(calc(var(--i, 0) * 100%)); }
  #toasts { bottom: 96px; }
}

/* ---- lembar kerja: lempeng bertingkat ---- */
.sheet { background: linear-gradient(180deg, var(--card-top), var(--card-bot)); border: 1px solid color-mix(in srgb, var(--line) 85%, #fff); border-radius: 22px;
  box-shadow: var(--hi), 0 2px 0 var(--edge), var(--sh1); }
.sheet::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 22px 22px 0 0; background: linear-gradient(90deg, var(--indigo), color-mix(in srgb, var(--indigo) 50%, var(--gold)) 60%, var(--gold)); opacity: .9; }
.sheet > h2 { font-size: 27px; }
.sub { border-top: 1px solid var(--line-2); box-shadow: 0 -1px 0 rgba(255, 255, 255, .6); }
.foot { border-top: 1px solid var(--line-2); }

/* kartu-kartu kecil: terangkat saat disentuh */
.cp-el, .krow, .batch, .soal-card, .stat, .mapel-list, .note, .promptbox {
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .25s, background .25s, opacity .25s; }
.cp-el, .krow, .batch, .soal-card { background: linear-gradient(180deg, var(--card-top), var(--card-bot)); box-shadow: var(--hi), 0 1px 0 var(--edge), var(--sh2); }
.cp-el:hover, .krow:hover, .batch:hover, .soal-card:hover { transform: translateY(-3px); box-shadow: var(--hi), 0 2px 0 var(--edge), var(--sh-hover); border-color: color-mix(in srgb, var(--indigo) 30%, var(--line)); }
.stat { background: linear-gradient(180deg, var(--card-top), var(--surface-2)); box-shadow: var(--hi), 0 2px 0 var(--edge), 0 10px 14px -10px rgba(20, 27, 77, .25); }
.stat:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--hi), 0 3px 0 var(--edge), 0 16px 22px -10px rgba(35, 57, 168, .35); }
.promptbox, .mapel-list { box-shadow: var(--well); }
.note { box-shadow: var(--hi), 0 3px 8px -5px rgba(20, 27, 77, .2); }
.chip { background: linear-gradient(180deg, var(--card-top), var(--surface-2)); box-shadow: var(--hi), 0 1px 0 var(--edge); }
.chip.ok { background: linear-gradient(180deg, #fff, var(--ok-soft)); } .chip.warn { background: linear-gradient(180deg, #fff, var(--warn-soft)); }
.chip.bad { background: linear-gradient(180deg, #fff, var(--pen-soft)); } .chip.ind { background: linear-gradient(180deg, #fff, var(--indigo-soft)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .chip.ok, :root:not([data-theme='light']) .chip.warn, :root:not([data-theme='light']) .chip.bad, :root:not([data-theme='light']) .chip.ind { background: var(--surface-2); } }
:root[data-theme='dark'] .chip.ok, :root[data-theme='dark'] .chip.warn, :root[data-theme='dark'] .chip.bad, :root[data-theme='dark'] .chip.ind { background: var(--surface-2); }
.mapel-list button { transition: background .2s, padding-left .25s var(--ease); }
.mapel-list button:hover { padding-left: 20px; }
.langkah > .n { background: linear-gradient(180deg, #FFD777, var(--gold)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 3px 0 var(--gold-d), 0 8px 12px -6px rgba(201, 138, 18, .6); }
.kosong { background: color-mix(in srgb, var(--surface) 55%, transparent); transition: border-color .3s, background .3s; } .kosong:hover { border-color: color-mix(in srgb, var(--indigo) 45%, var(--line)); background: var(--surface); }

/* ---- tab dokumen & pratinjau kertas ---- */
.tabs button { background: linear-gradient(180deg, var(--card-top), var(--card-bot)); transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s; box-shadow: var(--hi); }
.tabs button:not([disabled]):hover { transform: translateY(-3px); }
.tabs button[aria-selected='true'] { background: linear-gradient(180deg, #fff, var(--gold-soft)); transform: translateY(-2px); box-shadow: var(--hi), 0 -6px 12px -8px rgba(201, 138, 18, .5); }
.pratinjau { box-shadow: var(--well); perspective: 1600px; }
.paper { transition: box-shadow .4s var(--ease); box-shadow: 0 1px 1px rgba(20, 27, 77, .12), 0 6px 10px -4px rgba(20, 27, 77, .2), 0 28px 50px -22px rgba(20, 27, 77, .55), 0 0 0 1px rgba(20, 27, 77, .06); }

/* ---- kartu miring mengikuti kursor ---- */
.tilt { --rx: 0deg; --ry: 0deg; position: relative; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .35s var(--ease); will-change: transform; }
.tilt.on { transition: transform .12s linear, box-shadow .35s var(--ease); }
.tilt::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 45%); mix-blend-mode: soft-light; }
.tilt.on::after { opacity: 1; }
.paketcard { background: linear-gradient(180deg, var(--card-top), var(--card-bot)); border-top-width: 5px; box-shadow: var(--hi), 0 2px 0 var(--edge), var(--sh2); }
.paketcard.tilt.on { box-shadow: var(--hi), 0 3px 0 var(--edge), var(--sh-hover); }
.paketcard h3, .paketcard .meta, .paketcard .row, .paketcard .acts { transform: translateZ(18px); }

/* ---- gerbang ---- */
.kartu-masuk { background: linear-gradient(180deg, var(--card-top), var(--card-bot)); border-radius: 26px; box-shadow: var(--hi), 0 3px 0 var(--edge), var(--sh1); padding: 32px 28px; }
.kartu-masuk > * { transform: translateZ(14px); }
.gate h1 { text-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0 12px 22px rgba(47, 79, 208, .15); }
.tumpuk { perspective: 1100px; --px: 0; --py: 0; transition: --s .7s var(--ease); height: 250px; }
.tumpuk:hover { --s: 1.55; }
.tumpuk .lb { --d: 10; border-radius: 9px; border-color: #D3D9EE; transform-origin: 50% 100%;
  transform: translate3d(calc(var(--px) * var(--d) * 1px), calc(var(--py) * var(--d) * .5px), 0) rotate(calc(var(--r, 0deg) * var(--s)));
  box-shadow: 0 1px 0 #fff inset, 0 2px 0 #C6CEE8, 0 3px 0 #fff, 0 4px 0 #D3D9EE, 0 22px 30px -14px rgba(20, 27, 77, .5);
  transition: translate .45s var(--spring), box-shadow .35s, transform .25s ease-out; }
.tumpuk .lb:hover { translate: 0 -20px; z-index: 9; box-shadow: 0 1px 0 #fff inset, 0 2px 0 #C6CEE8, 0 3px 0 #fff, 0 4px 0 #D3D9EE, 0 36px 40px -16px rgba(35, 57, 168, .6); }
.tumpuk .lb:nth-child(1) { --r: -9deg; transform: translate3d(calc(var(--px) * var(--d) * 1px), calc(var(--py) * var(--d) * .5px), 0) rotate(calc(-9deg * var(--s))); }
.tumpuk .lb:nth-child(2) { transform: translate3d(calc(var(--px) * var(--d) * 1px), calc(var(--py) * var(--d) * .5px), 0) rotate(calc(-4deg * var(--s))); }
.tumpuk .lb:nth-child(3) { transform: translate3d(calc(var(--px) * var(--d) * 1px), calc(var(--py) * var(--d) * .5px), 0) rotate(calc(1deg * var(--s))); }
.tumpuk .lb:nth-child(4) { transform: translate3d(calc(var(--px) * var(--d) * 1px), calc(var(--py) * var(--d) * .5px), 0) rotate(calc(5deg * var(--s))); }
.tumpuk .lb:nth-child(5) { transform: translate3d(calc(var(--px) * var(--d) * 1px), calc(var(--py) * var(--d) * .5px), 0) rotate(calc(10deg * var(--s))); }
.tumpuk .lb:nth-child(2) { left: calc(60px * var(--s)); } .tumpuk .lb:nth-child(3) { left: calc(120px * var(--s)); }
.tumpuk .lb:nth-child(4) { left: calc(180px * var(--s)); } .tumpuk .lb:nth-child(5) { left: calc(240px * var(--s)); }
.tumpuk { max-width: 560px; }

/* ---- masuk: gerak per tampilan, mengikuti arah langkah ---- */
@keyframes lembarMasuk { from { opacity: 0; transform: perspective(1400px) translate3d(calc(var(--dir, 1) * 26px), 14px, 0) rotateY(calc(var(--dir, 1) * -3deg)); } to { opacity: 1; transform: none; } }
@keyframes naikMasuk { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.work.enter > .sheet { animation: lembarMasuk .6s var(--ease) both; }
.work.enter > .sheet:nth-child(2) { animation-delay: .06s; } .work.enter > .sheet:nth-child(3) { animation-delay: .12s; }
.work.enter .langkah, .work.enter .krow, .work.enter .cp-el { animation: naikMasuk .5s var(--ease) both; }
.work.enter .langkah:nth-child(2), .work.enter .krow:nth-child(2), .work.enter .cp-el:nth-child(2) { animation-delay: .08s; }
.work.enter .langkah:nth-child(3), .work.enter .krow:nth-child(3), .work.enter .cp-el:nth-child(3) { animation-delay: .14s; }
.work.enter .krow:nth-child(n+4), .work.enter .cp-el:nth-child(n+4) { animation-delay: .2s; }
.shell.enter[data-mode='home'] .sheet { animation: naikMasuk .6s var(--ease) both; }
.shell.enter[data-mode='home'] .paketcard { animation: naikMasuk .55s var(--ease) both; animation-delay: calc(.08s + var(--k, 0) * .06s); }
.rail { animation: none; }
.shell[data-mode='paket'] > .rail { animation: naikMasuk .5s var(--ease) both; }
.gate > div, .gate .kartu-masuk { animation: naikMasuk .7s var(--ease) both; } .gate .kartu-masuk { animation-delay: .12s; }
.toast { animation: naikMasuk .35s var(--spring) both; box-shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 16px 28px -10px rgba(0, 0, 0, .5); }
dialog[open] { animation: naikMasuk .3s var(--spring); }

@media (prefers-reduced-motion: reduce) { .tilt, .tumpuk .lb { transform: none !important; } html { scroll-behavior: auto; } }

.rail .rs { display: none; }
@media (max-width: 959.98px) { .rail .rl { display: none; } .rail .rs { display: block; font-size: 10.5px; line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* gelap: kontras tombol & penanda selesai */
:root[data-theme='dark'] .btn:not(.ghost):not(.gold):not(.danger) { color: #0A0F2B; }
:root[data-theme='dark'] .rail button.done .dot { background: var(--ok-soft); }
:root[data-theme='dark'] .rail button[aria-current='step'] .dot, :root[data-theme='dark'] .seg button[aria-pressed='true'] { color: #0A0F2B; }
:root[data-theme='dark'] .rail-glow { background: linear-gradient(180deg, #243079, var(--indigo-soft)); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn:not(.ghost):not(.gold):not(.danger) { color: #0A0F2B; }
  :root:not([data-theme='light']) .rail button.done .dot { background: var(--ok-soft); }
  :root:not([data-theme='light']) .rail button[aria-current='step'] .dot, :root:not([data-theme='light']) .seg button[aria-pressed='true'] { color: #0A0F2B; }
  :root:not([data-theme='light']) .rail-glow { background: linear-gradient(180deg, #243079, var(--indigo-soft)); }
}

/* =====================================================================
   Ujian online — halaman siswa, dashboard guru
   ===================================================================== */
.kode-chip { font: 700 15px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; padding: 8px 12px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-ink); border: 1px solid color-mix(in srgb, var(--gold-d) 40%, transparent); box-shadow: var(--hi), 0 2px 0 var(--gold-d); }
:root[data-theme='dark'] .kode-chip { color: var(--gold); }
.ringkas .stat.warn { background: linear-gradient(180deg, #fff, var(--warn-soft)); }
.nowrap { white-space: nowrap; }
.pre { white-space: pre-wrap; word-break: break-word; }
dialog.dlg-lebar { width: min(94vw, 820px); max-width: none; max-height: 92vh; overflow: auto; }
dialog h3 { font-size: 18px; margin-bottom: 4px; }
.sx-nilai { display: inline-flex; flex-direction: column; align-items: center; padding: 14px 34px; margin: 14px 0 6px; border-radius: 22px; background: linear-gradient(180deg, color-mix(in srgb, var(--indigo) 80%, #fff), var(--indigo-d)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 5px 0 #1B2C85, 0 22px 30px -12px rgba(35, 57, 168, .6); }
.sx-nilai b { font: 700 54px/1 var(--serif); letter-spacing: -.02em; } .sx-nilai span { font-size: 12.5px; opacity: .85; }
.sx-nilai.sm { padding: 6px 18px; margin: 0; border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 3px 0 #1B2C85; } .sx-nilai.sm b { font-size: 28px; }
:root[data-theme='dark'] .sx-nilai { color: #0A0F2B; background: linear-gradient(180deg, #B6C6FF, var(--indigo)); }

/* siswa */
body.siswa { min-height: 100vh; }
.sx-center { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.sx-card { width: min(100%, 460px); border-left-width: 1px; border-top: 5px solid var(--indigo); }
.sx-card.kartu-masuk { border-left: 1px solid var(--line); }
.sx-judul { font-family: var(--serif); font-size: 26px; margin-top: 18px; letter-spacing: -.02em; }
.sx-kode { text-align: center; font: 700 28px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .3em; text-transform: uppercase; min-height: 58px; }
.sx-centang { width: 76px; height: 76px; margin: 22px auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; font-weight: 700; color: #fff; background: linear-gradient(180deg, #5BD39A, #17784A); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), 0 5px 0 #0E5434, 0 18px 26px -10px rgba(23, 120, 74, .6); animation: pop .6s var(--spring) both; }
@keyframes pop { from { transform: scale(.3) rotate(-25deg); opacity: 0; } }
.sx-top .judul { line-height: 1.25; }
.sx-timer { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; font: 700 17px/1 ui-monospace, Menlo, Consolas, monospace; background: linear-gradient(180deg, var(--card-top), var(--surface-2)); border: 1px solid var(--line); box-shadow: var(--hi), 0 3px 0 var(--edge); font-variant-numeric: tabular-nums; }
.sx-timer.mepet { color: #fff; background: linear-gradient(180deg, #F0705F, var(--pen)); border-color: var(--pen); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 3px 0 #9B2A1D; animation: denyut 1s ease-in-out infinite; }
@keyframes denyut { 50% { transform: scale(1.05); } }
.sx-main { display: grid; gap: 16px; max-width: 1180px; margin: 0 auto; padding: 16px 16px 120px; }
@media (min-width: 960px) { .sx-main { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; padding-top: 24px; } .sx-nav { position: sticky; top: 84px; } }
.sx-nav { background: linear-gradient(180deg, var(--card-top), var(--card-bot)); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: var(--hi), 0 2px 0 var(--edge), var(--sh2); }
.sx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 8px; margin-bottom: 14px; }
.sx-g { min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-top), var(--card-bot)); font-weight: 600; cursor: pointer; box-shadow: var(--hi), 0 2px 0 var(--edge); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; position: relative; }
.sx-g:hover { transform: translateY(-2px); box-shadow: var(--hi), 0 4px 0 var(--edge), 0 10px 14px -8px rgba(35, 57, 168, .4); }
.sx-g.sel { background: linear-gradient(180deg, color-mix(in srgb, var(--indigo) 80%, #fff), var(--indigo)); color: #fff; border-color: var(--indigo-d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 2px 0 var(--indigo-d); }
.sx-g.ragu::after { content: ''; position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 2px solid var(--surface); box-shadow: 0 1px 0 var(--gold-d); }
.sx-g.cur { outline: 3px solid var(--gold); outline-offset: 2px; transform: translateY(-2px); }
:root[data-theme='dark'] .sx-g.sel { color: #0A0F2B; }
.sx-legenda { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.sx-legenda i.g { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 5px; vertical-align: -1px; border: 1px solid var(--line); background: var(--surface); }
.sx-legenda i.sel { background: var(--indigo); border-color: var(--indigo); } .sx-legenda i.ragu { background: var(--gold); border-color: var(--gold-d); }
.sx-soal { margin: 0; }
.sx-no { font: 700 22px/1.1 var(--serif); } .sx-no small { font: 400 13px var(--display); color: var(--muted); }
.sx-stim { margin: 16px 0 8px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border-left: 4px solid var(--gold); font-family: var(--serif); font-size: 17px; line-height: 1.65; }
.sx-tanya { margin: 16px 0; font-family: var(--serif); font-size: 19px; line-height: 1.6; }
.dgambar-s { margin: 10px 0; padding: 14px; text-align: center; font-style: italic; color: var(--muted); border: 2px dashed var(--line); border-radius: 12px; }
.sx-opsi { display: grid; gap: 10px; }
.sx-o { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: linear-gradient(180deg, var(--card-top), var(--card-bot)); cursor: pointer; font-size: 16px; line-height: 1.45; min-height: 52px;
  box-shadow: var(--hi), 0 3px 0 var(--edge), 0 8px 12px -8px rgba(20, 27, 77, .25); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s, background .2s; }
.sx-o:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--indigo) 50%, var(--line)); box-shadow: var(--hi), 0 5px 0 var(--edge), 0 14px 18px -10px rgba(35, 57, 168, .4); }
.sx-o:active { transform: translateY(2px); box-shadow: var(--well); }
.sx-o .k { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line); transition: background .2s, color .2s, transform .3s var(--spring); }
.sx-o .k.sq { border-radius: 10px; }
.sx-o .t { min-width: 0; }
.sx-o.on { border-color: var(--indigo); background: linear-gradient(180deg, color-mix(in srgb, var(--indigo-soft) 70%, #fff), var(--indigo-soft)); box-shadow: inset 0 2px 4px rgba(35, 57, 168, .15), 0 0 0 3px color-mix(in srgb, var(--indigo) 20%, transparent); transform: translateY(1px); }
.sx-o.on .k { background: var(--indigo); color: #fff; border-color: var(--indigo-d); transform: scale(1.1); }
:root[data-theme='dark'] .sx-o.on .k { color: #0A0F2B; }
.sx-kat, .sx-jd { display: grid; gap: 10px; }
.sx-kr { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.sx-tg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .sx-tg .sx-o { justify-content: center; min-height: 46px; font-weight: 600; }
.sx-jk { padding: 12px 14px; border-radius: 14px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold-d) 30%, transparent); display: grid; gap: 4px; }
.sx-isian { font-size: 18px; min-height: 54px; } .sx-uraian { font-size: 16px; min-height: 180px; }
.sx-bar { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; justify-content: center; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg2) 80%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.sx-bar .btn { flex: 1; max-width: 220px; }
#bRagu.on { background: linear-gradient(180deg, #FFE3A0, var(--gold-soft)); border-color: var(--gold-d); color: var(--gold-ink); }
.sx-overlay { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(10, 15, 43, .6); backdrop-filter: blur(4px); padding: 16px; }
.sx-pb { text-align: left; margin-top: 14px; } .sx-pb summary { cursor: pointer; font-weight: 600; } .sx-pbr { padding: 10px 0; border-top: 1px dashed var(--line); }
.simpan.bad { color: var(--pen); }
@media (max-width: 600px) { .sx-top .judul { font-size: 12px; } .sx-timer { padding: 6px 10px; font-size: 15px; } }
table.sx td, table.sx th { font-family: var(--serif); }

/* dashboard guru */
.gd { max-width: 1180px; margin: 0 auto; padding: 22px 16px 80px; display: grid; gap: 16px; }
.gd-kode { display: grid; gap: 18px; margin-top: 18px; padding: 16px; border-radius: 18px; background: var(--surface-2); box-shadow: var(--well); }
@media (min-width: 700px) { .gd-kode { grid-template-columns: auto 1fr; align-items: center; } }
.kode-besar { display: block; font: 700 38px/1.1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; color: var(--indigo); text-shadow: 0 2px 0 var(--edge); }
.tautan { display: block; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; overflow-wrap: anywhere; box-shadow: var(--well); }
.gd-stat { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.gd-tbl tr { transition: background .2s; } .gd-tbl tbody tr:hover { background: var(--surface-2); }
.gd-tbl tr.selesai td:first-child { box-shadow: inset 3px 0 0 var(--ok); } .gd-tbl tr.mengerjakan td:first-child { box-shadow: inset 3px 0 0 var(--indigo); }
.bar { position: relative; height: 22px; border-radius: 8px; background: var(--surface-2); box-shadow: var(--well); overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--indigo) 70%, #fff), var(--indigo)); transition: width .8s var(--ease); }
.bar i.bad { background: linear-gradient(180deg, #F0705F, var(--pen)); } .bar i.ok { background: linear-gradient(180deg, #5BD39A, var(--ok)); }
.bar span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; mix-blend-mode: normal; color: var(--ink); text-shadow: 0 0 4px var(--surface); }
.gd-soal { border: 1px solid var(--line); border-left-width: 5px; border-radius: 14px; padding: 12px 14px; background: var(--surface); display: grid; gap: 8px; }
.gd-soal.ok { border-left-color: var(--ok); } .gd-soal.salah { border-left-color: var(--pen); } .gd-soal.sebagian { border-left-color: var(--gold); }
.gd-tanya { font-family: var(--serif); font-size: 15.5px; } .gd-j { padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.gd-rub { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.rb { display: flex; gap: 8px; align-items: center; text-align: left; max-width: 300px; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-top), var(--card-bot)); cursor: pointer; font-size: 12.5px; box-shadow: var(--hi), 0 2px 0 var(--edge); transition: transform .2s var(--ease), background .2s; }
.rb:hover { transform: translateY(-2px); } .rb b { font-size: 16px; color: var(--indigo); } .rb.on { background: var(--indigo-soft); border-color: var(--indigo); box-shadow: var(--well); }
.kode-raksasa { font: 700 clamp(56px, 16vw, 140px)/1.1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .18em; color: var(--indigo); }
dialog.kode-layar { width: min(96vw, 1000px); }
@media print { #cetak .dtitle { text-align: center; } }
.sx-bar .btn { white-space: nowrap; padding-inline: 12px; }
@media (max-width: 420px) { .sx-bar { gap: 8px; padding-inline: 10px; } .sx-bar .btn { font-size: 13.5px; } }

/* ---- gambar soal ---- */
.paper .dfig { text-align: center; margin: 2pt 0 5pt; } .paper .dfig img { display: inline-block; height: auto; border: .5pt solid #c9d0e6; }
.sx-img, .gd-img { margin: 12px 0; text-align: center; } .sx-img img, .gd-img img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; box-shadow: 0 2px 0 var(--edge), 0 14px 22px -14px rgba(20, 27, 77, .4); }
.gd-img img { max-height: 220px; }
.gbr { padding: 12px 16px 14px; border-top: 1px dashed var(--line); display: grid; gap: 10px; background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.gbr-h { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.gbr-i { display: grid; gap: 12px; grid-template-columns: 120px 1fr; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.gbr-i:hover { transform: translateY(-2px); box-shadow: var(--sh2); }
.gbr-i.kosong-g { border-style: dashed; border-color: var(--gold-d); background: var(--gold-soft); }
.gbr-t { display: grid; place-items: center; min-height: 90px; border-radius: 10px; background: var(--surface-2); box-shadow: var(--well); overflow: hidden; font-size: 12px; color: var(--muted); text-align: center; padding: 4px; }
.gbr-t img { width: 100%; height: 100%; object-fit: contain; max-height: 110px; }
.gbr-b { display: grid; gap: 8px; min-width: 0; align-content: start; }
@media (max-width: 520px) { .gbr-i { grid-template-columns: 1fr; } }

/* logo = favicon baru (Z putih dengan diagonal emas) */
.logo { font-size: 0; color: transparent; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 64%22%3E%3Cdefs%3E%3ClinearGradient id=%22b%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%235566F2%22/%3E%3Cstop offset=%221%22 stop-color=%22%231B2594%22/%3E%3C/linearGradient%3E%3ClinearGradient id=%22g%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23FFE48F%22/%3E%3Cstop offset=%221%22 stop-color=%22%23F2A81E%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width=%2264%22 height=%2264%22 rx=%2216%22 fill=%22url(%23b)%22/%3E%3Cpath d=%22M17 19.5H47L17 44.5H47%22 fill=%22none%22 stroke=%22%230A1160%22 stroke-opacity=%22.45%22 stroke-width=%227.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 transform=%22translate(0 3)%22/%3E%3Cpath d=%22M17 19.5H47L17 44.5H47%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%227.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3Cpath d=%22M45 21L19 43%22 fill=%22none%22 stroke=%22url(%23g)%22 stroke-width=%227.4%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") center / cover no-repeat; box-shadow: 0 3px 0 #141C78, 0 10px 14px -6px rgba(27, 37, 148, .6); }
.logo::after { display: none; }
.gate h1 { max-width: 15ch; }
