/* ═══════════════════════════════════════════
   SIPBP — Dashboard Styles
   ═══════════════════════════════════════════ */

body {
        font-family: "Plus Jakarta Sans", sans-serif;
        background: var(--bg);
        color: var(--t1);
        overflow: hidden;
        height: 100dvh;
        transition:
          background 0.3s,
          color 0.3s;
      }
      .app {
        display: flex;
        flex-direction: column;
        height: 100dvh;
      }
      .header {
        background: var(--header-bg);
        border-bottom: 2px solid var(--header-accent);
        padding: 10px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-shrink: 0;
        z-index: 100;
        position: relative;
        box-shadow: 0 2px 16px rgba(15, 23, 42, 0.15);
      }
      .header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #22d3ee 0%, #06b6d4 50%, #0891b2 100%);
      }
      .header-left {
        display: flex;
        align-items: center;
        gap: 14px;
        min-width: 0;
      }
      .logos {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
        background: rgba(255, 255, 255, 0.08);
        padding: 5px 10px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.12);
      }
      .logos img {
        height: 36px;
        width: auto;
        object-fit: contain;
      }
      .app-title-block {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
      }
      .app-kop {
        font-size: 8px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.55);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .app-name {
        font-size: 17px;
        font-weight: 800;
        color: #fff;
        letter-spacing: -0.02em;
        line-height: 1;
        display: flex;
        align-items: center;
        gap: 10px;
      }
      .app-name-accent {
        color: var(--header-accent);
      }
      .app-desc {
        font-size: 9px;
        color: rgba(255, 255, 255, 0.55);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
      }
      .header-right {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
      }
      .badge {
        padding: 4px 10px;
        border-radius: 16px;
        font-size: 9px;
        font-weight: 700;
        background: rgba(34, 211, 238, 0.15);
        color: var(--header-accent);
        border: 1px solid rgba(34, 211, 238, 0.35);
        text-transform: uppercase;
        letter-spacing: 0.05em;
      }
      .badge-live {
        display: inline-flex;
        align-items: center;
        gap: 5px;
      }
      .badge-live::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #22d3ee;
        box-shadow: 0 0 8px rgba(34, 211, 238, 0.8);
        animation: pulse 2s ease-in-out infinite;
      }
      
        50% {
          opacity: 0.6;
          transform: scale(0.85);
        }
      }
      .ibtn {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.85);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        transition: all 0.2s;
        flex-shrink: 0;
        position: relative;
      }
      .ibtn:hover {
        border-color: var(--header-accent);
        color: var(--header-accent);
        background: rgba(34, 211, 238, 0.12);
        transform: translateY(-1px);
      }
      .ibtn.on {
        background: rgba(34, 211, 238, 0.2);
        border-color: var(--header-accent);
        color: var(--header-accent);
        box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
      }
      .ibtn-primary {
        background: linear-gradient(135deg, #0891b2, #06b6d4);
        border-color: #06b6d4;
        color: #fff;
        box-shadow: 0 2px 8px rgba(6, 182, 212, 0.35);
      }
      .ibtn-primary:hover {
        background: linear-gradient(135deg, #06b6d4, #22d3ee);
        color: #fff;
        box-shadow: 0 4px 14px rgba(6, 182, 212, 0.5);
      }
      .ibtn-tip {
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        background: #0f172a;
        color: #f1f5f9;
        font-size: 9px;
        font-weight: 600;
        padding: 5px 9px;
        border-radius: 6px;
        white-space: nowrap;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.15s;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.08);
      }
      .ibtn:hover .ibtn-tip {
        opacity: 1;
      }
      .mod-nav {
        display: flex;
        background: var(--nav-bg);
        border-bottom: 1px solid var(--border);
        padding: 8px 14px;
        gap: 6px;
        flex-shrink: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow:
          0 1px 0 var(--border),
          0 4px 10px rgba(15, 23, 42, 0.03);
      }
      .mod-nav::-webkit-scrollbar {
        height: 0;
      }
      .mbtn {
        padding: 8px 14px;
        border-radius: 9px;
        border: 1px solid var(--border);
        font:
          600 10.5px "Plus Jakarta Sans",
          sans-serif;
        cursor: pointer;
        white-space: nowrap;
        background: var(--card2);
        color: var(--nav-text);
        flex-shrink: 0;
        transition: all 0.18s;
        display: inline-flex;
        align-items: center;
        gap: 6px;
      }
      .mbtn .mb-count {
        display: inline-block;
        padding: 2px 6px;
        border-radius: 10px;
        background: rgba(148, 163, 184, 0.18);
        color: var(--t2);
        font-size: 9px;
        font-weight: 700;
        min-width: 22px;
        text-align: center;
      }
      .mbtn.active {
        background: linear-gradient(135deg, var(--nav-active), var(--accent-2));
        color: var(--nav-active-text);
        border-color: var(--nav-active);
        box-shadow: 0 2px 10px rgba(8, 145, 178, 0.3);
        transform: translateY(-1px);
      }
      .mbtn.active .mb-count {
        background: rgba(255, 255, 255, 0.25);
        color: #fff;
      }
      .mbtn:hover:not(.active) {
        background: var(--hover-accent);
        color: var(--t1);
        border-color: var(--accent-border);
      }
      .mdot {
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        vertical-align: middle;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
      }
      .mtabs {
        display: none;
        background: var(--card);
        border-bottom: 1px solid var(--border);
        padding: 4px 8px;
        gap: 4px;
        flex-shrink: 0;
      }
      .tbtn {
        flex: 1;
        padding: 7px 0;
        border-radius: 8px;
        border: none;
        font:
          600 11px "Plus Jakarta Sans",
          sans-serif;
        cursor: pointer;
        background: var(--card2);
        color: var(--nav-text);
        transition: all 0.2s;
      }
      .tbtn.active {
        background: var(--nav-active);
        color: var(--nav-active-text);
      }
      .main {
        display: grid;
        grid-template-columns: 320px 1fr;
        flex: 1;
        overflow: hidden;
      }
      .sidebar {
        background: var(--card);
        border-right: 1px solid var(--border);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        -webkit-overflow-scrolling: touch;
        box-shadow:
          1px 0 0 var(--border),
          4px 0 12px rgba(15, 23, 42, 0.02);
      }
      .sidebar::-webkit-scrollbar {
        width: 5px;
      }
      .sidebar::-webkit-scrollbar-thumb {
        background: var(--border-strong);
        border-radius: 3px;
      }
      .sidebar::-webkit-scrollbar-thumb:hover {
        background: var(--accent);
      }
      .mpanel {
        display: none;
        flex-direction: column;
        flex: 1;
      }
      .mpanel.active {
        display: flex;
      }
      .stitle {
        padding: 12px 14px 6px;
        font-size: 9px;
        font-weight: 800;
        color: var(--t3);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .stitle::before {
        content: "";
        width: 3px;
        height: 12px;
        background: var(--accent);
        border-radius: 2px;
      }
      .scards {
        padding: 6px 12px 10px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
      }
      .sc {
        background: var(--card2);
        border: 1px solid var(--border);
        border-radius: 11px;
        padding: 11px 12px;
        box-shadow: var(--shadow);
        position: relative;
        overflow: hidden;
        transition: all 0.2s;
      }
      .sc::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: currentColor;
        opacity: 0.8;
      }
      .sc:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
      }
      .sc .sl {
        font-size: 8px;
        font-weight: 700;
        color: var(--t3);
        text-transform: uppercase;
        letter-spacing: 0.06em;
      }
      .sc .sv {
        font-size: 20px;
        font-weight: 800;
        margin-top: 3px;
        letter-spacing: -0.03em;
        line-height: 1;
      }
      .sc .sd {
        font-size: 8.5px;
        color: var(--t3);
        margin-top: 3px;
        font-weight: 500;
      }
      .klist {
        padding: 0 10px 10px;
        display: flex;
        flex-direction: column;
        gap: 5px;
      }
      .kitem {
        display: grid;
        grid-template-columns: 6px 1fr auto;
        align-items: center;
        gap: 11px;
        padding: 9px 11px;
        border-radius: 9px;
        cursor: pointer;
        background: var(--card2);
        border: 1px solid transparent;
        box-shadow: var(--shadow);
        transition: all 0.18s;
      }
      .kitem:hover {
        border-color: var(--accent-border);
        background: var(--hover-accent);
        transform: translateX(2px);
      }
      .kitem.active {
        border-color: var(--accent);
        background: var(--hover-accent);
        box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
      }
      .kdot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        box-shadow: 0 0 0 2px var(--card2);
      }
      .kname {
        font-size: 11px;
        font-weight: 700;
        color: var(--t1);
      }
      .ksub {
        font-size: 8px;
        color: var(--t3);
        margin-top: 1px;
        font-weight: 600;
      }
      .kval {
        font-size: 15px;
        font-weight: 800;
        letter-spacing: -0.02em;
      }
      .kunit {
        font-size: 8px;
        color: var(--t3);
        font-weight: 600;
      }
      .bsec {
        padding: 8px 10px;
        border-top: 1px solid var(--border);
      }
      .brow {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 4px;
      }
      .blbl {
        font-size: 9px;
        color: var(--t2);
        width: 70px;
        flex-shrink: 0;
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .btrk {
        flex: 1;
        height: 12px;
        background: var(--bar-track);
        border-radius: 3px;
        overflow: hidden;
      }
      .bfil {
        height: 100%;
        border-radius: 3px;
        transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .bval {
        font-size: 9px;
        font-weight: 700;
        width: 32px;
        text-align: right;
      }
      .ipanel {
        padding: 8px 10px;
        border-top: 1px solid var(--border);
      }
      .itgl {
        width: 100%;
        text-align: left;
        background: var(--card2);
        border: 1px solid var(--border);
        color: var(--t1);
        padding: 8px 10px;
        border-radius: 8px;
        cursor: pointer;
        font:
          600 10px "Plus Jakarta Sans",
          sans-serif;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .itgl .arr {
        transition: transform 0.2s;
        font-size: 9px;
      }
      .itgl.open .arr {
        transform: rotate(180deg);
      }
      .icnt {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        background: var(--card2);
        border-radius: 0 0 8px 8px;
      }
      .icnt.open {
        max-height: 600px;
        overflow-y: auto;
      }
      .icnt table {
        width: 100%;
        font-size: 9px;
        border-collapse: collapse;
      }
      .icnt th {
        text-align: left;
        padding: 4px 8px;
        color: var(--t3);
        font-weight: 600;
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: 0;
        background: var(--card2);
      }
      .icnt td {
        padding: 4px 8px;
        border-bottom: 1px solid var(--border);
        color: var(--t2);
        vertical-align: top;
      }
      .mwrap {
        position: relative;
        overflow: hidden;
      }
      #map {
        height: 100%;
        width: 100%;
        background: var(--map-bg);
      }
      .leaflet-container {
        background: var(--map-bg) !important;
      }
      .leaflet-control-zoom a {
        background: var(--card) !important;
        color: var(--t1) !important;
        border-color: var(--border) !important;
      }
      .leaflet-control-attribution {
        background: var(--overlay-bg) !important;
        color: var(--t3) !important;
        font-size: 7px !important;
      }
      .leaflet-popup-content-wrapper {
        background: var(--card) !important;
        color: var(--t1) !important;
        border-radius: 10px !important;
        border: 1px solid var(--border) !important;
        box-shadow: var(--shadow-lg) !important;
      }
      .leaflet-popup-tip {
        background: var(--card) !important;
      }
      .ptit {
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 3px;
      }
      .pcnt {
        font-size: 20px;
        font-weight: 800;
        color: var(--accent);
      }
      .punt {
        font-size: 9px;
        color: var(--t3);
      }
      .ppct {
        font-size: 9px;
        color: var(--t2);
        margin-top: 2px;
      }
      /* ═══════════════════════════════════════════════════
         MAP OVERLAYS — Dashboard style, standar kartografi
         ═══════════════════════════════════════════════════ */

      /* Info overlay (data modul) — kanan atas */
      .movl {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 999;
        background: var(--overlay-bg);
        backdrop-filter: blur(14px) saturate(1.2);
        -webkit-backdrop-filter: blur(14px) saturate(1.2);
        border: 1px solid var(--overlay-border);
        border-radius: 12px;
        padding: 11px 15px;
        pointer-events: none;
        box-shadow: var(--shadow-lg);
        min-width: 150px;
      }
      .movl::before {
        content: "";
        position: absolute;
        top: 0;
        left: 14px;
        right: 14px;
        height: 3px;
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
        border-radius: 0 0 3px 3px;
      }
      .movl .mt {
        font-size: 8px;
        font-weight: 800;
        color: var(--t3);
        text-transform: uppercase;
        letter-spacing: 0.07em;
      }
      .movl .mv {
        font-size: 17px;
        font-weight: 800;
        color: var(--accent);
        margin-top: 2px;
        letter-spacing: -0.02em;
        line-height: 1.1;
      }
      .movl .ms {
        font-size: 9px;
        color: var(--t2);
        margin-top: 3px;
        font-weight: 500;
      }

      /* Mini legenda (klasifikasi warna saja) — kiri atas */
      .mleg-mini {
        position: absolute;
        top: 80px;
        left: 12px;
        z-index: 999;
        background: var(--overlay-bg);
        backdrop-filter: blur(14px) saturate(1.2);
        -webkit-backdrop-filter: blur(14px) saturate(1.2);
        border: 1px solid var(--overlay-border);
        border-radius: 12px;
        padding: 10px 12px;
        box-shadow: var(--shadow-lg);
        max-width: 180px;
      }
      .mleg-mini .mlt {
        font-size: 8px;
        font-weight: 800;
        color: var(--t3);
        text-transform: uppercase;
        letter-spacing: 0.07em;
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        gap: 5px;
      }
      .mleg-mini .mlt::before {
        content: "";
        width: 2px;
        height: 10px;
        background: var(--accent);
        border-radius: 1px;
      }
      .mlr {
        display: flex;
        align-items: center;
        gap: 7px;
        margin-bottom: 3px;
      }
      .mlr:last-child {
        margin-bottom: 0;
      }
      .mlc {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        flex-shrink: 0;
        box-shadow: 0 0 0 2px var(--overlay-bg);
      }
      .mll {
        font-size: 9px;
        color: var(--t2);
        font-weight: 600;
      }

      /* Live scale indicator — kiri bawah */
      .m-scale {
        position: absolute;
        bottom: 36px;
        left: 12px;
        z-index: 999;
        background: var(--overlay-bg);
        backdrop-filter: blur(14px) saturate(1.2);
        -webkit-backdrop-filter: blur(14px) saturate(1.2);
        border: 1px solid var(--overlay-border);
        border-radius: 10px;
        padding: 8px 12px;
        box-shadow: var(--shadow-lg);
        pointer-events: none;
        min-width: 160px;
      }
      .m-scale-lbl {
        font-size: 7.5px;
        font-weight: 800;
        color: var(--t3);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-bottom: 3px;
      }
      .m-scale-num {
        font-size: 12px;
        font-weight: 800;
        color: var(--t1);
        font-variant-numeric: tabular-nums;
        letter-spacing: -0.01em;
      }
      .m-scale-bar {
        display: flex;
        align-items: center;
        margin-top: 5px;
        gap: 4px;
      }
      .m-scale-bar-track {
        display: inline-flex;
        height: 6px;
        border: 1px solid var(--t1);
        background: var(--card);
      }
      .m-scale-bar-seg {
        height: 100%;
        border-right: 1px solid var(--t1);
      }
      .m-scale-bar-seg:last-child {
        border-right: none;
      }
      .m-scale-bar-seg.on {
        background: var(--t1);
      }
      .m-scale-bar-lbl {
        font-size: 8px;
        font-weight: 700;
        color: var(--t2);
        font-variant-numeric: tabular-nums;
      }

      /* Coordinate tracker — kanan bawah */
      .m-coord {
        position: absolute;
        bottom: 36px;
        right: 12px;
        z-index: 999;
        background: var(--overlay-bg);
        backdrop-filter: blur(14px) saturate(1.2);
        -webkit-backdrop-filter: blur(14px) saturate(1.2);
        border: 1px solid var(--overlay-border);
        border-radius: 10px;
        padding: 8px 12px;
        box-shadow: var(--shadow-lg);
        pointer-events: none;
        font-variant-numeric: tabular-nums;
      }
      .m-coord-lbl {
        font-size: 7.5px;
        font-weight: 800;
        color: var(--t3);
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-bottom: 3px;
      }
      .m-coord-val {
        font-size: 10.5px;
        font-weight: 700;
        color: var(--t1);
        line-height: 1.35;
      }
      .m-coord-val .cd {
        color: var(--accent);
      }
      .m-coord-sys {
        font-size: 7.5px;
        color: var(--t3);
        font-weight: 600;
        margin-top: 3px;
        letter-spacing: 0.03em;
      }

      /* North arrow — kiri, di bawah mini legend */
      .m-north {
        position: absolute;
        top: 200px;
        left: 12px;
        z-index: 999;
        width: 54px;
        height: 54px;
        background: var(--overlay-bg);
        backdrop-filter: blur(14px) saturate(1.2);
        -webkit-backdrop-filter: blur(14px) saturate(1.2);
        border: 1px solid var(--overlay-border);
        border-radius: 50%;
        box-shadow: var(--shadow-lg);
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
      }
      .m-north svg {
        width: 38px;
        height: 38px;
      }

      /* Zoom level badge — kanan tengah */
      .m-zoom {
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        z-index: 999;
        background: var(--overlay-bg);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid var(--overlay-border);
        border-radius: 20px;
        padding: 5px 10px;
        box-shadow: var(--shadow);
        font-size: 9px;
        font-weight: 800;
        color: var(--t2);
        pointer-events: none;
        font-variant-numeric: tabular-nums;
        letter-spacing: 0.03em;
      }
      .m-zoom .z-lbl {
        color: var(--t3);
        font-weight: 700;
      }
      .m-zoom .z-val {
        color: var(--accent);
      }

      /* ═══════════════════════════════════════════════════
         FLOATING LEGEND PANEL (Opsi A — Kartografi Lengkap)
         ═══════════════════════════════════════════════════ */
      .flp {
        position: absolute;
        top: 60px;
        right: 70px;
        z-index: 1000;
        width: 340px;
        max-height: calc(100% - 80px);
        background: var(--overlay-bg);
        backdrop-filter: blur(18px) saturate(1.3);
        -webkit-backdrop-filter: blur(18px) saturate(1.3);
        border: 1px solid var(--overlay-border);
        border-radius: 14px;
        box-shadow: var(--shadow-xl);
        display: none;
        flex-direction: column;
        overflow: hidden;
        animation: flpIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .flp.open {
        display: flex;
      }
      @keyframes flpIn {
        from {
          opacity: 0;
          transform: translateY(-8px) scale(0.96);
        }
        to {
          opacity: 1;
          transform: translateY(0) scale(1);
        }
      }
      .flp-hdr {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        padding: 12px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 2px solid var(--accent);
        cursor: grab;
        user-select: none;
      }
      .flp-hdr:active {
        cursor: grabbing;
      }
      .flp-hdr-title {
        display: flex;
        flex-direction: column;
        gap: 2px;
      }
      .flp-hdr-kop {
        font-size: 7.5px;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        letter-spacing: 0.09em;
        font-weight: 700;
      }
      .flp-hdr-main {
        font-size: 12px;
        font-weight: 800;
        color: #fff;
        letter-spacing: -0.01em;
        line-height: 1.1;
      }
      .flp-close {
        width: 26px;
        height: 26px;
        border-radius: 7px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 700;
        transition: all 0.15s;
      }
      .flp-close:hover {
        background: rgba(239, 68, 68, 0.3);
        border-color: #ef4444;
      }
      .flp-body {
        overflow-y: auto;
        padding: 0;
        flex: 1;
      }
      .flp-body::-webkit-scrollbar {
        width: 5px;
      }
      .flp-body::-webkit-scrollbar-thumb {
        background: var(--border-strong);
        border-radius: 3px;
      }
      .flp-sec {
        padding: 12px 14px;
        border-bottom: 1px solid var(--border);
      }
      .flp-sec:last-child {
        border-bottom: none;
      }
      .flp-sec-title {
        font-size: 8px;
        font-weight: 800;
        color: var(--accent);
        text-transform: uppercase;
        letter-spacing: 0.09em;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .flp-sec-title::before {
        content: "";
        width: 3px;
        height: 11px;
        background: var(--accent);
        border-radius: 2px;
      }
      /* Judul peta section */
      .flp-judul {
        font-size: 13px;
        font-weight: 800;
        color: var(--t1);
        letter-spacing: -0.01em;
        line-height: 1.25;
        margin-bottom: 3px;
      }
      .flp-judul-sub {
        font-size: 10px;
        color: var(--t2);
        font-weight: 500;
        line-height: 1.35;
      }
      /* Klasifikasi warna */
      .flp-cat {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 5px 0;
      }
      .flp-cat-dot {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        flex-shrink: 0;
        border: 1.5px solid rgba(15, 23, 42, 0.2);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
      }
      .flp-cat-lbl {
        font-size: 10px;
        font-weight: 600;
        color: var(--t1);
      }
      /* Tabel data */
      .flp-tbl {
        width: 100%;
        border-collapse: collapse;
        font-size: 9.5px;
      }
      .flp-tbl thead th {
        font-size: 7.5px;
        font-weight: 800;
        color: var(--t3);
        text-transform: uppercase;
        letter-spacing: 0.06em;
        text-align: left;
        padding: 6px 8px;
        background: var(--card2);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
      }
      .flp-tbl thead th.r {
        text-align: right;
      }
      .flp-tbl tbody td {
        padding: 6px 8px;
        border-bottom: 1px solid var(--border);
        color: var(--t1);
        font-weight: 600;
        vertical-align: middle;
      }
      .flp-tbl tbody tr:hover td {
        background: var(--hover-accent);
      }
      .flp-tbl tbody td.r {
        text-align: right;
        font-variant-numeric: tabular-nums;
      }
      .flp-tbl .dot-cell {
        width: 10px;
        padding-right: 0;
      }
      .flp-tbl .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        display: inline-block;
        border: 1.2px solid rgba(15, 23, 42, 0.25);
      }
      .flp-tbl .pct {
        color: var(--accent);
        font-weight: 800;
      }
      .flp-tbl tfoot td {
        padding: 7px 8px;
        background: linear-gradient(135deg, #1e293b, #0f172a);
        color: #fff;
        font-weight: 800;
        font-size: 10px;
        border-bottom: none;
      }
      .flp-tbl tfoot td.r {
        text-align: right;
      }
      /* Info meta (koordinat, sumber, dll) */
      .flp-meta-row {
        display: flex;
        justify-content: space-between;
        padding: 3px 0;
        font-size: 9.5px;
      }
      .flp-meta-lbl {
        color: var(--t3);
        font-weight: 600;
      }
      .flp-meta-val {
        color: var(--t1);
        font-weight: 700;
        text-align: right;
        font-variant-numeric: tabular-nums;
      }
      /* Scale bar in legend */
      .flp-scale-num {
        font-size: 14px;
        font-weight: 800;
        color: var(--accent);
        margin-bottom: 6px;
        font-variant-numeric: tabular-nums;
      }

      /* Watermark — lebih halus */
      .wm {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        pointer-events: none;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.04), transparent);
      }
      .wm-i {
        pointer-events: auto;
        font:
          500 9px "Plus Jakarta Sans",
          sans-serif;
        color: var(--t3);
        opacity: 0.5;
        display: flex;
        align-items: center;
        gap: 5px;
      }
      .wm-i a {
        color: var(--accent);
        text-decoration: none;
        font-weight: 700;
      }
      [data-theme="dark"] .wm {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.15), transparent);
      }
      @media (max-width: 768px) {
        .mtabs {
          display: flex;
        }
        .main {
          grid-template-columns: 1fr;
        }
        .sidebar {
          display: none;
          border-right: none;
        }
        .sidebar.show {
          display: flex;
        }
        .mwrap.hide {
          display: none;
        }
        .header {
          padding: 8px 12px;
        }
        .logos {
          padding: 4px 7px;
        }
        .logos img {
          height: 28px;
        }
        .app-name {
          font-size: 14px;
        }
        .app-kop,
        .app-desc {
          display: none;
        }
        .mod-nav {
          padding: 6px 10px;
        }
        .mbtn {
          padding: 6px 10px;
          font-size: 9px;
        }
        .mbtn .mb-count {
          font-size: 8px;
          padding: 1px 5px;
        }
        .movl {
          padding: 8px 11px;
          min-width: 120px;
        }
        .movl .mv {
          font-size: 14px;
        }
        .m-scale {
          min-width: 130px;
          padding: 6px 9px;
        }
        .m-coord {
          padding: 6px 9px;
        }
        .m-north {
          width: 44px;
          height: 44px;
        }
        .m-north svg {
          width: 30px;
          height: 30px;
        }
        .m-zoom {
          display: none;
        }
        .flp {
          width: calc(100vw - 20px);
          right: 10px;
          left: 10px;
          top: 10px;
          max-height: calc(100% - 20px);
        }
        .mleg-mini {
          max-width: 150px;
          top: 70px;
          left: 10px;
        }
      }
      @media (min-width: 769px) {
        .mtabs {
          display: none !important;
        }
        .sidebar {
          display: flex !important;
        }
        .mwrap {
          display: block !important;
        }
      }
      /* ═══ BUBBLE MARKERS ═══ */
      .bub-wrap {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .bub {
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.2s;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
      }
      .bub:hover {
        transform: scale(1.18);
      }
      .bub .bv {
        font-weight: 800;
        color: #fff;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
        pointer-events: none;
        line-height: 1;
        font-family: "Plus Jakarta Sans", sans-serif;
      }
      .bub-pulse {
        position: absolute;
        top: 50%;
        left: 50%;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        border: 2px solid;
        opacity: 0.4;
        animation: bubPulse 2.5s ease-out infinite;
        pointer-events: none;
      }
      @keyframes bubPulse {
        0% {
          width: 100%;
          height: 100%;
          opacity: 0.4;
        }
        70% {
          width: 180%;
          height: 180%;
          opacity: 0;
        }
        100% {
          width: 180%;
          height: 180%;
          opacity: 0;
        }
      }