/* ============================================================
   BUKU TAMU DIGITAL — Kementerian Hukum Nusa Tenggara Timur
   Stylesheet.html — token desain dari DESIGN.md (Plus Jakarta Sans,
   navy #0B2545, cobalt #1D63FF, amber #D97706, emerald #10B981)
   ============================================================ */

/* ── Token: tema terang (bawaan) ── */
:root, [data-theme="light"] {
  --navy: #0B2545;
  --navy-2: #133E87;
  --gold: #D97706;
  --amber: #F59E0B;
  --heading: #0B2545;
  --bg-primary: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-soft: #F1F5F9;
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --border-color: #E2E8F0;
  --accent: #1D63FF;
  --accent-hover: #2563EB;
  --accent-soft: #EAF1FF;
  --accent-text: #1D4ED8;
  --on-accent: #FFFFFF;
  --navy-btn: #0B2545;
  --navy-btn-hover: #133E87;
  --success-solid: #059669;
  --success-soft: #ECFDF5;
  --success-text: #047857;
  --success-border: #A7F3D0;
  --danger: #DC2626;
  --danger-soft: #FEF2F2;
  --danger-text: #B91C1C;
  --danger-border: #FCA5A5;
  --warn-soft: #FFFBEB;
  --warn-text: #92400E;
  --warn-border: #FDE68A;
  --input-bg: #FFFFFF;
  --input-border: #CBD5E1;
  --placeholder: #7B8AA0;
  --focus: #1D63FF;
  --shadow-1: 0 4px 20px -2px rgba(11, 37, 69, 0.05);
  --shadow-2: 0 12px 32px -4px rgba(11, 37, 69, 0.12);
  --sidebar-bg: #0B2545;
  --bar: #3B7BFF;
  --bar-hi: #10B981;
  --bar-lo: #EF4444;
  --grid: #E2E8F0;
  color-scheme: light;
}

/* ── Token: tema gelap (diturunkan dari navy yang sama) ── */
[data-theme="dark"] {
  --heading: #F1F5F9;
  --bg-primary: #0A1628;
  --bg-card: #0F2038;
  --bg-soft: #13294A;
  --text-primary: #E2E8F0;
  --text-secondary: #A3B1C6;
  --border-color: #1E3050;
  --accent: #4D8DFF;
  --accent-hover: #6BA0FF;
  --accent-soft: #14305E;
  --accent-text: #9DC0FF;
  --on-accent: #04122B;
  --navy-btn: #1D3A66;
  --navy-btn-hover: #27508F;
  --success-soft: #0F3D33;
  --success-text: #6EE7B7;
  --success-border: #14654F;
  --danger-soft: #3B1218;
  --danger-text: #FCA5A5;
  --danger-border: #7F2A33;
  --warn-soft: #3A2A0A;
  --warn-text: #FCD34D;
  --warn-border: #6B4E12;
  --input-bg: #0B1A2E;
  --input-border: #2A4066;
  --placeholder: #7C8CA6;
  --focus: #7FAEFF;
  --shadow-1: 0 4px 20px -2px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 12px 32px -4px rgba(0, 0, 0, 0.55);
  --sidebar-bg: #06101F;
  --bar: #5B96FF;
  --grid: #1E3050;
  color-scheme: dark;
}

