/* Panduan online SIMEKAR (/guidance) — gaya situs dokumentasi. Properti logis (inline-start/end) agar RTL (Arab) ikut benar. */
@font-face { font-family: "Jakarta"; src: url("../v2/fonts/jakarta-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
    --bg: #ffffff;
    --bg-soft: #f6f7fb;
    --bg-side: #fafbfd;
    --surface: #ffffff;
    --ink: #172036;
    --ink-2: #3c4660;
    --muted: #6b7489;
    --line: #e5e8f0;
    --line-2: #d6dbe7;
    --navy: #0a1a3f;
    --navy-2: #1b3a7a;
    --brand: #1f4fb4;
    --brand-soft: #eaf0fd;
    --gold: #c99a2e;
    --gold-soft: #fbf3df;
    --red: #e5484d;
    --ok: #12855f;
    --ok-soft: #e6f6ef;
    --warn: #a35c00;
    --warn-soft: #fff4e0;
    --danger-soft: #fdecec;
    --code: #f1f3f8;
    --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
    --radius: 12px;
    --top-h: 64px;
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0b1222; --bg-soft: #0f182b; --bg-side: #0d1527; --surface: #121c31;
        --ink: #e7ecf6; --ink-2: #c3cbe0; --muted: #8e98b1; --line: #1f2b45; --line-2: #2a3857;
        --navy: #e7ecf6; --navy-2: #9db7ff; --brand: #8fb0ff; --brand-soft: #18264a; --gold: #e2b54e; --gold-soft: #2a2414;
        --ok: #4cc79a; --ok-soft: #10291f; --warn: #f0b354; --warn-soft: #2b2112; --danger-soft: #2e1517; --code: #18233b;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --bg: #0b1222; --bg-soft: #0f182b; --bg-side: #0d1527; --surface: #121c31;
    --ink: #e7ecf6; --ink-2: #c3cbe0; --muted: #8e98b1; --line: #1f2b45; --line-2: #2a3857;
    --navy: #e7ecf6; --navy-2: #9db7ff; --brand: #8fb0ff; --brand-soft: #18264a; --gold: #e2b54e; --gold-soft: #2a2414;
    --ok: #4cc79a; --ok-soft: #10291f; --warn: #f0b354; --warn-soft: #2b2112; --danger-soft: #2e1517; --code: #18233b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.7 "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; overflow-x: hidden; top: 0 !important; }
a { color: var(--brand); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
.ic { flex: none; vertical-align: middle; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 40; height: var(--top-h); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { height: 100%; max-width: 1480px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand img { width: 34px; height: 34px; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-size: 1rem; letter-spacing: .01em; color: var(--navy); }
.brand strong em { font-style: normal; color: var(--gold); }
.brand small { font-size: .72rem; color: var(--muted); }
.search-btn { margin-inline-start: 18px; display: flex; align-items: center; gap: 10px; width: min(360px, 32vw); height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-soft); color: var(--muted); cursor: pointer; text-align: start; }
.search-btn span { flex: 1; font-size: .9rem; }
.search-btn kbd { font: 600 .7rem/1 "Jakarta", sans-serif; padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface); }
.search-btn:hover { border-color: var(--brand); }
.top-act { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--bg-soft); border-color: var(--line); }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: inline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: none; } :root:not([data-theme="light"]) .i-moon { display: inline; } }
.btn-open { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px; background: var(--navy); color: var(--bg); font-weight: 600; font-size: .88rem; text-decoration: none; white-space: nowrap; }
:root[data-theme="dark"] .btn-open { background: var(--gold); color: #1b1404; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-open { background: var(--gold); color: #1b1404; } }
.only-sm { display: none; }

/* Pemilih bahasa */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; font-size: .86rem; font-weight: 600; }
.lang-btn:hover { border-color: var(--brand); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); width: 260px; max-height: min(70vh, 460px); overflow: auto; padding: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 60; }
.lang-menu button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; cursor: pointer; text-align: start; font-size: .9rem; color: var(--ink); }
.lang-menu button small { color: var(--muted); font-size: .74rem; }
.lang-menu button:hover, .lang-menu button[aria-selected="true"] { background: var(--brand-soft); }
.lang-menu .lang-sep { margin: 6px 8px; border-top: 1px solid var(--line); }
.lang-menu .lang-cap { padding: 6px 10px 2px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Bar terjemahan + sembunyikan UI bawaan Google Translate */
.tr-bar { display: flex; align-items: center; gap: 10px; padding: 8px 20px; background: var(--gold-soft); color: var(--ink-2); font-size: .82rem; border-bottom: 1px solid var(--line); }
.tr-bar[hidden] { display: none; }
.tr-bar > span { flex: 1; }
.tr-bar button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 8px; padding: 4px 10px; cursor: pointer; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.goog-te-banner-frame, iframe.skiptranslate, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
.goog-text-highlight, font[style] { background: none !important; box-shadow: none !important; }
body > .skiptranslate { display: none !important; }

/* ---------- Kerangka dokumen ---------- */
.shell { max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: 280px minmax(0, 1fr) 230px; }
.side { position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow: auto; border-inline-end: 1px solid var(--line); background: var(--bg-side); scrollbar-width: thin; }
.side-in { padding: 20px 14px 40px; }
.side-peran { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.side-peran-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: var(--bg); }
.side-peran span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.side-peran small { font-size: .72rem; color: var(--muted); }
.side-grup { margin: 6px 0 14px; }
.side h6 { margin: 0 0 4px; padding: 0 10px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.side li a .ic { color: var(--muted); }
.side li a:hover { background: var(--bg-soft); color: var(--ink); }
.side li a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.side li a[aria-current="page"] .ic { color: var(--brand); }
.side-soon { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.side-soon span, .side-soon a { display: flex; align-items: center; gap: 10px; padding: 6px 10px; font-size: .86rem; color: var(--muted); border-radius: 8px; text-decoration: none; }
.side-soon a { color: var(--ink-2); }
.side-soon a:hover { background: var(--bg-soft); color: var(--ink); }
.side-soon .badge { margin-inline-start: auto; font-size: .62rem; white-space: nowrap; }
/* Tautan kembali ke beranda panduan */
.side-home { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 7px 10px; border-radius: 8px; color: var(--muted); font-size: .85rem; font-weight: 600; text-decoration: none; }
.side-home:hover { background: var(--bg-soft); color: var(--brand); }
/* Kelompok sistem yang bisa dilipat */
.side-sys { margin: 4px 0 6px; border-radius: 10px; }
.side-sys > summary { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: pointer; list-style: none; font-size: .9rem; font-weight: 700; color: var(--ink); }
.side-sys > summary::-webkit-details-marker { display: none; }
.side-sys > summary:hover { background: var(--bg-soft); }
.side-sys > summary > span:nth-child(2) { flex: 1; }
.side-sys > summary > .ic:last-child { color: var(--muted); transition: transform .2s; transform: rotate(-90deg); }
[dir="rtl"] .side-sys > summary > .ic:last-child { transform: rotate(90deg); }
.side-sys[open] > summary > .ic:last-child { transform: none; }
.side-sys-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); }
.side-sys[open] > summary { color: var(--brand); }
.side-sys > ul { margin: 2px 0 8px; padding-inline-start: 14px !important; border-inline-start: 2px solid var(--line); margin-inline-start: 23px !important; }
.side-sys > ul li a { padding: 6px 10px; }

.doc { min-width: 0; padding: 28px 48px 64px; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; font-size: .82rem; color: var(--muted); }
.crumb a { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--brand); }
.crumb [aria-current="page"] { color: var(--ink-2); font-weight: 600; }

