/* Bootstrap-lite + grid untuk halaman publik (tanpa Bootstrap) */
.pub-dash {
  font-family: inherit;
  min-width: 0;
}
.pub-dash .card {
  background: #fff;
  position: relative;
  min-width: 0;
}
.pub-dash .card-body { }
.pub-dash .p-0 { padding: 0 !important; }
.pub-dash .mb-0 { margin-bottom: 0 !important; }
.pub-dash .text-right { text-align: right !important; }
.pub-dash .text-center { text-align: center !important; }
.pub-dash .text-nowrap { white-space: nowrap !important; }
.pub-dash .text-muted { color: #6b7280 !important; }
.pub-dash .table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
  background: transparent;
}
.pub-dash .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pub-dash .dash-ban-prov-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.pub-dash .dash-ban-col-12 { grid-column: span 12; }
.pub-dash .dash-ban-col-8 { grid-column: span 8; }
.pub-dash .dash-ban-col-6 { grid-column: span 6; }
.pub-dash .dash-ban-col-4 { grid-column: span 4; }
.pub-dash .dash-ban-col-3 { grid-column: span 3; }
@media (max-width: 991px) {
  .pub-dash .dash-ban-col-8,
  .pub-dash .dash-ban-col-6,
  .pub-dash .dash-ban-col-4 { grid-column: 1 / -1; }
  .pub-dash .dash-ban-col-3 { grid-column: span 6; }
}
@media (max-width: 575px) {
  .pub-dash .dash-ban-col-3 { grid-column: 1 / -1; }
}


.pub-dash {
  --dash-red: #c62828;
  --dash-red-dark: #b71c1c;
  --dash-red-light: #ffebee;
  --dash-red-soft: #fff5f5;
  --dash-navy: #0f2a4a;
  --dash-text: #303030;
  --dash-muted: #6b7280;
  --dash-border: #f0d0d0;
  --dash-radius: 14px;
  --dash-shadow: 0 4px 18px rgba(198, 40, 40, 0.08);
  --dash-shadow-hover: 0 8px 28px rgba(198, 40, 40, 0.14);
}

.pub-dash .dash-toolbar {
  position: relative;
  z-index: 40;
  overflow: visible;
  background: linear-gradient(115deg, #9e1c1c 0%, var(--dash-red) 38%, #e53935 100%);
  border-radius: 18px;
  padding: 0;
  margin-bottom: 1.15rem;
  box-shadow: 0 10px 28px rgba(198, 40, 40, 0.22);
  color: #fff;
  isolation: isolate;
}

.pub-dash .dash-toolbar-deco {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.pub-dash .dash-toolbar-deco::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.15px, transparent 1.25px);
  background-size: 15px 15px;
  background-position: 10px 8px;
  -webkit-mask-image: linear-gradient(105deg, #000 0%, #000 32%, transparent 58%);
  mask-image: linear-gradient(105deg, #000 0%, #000 32%, transparent 58%);
}

.pub-dash .dash-toolbar-deco::after {
  content: '';
  position: absolute;
  right: -2%;
  bottom: -36%;
  width: 520px;
  height: 220px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 220' fill='none'%3E%3Cpath d='M0 140 C80 90 140 190 220 130 C300 70 360 170 520 90' stroke='rgba(255,255,255,0.22)' stroke-width='2'/%3E%3Cpath d='M0 170 C90 120 160 210 250 155 C340 100 400 190 520 130' stroke='rgba(255,255,255,0.14)' stroke-width='2'/%3E%3Cpath d='M40 200 C140 150 200 230 300 175 C390 125 450 210 520 165' stroke='rgba(255,255,255,0.1)' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
}

.pub-dash .dash-toolbar::before,
.pub-dash .dash-toolbar::after {
  display: none;
}

.pub-dash .dash-toolbar-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  padding: 22px 24px;
}

.pub-dash .dash-toolbar-head {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1 1 280px;
}

.pub-dash .dash-toolbar-icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--dash-red);
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.pub-dash .dash-toolbar-copy {
  min-width: 0;
}

.pub-dash .dash-toolbar-kicker {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pub-dash .dash-toolbar-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #fff;
}

.pub-dash .dash-toolbar-sub {
  font-size: 0.86rem;
  opacity: 0.94;
  margin: 0;
  max-width: 560px;
  line-height: 1.45;
  font-weight: 400;
  color: #fff;
}

.pub-dash .dash-toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  flex: 0 1 auto;
  position: relative;
  z-index: 2;
}

.pub-dash .dash-filter-wrap {
  position: relative;
  overflow: visible;
  background: #fff;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px 12px;
  min-width: 210px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.pub-dash .dash-filter-wrap:focus-within {
  z-index: 55;
}

.pub-dash .dash-filter-wrap label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dash-red-dark);
  margin-bottom: 4px;
  display: block;
}

.pub-dash .dash-filter-wrap label i {
  opacity: 0.85;
}

.pub-dash .dash-filter-wrap .form-control,
.pub-dash .dash-filter-wrap select,
.pub-dash .dash-filter-wrap .multiselect__tags {
  background: #fff;
  border: 1px solid #f0d0d0;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dash-navy);
  min-height: 34px;
  box-shadow: none;
}

.pub-dash .dash-filter-wrap .input-group,
.pub-dash .dash-filter-wrap .input-group-sm {
  margin-bottom: 0 !important;
  width: 100%;
}

.pub-dash .dash-filter-wrap .input-group-prepend {
  display: none;
}

.pub-dash .dash-filter-wrap .multiselect {
  min-width: 0;
  width: 100%;
}

.pub-dash .dash-filter-wrap .multiselect--active {
  z-index: 60;
}

.pub-dash .dash-filter-wrap .multiselect__content-wrapper {
  z-index: 1060 !important;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.pub-dash .dash-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.2rem;
}

.pub-dash .btn-menu {
  color: var(--dash-red);
  background-color: #fff;
  border: 1px solid #e5e7eb;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pub-dash .btn-menu i {
  color: inherit;
}

.pub-dash .btn-menu:hover {
  color: var(--dash-red-dark);
  background-color: var(--dash-red-light);
  border-color: #f5b4b4;
  transform: none;
}

