/* WFT dashboard — tanpa build step */
:root {
    /* Palet dari mockup WFT (dokumen 6) */
    --navy: #03045E;
    --ink: #03045E;
    --ink-2: #023E8A;
    --muted: #4A5A68;
    --line: #D3EEF6;
    --line-2: #E4F5FA;
    --field: #ADC9D6;
    --bg: #F4FBFE;
    --card: #FFFFFF;
    --water: #0077B6;
    --water-2: #023E8A;
    --water-3: #0096C7;
    --water-4: #00B4D8;
    --water-soft: #CAF0F8;
    --sky-1: #ADE8F4;
    --sky-2: #90E0EF;
    --sky-3: #48CAE4;
    --earth: #5C3D00;
    --earth-soft: #FFF4D6;
    --earth-bar: #C98A00;
    --ok: #146C43;
    --ok-soft: #DDF4E7;
    --bad: #A4161A;
    --bad-soft: #FDE8E8;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(0, 119, 182, .05), 0 4px 14px rgba(0, 119, 182, .05);
    font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    font: 15px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink); background: var(--bg);
    font-variant-numeric: tabular-nums;
}
a { color: var(--water); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; letter-spacing: -.01em; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.1rem; }
h3 { font-size: .95rem; color: var(--ink-2); }
small, .muted { color: var(--muted); }
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .85em; }

