
        /* ==========================================================================
           1. IDENTITAS VISUAL & PALET WARNA RESMI (BAB III HURUF B SK 2722/2026)
           - Warna Utama (Primary): #056e4f
           - Warna Sekunder (Secondary): #ff9900
           ========================================================================== */
        :root {
            --pa-primary: #056e4f;
            --pa-primary-dark: #034d37;
            --pa-primary-light: #e6f3ef;
            --pa-secondary: #ff9900;
            --pa-secondary-hover: #e68a00;
            --bs-font-sans-serif: 'Inter', sans-serif;
            --bs-body-font-family: var(--bs-font-sans-serif);
            --bs-body-bg: #f8f9fa;
            --base-font-size: 16px;
        }

        html {
            font-size: var(--base-font-size);
        }

        /* Utilitas Warna Kustom */
        .bg-pa-primary { background-color: var(--pa-primary) !important; }
        .text-pa-primary { color: var(--pa-primary) !important; }
        .border-pa-primary { border-color: var(--pa-primary) !important; }
        
        .bg-pa-secondary { background-color: var(--pa-secondary) !important; }
        .text-pa-secondary { color: var(--pa-secondary) !important; }
        .border-pa-secondary { border-color: var(--pa-secondary) !important; }

        /* Tombol Standar */
        .btn-pa-secondary {
            background-color: var(--pa-secondary);
            color: #111827;
            border-color: var(--pa-secondary);
            font-weight: 700;
            transition: all 0.2s ease;
        }
        .btn-pa-secondary:hover, .btn-pa-secondary:focus {
            background-color: var(--pa-secondary-hover);
            border-color: var(--pa-secondary-hover);
            color: #000000;
            transform: translateY(-1px);
        }

        .btn-pa-primary {
            background-color: var(--pa-primary);
            color: #ffffff;
            border-color: var(--pa-primary);
            font-weight: 600;
            transition: all 0.2s ease;
        }
        .btn-pa-primary:hover, .btn-pa-primary:focus {
            background-color: var(--pa-primary-dark);
            border-color: var(--pa-primary-dark);
            color: #ffffff;
        }

        /* Tipografi */
        .font-display { font-family: 'Montserrat', sans-serif; }

        /* Custom Scrollbar */
        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: #f1f1f1; }
        ::-webkit-scrollbar-thumb { background: var(--pa-primary); border-radius: 10px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--pa-primary-dark); }

        /* ==========================================================================
           2. NAVIGASI 6 MENU UTAMA (BAB III HURUF F SK 2722/2026)
           ========================================================================== */
        .navbar-nav .nav-link {
            color: #374151;
            font-weight: 600;
            font-size: 0.925rem;
            padding: 0.5rem 0.75rem;
            border-bottom: 3px solid transparent;
            transition: all 0.2s ease;
        }
        .navbar-nav .nav-link:hover {
            color: var(--pa-primary);
        }
        .navbar-nav .nav-link.active {
            color: var(--pa-primary) !important;
            font-weight: 700;
            border-bottom: 3px solid var(--pa-secondary);
        }
        .dropdown-menu {
            border-top: 3px solid var(--pa-secondary);
        }
        .dropdown-item {
            font-size: 0.9rem;
            font-weight: 500;
        }
        .dropdown-item:hover, .dropdown-item:focus {
            background-color: var(--pa-primary-light);
            color: var(--pa-primary);
        }

        /* Sidebar Sub-Navigasi */
        .sidebar-nav-link {
            color: #374151;
            border-left: 4px solid transparent;
            border-radius: 0.375rem;
            transition: all 0.2s ease;
        }
        .sidebar-nav-link:hover {
            background-color: var(--pa-primary-light);
            color: var(--pa-primary);
        }
        .sidebar-nav-link.active {
            background-color: var(--pa-primary);
            color: #ffffff !important;
            border-left: 4px solid var(--pa-secondary);
        }
        .sidebar-nav-link.active i {
            color: var(--pa-secondary) !important;
        }

        /* ==========================================================================
           3. HERO SLIDER EKONOMIS (MAKSIMAL 3-5 SLIDE - BAB III HURUF C)
           ========================================================================== */
        #hero-carousel .carousel-item {
            min-height: 55vh;
            background-position: center;
            background-size: cover;
            position: relative;
        }
        #hero-carousel .carousel-item::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(5, 110, 79, 0.92) 0%, rgba(5, 110, 79, 0.75) 60%, rgba(3, 77, 55, 0.6) 100%);
        }
        #hero-carousel .hero-content {
            position: relative;
            z-index: 10;
        }

        /* Kartu Pintasan Layanan (Akses <= 2 Klik) */
        .card-shortcut {
            transition: all 0.25s ease-in-out;
            border: 1px solid #e5e7eb;
            color: #1f2937;
        }
        .card-shortcut:hover {
            background-color: var(--pa-primary) !important;
            border-color: var(--pa-primary);
            color: #ffffff;
            transform: translateY(-4px);
            box-shadow: 0 10px 20px rgba(5, 110, 79, 0.15) !important;
        }
        .card-shortcut .bi {
            color: var(--pa-primary);
            transition: color 0.25s ease;
        }
        .card-shortcut:hover .bi {
            color: var(--pa-secondary);
        }
        .card-shortcut:hover h3 {
            color: #ffffff !important;
        }
        .card-shortcut:hover p {
            color: #e5e7eb !important;
        }

        /* ==========================================================================
           4. FITUR AKSESIBILITAS RAMAH DISABILITAS / WCAG (LAMPIRAN II HURUF B)
           - Pembaca Layar (Screen Reader / Text-to-Speech)
           - Mode Kontras Tinggi (High Contrast)
           - Perbesar / Perkecil Teks (Zoom-in / Zoom-out)
           ========================================================================== */
        .a11y-widget {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            z-index: 1055;
        }
        .a11y-panel {
            width: 280px;
            display: none;
        }
        .a11y-panel.show {
            display: block;
        }

        /* Mode Kontras Tinggi (High Contrast Mode) */
        body.high-contrast {
            background-color: #000000 !important;
            color: #ffff00 !important;
        }
        body.high-contrast header,
        body.high-contrast nav,
        body.high-contrast section,
        body.high-contrast .card,
        body.high-contrast .bg-white,
        body.high-contrast .bg-light,
        body.high-contrast .modal-content,
        body.high-contrast footer {
            background-color: #000000 !important;
            color: #ffff00 !important;
            border: 1px solid #ffff00 !important;
        }
        body.high-contrast a,
        body.high-contrast button,
        body.high-contrast h1, body.high-contrast h2, body.high-contrast h3, body.high-contrast h4,
        body.high-contrast p, body.high-contrast span, body.high-contrast td, body.high-contrast th {
            color: #ffff00 !important;
        }
        body.high-contrast .btn-pa-secondary,
        body.high-contrast .btn-pa-primary {
            background-color: #ffff00 !important;
            color: #000000 !important;
            border: 2px solid #ffffff !important;
        }

        /* Line Clamp */
        .line-clamp-3 {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            overflow: hidden;
        }
    
 .preview-ticker{overflow:hidden;min-width:0}.preview-ticker span{display:inline-block;white-space:nowrap;animation:previewTicker 22s linear infinite}.preview-ticker:hover span{animation-play-state:paused}@keyframes previewTicker{from{transform:translateX(75%)}to{transform:translateX(-100%)}}.preview-img,.card-img-top{aspect-ratio:16/9;object-fit:cover}.accordion-button:not(.collapsed){background:var(--pa-primary-light);color:var(--pa-primary)}.accordion-button:focus{box-shadow:0 0 0 .15rem #056e4f33}.navbar-brand{max-width:calc(100% - 55px)}.navbar-brand div{min-width:0}.navbar-brand .font-display{font-size:clamp(.8rem,1.3vw,1.15rem)!important;white-space:normal}.navbar-brand img{flex-shrink:0}.navbar-nav .nav-link{font-size:.84rem;padding-left:.45rem;padding-right:.45rem}.navbar-collapse{min-width:0}button.card-shortcut{font:inherit}.preview-example{border-left:4px solid var(--pa-secondary);background:var(--pa-primary-light)}@media(max-width:767px){#hero-carousel .carousel-item,#hero-carousel .hero-content{min-height:330px!important}#hero-carousel .display-5{font-size:1.75rem}#hero-carousel .fs-5{font-size:1rem!important}.py-5{padding-top:2rem!important;padding-bottom:2rem!important}.a11y-widget{right:.75rem;bottom:.75rem}.navbar-brand img{max-width:40px!important}.navbar-brand .small{font-size:.7rem}.card-shortcut h3{font-size:.92rem!important}.card-shortcut p{font-size:.8rem}.position-sticky{position:static!important}.navbar-collapse{max-height:60vh;overflow-y:auto}}@media(prefers-reduced-motion:reduce){.preview-ticker span{animation:none}.card-shortcut{transition:none}}

/* Refinement v2: original SK 2722 design tokens retained. */
:root{--section-space:2rem;--panel-border:#e1e8e5;--panel-radius:12px}
body{line-height:1.55} .container-lg{max-width:1240px} .text-secondary{color:#59656c!important}
header>div:first-child{font-size:.72rem;letter-spacing:.02em} header .navbar-brand{margin:0;padding:.65rem 0;gap:.7rem!important;max-width:none;min-width:0} header .navbar-brand .font-display{font-size:clamp(.84rem,1.7vw,1.15rem)!important} header .navbar-brand img{height:2.75rem!important} .nav-actions{margin-left:auto;flex-shrink:0} .nav-preview{font-size:.78rem;white-space:nowrap} .nav-search{min-height:36px} .refined-nav>.container-lg{flex-wrap:wrap;column-gap:.6rem} .refined-nav .navbar-collapse{flex-basis:100%;border-top:1px solid #e7eeeb} .refined-nav .navbar-nav{margin-left:0!important;gap:0!important} .refined-nav .nav-link{padding:.65rem .9rem;font-size:.88rem;white-space:normal} .refined-nav .dropdown-menu{max-width:min(400px,90vw);border-top:3px solid var(--pa-secondary)!important} .refined-nav .dropdown-item{white-space:normal;line-height:1.4} .nav-actions .navbar-toggler{padding:.2rem .35rem}
@media(min-width:1200px){.refined-nav>.container-lg{display:flex;flex-wrap:wrap}.refined-nav .navbar-collapse{flex:0 0 100%;width:100%;max-height:none;overflow:visible}.refined-nav .navbar-nav{width:100%;justify-content:space-between}.refined-nav .nav-link{padding:.55rem .7rem}.refined-nav .navbar-nav>li:first-child .nav-link{padding-left:0}.refined-nav .navbar-nav>li:last-child .nav-link{padding-right:0}.refined-nav .navbar-nav>li:nth-last-child(-n+2) .dropdown-menu{left:auto;right:0}}
#hero-carousel .carousel-item,#hero-carousel .hero-content{min-height:385px!important} #hero-carousel .hero-content{padding:2.25rem 3.75rem!important;align-items:flex-start} #hero-carousel .display-5{font-size:clamp(1.8rem,3.1vw,2.65rem);line-height:1.16;max-width:790px} #hero-carousel .hero-content p{font-size:1.02rem!important;line-height:1.55;max-width:650px!important;color:#f0f5f3!important} #hero-carousel .hero-content .btn{font-size:.91rem;padding:.7rem 1rem!important} #hero-carousel .carousel-control-prev,#hero-carousel .carousel-control-next{width:5%} #hero-carousel .hero-content .badge{white-space:normal;text-align:left;line-height:1.4} #hero-carousel .carousel-indicators{margin-bottom:.55rem}
#beranda>.home-section{padding:var(--section-space) 0;background:#f8f9fa;scroll-margin-top:195px} #beranda>.home-section+ .home-section{padding-top:0} #beranda>#modul-pintasan{background:#fff;border-bottom:1px solid #e7eeeb} #beranda>#modul-inovasi{padding-top:var(--section-space)} .section-heading{margin-bottom:1rem;position:relative;padding-left:.8rem;border-left:3px solid var(--pa-secondary)} .section-heading h2{font-size:1.32rem;line-height:1.3} .section-heading p{font-size:.88rem;line-height:1.45} .service-tile{padding:1rem .65rem!important;display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;border:1px solid var(--panel-border);border-radius:var(--panel-radius)!important;min-width:0;line-height:1.35} .service-tile .service-icon{font-size:1.5rem;display:grid;place-items:center;width:46px;height:46px;border-radius:10px;background:var(--pa-primary-light);margin-bottom:.65rem;color:var(--pa-primary)} .service-tile:hover .service-icon{background:#ffffff;color:var(--pa-primary)} .service-title{font-size:.95rem!important;line-height:1.35;margin:0 0 .3rem!important;overflow-wrap:anywhere} .service-tile p{font-size:.8rem!important;margin:.1rem 0 0!important;line-height:1.4} .quick-strip{margin-top:1rem!important} .quick-grid .btn{font-size:.79rem;line-height:1.3;background:#f7faf9;border-color:var(--panel-border)!important;border-radius:9px;min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.3rem} .quick-grid .btn:hover{background:var(--pa-primary-light)}
.home-panel{border:1px solid var(--panel-border);border-radius:var(--panel-radius)!important;padding:1.05rem!important;min-width:0;box-shadow:0 2px 7px #10382b08} .home-panel>h3,.home-panel>div:first-child>h3{font-size:1.04rem;line-height:1.35} .home-panel>h3{padding-bottom:.65rem!important;margin-bottom:.85rem!important;border-bottom-color:var(--panel-border)!important} .home-panel>div.d-flex:first-child{gap:.7rem;align-items:flex-start!important;margin-bottom:.65rem!important} .home-panel>div.d-flex:first-child>a{white-space:nowrap;font-size:.78rem} .home-panel .list-group-item{padding-top:.7rem!important;padding-bottom:.7rem!important;font-size:.88rem;border-color:#e8eeeb} .home-panel .list-group-item p{line-height:1.45} .home-panel .badge{font-weight:600;font-size:.68rem;white-space:normal;text-align:left;line-height:1.3} .home-panel dl{display:grid;grid-template-columns:1fr auto;gap:0 1rem} .home-panel dl>*{width:auto;padding:.6rem 0;margin:0;border-bottom:1px solid #e8eeeb;font-size:.86rem} .home-panel dl dd{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums} .home-panel dl dt{font-weight:600} .home-panel dl+small{display:block;margin-top:.8rem} #modul-cctv .ratio{max-height:160px;overflow:hidden} #modul-cctv .ratio:before{padding-top:160px} #modul-cctv .ratio small{font-size:.74rem} .schedule-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,145px) auto;align-items:center;gap:.5rem!important} .schedule-controls>*{width:100%;min-width:0;font-size:.85rem} .schedule-table table{font-size:.8rem;white-space:nowrap} .schedule-table td,.schedule-table th{padding:.65rem .45rem} .schedule-table .badge{white-space:nowrap} #modul-jadwal .home-panel .ratio{overflow:hidden} #modul-jadwal .home-panel .ratio i{font-size:1.8rem!important}
.editorial-grid .col,.editorial-grid [class^=col-]{min-width:0} .editorial-card{overflow:hidden;border:1px solid var(--panel-border)!important;border-radius:10px;display:flex;flex-direction:column} .editorial-card .card-body{display:flex;flex-direction:column;align-items:flex-start;padding:.85rem;gap:.3rem;flex:1} .editorial-card .card-body .badge{margin-bottom:.25rem!important} .editorial-card h4{font-size:.95rem;line-height:1.45;margin:0 0 .2rem;overflow-wrap:anywhere} .editorial-card .card-body p{font-size:.82rem;line-height:1.5;margin-bottom:.45rem} .editorial-card .card-body>a,.editorial-card .card-body>button{margin-top:auto;font-size:.8rem;text-align:left;white-space:normal} .editorial-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover} #modul-integritas .service-title{font-size:.82rem!important} #modul-integritas .service-tile{padding:.9rem .55rem!important} #modul-integritas .service-icon{width:40px;height:40px;font-size:1.25rem}
.survey-band{padding:1.75rem 0;scroll-margin-top:195px} .survey-heading{margin-bottom:1rem;text-align:left!important} .survey-heading p{margin:0!important;max-width:none!important;font-size:.87rem} .survey-tile{padding:1rem;display:flex;flex-direction:column;align-items:center;gap:.4rem;border:1px solid #ffffff38!important;border-top:3px solid var(--pa-secondary)!important} .survey-tile h3{margin:.2rem 0!important;font-size:.86rem!important;line-height:1.4;flex:1} .survey-value{font-size:1.8rem;line-height:1.2;font-variant-numeric:tabular-nums} .survey-band .text-center.pt-3{padding-top:0!important} #modul-faq .accordion-button{font-size:.9rem;padding:.8rem .85rem;line-height:1.4;font-weight:600} #modul-faq .accordion-body{font-size:.87rem;line-height:1.6;padding:.9rem} #modul-faq .home-panel .display-4{font-size:2.1rem} footer{padding-top:2rem!important;padding-bottom:1.25rem!important} footer .row{--bs-gutter-y:1.2rem} footer p,footer li{font-size:.86rem;line-height:1.55}
#main-content>.page-content:not(#beranda)>.container-lg{padding-top:1.7rem!important;padding-bottom:2rem!important} #main-content>.page-content:not(#beranda) h1{font-size:1.6rem;line-height:1.3} #main-content>.page-content:not(#beranda) .sidebar-nav-link{font-size:.88rem;line-height:1.4} #main-content>.page-content:not(#beranda) .card-body{overflow-wrap:anywhere} #previewTypeBody{min-height:240px} #backTop{position:fixed;right:1.5rem;bottom:5rem;width:40px;height:40px;z-index:1054} #backTop[hidden]{display:none!important} .a11y-widget .btn.rounded-pill{font-size:.83rem}
@media(max-width:1199px){.refined-nav .navbar-collapse{max-height:55vh;overflow-y:auto}.refined-nav .nav-link{padding:.55rem .2rem}.refined-nav .dropdown-menu{max-width:100%}}
@media(max-width:767px){:root{--section-space:1.3rem} header .navbar-brand{gap:.45rem!important;flex:1 1 0;max-width:100%} header .navbar-brand .font-display{font-size:.79rem!important} header .navbar-brand .small{font-size:.65rem!important} .nav-actions{gap:.25rem!important}.nav-actions .nav-preview{display:none}.nav-actions .nav-search{padding:.45rem .55rem!important;min-width:34px}.nav-actions .nav-search span{display:none}.nav-actions .navbar-toggler i{font-size:1.6rem!important} header>div:first-child{font-size:.65rem;line-height:1.35;padding:.25rem .5rem!important} header>.bg-pa-primary .container-lg{gap:.3rem!important} header>.bg-pa-primary{font-size:.7rem!important} header>.bg-pa-primary .d-flex{gap:.5rem!important} #hero-carousel .carousel-item,#hero-carousel .hero-content{min-height:330px!important} #hero-carousel .hero-content{padding:1.65rem 1.75rem 2.1rem!important} #hero-carousel .display-5{font-size:1.72rem;line-height:1.2} #hero-carousel .hero-content p{font-size:.9rem!important} #hero-carousel .hero-content .btn{font-size:.8rem;padding:.55rem .7rem!important} #hero-carousel .hero-content .badge{font-size:.65rem!important} #hero-carousel .hero-content .mt-4{margin-top:.9rem!important} #hero-carousel .hero-content .gap-3{gap:.5rem!important} #beranda>.home-section{scroll-margin-top:160px} .section-heading h2{font-size:1.12rem} .section-heading p{font-size:.8rem} .section-heading{margin-bottom:.8rem} .home-panel{padding:.85rem!important} .service-tile{padding:.8rem .5rem!important} .service-title{font-size:.85rem!important} .service-tile p{font-size:.73rem!important} .service-tile .service-icon{width:39px;height:39px;font-size:1.25rem;margin-bottom:.45rem} .primary-shortcuts,.panel-grid{--bs-gutter-x:.7rem;--bs-gutter-y:.7rem} .quick-grid .btn{font-size:.72rem;min-height:58px} .schedule-controls{grid-template-columns:minmax(0,1fr) auto}.schedule-controls input:first-child{grid-column:1/-1}.schedule-table table{font-size:.75rem} .home-panel dl{gap:0 .5rem}.home-panel dl>*{font-size:.77rem} .survey-band{padding:1.3rem 0}.survey-tile{display:grid;grid-template-columns:34px 1fr auto;gap:.5rem;text-align:left!important;padding:.8rem;align-items:center}.survey-tile h3{font-size:.8rem!important}.survey-tile .survey-value{font-size:1.35rem;margin:0!important}.survey-tile .badge{grid-column:2/-1;justify-self:start;font-size:.66rem}.survey-heading h2{font-size:1.14rem}.survey-heading p{font-size:.8rem} #backTop{right:.75rem;bottom:4.5rem} #modul-faq .accordion-button{font-size:.82rem} #main-content>.page-content:not(#beranda) h1{font-size:1.35rem}}
@media(max-width:359px){header>.bg-pa-primary .container-lg{justify-content:center!important}.nav-actions .nav-search{padding:.25rem!important} #hero-carousel .display-5{font-size:1.5rem}.home-panel dl>*{font-size:.71rem}.service-title{font-size:.78rem!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.service-tile:hover{transform:none}}
body.high-contrast .home-panel,body.high-contrast .service-tile,body.high-contrast .survey-tile,body.high-contrast .section-inner{background:#000!important;border-color:#ff0!important} body.high-contrast .service-icon{background:#000;color:#ff0} body.high-contrast .text-secondary{color:#ff0!important}


/* Dropdown mengikuti panjang label, bukan lebar menu induk. */
.refined-nav .dropdown-menu {
    --bs-dropdown-spacer: 0;
    --bs-dropdown-padding-x: .35rem;
    --bs-dropdown-padding-y: .35rem;
    --bs-dropdown-link-hover-bg: var(--pa-primary-light);
    background-color: #fff;
    border-radius: .55rem;
}
.refined-nav .dropdown-item {
    font-size: .875rem;
    line-height: 1.45;
    padding: .65rem .85rem !important;
    border-radius: .3rem;
    white-space: normal;
    overflow-wrap: anywhere;
}
.refined-nav .dropdown-item:focus-visible { outline: 2px solid var(--pa-primary); outline-offset: -2px; }
@media (min-width: 1200px) {
    .refined-nav .navbar-nav > .nav-item > .nav-link { white-space: nowrap; }
    .refined-nav .dropdown-menu {
        width: max-content;
        min-width: 20rem;
        max-width: min(34rem, calc(100vw - 2rem));
        max-height: min(70vh, 32rem);
        overflow-y: auto;
    }
    .refined-nav .navbar-nav > li:nth-last-child(-n+3) .dropdown-menu { left: auto; right: 0; }
}
@media (max-width: 1199.98px) {
    .refined-nav .dropdown-menu {
        width: 100%; min-width: 0; max-width: 100%;
        margin: .15rem 0 .45rem;
        box-shadow: none !important;
        background-color: #f8f9fa;
    }
    .refined-nav .dropdown-item { padding: .6rem .75rem !important; }
}
