/* Public portal: presentation only; financial values remain server-rendered. */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body.page-full-width { background: #f5f7fb; font-family: 'Open Sans', Arial, sans-serif; }
.page-content-wrapper .page-content { max-width: 1600px !important; padding: 30px 30px 40px !important; }
.sr-hero { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: center; background: #fff; border: 1px solid #e4eaf2; border-radius: 20px; padding: 30px; margin: 0 0 30px; }
.sr-hero-no-media { grid-template-columns: 1fr; }
.sr-eyebrow { color: #53647e; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; display: flex; gap: 8px; align-items: center; }
.sr-eyebrow>span { height: 7px; width: 7px; border-radius: 50%; background: #d7a32b; }
.sr-hero h1 { color: #112656; font-size: clamp(25px, 2.45vw, 39px); line-height: 1.24; font-weight: 700; margin: 18px 0 14px; letter-spacing: -1.1px; }
.sr-hero h1 em { color: #356ba3; font-style: normal; }
.sr-hero p { color: #63718a; font-size: 13px; line-height: 1.85; max-width: 480px; margin-bottom: 22px; }
.sr-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.sr-hero-actions a { display: inline-flex; gap: 12px; align-items: center; font-size: 11px; font-weight: 700; text-decoration: none; }
.sr-hero-primary { background: #132e68; color: #fff !important; border-radius: 8px; padding: 12px 16px; }
.sr-hero-primary:hover { background: #204780; }
.sr-hero-secondary { color: #375475; padding: 10px 0; }
#myCarousel.sr-hero-media { margin: 0 !important; box-shadow: none; border-radius: 12px; background: #07194d; width: 100%; }
#myCarousel.sr-hero-media .carousel-inner img { height: auto; max-height: 300px; object-fit: contain; }
#myCarousel.sr-hero-media .carousel-inner { aspect-ratio: 1140/425; }
#myCarousel.sr-hero-media .carousel-inner .item { height: 100%; }
#myCarousel.sr-hero-media .carousel-inner img { height: 100% !important; max-height: none !important; }
#myCarousel .carousel-control { display: none !important; }
#myCarousel .carousel-control.left { left: 10px; }
#myCarousel .carousel-control.right { right: 10px; }
#myCarousel .carousel-control:hover { opacity: 1; }
#myCarousel .carousel-control[hidden], #myCarousel .carousel-indicators[hidden] { display: none; }
#myCarousel .carousel-control i { color: #fff; font-size: 25px; }
#myCarousel .carousel-indicators { bottom: 40px; margin-bottom: 8px; }
.sr-slider-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 39px; padding: 7px 13px; background: #102143; color: #b7c7df; font-size: 10px; }
.sr-slider-toolbar>span>i { color: #d6b978; margin-right: 5px; }
.sr-slider-controls { display: flex; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; }
#sr-slider-play { width: 25px; height: 25px; border: 1px solid #ffffff25; color: #e5d0a8; border-radius: 5px; background: #ffffff08; }
.sr-overview-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sr-section-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: #7b8ba3; }
.sr-overview-heading h2 { font-size: 22px; font-weight: 700; color: #152a51; margin: 7px 0 0; letter-spacing: -.5px; }
.sr-period { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #dce5f0; padding: 10px 14px; border-radius: 8px; color: #3b5274; background: #fff; font-size: 12px; white-space: nowrap; }
.sr-home .sr-metrics { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 15px; margin-bottom: 26px; }
.sr-home .sr-metric { grid-column: span 3; min-height: 132px; padding: 19px !important; gap: 13px; border: 1px solid #dfe7f1 !important; border-left-width: 1px !important; border-radius: 13px !important; box-shadow: 0 3px 12px #0e234a05 !important; background: #fff !important; }
.sr-home .sr-metric:nth-child(1), .sr-home .sr-metric:nth-child(2), .sr-home .sr-metric:nth-child(3) { grid-column: span 4; order: 4; min-height: 76px; padding: 13px 19px !important; }
.sr-home .sr-metric:nth-child(4) { order: 0; }
.sr-home .sr-metric:nth-child(5) { order: 1; }
.sr-home .sr-metric:nth-child(6) { order: 2; }
.sr-home .sr-metric-balance { order: 3; }
.sr-home .sr-metric>div { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.sr-home .sr-metric>div>span { order: -1; margin: 0 0 8px; font-size: 11px; font-weight: 600; color: #66788f !important; }
.sr-home .sr-metric strong, .sr-home .sr-metric strong.sr-currency { font-size: clamp(16px, 1.45vw, 24px) !important; color: #132c53 !important; letter-spacing: -.5px; white-space: normal; }
.sr-home .sr-metric strong.sr-currency { font-size: clamp(14px,1.2vw,20px) !important; white-space: nowrap !important; font-variant-numeric: tabular-nums; }
.sr-home .sr-metric small.sr-exact { font-size: 10px; color: #7c8ba0 !important; margin-top: 6px; white-space: normal; }
.sr-home .sr-icon-box { display: flex; justify-content: center; align-items: center; margin: 0; width: 38px; min-width: 38px; height: 44px; border: 0 !important; border-radius: 9px; background: #eef4fb; }
.sr-home .sr-stat-svg { width: 25px; height: 25px; }
/* Ikon ringkasan SVG dengan ukuran dan wadah yang seragam. */
.sr-home .sr-metrics .sr-metric .sr-icon-box.sr-illustration { background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.sr-home .sr-metrics .sr-metric .sr-icon-box.sr-illustration .sr-stat-svg { width: 64px !important; height: 64px !important; }
@media (min-width: 768px) and (max-width: 1200px) { .sr-home .sr-metrics .sr-metric .sr-icon-box.sr-illustration .sr-stat-svg { width: 52px !important; height: 52px !important; } }
.sr-home .sr-metrics .sr-metric .sr-icon-box { flex: 0 0 76px !important; width: 76px !important; min-width: 76px; height: 76px !important; margin: 0 !important; border-radius: 20px !important; background: #eaf3ff !important; color: var(--sr-accent, #2878cb) !important; box-shadow: none !important; }
.sr-home .sr-metrics .sr-metric .sr-stat-svg { width: 46px !important; height: 46px !important; stroke-width: 1.9 !important; filter: none !important; }
.sr-home .sr-metrics .sr-metric-gold .sr-icon-box { background: #fff4dc !important; color: #bd8500 !important; }
.sr-home .sr-metrics .sr-metric-green .sr-icon-box { background: #e2f6ed !important; }
.sr-home .sr-metrics .sr-metric-red .sr-icon-box { background: #eaf0fa !important; color: #2c5a98 !important; }
.sr-home .sr-metrics .sr-metric-purple .sr-icon-box { background: #f1eaff !important; }
.sr-home .sr-metrics .sr-metric-balance .sr-icon-box { background: #fff4dc !important; color: #b38120 !important; }
@media (min-width: 768px) and (max-width: 1200px) { .sr-home .sr-metrics .sr-metric .sr-icon-box { flex-basis: 58px !important; width: 58px !important; min-width: 58px; height: 58px !important; border-radius: 16px !important; } .sr-home .sr-metrics .sr-metric .sr-stat-svg { width: 36px !important; height: 36px !important; } }
.sr-home .sr-metric-red .sr-icon-box { color: #2c5a98 !important; }
.sr-home .sr-metric-balance .sr-icon-box { color: #b68620; background: #fcf5e4; font-size: 24px; }
.sr-home-grid { grid-template-columns: minmax(260px, 25%) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.sr-home .sr-panel { min-width: 0; border: 1px solid #e0e7f0; border-radius: 14px; box-shadow: 0 3px 14px #182e4a04; }
.sr-home .sr-panel-heading { background: #fff; color: #1b3358; padding: 17px 19px; border-bottom: 1px solid #e8edf4; font-size: 13px; }
.sr-home .sr-panel-heading i { color: #be9028; }
.sr-top-badge { font-size: 9px; letter-spacing: .5px; color: #9b711d; background: #fcf5e4; padding: 5px 7px; border-radius: 5px; white-space: nowrap; }
.sr-home .sr-filter-form { gap: 7px; }
.sr-home .sr-filter-form label { color: #63758b; }
.sr-home .sr-filter-form .form-control { width: 92px; height: 33px; border-color: #dce4ef; }
.sr-home .sr-refresh { background: #163b73; padding: 9px 11px; }
.sr-home .sr-refresh i { color: #fff; }
.sr-table-tools { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 18px; }
.sr-search { display: flex; align-items: center; gap: 9px; background: #f6f8fc; border: 1px solid #e0e7f0; border-radius: 8px; padding: 8px 11px; margin: 0; color: #8291a6; flex: 1; max-width: 320px; }
.sr-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 12px; color: #263f60; font-weight: 400; }
.sr-search:focus-within { border-color: #497ab4; box-shadow: 0 0 0 2px #497ab41a; }
.sr-sort-label { display: flex; gap: 8px; align-items: center; margin: 0; color: #7b8aa0; font-size: 11px; font-weight: 400; }
.sr-sort-label select { border: 1px solid #dfe6ef; border-radius: 7px; padding: 7px; color: #405675; background: #fff; }
#sr-realisasi.sr-table-scroll { overflow: visible !important; max-height: none; width: 100% !important; }
#sr-opd-table.sr-opd-table { table-layout: auto !important; min-width: 920px !important; font-size: 11px !important; }
#sr-opd-table th { position: sticky; top: 0; z-index: 2; background: #f1f5fa; border: 0; border-bottom: 1px solid #dce5f0; padding: 13px 10px !important; font-size: 10px; white-space: nowrap !important; width: auto !important; }
#sr-opd-table td { border: 0; border-bottom: 1px solid #edf1f6; padding: 13px 10px !important; vertical-align: middle; }
#sr-opd-table .sr-opd-name { min-width: 190px !important; max-width: 260px; line-height: 1.65; font-size: 11px !important; }
#sr-opd-table .sr-number { font-variant-numeric: tabular-nums; font-size: 11px !important; letter-spacing: 0; }
#sr-opd-table .sr-value-progress { min-width: 100px !important; }
#sr-opd-table .sr-value-progress b { font-size: 10px !important; }
.sr-home .sr-progress { height: 6px; border: 0; background: #edf2f8; }
.sr-home .sr-progress-green { background: #20b68b; }
.sr-home .sr-progress-blue { background: #4a88d9; }
.sr-home .sr-ranking { display: flex; flex-direction: column; }
.sr-ranking-list { display: flex; flex-direction: column; flex: 1; padding: 4px 17px; }
.sr-rank-item { flex: 1; min-height: 56px; padding: 14px 0; }
.sr-rank-name { font-size: 11px; }
.sr-empty-search { padding: 25px; text-align: center; color: #71819a; }
.sr-empty-search[hidden] { display: none; }
.sr-pagination button { min-height: 32px; min-width: 32px; }
.sr-pagination button:focus-visible, .sr-hero-actions a:focus-visible { outline: 2px solid #d7a32b; outline-offset: 3px; }
@media(max-width:1200px) {
  .sr-home-grid { grid-template-columns: minmax(0, 1fr); }
  .sr-hero { gap: 22px; padding: 24px; }
  .sr-hero h1 { font-size: 29px; }
  .sr-home .sr-metric { padding: 15px !important; }
}
@media(max-width:900px) {
  .sr-hero { grid-template-columns: 1fr; }
  .sr-hero p { max-width: 600px; }
  #myCarousel.sr-hero-media .carousel-inner img { max-height: 280px; }
  .sr-home .sr-metric { grid-column: span 6; }
  .sr-home .sr-metric:nth-child(1), .sr-home .sr-metric:nth-child(2), .sr-home .sr-metric:nth-child(3) { grid-column: span 4; }
  .sr-home .sr-metric strong.sr-currency { font-size: 20px !important; }
}
@media(max-width:600px) {
  .page-content-wrapper .page-content { padding: 18px 12px 26px !important; }
  .sr-hero { padding: 20px; border-radius: 14px; margin-bottom: 24px; gap: 20px; }
  .sr-hero h1 { font-size: 28px; }
  .sr-eyebrow { font-size: 9px; letter-spacing: 1px; }
  .sr-overview-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .sr-overview-heading h2 { font-size: 20px; }
  .sr-home .sr-metrics { gap: 10px; }
  .sr-home .sr-metric { min-height: 124px; flex-direction: column; align-items: flex-start; gap: 8px; padding: 15px !important; }
  .sr-home .sr-metric strong.sr-currency { font-size: clamp(12px,3.5vw,16px) !important; }
  .sr-home .sr-metric .sr-icon-box { display: none !important; }
  .sr-home .sr-metric:nth-child(1), .sr-home .sr-metric:nth-child(2), .sr-home .sr-metric:nth-child(3) { grid-column: span 4; padding: 12px 9px !important; min-height: 75px; }
  .sr-home .sr-metric:nth-child(-n+3)>div>span { font-size: 9px; }
  .sr-home .sr-data-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  .sr-home .sr-filter-form { margin: 0; flex-wrap: wrap; }
  .sr-table-tools { align-items: stretch; flex-direction: column; gap: 10px; padding: 14px; }
  .sr-search { max-width: none; }
  .sr-sort-label { justify-content: space-between; }
  .sr-table-footer { flex-wrap: wrap; }
  .sr-footer-brand strong { font-size: 11px; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Compact OPD table: fit all eight columns without clipping full amounts. */
.sr-home .sr-data-heading { flex-wrap: wrap; }
@media(min-width:768px) {
  #sr-opd-table.sr-opd-table { width: 100% !important; min-width: 0 !important; table-layout: fixed !important; }
  #sr-opd-table th { white-space: normal !important; line-height: 1.45; padding: 10px 6px !important; }
  #sr-opd-table th:nth-child(1) { width: 3% !important; }
  #sr-opd-table th:nth-child(2) { width: 23% !important; }
  #sr-opd-table th:nth-child(3), #sr-opd-table th:nth-child(4) { width: 12% !important; }
  #sr-opd-table th:nth-child(5), #sr-opd-table th:nth-child(6) { width: 15% !important; }
  #sr-opd-table th:nth-child(7) { width: 14% !important; }
  #sr-opd-table th:nth-child(8) { width: 6% !important; }
  #sr-opd-table td { padding: 9px 6px !important; line-height: 1.5; border: 1px solid #e7edf5; }
  #sr-opd-table td:first-child, #sr-opd-table th:first-child { padding-left: 3px !important; padding-right: 3px !important; font-size: 10px; }
  #sr-opd-table .sr-opd-name { min-width: 0 !important; max-width: none; overflow-wrap: anywhere; font-size: 11px !important; line-height: 1.55; }
  #sr-opd-table .sr-number { font-size: clamp(10px,.78vw,12px) !important; letter-spacing: -.2px; white-space: nowrap !important; }
  #sr-opd-table .sr-value-progress { min-width: 0 !important; gap: 5px; }
  #sr-opd-table .sr-value-progress .sr-progress { min-width: 0; }
  #sr-opd-table .sr-value-progress b { min-width: 31px !important; font-size: 10px !important; }
  #sr-opd-table .sr-source-tags { min-width: 0 !important; gap: 3px; }
  #sr-opd-table .sr-source-tag { white-space: normal; overflow-wrap: anywhere; font-size: 9px !important; padding: 3px 4px !important; }
  #sr-opd-table .sr-detail-btn { width: 27px; height: 28px; }
}
@media(max-width:767px) {
  #sr-opd-table.sr-opd-table { display: block; min-width: 0 !important; width: 100% !important; }
  #sr-opd-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #sr-opd-table tbody { display: block; padding: 0 12px; }
  #sr-opd-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; margin-bottom: 12px; padding: 15px; border: 1px solid #dfe7f1; border-radius: 9px; background: #fff; }
  #sr-opd-table td { display: block; width: auto !important; min-width: 0 !important; max-width: none; padding: 0 !important; border: 0; }
  #sr-opd-table td::before { content: attr(data-label); display: block; margin-bottom: 5px; color: #78899f; font-size: 10px; font-weight: 400; }
  #sr-opd-table td:nth-child(1), #sr-opd-table td:nth-child(2) { grid-column: 1/-1; text-align: left; }
  #sr-opd-table td:nth-child(1) { font-size: 10px; color: #75869b; }
  #sr-opd-table td:nth-child(1)::before { display: inline; margin-right: 5px; }
  #sr-opd-table .sr-opd-name { font-size: 12px !important; overflow-wrap: anywhere; }
  #sr-opd-table .sr-number { text-align: left; font-size: 11px !important; white-space: normal !important; overflow-wrap: anywhere; }
  #sr-opd-table .sr-value-progress { min-width: 0 !important; }
  #sr-opd-table .sr-source-tags { min-width: 0 !important; }
}
