:root {
  --geo-ink: #0f172a;
  --geo-muted: #64748b;
  --geo-line: #e5e7eb;
  --geo-paper: #f3f5f8;
  --geo-card: #ffffff;
  --geo-navy: #0e7490;
  --geo-navy-mid: #155e75;
  --geo-blue: #17a2b8;
  --geo-blue-hover: #138496;
  --geo-radius: 10px;
  --geo-potensi: #17a2b8;
  --geo-eksplorasi: #7c3aed;
  --geo-eksploitasi: #ea580c;
  --geo-produksi: #dc2626;
}

html,
body {
  font-family: "Plus Jakarta Sans", "Source Sans Pro", sans-serif;
  color: var(--geo-ink);
  background: var(--geo-paper);
  max-width: 100%;
  overflow-x: hidden;
}

.content-wrapper {
  background: var(--geo-paper) !important;
  min-width: 0;
  max-width: 100%;
}

.wrapper {
  overflow-x: hidden;
  max-width: 100%;
}

.content-wrapper > .content,
.geo-dash,
.geo-dash .container-fluid {
  min-width: 0;
  max-width: 100%;
}

.geo-navbar {
  background: #ffffff !important;
  border-bottom: 1px solid var(--geo-line);
  min-height: 58px;
}

.geo-navbar .nav-link,
.geo-navbar .navbar-nav .nav-link {
  color: #334155 !important;
}

.geo-navbar .nav-link:hover {
  color: var(--geo-blue) !important;
}

.geo-navbar-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  padding-left: 4px;
}

.geo-navbar-title strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--geo-navy);
}

.geo-navbar-title span {
  font-size: 0.7rem;
  color: var(--geo-muted);
}

.geo-brand {
  background: var(--geo-navy) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.geo-brand .brand-text {
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  color: #f8fafc !important;
}

.geo-sidebar {
  background: var(--geo-navy) !important;
  box-shadow: none !important;
}

.geo-sidebar .sidebar {
  padding-top: 8px;
}

.geo-sidebar .nav-sidebar .nav-link {
  color: #cbd5e1;
  border-radius: 8px;
  margin: 2px 8px;
  padding: 8px 12px;
}

.geo-sidebar .nav-sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.geo-sidebar .nav-sidebar .nav-link.active {
  background: var(--geo-blue) !important;
  color: #fff !important;
}

.geo-sidebar .nav-treeview .nav-link {
  color: #94a3b8;
}

.main-footer {
  background: #fff;
  border-top: 1px solid var(--geo-line);
  color: var(--geo-muted);
}

.main-footer a {
  color: var(--geo-blue);
}

.geo-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155 !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px !important;
}

.geo-dash {
  padding: 8px 0 16px;
  min-width: 0;
}

.geo-pagehead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.geo-pagehead h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--geo-ink);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.geo-pagehead p {
  margin: 4px 0 0;
  color: var(--geo-muted);
  font-size: 0.84rem;
}

.geo-tabs {
  display: inline-flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--geo-line);
  border-radius: 8px;
  padding: 3px;
  list-style: none;
  margin: 0;
}

.geo-tabs .nav-item { margin: 0; }

.geo-tabs .nav-link {
  border: 0 !important;
  background: transparent !important;
  color: var(--geo-muted) !important;
  font-weight: 650;
  font-size: 0.78rem;
  border-radius: 6px !important;
  padding: 7px 12px;
  white-space: nowrap;
}

.geo-tabs .nav-link.active {
  background: var(--geo-navy) !important;
  color: #fff !important;
}

.geo-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.geo-kpis.is-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.geo-kpis.is-auto {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.geo-kpi {
  background: var(--geo-card);
  border: 1px solid var(--geo-line);
  border-radius: var(--geo-radius);
  padding: 14px 14px 12px;
  min-height: 96px;
  min-width: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.geo-kpi-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.geo-kpi-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.geo-kpi-icon.is-potensi { background: var(--geo-potensi); }
.geo-kpi-icon.is-proyek { background: #16a34a; }
.geo-kpi-icon.is-eksplorasi { background: #7c3aed; }
.geo-kpi-icon.is-eksploitasi { background: #ea580c; }
.geo-kpi-icon.is-produksi { background: #dc2626; }
.geo-kpi-icon.is-navy { background: var(--geo-navy); }

.geo-kpi-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--geo-muted);
  font-weight: 700;
  margin: 0 0 6px;
}

.geo-kpi-value {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.geo-kpi-value small {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--geo-muted);
}

.geo-kpi-meta {
  margin: 6px 0 0;
  font-size: 0.74rem;
  color: var(--geo-muted);
}

.geo-card {
  background: var(--geo-card);
  border: 1px solid var(--geo-line);
  border-radius: var(--geo-radius);
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  min-width: 0;
  max-width: 100%;
}

.geo-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 0;
}

.geo-card-head h2 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #334155;
  min-width: 0;
  overflow-wrap: anywhere;
}

.geo-card-body { padding: 10px 14px 14px; }

.geo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px;
}

.geo-layout-main,
.geo-layout-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.geo-layout-main > .geo-card,
.geo-layout-side > .geo-card {
  margin-bottom: 0;
}

.geo-layout-main > .geo-card:first-child {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 460px;
}

.geo-layout-main > .geo-card:last-child {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: auto;
}

.geo-layout-main > .geo-card:last-child .geo-card-body {
  flex: none;
  display: block;
  min-height: auto;
}

.geo-layout-main .geo-table-wrap {
  flex: none;
  display: block;
  min-height: 300px;
  overflow-x: auto;
  overflow-y: visible;
}

.geo-layout-main .geo-table-wrap .dt-container {
  display: block;
  min-height: 0;
  width: 100%;
}

.geo-layout-main .geo-table-wrap .dt-layout-row {
  flex: 0 0 auto;
}

.geo-layout-main .geo-table-wrap .dt-layout-table {
  flex: none;
  min-height: 0;
  overflow: visible;
}

.geo-layout-main .geo-table-wrap .dt-scroll-body {
  max-height: none !important;
  height: auto !important;
}

.geo-layout-side > .geo-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: auto;
}

