/* Home-only presentation. Data, section order, and theme selection stay intact. */
html body:has(#serbunibHome) main.container{width:100%!important;max-width:1280px!important;padding:96px 32px 32px!important;margin:0 auto!important;min-width:0!important;transform:none!important}
html body:has(#serbunibHome) footer .container{max-width:1280px!important;padding-inline:32px!important}
#serbunibHome{--home-ink:#173b5b;--home-muted:#58718b;--home-line:#d7e5f0;--home-paper:#f9fcff;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif;min-width:0}
#serbunibHome .row{min-width:0;--bs-gutter-x:24px;--bs-gutter-y:24px}#serbunibHome .row>*{min-width:0}
#serbunibHome .card{border:1px solid var(--home-line)!important;border-radius:18px!important;background:var(--home-paper)!important;box-shadow:0 6px 22px #173b5b0a!important;min-width:0;overflow:visible}
#serbunibHome .card-body{padding:24px!important;min-width:0;height:auto!important}
#serbunibHome .card-title{color:var(--home-ink)!important;font-size:1.08rem!important;line-height:1.5;margin-bottom:20px!important;letter-spacing:0}
#serbunibHome .form-label{font-size:.84rem!important;color:var(--home-ink)!important;margin-bottom:7px}
#serbunibHome .form-select,#serbunibHome .btn{min-height:44px;font-size:.9rem!important;border-radius:10px!important}
#serbunibHome .form-select{width:100%;padding-right:32px;min-width:0;text-overflow:ellipsis}
#serbunibHome .sb-home-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px!important}
#serbunibHome .sb-home-stats>div{width:auto!important;padding:0!important;margin:0!important}
#serbunibHome .stat-card{height:100%;text-align:left!important}
#serbunibHome .stat-card .card-body{padding:20px!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:144px}

#serbunibHome .stat-card .small{font-size:.73rem!important;line-height:1.6;color:var(--home-muted)!important;letter-spacing:.04em}
#serbunibHome .stat-card h5{font-size:clamp(1rem,1.5vw,1.4rem)!important;color:var(--home-ink)!important;line-height:1.45;margin:10px 0 0!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#serbunibHome .alert{border:1px solid var(--home-line);border-radius:12px;padding:16px!important;font-size:.88rem!important;line-height:1.8}
html body main #serbunibHome.sb-home [class*="chart-container"],html body main #serbunibHome.sb-home .serbunib-kecamatan-plot{position:relative!important;display:block!important;width:100%!important;max-width:100%!important;height:var(--home-chart-height,340px)!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0 auto!important;overflow:visible!important;flex:none!important}
html body main #serbunibHome.sb-home canvas[id^=chart]{position:relative!important;display:block!important;width:100%!important;max-width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important}
#serbunibHome .accordion{margin-top:20px!important;clear:both}
#serbunibHome .accordion-item{border:1px solid var(--home-line)!important;border-radius:10px!important;overflow:hidden}
#serbunibHome .accordion-button{font-size:.88rem!important;min-height:48px;padding:14px 16px;background:transparent;color:var(--home-ink)!important;box-shadow:none!important}
#serbunibHome .accordion-body{padding:0!important}
#serbunibHome .table-responsive{max-height:420px;overflow:auto!important;overscroll-behavior:contain;width:100%;border-radius:0 0 10px 10px}
#serbunibHome .table{width:100%!important;min-width:440px;font-size:.85rem!important;line-height:1.6;color:var(--home-ink);margin:0!important;--bs-table-bg:transparent}
#serbunibHome .table th,#serbunibHome .table td{padding:12px 14px!important;vertical-align:middle;border-color:var(--home-line);text-align:right!important;white-space:normal;font-variant-numeric:tabular-nums}
#serbunibHome .table th:first-child,#serbunibHome .table td:first-child{text-align:left!important;min-width:150px;max-width:260px;overflow-wrap:anywhere}
#serbunibHome .table thead th{position:sticky;top:0;z-index:2;background:#edf5fc!important;color:var(--home-ink)!important;font-weight:700}
#serbunibHome .table tbody tr:nth-child(even){background:#eaf3fa66}
#serbunibHome :focus-visible{outline:3px solid #287dd0;outline-offset:3px}
html body:has(#serbunibHome) .navbar .container{max-width:1280px!important;font-size:1rem}
@media(min-width:1600px){html body:has(#serbunibHome) main.container,html body:has(#serbunibHome) footer .container{max-width:1400px!important}}
@media(max-width:991.98px){html body:has(#serbunibHome) main.container{padding:90px 24px 28px!important}#serbunibHome .sb-home-stats{grid-template-columns:repeat(3,minmax(0,1fr))}#serbunibHome .card-body{padding:20px!important}}
@media(max-width:575.98px){html body:has(#serbunibHome) main.container{padding:80px 16px 24px!important}html body:has(#serbunibHome) footer .container{padding-inline:16px!important}#serbunibHome .row{--bs-gutter-x:16px;--bs-gutter-y:16px}#serbunibHome .sb-home-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#serbunibHome .stat-card .card-body{padding:15px!important;min-height:118px}#serbunibHome .stat-card h5{font-size:1.02rem!important}#serbunibHome .stat-card .small{font-size:.66rem!important}#serbunibHome .card-body{padding:16px!important}#serbunibHome .card-title{font-size:1rem!important}#serbunibHome .table{font-size:.8rem!important}#serbunibHome .table th,#serbunibHome .table td{padding:10px!important}}
@media(prefers-reduced-motion:reduce){#serbunibHome *,#serbunibHome *::before,#serbunibHome *::after{scroll-behavior:auto!important;transition:none!important}}

/* A single grid rail prevents Bootstrap row gutters from shortening chart cards. */
#serbunibHome.sb-home>.home-chart-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
#serbunibHome.sb-home>.home-chart-grid>*{width:auto!important;max-width:none!important;min-width:0!important;padding:0!important;margin:0!important;grid-column:span 1}
#serbunibHome.sb-home>.home-chart-grid>.col-12{grid-column:1/-1}
#serbunibHome.sb-home>.home-chart-grid>*>.card{width:100%!important;margin:0!important}
#serbunibHome.sb-home>.home-company-grid{margin-top:24px!important}
#serbunibHome .stat-card{position:relative;border-top:3px solid #3b8fc9!important;overflow:hidden;text-align:left!important}
#serbunibHome .stat-card[data-stat="total_investasi"]{border-top-color:#228c7a!important;background:linear-gradient(135deg,#f9fffd,#edf8f5)!important}
#serbunibHome .stat-card .card-body{display:flex!important;flex-direction:column;align-items:stretch;justify-content:space-between;min-height:150px;padding:20px!important;gap:18px}
#serbunibHome .home-stat-top{display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-width:0}
#serbunibHome .home-stat-label{font-size:.8rem;font-weight:650;line-height:1.5;color:var(--home-muted);overflow-wrap:anywhere}
#serbunibHome .home-stat-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#e6f2fc;color:#2275b2;font-size:1.1rem}
#serbunibHome .stat-card[data-stat="total_investasi"] .home-stat-icon{color:#187962;background:#dff2eb}
#serbunibHome .home-stat-value{margin:0!important;color:var(--home-ink)!important;font-size:clamp(1.25rem,1.8vw,1.7rem);font-weight:750;line-height:1.35;font-variant-numeric:tabular-nums;letter-spacing:-.02em;overflow-wrap:anywhere}
#serbunibHome .stat-card[data-stat="total_investasi"] .home-stat-value{font-size:clamp(1rem,1.35vw,1.35rem)}
#serbunibHome .home-stat-currency{font-size:.72em;font-weight:600;color:#287c69;letter-spacing:0}
@media(max-width:991.98px){#serbunibHome.sb-home>.home-chart-grid>.col-lg-6{grid-column:1/-1}}
@media(max-width:767.98px){#serbunibHome.sb-home>.home-chart-grid{grid-template-columns:minmax(0,1fr);gap:20px}#serbunibHome.sb-home>.home-chart-grid>*{grid-column:1/-1}}
@media(max-width:575.98px){#serbunibHome .stat-card .card-body{padding:15px!important;min-height:138px;gap:14px}#serbunibHome .home-stat-label{font-size:.72rem}#serbunibHome .home-stat-icon{width:30px;height:30px;flex-basis:30px;font-size:.92rem;border-radius:9px}#serbunibHome .home-stat-top{gap:7px}#serbunibHome .home-stat-value{font-size:1.25rem}#serbunibHome .stat-card[data-stat="total_investasi"] .home-stat-value{font-size:1rem}}
#serbunibHome.sb-home>.home-company-grid>*{grid-column:1/-1!important}

/* The filter remains in document flow and sticks below the measured navbar. */
#serbunibHome #homeSearchCard{position:sticky!important;top:var(--home-filter-top,76px);z-index:20;background:linear-gradient(115deg,#0c4778,#176ca6)!important;border:1px solid #3b86ba!important;box-shadow:0 8px 26px #07345426!important;backdrop-filter:none!important;isolation:isolate}
#serbunibHome #homeSearchCard .card-body{padding:18px 20px!important}
#serbunibHome #homeSearchCard .form-label{color:#fff!important;font-size:.84rem!important}
#serbunibHome #homeSearchCard .form-select{background-color:#fff!important;color:#173b5b!important;border-color:#c5e2f6!important;min-height:44px;box-shadow:none}
#serbunibHome #homeSearchCard button[type=submit]{background:#fff!important;border:1px solid #fff!important;color:#124f7e!important;min-height:44px}
#serbunibHome #homeSearchCard button[type=submit]:hover{background:#e4f3ff!important;color:#103d61!important}
#serbunibHome #homeSearchCard :focus-visible{outline:3px solid #ffe496!important;outline-offset:3px}
#serbunibHome #homeFilters{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0!important;max-width:100%!important}
#serbunibHome #homeFilters>div{width:auto!important;margin:0!important;padding:0!important;min-width:0}
@media(max-width:767.98px){#serbunibHome #homeFilters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#serbunibHome #homeSearchCard .card-body{padding:14px!important}#serbunibHome #homeSearchCard .form-label{font-size:.75rem!important;margin-bottom:5px}#serbunibHome #homeSearchCard .form-select,#serbunibHome #homeSearchCard button[type=submit]{font-size:.82rem!important}}
