/* =====================================================================
   Wallboard publik · Profil & Potensi Desa Indonesia
   Kanvas tetap 1920×1080, diskalakan otomatis sesuai layar.
   ===================================================================== */
:root {
  --navy: #071a3a; --navy-2: #040f25; --ink: #eef4ff; --mut: #a9bddc; --mut-2: #c3d3ec;
  --gold: #f1cf7a; --gold-l: #fff1c4; --gold-d: #c9952f; --gold-t: #f3dfa6; --green: #6be0a8;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #030b1c; overflow: hidden; }
body.wbp { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
.wbp-viewport { position: fixed; inset: 0; overflow: hidden; background: #030b1c; }
.wbp-stage {
  position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden;
  padding: 24px 32px 22px; display: grid; gap: 18px;
  background: radial-gradient(1200px 700px at 18% -10%, #123a7a 0%, transparent 60%), radial-gradient(900px 600px at 100% 110%, #3a2a0a 0%, transparent 55%),
              linear-gradient(180deg, #071a3a 0%, #040f25 60%, #030b1c 100%);
}
.wbp-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23f1cf7a' stroke-width='1.2'%3E%3Cellipse cx='36' cy='18' rx='10' ry='16'/%3E%3Cellipse cx='36' cy='54' rx='10' ry='16'/%3E%3Cellipse cx='18' cy='36' rx='16' ry='10'/%3E%3Cellipse cx='54' cy='36' rx='16' ry='10'/%3E%3Ccircle cx='36' cy='36' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
}
.wbp-stage > * { position: relative; min-height: 0; min-width: 0; }
.wbp-loading { grid-row: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; font-size: 22px; color: var(--mut); }
.wbp-loading img { width: 96px; animation: wbp-pulse 1.6s ease-in-out infinite; }
@keyframes wbp-pulse { 50% { transform: scale(1.08); opacity: .7; } }
.wbp-fade { animation: wbp-fade .5s ease both; }
@keyframes wbp-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- tipografi & elemen dasar ---------- */
.wb-gold { background: linear-gradient(180deg, #fff1c4 0%, #f1cf7a 45%, #c9952f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wb-ttl { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; letter-spacing: .01em; }
.wb-mut { color: var(--mut); }
.wb-num { font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; }
.wb-ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wb-hl { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wb-ico { filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); }
.wb-card {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.085) 0%, rgba(255,255,255,.025) 55%, rgba(255,255,255,.04) 100%);
  border: 1px solid rgba(241,207,122,.22); box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}
.wb-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #f1cf7a, transparent); }
.wb-tile { border-radius: 16px; background: rgba(3,11,28,.42); border: 1px solid rgba(241,207,122,.16); }
.wb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: rgba(241,207,122,.1); border: 1px solid rgba(241,207,122,.3); color: var(--gold-t); font-size: 13px; font-weight: 700; white-space: nowrap; }
.wb-chip--ok { background: rgba(107,224,168,.16); border-color: rgba(107,224,168,.6); color: #a6f5cf; }
.wb-bar { height: 9px; border-radius: 5px; background: rgba(255,255,255,.07); overflow: hidden; }
.wb-bar > i { display: block; height: 100%; border-radius: 5px; transition: width .8s ease; }
.wb-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; display: inline-block; }
.wb-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; color: var(--mut); font-size: 15px; text-align: center; padding: 10px; }
.wb-empty img { width: 44px; opacity: .8; }
.wb-ttl-s { font-size: 22px; } .wb-ttl-m { font-size: 25px; } .wb-ttl-l { font-size: 28px; }

/* ikon 3D "permata" */
.gem { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 30%;
  border: 1.5px solid rgba(255,233,170,.85); box-shadow: 0 6px 14px rgba(0,0,0,.42), inset 0 -3px 6px rgba(0,0,0,.25), inset 0 2px 3px rgba(255,255,255,.35); }
.gem img { filter: drop-shadow(0 3px 4px rgba(0,0,0,.45)); }
.gem--emerald  { background: radial-gradient(circle at 30% 22%, rgba(255,255,255,.55), rgba(255,255,255,0) 42%), linear-gradient(150deg, #3fd69a, #0b4a33); box-shadow: 0 6px 14px rgba(0,0,0,.42), 0 0 14px #3fd69a55, inset 0 -3px 6px rgba(0,0,0,.25), inset 0 2px 3px rgba(255,255,255,.35); }
.gem--sapphire { background: radial-gradient(circle at 30% 22%, rgba(255,255,255,.55), rgba(255,255,255,0) 42%), linear-gradient(150deg, #5aa8ff, #0f2f6b); box-shadow: 0 6px 14px rgba(0,0,0,.42), 0 0 14px #5aa8ff55, inset 0 -3px 6px rgba(0,0,0,.25), inset 0 2px 3px rgba(255,255,255,.35); }
.gem--amber    { background: radial-gradient(circle at 30% 22%, rgba(255,255,255,.55), rgba(255,255,255,0) 42%), linear-gradient(150deg, #ffd36b, #7a4f10); box-shadow: 0 6px 14px rgba(0,0,0,.42), 0 0 14px #ffd36b55, inset 0 -3px 6px rgba(0,0,0,.25), inset 0 2px 3px rgba(255,255,255,.35); }
.gem--coral    { background: radial-gradient(circle at 30% 22%, rgba(255,255,255,.55), rgba(255,255,255,0) 42%), linear-gradient(150deg, #ff9a6b, #8a2f14); box-shadow: 0 6px 14px rgba(0,0,0,.42), 0 0 14px #ff9a6b55, inset 0 -3px 6px rgba(0,0,0,.25), inset 0 2px 3px rgba(255,255,255,.35); }
.gem--amethyst { background: radial-gradient(circle at 30% 22%, rgba(255,255,255,.55), rgba(255,255,255,0) 42%), linear-gradient(150deg, #b896ff, #3c2275); box-shadow: 0 6px 14px rgba(0,0,0,.42), 0 0 14px #b896ff55, inset 0 -3px 6px rgba(0,0,0,.25), inset 0 2px 3px rgba(255,255,255,.35); }

/* ---------- header ---------- */
.wbh { z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) 560px auto; align-items: center; gap: 24px; padding: 0 6px; }
.wbh__brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
.wbh__emblem { width: 80px; height: 80px; flex: none; border-radius: 50%; padding: 3px; background: linear-gradient(145deg, #fff1c4, #c9952f 55%, #7a5a18); box-shadow: 0 0 0 6px rgba(241,207,122,.12), 0 14px 30px rgba(0,0,0,.5); }
.wbh__emblem > div { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #1b4a92, #071a3a 75%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wbh__emblem img.logo { width: 58px; height: 58px; object-fit: contain; }
.wbh__eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .26em; color: var(--gold); white-space: nowrap; }
.wbh__title { font-size: 38px; line-height: 1.05; color: #fff; white-space: nowrap; }
.wbh__sub { font-size: 15px; color: var(--mut); font-weight: 500; }
.wbh__sub b { color: var(--green); }
.wbh__end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.wbh__tabs { display: flex; gap: 8px; }
.wbh__tab { display: flex; align-items: center; white-space: nowrap; gap: 7px; padding: 5px 12px 5px 6px; border-radius: 999px; font: 700 13px 'Plus Jakarta Sans', sans-serif; cursor: pointer;
  background: rgba(255,255,255,.05); color: var(--mut); border: 1px solid rgba(241,207,122,.2); }
.wbh__tab span { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; background: rgba(241,207,122,.15); color: var(--gold); }
.wbh__tab.is-on { background: linear-gradient(145deg, #fff1c4, #c9952f); color: #2a1d05; border-color: transparent; }
.wbh__tab.is-on span { background: #2a1d05; color: var(--gold); }
.wbh__tab--back { padding-left: 10px; }
.wbh__clock { display: flex; align-items: baseline; gap: 12px; }
.wbh__date { font-size: 15px; color: var(--mut); font-weight: 600; }
.wbh__time { font-size: 38px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.wbh__rule { position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: linear-gradient(90deg, transparent, rgba(241,207,122,.5) 15%, rgba(241,207,122,.5) 85%, transparent); }
.wbh__prog { position: absolute; left: 0; bottom: -11px; height: 4px; width: 0; border-radius: 2px; background: linear-gradient(90deg, rgba(241,207,122,0), #f1cf7a); box-shadow: 0 0 12px rgba(241,207,122,.8); }

/* pencarian */
.wbs { position: relative; }
.wbs__box { height: 58px; display: flex; align-items: center; gap: 14px; padding: 0 12px 0 18px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 1.5px solid rgba(241,207,122,.45); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.wbs__box:focus-within { border-color: var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 5px rgba(241,207,122,.14); }
.wbs__box input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: #fff; font: 700 19px 'Plus Jakarta Sans', sans-serif; }
.wbs__box input::placeholder { color: #8fa6c8; font-weight: 500; font-size: 17px; }
.wbs__hint { padding: 4px 10px; border-radius: 8px; border: 1px solid rgba(241,207,122,.35); color: var(--gold-t); font-size: 13px; font-weight: 700; white-space: nowrap; }
.wbs__clear { background: none; border: 0; color: var(--mut); font-size: 22px; cursor: pointer; padding: 0 6px; }
.wbs__drop { position: absolute; z-index: 50; left: 0; right: 0; top: 66px; padding: 10px; border-radius: 18px; background: rgba(8,24,52,.97);
  border: 1px solid rgba(241,207,122,.45); box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.wbs__dh { display: flex; justify-content: space-between; padding: 4px 8px 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--gold); }
.wbs__dh span:last-child { letter-spacing: 0; font-weight: 600; color: var(--mut); }
.wbs__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; }
.wbs__item.is-on, .wbs__item:hover { background: rgba(241,207,122,.14); border-color: rgba(241,207,122,.4); }
.wbs__item.is-off { opacity: .6; }
.wbs__nm { font-size: 16px; font-weight: 700; }
.wbs__nm mark { background: none; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.wbs__wil { font-size: 13px; color: var(--mut); }
.wbs__id { font-family: ui-monospace, Menlo, monospace; font-size: 13px; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.07); color: #d7e3f7; }
.wbs__tip { margin-top: 6px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 13px; color: var(--mut-2); }
.wbs__tip b { color: var(--gold-t); }

/* ---------- ticker ---------- */
.wbt { display: flex; align-items: center; gap: 18px; padding: 0 0 0 8px; border-radius: 14px; overflow: hidden; white-space: nowrap; font-size: 17px;
  background: linear-gradient(90deg, rgba(241,207,122,.16), rgba(255,255,255,.04)); border: 1px solid rgba(241,207,122,.3); }
.wbt__lbl { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 8px; border-radius: 10px; flex: none;
  background: linear-gradient(145deg, #fff1c4, #c9952f); color: #2a1d05; font-weight: 800; font-size: 14px; letter-spacing: .08em; }
.wbt__track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.wbt__run { display: inline-flex; gap: 18px; padding-right: 18px; animation: wbt-run linear infinite; }
.wbt__run b { color: var(--gold-t); }
.wbt__run i { color: var(--gold); font-style: normal; }
@keyframes wbt-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- halaman 1: KPI ---------- */
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 4px; }
.kpi { display: flex; flex-direction: column; justify-content: space-between; padding: 14px 22px 12px; }
.kpi__glow { position: absolute; right: -30px; top: -30px; width: 150px; height: 150px; border-radius: 50%; }
.kpi__top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.kpi__lbl { font-size: 16px; font-weight: 700; color: #d7e3f7; line-height: 1.25; max-width: 170px; }
.kpi__val { position: relative; font-size: 48px; color: #fff; }
.kpi__val small { font-size: 22px; font-weight: 800; }
.kpi__sub { position: relative; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mut-2); font-weight: 500; }
.kpi__sub i { width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* peta nasional */
.pmap { padding: 10px 14px; background: radial-gradient(ellipse at 55% 55%, rgba(28,74,146,.5), rgba(255,255,255,.02) 72%); }
.pmap__svg { position: absolute; left: 14px; right: 218px; top: 14px; bottom: 58px; display: flex; align-items: center; justify-content: center; }
.pmap__svg > svg { width: 100%; height: 100%; }
.pmap__svg > svg path { stroke: #071a3a; stroke-width: .9; stroke-linejoin: round; transition: fill .6s; }
.pmap__svg > svg text { font: 800 13px 'Plus Jakarta Sans', Arial, sans-serif; fill: #fff; stroke: #061430; stroke-width: 3; paint-order: stroke; text-anchor: middle; }
.pmap__ttl { position: absolute; right: 22px; top: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.pmap__top { position: absolute; right: 22px; top: 112px; width: 178px; display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; border-radius: 14px; background: rgba(3,11,28,.5); border: 1px solid rgba(241,207,122,.2); }
.pmap__top b.h { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--gold); }
.pmap__leg { position: absolute; left: 22px; right: 22px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; border-radius: 12px; background: rgba(3,11,28,.45); border: 1px solid rgba(241,207,122,.18); }
.pmap__leg span { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: #d7e3f7; }

.row2 { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 18px; }
.row3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; }
.pane { padding: 18px 24px 16px; display: flex; flex-direction: column; gap: 10px; }
.pane--s { padding: 16px 22px; gap: 8px; }
.lst { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 0; }
.lrow { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.stack { display: flex; height: 18px; border-radius: 9px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.legend { display: flex; justify-content: space-between; font-size: 12px; color: #d7e3f7; font-weight: 600; gap: 8px; }
.legend span { display: flex; align-items: center; gap: 5px; }

.spot { padding: 16px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; border-color: rgba(241,207,122,.5);
  background: linear-gradient(150deg, rgba(241,207,122,.12), rgba(18,58,122,.25) 60%, rgba(255,255,255,.03)); }
.spot__foto { position: relative; border-radius: 16px; overflow: hidden; border: 2px solid rgba(241,207,122,.6); background: linear-gradient(180deg, #8fd3ff, #fff2cc 60%, #3f7f4e 61%); }
.spot__foto img.f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot__foto span { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 8px; background: rgba(3,11,28,.72); font-size: 12px; color: var(--gold-t); font-weight: 600; }
.spot__dots { display: flex; gap: 6px; }
.spot__dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(241,207,122,.35); }
.spot__dots i.on { width: 22px; background: var(--gold); }
.spot__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; font-size: 14px; margin-top: 6px; }

/* ---------- halaman 2 ---------- */
.eko1 { display: grid; grid-template-columns: 1.12fr 1fr 1fr; gap: 18px; margin-top: 4px; }
.eko2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.eko3 { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 18px; }
.big { display: flex; flex-direction: column; gap: 4px; }
.big b { font-size: 36px; }
.big small { font-size: 18px; }
.big span { font-size: 13px; font-weight: 600; color: var(--mut); }
.halo { position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none; }
.orb { flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.22), rgba(255,255,255,.03) 70%); border: 1px solid rgba(241,207,122,.35); }
.ring { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ring > div { width: 54px; height: 54px; border-radius: 50%; background: #0a1d3d; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }

/* ---------- halaman desa ---------- */
.pf1 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; margin-top: 4px; }
.pf2, .pf3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.hero { padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px;
  background: radial-gradient(500px 300px at 0% 0%, rgba(241,207,122,.16), transparent 70%), linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.025)); }
.hero__name { font-size: 52px; line-height: 1; }
.frame { position: relative; flex: 1; min-height: 0; border-radius: 16px; padding: 4px; background: linear-gradient(145deg, #fff1c4, #c9952f 55%, #7a5a18); box-shadow: 0 14px 30px rgba(0,0,0,.45); }
.frame > div { position: relative; width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #8fd3ff, #d9f1ff 55%, #5f9d6a 56%, #2a6238); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame span { position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 8px; background: rgba(3,11,28,.72); font-size: 12px; font-weight: 700; color: var(--gold-l); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; height: 54px; }
.thumbs > div { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid rgba(241,207,122,.4); display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #24508f, #0b2550); }
.thumbs img.f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loc { padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; }
.loc__map { position: relative; flex: 1; min-height: 0; border-radius: 14px; background: radial-gradient(ellipse at 40% 70%, rgba(36,90,170,.45), rgba(3,11,28,.35) 75%); border: 1px solid rgba(241,207,122,.22); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.loc__inner { position: relative; height: 100%; max-width: 100%; aspect-ratio: 1000 / 374; }
.loc__inner svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loc__call { position: absolute; width: 0; height: 0; }
.ptile { padding: 9px 12px; display: flex; align-items: center; gap: 12px; }
.tile-row { padding: 6px 12px; display: flex; align-items: center; gap: 12px; }
.wis { overflow: hidden; display: grid; grid-template-columns: 120px minmax(0, 1fr); }
.wis__pic { position: relative; display: flex; align-items: center; justify-content: center; }
.wis__pic img.f { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gauge { width: 118px; height: 118px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px rgba(241,207,122,.3); flex: none; }
.gauge > div { width: 92px; height: 92px; border-radius: 50%; background: #0a1d3d; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* peta desa */
.dmap { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.dmap__box { position: relative; flex: 1; min-height: 0; border-radius: 16px; overflow: hidden; border: 2px solid rgba(241,207,122,.6); background: linear-gradient(135deg, #eef6dc, #d8ebc4 50%, #c3dfb0); }
.dmap__box svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dmap__pins { position: absolute; inset: 0; }
.pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.pin__lbl { margin-bottom: 6px; padding: 4px 10px; border-radius: 9px; background: linear-gradient(180deg, #0d2a55, #071a3a); border: 1px solid rgba(241,207,122,.7); color: var(--gold-l); font-size: 12px; font-weight: 800; white-space: nowrap; box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.pin__body { position: relative; width: 58px; height: 66px; }
.pin__drop { position: absolute; left: 4px; top: 0; width: 50px; height: 50px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid #ffe9aa; box-shadow: 0 10px 18px rgba(7,26,58,.5); }
.pin__face { position: absolute; left: 11px; top: 7px; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e9eef8); box-shadow: inset 0 -2px 4px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; }
.pin__face img { width: 27px; height: 27px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.pin__no { position: absolute; right: -4px; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(145deg, #fff1c4, #c9952f); color: #2a1d05; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 3px 6px rgba(0,0,0,.35); }
.pin__sh { position: absolute; left: 50%; bottom: 0; width: 22px; height: 7px; margin-left: -11px; border-radius: 50%; background: rgba(7,26,58,.35); filter: blur(2px); }
.pin--s .pin__body { width: 44px; height: 50px; } .pin--s .pin__drop { left: 3px; width: 38px; height: 38px; } .pin--s .pin__face { left: 8px; top: 5px; width: 28px; height: 28px; } .pin--s .pin__face img { width: 20px; height: 20px; } .pin--s .pin__no { width: 18px; height: 18px; font-size: 10px; }
.drop--emerald { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.5), rgba(255,255,255,0) 45%), linear-gradient(150deg, #3fd69a, #0b4a33); }
.drop--sapphire { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.5), rgba(255,255,255,0) 45%), linear-gradient(150deg, #5aa8ff, #0f2f6b); }
.drop--amber { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.5), rgba(255,255,255,0) 45%), linear-gradient(150deg, #ffd36b, #7a4f10); }
.drop--coral { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.5), rgba(255,255,255,0) 45%), linear-gradient(150deg, #ff9a6b, #8a2f14); }
.drop--amethyst { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.5), rgba(255,255,255,0) 45%), linear-gradient(150deg, #b896ff, #3c2275); }
.mapbox-w { position: absolute; background: rgba(255,255,255,.92); color: #0a2147; box-shadow: 0 6px 14px rgba(7,26,58,.3); }
.dmap__leg { left: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border-radius: 12px; }
.dmap__leg b { font-size: 11px; letter-spacing: .1em; color: #7a5a18; }
.dmap__leg span { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.dmap__leg i { width: 12px; height: 12px; border-radius: 50%; border: 3px solid; background: #fff; }
.dmap__n { right: 14px; top: 14px; width: 54px; height: 54px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; }
.dmap__sc { right: 14px; bottom: 14px; padding: 6px 10px; border-radius: 10px; font-size: 11px; font-weight: 700; display: flex; flex-direction: column; gap: 3px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; color: var(--ink); }
.tbl thead tr { background: linear-gradient(90deg, #fff1c4, #e2b85a); }
.tbl th { padding: 9px 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #2a1d05; text-align: left; }
.tbl th:first-child { border-radius: 10px 0 0 10px; } .tbl th:last-child { border-radius: 0 10px 10px 0; }
.tbl td { padding: 7px 8px; font-size: 14px; }
.tbl tbody tr:nth-child(odd) { background: rgba(255,255,255,.04); }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.tbl .mono { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: var(--gold-t); text-align: right; white-space: nowrap; font-weight: 400; }
.no { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(145deg, #fff1c4, #c9952f); color: #2a1d05; font-size: 12px; font-weight: 800; align-items: center; justify-content: center; }
.badge { display: inline-block; margin: 1px 2px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.idrow { display: grid; grid-template-columns: 34px 132px minmax(0, 1fr); align-items: center; gap: 10px; padding: 5px 10px 5px 6px; border-radius: 10px; font-size: 14px; }
.idrow:nth-child(odd) { background: rgba(255,255,255,.04); }
.nodata { grid-row: 2 / 3; display: flex; align-items: center; justify-content: center; }
.nodata .wb-card { width: 980px; padding: 48px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.wbp-stage section { position: relative; min-height: 0; min-width: 0; }

/* =====================================================================
   TEMA CERAH (gading · biru kerajaan · emas)
   ===================================================================== */
:root {
  --ink: #0e2747; --ink-2: #2b4470; --mut: #5d7396; --mut-2: #3d5577; --gold-d: #9c6a14; --gold-t: #9c6a14; --green: #0f8a55;
  --track: rgba(14,39,71,.09); --soft: #f5f8fd; --line: rgba(201,149,47,.38);
}
html, body, .wbp-viewport { background: #eef3fa; }
body.wbp { color: var(--ink); }
.wbp-stage {
  color: var(--ink);
  background: radial-gradient(1100px 620px at 12% -12%, #dbe8ff 0%, transparent 60%), radial-gradient(900px 560px at 100% 112%, #fff0cc 0%, transparent 58%),
              linear-gradient(180deg, #f7faff 0%, #eef3fa 55%, #f6f1e6 100%);
}
.wbp-stage::before { opacity: .10; filter: hue-rotate(0deg) saturate(.8); }
.wbp-loading { color: var(--mut); }
.wb-gold { background: linear-gradient(180deg, #e7b54a 0%, #c18a1f 55%, #8f5f0e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wb-ico { filter: drop-shadow(0 8px 10px rgba(14,39,71,.22)); }
.wb-card { background: linear-gradient(165deg, #ffffff 0%, #fbfcff 60%, #f7f9fe 100%); border: 1px solid rgba(201,149,47,.28);
  box-shadow: 0 14px 34px rgba(14,39,71,.10), 0 2px 6px rgba(14,39,71,.05), inset 0 1px 0 #fff; }
.wb-card::before { height: 3px; background: linear-gradient(90deg, transparent, #d9a43a, transparent); }
.wb-tile { background: var(--soft); border: 1px solid rgba(14,39,71,.07); }
.wb-chip { background: #fff6df; border-color: rgba(201,149,47,.45); color: #8a5d0c; }
.wb-chip--ok { background: #e3f7ee; border-color: rgba(15,138,85,.4); color: #0f7a4a; }
.wb-empty { color: var(--mut); }
.gem { border-color: rgba(255,255,255,.95); box-shadow: 0 6px 14px rgba(14,39,71,.22), inset 0 -3px 6px rgba(0,0,0,.18), inset 0 2px 3px rgba(255,255,255,.5); }

/* header */
.wbh__emblem > div { background: radial-gradient(circle at 35% 30%, #ffffff, #e8eef8 75%); }
.wbh__title { color: var(--ink); }
.wbh__sub { color: var(--mut); }
.wbh__sub b { color: var(--green); }
.wbh__eyebrow { color: var(--gold-d); }
.wbh__date { color: var(--mut); }
.wbh__tab { background: #fff; color: var(--mut-2); border-color: rgba(14,39,71,.12); box-shadow: 0 2px 6px rgba(14,39,71,.06); }
.wbh__tab span { background: #fff1d2; color: var(--gold-d); }
.wbh__tab.is-on { background: linear-gradient(145deg, #ffe7a6, #d9a43a); color: #3a2706; }
.wbh__tab.is-on span { background: #3a2706; color: #ffe7a6; }
.wbh__rule { background: linear-gradient(90deg, transparent, rgba(201,149,47,.55) 15%, rgba(201,149,47,.55) 85%, transparent); }
.wbh__fs { font: 700 13px 'Plus Jakarta Sans', sans-serif; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(14,39,71,.15); background: #0e2747; color: #ffe7a6; cursor: pointer; align-self: center; margin-right: 4px; }
.wbh__fs:hover { background: #163a6b; }
.wbs__box { background: #fff; border-color: rgba(201,149,47,.55); box-shadow: 0 10px 26px rgba(14,39,71,.10); }
.wbs__box input { color: var(--ink); }
.wbs__box input::placeholder { color: #7f93b3; }
.wbs__hint { color: #8a5d0c; border-color: rgba(201,149,47,.45); background: #fff8e8; }
.wbs__drop { background: #fff; border-color: rgba(201,149,47,.5); box-shadow: 0 30px 60px rgba(14,39,71,.22); }
.wbs__dh { color: var(--gold-d); } .wbs__dh span:last-child { color: var(--mut); }
.wbs__item.is-on, .wbs__item:hover { background: #fff6df; border-color: rgba(201,149,47,.45); }
.wbs__nm mark { color: #b07713; }
.wbs__wil { color: var(--mut); }
.wbs__id { background: var(--soft); color: var(--ink-2); }
.wbs__tip { background: var(--soft); color: var(--mut-2); } .wbs__tip b { color: var(--gold-d); }

/* ticker: pita biru tua berkilau emas */
.wbt { background: linear-gradient(90deg, #0e2747, #163a6b 60%, #0e2747); border-color: rgba(201,149,47,.6); color: #eef4ff; box-shadow: 0 10px 24px rgba(14,39,71,.18); }
.wbt__run b { color: #ffd77a; } .wbt__run i { color: #f1cf7a; }

/* elemen halaman */
.kpi__lbl { color: var(--ink-2); } .kpi__val { color: var(--ink); } .kpi__sub { color: var(--mut-2); }
.pmap { background: radial-gradient(ellipse at 55% 55%, #e4eeff, #ffffff 72%); }
.pmap__top, .pmap__leg { background: rgba(255,255,255,.9); border-color: rgba(201,149,47,.3); }
.pmap__top b.h { color: var(--gold-d); }
.pmap__leg span { color: var(--ink-2); }
.legend { color: var(--ink-2); }
.spot { background: linear-gradient(150deg, #fff6df, #ffffff 55%, #eef4ff); border-color: rgba(201,149,47,.55); }
.spot__dots i { background: rgba(201,149,47,.35); } .spot__dots i.on { background: #c9952f; }
.big span { color: var(--mut); }
.orb { background: radial-gradient(circle at 35% 30%, #ffffff, #eef3fb 70%); border-color: rgba(201,149,47,.4); }
.ring > div, .gauge > div { background: #fff; color: var(--ink); }
.hero { background: radial-gradient(520px 320px at 0% 0%, #fff1cf, transparent 70%), linear-gradient(165deg, #ffffff, #f8faff); }
.thumbs > div { background: linear-gradient(160deg, #e6efff, #cfdcf5); border-color: rgba(201,149,47,.45); }
.loc__map { background: radial-gradient(ellipse at 40% 70%, #dde9ff, #f6f9ff 75%); border-color: rgba(201,149,47,.3); }
.tbl td { color: var(--ink); }
.tbl tbody tr:nth-child(odd) { background: var(--soft); }
.tbl .mono { color: #8a5d0c; }
.idrow:nth-child(odd) { background: var(--soft); }
.idrow { grid-template-columns: 36px 140px minmax(0, 1fr); }
.idrow__v { line-height: 1.25; }
.nodata .wb-card { background: #fff; }

/* elemen yang bisa diketuk */
.is-click { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.is-click:hover { box-shadow: 0 0 0 2px rgba(217,164,58,.55); }
.gem.is-click:hover, .wb-tile.is-click:hover { transform: translateY(-2px); }
tr.is-click:hover td { background: #fff3d6; }
.gem.is-click::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 3v6M3 6h6' stroke='%23c9952f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/10px no-repeat; box-shadow: 0 1px 3px rgba(0,0,0,.25); }

/* unit usaha BUM Desa: tidak terpotong */
.units { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.unit { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 5px 10px 5px 6px; border-radius: 10px; background: var(--soft); border: 1px solid rgba(14,39,71,.07); font-size: 13px; font-weight: 700; }
.fit2 { display: block; min-width: 0; white-space: nowrap; overflow: hidden; }
.wb-ell { text-overflow: clip; }

/* pop-up detail */
.pop { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(14,39,71,.35); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.pop.is-on { opacity: 1; }
.pop__card { position: relative; width: min(720px, 92vw); max-height: 88vh; overflow: auto; padding: 26px 28px 18px; border-radius: 24px; background: linear-gradient(170deg, #ffffff, #fbfcff); color: var(--ink);
  border: 1.5px solid rgba(201,149,47,.6); box-shadow: 0 40px 80px rgba(14,39,71,.35); transform: translateY(10px) scale(.98); transition: transform .2s; }
.pop.is-on .pop__card { transform: none; }
.pop__card::before { content: ""; position: absolute; left: 40px; right: 40px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, transparent, #d9a43a, transparent); }
.pop__x { position: absolute; right: 16px; top: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(14,39,71,.12); background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; }
.pop__x:hover { background: #fff3d6; }
.pop__head { display: flex; align-items: center; gap: 16px; padding-right: 44px; margin-bottom: 16px; }
.pop__head h3 { margin: 2px 0; font-size: 30px; line-height: 1.1; }
.pop__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--gold-d); }
.pop__sub { font-size: 14px; color: var(--mut); }
.pop__foto { border-radius: 16px; overflow: hidden; border: 3px solid #e7c26a; margin-bottom: 14px; max-height: 320px; }
.pop__foto img { width: 100%; height: 100%; max-height: 314px; object-fit: cover; display: block; }
.pop__tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.pop__tbl th { text-align: left; width: 38%; padding: 9px 12px; color: var(--mut-2); font-weight: 700; vertical-align: top; }
.pop__tbl td { padding: 9px 12px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.pop__tbl tr:nth-child(odd) th, .pop__tbl tr:nth-child(odd) td { background: var(--soft); }
.pop__tbl tr:nth-child(odd) th { border-radius: 10px 0 0 10px; } .pop__tbl tr:nth-child(odd) td { border-radius: 0 10px 10px 0; }
.pop__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.pop__list > span { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--soft); }
.pop__list b { font-size: 14px; } .pop__list small { grid-column: 2; font-size: 12px; color: var(--mut); }
.pop__foot { margin-top: 14px; font-size: 12px; color: var(--mut); text-align: center; }

/* peta desa: mode & lapisan */
.dmap__box { background: #dfe7d6; }
.dmap__box .leaflet-container { background: transparent; font-family: 'Plus Jakarta Sans', sans-serif; }
.dmap__box.mode-ilustrasi { background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cg fill='none' stroke='%238fb878' stroke-opacity='.45'%3E%3Cellipse cx='60' cy='70' rx='50' ry='34'/%3E%3Cellipse cx='60' cy='70' rx='30' ry='20'/%3E%3Cellipse cx='180' cy='170' rx='56' ry='40'/%3E%3Cellipse cx='180' cy='170' rx='34' ry='24'/%3E%3Cellipse cx='180' cy='170' rx='14' ry='10'/%3E%3C/g%3E%3C/svg%3E"),
  linear-gradient(135deg, #f1f8e4, #dcefc9 50%, #c9e4b6); }
.pin-ico { background: none; border: 0; }
.pin--leaf { position: absolute; left: 29px; top: 66px; }
.pin__lbl { background: linear-gradient(180deg, #ffffff, #fff8e8); color: var(--ink); border-color: #d9a43a; box-shadow: 0 6px 14px rgba(14,39,71,.25); }
.dmap__modes { position: absolute; z-index: 800; left: 50%; top: 14px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: 0 8px 20px rgba(14,39,71,.22); }
.mode { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 10px; background: none; font: 700 13px 'Plus Jakarta Sans', sans-serif; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.mode.is-on { background: linear-gradient(145deg, #ffe7a6, #d9a43a); color: #3a2706; box-shadow: 0 3px 8px rgba(156,106,20,.3); }
.mode:not(.is-on):hover { background: #f1f5fc; }
.mapbox-w { z-index: 800; background: rgba(255,255,255,.95); }
.dmap__n { top: 76px; }
.dmap__lyr { left: 14px; bottom: 14px; top: auto; display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 14px; min-width: 238px; position: absolute; box-shadow: 0 8px 20px rgba(14,39,71,.2); }
.dmap__lyr b { font-size: 11px; letter-spacing: .1em; color: #7a5a18; margin-bottom: 2px; }
.lyr { display: grid; grid-template-columns: 18px 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 3px 4px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; }
.lyr:hover { background: #fff3d6; }
.lyr input { width: 16px; height: 16px; accent-color: #c9952f; margin: 0; }
.lyr b { margin: 0; font-size: 12px; letter-spacing: 0; padding: 1px 7px; border-radius: 999px; background: #fff1d2; color: #8a5d0c; }
.lyr__line { width: 26px; height: 0; border-top: 3px dashed #c9952f; justify-self: center; }
.dmap__box .leaflet-control-zoom { margin-top: 140px !important; border: 0 !important; box-shadow: 0 6px 14px rgba(14,39,71,.25) !important; }
.dmap__box .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 38px; font-size: 20px; }
.dmap__box .leaflet-control-scale { margin-bottom: 14px !important; margin-right: 14px !important; }
.lst--top { justify-content: flex-start; }
.pmap__svg path[data-pop] { cursor: pointer; }
.pmap__svg path[data-pop]:hover { filter: brightness(1.15); stroke: #c9952f; stroke-width: 2.2; }
.kpi.is-click:hover, .wb-card.is-click:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(14,39,71,.16), 0 0 0 2px rgba(217,164,58,.55); }
.pop__list > span[data-desa]:hover { background: #fff3d6; }

/* daftar desa di balik angka */
.pop__card--wide { width: min(860px, 94vw); }
.pop__back { position: absolute; right: 64px; top: 14px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(14,39,71,.12); background: #fff; color: var(--ink); font: 700 14px 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.pop__back:hover { background: #fff3d6; }
.pop__drill { margin-left: 10px; padding: 3px 11px; border-radius: 999px; border: 1px solid rgba(201,149,47,.55); background: #fff6df; color: #8a5d0c; font: 800 12px 'Plus Jakarta Sans', sans-serif; cursor: pointer; vertical-align: 1px; }
.pop__drill:hover { background: linear-gradient(145deg, #ffe7a6, #d9a43a); color: #3a2706; }
.pop__item--drill small u { color: #9c6a14; text-decoration: none; font-weight: 800; }
.pop__item--drill:hover { background: #fff3d6 !important; }
.pop__cari { display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; }
.pop__cari input { flex: 1; height: 42px; padding: 0 14px; border-radius: 12px; border: 1.5px solid rgba(201,149,47,.5); font: 600 15px 'Plus Jakarta Sans', sans-serif; color: var(--ink); outline: 0; }
.pop__cari input:focus { border-color: #c9952f; box-shadow: 0 0 0 4px rgba(241,207,122,.25); }
.pop__cari span { font-size: 13px; font-weight: 800; color: var(--gold-d); white-space: nowrap; }
.pop__desa { display: flex; flex-direction: column; gap: 6px; max-height: 52vh; overflow: auto; padding-right: 4px; }
.pop__drow { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(14,39,71,.07); background: var(--soft); text-align: left; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif; color: var(--ink); }
.pop__drow:hover { background: #fff3d6; border-color: rgba(201,149,47,.45); }
.pop__drow[hidden] { display: none; }
.pop__dnm { display: flex; flex-direction: column; min-width: 0; } .pop__dnm b { font-size: 15px; } .pop__dnm small { font-size: 12px; color: var(--mut); }
.pop__go { font-size: 12px; font-weight: 800; color: #9c6a14; white-space: nowrap; }
.wbp-pulse { animation: wbp-pulse 1.4s ease-in-out infinite; }

/* peta tema nasional di atas citra satelit */
.pmap--leaf { padding: 0; }
.pmap--leaf .pmap__svg { left: 0; right: 0; top: 0; bottom: 0; border-radius: 22px; overflow: hidden; }
.pmap--leaf.mode-ilustrasi .pmap__svg { background: radial-gradient(ellipse at 55% 55%, #e4eeff, #ffffff 72%); }
.pmap--leaf .leaflet-container { background: #0b2a4a; font-family: 'Plus Jakarta Sans', sans-serif; }
.pmap--leaf.mode-ilustrasi .leaflet-container { background: transparent; }
.pmap--leaf .pmap__ttl, .pmap--leaf .pmap__top, .pmap--leaf .pmap__leg, .pmap__modes { z-index: 800; }
.pmap--leaf .pmap__ttl { padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 8px 20px rgba(14,39,71,.2); }
.pmap--leaf .pmap__top { top: 128px; box-shadow: 0 8px 20px rgba(14,39,71,.2); }
.pmap--leaf .pmap__leg { background: rgba(255,255,255,.93); box-shadow: 0 8px 20px rgba(14,39,71,.2); }
.pmap__modes { position: absolute; left: 16px; top: 14px; display: flex; gap: 4px; padding: 5px; border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: 0 8px 20px rgba(14,39,71,.22); }
.pmap--leaf .leaflet-control-zoom { margin-top: 70px !important; margin-left: 16px !important; border: 0 !important; box-shadow: 0 6px 14px rgba(14,39,71,.25) !important; }
.pmap--leaf .leaflet-bottom { bottom: 64px; }
.nas-lbl span { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 24px; padding: 0 7px; border-radius: 999px; background: #ffffff; border: 3px solid; color: #0e2747; font: 800 13px 'Plus Jakarta Sans', sans-serif; box-shadow: 0 3px 8px rgba(0,0,0,.4); }
.nas-tip { font: 700 13px 'Plus Jakarta Sans', sans-serif; color: #0e2747; border-radius: 10px; }

/* peta nasional: tanpa kartu judul, mode peta vertikal */
.pmap__modes { flex-direction: column; align-items: stretch; gap: 3px; }
.pmap__modes .mode { justify-content: flex-start; }
.pmap--leaf .pmap__top { top: 16px; }
.pmap--leaf .leaflet-control-zoom { margin-top: 196px !important; }

/* mode peta nasional: tombol tersusun vertikal */
.pmap__modes { flex-direction: column; align-items: stretch; gap: 3px; padding: 6px; }
.pmap__modes .mode { justify-content: flex-start; }
.pmap--leaf .leaflet-control-zoom { margin-top: 196px !important; }
.pmap--leaf .pmap__top { top: 16px; }

/* =====================================================================
   VERSI HP / LAYAR SEMPIT (≤ 900 px): satu kolom, bisa digulir
   ===================================================================== */
body.wbp-mobile, body.wbp-mobile html { overflow: auto; height: auto; }
html:has(body.wbp-mobile) { overflow: auto; height: auto; }
.wbp-mobile .wbp-viewport { position: static; overflow: visible; }
.wbp-mobile .wbp-stage { position: relative; width: 100% !important; height: auto !important; transform: none !important; display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 16px; grid-template-rows: none !important; }
.wbp-mobile .wbp-stage > *, .wbp-mobile .wbp-stage section { flex: none; }
.wbp-mobile .wbp-stage section, .wbp-mobile .wbp-stage .row2, .wbp-mobile .wbp-stage .row3, .wbp-mobile .eko1, .wbp-mobile .eko2, .wbp-mobile .eko3,
.wbp-mobile .pf1, .wbp-mobile .pf2, .wbp-mobile .pf3 { display: flex !important; flex-direction: column !important; gap: 14px !important; margin-top: 0 !important; }
.wbp-mobile [style*="grid-row"], .wbp-mobile [style*="grid-column"] { grid-row: auto !important; grid-column: auto !important; }
.wbp-mobile .wb-card { border-radius: 18px; min-height: 0; }
.wbp-mobile .wb-card[style*="grid-template-columns"], .wbp-mobile .hero, .wbp-mobile .loc, .wbp-mobile .spot, .wbp-mobile .wis { grid-template-columns: 1fr !important; }
.wbp-mobile .wb-ell { white-space: normal; overflow: visible; }
.wbp-mobile .wbp-fade[style*="display:contents"] { display: contents !important; }

/* header */
.wbp-mobile .wbh { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 0; }
.wbp-mobile .wbh__brand { gap: 12px; }
.wbp-mobile .wbh__emblem { width: 56px; height: 56px; box-shadow: 0 0 0 4px rgba(241,207,122,.12), 0 8px 18px rgba(0,0,0,.25); }
.wbp-mobile .wbh__emblem img.logo { width: 40px; height: 40px; }
.wbp-mobile .wbh__eyebrow { font-size: 10px; letter-spacing: .18em; flex-wrap: wrap; }
.wbp-mobile .wbh__title { font-size: 24px; white-space: normal; }
.wbp-mobile .wbh__sub { font-size: 12px; white-space: normal; }
.wbp-mobile .wbs__box { height: 50px; padding: 0 10px 0 14px; }
.wbp-mobile .wbs__box input { font-size: 16px; }
.wbp-mobile .wbs__hint { display: none; }
.wbp-mobile .wbs__drop { top: 56px; }
.wbp-mobile .wbh__end { align-items: stretch; gap: 8px; }
.wbp-mobile .wbh__tabs { flex-wrap: wrap; gap: 6px; }
.wbp-mobile .wbh__tab { font-size: 12px; padding: 5px 10px 5px 5px; }
.wbp-mobile .wbh__clock { justify-content: space-between; align-items: center; }
.wbp-mobile .wbh__fs { display: none; }
.wbp-mobile .wbh__time { font-size: 26px; }
.wbp-mobile .wbh__date { font-size: 12px; }
.wbp-mobile .wbh__rule, .wbp-mobile .wbh__prog { display: none; }

/* ringkasan */
.wbp-mobile .kpis { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
.wbp-mobile .kpi { padding: 12px 14px; min-height: 132px; gap: 6px; }
.wbp-mobile .kpi__lbl { font-size: 13px; max-width: none; }
.wbp-mobile .kpi__top img { width: 40px; height: 40px; }
.wbp-mobile .kpi__val { font-size: 30px; }
.wbp-mobile .kpi__val small { font-size: 15px; }
.wbp-mobile .kpi__sub { font-size: 11.5px; }
.wbp-mobile .pmap { height: 470px; }
.wbp-mobile .pmap__svg { left: 0; right: 0; top: 0; bottom: 0; }
.wbp-mobile .pmap__modes { left: 8px; top: 8px; padding: 4px; }
.wbp-mobile .pmap__modes .mode { font-size: 11px; padding: 5px 8px; gap: 4px; }
.wbp-mobile .pmap__modes .mode img { width: 16px; height: 16px; }
.wbp-mobile .pmap--leaf .leaflet-control-zoom { margin-top: 136px !important; margin-left: 8px !important; }
.wbp-mobile .pmap__top { display: none; }
.wbp-mobile .pmap__leg { left: 8px; right: 8px; bottom: 8px; padding: 6px 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
.wbp-mobile .pmap__leg span { font-size: 11px; gap: 4px; }
.wbp-mobile .pmap__leg .gem { width: 22px !important; height: 22px !important; }
.wbp-mobile .pmap__leg .gem img { width: 15px; height: 15px; }
.wbp-mobile .pmap--leaf .leaflet-bottom { bottom: 108px; }
.wbp-mobile .pane, .wbp-mobile .pane--s { padding: 14px 16px; gap: 10px; }
.wbp-mobile .lst { gap: 10px; }
.wbp-mobile .wb-ttl-m, .wbp-mobile .wb-ttl-l { font-size: 21px; }
.wbp-mobile .legend { flex-wrap: wrap; gap: 6px 12px; justify-content: flex-start; }
.wbp-mobile .spot__foto { height: 180px; }
.wbp-mobile .spot .wb-ttl { font-size: 24px !important; }
.wbp-mobile .spot__grid { grid-template-columns: 1fr 1fr; }

/* ekonomi */
.wbp-mobile .big b { font-size: 26px; }
.wbp-mobile .big small { font-size: 14px; }
.wbp-mobile [style*="display:flex;gap:30px"], .wbp-mobile [style*="display:flex;gap:26px"], .wbp-mobile [style*="display:flex;gap:22px"] { flex-wrap: wrap; gap: 14px 20px !important; }
.wbp-mobile .eko2 .wb-card { grid-template-columns: 80px minmax(0, 1fr) !important; }
.wbp-mobile .eko2 .orb { width: 72px !important; height: 72px !important; }
.wbp-mobile .eko2 .orb img { width: 48px; height: 48px; }
.wbp-mobile [style*="grid-template-columns:repeat(4,minmax(0,1fr))"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-rows: none !important; }
.wbp-mobile .halo { display: none; }

/* profil desa */
.wbp-mobile .hero__name { font-size: 30px !important; }
.wbp-mobile .hero .frame { min-height: 210px; }
.wbp-mobile .loc__map { min-height: 200px; }
.wbp-mobile .loc__call div[style*="white-space:nowrap"] { transform: scale(.8); transform-origin: left top; }
.wbp-mobile .loc > div:last-child { display: grid !important; grid-template-columns: 1fr 1fr; }
.wbp-mobile .units { grid-template-columns: 1fr; }
.wbp-mobile .wis { max-height: none !important; grid-template-columns: 96px minmax(0, 1fr) !important; }
.wbp-mobile .wis__pic { min-height: 96px; }
.wbp-mobile .gauge { width: 104px; height: 104px; }
.wbp-mobile .gauge > div { width: 82px; height: 82px; }
.wbp-mobile .pf3 > .wb-card[style*="grid-template-columns:150px"] { grid-template-columns: 110px minmax(0, 1fr) !important; }
.wbp-mobile .pf3 [style*="grid-template-rows:repeat(3"] { grid-template-rows: none !important; }
.wbp-mobile .dmap { min-height: 0; }
.wbp-mobile .dmap__box { height: 460px; flex: none; }
.wbp-mobile .dmap .wb-h { flex-wrap: wrap; }
.wbp-mobile .dmap__modes { left: 8px; top: 8px; transform: none; flex-direction: column; align-items: stretch; padding: 4px; gap: 2px; }
.wbp-mobile .dmap__modes .mode { font-size: 11px; padding: 5px 8px; }
.wbp-mobile .dmap__box .leaflet-control-zoom { margin-top: 136px !important; }
.wbp-mobile .dmap__n { top: 8px; right: 8px; width: 40px; height: 40px; }
.wbp-mobile .dmap__lyr { left: 8px; right: 8px; bottom: 8px; min-width: 0; max-height: 150px; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; padding: 8px; }
.wbp-mobile .dmap__lyr > b { grid-column: 1 / -1; }
.wbp-mobile .lyr { grid-template-columns: 16px 22px minmax(0, 1fr) auto; font-size: 11px; gap: 5px; }
.wbp-mobile .lyr .gem { width: 22px !important; height: 22px !important; }
.wbp-mobile .lyr .gem img { width: 15px; height: 15px; }
.wbp-mobile .dmap__box .leaflet-bottom { bottom: 160px; }
.wbp-mobile .tbl { display: block; overflow-x: auto; }
.wbp-mobile .tbl td, .wbp-mobile .tbl th { white-space: nowrap; }
.wbp-mobile .idrow { grid-template-columns: 34px 110px minmax(0, 1fr); font-size: 13px; }
.wbp-mobile section > .wb-card[style*="grid-template-columns:repeat(4,minmax(0,1fr)) 1.6fr"] { grid-template-columns: 1fr 1fr !important; }
.wbp-mobile section > .wb-card[style*="grid-template-columns:repeat(4,minmax(0,1fr)) 1.6fr"] > .wb-tile { grid-column: 1 / -1; }
.wbp-mobile .nodata .wb-card { width: auto; padding: 28px 18px; }
.wbp-mobile .nodata .wb-ttl { font-size: 28px !important; }

/* ticker & pop-up */
.wbp-mobile .wbt { height: 46px; font-size: 14px; }
.wbp-mobile .wbt__lbl { font-size: 11px; padding: 4px 10px 4px 6px; }
.wbp-mobile .wbt__lbl img { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .pop__card { padding: 20px 16px 14px; border-radius: 20px; max-height: 90vh; }
  .pop__head { gap: 12px; padding-right: 40px; }
  .pop__head .gem { width: 50px !important; height: 50px !important; }
  .pop__head h3 { font-size: 22px; }
  .pop__tbl { font-size: 13.5px; }
  .pop__tbl th { width: 44%; padding: 8px; }
  .pop__tbl td { padding: 8px; }
  .pop__list { grid-template-columns: 1fr; }
  .pop__back { right: 58px; top: 12px; height: 34px; padding: 0 10px; font-size: 13px; }
  .pop__x { width: 34px; height: 34px; right: 12px; top: 12px; }
  .pop__drow { grid-template-columns: 26px minmax(0, 1fr) auto; }
  .pop__drow .wb-chip { display: none; }
}
.wbp-mobile .wbp-stage section.kpis { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; }
.wbp-mobile .pmap__modes { flex-direction: row; left: 8px; right: 8px; top: 8px; overflow-x: auto; justify-content: space-between; }
.wbp-mobile .pmap__modes .mode { flex: 1; justify-content: center; white-space: nowrap; }
.wbp-mobile .pmap--leaf .leaflet-top.leaflet-left { left: auto; right: 0; }
.wbp-mobile .pmap--leaf .leaflet-control-zoom { margin-top: 56px !important; margin-left: 0 !important; margin-right: 8px !important; }
.wbp-mobile .dmap__modes { flex-direction: row; left: 8px; right: 8px; overflow-x: auto; }
.wbp-mobile .dmap__modes .mode { flex: 1; justify-content: center; white-space: nowrap; }
.wbp-mobile .dmap__box .leaflet-top.leaflet-left { left: auto; right: 0; }
.wbp-mobile .dmap__box .leaflet-control-zoom { margin-top: 104px !important; margin-right: 8px !important; }
.wbp-mobile .dmap__n { top: 54px; }
.wbp-mobile .mode img { display: none; }
.wbp-mobile .eko1 [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
.wbp-mobile .eko1 .wb-tile { min-width: 0; }
.wbp-mobile .loc__map { min-height: 0; padding: 50px 0 10px; }
.wbp-mobile .loc__inner { width: 100%; height: auto; }
.wbp-mobile .dmap__box { height: auto; }
.wbp-mobile #wbLeaf { position: relative !important; inset: auto !important; height: 400px; }
.wbp-mobile .dmap__lyr { position: static; max-height: none; border-radius: 0; box-shadow: none; border-top: 1px solid rgba(201,149,47,.35); background: #fff; }
.wbp-mobile .lyr { grid-template-columns: 16px 22px minmax(0, 1fr) auto; }
.wbp-mobile .lyr b { white-space: nowrap; }
.wbp-mobile .dmap__box .leaflet-bottom { bottom: 0; }
.wbp-mobile .wb-card:has(> .tbl)::after, .wbp-mobile .pane:has(.tbl) .wb-h::after { content: none; }
.wbp-mobile .lyr b { grid-column: auto; }
.wbp-mobile .loc__map { display: block; }
.wbp-mobile .loc__inner { width: 100% !important; height: auto !important; max-width: 100%; aspect-ratio: 1000 / 374; }

/* layar memuat: logo instansi dengan cincin emas berputar */
.wbp-loading { gap: 14px; text-align: center; padding: 20px; }
.wbp-loading img { animation: none; }
.wbp-loader { position: relative; width: 150px; height: 150px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff, #eef3fb 75%); box-shadow: 0 18px 40px rgba(14,39,71,.18), 0 0 0 8px rgba(241,207,122,.18); }
.wbp-loader img { width: 112px; height: 112px; object-fit: contain; animation: wbp-pulse 1.8s ease-in-out infinite; }
.wbp-loader__ring { position: absolute; inset: -10px; border-radius: 50%; border: 5px solid rgba(201,149,47,.18); border-top-color: #d9a43a; border-right-color: #f1cf7a; animation: wbp-putar 1.1s linear infinite; }
@keyframes wbp-putar { to { transform: rotate(360deg); } }
.wbp-loading b { font-size: 20px; color: var(--ink, #0e2747); letter-spacing: .02em; max-width: 640px; }
.wbp-loading span { font-size: 18px; color: var(--mut, #5d7396); }
.wbp-mobile .wbp-loading { min-height: 80vh; }