/* ── Dasar ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--heading); font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--accent-text); }
button { font-family: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.mono, .num { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.muted { color: var(--text-secondary); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 3000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 8px; }

/* ── Indikator memuat ── */
#topLoader { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--amber); z-index: 3000; opacity: 0; transition: width .4s ease, opacity .3s ease; }
#topLoader.on { opacity: 1; width: 78%; }
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: putar .7s linear infinite; vertical-align: -3px; }
@keyframes putar { to { transform: rotate(360deg); } }
.skel { background: linear-gradient(90deg, var(--bg-soft) 25%, var(--border-color) 37%, var(--bg-soft) 63%); background-size: 400% 100%; animation: kilau 1.4s ease infinite; border-radius: 8px; }
@keyframes kilau { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ── Toast ── */
#toastWrap { position: fixed; right: 16px; bottom: 16px; z-index: 3100; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.toast-i { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--bg-card); border: 1px solid var(--border-color); border-left-width: 4px; border-radius: 12px; box-shadow: var(--shadow-2); animation: masuk .25s ease; }
.toast-i > i { font-size: 18px; margin-top: 2px; }
.toast-i div { flex: 1; display: flex; flex-direction: column; font-size: 13px; }
.toast-i strong { color: var(--heading); font-size: 14px; }
.toast-i span { color: var(--text-secondary); }
.toast-i button { background: none; border: 0; color: var(--text-secondary); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; min-height: 28px; }
.toast-success { border-left-color: var(--success-solid); } .toast-success > i { color: var(--success-solid); }
.toast-danger { border-left-color: var(--danger); } .toast-danger > i { color: var(--danger); }
.toast-warning { border-left-color: var(--amber); } .toast-warning > i { color: var(--amber); }
.toast-info { border-left-color: var(--accent); } .toast-info > i { color: var(--accent); }
@keyframes masuk { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Tombol ── */
.bt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: 0 1.1rem; border: 1px solid transparent; border-radius: .5rem;
  font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1.1; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.bt-btn:disabled { opacity: .6; cursor: not-allowed; }
.bt-btn:active:not(:disabled) { transform: translateY(1px); }
.bt-primary { background: var(--accent); color: var(--on-accent); }
.bt-primary:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-1px); }
.bt-navy { background: var(--navy-btn); color: #fff; }
.bt-navy:hover:not(:disabled) { background: var(--navy-btn-hover); transform: translateY(-1px); }
.bt-ghost { background: var(--bg-card); color: var(--heading); border-color: var(--border-color); }
.bt-ghost:hover:not(:disabled) { background: var(--bg-soft); }
.bt-danger { background: var(--danger-soft); color: var(--danger-text); border-color: var(--danger-border); }
.bt-danger:hover:not(:disabled) { filter: brightness(.97); }
.bt-success { background: var(--success-solid); color: #fff; }
.bt-success:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.bt-lg { min-height: 48px; font-size: 15px; }
.bt-sm { min-height: 36px; padding: 0 .8rem; font-size: 13px; }
.bt-block { width: 100%; }
.bt-icon { width: 40px; min-height: 40px; padding: 0; }
.bt-link { background: none; border: 0; color: var(--accent-text); font-weight: 600; cursor: pointer; padding: 4px 0; min-height: 32px; }
.bt-link:hover { text-decoration: underline; }

/* ── Formulir ── */
.fld { margin-bottom: 18px; }
.bt-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--heading); }
.bt-label .req { color: #EF4444; margin-left: 2px; }
.bt-label .opt { font-weight: 400; font-size: 12px; color: var(--text-secondary); }
.bt-input, .bt-select, .bt-textarea {
  width: 100%; min-height: 46px; padding: 0 14px; background: var(--input-bg); color: var(--text-primary);
  border: 1px solid var(--input-border); border-radius: .5rem; font-family: inherit; font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bt-textarea { padding: 12px 14px; min-height: 110px; line-height: 1.5; resize: vertical; }
.bt-select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5-1-1L8 10 2.5 4.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.bt-input::placeholder, .bt-textarea::placeholder { color: var(--placeholder); }
.bt-input:focus, .bt-select:focus, .bt-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29, 99, 255, .18); }
.bt-input:disabled, .bt-select:disabled, .bt-input[readonly] { background: var(--bg-soft); color: var(--text-secondary); cursor: not-allowed; }
.is-invalid { border-color: #EF4444 !important; }
.bt-error { min-height: 0; margin-top: 6px; font-size: 12.5px; color: var(--danger-text); }
.bt-error:empty { display: none; }
.bt-help { margin-top: 6px; font-size: 12.5px; color: var(--text-secondary); }
.input-pre { display: flex; align-items: stretch; }
.input-pre > span { display: flex; align-items: center; padding: 0 12px; background: var(--bg-soft); border: 1px solid var(--input-border); border-right: 0; border-radius: .5rem 0 0 .5rem; color: var(--text-secondary); font-weight: 600; }
.input-pre > .bt-input { border-radius: 0 .5rem .5rem 0; }
.input-icon { position: relative; }
.input-icon > i.ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); pointer-events: none; }
.input-icon > .bt-input { padding-left: 42px; }
.input-icon > .eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: 0; width: 40px; height: 40px; color: var(--text-secondary); cursor: pointer; border-radius: 8px; }
.hp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Kartu pilihan bagian (radio) */
.radio-card { display: flex; align-items: flex-start; gap: 12px; padding: 14px; margin-bottom: 10px; background: var(--bg-primary); border: 1px solid var(--input-border); border-radius: .75rem; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.radio-card:hover { border-color: var(--accent); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card .radio-dot { flex: none; width: 20px; height: 20px; margin-top: 2px; border: 2px solid var(--input-border); border-radius: 50%; background: var(--bg-card); transition: all .15s ease; }
.radio-card strong { display: block; color: var(--heading); font-size: 14px; line-height: 1.35; }
.radio-card small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-secondary); }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(29, 99, 255, .12); }
.radio-card:has(input:checked) .radio-dot { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 45%, var(--bg-card) 50%); }
.radio-card:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ── Kartu, lencana, avatar ── */
.bt-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 1rem; box-shadow: var(--shadow-1); }
.card-pad { padding: 22px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card-head h3 { font-size: 17px; }
.card-head p { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.bt-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5; background: var(--bg-soft); color: var(--text-primary); border: 1px solid var(--border-color); }
.b-blue { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.b-green { background: var(--success-soft); color: var(--success-text); border-color: var(--success-border); }
.b-red { background: var(--danger-soft); color: var(--danger-text); border-color: var(--danger-border); }
.b-amber { background: var(--warn-soft); color: var(--warn-text); border-color: var(--warn-border); }
.avatar-i { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 50%; font-size: 12px; font-weight: 700; }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: .75rem; font-size: 13px; background: var(--accent-soft); color: var(--accent-text); }
.note.warn { background: var(--warn-soft); color: var(--warn-text); border: 1px solid var(--warn-border); }
.note.ok { background: var(--success-soft); color: var(--success-text); border: 1px solid var(--success-border); }
.note > i { margin-top: 2px; }

/* ── Logo ── */
.logo-mark { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--border-color); overflow: hidden; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.logo-mark .logo-fallback { font-size: 24px; color: var(--navy-2); }
[data-theme="dark"] .logo-mark .logo-fallback { color: var(--accent-text); }
.logo-mark.has-img .logo-fallback { display: none; }

/* ============================================================
   HALAMAN PUBLIK
   ============================================================ */
.view { display: none; }
.view.active { display: block; animation: muncul .3s ease; }
@keyframes muncul { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.pub-header { position: sticky; top: 0; z-index: 1000; background: var(--bg-card); border-bottom: 1px solid var(--border-color); }
.pub-header-in { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text small { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--heading); text-transform: uppercase; }
.brand-text strong { font-size: 14px; font-weight: 800; letter-spacing: -.01em; color: var(--heading); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-text em { font-style: normal; font-size: 12px; color: var(--gold); }
.pub-nav { margin-left: auto; display: none; align-items: center; gap: 4px; }
.nav-pill { background: none; border: 0; padding: 0 16px; min-height: 40px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-secondary); cursor: pointer; }
.nav-pill:hover, .nav-pill.on { background: var(--bg-soft); color: var(--heading); }
.pub-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.clock { display: none; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-secondary); padding-left: 14px; border-left: 1px solid var(--border-color); }
.clock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #10B981; }
.theme-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-color); background: var(--bg-card); color: var(--heading); cursor: pointer; }
.theme-btn:hover { background: var(--bg-soft); }
@media (min-width: 900px) { .pub-nav { display: flex; } .pub-tools { margin-left: 0; } .clock { display: inline-flex; } }