.pub-dash .btn-menu.active {
  color: #fff;
  background: var(--dash-red);
  border-color: var(--dash-red);
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.32);
}

.pub-dash .dash-stats {
  margin-bottom: 1.5rem;
}

.pub-dash .dash-stat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-left-width: 4px;
  border-radius: 16px;
  padding: 20px 18px;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 42, 74, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pub-dash .dash-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 42, 74, 0.1);
}

.pub-dash .dash-stat-card::before {
  display: none;
}

.pub-dash .dash-stat-card--kegiatan {
  border-left-color: #f97316;
}

.pub-dash .dash-stat-card--opd {
  border-left-color: #fb7185;
}

.pub-dash .dash-stat-card--anggaran {
  border-left-color: #22c55e;
}

.pub-dash .dash-stat-card--realisasi {
  border-left-color: #3b82f6;
}

.pub-dash .dash-stat-wave {
  position: absolute;
  right: -8px;
  bottom: -18px;
  width: 130px;
  height: 70px;
  pointer-events: none;
  opacity: 0.45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 70' fill='none'%3E%3Cpath d='M0 42 C28 18 48 58 72 36 C96 14 112 48 130 28 V70 H0Z' fill='%23e2e8f0'/%3E%3Cpath d='M0 52 C30 30 52 64 78 46 C104 28 118 56 130 42 V70 H0Z' fill='%23f1f5f9'/%3E%3C/svg%3E") no-repeat center / contain;
}

.pub-dash .dash-stat-card--kegiatan .dash-stat-wave { opacity: 0.4; }
.pub-dash .dash-stat-card--opd .dash-stat-wave { opacity: 0.4; }
.pub-dash .dash-stat-card--anggaran .dash-stat-wave { opacity: 0.45; }
.pub-dash .dash-stat-card--realisasi .dash-stat-wave { opacity: 0.45; }

.pub-dash .dash-stat-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pub-dash .dash-stat-card--kegiatan .dash-stat-icon {
  background: #ffedd5;
}

.pub-dash .dash-stat-card--opd .dash-stat-icon {
  background: #ffe4e6;
}

.pub-dash .dash-stat-card--anggaran .dash-stat-icon {
  background: #dcfce7;
}

.pub-dash .dash-stat-card--realisasi .dash-stat-icon {
  background: #dbeafe;
}

.pub-dash .dash-stat-icon img {
  height: 34px;
  width: auto;
}

.pub-dash .dash-stat-body {
  flex: 1;
  min-width: 0;
}

.pub-dash .dash-stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-bottom: 6px;
}

.pub-dash .dash-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dash-navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pub-dash .dash-stat-value--money {
  font-size: 1.2rem;
}

.pub-dash .dash-stat-value-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pub-dash .dash-stat-pct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #1d4ed8;
  background: #dbeafe;
  line-height: 1.2;
}

.pub-dash .dash-stat-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.3;
}

.pub-dash .dash-stat-label-long {
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #64748b;
}

.pub-dash .dash-stat-value--sm {
  font-size: 1.2rem;
}

.pub-dash .dash-content {
  position: relative;
}

.pub-dash .dash-content .card.rounded-30,
.pub-dash .dash-content .card.dashed-border {
  border: 1px solid #e8edf2 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(15, 42, 74, 0.06);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.pub-dash .dash-content .card.rounded-30:hover,
.pub-dash .dash-content .card.dashed-border:hover {
  box-shadow: 0 8px 24px rgba(15, 42, 74, 0.1);
}

.pub-dash .dash-ban-prov-grid > [class*="col-"] {
  margin-bottom: 1rem;
}

.pub-dash .dash-ban-prov-grid .card.rounded-30,
.pub-dash .dash-ban-prov-grid .card.dashed-border {
  height: 100%;
  margin-bottom: 0;
}

.pub-dash .dash-content .card .font-weight-bold.text-primary,
.pub-dash .dash-content .card .font18px.text-primary {
  color: var(--dash-red) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  padding-bottom: 0.65rem !important;
  margin-bottom: 0.25rem;
}

.pub-dash .dash-content .card .fa-circle {
  color: var(--dash-red) !important;
  font-size: 0.55rem;
  vertical-align: middle;
}

.pub-dash .dashed-border {
  border-style: solid !important;
}

.pub-dash .dash-rank-card .card-body {
  padding-bottom: 0 !important;
}

.pub-dash .dash-rank-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #eef2f6;
}

.pub-dash .dash-rank-header-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dash-red) 0%, var(--dash-red-dark) 100%);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.28);
}

.pub-dash .dash-rank-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dash-navy);
  line-height: 1.3;
}

.pub-dash .dash-rank-subtitle {
  margin: 2px 0 0;
  font-size: 0.76rem;
  color: var(--dash-muted);
}

.pub-dash .dash-rank-table-wrap {
  padding: 0 0.5rem 0.5rem;
}

.pub-dash .dash-rank-table {
  border-collapse: separate;
  border-spacing: 0;
}

.pub-dash .dash-rank-table thead th {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  background: #f8fafc;
  border: 0;
  border-bottom: 1px solid #e8edf2;
  padding: 12px 14px;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}

.pub-dash .dash-rank-table thead th:first-child {
  border-radius: 10px 0 0 0;
}

.pub-dash .dash-rank-table thead th:last-child {
  border-radius: 0 10px 0 0;
}

.pub-dash .dash-rank-table tbody td {
  font-size: 0.82rem;
  color: var(--dash-text);
  vertical-align: middle;
  padding: 13px 14px;
  border-top: 1px solid #f1f5f9;
}

.pub-dash .dash-rank-table tbody tr {
  transition: background 0.15s ease;
}

.pub-dash .dash-rank-table tbody tr:hover {
  background: #f8fafc;
}