.geo-layout-side .geo-card-body {
  flex: none;
  display: flex;
  flex-direction: column;
  min-height: auto;
}

.geo-chart-canvas {
  position: relative;
  flex: none;
  width: 100%;
  max-width: 100%;
  height: 260px;
  min-height: 260px;
  max-height: 280px;
  overflow: visible;
}

.geo-chart-canvas.is-tall {
  min-height: 240px;
  height: 260px;
}

.geo-chart-canvas canvas {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}

.geo-map-wrap {
  position: relative;
  flex: 1;
  min-height: 460px;
}

.geo-map {
  height: 100%;
  min-height: 460px;
  width: 100%;
  border-radius: 0 0 var(--geo-radius) var(--geo-radius);
  overflow: hidden;
  background: #e8eef5;
}

.geo-stage-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.geo-stage-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 4px 9px;
  border: 1px solid var(--geo-line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--geo-muted);
  background: #fff;
  cursor: pointer;
  user-select: none;
}

.geo-stage-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.geo-stage-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.geo-stage-chip.is-1 .dot { background: var(--geo-potensi); }
.geo-stage-chip.is-2 .dot { background: var(--geo-eksplorasi); }
.geo-stage-chip.is-3 .dot { background: var(--geo-eksploitasi); }
.geo-stage-chip.is-4 .dot { background: var(--geo-produksi); }

.geo-stage-chip.is-checked.is-1 { background: #ecfeff; border-color: #a5f3fc; color: #0e7490; }
.geo-stage-chip.is-checked.is-2 { background: #f5f3ff; border-color: #ddd6fe; color: #6d28d9; }
.geo-stage-chip.is-checked.is-3 { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.geo-stage-chip.is-checked.is-4 { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }

.geo-map-legend {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 500;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--geo-line);
  border-radius: 8px;
  padding: 10px 12px;
  min-width: 132px;
}

.geo-map-legend h3 {
  margin: 0 0 8px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--geo-muted);
  font-weight: 800;
}

.geo-map-legend ul { margin: 0; padding: 0; }

.geo-map-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  margin-bottom: 4px;
  list-style: none;
}

.geo-map-count {
  font-size: 0.74rem;
  color: var(--geo-muted);
  font-weight: 650;
}

.geo-map-note {
  margin: 8px 14px 0;
  font-size: 0.74rem;
  color: #b91c1c;
}

.geo-popup { min-width: 160px; font-family: "Plus Jakarta Sans", sans-serif; }
.geo-popup a, .geo-popup strong { color: var(--geo-navy); font-size: 0.9rem; }
.geo-popup-meta { color: var(--geo-muted); font-size: 0.75rem; margin: 2px 0 6px; }
.geo-popup ul { margin: 0; padding-left: 16px; font-size: 0.78rem; }

.leaflet-popup-content-wrapper { border-radius: 8px; }
.leaflet-control-zoom a { color: var(--geo-navy) !important; }

.geo-bottom {
  display: contents;
}

.geo-table {
  width: 100%;
  font-size: 0.8rem;
  margin: 0;
}

.geo-table th {
  color: var(--geo-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  border-top: 0;
  border-bottom: 1px solid var(--geo-line);
  white-space: nowrap;
}

.geo-table a { color: var(--geo-navy); font-weight: 700; }

.geo-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
}