/* Hero */
.hero { position: relative; color: #fff; background: radial-gradient(1200px 500px at 85% 0%, rgba(77, 141, 255, .22), transparent 60%), linear-gradient(135deg, #0B2545 0%, #0E2F63 55%, #133E87 100%); padding: 48px 16px 120px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero-in { position: relative; max-width: 1240px; margin: 0 auto; display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; }
.pill-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #FDE68A; font-size: 12.5px; font-weight: 500; }
.hero h1 { color: #fff; font-size: 32px; line-height: 40px; font-weight: 800; letter-spacing: -.02em; margin: 18px 0 8px; }
.hero h1 .gold { color: #FCD34D; display: block; }
.hero .sub { font-size: 18px; font-weight: 500; color: #E2E8F0; margin-bottom: 14px; }
.hero .lead { font-size: 15px; line-height: 1.7; color: #CBD5E1; max-width: 560px; margin-bottom: 26px; }
.cta-card { display: flex; gap: 18px; align-items: center; background: var(--bg-card); color: var(--text-primary); border-radius: 1rem; padding: 18px; max-width: 560px; box-shadow: var(--shadow-2); flex-wrap: wrap; }
.qr-frame { flex: none; width: 128px; padding: 10px; border-radius: 12px; border: 1px solid var(--border-color); background: #fff; text-align: center; }
.qr-frame .qr-svg { width: 100%; aspect-ratio: 1; display: block; color: #0B2545; }
.qr-frame .qr-svg svg { width: 100%; height: 100%; display: block; }
.qr-frame small { display: block; margin-top: 6px; font-size: 12px; color: #475569; font-weight: 600; }
.cta-card h2 { font-size: 17px; margin-bottom: 4px; }
.cta-card p { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.cta-card .zona { margin-top: 10px; font-size: 12.5px; color: var(--text-secondary); display: flex; gap: 6px; align-items: center; }
.cta-body { flex: 1 1 220px; min-width: 0; }

.photo-card { position: relative; border-radius: 1.25rem; overflow: hidden; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); min-height: 260px; aspect-ratio: 16 / 11; background: linear-gradient(160deg, #133E87, #0B2545); background-size: cover; background-position: center; }
.photo-card .ph-ic { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 72px; color: rgba(255,255,255,.18); }
.photo-card.has-photo .ph-ic { display: none; }
.photo-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(8, 24, 48, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; }
.photo-cap > i { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(245, 158, 11, .18); color: #FCD34D; font-size: 18px; flex: none; }
.photo-cap strong { display: block; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.photo-cap span { font-size: 12.5px; color: #CBD5E1; }
@media (min-width: 992px) { .hero { padding-top: 64px; } .hero-in { grid-template-columns: 1.1fr .9fr; } .hero h1 { font-size: 48px; line-height: 56px; } .hero h1 .gold { display: inline; } }

/* Fitur & langkah */
.sec-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.fitur-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: -72px; position: relative; }
@media (min-width: 768px) { .fitur-grid { grid-template-columns: repeat(3, 1fr); } }
.fitur { padding: 26px; }
.fitur .ic { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.fitur h3 { font-size: 20px; }
.fitur .tag { font-size: 14px; font-weight: 500; margin: 2px 0 10px; display: block; }
.fitur p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.fitur .foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-color); font-size: 12.5px; font-weight: 600; }
.ic-blue { background: var(--accent-soft); color: var(--accent-text); } .t-blue { color: var(--accent-text); }
.ic-green { background: var(--success-soft); color: var(--success-text); } .t-green { color: var(--success-text); }
.ic-amber { background: var(--warn-soft); color: var(--warn-text); } .t-amber { color: var(--warn-text); }

.langkah { margin: 56px auto 64px; padding: 36px 20px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 1.5rem; text-align: center; }
.langkah h2 { font-size: 26px; }
.langkah > p { color: var(--text-secondary); margin: 6px 0 30px; }
.langkah-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .langkah-grid { grid-template-columns: repeat(4, 1fr); } }
.langkah-item .no { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px; }
.langkah-item:last-child .no { background: var(--gold); }
.langkah-item strong { display: block; color: var(--heading); font-size: 15px; }
.langkah-item span { display: block; font-size: 13px; color: var(--text-secondary); max-width: 230px; margin: 4px auto 0; }

/* Footer */
.pub-footer { background: #0B1F3A; color: #CBD5E1; padding: 44px 16px 24px; }
.pub-footer-in { max-width: 1240px; margin: 0 auto; display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pub-footer-in { grid-template-columns: 1.4fr 1fr 1fr; } }
.pub-footer .brand-text small, .pub-footer .brand-text strong { color: #fff; }
.pub-footer h4 { color: #fff; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.pub-footer p, .pub-footer li { font-size: 13px; line-height: 1.7; color: #B7C3D6; }
.pub-footer ul { list-style: none; margin: 0; padding: 0; }
.pub-footer .jam li { display: flex; justify-content: space-between; gap: 16px; }
.pub-footer .jam b { color: #fff; font-weight: 600; }
.pub-footer .jam .tutup { color: #FCA5A5; }
.pub-footer .kontak { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.pub-footer .kontak i { color: #FCD34D; margin-right: 8px; }
.lencana { display: inline-block; margin-top: 12px; padding: 5px 12px; border: 1px solid rgba(252, 211, 77, .4); border-radius: 8px; color: #FDE68A; font-size: 12.5px; background: rgba(252, 211, 77, .08); }
.footer-bar { max-width: 1240px; margin: 32px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: #9FB0C8; }
.pub-footer-mini { padding: 20px 16px 28px; text-align: center; font-size: 13px; color: var(--text-secondary); }
.pub-footer-mini strong { display: block; color: var(--heading); font-size: 14px; }
body[data-view="beranda"] .pub-footer-mini { display: none; }
body:not([data-view="beranda"]) .pub-footer { display: none; }

/* Formulir */
.form-layout { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr; min-height: calc(100vh - 140px); }
.form-side { display: none; position: relative; margin: 24px 0 24px 16px; border-radius: 1.5rem; overflow: hidden; background: linear-gradient(160deg, #133E87, #0B2545); background-size: cover; background-position: center; color: #fff; }
.form-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,37,69,.35), rgba(11,37,69,.88)); }
.form-side.has-photo::after { background: linear-gradient(180deg, rgba(11,37,69,.15), rgba(11,37,69,.9)); }
.form-side-in { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; }
.form-side-in h2 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.form-side-in p { color: #D5DEEB; font-size: 14px; line-height: 1.7; }
.form-main { width: 100%; max-width: 640px; margin: 0 auto; padding: 22px 16px 8px; }
.form-main .kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--warn-soft); border: 1px solid var(--warn-border); color: var(--warn-text); font-size: 12.5px; font-weight: 600; }
.form-main .kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.form-main h1 { font-size: 30px; line-height: 38px; margin: 12px 0 6px; font-weight: 800; }
.form-main > p { color: var(--text-secondary); margin-bottom: 16px; }
.tgl-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 16px; }
.tgl-bar .l { display: flex; align-items: center; gap: 12px; }
.tgl-bar .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }
.tgl-bar small { display: block; font-size: 12px; color: var(--text-secondary); }
.tgl-bar strong { font-size: 14px; color: var(--heading); }
.tgl-bar .r { text-align: right; }
.form-card { padding: 22px 18px; border-radius: 1.25rem; }
.privasi { display: flex; gap: 10px; padding: 12px 14px; margin: 4px 0 18px; border: 1px dashed var(--input-border); border-radius: .75rem; background: var(--bg-primary); font-size: 12.5px; color: var(--text-secondary); line-height: 1.6; }
.privasi i { color: var(--success-solid); margin-top: 2px; }
@media (min-width: 992px) { .form-layout { grid-template-columns: 0.85fr 1.15fr; } .form-side { display: block; } .form-main { padding-top: 32px; } }

/* Halaman berhasil */
.sukses { max-width: 480px; margin: 0 auto; padding: 36px 16px 8px; text-align: center; }
.sukses-ic { position: relative; width: 112px; height: 112px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle, rgba(16,185,129,.22), transparent 70%); }
.sukses-ic .c { width: 76px; height: 76px; border-radius: 50%; background: #10B981; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 40px; box-shadow: 0 0 0 8px rgba(16,185,129,.18); animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.sukses h1 { font-size: 32px; margin: 12px 0 8px; font-weight: 800; }
.sukses > p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.7; margin-bottom: 22px; }
.tiket { text-align: left; border-radius: 1.25rem; overflow: hidden; margin-bottom: 18px; }
.tiket-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; background: linear-gradient(90deg, #0B2545, #133E87); color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: .03em; }
.tiket-head .bt-badge { background: rgba(255,255,255,.14); color: #fff; border-color: transparent; }
.tiket-no { margin: 18px; padding: 16px; text-align: center; border: 1px solid var(--border-color); border-radius: 1rem; background: var(--bg-primary); }
.tiket-no small { display: block; font-size: 12px; letter-spacing: .08em; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; }
.tiket-no .big { display: block; font-size: 40px; line-height: 1.2; font-weight: 700; color: var(--heading); margin: 4px 0; }
.tiket-no .st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--success-text); font-weight: 600; }
.tiket-no .st::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #10B981; }
.tiket-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--border-color); font-size: 14px; }
.tiket-row span { color: var(--text-secondary); display: flex; gap: 10px; align-items: center; }
.tiket-row b { color: var(--heading); text-align: right; }
.tiket-note { margin: 0 18px 18px; padding-top: 16px; border-top: 2px dashed var(--border-color); }
.btn-stack { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   HALAMAN ADMIN — Login
   ============================================================ */
.login-wrap { min-height: 100vh; background: var(--bg-primary); display: flex; flex-direction: column; }
.login-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; background: var(--bg-card); border-bottom: 1px solid var(--border-color); }
.login-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 28px 16px; }
.login-card { width: 100%; max-width: 1060px; display: grid; grid-template-columns: 1fr; border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow-2); background: var(--bg-card); border: 1px solid var(--border-color); }
.login-left { display: none; background: linear-gradient(160deg, #0B2545 0%, #0E2F63 100%); color: #fff; padding: 40px; flex-direction: column; justify-content: space-between; gap: 24px; }
.login-left h1 { color: #fff; font-size: 44px; line-height: 1.1; font-weight: 800; margin: 16px 0 14px; }
.login-left h1 em { font-style: normal; color: #C7D7FF; }
.login-left p { color: #CBD5E1; line-height: 1.7; }
.quote { padding: 18px; border-radius: 14px; background: rgba(255,255,255,.08); font-style: italic; color: #E2E8F0; line-height: 1.7; }
.quote i { color: #FCD34D; font-style: normal; margin-right: 8px; }
.login-meta { font-size: 12.5px; color: #B9C6DA; display: flex; flex-direction: column; gap: 6px; }
.login-meta i { color: #FCD34D; margin-right: 6px; }
.login-right { padding: 32px 22px; }
.login-right .in { max-width: 420px; margin: 0 auto; }
.login-right h2 { font-size: 30px; margin-bottom: 6px; font-weight: 800; }
.login-right .desc { color: var(--text-secondary); margin-bottom: 18px; }
.login-err { display: none; margin-bottom: 14px; padding: 11px 14px; border-radius: .75rem; background: var(--danger-soft); border: 1px solid var(--danger-border); color: var(--danger-text); font-size: 13.5px; }
.login-err.on { display: flex; gap: 10px; }
@media (min-width: 900px) { .login-card { grid-template-columns: 1fr 1fr; } .login-left { display: flex; } .login-right { padding: 44px 40px; } }

/* ============================================================
   HALAMAN ADMIN — Kerangka
   ============================================================ */
.adm { display: block; min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 1040; display: flex; flex-direction: column; background: var(--sidebar-bg); color: #CBD5E1; transform: translateX(-100%); transition: transform .25s ease; }
.sidebar.open { transform: none; box-shadow: var(--shadow-2); }
.scrim { position: fixed; inset: 0; z-index: 1030; background: rgba(2, 8, 20, .55); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sb-brand { display: flex; align-items: center; gap: 12px; padding: 20px 18px; }
.sb-brand .logo-mark { width: 44px; height: 44px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.sb-brand .logo-mark .logo-fallback { color: #FCD34D; }
.sb-brand strong { display: block; color: #fff; font-size: 15px; line-height: 1.2; }
.sb-brand span { font-size: 12px; color: #B3C0D6; }
.sb-status { margin: 0 14px 10px; padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.sb-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; }
.sb-status b { color: #6EE7B7; font-weight: 600; }
.sb-status .rl { margin-left: auto; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #FCD34D; background: rgba(252, 211, 77, .12); border: 1px solid rgba(252, 211, 77, .35); }
.sb-nav { list-style: none; margin: 8px 0 0; padding: 0 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; overflow-y: auto; }
.sb-link { width: 100%; display: flex; align-items: center; gap: 12px; padding: 0 14px; min-height: 48px; border: 0; border-radius: 12px; background: none; color: #CBD5E1; font-size: 14.5px; font-weight: 500; text-align: left; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.sb-link i { font-size: 18px; }
.sb-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.sb-link.on { background: #1D63FF; color: #fff; }
.sb-link .cnt { margin-left: auto; padding: 1px 9px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 12px; font-weight: 600; }
.sb-foot { padding: 14px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 4px; }
.sb-foot .sb-link { min-height: 42px; font-size: 14px; }
.sb-foot .out { color: #FCA5A5; }
.sb-foot small { padding: 8px 14px 0; font-size: 12px; color: #93A4BF; }

.adm-main { min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 900; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg-card); border-bottom: 1px solid var(--border-color); }
.menu-btn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border-color); background: var(--bg-card); color: var(--heading); font-size: 20px; cursor: pointer; }
.tb-title { min-width: 0; flex: 1; }
.tb-title h1 { font-size: 20px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-title p { font-size: 13px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-clock { display: none; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 12.5px; font-weight: 600; border: 1px solid var(--border-color); }
.tb-user { display: flex; align-items: center; gap: 10px; padding-left: 14px; border-left: 1px solid var(--border-color); }
.tb-user .avatar-i { width: 40px; height: 40px; background: var(--navy); color: #fff; font-size: 13px; }
.tb-user .who { display: none; line-height: 1.25; }
.tb-user .who strong { display: block; font-size: 13.5px; color: var(--heading); }
.tb-user .who span { font-size: 12px; color: var(--text-secondary); }
.adm-content { flex: 1; padding: 20px 16px 28px; }
.adm-foot { padding: 16px; border-top: 1px solid var(--border-color); background: var(--bg-card); font-size: 12.5px; color: var(--text-secondary); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.sec { display: none; }
.sec.active { display: block; animation: muncul .25s ease; }
@media (min-width: 640px) { .tb-user .who { display: block; } }
@media (min-width: 768px) { .adm-content { padding: 26px 28px 32px; } .tb-clock { display: inline-flex; } }
@media (min-width: 1024px) {
  .sidebar { transform: none; }
  .adm-main { margin-left: 260px; }
  .menu-btn, .scrim { display: none; }
  .adm-content { padding: 32px 40px 40px; }
  .topbar { padding: 14px 40px; }
}

/* ── Dashboard ── */
.kpi-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }
.kpi { position: relative; padding: 20px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 1rem; box-shadow: var(--shadow-1); overflow: hidden; }
.kpi::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--kc, var(--accent)); }
.kpi-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.kpi-label { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-secondary); }
.kpi-icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; background: var(--kb, var(--accent-soft)); color: var(--kt, var(--accent-text)); }
.kpi-val { font-size: 32px; font-weight: 700; line-height: 1.2; margin: 8px 0 4px; color: var(--heading); }
.kpi-val.teks { font-size: 20px; font-family: inherit; margin: 10px 0 2px; }
.kpi-sub { font-size: 13px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kpi-sub .up { color: var(--success-text); font-weight: 600; } .kpi-sub .down { color: var(--danger-text); font-weight: 600; }
.kpi-blue { --kc: #1D63FF; --kb: var(--accent-soft); --kt: var(--accent-text); }
.kpi-green { --kc: #10B981; --kb: var(--success-soft); --kt: var(--success-text); }
.kpi-violet { --kc: #7C3AED; --kb: rgba(124,58,237,.12); --kt: #6D28D9; }
.kpi-gold { --kc: #D97706; --kb: var(--warn-soft); --kt: var(--warn-text); }
[data-theme="dark"] .kpi-violet { --kt: #C4B5FD; }
.grid-2 { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 1100px) { .grid-2 { grid-template-columns: 1.7fr 1fr; } }
.chart-box { position: relative; height: 290px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-sel { min-height: 36px; padding: 0 30px 0 10px; font-size: 13px; width: auto; background-position: right 8px center; }
.minggu-nav { display: flex; align-items: center; gap: 6px; }
.minggu-nav .rng { font-size: 12.5px; color: var(--text-secondary); min-width: 118px; text-align: center; }
.bar-row { margin-bottom: 14px; }
.bar-row .top { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 6px; color: var(--text-primary); }
.bar-row .top .tag { margin-left: 6px; padding: 1px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; background: var(--accent-soft); color: var(--accent-text); }
.bar-row .track { height: 9px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.bar-row .fill { height: 100%; border-radius: 999px; background: var(--accent); transition: width .5s ease; }
.bar-row.today .fill { background: var(--navy-btn); }
.bar-row.zero .top { color: var(--text-secondary); }
.insight { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.insight li { display: flex; gap: 10px; padding: 11px 14px; border-radius: .75rem; background: var(--accent-soft); color: var(--accent-text); font-size: 13.5px; line-height: 1.55; }
.insight li i { margin-top: 3px; }
.foot-note { margin-top: 10px; font-size: 12.5px; color: var(--text-secondary); }

/* ── Tabel ── */
.tbl-wrap { overflow-x: auto; }
.bt-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bt-table thead th { padding: 12px 14px; background: var(--bg-primary); border-bottom: 1px solid var(--border-color); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-secondary); text-align: left; white-space: nowrap; }
.bt-table td { padding: 12px 14px; border-bottom: 1px solid var(--border-color); vertical-align: middle; min-height: 48px; }
.bt-table tbody tr:hover { background: var(--bg-primary); }
.bt-table .nm { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--heading); }
.bt-table .sub { display: block; font-size: 12.5px; color: var(--text-secondary); font-weight: 400; }
.bt-table .aksi { display: flex; gap: 6px; justify-content: flex-end; }
.tag-no { display: inline-block; padding: 2px 9px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); font-size: 12.5px; font-weight: 700; }
.empty { padding: 38px 16px; text-align: center; color: var(--text-secondary); }
.empty i { display: block; font-size: 34px; margin-bottom: 8px; opacity: .6; }
.tbl-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--border-color); font-size: 13px; color: var(--text-secondary); }
.pager { display: flex; gap: 6px; flex-wrap: wrap; }
.pager button { min-width: 40px; min-height: 40px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-card); color: var(--heading); font-weight: 600; cursor: pointer; }
.pager button:hover:not(:disabled) { background: var(--bg-soft); }
.pager button.on { background: var(--navy-btn); color: #fff; border-color: transparent; }
.pager button:disabled { opacity: .45; cursor: not-allowed; }
.pager .dots { align-self: center; color: var(--text-secondary); padding: 0 4px; }
.toolbar { display: grid; gap: 12px; grid-template-columns: 1fr; padding: 16px; margin-bottom: 18px; }
@media (min-width: 700px) { .toolbar { grid-template-columns: 1.6fr 1fr 1fr auto; align-items: center; } }
.toolbar .bt-input, .toolbar .bt-select { min-height: 44px; }
.rentang { display: none; grid-column: 1 / -1; gap: 12px; grid-template-columns: 1fr 1fr; }
.rentang.on { display: grid; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head p { color: var(--text-secondary); max-width: 560px; }
.page-head .acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* Tabel jadi kartu di ponsel */
@media (max-width: 767px) {
  .bt-table.stack thead { display: none; }
  .bt-table.stack, .bt-table.stack tbody, .bt-table.stack tr, .bt-table.stack td { display: block; width: 100%; }
  .bt-table.stack tr { padding: 14px 16px; border-bottom: 1px solid var(--border-color); }
  .bt-table.stack td { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border: 0; text-align: right; }
  .bt-table.stack td::before { content: attr(data-label); flex: none; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-secondary); text-align: left; padding-top: 3px; }
  .bt-table.stack td.cell-nama { text-align: left; }
  .bt-table.stack td.cell-aksi { justify-content: flex-end; padding-top: 10px; }
  .bt-table.stack td.cell-aksi::before, .bt-table.stack td.cell-no::before { display: none; }
  .bt-table.stack td.cell-no { display: none; }
  .bt-table.stack .aksi .bt-btn { min-height: 44px; min-width: 44px; }
}

/* ── Tab ── */
.tabs { display: flex; gap: 6px; padding: 5px; margin-bottom: 18px; background: var(--bg-soft); border-radius: 12px; overflow-x: auto; }
.tab { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: none; color: var(--text-secondary); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.tab.on { background: var(--bg-card); color: var(--heading); box-shadow: var(--shadow-1); }
.form-grid { display: grid; gap: 0 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.kode-box { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-radius: .75rem; background: var(--bg-primary); border: 1px dashed var(--input-border); }
.kode-box code { flex: 1 1 260px; min-width: 0; word-break: break-all; font-size: 12.5px; color: var(--heading); }
.gap-10 { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ── Modal (Bootstrap) mengikuti tema ── */
.modal-content { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 1.25rem; box-shadow: var(--shadow-2); }
.modal-header, .modal-footer { border-color: var(--border-color); }
.modal-title { font-size: 18px; font-weight: 700; color: var(--heading); }
[data-theme="dark"] .btn-close { filter: invert(1) grayscale(1) brightness(1.6); }
.modal-backdrop { --bs-backdrop-bg: #020814; }
.det-grid { display: grid; gap: 0; }
.det-grid > div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--border-color); }
.det-grid > div:last-child { border-bottom: 0; }
.det-grid span { color: var(--text-secondary); flex: none; }
.det-grid b { color: var(--heading); text-align: right; word-break: break-word; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.seg label { flex: 1 1 100px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--input-border); border-radius: .6rem; font-weight: 600; font-size: 14px; color: var(--text-secondary); cursor: pointer; background: var(--bg-card); }
.seg input:checked + span { background: var(--accent-soft); color: var(--accent-text); border-color: var(--accent); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.quick { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Gerak: hormati preferensi pengguna ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print { .sidebar, .topbar, .scrim, #toastWrap { display: none !important; } .adm-main { margin: 0; } }