.pub-dash .dash-rank-row--1 {
  background: linear-gradient(90deg, #fffdf5 0%, #fff 100%);
}

.pub-dash .dash-rank-row--2 {
  background: linear-gradient(90deg, #f8fafc 0%, #fff 100%);
}

.pub-dash .dash-rank-row--3 {
  background: linear-gradient(90deg, #fff9f5 0%, #fff 100%);
}

.pub-dash .dash-rank-row--1:hover,
.pub-dash .dash-rank-row--2:hover,
.pub-dash .dash-rank-row--3:hover {
  background: #f1f5f9;
}

.pub-dash .dash-rank-table .w-rank-no {
  width: 56px;
}

.pub-dash .dash-rank-table .w-rank-pct {
  width: 130px;
}

.pub-dash .dash-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--dash-navy);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.pub-dash .dash-rank-badge--1 {
  color: #92400e;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
  border-color: #f59e0b;
}

.pub-dash .dash-rank-badge--2 {
  color: #334155;
  background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
  border-color: #94a3b8;
}

.pub-dash .dash-rank-badge--3 {
  color: #7c2d12;
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
  border-color: #fb923c;
}

.pub-dash .dash-rank-td-opd {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--dash-red-dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 160px;
}

.pub-dash .dash-rank-cell-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 260px;
  line-height: 1.4;
}

.pub-dash .dash-rank-pct-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 90px;
}

.pub-dash .dash-rank-progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e8edf2;
  overflow: hidden;
}

.pub-dash .dash-rank-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dash-red) 0%, #ef5350 100%);
  transition: width 0.4s ease;
}

.pub-dash .dash-rank-row--1 .dash-rank-progress-bar {
  background: linear-gradient(90deg, #d97706 0%, #fbbf24 100%);
}

.pub-dash .dash-rank-pct-num {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
}

.pub-dash .dash-rank-money {
  font-weight: 600;
  color: var(--dash-navy);
}

.pub-dash .dash-rank-money--real {
  font-weight: 800;
  color: var(--dash-red-dark);
}

.pub-dash .dash-rank-empty {
  text-align: center;
  padding: 2.5rem 1rem !important;
  color: var(--dash-muted);
  font-size: 0.88rem;
}

.pub-dash .dash-rank-empty i {
  font-size: 1.75rem;
  opacity: 0.35;
  margin-bottom: 0.35rem;
}

.pub-dash .dash-stat-card--sdgs {
  border-left-color: #d97706;
}

.pub-dash .dash-stat-card--sdgs .dash-stat-icon {
  background: #fef3c7;
  color: #d97706;
}

.pub-dash .dash-stat-icon i {
  font-size: 1.4rem;
}

.pub-dash .dash-stat-card--opd .dash-stat-icon i { color: #e11d48; }
.pub-dash .dash-stat-card--anggaran .dash-stat-icon i { color: #16a34a; }
.pub-dash .dash-stat-card--realisasi .dash-stat-icon i { color: #2563eb; }

.pub-dash .dash-content-sdgs {
  margin-bottom: 0.5rem;
}

.pub-dash .dash-content-sdgs > [class*="col-"] {
  margin-bottom: 0.25rem;
}

.pub-dash .dash-content-csr > [class*="col-"] {
  margin-bottom: 1rem;
}

.pub-dash .dash-content-csr .dash-opd-ylabel,
.pub-dash .dash-content-csr .dash-opd-yhead {
  grid-template-columns: 28px minmax(0, 1fr);
}

.pub-dash .dash-content-sdgs .dash-opd-ylabel,
.pub-dash .dash-content-sdgs .dash-opd-yhead {
  grid-template-columns: 28px minmax(0, 1fr);
}

.pub-dash .dash-content-csr .dash-csr-pair-col {
  display: flex;
  margin-bottom: 1rem;
}

.pub-dash .dash-content-csr .dash-csr-pair-col > .dash-csr-summary-card,
.pub-dash .dash-content-csr .dash-csr-pair-col > .dash-csr-out-card,
.pub-dash .dash-content-csr .dash-csr-pair-col > .dash-csr-pair-chart {
  width: 100%;
  flex: 1 1 auto;
}

.pub-dash .dash-content-csr .dash-csr-pair-chart {
  display: flex;
  flex-direction: column;
}

.pub-dash .dash-content-csr .dash-csr-pair-chart > .card {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  height: 100%;
}

.pub-dash .dash-content-csr .dash-csr-pair-chart .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pub-dash .dash-csr-summary-card {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
  min-height: 300px;
  padding: 24px 26px 22px;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 42, 74, 0.06);
  overflow: hidden;
}

.pub-dash .dash-csr-summary-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 140' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%2386efac' stroke-width='3' d='M0 88 C80 40 140 110 220 70 C300 30 360 100 440 62 C520 24 580 90 640 50'/%3E%3Cpath fill='%23ecfdf5' opacity='0.7' d='M0 88 C80 40 140 110 220 70 C300 30 360 100 440 62 C520 24 580 90 640 50 L640 140 L0 140 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.pub-dash .dash-csr-summary-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  flex: 1;
}

.pub-dash .dash-csr-summary-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.pub-dash .dash-csr-summary-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 253, 245, 0.95);
  border: 1px solid #d1fae5;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.12);
}

.pub-dash .dash-csr-summary-icon img {
  width: 32px;
  height: auto;
}

.pub-dash .dash-csr-summary-icon i {
  font-size: 1.45rem;
  color: #16a34a;
}

.pub-dash .dash-csr-summary-body {
  flex: 1;
  min-width: 0;
}

.pub-dash .dash-csr-summary-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
}

.pub-dash .dash-csr-summary-value {
  display: block;
  font-size: 3.4rem;
  font-weight: 800;
  color: #166534;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.pub-dash .dash-csr-summary-foot {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #15803d;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.pub-dash .dash-csr-summary-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.pub-dash .dash-csr-summary-delta {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 800;
  font-size: 0.78rem;
}

.pub-dash .dash-csr-summary-delta.is-up {
  background: #dcfce7;
  color: #15803d;
}

.pub-dash .dash-csr-summary-delta.is-down {
  background: #fee2e2;
  color: #b91c1c;
}

@media (max-width: 767px) {
  .pub-dash .dash-csr-summary-card {
    min-height: 260px;
    padding: 20px 18px;
  }

  .pub-dash .dash-csr-summary-icon {
    width: 48px;
    height: 48px;
  }

  .pub-dash .dash-csr-summary-icon img {
    width: 26px;
  }

  .pub-dash .dash-csr-summary-value {
    font-size: 2.4rem;
  }
}

