/* Komponen aplikasi mudah alih awam — dari mockup. */
.sb { height: 50px; flex: none; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 30px 6px 34px; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--bg); position: relative; z-index: 5; }
.sb.on-hero { background: var(--hero); color: #fff; }
.sb .ic { display: flex; gap: 6px; align-items: center; }
.sb .ic svg { width: 17px; height: 17px; }
.content { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; position: relative; }
.content::-webkit-scrollbar { display: none; }
.pad { padding: 16px 20px 28px; }

/* bar aplikasi */
.ab { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 12px 10px; background: var(--bg); min-height: 52px; position: relative; z-index: 4; }
.ab.line { border-bottom: 1px solid var(--line); }
.ab h1 { font-size: 17px; font-weight: 700; margin: 0; flex: 1; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ab h1.big { font-size: 26px; letter-spacing: -0.025em; padding-left: 8px; }
.ib { width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; display: grid; place-items: center; color: var(--ink); flex: none; position: relative; }
.ib:hover { background: var(--surface-2); }
.ib .dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; background: var(--acc); border-radius: 50%; box-shadow: 0 0 0 2px var(--bg); }

/* navigasi bawah — 5 menu (urutan ikut Lampiran) */
.bn { flex: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; padding: 6px 2px 26px; background: var(--navb); backdrop-filter: blur(14px); border-top: 1px solid var(--line); position: relative; z-index: 6; }
.bn a { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; letter-spacing: -0.015em; white-space: nowrap; min-width: 0; font-weight: 600; color: var(--ink-3); padding: 6px 0 2px; position: relative; }
.bn a svg { width: 23px; height: 23px; }
.bn a.on { color: var(--pri); }
.bn a .badge { position: absolute; top: 2px; left: calc(50% + 6px); background: var(--acc); color: #fff; font-size: 10px; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; box-shadow: 0 0 0 2px var(--surface); }
.bn a.home .disc { width: 52px; height: 52px; border-radius: 18px; background: var(--surface-2); color: var(--ink-2); display: grid; place-items: center; margin-top: -24px; box-shadow: 0 0 0 4px var(--bg); }
.bn a.home.on .disc { background: var(--pri); color: var(--pri-ink); }
.bn a.home svg { width: 25px; height: 25px; }

/* butang */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 14px; border: 0; font-weight: 700; font-size: 15px; background: var(--pri); color: var(--pri-ink); text-decoration: none; }
.btn:active { transform: scale(.985); }
.btn.sec { background: var(--pri-soft); color: var(--pri-text); }
.btn.ghost { background: transparent; color: var(--pri-text); border: 1.5px solid var(--line); }
.btn.danger { background: var(--acc); color: #fff; }
.btn.block { width: 100%; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { background: none; border: 0; padding: 0; color: var(--pri-text); font-weight: 700; font-size: 14px; }

/* medan borang */
.f { margin-bottom: 16px; }
.f label, .f .lb { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.f label .opt { font-weight: 500; color: var(--ink-3); }
.in { width: 100%; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 14px; font-size: 15px; color: var(--ink); outline: none; transition: border-color .15s; }
.in:focus { border-color: var(--pri); box-shadow: 0 0 0 4px var(--pri-soft); }
textarea.in { height: 132px; padding: 12px 14px; resize: none; line-height: 1.5; }
select.in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; text-overflow: ellipsis; }
.f .help { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; display: flex; justify-content: space-between; gap: 8px; }
.f .help .warn { color: var(--acc); font-weight: 600; }
.pw { position: relative; }
.pw .ib { position: absolute; right: 4px; top: 4px; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.meter i { height: 4px; border-radius: 2px; background: var(--line); }
.meter.s1 i:nth-child(-n+1), .meter.s2 i:nth-child(-n+2) { background: var(--amc); }
.meter.s3 i:nth-child(-n+3), .meter.s4 i { background: var(--okc); }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--pri); margin-top: 1px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.chip.on { border-color: var(--pri); background: var(--pri-soft); color: var(--pri-text); }
.chip.on::before { content: ''; width: 6px; height: 10px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); margin-right: 2px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-2); padding: 4px; border-radius: 14px; gap: 2px; }
.seg button { border: 0; background: none; padding: 9px 6px; border-radius: 10px; font-weight: 600; font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; justify-content: center; gap: 6px; }
.seg button.on { background: var(--surface); color: var(--pri-text); box-shadow: 0 1px 3px rgba(10,14,60,.12); }

/* senarai */
.list { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; }
.row { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 0; background: none; width: 100%; text-align: left; color: var(--ink); position: relative; }
.row + .row::before { content: ''; position: absolute; top: 0; left: 16px; right: 0; border-top: 1px solid var(--line); }
.row .tx { flex: 1; min-width: 0; }
.row .tx strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.row .tx small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.row .chev { color: var(--ink-3); }
.row .lead { width: 40px; height: 40px; border-radius: 12px; background: var(--pri-soft); color: var(--pri-text); display: grid; place-items: center; flex: none; }
.row.unread .tx strong::after { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); margin-left: 8px; vertical-align: 2px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 0 10px; }
.sec-h h2 { font-size: 18px; margin: 0; letter-spacing: -0.015em; }
.sec-h .link { font-size: 13.5px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; border-radius: 6px; padding: 2px 8px; background: var(--surface-2); color: var(--ink-2); }
.tag.b { background: var(--pri-soft); color: var(--pri-text); }
.tag.ok { background: var(--okb); color: var(--okc); }
.tag.am { background: var(--amb); color: var(--amc); }
.tag.r { background: color-mix(in srgb, var(--acc) 14%, transparent); color: var(--acc); }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.note svg { color: var(--pri-text); margin-top: 1px; }
.note.warn { background: var(--amb); color: var(--amc); }
.note.warn svg { color: var(--amc); }