/* Kerangka */
.app { display: grid; grid-template-columns: 232px 1fr; grid-template-rows: auto 1fr; grid-template-areas: "side top" "side main"; min-height: 100vh; }
.side { grid-area: side; }
.main { grid-area: main; }
.side { background: linear-gradient(180deg, #E6F7FC 0%, var(--water-soft) 55%, var(--sky-1) 100%); color: var(--ink); border-right: 1px solid var(--line); padding: 20px 14px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; gap: 10px; align-items: center; color: var(--navy); font-weight: 600; margin: 0 6px 26px; }
.brand svg { flex: none; }
.brand small { display: block; color: var(--water-2); font-weight: 400; font-size: .75rem; }
.nav a { display: flex; align-items: center; gap: 10px; color: var(--water-2); padding: 8px 10px; border-radius: 7px; margin-bottom: 2px; }
.nav a:hover { background: rgba(255,255,255,.6); text-decoration: none; }
.nav a.on { background: #fff; color: var(--water); font-weight: 600; box-shadow: var(--shadow); }
.nav .count { margin-left: auto; background: var(--earth-soft); color: var(--earth); font-weight: 700; border-radius: 99px; font-size: .72rem; padding: 0 7px; }
.main { padding: 26px 30px 60px; min-width: 0; }
.top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.crumb { font-size: .82rem; color: var(--muted); margin-bottom: 4px; }

/* Kartu & grid */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; min-width: 0; }
.card > h2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stat { padding: 14px 16px; }
.stat .k { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.stat .v { font-size: 1.6rem; font-weight: 600; margin-top: 2px; }
.stat .v small { font-size: .85rem; font-weight: 400; }
.mt { margin-top: 16px; }
.stack > * + * { margin-top: 16px; }

/* Tabel */
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; font-weight: 600; color: var(--ink-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; border-bottom: 1px solid var(--line); padding: 8px 10px; white-space: nowrap; }
.tbl td { border-bottom: 1px solid var(--line-2); padding: 9px 10px; vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td b, .tbl td .pill { white-space: nowrap; }
.app { background: linear-gradient(to right, var(--water-soft) 232px, var(--bg) 232px); }
.tbl .n { text-align: right; }
.scroll { overflow-x: auto; }

/* Label */
.pill { display: inline-block; font-size: .76rem; font-weight: 600; border-radius: 99px; padding: 2px 10px; background: var(--line-2); color: var(--muted); white-space: nowrap; }
.pill.water { background: var(--water-soft); color: var(--water-2); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--earth-soft); color: var(--earth); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }

/* Pesan */
.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.flash.ok { background: var(--ok-soft); color: #14532d; }
.flash.err { background: var(--bad-soft); color: #7a1a12; }
.hint { border-left: 4px solid var(--earth); background: var(--earth-soft); padding: 12px 14px; border-radius: 0 8px 8px 0; }
.hint ul { margin: 6px 0 0; padding-left: 18px; }
.disclaimer { font-size: .8rem; color: var(--muted); margin-top: 8px; }

/* Formulir */
form.inline { display: inline; }
.form { display: grid; gap: 10px; }
.form.cols { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); align-items: end; }
label { font-size: .8rem; color: var(--ink-2); display: block; }
input, select, textarea {
    width: 100%; font: inherit; color: var(--ink); background: #fff;
    border: 1px solid var(--field); border-radius: 8px; padding: 8px 10px; margin-top: 3px; min-height: 40px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--water-soft); border-color: var(--water); }
input[type=checkbox] { width: auto; }
textarea { min-height: 64px; }
.btn {
    display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 600; font-size: .88rem;
    border-radius: 8px; border: 1px solid transparent; padding: 8px 16px; min-height: 40px; cursor: pointer;
    background: var(--water); color: #fff; white-space: nowrap;
}
.btn:hover { background: var(--water-2); text-decoration: none; }
.btn.ghost { background: #fff; color: var(--water-2); border-color: var(--water); }
.btn.ghost:hover { background: var(--water-soft); }
.btn.ok { background: var(--ok); }
.btn.warn { background: var(--earth-bar); }
.btn.bad { background: var(--bad); }
.btn.sm { padding: 5px 12px; min-height: 32px; font-size: .8rem; }
details summary { cursor: pointer; color: var(--water); font-weight: 600; font-size: .9rem; }
details[open] summary { margin-bottom: 10px; }

/* Grafik */
.chart svg { width: 100%; height: auto; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: var(--ink-2); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.bar { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--water); }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--line-2); }
.gallery figcaption { font-size: .76rem; color: var(--muted); margin-top: 3px; }

/* Masuk */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 16px;
    background: linear-gradient(170deg, #E6F7FC 0%, var(--sky-2) 35%, var(--water-3) 75%, var(--water) 100%); }
.auth .card { width: 100%; max-width: 380px; padding: 28px; }

/* Publik */
.public { max-width: 720px; margin: 0 auto; padding: 24px 16px 60px; }
.big-status { font-size: 1.4rem; font-weight: 700; }

@media (max-width: 1080px) {
    .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .app { grid-template-columns: 1fr; background: var(--bg); }
    .side { border-right: 0; border-bottom: 1px solid var(--line); }
    .side { position: static; height: auto; padding: 12px 16px; }
    .brand { margin-bottom: 8px; font-size: .95rem; }
    .nav { display: flex; flex-wrap: wrap; gap: 4px; }
    .nav a { margin: 0; padding: 6px 9px; font-size: .88rem; }
    .main { padding: 18px 16px 48px; }
    .g2, .g3, .g4 { grid-template-columns: 1fr; }
}

/* ---------- Tab (palet mockup) ---------- */
.tabbar { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 16px; overflow-x: auto; }
.tabbar a { flex: 1 0 auto; text-align: center; padding: 10px 14px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: .9rem; white-space: nowrap; }
.tabbar a:hover { background: var(--bg); text-decoration: none; color: var(--water-2); }
.tabbar a.on { background: var(--water-soft); color: var(--water-2); font-weight: 600; box-shadow: inset 0 0 0 1px var(--sky-2); }
.tabbar a .n { display: inline-block; min-width: 18px; margin-left: 4px; padding: 0 6px; border-radius: 99px; font-size: .72rem; background: var(--water-soft); color: var(--water-2); }
.tabbar a.on .n { background: #fff; color: var(--water-2); }

/* ---------- Mode Lapangan ---------- */
.hero { background: linear-gradient(160deg, #E6F7FC 0%, var(--sky-1) 60%, var(--sky-2) 100%); color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; }
.hero small, .hero .crumb, .hero .crumb a { color: var(--water-2); }
.hero h1 { color: var(--navy); margin: 2px 0 6px; }
.hero .pill { background: #fff; color: var(--water-2); }
.list { display: grid; gap: 10px; }
.item { display: flex; gap: 12px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: inherit; }
a.item:hover { border-color: var(--water); text-decoration: none; }
.item .t { font-weight: 700; font-size: 1rem; }
.btn.big { min-height: 48px; font-size: 1rem; width: 100%; justify-content: center; border-radius: 10px; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--field); border-radius: 8px; background: #fff; color: var(--ink); font-size: .9rem; cursor: pointer; }
.seg input:checked + span { border: 2px solid var(--water); background: var(--water-soft); color: var(--water-2); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--water-3); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .95rem; color: var(--ink); }
.check input { width: 22px; height: 22px; margin: 0; }
.gps { border: 1px dashed var(--water-3); background: var(--bg); border-radius: 10px; padding: 12px; }
.gps .acc { font-weight: 700; color: var(--water-2); }
.gps .acc.weak { color: var(--earth); }
.up-status { font-size: .82rem; margin-top: 6px; display: grid; gap: 4px; }
.up-status .ok { color: var(--ok); } .up-status .err { color: var(--bad); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.thumbs a, .thumbs span.ph { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--line-2); display: flex; align-items: center; justify-content: center; font-size: .7rem; color: var(--muted); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.note-online { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 8px; }

@media (max-width: 760px) {
    /* Tab bawah seperti mockup aplikasi lapangan */
    .tabbar.bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; margin: 0; border-radius: 0; border: 0; border-top: 1px solid var(--line); padding: 6px 6px calc(8px + env(safe-area-inset-bottom)); gap: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
    .tabbar.bottom a { position: relative; padding: 14px 2px 10px; font-size: .74rem; line-height: 1.2; white-space: normal; border-radius: 8px; min-width: 0; }
    .tabbar.bottom a .n { position: absolute; top: 1px; right: 50%; transform: translateX(26px); margin: 0; min-width: 14px; padding: 0 4px; font-size: .62rem; line-height: 14px; }
    .tabbar.bottom a.on { background: none; color: var(--water); font-weight: 700; box-shadow: inset 0 3px 0 var(--water); border-radius: 0; }
    .tabbar.bottom a.on .n { background: var(--water-soft); color: var(--water-2); }
    body.has-bottom .main { padding-bottom: 96px; }
    .hero { margin: -18px -16px 16px; border-radius: 0; }
}

/* ---------- Splash (mockup dokumen 6) ---------- */
.splash { display: none; }
html.splash-on .splash {
    position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    background: linear-gradient(180deg, #0096C7 0%, #0077B6 35%, #023E8A 70%, #03045E 100%); color: #fff;
    transition: opacity .35s ease;
}
html.splash-on { overflow: hidden; }
html.splash-out .splash { opacity: 0; }
.splash-drop { margin-bottom: 14px; animation: splash-drop 1.1s ease-out both; }
.splash-name { font-size: 64px; font-weight: 700; letter-spacing: 4px; line-height: 1; }
.splash-sub { font-size: 18px; font-weight: 600; color: #CAF0F8; }
.splash-tag { font-size: 13px; color: #ADE8F4; }
.splash-by { position: absolute; bottom: calc(32px + env(safe-area-inset-bottom)); font-size: 12px; color: #90E0EF; }
@keyframes splash-drop { from { transform: translateY(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .splash-drop { animation: none; } html.splash-on .splash { transition: none; } }

/* ---------- Header atas: nama pengguna & keluar di kanan ---------- */
.topbar { grid-area: top; position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 30px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.tb-brand { display: none; align-items: center; gap: 6px; color: var(--navy); font-size: 1.05rem; }
.tb-brand:hover { text-decoration: none; }
.tb-title { font-weight: 600; color: var(--water-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tb-user { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tb-user form { margin: 0; }
.avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--water-soft); color: var(--water-2); font-weight: 700; font-size: .85rem; border: 1px solid var(--sky-2); }
.tb-name { display: flex; flex-direction: column; line-height: 1.2; }
.tb-name b { color: var(--navy); font-size: .9rem; }
.tb-name small { color: var(--muted); font-size: .76rem; }
.side { position: sticky; top: 0; }

@media (max-width: 760px) {
    .app { grid-template-areas: "top" "side" "main"; grid-template-rows: auto auto 1fr; }
    .topbar { padding: 8px 16px; min-height: 56px; }
    .tb-brand { display: flex; }
    .tb-title { display: none; }
    .tb-name small { display: none; }
    .tb-name b { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .side .brand { display: none; }
    .side { position: static; padding: 8px 16px; }
}
@media (max-width: 380px) {
    .tb-name { display: none; }
}
/* ---------- Menu hamburger ---------- */
.hamburger { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--water-2); cursor: pointer; }
.hamburger:hover { background: var(--water-soft); }
.hamburger:focus-visible { outline: 2px solid var(--water-3); outline-offset: 2px; }
.nav-sep { display: block; height: 1px; background: var(--sky-2); margin: 10px 6px; }
.backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(3, 4, 94, .28); }
.backdrop[hidden] { display: none; }

/* ---------- Header gelap (navy palet) ---------- */
.topbar { background: linear-gradient(90deg, #03045E 0%, #023E8A 55%, #0077B6 100%); border-bottom: 0; box-shadow: 0 2px 10px rgba(3, 4, 94, .18); color: #fff; }
.topbar .tb-brand, .topbar .tb-name b { color: #fff; }
.topbar .tb-brand path { fill: #90E0EF; }
.topbar .tb-title { color: #CAF0F8; }
.topbar .tb-name small { color: #ADE8F4; }
.topbar .avatar { background: #00B4D8; color: #03045E; border-color: #90E0EF; }
.topbar .hamburger { background: rgba(255,255,255,.08); border-color: rgba(202,240,248,.35); color: #fff; }
.topbar .hamburger:hover { background: rgba(255,255,255,.18); }
.topbar .hamburger:focus-visible { outline-color: #90E0EF; }
.topbar .btn.ghost { background: transparent; color: #fff; border-color: rgba(202,240,248,.5); }
.topbar .btn.ghost:hover { background: rgba(255,255,255,.15); }

/* ---------- Menu hamburger: panel melayang, setinggi isinya ---------- */
.app, html .app { display: block; min-height: 100vh; background: var(--bg); }
.topbar { padding: 8px 30px; }
.tb-brand { display: flex; }
.tb-title { padding-left: 12px; margin-left: 2px; border-left: 1px solid rgba(202,240,248,.3); }
.tb-user { gap: 12px; }
.tb-name { text-align: right; }

.side, html .side {
    position: fixed; z-index: 40; top: 70px; left: 22px; bottom: auto; width: 268px; height: auto;
    max-height: calc(100vh - 86px); overflow-y: auto; padding: 10px;
    background: linear-gradient(165deg, #ffffff 0%, #F2FBFE 60%, #E3F6FC 100%);
    border: 1px solid var(--sky-2); border-radius: 18px; box-shadow: 0 18px 40px rgba(3, 4, 94, .22), 0 2px 6px rgba(3, 4, 94, .08);
    transform-origin: 18px -8px; transform: translateY(-10px) scale(.94); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .26s cubic-bezier(.2, .9, .3, 1.2), opacity .18s ease, visibility 0s linear .26s;
}
html.nav-open .side { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform .3s cubic-bezier(.2, .9, .3, 1.2), opacity .2s ease, visibility 0s; }
.side .brand { display: none; }
.nav, html .nav { display: block; position: relative; }

.nav a, .nav-exit {
    position: relative; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 3px; padding: 11px 14px;
    border: 0; border-radius: 12px; background: transparent; font: inherit; font-size: .95rem; font-weight: 500; color: var(--water-2);
    text-align: left; cursor: pointer; overflow: hidden;
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
/* garis aksen kiri yang tumbuh saat hover */
.nav a::before, .nav-exit::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 0; border-radius: 0 4px 4px 0; background: #00B4D8; transform: translateY(-50%); transition: height .22s ease; }
.nav a:hover, .nav-exit:hover { background: rgba(0, 180, 216, .12); color: var(--navy); transform: translateX(4px); text-decoration: none; }
.nav a:hover::before { height: 60%; }
.nav a:hover svg { transform: scale(1.12) rotate(-6deg); }
.nav a:active, .nav-exit:active { transform: translateX(4px) scale(.98); }
.nav a.on { background: linear-gradient(100deg, #023E8A 0%, #0077B6 60%, #00B4D8 100%); color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(2, 62, 138, .28); }
.nav a.on::before { display: none; }
.nav a:focus-visible, .nav-exit:focus-visible { outline: 2px solid #0096C7; outline-offset: 2px; }
.nav .count { margin-left: auto; background: #FFE9A8; color: #7A4B00; }
.nav a.on .count { background: #fff; color: var(--water-2); }
.nav-sep, html .nav-sep { display: block; height: 1px; margin: 8px 10px; background: linear-gradient(90deg, transparent, var(--sky-2), transparent); }
.side form { margin: 0; }
.nav-exit { color: #B42318; margin-bottom: 0; }
.nav-exit::before { background: #F04438; }
.nav-exit:hover { background: rgba(240, 68, 56, .1); color: #912018; }
.nav-exit:hover::before { height: 60%; }
.nav-exit:hover svg { transform: translateX(3px); }

/* item muncul bergiliran */
.nav > a, .nav > form { opacity: 0; transform: translateX(-12px); }
html.nav-open .nav > a, html.nav-open .nav > form { opacity: 1; transform: none; transition: opacity .25s ease calc(var(--i, 0) * 45ms + 60ms), transform .3s cubic-bezier(.2, .9, .3, 1.2) calc(var(--i, 0) * 45ms + 60ms), background .2s ease, color .2s ease, box-shadow .2s ease; }
html.nav-open .nav > a:hover { transform: translateX(4px); transition-delay: 0s; }

/* ikon hamburger berubah jadi X */
.hb-lines { position: relative; width: 20px; height: 14px; display: block; }
.hb-lines i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.hb-lines i:nth-child(1) { top: 0; }
.hb-lines i:nth-child(2) { top: 6px; }
.hb-lines i:nth-child(3) { top: 12px; }
html.nav-open .hb-lines i:nth-child(1) { top: 6px; transform: rotate(45deg); }
html.nav-open .hb-lines i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
html.nav-open .hb-lines i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
html.nav-open .topbar .hamburger { background: rgba(255,255,255,.2); }

.backdrop { background: rgba(3, 4, 94, .18); animation: fade-in .2s ease; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 760px) {
    .topbar { padding: 8px 16px; }
    .tb-title { display: none; }
    .side, html .side { top: 64px; left: 12px; width: min(290px, calc(100vw - 24px)); max-height: calc(100vh - 76px); }
    .backdrop { background: rgba(3, 4, 94, .3); }
}
@media (prefers-reduced-motion: reduce) {
    .side, html.nav-open .side, .nav > a, .nav > form, html.nav-open .nav > a, html.nav-open .nav > form, .hb-lines i { transition: none !important; }
}
html.nav-open .topbar { z-index: 45; }
/* Peta semua titik (Leaflet) */
.peta-titik { width: 100%; height: 380px; border-radius: 10px; border: 1px solid var(--line); z-index: 0; }
.peta-titik .peta-label { background: rgba(3, 4, 94, .85); color: #fff; border: 0; border-radius: 6px; font-weight: 600; font-size: .75rem; padding: 2px 6px; box-shadow: none; }
.peta-titik .peta-label::before { display: none; }
.legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; border: 1px solid #fff; box-shadow: 0 0 0 1px rgba(3,4,94,.2); }