.pub-dash .dash-csr-out-card {
  height: 100%;
}

.pub-dash .dash-csr-out-card .card-body {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.2rem 1.05rem !important;
  height: 100%;
}

.pub-dash .dash-csr-out-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.pub-dash .dash-csr-out-header-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ef4444 0%, #c62828 100%);
  color: #fff;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.32);
}

.pub-dash .dash-csr-out-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dash-navy);
  line-height: 1.3;
}

.pub-dash .dash-csr-out-body {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  flex: 1;
  min-height: 0;
}

.pub-dash .dash-csr-out-plot {
  position: relative;
  flex: 0 0 48%;
  min-width: 0;
  min-height: 260px;
}

.pub-dash .dash-csr-out-plot .highcharts-container {
  width: 100% !important;
}

.pub-dash .dash-csr-out-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.pub-dash .dash-csr-out-center strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--dash-navy);
  line-height: 1.1;
}

.pub-dash .dash-csr-out-center span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 2px;
}

.pub-dash .dash-csr-out-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
}

.pub-dash .dash-csr-out-legend li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #f1f5f9;
}

.pub-dash .dash-csr-out-legend li:last-child {
  border-bottom: 0;
}

.pub-dash .dash-csr-out-leg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.pub-dash .dash-csr-out-leg-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dash-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pub-dash .dash-csr-out-leg-num {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--dash-navy);
}

.pub-dash .dash-csr-out-leg-pct {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  min-width: 48px;
  text-align: right;
}

.pub-dash .dash-csr-out-empty {
  text-align: center;
  color: var(--dash-muted);
  padding: 36px 0;
  font-size: 0.85rem;
}

.pub-dash .dash-csr-out-insight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  background: #fff5f5;
  border-radius: 10px;
  color: #7f1d1d;
  font-size: 0.8rem;
  line-height: 1.45;
}

.pub-dash .dash-csr-out-insight-ico {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fecaca;
  color: #c62828;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.pub-dash .dash-csr-out-insight strong {
  font-weight: 800;
}

@media (max-width: 991px) {
  .pub-dash .dash-csr-out-body {
    flex-direction: column;
    align-items: stretch;
  }

  .pub-dash .dash-csr-out-plot {
    flex-basis: auto;
  }
}

@media (max-width: 767px) {
  .pub-dash .dash-stat-value {
    font-size: 1.15rem;
  }

  .pub-dash .dash-toolbar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .pub-dash .dash-toolbar-filters {
    width: 100%;
  }

  .pub-dash .dash-filter-wrap {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* ===== Anggaran & Realisasi Triwulan ===== */
.pub-dash .dash-tw-card .card-body {
  padding-bottom: 0 !important;
}

.pub-dash .dash-tw-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.15rem 1.35rem 0.85rem;
}

.pub-dash .dash-tw-header-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
}

.pub-dash .dash-tw-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dash-navy);
  line-height: 1.3;
}

.pub-dash .dash-tw-subtitle {
  margin: 3px 0 0;
  font-size: 0.78rem;
  color: var(--dash-muted);
}

.pub-dash .dash-dana-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pub-dash .dash-dana-header-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.32);
}

.pub-dash .dash-tujuan-header-icon {
  background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.32);
}

.pub-dash .dash-tujuan-card .dash-dana-table thead th {
  background: #f0fdfa;
}

.pub-dash .dash-tujuan-card .dash-dana-table-total td {
  background: #ccfbf1;
  border-top-color: #99f6e4;
}

.pub-dash .dash-dana-body {
  flex: 0 0 360px;
  height: 360px;
  min-height: 360px;
  max-height: 360px;
  padding: 0 4px;
  overflow: hidden;
  position: relative;
}

.pub-dash .dash-dana-body > div {
  width: 100%;
  height: 100%;
}

.pub-dash .dash-dana-body .highcharts-container {
  display: block !important;
  overflow: hidden !important;
}

.pub-dash .dash-dana-table-wrap {
  margin: 0.5rem 0.85rem 1rem;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  overflow: hidden;
}

.pub-dash .dash-dana-table {
  margin: 0;
}

.pub-dash .dash-dana-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569 !important;
  background: #fff7ed;
  border: 0;
  padding: 9px 10px !important;
  white-space: nowrap;
}

.pub-dash .dash-dana-table tbody td {
  font-size: 0.75rem;
  color: #334155;
  padding: 9px 10px !important;
  border-top: 1px solid #eef2f6;
  border-bottom: 0;
  vertical-align: middle;
}

.pub-dash .dash-dana-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.pub-dash .dash-dana-table-total td {
  font-weight: 800;
  background: #ffedd5;
  color: var(--dash-navy);
  border-top: 1px solid #fed7aa;
}

.pub-dash .dash-tw-layout {
  display: flex;
  gap: 8px 20px;
  padding: 0 1.1rem 1.15rem;
  align-items: stretch;
}

