/* Dashboard Help Emerald — custom layer (di atas Tailwind CDN)
   WORLD: "Emerald Control Room" — hijau emerald sebagai identitas penuh,
   kaca lembut di atas aurora, tipografi Inter kuat, depth halus, motion
   satu bahasa (ease-out, 200-450ms). Fungsi & data tidak berubah. */

:root {
  color-scheme: light;
  --em-900: #022c22; --em-800: #064e3b; --em-700: #047857; --em-600: #059669;
  --em-500: #10b981; --em-300: #6ee7b7; --em-100: #d1fae5; --em-50: #ecfdf5;
  --ink: #0f172a; --mut: #475569; --soft: #94a3b8;
  --line: #dbe7e2;
  --ease: cubic-bezier(.21,.9,.35,1);
}
html { scroll-behavior: smooth; }
body { caret-color: var(--em-600); }
::selection { background: rgba(16,185,129,.28); color: var(--em-900); }
:focus-visible { outline: 2.5px solid var(--em-500); outline-offset: 2px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---- fondasi: aurora emerald ---- */
body {
  background:
    radial-gradient(1100px 480px at 88% -120px, rgba(34,211,238,.22), transparent 60%),
    radial-gradient(900px 520px at -12% 0%, rgba(16,185,129,.20), transparent 60%),
    radial-gradient(700px 700px at 50% 115%, rgba(4,120,87,.14), transparent 62%),
    linear-gradient(180deg, #ecfdf5 0%, #f0fdfa 40%, #f6faf8 100%);
  min-height: 100vh;
}
.bg-decor { position: absolute; inset: 0; pointer-events: none; }

/* ---- login: aurora hidup + kartu kaca ---- */
.aurora { position: absolute; inset: -20%; pointer-events: none; filter: blur(60px); opacity: .55; }
.aurora::before, .aurora::after {
  content: ''; position: absolute; width: 46vw; height: 46vw; border-radius: 999px;
  background: radial-gradient(closest-side, rgba(16,185,129,.5), transparent 70%);
  animation: drift 16s var(--ease) infinite alternate;
}
.aurora::before { top: -12%; left: -8%; }
.aurora::after {
  bottom: -16%; right: -10%;
  background: radial-gradient(closest-side, rgba(34,211,238,.42), transparent 70%);
  animation-delay: -8s;
}
@keyframes drift { to { transform: translate(9%, 7%) scale(1.12); } }
.login-enter { animation: loginUp .5s var(--ease) both; }
.login-enter > * { animation: loginUp .55s var(--ease) both; }
.login-enter > *:nth-child(2) { animation-delay: .07s; }
.login-enter > *:nth-child(3) { animation-delay: .14s; }
@keyframes loginUp { from { opacity: 0; transform: translateY(16px); } }
.login-glow {
  position: absolute; inset: auto -30% -25% -30%; height: 70%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent 70%);
}
.brand-ring { box-shadow: 0 0 0 6px rgba(16,185,129,.14), 0 12px 28px -10px rgba(5,150,105,.55); }

/* ---- topbar: solid + safe area menyatu warna ---- */
#topbar { background: #ffffff !important; backdrop-filter: none !important; border-bottom: 1px solid var(--line); }
#topbar::before { content: ''; position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px); background: #ffffff; z-index: 25; }
#topbar.scrolled { box-shadow: 0 10px 30px -14px rgba(2,44,34,.30); }
#topbar { transition: box-shadow .25s var(--ease); }

/* ---- safe area (notch / gesture bar / PWA) ---- */
#modal-form, #modal-faq, #modal-user, #modal-preview, #modal-code, #modal-mock { padding-bottom: env(safe-area-inset-bottom); }
#toast-wrap { bottom: max(1rem, env(safe-area-inset-bottom)); }
#sidebar { padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }

/* ---- scope cards ---- */
.scope-card { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; transition: border-color .18s, background-color .18s, box-shadow .18s, transform .18s var(--ease); font-family: inherit; }
.scope-card:hover { border-color: var(--em-300); background: #f0fdf4; transform: translateY(-1px); }
.scope-card.active { border-color: var(--em-600); background: var(--em-50); box-shadow: 0 0 0 3px rgba(16,185,129,.16); }
.scope-card:focus-visible { outline: 3px solid rgba(16,185,129,.4); outline-offset: 2px; }
.scope-ic { width: 40px; height: 40px; border-radius: 12px; background: #f1f5f9; color: var(--mut); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .18s; }
.scope-card.active .scope-ic { background: var(--em-600); color: #fff; }
.scope-card b { display: block; font-size: 14px; color: var(--ink); }
.scope-card i { display: block; font-style: normal; font-size: 12px; color: var(--mut); margin-top: 2px; }

/* ---- stepper form ---- */
.fstep { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--soft); white-space: nowrap; }
.fstep-n { width: 22px; height: 22px; border-radius: 999px; background: #f1f5f9; color: var(--mut); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; transition: all .2s; }
.fstep.active { color: var(--em-800); }
.fstep.active .fstep-n { background: var(--em-600); color: #fff; box-shadow: 0 0 0 3px rgba(16,185,129,.20); }
.fstep.done { color: var(--em-600); }
.fstep.done .fstep-n { background: var(--em-100); color: var(--em-800); }
.fstep-bar { flex: 1; height: 2px; min-width: 8px; background: #e2e8f0; border-radius: 2px; position: relative; overflow: hidden; }
.fstep-bar::after { content: ''; position: absolute; inset: 0; background: var(--em-500); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.fstep-bar.fill::after { transform: scaleX(1); }
.fstep-t { display: none; }
@media (min-width: 480px) { .fstep-t { display: inline; } }
.input.invalid { border-color: #f87171 !important; box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important; }

.rte-toolbar button span { font-size: 12px; }
.rte-sep { width: 1px; background: #e2e8f0; margin: 4px 2px; }

/* ---- referensi tombol di dalam isi ---- */
.rich a.help-ref, #f-content-ed a.help-ref { display: inline-block; background: var(--em-50); border: 1.5px solid var(--em-300); color: var(--em-800) !important; font-weight: 700; font-size: 12.5px; border-radius: 999px; padding: 2px 10px; text-decoration: none !important; cursor: pointer; }
.rich a.help-ref:hover, #f-content-ed a.help-ref:hover { background: var(--em-100); }
.rich img, #f-content-ed img { max-width: 100%; border-radius: 10px; border: 1px solid var(--line); margin: 8px 0; }
.rich img.help-ic, #f-content-ed img.help-ic { display: inline-block; height: 1.2em; width: auto; vertical-align: -0.2em; border: none; margin: 0 5px 0 0; border-radius: 4px; }

/* ---- daftar item ala icon-button ---- */
.help-list { counter-reset: hl; margin: 8px 0; }
.help-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 12px; margin: 6px 0; }
.help-item[data-help-field] { cursor: pointer; }
.help-item[data-help-field]:hover { border-color: var(--em-300); background: var(--em-50); }
.help-list[data-type="ol"] > .help-item { counter-increment: hl; }
.help-list[data-type="ol"] > .help-item::before { content: counter(hl); flex-shrink: 0; width: 24px; height: 24px; border-radius: 999px; background: var(--em-600); color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.help-list[data-type="ul"] > .help-item::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 99px; background: var(--em-500); margin-left: 8px; }
.help-ic-lg { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; background: #f1f5f9; border: 1px solid var(--line); flex-shrink: 0; }
.help-item > span { min-width: 0; }
.help-item b { display: block; font-size: 13.5px; color: var(--ink); }
.help-item i { display: block; font-style: normal; font-size: 11px; color: var(--mut); }

/* ---- rich text editor ---- */
.rte-toolbar { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; background: #f8fafc; border: 1.5px solid #e2e8f0; border-bottom: none; border-radius: 12px 12px 0 0; padding: 6px 8px; }
.rte-toolbar button { min-width: 32px; height: 32px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: none; background: transparent; color: var(--mut); font-size: 14px; font-weight: 700; cursor: pointer; transition: all .15s; }
.rte-toolbar button:hover { background: var(--em-50); color: var(--em-800); }
.rte { border-radius: 0 0 12px 12px !important; min-height: 110px; }
.rte:empty::before { content: attr(data-ph); color: var(--soft); pointer-events: none; }

/* ---- rich content tampil ---- */
.rich ul { list-style: disc; padding-left: 1.25rem; margin: 6px 0; }
.rich ol { list-style: decimal; padding-left: 1.25rem; margin: 6px 0; }
.rich li { margin: 2px 0; }
.rich p { margin: 6px 0; }
.rich a { color: var(--em-600); font-weight: 600; text-decoration: underline; }
.rich b, .rich strong { color: var(--ink); }

/* ---- form section divider ---- */
.form-sec { display: flex; align-items: center; gap: 12px; padding-top: 4px; }
.form-sec span:first-child { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--em-700); white-space: nowrap; }
.form-sec::after { content: ''; flex: 1; height: 1px; background: var(--line); border-radius: 1px; }

/* ---- tidiness ---- */
button svg, .chip svg { flex-shrink: 0; }
pre, table { scrollbar-width: thin; }

/* ---- form ---- */
.label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.label-sm { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--mut); margin-bottom: 4px; }
.input {
  width: 100%; border: 1.5px solid #e2e8f0; background: #fff; border-radius: 12px;
  padding: 10px 14px; font-size: 14px; outline: none; transition: border-color .18s, box-shadow .18s, background .18s;
}
.input::placeholder { color: var(--soft); }
.input:focus { border-color: var(--em-500); box-shadow: 0 0 0 3.5px rgba(16,185,129,.16); background: #fff; }
.input-sm {
  width: 100%; border: 1.5px solid #e2e8f0; background: #fff; border-radius: 10px;
  padding: 8px 12px; font-size: 13px; outline: none; transition: border-color .18s, box-shadow .18s;
}
.input-sm:focus { border-color: var(--em-500); box-shadow: 0 0 0 3.5px rgba(16,185,129,.16); }

/* ---- buttons ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, var(--em-500), var(--em-600)); color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 12px; cursor: pointer; border: none;
  transition: background-color .2s, box-shadow .25s var(--ease), transform .15s var(--ease);
  box-shadow: 0 1px 2px rgba(6,78,59,.25), 0 10px 24px -10px rgba(5,150,105,.55);
}
.btn-primary:hover { background: var(--em-700); box-shadow: 0 2px 4px rgba(6,78,59,.25), 0 14px 30px -10px rgba(5,150,105,.6); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(6,78,59,.25); }
.btn-primary:focus-visible { outline: 3px solid rgba(16,185,129,.4); outline-offset: 2px; }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.9); color: #334155; font-weight: 600; font-size: 14px;
  padding: 10px 16px; border-radius: 12px; cursor: pointer; border: 1.5px solid #e2e8f0;
  transition: border-color .2s, background-color .2s, color .2s, transform .15s var(--ease);
}
.btn-ghost:hover { border-color: var(--em-300); background: var(--em-50); color: var(--em-800); transform: translateY(-1px); }
.btn-ghost:focus-visible { outline: 3px solid rgba(16,185,129,.3); outline-offset: 2px; }

/* ---- nav ---- */
.nav-item {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; position: relative;
  padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--mut);
  cursor: pointer; border: none; background: transparent; transition: background-color .18s, color .18s, box-shadow .2s;
}
.nav-item::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 3px; border-radius: 99px; background: var(--em-500); opacity: 0; transform: scaleY(.4); transition: all .22s var(--ease); }
.nav-item:hover { background: #f1f5f9; color: var(--ink); }
.nav-item.nav-active { background: var(--em-600); color: #fff; box-shadow: 0 10px 22px -10px rgba(5,150,105,.6); }
.nav-item.nav-active::before { opacity: 0; }

/* ---- stats: kartu kaca dengan garis emerald ---- */
.stat-card {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.7); outline: 1px solid rgba(110,231,183,.35); outline-offset: -1px;
  border-radius: 18px; padding: 16px; position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(6,78,59,.06), 0 10px 26px -14px rgba(6,78,59,.22);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.stat-card::after { content: ''; position: absolute; left: 0; right: 40%; top: 0; height: 3px; border-radius: 0 0 99px 0; background: linear-gradient(90deg, var(--em-600), rgba(34,211,238,.8)); }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(6,78,59,.08), 0 16px 34px -14px rgba(6,78,59,.28); }
.stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--em-800); }
.stat-value { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--em-900); line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-sub { font-size: 12px; color: var(--mut); }

/* ---- chips ---- */
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #e2e8f0; background: rgba(255,255,255,.9); color: #334155; cursor: pointer; transition: all .18s; }
.chip:hover { border-color: var(--em-300); background: var(--em-50); transform: translateY(-1px); }
.chip.chip-active { background: var(--em-600); border-color: var(--em-600); color: #fff; box-shadow: 0 8px 18px -8px rgba(5,150,105,.6); }

/* ---- table ---- */
#help-tbody tr { border-bottom: 1px solid #f1f5f9; transition: background-color .15s; }
#help-tbody tr:hover { background: #f0fdf4; }
#help-tbody td { padding: 12px 16px; vertical-align: top; font-variant-numeric: tabular-nums; }
#help-tbody tr { animation: rowIn .3s var(--ease) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(4px); } }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; border: 1.5px solid #e2e8f0; background: #fff; color: var(--mut); cursor: pointer; transition: all .18s; }
.icon-btn:hover { border-color: var(--em-300); background: var(--em-50); color: var(--em-800); transform: translateY(-1px); }
.icon-btn.danger:hover { border-color: #fca5a5; background: #fef2f2; color: #b91c1c; }
.icon-btn.helpq { background: var(--em-600); border-color: var(--em-600); color: #fff; font-weight: 800; font-size: 15px; }
.icon-btn.helpq:hover { background: var(--em-700); color: #fff; }

/* ---- badges ---- */
.badge-green, .badge-amber, .badge-blue, .badge-slate {
  display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .02em;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-blue { background: #e0f2fe; color: #0c4a6e; }
.badge-slate { background: #f1f5f9; color: var(--mut); }

/* ---- docs ---- */
.doc-card {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.82));
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.7); outline: 1px solid rgba(110,231,183,.3); outline-offset: -1px;
  border-radius: 18px; padding: 20px;
  box-shadow: 0 1px 2px rgba(6,78,59,.06), 0 10px 26px -14px rgba(6,78,59,.22);
  scroll-margin-top: 104px; /* jangan tertimbun di balik header sticky */
}
.doc-title { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.doc-num {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; background: linear-gradient(180deg, var(--em-500), var(--em-600)); color: #fff;
  box-shadow: 0 4px 10px -4px rgba(5,150,105,.55);
}
.doc-sub { font-size: 13px; color: var(--mut); margin-top: 6px; }
.doc-cap { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--em-700); margin-bottom: 6px; }
.code-block {
  position: relative; margin-top: 12px; background: linear-gradient(180deg, #04241b, #022c22); color: #a7f3d0; border-radius: 14px; padding: 14px 16px;
  font-family: 'Fira Code', monospace; font-size: 12.5px; line-height: 1.65; overflow-x: auto; white-space: pre;
  border: 1px solid rgba(110,231,183,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 28px -18px rgba(2,44,34,.6);
}
.code-block::before {
  content: 'emerald'; position: absolute; top: 10px; right: 14px; font-size: 9px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(167,243,208,.35); pointer-events: none;
}

/* ---- mockup HP mini di tiap kartu scope (langkah 1 form help) ---- */
.scope-mock { margin-left: auto; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; align-self: center; }
.pm-mini { display: block; width: 74px; border-radius: 14px; background: #0f172a; padding: 7px 6px; box-shadow: 0 8px 18px -10px rgba(2,6,23,.45); }
.pm-mini .pm-m { display: flex; align-items: center; border-radius: 6px; background: #334155; margin-bottom: 4px; }
.pm-mini .pm-m:last-child { margin-bottom: 0; }
.pm-m-banner { height: 14px; }
.pm-m-section { height: 19px; }
.pm-mini .pm-m-field { height: 12px; margin-left: 9px; margin-right: 9px; }
.pm-mini .pm-m i { display: none; width: 13px; height: 13px; border-radius: 99px; background: #059669; color: #fff; font-size: 8px; font-weight: 800; font-style: normal; align-items: center; justify-content: center; flex-shrink: 0; margin-left: auto; margin-right: 2px; }
.pm-mini .pm-m.on { background: #fff; border: 1.5px solid #10b981; box-shadow: 0 0 0 2px rgba(16,185,129,.4); }
.pm-mini .pm-m.on i { display: inline-flex; animation: pmPulse 1.6s infinite; }
.pm-m-banner.on { background: #ecfdf5; }
.pm-cap { font-size: 9px; font-weight: 700; color: #94a3b8; white-space: nowrap; }
.scope-card.active .pm-cap { color: #059669; }
.mock-btn { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 800; color: #059669; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 99px; padding: 3px 9px; cursor: pointer; transition: all .15s; white-space: nowrap; }
.mock-btn:hover { background: #059669; color: #fff; border-color: #059669; }
.scope-card.active .mock-btn { background: #059669; color: #fff; border-color: #059669; }
.mock-btn:focus-visible { outline: 3px solid rgba(16,185,129,.4); outline-offset: 2px; }
/* ---- mockup HP besar (dialog pratinjau scope) ---- */
.pm-big { width: 200px; border-radius: 26px; background: #0f172a; padding: 9px; box-shadow: 0 18px 40px -14px rgba(2,6,23,.55); margin: 0 auto; }
.pm-big .pm-screen { background: #f1f5f9; border-radius: 18px; overflow: hidden; }
.pm-big .pm-notch { width: 64px; height: 6px; border-radius: 99px; background: #334155; margin: 8px auto 5px; }
.pm-big .pm-appbar { background: linear-gradient(135deg, #059669, #0d9488); color: #fff; font-size: 12px; font-weight: 800; text-align: center; padding: 8px 4px; }
.pm-big .pm-body { padding: 9px; display: flex; flex-direction: column; gap: 7px; }
.pm-big .pm-row { border-radius: 10px; background: #fff; border: 1.5px solid #e2e8f0; padding: 7px 8px; font-size: 11px; font-weight: 700; color: #334155; display: flex; align-items: center; gap: 6px; }
.pm-big .pm-row .pm-inp { flex: 1; height: 16px; border-radius: 5px; background: #f1f5f9; border: 1px solid #e2e8f0; }
.pm-big .pm-row .pm-dot { width: 18px; height: 18px; border-radius: 99px; background: #cbd5e1; color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pm-big .pm-row.lit { border-color: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.35); }
.pm-big .pm-row.lit .pm-dot { background: #059669; animation: pmPulse 1.6s infinite; }
.pm-big .pm-row.dim { opacity: .55; }
.pm-callout { text-align: center; font-size: 12px; font-weight: 700; color: #047857; margin-top: 10px; }
@keyframes pmPulse { 50% { box-shadow: 0 0 0 6px rgba(16,185,129,.1); } }
@media (prefers-reduced-motion: reduce) { .pm-on .pm-q { animation: none; } }

/* ---- skeleton ---- */
.skeleton { border-radius: 12px; background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---- toast ---- */
.toast { display: flex; align-items: flex-start; gap: 10px; background: #0f172a; color: #f8fafc; font-size: 13.5px; border-radius: 14px; padding: 12px 14px; box-shadow: 0 16px 36px -10px rgba(2,6,23,.45); border: 1px solid rgba(148,163,184,.25); animation: slideIn .25s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---- modal masuk halus ---- */
#modal-form > div.relative, #modal-faq > div.relative, #modal-user > div.relative, #modal-preview > div.relative, #modal-onboard > div.relative, #modal-code > div.relative, #modal-mock > div.relative {
  animation: modalIn .28s var(--ease) both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }

/* ---- scrollbar bertema ---- */
::-webkit-scrollbar { height: 10px; width: 10px; }
::-webkit-scrollbar-thumb { background: #86d9bd; border-radius: 8px; border: 2px solid #f8fafc; }
::-webkit-scrollbar-thumb:hover { background: var(--em-500); }
::-webkit-scrollbar-track { background: transparent; }