.geo-badge.is-1 { background: #cffafe; color: #0e7490; }
.geo-badge.is-2 { background: #ede9fe; color: #6d28d9; }
.geo-badge.is-3 { background: #ffedd5; color: #c2410c; }
.geo-badge.is-4 { background: #fee2e2; color: #b91c1c; }

.geo-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: auto;
}

.content-wrapper .content,
.content-wrapper .container-fluid,
.content-wrapper .row,
.content-wrapper [class*="col-"],
.content-wrapper .card,
.content-wrapper .card-body,
.content-wrapper .geo-card,
.content-wrapper .geo-card-body {
  min-width: 0;
  max-width: 100%;
}

.content-wrapper .dt-container,
.content-wrapper .dataTables_wrapper {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
}

.content-wrapper .dt-container .dt-layout-row,
.content-wrapper .dt-container .dt-layout-cell,
.content-wrapper .dt-layout-table,
.content-wrapper .dt-layout-full {
  min-width: 0;
  max-width: 100%;
}

.content-wrapper .dt-container .dt-layout-row {
  flex-wrap: wrap;
  gap: 8px;
}

.content-wrapper .dt-length,
.content-wrapper .dt-search {
  min-width: 0;
}

.content-wrapper .dt-search input {
  max-width: 100%;
}

.content-wrapper .dt-scroll,
.content-wrapper .dt-scroll-head,
.content-wrapper .dt-scroll-foot,
.content-wrapper .dt-scroll-body {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
}

.content-wrapper .dt-scroll-body {
  overflow-x: auto !important;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: auto;
}

.content-wrapper .dt-container:not(:has(.dt-scroll-body)) .dt-layout-table,
.content-wrapper .dt-container:not(:has(.dt-scroll-body)) .dt-layout-full {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: auto;
}

.content-wrapper table.dataTable th,
.content-wrapper table.dataTable td,
.content-wrapper table.display th,
.content-wrapper table.display td {
  white-space: nowrap;
}

.geo-child-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
  margin: 8px 0;
  scrollbar-width: auto;
}

.geo-table-wrap::-webkit-scrollbar,
.content-wrapper .dt-scroll-body::-webkit-scrollbar,
.geo-child-table-wrap::-webkit-scrollbar {
  height: 10px;
}

.geo-table-wrap::-webkit-scrollbar-thumb,
.content-wrapper .dt-scroll-body::-webkit-scrollbar-thumb,
.geo-child-table-wrap::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 6px;
}

.geo-table-wrap::-webkit-scrollbar-track,
.content-wrapper .dt-scroll-body::-webkit-scrollbar-track,
.geo-child-table-wrap::-webkit-scrollbar-track {
  background: #e5e7eb;
}

.geo-table-wrap .dt-container,
.geo-table-wrap .dt-scroll,
.geo-table-wrap .dt-scroll-body,
.geo-table-wrap .dt-scroll-head {
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 1199.98px) {
  .geo-table-wrap .geo-table {
    min-width: 720px;
  }
}

.geo-table-wrap .dt-container {
  font-size: 0.8rem;
}

.geo-table-wrap .dt-layout-row {
  margin: 0 0 8px;
}

.geo-table-wrap .dt-search input {
  border: 1px solid var(--geo-line);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.78rem;
  font-family: inherit;
}

.geo-table-wrap .dt-length select {
  border: 1px solid var(--geo-line);
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 0.78rem;
}

.geo-table-wrap .dt-info {
  font-size: 0.74rem;
  color: var(--geo-muted);
  padding-top: 6px;
}

.geo-table-wrap .dt-paging .dt-paging-button {
  border: 1px solid var(--geo-line);
  background: #fff;
  color: var(--geo-navy);
  border-radius: 6px;
  min-width: 28px;
  padding: 3px 8px;
  margin: 0 2px;
  font-size: 0.74rem;
  font-weight: 650;
}

.geo-table-wrap .dt-paging .dt-paging-button:hover {
  background: #ecfeff;
  color: var(--geo-navy);
  border-color: var(--geo-blue);
}

.geo-table-wrap .dt-paging .dt-paging-button.current {
  background: var(--geo-blue);
  color: #fff;
  border-color: var(--geo-blue);
}

.geo-table-wrap .dt-paging .dt-paging-button.disabled {
  opacity: 0.45;
  cursor: default;
}

.geo-table-action {
  text-align: center;
  padding-top: 8px;
}

.geo-btn {
  background: var(--geo-blue);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  padding: 8px 16px;
  display: inline-block;
}

.geo-btn:hover { background: var(--geo-blue-hover); color: #fff; }

.geo-btn.geo-btn-export-ppt {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 16px;
  background: linear-gradient(135deg, var(--geo-navy) 0%, var(--geo-navy-mid) 48%, var(--geo-blue) 100%);
  border: 2px solid rgba(251, 191, 36, 0.7);
  border-radius: 999px;
  box-shadow:
    0 4px 14px rgba(14, 116, 144, 0.34),
    0 1px 3px rgba(15, 23, 42, 0.08);
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.geo-btn.geo-btn-export-ppt:hover,
.geo-btn.geo-btn-export-ppt:focus-visible {
  background: linear-gradient(135deg, var(--geo-navy-mid) 0%, var(--geo-blue) 52%, #22d3ee 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 8px 22px rgba(14, 116, 144, 0.42),
    0 2px 6px rgba(15, 23, 42, 0.1);
  border-color: rgba(251, 191, 36, 0.95);
}

.geo-btn.geo-btn-export-ppt:focus-visible {
  outline: 2px solid var(--geo-navy);
  outline-offset: 3px;
}

.geo-btn-export-ppt__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.geo-btn-export-ppt__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  gap: 1px;
}

.geo-btn-export-ppt__label {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.geo-btn-export-ppt__sub {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.03em;
}

.geo-btn-export-ppt__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  opacity: 0.88;
  flex-shrink: 0;
  margin-left: 2px;
}

.geo-layout-side .geo-news {
  flex: none;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

.geo-news {
  list-style: none;
  margin: 0;
  padding: 0;
}

.geo-news li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.geo-news li:last-child { border-bottom: 0; }

.geo-news-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  color: inherit;
  text-decoration: none;
}

a.geo-news-item:hover h3 {
  color: var(--geo-blue);
}

.geo-news-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #ecfeff;
  color: var(--geo-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.geo-news h3 {
  margin: 0 0 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--geo-ink);
}

.geo-news p {
  margin: 0;
  font-size: 0.74rem;
  color: var(--geo-muted);
}

.geo-news time,
.geo-news-meta {
  font-size: 0.7rem;
  color: #94a3b8;
  white-space: nowrap;
}

.geo-news-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.geo-ruptl {
  max-width: 720px;
  margin: 24px auto 8px;
  padding: 28px 28px 24px;
}

.geo-ruptl h2 { font-size: 1.1rem; font-weight: 800; margin: 0 0 6px; text-transform: none; letter-spacing: 0; }
.geo-ruptl p { color: var(--geo-muted); font-size: 0.875rem; margin: 0 0 18px; }

.geo-tabs-wide {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.geo-tabs-wide .nav-item {
  flex: 1 1 auto;
  min-width: max-content;
  text-align: center;
}

.geo-proyek-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.geo-proyek-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--geo-muted);
  margin: 0;
}

.geo-proyek-crumb a {
  color: var(--geo-navy);
  font-weight: 650;
}

.geo-proyek-crumb span.is-current {
  color: var(--geo-ink);
  font-weight: 700;
}

.geo-proyek-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.geo-proyek-hero {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: var(--geo-card);
  border: 1px solid var(--geo-line);
  border-radius: var(--geo-radius);
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.geo-proyek-hero-photo {
  width: 148px;
  height: 110px;
  max-width: 148px;
  max-height: 110px;
  border-radius: 8px;
  overflow: hidden;
  background: #ecfeff;
  flex-shrink: 0;
}

.geo-proyek-hero-photo img {
  display: block;
  width: 148px !important;
  height: 110px !important;
  max-width: 148px !important;
  max-height: 110px !important;
  object-fit: contain;
}

.geo-proyek-hero h1 {
  margin: 0 0 6px;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--geo-ink);
  text-transform: none;
  overflow-wrap: anywhere;
}

.geo-proyek-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.geo-proyek-hero-meta li {
  font-size: 0.78rem;
  color: var(--geo-muted);
}

.geo-proyek-hero-meta strong {
  display: block;
  color: var(--geo-ink);
  font-weight: 700;
}

.geo-proyek-hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.geo-proyek-note {
  margin: 0 0 12px;
  font-size: 0.8rem;
}

.geo-proyek-tabs.geo-tabs-wide .nav-link {
  font-size: 0.72rem;
  padding: 7px 9px;
  white-space: nowrap;
}

.geo-proyek-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.geo-proyek-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.geo-proyek-map {
  min-height: 220px;
  height: 220px;
  border-radius: 8px;
}

.geo-proyek-coords {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.74rem;
  color: var(--geo-muted);
}

.geo-dl {
  margin: 0;
}

.geo-dl div {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--geo-line);
  font-size: 0.8rem;
}

.geo-dl div:last-child { border-bottom: 0; }

.geo-dl dt {
  margin: 0;
  color: var(--geo-muted);
  font-weight: 650;
}

.geo-dl dd {
  margin: 0;
  font-weight: 700;
  color: var(--geo-ink);
}

.geo-stepper {
  list-style: none;
  margin: 0;
  padding: 0;
}

.geo-stepper li {
  display: flex;
  gap: 10px;
  position: relative;
  padding-bottom: 14px;
}

.geo-stepper li:last-child { padding-bottom: 0; }

.geo-stepper li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: var(--geo-line);
}