.pub-dash .dash-tw-main {
  flex: 1 1 62%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pub-dash .dash-tw-chart {
  display: block;
  width: 100%;
  height: 280px;
}

.pub-dash .dash-tw-minis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.pub-dash .dash-tw-mini {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px 11px;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  background: #fff;
}

.pub-dash .dash-tw-mini-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.pub-dash .dash-tw-mini-body {
  min-width: 0;
}

.pub-dash .dash-tw-mini-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.pub-dash .dash-tw-mini-value {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pub-dash .dash-tw-mini-foot {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 1px;
}

.pub-dash .dash-tw-mini--anggaran .dash-tw-mini-icon {
  background: #dbeafe;
  color: #2563eb;
}
.pub-dash .dash-tw-mini--anggaran .dash-tw-mini-label,
.pub-dash .dash-tw-mini--anggaran .dash-tw-mini-value { color: #2563eb; }

.pub-dash .dash-tw-mini--realisasi .dash-tw-mini-icon {
  background: #fee2e2;
  color: #c62828;
}
.pub-dash .dash-tw-mini--realisasi .dash-tw-mini-label,
.pub-dash .dash-tw-mini--realisasi .dash-tw-mini-value { color: #c62828; }

.pub-dash .dash-tw-mini--serapan .dash-tw-mini-icon {
  background: #dcfce7;
  color: #16a34a;
}
.pub-dash .dash-tw-mini--serapan .dash-tw-mini-label,
.pub-dash .dash-tw-mini--serapan .dash-tw-mini-value { color: #16a34a; }

.pub-dash .dash-tw-mini--sisa .dash-tw-mini-icon {
  background: #ede9fe;
  color: #7c3aed;
}
.pub-dash .dash-tw-mini--sisa .dash-tw-mini-label,
.pub-dash .dash-tw-mini--sisa .dash-tw-mini-value { color: #7c3aed; }

.pub-dash .dash-tw-side {
  flex: 0 0 36%;
  max-width: 420px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  border: solid #eee 1px;
  border-radius: 10px;
  padding: 10px;
}

.pub-dash .dash-tw-side-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding-top: 4px;
}

.pub-dash .dash-tw-side-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dash-navy);
  line-height: 1.35;
}

.pub-dash .dash-tw-unit {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}

.pub-dash .dash-tw-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.pub-dash .dash-tw-table thead th {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  border: 0;
  border-bottom: 1px solid #e8edf2;
  padding: 8px 8px 10px !important;
  white-space: nowrap;
  vertical-align: bottom;
}

.pub-dash .dash-tw-table thead th span {
  font-weight: 600;
  font-size: 0.62rem;
  color: #94a3b8;
}

.pub-dash .dash-tw-th--anggaran,
.pub-dash .dash-tw-td--anggaran { color: #2563eb !important; }

.pub-dash .dash-tw-th--realisasi,
.pub-dash .dash-tw-td--realisasi { color: #c62828 !important; }

.pub-dash .dash-tw-th--serapan { color: #16a34a !important; }

.pub-dash .dash-tw-table tbody td {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dash-navy);
  vertical-align: middle;
  padding: 11px 8px !important;
  border-top: 1px solid #f1f5f9;
  border-bottom: 0;
}

.pub-dash .dash-tw-td-name {
  font-weight: 700;
  white-space: nowrap;
}

.pub-dash .dash-tw-serapan-num {
  display: block;
  color: #16a34a;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.pub-dash .dash-tw-progress {
  height: 5px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
  min-width: 64px;
}

.pub-dash .dash-tw-progress-bar {
  height: 100%;
  background: #16a34a;
  border-radius: 99px;
}

.pub-dash .dash-tw-total td {
  font-weight: 800;
  background: #eff6ff;
  border-top: 1px solid #dbeafe;
}

.pub-dash .dash-tw-total td:first-child {
  border-radius: 8px 0 0 8px;
}

.pub-dash .dash-tw-total td:last-child {
  border-radius: 0 8px 8px 0;
}

.pub-dash .dash-tw-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 12px;
  background: #eff6ff;
  border-radius: 10px;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 600;
}

.pub-dash .dash-tw-info i {
  color: #2563eb;
  font-size: 0.95rem;
}

@media (max-width: 1199px) {
  .pub-dash .dash-tw-layout {
    flex-direction: column;
  }

  .pub-dash .dash-tw-side {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  .pub-dash .dash-tw-minis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Kelompok Program ===== */
.pub-dash .dash-kp-card .card-body {
  padding: 1.15rem 1.35rem 1.2rem !important;
}

.pub-dash .dash-kp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1.1rem;
}

.pub-dash .dash-kp-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pub-dash .dash-kp-header-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.32);
}

.pub-dash .dash-kp-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dash-navy);
  line-height: 1.25;
}

.pub-dash .dash-kp-subtitle {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--dash-muted);
}

.pub-dash .dash-kp-total {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3e8ff;
  border-radius: 12px;
  padding: 10px 14px 10px 10px;
  flex-shrink: 0;
}

.pub-dash .dash-kp-total-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.12);
}

.pub-dash .dash-kp-total-label {
  display: block;
  font-size: 0.72rem;
  color: #6b7280;
  font-weight: 600;
}

.pub-dash .dash-kp-total-value {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: #5b21b6;
  line-height: 1.25;
}

.pub-dash .dash-kp-chart-title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
}

.pub-dash .dash-kp-chart {
  position: relative;
  padding: 10px 0 12px;
}

.pub-dash .dash-kp-row {
  display: grid;
  grid-template-columns: minmax(168px, 220px) minmax(0, 1fr) 160px 58px;
  gap: 10px 14px;
  align-items: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.pub-dash .dash-kp-row-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pub-dash .dash-kp-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.pub-dash .dash-kp-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
}

.pub-dash .dash-kp-track {
  position: relative;
  display: block;
  height: 32px;
  min-width: 0;
  overflow: hidden;
}

.pub-dash .dash-kp-bar {
  height: 28px;
  min-width: 8px;
  max-width: 100%;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.pub-dash .dash-kp-bar-val {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
  text-align: right;
  line-height: 1.2;
}

.pub-dash .dash-kp-pct {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e293b;
  text-align: right;
  white-space: nowrap;
  line-height: 1.2;
}

.pub-dash .dash-kp-grid {
  position: absolute;
  left: 234px;
  right: 244px;
  top: 0;
  bottom: 32px;
  pointer-events: none;
  z-index: 0;
}

.pub-dash .dash-kp-grid-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed #e2e8f0;
}

.pub-dash .dash-kp-axis {
  position: relative;
  height: 26px;
  margin-left: 234px;
  margin-right: 244px;
}

.pub-dash .dash-kp-axis-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
}

.pub-dash .dash-kp-axis-tick:first-child {
  transform: translateX(0);
}

.pub-dash .dash-kp-empty {
  text-align: center;
  color: var(--dash-muted);
  padding: 24px 0;
  font-size: 0.85rem;
}

.pub-dash .dash-kp-table-wrap {
  margin-top: 8px;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  overflow: hidden;
}

.pub-dash .dash-kp-table {
  margin: 0;
}

.pub-dash .dash-kp-table thead th {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569 !important;
  background: #eef2ff;
  border: 0;
  padding: 11px 14px !important;
}