/* ---------- Laman utama ---------- */
.hero { background-color: var(--hero); background-image: radial-gradient(rgba(255,255,255,.14) 1.1px, transparent 1.2px), linear-gradient(180deg, var(--hero), var(--hero-2)); background-size: 13px 13px, 100% 100%; color: #fff; padding: 6px 20px 26px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -30px; top: -30px; width: 92px; height: 92px; background: var(--merah); transform: rotate(45deg); }
.hero .hd { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.hero .hd .wm { font-size: 20px; }
.hero .hd .wm b { color: #fff; } .hero .hd .wm span { color: #fff; opacity: .92; }
.hero .hd .ib { color: #fff; margin-right: -8px; }
.hero .hd .ib .dot { background: #fff; box-shadow: 0 0 0 2px var(--merah); }
.hero .hd .ib:hover { background: rgba(255,255,255,.12); }
.hero .kick { font-size: 13px; opacity: .85; margin-top: 18px; }
.hero h1 { font-size: 25px; line-height: 1.18; margin: 4px 0 18px; letter-spacing: -0.025em; font-weight: 800; max-width: 16ch; }
.count { display: flex; align-items: flex-end; gap: 14px; }
.count .n { font-size: 76px; font-weight: 800; line-height: .82; letter-spacing: -0.055em; font-feature-settings: var(--tnum); }
.count .u { padding-bottom: 4px; }
.count .u strong { display: block; font-size: 17px; }
.count .u small { font-size: 13px; opacity: .8; }
.prog { height: 6px; background: rgba(255,255,255,.18); border-radius: 3px; margin: 18px 0 8px; overflow: hidden; }
.prog i { display: block; height: 100%; background: #fff; border-radius: 3px; }
.prog-l { display: flex; justify-content: space-between; font-size: 12px; opacity: .85; font-feature-settings: var(--tnum); }
.hero .btn { margin-top: 18px; background: #fff; color: var(--biru-700); }
.hero.closed h1 { max-width: 20ch; }
.teras-rail { display: flex; gap: 10px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.teras-rail::-webkit-scrollbar { display: none; }
.tp { flex: none; width: 138px; height: 176px; border-radius: 14px; scroll-snap-align: start; border: 0; padding: 12px; text-align: left; color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column;
  background-color: var(--biru-700); background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1.1px), linear-gradient(160deg, #2C3AD6, #121A78); background-size: 10px 10px, 100% 100%; }
.tp .k { font-size: 44px; font-weight: 800; letter-spacing: -0.05em; line-height: .9; opacity: .95; }
.tp .k small { font-size: 12px; font-weight: 700; letter-spacing: 0; display: block; opacity: .8; margin-bottom: 2px; }
.tp strong { margin-top: auto; font-size: 15px; line-height: 1.2; }
.tp span { font-size: 11px; opacity: .78; margin-top: 4px; line-height: 1.3; }
.tp::after { content: ''; position: absolute; right: 0; bottom: 0; width: 40px; height: 4px; background: var(--merah); }
.exh { display: flex; gap: 14px; padding: 14px 16px; background: var(--surface); border-radius: var(--r-lg); align-items: center; }
.exh .dt { width: 52px; text-align: center; flex: none; border-right: 1px solid var(--line); padding-right: 12px; }
.exh .dt b { display: block; font-size: 24px; line-height: 1; letter-spacing: -0.03em; font-feature-settings: var(--tnum); }
.exh .dt small { font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.exh .tx { flex: 1; min-width: 0; }
.exh .tx strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.exh .tx small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.contact { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.contact a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-2); font-size: 11.5px; font-weight: 600; padding: 12px 0; border-radius: 14px; background: var(--surface); }
.contact a svg { color: var(--pri-text); width: 22px; height: 22px; }

/* ---------- Dokumen ---------- */
.doc { display: flex; gap: 14px; padding: 14px; background: var(--surface); border-radius: var(--r-lg); border: 0; width: 100%; text-align: left; color: var(--ink); align-items: stretch; }
.doc + .doc { margin-top: 10px; }
.cover { width: 74px; height: 107px; border-radius: 4px; flex: none; background-size: cover; background-position: center; box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 6px 14px -6px rgba(10,14,80,.4); position: relative; overflow: hidden; }
.cover.css { background-color: var(--biru); background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.1px), linear-gradient(170deg, #2C3AD6, #141C80); background-size: 7px 7px, 100% 100%; color: #fff; padding: 9px 7px; font-size: 8px; font-weight: 800; line-height: 1.15; }
.cover.css::after { content: ''; position: absolute; right: -14px; top: -14px; width: 28px; height: 28px; background: var(--merah); transform: rotate(45deg); }
.cover.css .y { position: absolute; bottom: 8px; left: 7px; font-size: 19px; letter-spacing: -0.05em; }
.doc .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.doc .tx small { color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.doc .tx strong { font-size: 15px; line-height: 1.3; margin: 2px 0 6px; }
.doc .tx .m { margin-top: auto; display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; }
.dl { display: inline-flex; align-items: center; gap: 4px; color: var(--pri-text); font-weight: 700; }
.galeri { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.galeri .tp { width: auto; height: 196px; }
.vid { grid-column: span 2; height: 172px; border-radius: 14px; background: linear-gradient(135deg, #0D1250, #2433C9); display: grid; place-items: center; color: #fff; position: relative; border: 0; }
.vid .pl { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.vid small { position: absolute; left: 14px; bottom: 12px; font-size: 13px; font-weight: 600; }

/* pemapar dokumen */
.viewer { position: absolute; inset: 0; background: #1B1F3B; display: flex; flex-direction: column; color: #fff; }
.viewer .vt { display: flex; align-items: center; gap: 4px; padding: max(10px, env(safe-area-inset-top)) 8px 8px; background: #11142E; }
.viewer .vt .ib { color: #fff; }
.viewer .vt .ib:hover { background: rgba(255,255,255,.08); }
.viewer .vt .ttl { flex: 1; min-width: 0; font-size: 13px; line-height: 1.25; }
.viewer .vt .ttl b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer .vt .ttl span { opacity: .65; }
.viewer .pg { flex: 1; overflow: auto; display: flex; justify-content: center; align-items: flex-start; padding: 14px; scrollbar-width: none; }
.viewer .pg img { width: calc(100% * var(--z, 1)); max-width: none; border-radius: 2px; box-shadow: 0 10px 30px rgba(0,0,0,.45); background: #fff; transition: opacity .2s; }
.viewer .vb { display: flex; align-items: center; gap: 6px; padding: 10px 10px max(12px, env(safe-area-inset-bottom)); background: #11142E; }
.viewer .vb .ib { color: #fff; }
.viewer .vb .pgi { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); border-radius: 10px; padding: 0 10px; height: 40px; font-size: 13px; font-feature-settings: var(--tnum); }
.viewer .vb .pgi input { width: 56px; background: transparent; border: 0; color: #fff; text-align: center; font-weight: 700; font-size: 14px; outline: none; }
.viewer .vb .sp { flex: 1; }
.viewer .fab { position: absolute; right: 14px; bottom: calc(78px + env(safe-area-inset-bottom)); height: 46px; border-radius: 23px; padding: 0 18px 0 14px; border: 0; background: var(--merah); color: #fff; font-weight: 700; display: flex; align-items: center; gap: 8px; box-shadow: 0 10px 24px -6px rgba(225,18,31,.6); font-size: 14px; }
.viewer .pv-note { position: absolute; left: 14px; top: 112px; font-size: 11px; background: rgba(0,0,0,.55); padding: 4px 8px; border-radius: 6px; }

/* lembaran bawah */
.scrim { position: absolute; inset: 0; background: rgba(5,7,30,.45); z-index: 40; display: flex; align-items: flex-end; animation: fade .18s ease-out; }
.sheet { width: 100%; max-height: 82%; overflow-y: auto; background: var(--surface); color: var(--ink); border-radius: 24px 24px 0 0; padding: 10px 20px 34px; animation: up .24s cubic-bezier(.2,.8,.2,1); }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.sheet h3 { font-size: 18px; margin: 0 0 4px; }
.sheet .toc button { display: flex; gap: 12px; width: 100%; text-align: left; border: 0; background: none; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.sheet .toc button b { width: 40px; flex: none; color: var(--pri-text); font-feature-settings: var(--tnum); }
.sheet .toc button span { flex: 1; }
.sheet .toc button small { color: var(--ink-3); font-feature-settings: var(--tnum); }
.sheet .toc button.sub b { padding-left: 10px; font-weight: 600; }
@keyframes up { from { transform: translateY(40%); opacity: .4; } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Borang maklum balas ---------- */
.stepper { padding: 0 20px 12px; background: var(--bg); flex: none; }
.stepper .bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stepper .bar button { border: 0; background: none; padding: 0; text-align: left; color: var(--ink-3); font-size: 11.5px; font-weight: 700; }
.stepper .bar button i { display: block; height: 4px; border-radius: 2px; background: var(--line); margin-bottom: 6px; }
.stepper .bar button.done i { background: var(--pri); }
.stepper .bar button.cur { color: var(--pri-text); }
.stepper .bar button.cur i { background: var(--pri); }
.stepper .bar button.done { color: var(--ink-2); }
.autosave { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--okc); font-weight: 600; margin-top: 10px; }
.autosave i { width: 7px; height: 7px; border-radius: 50%; background: var(--okc); }
.stephd { margin: 4px 0 18px; }
.stephd .k { font-size: 13px; font-weight: 700; color: var(--pri-text); }
.stephd h2 { font-size: 23px; margin: 2px 0 4px; letter-spacing: -0.02em; line-height: 1.2; }
.stephd p { margin: 0; color: var(--ink-3); font-size: 14px; }
.foot { flex: none; padding: 12px 20px 30px; background: var(--surface); border-top: 1px solid var(--line); display: flex; gap: 10px; }
.foot .btn { flex: 1; }
.foot .btn.ghost { flex: 0 0 auto; }
.item { background: var(--surface); border-radius: var(--r-lg); padding: 14px 16px; border-left: 4px solid var(--pri); }
.item + .item { margin-top: 10px; }
.item .h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.item .h .tag { flex: none; }
.item .mu { font-size: 14.5px; font-weight: 700; line-height: 1.3; margin: 6px 0 4px; }
.item p { margin: 0; font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .m { display: flex; gap: 12px; font-size: 12px; color: var(--ink-3); margin-top: 8px; flex-wrap: wrap; }
.item .m span { display: inline-flex; gap: 4px; align-items: center; }
.item .m svg { width: 14px; height: 14px; }
.empty { text-align: center; padding: 28px 20px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); color: var(--ink-3); }
.empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.cascade { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.cascade .lv { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); }
.cascade .lv:first-child { border-top: 0; }
.cascade .lv .n { width: 26px; height: 26px; border-radius: 8px; background: var(--pri-soft); color: var(--pri-text); font-size: 11px; font-weight: 800; display: grid; place-items: center; flex: none; }
.cascade .lv select { flex: 1; border: 0; background: transparent; font-size: 14px; font-weight: 600; color: var(--ink); min-width: 0; padding: 4px 0; outline: none; text-overflow: ellipsis; }
.cascade .lv select:disabled { color: var(--ink-3); }
.cascade .lv select option, .cascade .lv select optgroup { background: var(--surface); color: var(--ink); }
.suggest { margin-top: 8px; display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink-2); background: var(--pri-soft); border-radius: 10px; padding: 8px 10px; }
.suggest svg { color: var(--pri-text); width: 16px; height: 16px; }
.suggest .link { font-size: 12.5px; margin-left: auto; }
.minimap { isolation: isolate; z-index: 0; height: 214px; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); position: relative; background: var(--surface-2); }
.minimap .hint { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 500; background: rgba(13,18,80,.86); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 8px; pointer-events: none; }
.locrow { display: flex; gap: 8px; margin-top: 10px; }
.locrow .in { height: 42px; font-size: 13.5px; }
.upl { border: 1.5px dashed var(--line); border-radius: 14px; padding: 18px; text-align: center; color: var(--ink-3); font-size: 13px; background: var(--surface); width: 100%; }
.upl strong { color: var(--pri-text); display: block; font-size: 14.5px; margin: 4px 0 2px; }
.file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--surface); border-radius: 12px; margin-top: 8px; font-size: 13.5px; }
.file .ext { width: 36px; height: 36px; border-radius: 8px; background: var(--pri-soft); color: var(--pri-text); font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.file .tx { flex: 1; min-width: 0; }
.file .tx small { display: block; color: var(--ink-3); font-size: 12px; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sumrow span { color: var(--ink-3); }
.sumrow b { text-align: right; font-weight: 600; }
.okscreen { text-align: center; padding: 36px 24px 20px; }
.okscreen .tick { width: 84px; height: 84px; border-radius: 28px; background: var(--okb); color: var(--okc); display: grid; place-items: center; margin: 0 auto 18px; }
.okscreen .tick svg { width: 40px; height: 40px; stroke-width: 2.4; }
.okscreen h2 { font-size: 24px; margin: 0 0 6px; letter-spacing: -0.02em; }
.okscreen p { color: var(--ink-2); margin: 0 auto; max-width: 30ch; }
.refbox { margin: 22px 0 6px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1.5px dashed var(--line); }
.refbox small { color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.refbox b { display: block; font-size: 22px; letter-spacing: .01em; color: var(--pri-text); font-feature-settings: var(--tnum); margin-top: 2px; }
.lockcard { margin: 18px 20px; padding: 22px; border-radius: 20px; background: var(--surface); text-align: center; }
.lockcard .lk { width: 64px; height: 64px; border-radius: 20px; background: var(--surface-2); display: grid; place-items: center; margin: 0 auto 12px; color: var(--ink-2); }

/* slip */
.paper { background: #fff; color: #12163A; margin: 14px; border-radius: 4px; box-shadow: 0 8px 26px -8px rgba(0,0,0,.35); padding: 18px 18px 20px; font-size: 10.5px; line-height: 1.45; position: relative; overflow: hidden; }
.paper .ph { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #2433C9; padding-bottom: 10px; }
.paper .ph .wm { font-size: 16px; }
.paper h4 { font-size: 12.5px; margin: 12px 0 2px; }
.paper .kv { display: grid; grid-template-columns: 96px 1fr; gap: 2px 8px; margin-top: 8px; }
.paper .kv span { color: #6A7096; }
.paper table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.paper th, .paper td { text-align: left; padding: 5px 4px; border-bottom: 1px solid #E2E5F1; vertical-align: top; }
.paper th { font-size: 9.5px; color: #6A7096; font-weight: 700; }
.paper .qr { width: 64px; height: 64px; display: grid; grid-template-columns: repeat(21, 1fr); }
.paper .qr i { background: #12163A; }
.paper .qr i.o { background: transparent; }
.paper .wmk { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%) rotate(-28deg); font-size: 64px; font-weight: 800; color: rgba(225,18,31,.07); pointer-events: none; letter-spacing: .05em; }
.paper .ft { margin-top: 14px; font-size: 9px; color: #6A7096; border-top: 1px solid #E2E5F1; padding-top: 8px; }

/* auth */
.auth { padding: 8px 24px 28px; }
.auth .brandblk { padding: 18px 0 26px; }
.auth .brandblk.hero { margin: 0 -24px 26px; padding: 34px 24px 30px; }
.auth .brandblk.hero .wm b, .auth .brandblk.hero .wm span { color: #fff; }
.auth .brandblk.hero p { color: rgba(255,255,255,.86); position: relative; z-index: 2; }
.sb + .content .auth .brandblk.hero { margin-top: -8px; }
.auth .brandblk .wm { font-size: 30px; }
.auth .brandblk p { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; max-width: 32ch; }
.auth h2 { font-size: 26px; letter-spacing: -0.025em; margin: 0 0 4px; line-height: 1.15; }
.auth .sub { color: var(--ink-3); margin: 0 0 22px; font-size: 14px; }
.auth .alt { text-align: center; font-size: 14px; color: var(--ink-3); margin-top: 18px; }
.mailart { width: 96px; height: 96px; border-radius: 30px; background: var(--pri-soft); color: var(--pri-text); display: grid; place-items: center; margin: 26px 0 22px; }
.mailart svg { width: 44px; height: 44px; stroke-width: 1.6; }
.spam-l { margin: 6px 0 0; padding-left: 18px; }
.spam-l li { margin: 3px 0; }
.otp { display: flex; gap: 8px; margin: 6px 0 4px; }

/* tetapan & sejarah */
.prof { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--surface); border-radius: var(--r-lg); }
.avatar { width: 52px; height: 52px; border-radius: 18px; background: var(--pri); color: var(--pri-ink); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.grp-l { font-size: 13px; font-weight: 700; color: var(--ink-3); margin: 22px 4px 8px; }
.hist { background: var(--surface); border-radius: var(--r-lg); padding: 14px 16px; }
.hist + .hist { margin-top: 10px; }
.hist .h { display: flex; justify-content: space-between; align-items: center; }
.hist .h b { font-size: 14px; font-feature-settings: var(--tnum); }
.hist .d { font-size: 12.5px; color: var(--ink-3); margin: 2px 0 8px; }
.hist .acts { display: flex; gap: 8px; margin-top: 10px; }
.toast { position: absolute; left: 16px; right: 16px; bottom: 100px; background: #12163A; color: #fff; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; z-index: 60; display: flex; gap: 10px; align-items: center; animation: up .22s ease-out; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.toast svg { color: #7EE2AE; }
.app[data-theme="dark"] .toast { background: #EEF0FF; color: #12163A; }