/* Kartu "Pilih sistem" di halaman peran */
.sys-cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sys-card { position: relative; padding: 20px 18px 16px; border-width: 1px; border-top: 3px solid var(--brand); }
.sys-card .card-ic { width: 46px; height: 46px; background: var(--navy); color: var(--bg); }
.sys-card strong { font-size: 1.05rem; }
.sys-no { position: absolute; top: 14px; inset-inline-end: 16px; font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--line-2); }
.prose h2 .h-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-inline-end: 10px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); vertical-align: -6px; }
[dir="rtl"] .crumb .ic, [dir="rtl"] .pager .ic, [dir="rtl"] .card-go .ic { transform: scaleX(-1); }

.toc { position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow: auto; padding: 32px 16px 32px 0; }
[dir="rtl"] .toc { padding: 32px 0 32px 16px; }
.toc h6 { margin: 0 0 8px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc ul { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--line); }
.toc li a { display: block; margin-inline-start: -2px; padding: 4px 12px; border-inline-start: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .84rem; line-height: 1.4; }
.toc li a:hover { color: var(--ink); }
.toc li a.on { color: var(--brand); border-inline-start-color: var(--brand); font-weight: 600; }

/* ---------- Tipografi isi ---------- */
.prose { max-width: 800px; }
.prose > :first-child { margin-top: 0; }
.prose h1 { margin: 0 0 10px; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.35rem); line-height: 1.2; letter-spacing: -.02em; color: var(--navy); }
.prose .lead { margin: 0 0 26px; font-size: 1.08rem; color: var(--ink-2); }
.prose h2 { margin: 44px 0 12px; padding-top: 8px; font-size: 1.4rem; line-height: 1.3; letter-spacing: -.01em; color: var(--navy); }
.prose h3 { margin: 28px 0 8px; font-size: 1.1rem; color: var(--navy); }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li { margin: 4px 0; }
.prose code, .prose kbd { font: 500 .88em ui-monospace, SFMono-Regular, Consolas, monospace; padding: 2px 6px; border-radius: 6px; background: var(--code); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.prose th { font-weight: 700; color: var(--ink); background: var(--bg-soft); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 24px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .78rem; color: var(--muted); }

/* Label tombol/menu di layar */
.ui { display: inline-block; padding: 0 7px; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9em; line-height: 1.6; white-space: nowrap; }
/* Nomor penanda (sama dengan nomor merah di gambar) */
.mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font: 700 .75rem/1 Arial, sans-serif; vertical-align: 1px; }