.pub-dash .dash-kp-table tbody td {
  font-size: 0.82rem;
  color: #334155;
  padding: 11px 14px !important;
  border-top: 1px solid #eef2f6;
  border-bottom: 0;
  vertical-align: middle;
}

.pub-dash .dash-kp-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.pub-dash .dash-kp-table-total td {
  font-weight: 800;
  background: #eef2ff;
  color: var(--dash-navy);
  border-top: 1px solid #e0e7ff;
}

.pub-dash .dash-kp-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  background: #eff6ff;
  border-radius: 10px;
  color: #1e3a8a;
  font-size: 0.82rem;
  line-height: 1.5;
}

.pub-dash .dash-kp-info i {
  color: #2563eb;
  font-size: 1.05rem;
  margin-top: 2px;
}

.pub-dash .dash-kp-info strong {
  color: #1d4ed8;
  font-weight: 800;
}

@media (max-width: 1199px) {
  .pub-dash .dash-kp-row {
    grid-template-columns: minmax(140px, 188px) minmax(0, 1fr) 148px 54px;
  }

  .pub-dash .dash-kp-grid {
    left: 202px;
    right: 214px;
  }

  .pub-dash .dash-kp-axis {
    margin-left: 202px;
    margin-right: 214px;
  }

  .pub-dash .dash-kp-bar-val {
    font-size: 0.8rem;
  }
}

@media (max-width: 767px) {
  .pub-dash .dash-kp-header {
    flex-direction: column;
  }

  .pub-dash .dash-kp-row {
    grid-template-columns: 1fr 72px;
    grid-template-areas:
      "meta pct"
      "track pct"
      "val pct";
    margin-bottom: 16px;
  }

  .pub-dash .dash-kp-row-meta { grid-area: meta; }
  .pub-dash .dash-kp-track { grid-area: track; }
  .pub-dash .dash-kp-bar-val { grid-area: val; text-align: left; }
  .pub-dash .dash-kp-pct { grid-area: pct; align-self: center; }

  .pub-dash .dash-kp-grid,
  .pub-dash .dash-kp-axis {
    left: 0;
    margin-left: 0;
    right: 84px;
    margin-right: 84px;
  }
}

/* ===== Kontribusi Penanggulangan Kemiskinan ===== */
.pub-dash .dash-kk-card .card-body {
  padding: 1.15rem 1.35rem 1.2rem !important;
}

.pub-dash .dash-kk-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1.1rem;
}

.pub-dash .dash-kk-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pub-dash .dash-kk-header-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
}

.pub-dash .dash-kk-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dash-navy);
  line-height: 1.25;
}

.pub-dash .dash-kk-subtitle {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--dash-muted);
}

.pub-dash .dash-kk-total {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px 10px 10px;
  flex-shrink: 0;
  max-width: 280px;
}

.pub-dash .dash-kk-total-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.pub-dash .dash-kk-total-label {
  display: block;
  font-size: 0.72rem;
  color: #6b7280;
  font-weight: 600;
}

.pub-dash .dash-kk-total-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #2563eb;
  line-height: 1.2;
}

.pub-dash .dash-kk-total-name {
  display: block;
  font-size: 0.7rem;
  color: #334155;
  line-height: 1.3;
  max-width: 200px;
}

.pub-dash .dash-kk-chart-title {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e293b;
}

.pub-dash .dash-kk-chart {
  position: relative;
  padding: 4px 0 8px;
}

.pub-dash .dash-kk-row {
  display: grid;
  grid-template-columns: minmax(200px, 320px) minmax(0, 1fr) 64px;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.pub-dash .dash-kk-row-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.pub-dash .dash-kk-rank {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.pub-dash .dash-kk-rank--1 {
  background: #facc15;
  border-color: #eab308;
  color: #713f12;
}

.pub-dash .dash-kk-ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.pub-dash .dash-kk-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
}

.pub-dash .dash-kk-track {
  position: relative;
  display: block;
  height: 16px;
  min-width: 0;
  overflow: hidden;
}

.pub-dash .dash-kk-bar {
  height: 14px;
  border-radius: 4px;
  min-width: 0;
  max-width: 100%;
}

.pub-dash .dash-kk-pct {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1e293b;
  text-align: right;
  white-space: nowrap;
}

.pub-dash .dash-kk-grid {
  position: absolute;
  left: 332px;
  right: 76px;
  top: 0;
  bottom: 28px;
  pointer-events: none;
  z-index: 0;
}

.pub-dash .dash-kk-grid-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed #e2e8f0;
}

.pub-dash .dash-kk-axis {
  position: relative;
  height: 22px;
  margin-left: 332px;
  margin-right: 76px;
}

.pub-dash .dash-kk-axis-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
}

.pub-dash .dash-kk-axis-tick:first-child {
  transform: translateX(0);
}

.pub-dash .dash-kk-empty {
  text-align: center;
  color: var(--dash-muted);
  padding: 24px 0;
  font-size: 0.85rem;
}

.pub-dash .dash-kk-table-wrap {
  margin-top: 8px;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  overflow: hidden;
}

.pub-dash .dash-kk-table thead th {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569 !important;
  background: #eef2ff;
  border: 0;
  padding: 11px 14px !important;
}

.pub-dash .dash-kk-table tbody td {
  font-size: 0.82rem;
  color: #334155;
  padding: 11px 14px !important;
  border-top: 1px solid #eef2f6;
  border-bottom: 0;
  vertical-align: middle;
}

.pub-dash .dash-kk-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.pub-dash .dash-kk-table-total td {
  font-weight: 800;
  background: #dbeafe;
  color: var(--dash-navy);
  border-top: 1px solid #bfdbfe;
}

.pub-dash .dash-kk-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  color: #1e3a8a;
  font-size: 0.82rem;
  line-height: 1.5;
}

.pub-dash .dash-kk-info i {
  color: #2563eb;
  font-size: 1.05rem;
  margin-top: 2px;
}

.pub-dash .dash-kk-info strong {
  color: #1d4ed8;
  font-weight: 800;
}