.geo-stepper li.is-done:not(:last-child)::before,
.geo-stepper li.is-current:not(:last-child)::before {
  background: var(--geo-blue);
}

.geo-step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--geo-line);
  background: #fff;
  color: var(--geo-muted);
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.geo-stepper li.is-done .geo-step-dot {
  background: var(--geo-navy);
  border-color: var(--geo-navy);
  color: #fff;
}

.geo-stepper li.is-current .geo-step-dot {
  background: var(--geo-blue);
  border-color: var(--geo-blue);
  color: #fff;
  box-shadow: 0 0 0 4px #cffafe;
}

.geo-step-body strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
}

.geo-step-body span {
  font-size: 0.72rem;
  color: var(--geo-muted);
}

.geo-pmo-section-title {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #334155;
}

.geo-pmo-units {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}

.geo-pmo-units[data-units="1"] {
  grid-template-columns: minmax(0, 380px);
}

.geo-pmo-units[data-units="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.geo-pmo-units[data-units="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.geo-pmo-units .geo-card {
  margin-bottom: 0;
}

.geo-pmo-badge {
  display: inline-flex;
  align-items: center;
  max-width: 60%;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ecfeff;
  color: var(--geo-navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.geo-pmo-badge.is-empty {
  background: #f1f5f9;
  color: var(--geo-muted);
}

.geo-kontrak-group > td {
  background: #f0f9fb;
  border-bottom: 1px solid var(--geo-line);
  padding: 10px 12px;
  vertical-align: top;
}

.geo-kontrak-kicker {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--geo-navy);
  margin-bottom: 2px;
}

.geo-kontrak-group-title {
  font-weight: 700;
  color: var(--geo-ink);
  font-size: 0.82rem;
  line-height: 1.35;
}

.geo-kontrak-group-title.is-empty {
  color: var(--geo-muted);
  font-weight: 600;
}

.geo-kontrak-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--geo-muted);
  font-weight: 500;
}

.geo-kontrak-meta strong {
  color: var(--geo-ink);
  font-weight: 700;
}

.geo-kontrak-chip {
  display: inline-block;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ecfeff;
  color: var(--geo-navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: normal;
  word-break: break-word;
  vertical-align: middle;
}

.geo-kontrak-chip.is-empty {
  background: #f1f5f9;
  color: var(--geo-muted);
  font-weight: 600;
}

.geo-kontrak-row-meta {
  display: block;
  margin-top: 3px;
  font-size: 0.68rem;
  color: var(--geo-muted);
  font-weight: 500;
  line-height: 1.35;
}

.geo-pmo-unit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--geo-line);
  font-size: 0.72rem;
  color: var(--geo-muted);
}