/* Langkah bernomor */
.steps { list-style: none; counter-reset: s; padding: 0 !important; margin: 18px 0 24px; }
.steps > li { position: relative; counter-increment: s; padding-inline-start: 50px; margin: 0 0 18px; }
.steps > li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: -1px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--navy); color: var(--bg); font-weight: 700; font-size: .9rem; }
.steps > li::after { content: ""; position: absolute; inset-inline-start: 15px; top: 38px; bottom: -14px; width: 2px; background: var(--line); }
.steps > li:last-child::after { display: none; }
.steps > li > strong:first-child { display: block; color: var(--ink); margin-bottom: 2px; }

/* Gambar tangkapan layar */
.shot { margin: 18px 0 26px; }
.shot-zoom { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow); }
.shot-zoom img { display: block; width: 100%; }
.shot-hint { position: absolute; inset-inline-end: 10px; top: 10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(10, 26, 63, .72); color: #fff; opacity: 0; transition: opacity .2s; }
.shot-zoom:hover .shot-hint, .shot-zoom:focus-visible .shot-hint { opacity: 1; }
.shot figcaption { margin-top: 8px; font-size: .84rem; color: var(--muted); text-align: center; }
.shot-sm { max-width: 520px; }

/* Catatan */
.note { margin: 20px 0; padding: 14px 16px; border-radius: var(--radius); border: 1px solid; border-inline-start-width: 4px; }
.note-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: .92rem; }
.note-body { font-size: .94rem; }
.note-body > :first-child { margin-top: 0; }
.note-body > :last-child { margin-bottom: 0; }
.note-body p, .note-body li { color: var(--ink-2); }
.note-tip { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.note-tip .note-head { color: var(--ok); }
.note-info { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.note-info .note-head { color: var(--brand); }
.note-warning { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.note-warning .note-head { color: var(--warn); }
.note-danger { background: var(--danger-soft); border-color: color-mix(in srgb, var(--red) 35%, transparent); }
.note-danger .note-head { color: var(--red); }

/* Kartu tautan */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 18px 0 28px; }
.card { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.card-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.card strong { font-size: .98rem; color: var(--navy); }
.card span { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.card-go { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--brand) !important; }
.card.soon { opacity: .65; border-style: dashed; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: var(--gold-soft); color: var(--warn); }

/* Tabel definisi ringkas */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 14px 0 22px; padding: 14px 16px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); font-size: .94rem; }
.kv dt { font-weight: 700; color: var(--ink); }
.kv dd { margin: 0; color: var(--ink-2); }

/* Pager */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 800px; margin-top: 48px; }
.pager a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.pager a:hover { border-color: var(--brand); }
.pager small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .78rem; }
.pager strong { color: var(--brand); font-size: .95rem; }
.pg-next { text-align: end; align-items: flex-end; grid-column: 2; }
.doc-help { display: flex; align-items: flex-start; gap: 10px; max-width: 800px; margin-top: 22px; padding: 14px 16px; border-radius: var(--radius); background: var(--bg-soft); color: var(--muted); font-size: .9rem; }