@media (max-width: 1199px) {
  .pub-dash .dash-kk-row {
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) 58px;
  }

  .pub-dash .dash-kk-grid {
    left: 272px;
    right: 70px;
  }

  .pub-dash .dash-kk-axis {
    margin-left: 272px;
    margin-right: 70px;
  }
}

@media (max-width: 767px) {
  .pub-dash .dash-kk-header {
    flex-direction: column;
  }

  .pub-dash .dash-kk-total {
    max-width: none;
    width: 100%;
  }

  .pub-dash .dash-kk-row {
    grid-template-columns: 1fr 56px;
    grid-template-areas:
      "meta pct"
      "track pct";
  }

  .pub-dash .dash-kk-row-meta { grid-area: meta; }
  .pub-dash .dash-kk-track { grid-area: track; }
  .pub-dash .dash-kk-pct { grid-area: pct; align-self: center; }

  .pub-dash .dash-kk-grid,
  .pub-dash .dash-kk-axis {
    left: 0;
    margin-left: 0;
    right: 68px;
    margin-right: 68px;
  }
}

/* ===== Kegiatan Berdasarkan OPD ===== */
.pub-dash .dash-opd-card .card-body {
  padding: 1.2rem 1.4rem 1.25rem !important;
}

.pub-dash .dash-opd-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.pub-dash .dash-opd-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pub-dash .dash-opd-header-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
}

.pub-dash .dash-opd-title {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--dash-navy);
  line-height: 1.25;
}

.pub-dash .dash-opd-subtitle {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--dash-muted);
}

.pub-dash .dash-opd-stats {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-shrink: 0;
}

.pub-dash .dash-opd-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 108px;
  padding: 8px 12px 8px 8px;
  background: #f8fafc;
  border: 1px solid #e8edf2;
  border-radius: 12px;
}