.geo-pmo-unit-meta strong {
  color: var(--geo-ink);
  font-weight: 700;
}

.geo-stepper-compact li {
  padding-bottom: 8px;
}

.geo-stepper-compact li:not(:last-child)::before {
  top: 20px;
}

.geo-pmo-unit-tabs {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 12px;
}

.geo-pmo-unit-tabs .nav-link {
  font-size: 0.72rem;
  padding: 6px 10px;
}

.geo-target-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.geo-target-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--geo-line);
  font-size: 0.78rem;
}

.geo-target-list li:last-child { border-bottom: 0; }

.geo-target-list span { color: var(--geo-muted); }
.geo-target-list strong { color: var(--geo-ink); }

.geo-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.geo-doc-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--geo-line);
}

.geo-doc-list li:last-child { border-bottom: 0; }

.geo-doc-list a { color: var(--geo-navy); font-weight: 650; }

.geo-gallery-hint {
  margin: 0 0 8px;
  color: var(--geo-navy);
  font-size: 0.78rem;
  font-weight: 650;
}

.geo-gallery-hint i { margin-right: 6px; color: var(--geo-blue); }

.geo-gallery-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--geo-navy);
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}

.geo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.geo-gallery-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--geo-line);
  border-radius: var(--geo-radius);
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  min-width: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.geo-gallery-item:hover,
.geo-gallery-item:focus {
  border-color: var(--geo-blue);
  box-shadow: 0 4px 14px rgba(14, 116, 144, 0.14);
  outline: none;
}

.geo-gallery-item:focus-visible {
  outline: 2px solid var(--geo-navy);
  outline-offset: 2px;
}

.geo-gallery-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #ecfeff;
  overflow: hidden;
}

.geo-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.geo-gallery-item:hover .geo-gallery-thumb img,
.geo-gallery-item:focus .geo-gallery-thumb img {
  transform: scale(1.04);
}

.geo-gallery-zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(14, 116, 144, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  pointer-events: none;
}

.geo-gallery-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 10px;
  min-height: 4.2rem;
}

.geo-gallery-caption strong {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--geo-ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.geo-gallery-meta {
  font-size: 0.68rem;
  color: var(--geo-muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightboxOverlay {
  background-color: #0b3a46;
}

.lb-data .lb-caption {
  font-family: "Plus Jakarta Sans", "Source Sans Pro", sans-serif;
  font-weight: 650;
  color: #f8fafc;
}

.lb-data .lb-number {
  color: #67e8f9;
}

.geo-empty {
  margin: 0;
  padding: 18px 8px;
  text-align: center;
  color: var(--geo-muted);
  font-size: 0.8rem;
}

.geo-chart-box {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 220px;
  overflow: visible;
}

.geo-chart-box canvas {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}

.geo-chart-box-tarif {
  height: 280px;
}

.geo-tarif-units {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  align-items: start;
}

.geo-tarif-units[data-units="1"] {
  grid-template-columns: minmax(0, 1fr);
}

.geo-tarif-units[data-units="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.geo-tarif-units[data-units="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.geo-tarif-units .geo-card {
  margin-bottom: 0;
}

.geo-ruptl-year {
  min-width: 180px;
}

.geo-ruptl-year .form-control {
  border: 1px solid var(--geo-line);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--geo-navy);
  height: 38px;
}

.geo-ruptl-overview {
  min-height: 860px;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 0.72fr);
}

.geo-ruptl-overview .geo-layout-main > .geo-card {
  flex: 1;
  min-height: 0;
}

.geo-ruptl-overview .geo-map-wrap {
  flex: 1;
  min-height: 560px;
}

.geo-ruptl-overview .geo-map {
  min-height: 560px;
}

.geo-ruptl-overview .geo-layout-side .geo-card-body {
  padding: 6px 10px 10px;
}

.geo-ruptl-overview .geo-layout-side .geo-chart-canvas {
  min-height: 220px;
}

.geo-potensi-overview {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.geo-potensi-overview .geo-map-wrap,
.geo-potensi-overview .geo-map {
  min-height: 460px;
}

.geo-coord-missing {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--geo-muted);
  background: #f1f5f9;
  border-radius: 999px;
  padding: 2px 7px;
  vertical-align: middle;
}

.geo-badge.is-cyan {
  background: #cffafe;
  color: #0e7490;
}

.geo-badge.is-navy {
  background: #e0f2fe;
  color: #155e75;
}

.geo-badge.is-violet {
  background: #ede9fe;
  color: #6d28d9;
}

.geo-badge.is-orange {
  background: #ffedd5;
  color: #c2410c;
}

.geo-badge.is-green {
  background: #dcfce7;
  color: #15803d;
}

.geo-ruptl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.geo-canvasjs {
  height: 380px;
  width: 100%;
  max-width: 100%;
}

.geo-map-wrap-tall {
  min-height: 460px;
}

.geo-map-wrap-tall .geo-map {
  min-height: 460px;
}

.geo-ruptl-form .form-control,
.geo-ruptl-form .select2-container {
  flex: 1;
  width: auto !important;
}

.card-info:not(.card-outline) > .card-header {
  background-color: var(--geo-navy);
  border-color: var(--geo-navy);
}

.btn-info {
  background-color: var(--geo-blue);
  border-color: var(--geo-blue);
}

.btn-info:hover {
  background-color: var(--geo-blue-hover);
  border-color: var(--geo-blue-hover);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: var(--geo-blue);
}

.geo-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 999px;
  background: #ecfeff;
  color: var(--geo-navy);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

.geo-tabs .nav-link.active .geo-tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.geo-issue-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--geo-navy);
  background: #ecfeff;
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}