/* ---------- Beranda & gerbang ---------- */
.wide { min-height: calc(100vh - var(--top-h) - 70px); }
.hero { position: relative; overflow: hidden; padding: 64px 20px 56px; background: radial-gradient(1200px 400px at 85% -10%, rgba(201, 154, 46, .25), transparent 60%), linear-gradient(160deg, #0a1a3f 0%, #12306b 60%, #1b3a7a 100%); color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent); pointer-events: none; }
.hero-in { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.hero h1 { margin: 16px 0 10px; font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); line-height: 1.1; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: #f1c766; }
.hero p { max-width: 640px; margin: 0 0 24px; color: rgba(255,255,255,.82); font-size: 1.06rem; }
.hero-search { display: flex; align-items: center; gap: 10px; max-width: 560px; height: 54px; padding: 0 16px; border-radius: 14px; border: 0; background: #fff; color: #6b7489; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 1rem; text-align: start; width: 100%; }
.hero-search span { flex: 1; }
.home { max-width: 1100px; margin: 0 auto; padding: 40px 20px 64px; }
.home h2 { margin: 8px 0 6px; font-size: 1.35rem; color: var(--navy); }
.home > p { margin: 0 0 8px; color: var(--muted); }
.home .cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.peran-card { padding: 22px; }
.peran-card .card-ic { width: 46px; height: 46px; background: var(--navy); color: var(--bg); }
.peran-card strong { font-size: 1.1rem; }
.quick { margin-top: 26px; }

.gate { display: grid; place-items: center; padding: 56px 20px; min-height: calc(100vh - var(--top-h) - 70px); background: radial-gradient(900px 360px at 50% -10%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%), var(--bg-soft); }
.gate-card { width: min(100%, 460px); padding: 30px 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.gate-ic { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 14px; background: var(--navy); color: var(--bg); }
.gate-card h1 { margin: 0 0 6px; font-size: 1.45rem; color: var(--navy); line-height: 1.25; }
.gate-card > p { margin: 0 0 18px; color: var(--muted); font-size: .94rem; }
.gate-card label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .88rem; }
.otp { width: 100%; height: 56px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-soft); color: var(--ink); font: 700 1.5rem/1 ui-monospace, Consolas, monospace; letter-spacing: .5em; text-align: center; }
.otp:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.btn-main { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; margin-top: 14px; border: 0; border-radius: 12px; background: var(--navy); color: var(--bg); font-weight: 700; cursor: pointer; text-decoration: none; }
.btn-main:hover { filter: brightness(1.12); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; margin-top: 10px; border: 1px solid var(--line-2); border-radius: 12px; background: none; color: var(--ink); font-weight: 600; text-decoration: none; }
.gate-err { display: flex; gap: 8px; margin-bottom: 14px; padding: 10px 12px; border-radius: 10px; background: var(--danger-soft); color: var(--red); font-size: .88rem; }
.gate-or { display: flex; align-items: center; gap: 10px; margin: 18px 0 4px; color: var(--muted); font-size: .8rem; }
.gate-or::before, .gate-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.gate-list { margin: 14px 0 0; padding: 0; list-style: none; font-size: .84rem; color: var(--muted); }
.gate-list li { display: flex; gap: 8px; margin: 6px 0; }
.gate-list .ic { color: var(--ok); margin-top: 3px; }
.e404 { max-width: 620px; margin: 0 auto; padding: 90px 20px; text-align: center; }
.e404 h1 { font-size: 2rem; color: var(--navy); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-soft); }
.foot-in { max-width: 1480px; margin: 0 auto; padding: 18px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--muted); }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--brand); }