.pub-dash .dash-opd-stat-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.pub-dash .dash-opd-stat--opd .dash-opd-stat-ico { background: #2563eb; }
.pub-dash .dash-opd-stat--keg .dash-opd-stat-ico { background: #16a34a; }
.pub-dash .dash-opd-stat--ang .dash-opd-stat-ico { background: #dc2626; }

.pub-dash .dash-opd-stat-num {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dash-navy);
  line-height: 1.15;
}

.pub-dash .dash-opd-stat-lbl {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}

.pub-dash .dash-opd-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #eff6ff;
  border-radius: 10px;
  color: #1e3a8a;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.pub-dash .dash-opd-banner-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f59e0b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

.pub-dash .dash-opd-banner strong {
  font-weight: 800;
  color: var(--dash-navy);
}

.pub-dash .dash-opd-chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pub-dash .dash-opd-chart-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
}

.pub-dash .dash-opd-sort {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #bfdbfe;
  background: #eff6ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%232563eb' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 6px 28px 6px 12px;
  cursor: pointer;
}

.pub-dash .dash-opd-plot-head,
.pub-dash .dash-opd-row,
.pub-dash .dash-opd-plot-foot {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pub-dash .dash-opd-ylabel,
.pub-dash .dash-opd-ylabel-spacer {
  flex: 0 0 380px;
  min-width: 0;
}

.pub-dash .dash-opd-barrow,
.pub-dash .dash-opd-xhead,
.pub-dash .dash-opd-axis-wrap {
  flex: 1;
  min-width: 0;
}

.pub-dash .dash-opd-yhead,
.pub-dash .dash-opd-xhead {
  min-height: 28px;
}

.pub-dash .dash-opd-ylabel {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 56px;
  gap: 8px;
  align-items: center;
}

.pub-dash .dash-opd-yhead {
  align-items: end;
}

.pub-dash .dash-opd-yhead-jml {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-align: center;
  line-height: 1.2;
}

.pub-dash .dash-opd-row {
  min-height: 48px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.pub-dash .dash-opd-rank {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--dash-navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pub-dash .dash-opd-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pub-dash .dash-opd-jml {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
}

.pub-dash .dash-opd-barrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  gap: 8px;
  align-items: center;
}

.pub-dash .dash-opd-track {
  height: 16px;
  min-width: 0;
}

.pub-dash .dash-opd-bar {
  height: 16px;
  min-width: 6px;
  max-width: 100%;
  background: #2563eb;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.pub-dash .dash-opd-bar-val {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.pub-dash .dash-opd-plot-body {
  position: relative;
}

.pub-dash .dash-opd-grid {
  position: absolute;
  left: calc(380px + 14px);
  right: 70px;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.pub-dash .dash-opd-grid-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dashed #e2e8f0;
}

.pub-dash .dash-opd-axis {
  position: relative;
  height: 20px;
  margin-right: 70px;
}

.pub-dash .dash-opd-axis-tick {
  position: absolute;
  top: 2px;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
}

.pub-dash .dash-opd-axis-tick:first-child {
  transform: translateX(0);
}

.pub-dash .dash-opd-axis-unit {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 2px;
}

.pub-dash .dash-opd-empty {
  text-align: center;
  color: var(--dash-muted);
  padding: 28px 0;
  font-size: 0.85rem;
}

.pub-dash .dash-opd-info,
.pub-dash .dash-opd-foot {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  background: #eff6ff;
  border-radius: 10px;
  color: #1e3a8a;
  font-size: 0.84rem;
  line-height: 1.5;
}

.pub-dash .dash-opd-info {
  margin: 16px 0;
}

.pub-dash .dash-opd-info i,
.pub-dash .dash-opd-foot i {
  color: #2563eb;
  font-size: 1.05rem;
  margin-top: 2px;
}

.pub-dash .dash-opd-info strong {
  color: var(--dash-navy);
  font-weight: 800;
}

.pub-dash .dash-opd-table-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
}

.pub-dash .dash-opd-table-wrap {
  border: 1px solid #e8edf2;
  border-radius: 12px;
  overflow: hidden;
}

.pub-dash .dash-opd-table {
  margin: 0;
}

.pub-dash .dash-opd-table thead th {
  font-size: 0.76rem;
  font-weight: 700;
  color: #475569 !important;
  background: #eef2ff;
  border: 0;
  padding: 11px 12px !important;
  white-space: nowrap;
}

.pub-dash .dash-opd-table tbody td {
  font-size: 0.8rem;
  color: #334155;
  padding: 10px 12px !important;
  border-top: 1px solid #eef2f6;
  border-bottom: 0;
  vertical-align: middle;
}

.pub-dash .dash-opd-table tbody tr:nth-child(even):not(.dash-opd-table-total) td {
  background: #f8fafc;
}

.pub-dash .dash-opd-table-total td {
  font-weight: 800;
  background: #eef2ff !important;
  color: var(--dash-navy);
  border-top: 1px solid #e0e7ff;
}

.pub-dash .dash-opd-cap-num {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 4px;
  white-space: nowrap;
}

.pub-dash .dash-opd-cap-track {
  height: 5px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
  min-width: 72px;
}

.pub-dash .dash-opd-cap-bar {
  height: 100%;
  border-radius: 99px;
}

.pub-dash .dash-opd-cap--hi .dash-opd-cap-num { color: #15803d; }
.pub-dash .dash-opd-cap--hi .dash-opd-cap-bar { background: #15803d; }
.pub-dash .dash-opd-cap--mid .dash-opd-cap-num { color: #22c55e; }
.pub-dash .dash-opd-cap--mid .dash-opd-cap-bar { background: #4ade80; }
.pub-dash .dash-opd-cap--lo .dash-opd-cap-num { color: #d97706; }
.pub-dash .dash-opd-cap--lo .dash-opd-cap-bar { background: #f59e0b; }
.pub-dash .dash-opd-cap--total .dash-opd-cap-num { color: #2563eb; }
.pub-dash .dash-opd-cap--total .dash-opd-cap-bar { background: #2563eb; }

.pub-dash .dash-opd-foot {
  margin-top: 14px;
}

@media (max-width: 1199px) {
  .pub-dash .dash-opd-ylabel,
  .pub-dash .dash-opd-ylabel-spacer {
    flex-basis: 300px;
  }

  .pub-dash .dash-opd-grid {
    left: calc(300px + 14px);
  }
}

@media (max-width: 767px) {
  .pub-dash .dash-opd-header {
    flex-direction: column;
  }

  .pub-dash .dash-opd-stats {
    width: 100%;
    flex-wrap: wrap;
  }

  .pub-dash .dash-opd-stat {
    flex: 1 1 30%;
    min-width: 96px;
  }

  .pub-dash .dash-opd-plot-head {
    display: none;
  }

  .pub-dash .dash-opd-row,
  .pub-dash .dash-opd-plot-foot {
    flex-wrap: wrap;
  }

  .pub-dash .dash-opd-ylabel,
  .pub-dash .dash-opd-ylabel-spacer,
  .pub-dash .dash-opd-barrow,
  .pub-dash .dash-opd-axis-wrap {
    flex: 1 1 100%;
  }

  .pub-dash .dash-opd-grid {
    left: 0;
    right: 70px;
  }

  .pub-dash .dash-opd-ylabel-spacer {
    display: none;
  }
}

/* ===== Realisasi OPD Per Triwulan ===== */
.pub-dash .dash-otw-card .card-body {
  padding: 1.25rem 1.4rem 1.2rem !important;
}

.pub-dash .dash-otw-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pub-dash .dash-otw-header-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.32);
}

.pub-dash .dash-otw-title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--dash-navy);
  line-height: 1.3;
}

.pub-dash .dash-otw-subtitle {
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: var(--dash-muted);
}

.pub-dash .dash-otw-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.pub-dash .dash-otw-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(15, 42, 74, 0.04);
  min-width: 0;
}

.pub-dash .dash-otw-mini-ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.pub-dash .dash-otw-mini-ico--opd { background: #1e3a8a; }
.pub-dash .dash-otw-mini-ico--pagu { background: #3b82f6; }
.pub-dash .dash-otw-mini-ico--real { background: #2563eb; }

.pub-dash .dash-otw-mini-val {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dash-navy);
  line-height: 1.25;
  word-break: break-word;
}

.pub-dash .dash-otw-mini-lbl {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
}

.pub-dash .dash-otw-chart {
  margin: 4px 0 18px;
  width: 100%;
  min-height: 380px;
}

.pub-dash .dash-otw-chart .highcharts-container,
.pub-dash .dash-tw-chart .highcharts-container {
  width: 100% !important;
}

.pub-dash .dash-otw-empty {
  text-align: center;
  color: var(--dash-muted);
  padding: 36px 0;
  font-size: 0.85rem;
}

.pub-dash .dash-otw-table-wrap {
  border: 1px solid #e8edf2;
  border-radius: 12px;
  overflow: hidden;
}

.pub-dash .dash-otw-table {
  margin: 0;
}

.pub-dash .dash-otw-table thead th {
  font-size: 0.76rem;
  font-weight: 700;
  color: #1e3a8a !important;
  background: #eef2ff;
  border: 0;
  padding: 11px 12px !important;
  white-space: nowrap;
}

.pub-dash .dash-otw-table tbody td {
  font-size: 0.8rem;
  color: #334155;
  padding: 10px 12px !important;
  border-top: 1px solid #eef2f6;
  border-bottom: 0;
  vertical-align: middle;
}

.pub-dash .dash-otw-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.pub-dash .dash-otw-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.pub-dash .dash-otw-foot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  background: #eff6ff;
  border-radius: 10px;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.45;
}

.pub-dash .dash-otw-foot i {
  color: #2563eb;
  font-size: 1rem;
  margin-top: 1px;
}

@media (max-width: 991px) {
  .pub-dash .dash-otw-cards {
    grid-template-columns: 1fr;
  }
}

.pub-dash .highcharts-tooltip-box {
  fill: #ffffff !important;
  stroke: #cbd5e1 !important;
  stroke-width: 1px;
}

.pub-dash .highcharts-tooltip text,
.pub-dash .highcharts-tooltip tspan {
  fill: #111111 !important;
}

.pub-dash .highcharts-tooltip,
.pub-dash .highcharts-tooltip span,
.pub-dash .highcharts-tooltip b,
.pub-dash .highcharts-tooltip strong {
  color: #111111 !important;
  opacity: 1 !important;
}