.geo-issue-lead {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: var(--geo-muted);
  line-height: 1.45;
}

.geo-issue-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #f0f9fb;
  border: 1px solid #d9f1f5;
  border-radius: 8px;
  font-size: 0.76rem;
  color: var(--geo-muted);
}

.geo-issue-summary strong {
  color: var(--geo-navy);
  font-weight: 800;
}

.geo-issue-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.geo-issue-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--geo-line);
  background: #fff;
  color: var(--geo-muted);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.geo-issue-chip span {
  background: #ecfeff;
  color: var(--geo-navy);
  border-radius: 999px;
  padding: 0 6px;
  min-width: 16px;
  text-align: center;
}

.geo-issue-chip.is-active {
  background: var(--geo-navy);
  border-color: var(--geo-navy);
  color: #fff;
}

.geo-issue-chip.is-active span {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.geo-issue-group {
  margin: 0 0 16px;
}

.geo-issue-group:last-child {
  margin-bottom: 0;
}

.geo-issue-group.is-hidden,
.geo-issue-card.is-hidden {
  display: none;
}

.geo-issue-group-head {
  margin: 0 0 8px;
  padding: 0 2px;
}

.geo-issue-group-head h3 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--geo-ink);
  line-height: 1.35;
}

.geo-issue-group-head p {
  margin: 2px 0 0;
  font-size: 0.72rem;
  color: var(--geo-muted);
}

.geo-issue-card {
  background: #fff;
  border: 1px solid var(--geo-line);
  border-radius: 10px;
  padding: 12px 14px 12px 16px;
  margin-bottom: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  border-left: 4px solid var(--geo-blue);
  transition: box-shadow 0.25s ease;
}

.geo-issue-card.is-open {
  border-left-color: #ea580c;
}

.geo-issue-card.is-action {
  border-left-color: var(--geo-navy);
}

.geo-issue-card.is-done {
  border-left-color: #0f766e;
}

.geo-issue-card.is-flash {
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.22);
}

.geo-issue-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.geo-issue-card-head h4 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--geo-ink);
  line-height: 1.35;
}

.geo-issue-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.geo-badge.is-ongoing {
  background: #ecfeff;
  color: #0e7490;
}

.geo-badge.is-done {
  background: #ccfbf1;
  color: #0f766e;
}

.geo-badge.is-pending {
  background: #ffedd5;
  color: #c2410c;
}

.geo-badge.is-info {
  background: #f1f5f9;
  color: #334155;
}

.geo-badge.is-action {
  background: #ecfeff;
  color: #0e7490;
}

.geo-badge.is-open {
  background: #fff7ed;
  color: #c2410c;
}

.geo-issue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}

.geo-issue-pill {
  display: inline-block;
  max-width: 100%;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ecfeff;
  color: var(--geo-navy);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
}

.geo-issue-pill.is-muted {
  background: #f1f5f9;
  color: var(--geo-muted);
  font-weight: 650;
}

.geo-issue-context {
  margin: 0 0 8px;
  padding: 8px 10px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.76rem;
  color: #475569;
  line-height: 1.45;
  white-space: pre-wrap;
}

.geo-issue-context span {
  display: block;
  margin-bottom: 2px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--geo-muted);
}

.geo-issue-text {
  position: relative;
  font-size: 0.8rem;
  color: var(--geo-ink);
  line-height: 1.5;
}

.geo-issue-text p {
  margin: 0;
}

.geo-issue-text > .geo-issue-related-kicker {
  margin-bottom: 4px;
}

.geo-issue-text.is-clamp p {
  max-height: 6.2em;
  overflow: hidden;
}

.geo-issue-more {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--geo-navy);
  font-size: 0.74rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.geo-issue-related {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--geo-line);
}

.geo-issue-related-kicker {
  display: block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--geo-muted);
}

.geo-issue-related p {
  margin: 3px 0 0;
  font-size: 0.76rem;
  color: #475569;
  line-height: 1.4;
}

.geo-issue-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--geo-navy);
}

.geo-issue-filters.is-empty-result + .geo-issue-empty-filter,
.geo-issue-pane-empty {
  display: none;
}

@media (max-width: 767.98px) {
  .geo-issue-card-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .geo-issue-badges {
    justify-content: flex-start;
  }
}

@media (min-width: 1400px) {
  .geo-kpis:not(.is-4):not(.is-auto) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .geo-layout { min-height: 0; align-items: stretch; }
  .geo-map,
  .geo-map-wrap,
  .geo-layout-main > .geo-card:first-child .geo-map-wrap,
  .geo-potensi-overview .geo-map-wrap,
  .geo-potensi-overview .geo-map {
    min-height: 480px;
  }
  .geo-chart-canvas {
    height: 260px;
    min-height: 260px;
    max-height: 280px;
  }
}