/* ---------- Dialog cari & zoom ---------- */
dialog { border: 0; padding: 0; background: none; color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(8, 14, 30, .55); backdrop-filter: blur(3px); }
.cari { width: min(640px, calc(100vw - 24px)); margin: 10vh auto auto; }
.cari-box { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; }
.cari-in { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
[dir="rtl"] .cari-in { padding: 8px 16px 8px 8px; }
.cari-in input { flex: 1; height: 46px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 1.02rem; outline: none; }
.cari-in input::-webkit-search-cancel-button { display: none; }
.cari-hasil { list-style: none; margin: 0; padding: 8px; max-height: 60vh; overflow: auto; }
.cari-hasil a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.cari-hasil a small { display: block; color: var(--muted); font-size: .74rem; }
.cari-hasil a strong { display: block; color: var(--navy); font-size: .95rem; }
.cari-hasil a span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.cari-hasil a:hover, .cari-hasil a.on { background: var(--brand-soft); }
.cari-hasil .kosong { padding: 18px; text-align: center; color: var(--muted); font-size: .9rem; }
.zoom { width: 100vw; height: 100vh; margin: 0; display: none; }
.zoom[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 16px 16px; }
.zoom img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 10px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.zoom p { margin: 10px 0 0; color: #fff; font-size: .9rem; text-align: center; }
.zoom-x { position: fixed; top: 10px; inset-inline-end: 10px; background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Responsif ---------- */
@media (max-width: 1200px) {
    .shell { grid-template-columns: 260px minmax(0, 1fr); }
    .toc { display: none; }
    .doc { padding: 26px 32px 56px; }
}
@media (max-width: 920px) {
    :root { --top-h: 58px; }
    .only-sm { display: inline-grid; }
    .search-btn, .btn-open { display: none; }
    .shell { display: block; }
    .side { position: fixed; z-index: 50; top: 0; inset-inline-start: 0; width: min(86vw, 320px); height: 100vh; transform: translateX(-105%); transition: transform .25s ease; box-shadow: var(--shadow); }
    [dir="rtl"] .side { transform: translateX(105%); }
    .side.open { transform: none !important; }
    .side-tutup { position: fixed; inset: 0; z-index: 45; background: rgba(8, 14, 30, .45); }
    .side-tutup[hidden] { display: none; }
    .doc { padding: 20px 16px 48px; }
    .top-in { padding: 0 12px; gap: 6px; }
    .brand small { display: none; }
    .lang-btn #langNow { max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .pager { grid-template-columns: 1fr; }
    .pg-next { grid-column: 1; }
    .hero { padding: 44px 16px 40px; }
    .home { padding: 28px 16px 48px; }
    .steps > li { padding-inline-start: 44px; }
    .kv { grid-template-columns: 1fr; gap: 2px; }
    .kv dd { margin-bottom: 8px; }
}
@media (max-width: 420px) {
    .brand { min-width: 0; gap: 8px; }
    .brand img { width: 30px; height: 30px; }
    .brand span { min-width: 0; overflow: hidden; }
    .brand strong { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .top-act { gap: 2px; }
    .icon-btn { width: 36px; }
    .lang-btn { padding: 0 8px; gap: 4px; }
    .lang-btn > .ic:last-child { display: none; }
}
@media print {
    .top, .side, .toc, .pager, .foot, .tr-bar, .doc-help, .shot-hint { display: none !important; }
    .shell { display: block; }
    .doc { padding: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
