    /* ── KBLI dynamic rows ──────────────────────────────────────── */
    .kbli-entry-row {
      display: grid;
      grid-template-columns: 120px 1fr auto;
      gap: 8px;
      align-items: flex-start;
      margin-bottom: 8px;
    }
    .kbli-entry-row:last-of-type {
      margin-bottom: 0;
    }
    .kbli-section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 6px;
    }
    .kbli-section-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-dim);
      letter-spacing: .04em;
      text-transform: uppercase;
    }
    .btn-kbli-add {
      font-size: 11px;
      padding: 3px 10px;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--cyan);
      cursor: pointer;
      white-space: nowrap;
    }
    .btn-kbli-add:hover { background: var(--bg-hover, rgba(0,0,0,.06)); }
    .btn-kbli-remove {
      width: 28px;
      height: 28px;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text-dim);
      cursor: pointer;
      font-size: 16px;
      line-height: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 20px;
      flex-shrink: 0;
    }
    .btn-kbli-remove:hover { color: var(--red, #e55); border-color: var(--red, #e55); }
    /* wrapper rows add-lokasi form */
    .kbli-rows-inner {
      display: flex;
      flex-direction: column;
    }
    /* wrapper rows penugasan detail edit inline */
    .kbli-edit-rows-inner {
      display: flex;
      flex-direction: column;
      margin-bottom: 2px;
    }
    /* penugasan edit inline – kbli-multi */
    .kbli-edit-entry-row {
      display: grid;
      grid-template-columns: 110px 1fr auto;
      gap: 6px;
      align-items: flex-start;
      margin-bottom: 6px;
    }

    /* ADMIN LAYOUT */
    #shell-admin {
      display: none;
      height: 100vh;
      overflow: hidden
    }

    #shell-admin.active {
      display: flex
    }

    .admin-sidebar {
      width: 230px;
      background: var(--navy);
      border-right: none;
      display: flex;
      flex-direction: column;
      flex-shrink: 0;
      box-shadow: 2px 0 8px rgba(0, 0, 0, 0.12)
    }

    .sidebar-head {
      padding: 18px 16px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      gap: 10px
    }

    .sidebar-icon {
      width: 38px;
      height: 38px;
      background: rgba(255, 255, 255, 0.15);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 5px;
      flex-shrink: 0
    }

    .sidebar-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block
    }

    .sidebar-brand-name {
      font-family: var(--sans);
      font-weight: 700;
      font-size: 12px;
      letter-spacing: 0.5px;
      color: rgba(255, 255, 255, 0.92)
    }

    .sidebar-brand-sub {
      font-family: var(--sans);
      font-size: 9px;
      letter-spacing: 1px;
      color: rgba(255, 255, 255, 0.45)
    }

    .sidebar-nav {
      flex: 1;
      padding: 8px 0;
      overflow-y: auto
    }

    .nav-sec {
      padding: 10px 16px 4px;
      font-size: 9px;
      font-family: var(--sans);
      letter-spacing: 1.5px;
      color: rgba(255, 255, 255, 0.35);
      text-transform: uppercase;
      font-weight: 600
    }

    .nav-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 11px 14px;
      cursor: pointer;
      transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
      color: rgba(255, 255, 255, 0.6);
      font-size: 13px;
      font-weight: 600;
      border-left: 3px solid transparent
    }

    .nav-item:hover {
      background: rgba(255, 255, 255, 0.08);
      color: rgba(255, 255, 255, 0.9)
    }

    .nav-item.active {
      background: rgba(255, 255, 255, 0.14);
      color: #fff;
      border-left-color: #7db8f7
    }

    .nav-item.nav-review-alert:not(.active) {
      background: rgba(183, 121, 31, 0.12);
      color: rgba(255, 248, 230, 0.98);
      border-left-color: #f2d38a
    }

    .nav-item.nav-review-alert:hover {
      background: rgba(183, 121, 31, 0.2);
      color: #fff7e6
    }

    .nav-item:focus-visible,
    .task-card:focus-visible,
    .export-card:focus-visible,
    .photo-zone:focus-visible,
    .toggle:focus-visible,
    .filter-pill:focus-visible {
      outline: 3px solid var(--cyan);
      outline-offset: 3px
    }

    .nav-icon {
      width: 26px;
      height: 26px;
      border-radius: 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: rgba(255, 255, 255, 0.92);
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05)
    }

    .nav-icon svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    .nav-item:hover .nav-icon {
      background: rgba(255, 255, 255, 0.16);
      border-color: rgba(255, 255, 255, 0.12)
    }

    .nav-item.active .nav-icon {
      background: rgba(125, 184, 247, 0.2);
      border-color: rgba(125, 184, 247, 0.35);
      color: #fff
    }

    /* Warna unik per menu sidebar */
    [data-panel="dashboard"] .nav-icon {
      color: #7eb8f7;
      background: rgba(79, 142, 247, 0.18);
      border-color: rgba(79, 142, 247, 0.28)
    }
    [data-panel="map"] .nav-icon {
      color: #4ade80;
      background: rgba(74, 222, 128, 0.15);
      border-color: rgba(74, 222, 128, 0.25)
    }
    [data-panel="penugasan"] .nav-icon {
      color: #fb923c;
      background: rgba(251, 146, 60, 0.15);
      border-color: rgba(251, 146, 60, 0.25)
    }
    [data-panel="users"] .nav-icon {
      color: #c084fc;
      background: rgba(192, 132, 252, 0.15);
      border-color: rgba(192, 132, 252, 0.25)
    }
    [data-panel="teams"] .nav-icon {
      color: #22d3ee;
      background: rgba(34, 211, 238, 0.15);
      border-color: rgba(34, 211, 238, 0.25)
    }
    [data-panel="report"] .nav-icon {
      color: #fbbf24;
      background: rgba(251, 191, 36, 0.15);
      border-color: rgba(251, 191, 36, 0.25)
    }
    [data-panel="riwayat"] .nav-icon {
      color: #f472b6;
      background: rgba(244, 114, 182, 0.15);
      border-color: rgba(244, 114, 182, 0.25)
    }
    [data-panel="export"] .nav-icon {
      color: #a3e635;
      background: rgba(163, 230, 53, 0.14);
      border-color: rgba(163, 230, 53, 0.24)
    }

    /* Hover: sedikit lebih terang */
    [data-panel="dashboard"]:hover .nav-icon { background: rgba(79, 142, 247, 0.28) }
    [data-panel="map"]:hover .nav-icon       { background: rgba(74, 222, 128, 0.24) }
    [data-panel="penugasan"]:hover .nav-icon { background: rgba(251, 146, 60, 0.24) }
    [data-panel="users"]:hover .nav-icon     { background: rgba(192, 132, 252, 0.24) }
    [data-panel="teams"]:hover .nav-icon     { background: rgba(34, 211, 238, 0.24) }
    [data-panel="report"]:hover .nav-icon    { background: rgba(251, 191, 36, 0.24) }
    [data-panel="riwayat"]:hover .nav-icon   { background: rgba(244, 114, 182, 0.24) }
    [data-panel="export"]:hover .nav-icon    { background: rgba(163, 230, 53, 0.22) }

    /* Active: warna lebih solid, tetap berwarna */
    [data-panel="dashboard"].active .nav-icon { background: rgba(79, 142, 247, 0.35); border-color: rgba(79, 142, 247, 0.5); color: #a5ccfa }
    [data-panel="map"].active .nav-icon        { background: rgba(74, 222, 128, 0.3);  border-color: rgba(74, 222, 128, 0.45); color: #86efac }
    [data-panel="penugasan"].active .nav-icon  { background: rgba(251, 146, 60, 0.3);  border-color: rgba(251, 146, 60, 0.45); color: #fdba74 }
    [data-panel="users"].active .nav-icon      { background: rgba(192, 132, 252, 0.3); border-color: rgba(192, 132, 252, 0.45); color: #d8b4fe }
    [data-panel="teams"].active .nav-icon      { background: rgba(34, 211, 238, 0.3);  border-color: rgba(34, 211, 238, 0.45); color: #67e8f9 }
    [data-panel="report"].active .nav-icon     { background: rgba(251, 191, 36, 0.3);  border-color: rgba(251, 191, 36, 0.45); color: #fcd34d }
    [data-panel="riwayat"].active .nav-icon    { background: rgba(244, 114, 182, 0.3); border-color: rgba(244, 114, 182, 0.45); color: #f9a8d4 }
    [data-panel="export"].active .nav-icon     { background: rgba(163, 230, 53, 0.28); border-color: rgba(163, 230, 53, 0.42); color: #bef264 }

    .nav-label {
      min-width: 0;
      flex: 1;
      line-height: 1.25
    }

    .sidebar-foot {
      padding: 14px 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.1)
    }

    .sidebar-credit {
      padding: 10px 16px 16px;
      text-align: center;
    }

    .sidebar-credit-label {
      font-size: 7px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.18);
      margin-bottom: 5px;
      font-family: var(--sans);
    }

    .sidebar-credit-name {
      font-family: var(--sans);
      font-size: 10px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.42);
      letter-spacing: 0.15px;
      line-height: 1.5;
    }

    .sidebar-credit-year {
      font-family: var(--sans);
      font-size: 8px;
      color: rgba(255, 255, 255, 0.2);
      letter-spacing: 1px;
      margin-top: 2px;
    }

    .sidebar-credit-rule {
      width: 28px;
      height: 1px;
      background: rgba(255, 255, 255, 0.12);
      margin: 0 auto 8px;
    }

    .user-badge {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 10px;
      padding: 8px 10px
    }

    .user-avatar {
      width: 34px;
      height: 34px;
      background: linear-gradient(135deg, rgba(125, 184, 247, 0.55), rgba(167, 139, 250, 0.45));
      border: 1px solid rgba(125, 184, 247, 0.35);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
      color: white;
      flex-shrink: 0;
      box-shadow: 0 0 10px rgba(125, 184, 247, 0.2)
    }

    .user-info {
      flex: 1;
      min-width: 0
    }

    .user-name {
      font-size: 12px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.9)
    }

    .user-role {
      font-size: 9px;
      font-family: var(--sans);
      color: rgba(255, 255, 255, 0.45);
      letter-spacing: 0.5px
    }

    .btn-logout {
      background: rgba(239, 68, 68, 0.12);
      border: 1px solid rgba(239, 68, 68, 0.28);
      color: #fca5a5;
      cursor: pointer;
      font-size: 11px;
      font-family: var(--sans);
      font-weight: 600;
      padding: 5px 10px;
      border-radius: 8px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: background 0.2s, border-color 0.2s, color 0.2s;
      white-space: nowrap;
      flex-shrink: 0;
      letter-spacing: 0.2px
    }

    .btn-logout:hover {
      background: rgba(239, 68, 68, 0.24);
      border-color: rgba(239, 68, 68, 0.48);
      color: #fecaca
    }

    .btn-change-pass {
      width: 100%;
      margin-top: 8px;
      padding: 8px 12px;
      background: rgba(255, 255, 255, 0.06);
      color: rgba(255, 255, 255, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      font-size: 11px;
      font-family: var(--sans);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: background 0.2s, color 0.2s, border-color 0.2s;
      letter-spacing: 0.2px
    }

    .btn-change-pass:hover {
      background: rgba(255, 255, 255, 0.11);
      color: rgba(255, 255, 255, 0.78);
      border-color: rgba(255, 255, 255, 0.18)
    }

    .admin-main {
      flex: 1;
      overflow: hidden;
      display: flex;
      flex-direction: column
    }

    .admin-topbar {
      padding: 12px 22px;
      border-bottom: 1px solid var(--border);
      background: var(--surface);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-shrink: 0;
      box-shadow: var(--shadow-sm);
      min-height: 56px
    }

    .topbar-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--navy);
      letter-spacing: -0.2px
    }

    .topbar-sub {
      font-size: 12px;
      color: var(--text-dim);
      margin-top: 2px;
      line-height: 1.3
    }

    .topbar-actions {
      display: flex;
      gap: 8px;
      align-items: center
    }

    .admin-content {
      flex: 1;
      overflow: hidden;
      position: relative
    }

    .admin-panel {
      display: none;
      height: 100%;
      overflow-y: auto;
      padding: 22px
    }

    .admin-panel.active {
      display: block
    }

    #panel-map {
      padding: 0;
      overflow: hidden
    }

    #panel-map.active {
      display: flex;
      flex-direction: column
    }

    /* CARDS & STATS */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      margin-bottom: 22px
    }

    .stat-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 20px 18px;
      position: relative;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: box-shadow 0.2s var(--ease), transform 0.18s var(--ease)
    }

    .stat-card:hover {
      box-shadow: var(--shadow-lg);
      transform: translateY(-2px)
    }

    .stat-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      border-radius: 10px 10px 0 0
    }

    .sc-cyan::before {
      background: var(--cyan)
    }

    .sc-green::before {
      background: var(--green)
    }

    .sc-red::before {
      background: var(--red)
    }

    .sc-amber::before {
      background: var(--amber)
    }

    .stat-label {
      font-size: 11px;
      font-family: var(--sans);
      letter-spacing: 0.4px;
      color: var(--text-dim);
      font-weight: 600;
      text-transform: uppercase;
      margin-bottom: 12px
    }

    .stat-val {
      font-size: 32px;
      font-weight: 800;
      font-family: var(--mono);
      line-height: 1;
      margin-bottom: 6px;
      color: var(--navy)
    }

    .stat-meta {
      font-size: 12px;
      color: var(--text-dim);
      line-height: 1.4
    }

    .stat-icon {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 26px;
      height: 26px;
      opacity: 0.18;
      color: currentColor
    }

    .stat-icon svg {
      width: 100%;
      height: 100%;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.6;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    .badge {
      display: inline-flex;
      align-items: center;
      padding: 2px 9px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 700;
      font-family: var(--sans);
      white-space: nowrap
    }

    .bg {
      background: rgba(26, 115, 64, 0.1);
      color: #1a7340
    }

    .br {
      background: rgba(192, 57, 43, 0.1);
      color: #c0392b
    }

    .ba {
      background: rgba(183, 121, 31, 0.1);
      color: #b7791f
    }

    .bc {
      background: rgba(30, 77, 140, 0.1);
      color: #1e4d8c
    }

    .bx {
      background: rgba(156, 163, 175, 0.2);
      color: var(--text-dim)
    }

    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: var(--shadow-sm)
    }

    .card-head {
      padding: 14px 18px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: var(--surface2)
    }

    .card-title {
      font-size: 14px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--navy);
      letter-spacing: -0.1px
    }

    .card-body {
      padding: 18px
    }

    .grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px
    }

    .grid-3 {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 14px
    }

    .mb-16 {
      margin-bottom: 16px
    }

    .data-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px
    }

    .data-table th {
      text-align: left;
      padding: 10px 14px;
      font-size: 11px;
      font-family: var(--sans);
      letter-spacing: 0.3px;
      color: var(--text-dim);
      font-weight: 700;
      text-transform: uppercase;
      border-bottom: 2px solid var(--border);
      white-space: nowrap;
      background: var(--surface2);
      line-height: 1.3
    }

    .data-table td {
      padding: 12px 14px;
      border-bottom: 1px solid var(--border);
      color: var(--text);
      vertical-align: middle;
      line-height: 1.5;
      font-size: 13px
    }

    .data-table tr:last-child td {
      border-bottom: none
    }

    .data-table tr:hover td {
      background: rgba(30, 77, 140, 0.04);
      transition: background 0.12s
    }

    .data-table tbody tr:nth-child(even) td {
      background: rgba(240, 243, 248, 0.5)
    }

    .data-table tbody tr:nth-child(even):hover td {
      background: rgba(30, 77, 140, 0.04)
    }

    #penugasan-table th:nth-child(1) {
      width: 42px
    }

    #penugasan-table th:nth-child(2) {
      width: 132px
    }

    #penugasan-table th:nth-child(5) {
      width: 86px
    }

    #penugasan-table th:nth-child(6) {
      width: 180px
    }

    #penugasan-table th:nth-child(7) {
      width: 170px
    }

    #penugasan-table th:nth-child(8) {
      width: 150px
    }

    #penugasan-table th:nth-child(9) {
      width: 230px
    }

    .penugasan-table-id {
      font-size: 10px !important;
      color: var(--text-dim) !important
    }

    .penugasan-table-location,
    .penugasan-table-address,
    .penugasan-table-assignment,
    .penugasan-table-status,
    .penugasan-table-business,
    .penugasan-table-actions-cell {
      vertical-align: top !important
    }

    .penugasan-table-title {
      font-weight: 700;
      font-size: 13px;
      line-height: 1.4;
      color: var(--text)
    }

    .penugasan-table-meta {
      margin-top: 4px;
      font-size: 11px;
      line-height: 1.45;
      color: var(--text-dim)
    }

    .penugasan-table-meta--mono {
      font-family: var(--mono);
      font-size: 10px;
      color: var(--text-muted)
    }

    .penugasan-table-meta--info {
      color: #18406c
    }

    .penugasan-table-meta--warn {
      color: var(--amber)
    }

    .penugasan-table-address {
      max-width: 220px;
      font-size: 12px !important;
      color: var(--text-dim) !important;
      line-height: 1.55
    }

    .penugasan-table-assignment .badge,
    .penugasan-table-status .badge,
    .penugasan-table-business .badge {
      margin-bottom: 2px
    }

    .penugasan-table-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
      justify-content: flex-start
    }

    .penugasan-table-actions .btn-sm {
      min-width: 58px
    }

    .mono {
      font-family: var(--mono);
      font-size: 12px
    }

    .prog-wrap {
      margin-bottom: 10px
    }

    .prog-head {
      display: flex;
      justify-content: space-between;
      margin-bottom: 5px;
      font-size: 12px
    }

    .prog-bar {
      height: 6px;
      background: var(--border);
      border-radius: 3px;
      overflow: hidden
    }

    .prog-fill {
      height: 100%;
      border-radius: 3px;
      transition: width 0.6s ease
    }

    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      display: inline-block;
      margin-right: 6px;
      flex-shrink: 0
    }

    .dot-g {
      background: var(--green)
    }

    .dot-r {
      background: var(--red)
    }

    .dot-x {
      background: var(--text-muted)
    }

    /* MAP */
    .map-wrap {
      flex: 1;
      position: relative;
      min-height: 0
    }

    .leaflet-map-el {
      width: 100%;
      height: 100%
    }

    .map-overlay {
      position: absolute;
      z-index: 1000;
      pointer-events: all
    }

    .map-fallback-note {
      position: absolute;
      left: 12px;
      right: 12px;
      bottom: 12px;
      z-index: 999;
      display: none;
      padding: 10px 12px;
      border-radius: 10px;
      background: rgba(255, 248, 230, 0.96);
      border: 1px solid rgba(183, 121, 31, 0.28);
      color: #7a4d0b;
      font-size: 11px;
      line-height: 1.55;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
      pointer-events: none
    }

    .map-fallback-note strong {
      display: block;
      font-size: 11px;
      margin-bottom: 2px
    }

    .map-legend-box {
      bottom: 20px;
      right: 12px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 12px 14px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1)
    }

    .leg-item {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 6px;
      font-size: 12px;
      color: var(--text-dim)
    }

    .leg-item:last-child {
      margin-bottom: 0
    }

    .leg-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      flex-shrink: 0
    }

    .filter-pill {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 5px 12px;
      font-size: 12px;
      color: var(--text-dim);
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
      font-family: var(--sans);
      font-weight: 500
    }

    .filter-pill:hover,
    .filter-pill.active {
      background: var(--cyan);
      border-color: var(--cyan);
      color: #fff
    }

    .map-stat-bar {
      display: flex;
      gap: 10px;
      padding: 10px 14px;
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
      flex-wrap: wrap;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05)
    }

    .map-stat {
      font-size: 12px;
      color: var(--text-dim);
      display: flex;
      align-items: center;
      gap: 6px
    }