@media (max-width: 1399.98px) {
  .geo-kpis:not(.is-4):not(.is-auto) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .geo-kpis,
  .geo-kpis.is-4,
  .geo-kpis.is-auto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geo-layout {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    align-items: start;
  }
  .geo-layout-main > .geo-card:first-child,
  .geo-layout-main > .geo-card:last-child,
  .geo-layout-side > .geo-card {
    flex: none;
    min-height: auto;
    height: auto;
  }
  .geo-layout-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  .geo-layout-side .geo-card-body {
    flex: none;
  }
  .geo-layout-side .geo-news {
    flex: none;
    overflow: visible;
    max-height: none;
  }
  .geo-chart-canvas,
  .geo-ruptl-overview .geo-layout-side .geo-chart-canvas {
    flex: none;
    height: 260px;
    min-height: 260px;
    max-height: 280px;
  }
  .geo-map:not(.geo-proyek-map),
  .geo-map-wrap,
  .geo-ruptl-overview .geo-map-wrap,
  .geo-ruptl-overview .geo-map,
  .geo-potensi-overview .geo-map-wrap,
  .geo-potensi-overview .geo-map {
    min-height: 360px;
    height: 360px;
  }
  .geo-ruptl-overview { min-height: 0; }
  .geo-potensi-overview { min-height: 0; }
  .geo-proyek-hero { grid-template-columns: 120px minmax(0, 1fr) auto; }
  .geo-proyek-hero-photo,
  .geo-proyek-hero-photo img {
    width: 120px !important;
    height: 90px !important;
    max-width: 120px !important;
    max-height: 90px !important;
  }
  .geo-proyek-hero-side { align-items: flex-end; }
  .geo-proyek-grid { grid-template-columns: 1fr 1fr; }
  .geo-canvasjs { height: 320px; }
  .geo-pmo-units,
  .geo-pmo-units[data-units="2"],
  .geo-pmo-units[data-units="3"],
  .geo-tarif-units,
  .geo-tarif-units[data-units="2"],
  .geo-tarif-units[data-units="3"] { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991.98px) {
  .main-header,
  .content-wrapper,
  .main-footer,
  body.sidebar-mini .main-header,
  body.sidebar-mini .content-wrapper,
  body.sidebar-mini .main-footer,
  body.layout-fixed .main-header,
  body.layout-fixed .content-wrapper,
  body.layout-fixed .main-footer,
  .layout-navbar-fixed .wrapper .main-header {
    margin-left: 0 !important;
  }
  .geo-tabs-wide .nav-item {
    flex: 0 0 auto;
  }
  .geo-layout-side {
    grid-template-columns: minmax(0, 1fr);
  }
  body.layout-footer-fixed .main-footer {
    position: relative !important;
    width: 100% !important;
  }
  body.layout-footer-fixed .content-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .geo-kpis,
  .geo-kpis.is-4,
  .geo-kpis.is-auto { grid-template-columns: minmax(0, 1fr); }
  .geo-kpi-value { font-size: 1.12rem; }
  .geo-pagehead {
    flex-direction: column;
    align-items: stretch;
  }
  .geo-pagehead h1 { font-size: 1.05rem; }
  .geo-btn.geo-btn-export-ppt {
    width: 100%;
    justify-content: center;
  }
  .geo-ruptl-year {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .geo-layout-side {
    grid-template-columns: minmax(0, 1fr);
  }
  .geo-layout-side > .geo-card,
  .geo-layout-main > .geo-card {
    width: 100%;
    max-width: 100%;
  }
  .geo-chart-canvas,
  .geo-ruptl-overview .geo-layout-side .geo-chart-canvas {
    height: 280px;
    min-height: 280px;
    max-height: 300px;
  }
  .geo-chart-box,
  .geo-chart-box-tarif {
    height: 240px;
  }
  .geo-map:not(.geo-proyek-map),
  .geo-map-wrap,
  .geo-ruptl-overview .geo-map-wrap,
  .geo-ruptl-overview .geo-map,
  .geo-potensi-overview .geo-map-wrap,
  .geo-potensi-overview .geo-map,
  .geo-map-wrap-tall,
  .geo-map-wrap-tall .geo-map {
    min-height: 240px;
    height: 240px;
  }
  .geo-proyek-map {
    min-height: 200px;
    height: 200px;
  }
  .geo-card-head { flex-direction: column; align-items: flex-start; }
  .geo-ruptl-form { flex-direction: column; }
  .geo-navbar-title { display: none; }
  .geo-ruptl-split { grid-template-columns: minmax(0, 1fr); }
  .geo-tabs,
  .geo-tabs-wide {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .geo-tabs .nav-item,
  .geo-tabs-wide .nav-item { flex: 0 0 auto; }
  .geo-proyek-hero { grid-template-columns: 72px minmax(0, 1fr); }
  .geo-proyek-hero-photo,
  .geo-proyek-hero-photo img {
    width: 72px !important;
    height: 56px !important;
    max-width: 72px !important;
    max-height: 56px !important;
  }
  .geo-proyek-hero-side { grid-column: 1 / -1; justify-content: flex-start; flex-direction: row; }
  .geo-proyek-grid { grid-template-columns: minmax(0, 1fr); }
  .geo-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
  .geo-dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .geo-canvasjs { height: 240px; }
  .geo-map-legend { left: 8px; bottom: 8px; padding: 8px 10px; min-width: 0; }
  .geo-pmo-units,
  .geo-pmo-units[data-units="1"],
  .geo-pmo-units[data-units="2"],
  .geo-pmo-units[data-units="3"],
  .geo-tarif-units,
  .geo-tarif-units[data-units="1"],
  .geo-tarif-units[data-units="2"],
  .geo-tarif-units[data-units="3"] { grid-template-columns: minmax(0, 1fr); }
  #previewMap {
    height: 280px !important;
  }
  .geo-news-item {
    grid-template-columns: 28px minmax(0, 1fr);
  }
  .geo-news-meta {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  .geo-table-wrap .dt-layout-row,
  .content-wrapper .dt-container .dt-layout-row {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .content-wrapper .dt-length,
  .content-wrapper .dt-search,
  .content-wrapper .dt-info,
  .content-wrapper .dt-paging {
    width: 100%;
    text-align: left;
    float: none;
  }
  .geo-table-wrap .dt-paging,
  .content-wrapper .dt-paging {
    overflow-x: auto;
    max-width: 100%;
  }
}

.geo-print-map-fallback,
.geo-print-chart-fallback {
  display: none;
}

@media print {
  @page {
    size: A4;
    margin: 12mm 10mm 14mm;
  }

  html, body {
    background: #fff !important;
    color: #0f172a;
    font-size: 11px;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .main-header,
  .main-sidebar,
  .main-footer,
  .geo-proyek-toolbar,
  .geo-proyek-tabs,
  .geo-pmo-unit-tabs,
  .geo-issue-filters,
  .geo-issue-more,
  .geo-issue-link,
  .btn-preview,
  .lightbox-overlay,
  .modal,
  .os-scrollbar,
  #previewModal {
    display: none !important;
  }

  .wrapper,
  .content-wrapper,
  .content,
  .container-fluid,
  .geo-dash {
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .geo-dash::before {
    content: "GEO-DASHBOARD · Detail Proyek";
    display: block;
    color: #0e7490;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid #0e7490;
  }

  .geo-proyek-hero {
    display: table;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    page-break-inside: avoid;
    margin-bottom: 10px;
  }

  .geo-proyek-hero > * {
    display: table-cell;
    vertical-align: middle;
  }

  .geo-proyek-hero-photo {
    width: 110px;
    height: 80px;
    max-width: 110px;
    max-height: 80px;
    overflow: hidden;
  }

  .geo-proyek-hero-photo img {
    width: 110px !important;
    height: 80px !important;
    max-width: 110px !important;
    max-height: 80px !important;
    object-fit: contain;
  }

  .geo-proyek-hero-side {
    text-align: right;
    width: 140px;
  }

  .geo-kpis {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin-bottom: 12px;
    page-break-inside: avoid;
  }

  .geo-kpi {
    display: table-cell;
    width: 20%;
    vertical-align: top;
    border: 1px solid #e5e7eb;
    box-shadow: none;
    page-break-inside: avoid;
  }

  .geo-proyek-grid {
    display: block;
  }

  .geo-proyek-col {
    display: block;
  }

  .geo-pmo-units,
  .geo-pmo-units[data-units],
  .geo-tarif-units,
  .geo-tarif-units[data-units] {
    display: block;
  }

  .geo-card {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
    margin-bottom: 10px;
  }

  .tab-content > .tab-pane {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    page-break-before: always;
  }

  .tab-content > .tab-pane.show.active,
  .tab-content > .tab-pane:first-of-type {
    page-break-before: auto;
  }

  .tab-content > .tab-pane[data-print-title]::before {
    content: attr(data-print-title);
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #0e7490;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-bottom: 2px solid #17a2b8;
    padding-bottom: 4px;
    margin: 8px 0 10px;
  }

  .geo-pmo-unit-tabs + .tab-content > .tab-pane {
    page-break-before: auto;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    padding: 8px;
  }

  .geo-pmo-unit-tabs + .tab-content > .tab-pane[data-print-title]::before {
    font-size: 12px;
    text-transform: none;
    border-bottom-width: 1px;
  }

  #mapProyek,
  .geo-proyek-map,
  .leaflet-container,
  .geo-chart-box {
    display: none !important;
  }

  .geo-print-map-fallback {
    display: block;
    background: #ecfeff;
    border: 1px dashed #17a2b8;
    padding: 10px 12px;
    color: #155e75;
    font-size: 0.85rem;
  }

  .geo-print-map-fallback strong {
    display: block;
    color: #0e7490;
    margin-bottom: 4px;
  }

  .geo-print-map-fallback em {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #64748b;
  }

  .geo-proyek-coords {
    display: none;
  }

  .geo-print-chart-fallback {
    display: block;
  }

  tr.expandable-body,
  tr.child-row {
    display: table-row !important;
  }

  tr.expandable-body > td,
  tr.child-row > td {
    display: table-cell !important;
    visibility: visible !important;
  }

  .expandable-body p,
  .expandable-body div {
    display: block !important;
    height: auto !important;
  }

  .geo-issue-text.is-clamp {
    max-height: none !important;
    overflow: visible !important;
  }

  .geo-gallery {
    display: block;
  }

  .geo-gallery-item {
    display: inline-block;
    width: 31%;
    vertical-align: top;
    page-break-inside: avoid;
  }

  .geo-gallery-thumb img {
    max-height: 90px;
    object-fit: cover;
  }

  .geo-gallery-zoom {
    display: none;
  }

  a[href]::after {
    content: none !important;
  }

  .geo-badge,
  .geo-kpi-icon,
  .geo-step-dot,
  .geo-kontrak-chip,
  .geo-issue-pill {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

