/* DIHASILKAN OTOMATIS oleh scripts/gen_dark.py. Jangan disunting langsung.
   Ubah dark-mode.manual.css lalu jalankan ulang skripnya. */

/* ---- styles.css ---- */
html[data-theme="dark"] .trade-strip div{border:1px solid #243453;background:#151e30}
html[data-theme="dark"] .trade-strip span{color:#a2adba}
html[data-theme="dark"] .trade-strip b{color:#c2cee2}
html[data-theme="dark"] .trade-strip div:nth-child(2) b{color:#d15f55}
html[data-theme="dark"] .trade-strip small{color:#7c8da2}
html[data-theme="dark"] body{background:#151e31;color:#d1d9e3}
html[data-theme="dark"] .app-shell{background:radial-gradient(circle at 98% 0,#172136 0,transparent 31%),#151e31}
html[data-theme="dark"] .sidebar{background:linear-gradient(170deg,#062b6c,#0d4698 72%,#0a3579);color:white}
html[data-theme="dark"] .sidebar:after{border:48px solid rgba(223,255,84,.06)}
html[data-theme="dark"] .brand-mark{background:#dfff54;color:#092e72;box-shadow:0 10px 28px rgba(223,255,84,.18)}
html[data-theme="dark"] .brand-mark span{color:#86a8de}
html[data-theme="dark"] .brand small{color:#b4cff6}
html[data-theme="dark"] .nav-caption{color:#8cb5ef}
html[data-theme="dark"] #mainNav button{border:0;background:transparent;color:#c6dcff}
html[data-theme="dark"] #mainNav button:hover{background:rgba(255,255,255,.1);color:white}
html[data-theme="dark"] #mainNav button.active{background:#131c30;color:#c2cee2;box-shadow:0 12px 27px rgba(3,24,61,.2)}
html[data-theme="dark"] .sidebar-foot{border-top:1px solid rgba(255,255,255,.15)}
html[data-theme="dark"] .sidebar-foot small{color:#a8c8f7}
html[data-theme="dark"] .avatar{background:#ff854a}
html[data-theme="dark"] .topbar{background:rgba(19,28,48,0.86);border-bottom:1px solid #233251}
html[data-theme="dark"] .breadcrumb{color:#8a99ad}
html[data-theme="dark"] .breadcrumb b{color:#c2cee2}
html[data-theme="dark"] .crumb-dot{color:#bac7d5}
html[data-theme="dark"] .data-pill{background:#1a3218;color:#b2e2ce}
html[data-theme="dark"] .data-pill i{background:#36c786}
html[data-theme="dark"] .top-button,html[data-theme="dark"] .soft-button{border:1px solid #233453;background:#131c30;color:#c2cee2;box-shadow:0 3px 9px rgba(25,72,125,.05)}
html[data-theme="dark"] .top-button:hover,html[data-theme="dark"] .soft-button:hover{background:#151f32}
html[data-theme="dark"] .hero{background:linear-gradient(108deg,#062e64 0,#0e4da4 58%,#2c69cf 100%);color:white;box-shadow:var(--shadow)}
html[data-theme="dark"] .hero:after{border:1px solid rgba(255,255,255,.18);box-shadow:0 0 0 72px rgba(255,255,255,.045),0 0 0 142px rgba(255,255,255,.028)}
html[data-theme="dark"] .eyebrow{color:#9cceff}
html[data-theme="dark"] .eyebrow span{background:#dfff54;box-shadow:0 0 0 4px rgba(223,255,84,.18)}
html[data-theme="dark"] .hero p{color:#c7dfff}
html[data-theme="dark"] .hero-decoration span{color:#dfff54}
html[data-theme="dark"] .hero-decoration small{color:#d6eaff}
html[data-theme="dark"] .view-switcher button{border:1px solid #233352;background:#131c30;color:#a8b3c2}
html[data-theme="dark"] .view-switcher button.active{background:#0b3b84;color:white;border-color:#0b3b84}
html[data-theme="dark"] .view-switcher button:hover:not(.active){background:#151f32;color:#c2cee2}
html[data-theme="dark"] .module-bar p{color:#a6afbc}
html[data-theme="dark"] .control label{color:#9ea9b8}
html[data-theme="dark"] .control select{border:1px solid #243555;color:#d1d9e3;background:#131c30 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23697d95' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center}
html[data-theme="dark"] .segmented{background:#162034}
html[data-theme="dark"] .segmented button{border:0;background:transparent;color:#a8b2bf}
html[data-theme="dark"] .segmented button.active{background:#131c30;color:#c2cee2;box-shadow:0 3px 9px rgba(15,61,113,.11)}
html[data-theme="dark"] .source-note{color:#a0aab6}
html[data-theme="dark"] .dummy-note{background:#332616;color:#e2bb9e;border:1px solid #553d25}
html[data-theme="dark"] .card{background:#131c30;border:1px solid #233453;box-shadow:0 8px 28px rgba(29,74,126,.065)}
html[data-theme="dark"] .card-head{border-bottom:1px solid #22314e}
html[data-theme="dark"] .card-head p{color:#a1abb7}
html[data-theme="dark"] .kicker{color:#86a8de}
html[data-theme="dark"] .metric{background:#131c30;border:1px solid #233453;box-shadow:0 6px 20px rgba(25,70,115,.04)}
html[data-theme="dark"] .metric .label{color:#a0aab7}
html[data-theme="dark"] .metric small{color:#7b8ba1}
html[data-theme="dark"] .metric.emphasis{background:#173329;border-color:#265948}
html[data-theme="dark"] .metric.emphasis strong{color:#abead7}
html[data-theme="dark"] .metric.blue{background:#161f32;border-color:#243453}
html[data-theme="dark"] .metric.blue strong{color:#c2cee2}
html[data-theme="dark"] .metric.coral{background:#321b15;border-color:#512b23}
html[data-theme="dark"] .metric.coral strong{color:#d75e54}
html[data-theme="dark"] .metric.lime{background:#323617;border-color:#565c27}
html[data-theme="dark"] .metric.lime strong{color:#d4dcc4}
html[data-theme="dark"] .map-head small{color:#8191a5}
html[data-theme="dark"] .map-wrap{background:linear-gradient(180deg,#151f32,#172237 72%,#19243a)}
html[data-theme="dark"] .map-wrap:before{background-image:radial-gradient(#23324f 1px,transparent 1px)}
html[data-theme="dark"] .province-shape{stroke:#101726}
html[data-theme="dark"] .province-shape.selected{fill:#c4d0e3!important;stroke:#dfff54}
html[data-theme="dark"] .map-watermark{color:#8abbd8}
html[data-theme="dark"] .map-legend{background:rgba(19,28,48,0.94);border:1px solid #243555;box-shadow:0 6px 18px rgba(28,84,124,.09)}
html[data-theme="dark"] .legend-list span{color:#aab4c0}
html[data-theme="dark"] .map-hint{color:#8092a7}
html[data-theme="dark"] .map-tooltip{background:#102f63;color:white;box-shadow:0 10px 22px rgba(0,0,0,.2)}
html[data-theme="dark"] .map-tooltip b{color:#dfff54}
html[data-theme="dark"] .detail-top{border-bottom:1px solid #23324e}
html[data-theme="dark"] .detail-top p{color:#7b8ba1}
html[data-theme="dark"] .detail-number{background:#151f32;border:1px solid #233251}
html[data-theme="dark"] .detail-number span{color:#a4b1bf}
html[data-theme="dark"] .detail-number strong{color:#c2cee2}
html[data-theme="dark"] .detail-number small{color:#7990aa}
html[data-theme="dark"] .mini-stats div{background:#131c30;border:1px solid #223250}
html[data-theme="dark"] .mini-stats b{color:#c2cee2}
html[data-theme="dark"] .mini-stats small{color:#8090a5}
html[data-theme="dark"] .rank-row{border-bottom:1px solid #24314b}
html[data-theme="dark"] .rank-row:last-child{border-bottom:0}
html[data-theme="dark"] .rank-row button{border:0;background:none;color:#d1d9e3}
html[data-theme="dark"] .rank-row button:hover{color:#86a8de}
html[data-theme="dark"] .rank-row b{color:#c2cee2}
html[data-theme="dark"] .rank-index{background:#162033;color:#86a8de}
html[data-theme="dark"] .profile-detail .dominant-icon{background:#293617}
html[data-theme="dark"] .stack-track{background:#1c222e}
html[data-theme="dark"] .commodity-chip{background:#332a16;border:1px solid #5b4a27;color:#d3ccbc}
html[data-theme="dark"] .commodity-note{color:#d6c1a2}
html[data-theme="dark"] .profile-cards article{background:#131c30;border:1px solid #233453}
html[data-theme="dark"] .profile-cards p{color:#a2abb8}
html[data-theme="dark"] .chart-card p{color:#8492a6}
html[data-theme="dark"] .axis-text{fill:#8798ad}
html[data-theme="dark"] .grid-line{stroke:#101726}
html[data-theme="dark"] .line-path{fill:none;stroke:#bbc9df}
html[data-theme="dark"] .line-area{fill:url(#lineFill)}
html[data-theme="dark"] .line-dot{fill:#dfff54;stroke:#bbc9df}
html[data-theme="dark"] .bar-chart{border-bottom:1px solid #27395b}
html[data-theme="dark"] .bar-col span{color:#c2cee2}
html[data-theme="dark"] .bar-col i{background:#21304d}
html[data-theme="dark"] .bar-col:last-child i{background:#092e72}
html[data-theme="dark"] .bar-col small{color:#7890a9}
html[data-theme="dark"] .insight-card{background:linear-gradient(140deg,#151f32,#131c30 75%)}
html[data-theme="dark"] .insight-card .highlight{background:#173325}
html[data-theme="dark"] .insight-card .highlight strong{color:#bee0d8}
html[data-theme="dark"] .insight-card ul{color:#a9b3bf}
html[data-theme="dark"] .shift-head{color:#8798ad;border-bottom:1px solid #22314f}
html[data-theme="dark"] .shift-row{border-bottom:1px solid #25324a}
html[data-theme="dark"] .shift-row:last-child{border-bottom:0}
html[data-theme="dark"] .shift-bars i.old{background:#222d43}
html[data-theme="dark"] .shift-bars i.new{background:#2367d3}
html[data-theme="dark"] .delta.up{color:#a4edd9}
html[data-theme="dark"] .delta.down{color:#d35d55}
html[data-theme="dark"] .shift-side p{color:#a2abb8}
html[data-theme="dark"] .shift-side .callout{background:#2e3416;border:1px solid #575f29}
html[data-theme="dark"] .shift-side .callout b{color:#d3dbbe}
html[data-theme="dark"] .shift-side .callout span{color:#c2cbae}
html[data-theme="dark"] .overview-banner{background:linear-gradient(135deg,#0b3b84,#1d67c4);color:white;border:0}
html[data-theme="dark"] .overview-banner:after{color:rgba(255,255,255,.07)}
html[data-theme="dark"] .overview-banner p{color:#c7ddff}
html[data-theme="dark"] .overview-banner button{border:0;background:#dfff54;color:#092e72}
html[data-theme="dark"] .overview-menu button{border:1px solid #233453;background:#131c30;box-shadow:0 8px 24px rgba(27,74,122,.05)}
html[data-theme="dark"] .overview-menu button:hover{border-color:#7caceb}
html[data-theme="dark"] .overview-menu span{color:#86a8de}
html[data-theme="dark"] .overview-menu small{color:#9fa9b7}
html[data-theme="dark"] .overview-lower p{color:#a3adb9}
html[data-theme="dark"] .overview-lower button{border:0;background:transparent;color:#86a8de}
html[data-theme="dark"] .demand-ring{background:conic-gradient(#0b3b84 0 54.2%,#2d75d7 54.2% 64%,#4ecfb0 64% 92.4%,#ffb851 92.4% 100%)}
html[data-theme="dark"] .demand-ring:before{background:#131c30}
html[data-theme="dark"] .demand-ring b{color:#c2cee2}
html[data-theme="dark"] .demand-ring small{color:#8595a8}
html[data-theme="dark"] .demand-legend b{color:#c2cee2}
html[data-theme="dark"] .demand-mock{color:#d9be9e;background:#332816}
html[data-theme="dark"] .demand-side .flow-pill{border-bottom:1px solid #25324a}
html[data-theme="dark"] .demand-side .flow-pill:last-of-type{border-bottom:0}
html[data-theme="dark"] .flow-pill small{color:#788aa1}
html[data-theme="dark"] .flow-pill span{color:#c2cee2}
html[data-theme="dark"] .flow-label{fill:#cad3e0}
html[data-theme="dark"] .flow-value{fill:#86a8de}
html[data-theme="dark"] .flow-caption{fill:#8293aa}
html[data-theme="dark"] .irio-grid p{color:#a2acb8}
html[data-theme="dark"] .radar-grid{fill:none;stroke:#101726}
html[data-theme="dark"] .radar-axis{stroke:#101726}
html[data-theme="dark"] .radar-shape{fill:rgba(133,161,216,0.24);stroke:#86a8de}
html[data-theme="dark"] .radar-label{fill:#a9b3bf}
html[data-theme="dark"] .readiness-list .ready-row{border-bottom:1px solid #25324a}
html[data-theme="dark"] .ready-row:last-child{border-bottom:0}
html[data-theme="dark"] .ready-track{background:#1a2130}
html[data-theme="dark"] .ready-track i{background:linear-gradient(90deg,#2367d3,#52d0b1)}
html[data-theme="dark"] .ready-row b{color:#c2cee2}
html[data-theme="dark"] .readiness-list .average{background:#293617}
html[data-theme="dark"] .average strong{color:#d0dbbf}
html[data-theme="dark"] .average small{color:#bbc4ae}
html[data-theme="dark"] .footer{border-top:1px solid #233351;color:#8b9bb0}
html[data-theme="dark"] .loading{background:#131c30;border:1px solid #233453;color:#9faab8}
html[data-theme="dark"] .method-dialog{border:0;box-shadow:0 30px 80px rgba(8,40,81,.25);color:#d1d9e3}
html[data-theme="dark"] .method-dialog::backdrop{background:rgba(5,23,49,.55)}
html[data-theme="dark"] .method-dialog p{color:#a9b3c0}
html[data-theme="dark"] .method-dialog .eyebrow{color:#86a8de}
html[data-theme="dark"] .dialog-close{border:0;background:#162033;color:#c2cee2}
html[data-theme="dark"] .primary-button{border:0;background:#092e72;color:white}

/* ---- motion.css ---- */
html[data-theme="dark"] .vector-icon{fill:none;stroke:currentColor}
html[data-theme="dark"] #mainNav button.active:before{background:#dfff54;box-shadow:0 0 10px rgba(223,255,84,.7)}
html[data-theme="dark"] .view-switcher button.active{box-shadow:0 8px 18px rgba(9,46,114,.2)}
@media(hover:hover){
html[data-theme="dark"] .overview-menu button:hover,html[data-theme="dark"] .metric:hover{box-shadow:0 16px 30px rgba(23,67,125,.12)}
html[data-theme="dark"] .card:not(.map-card):not(.overview-banner):hover{box-shadow:0 18px 38px rgba(23,67,125,.1)}
}
html[data-theme="dark"] .hero:before{background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent)}
html[data-theme="dark"] .sector-icon{color:var(--sector);background:#162033;border:1px solid color-mix(in srgb,var(--sector) 28%,#262f40);box-shadow:inset 0 1px rgba(19,28,48,0.8)}
html[data-theme="dark"] .sector-icon:after{background:var(--sector)}
html[data-theme="dark"] .sector-label:hover .sector-icon{box-shadow:0 6px 13px color-mix(in srgb,var(--sector) 25%,transparent)}
html[data-theme="dark"] .profile-detail .dominant-icon.vector-feature{background:radial-gradient(circle at 25% 20%,#131c30 0,#17331a 52%,#1b3833 100%);box-shadow:0 12px 26px rgba(19,96,80,.14),inset 0 1px rgba(19,28,48,0.9);border:1px solid #29543d}
html[data-theme="dark"] .profile-detail .dominant-icon .sector-icon.featured{background:rgba(19,28,48,0.83)}
html[data-theme="dark"] .profile-detail .sector-showcase{border:1px solid color-mix(in srgb,var(--sector) 25%,#262f40);background:radial-gradient(circle at 7% 12%,color-mix(in srgb,var(--sector) 20%,#131c30),#131c30 65%,#131c30 100%)}
html[data-theme="dark"] .profile-detail .sector-showcase:after{border:1px solid color-mix(in srgb,var(--sector) 22%,transparent);box-shadow:0 0 0 28px color-mix(in srgb,var(--sector) 6%,transparent)}
html[data-theme="dark"] .commodity-chip:hover{box-shadow:0 6px 12px rgba(105,74,32,.1)}
html[data-theme="dark"] .commodity-chip .chip-icon{color:#dcc0a0}
html[data-theme="dark"] .map-expand-button{border:1px solid #263758;background:#131c30;color:#c2cee2}
html[data-theme="dark"] .map-expand-button:hover{background:#151f32}
html[data-theme="dark"] .map-card.map-expanded{box-shadow:0 30px 90px rgba(2,23,57,.42);border:1px solid #283a5d;background:#131c30}
html[data-theme="dark"] .map-card.map-expanded .map-expand-button{background:#092e72;color:white;border-color:#092e72}
html[data-theme="dark"] .supply-icon-line>span{background:#151f31;border:1px solid #223250;color:#b2c1d1}
html[data-theme="dark"] .overview-menu button>span .vector-icon{color:#86a8de}
html[data-theme="dark"] .map-reveal{background:rgba(7,40,93,.96);color:white;border:1px solid rgba(223,255,84,.56);box-shadow:0 17px 32px rgba(5,33,77,.32),3px 0 0 rgba(81,207,175,.52),-3px 0 0 rgba(255,126,112,.45)}
html[data-theme="dark"] .map-reveal:before{background:repeating-linear-gradient(180deg,transparent 0 8px,rgba(255,255,255,.07) 8px 9px)}
html[data-theme="dark"] .map-reveal .map-reveal-index{color:#dfff54}
html[data-theme="dark"] .map-reveal .map-reveal-label{color:#adcaef}
html[data-theme="dark"] .map-reveal strong{color:#fff}
html[data-theme="dark"] .map-reveal-close{border:0;background:rgba(255,255,255,.12);color:white}
html[data-theme="dark"] .map-reveal-close:hover{background:rgba(19,28,48,0.26)}
html[data-theme="dark"] .map-reveal-scan{background:linear-gradient(0deg,transparent,rgba(223,255,84,.15),transparent)}

/* ---- investment.css ---- */
html[data-theme="dark"] .investment-workspace{background:#131c30;border:1px solid #243454;box-shadow:0 16px 45px rgba(21,72,126,.12)}
html[data-theme="dark"] .investment-top{background:radial-gradient(circle at 82% -30%,#1a253c 0,transparent 45%),linear-gradient(105deg,#151f31,#131c30 60%)}
html[data-theme="dark"] .investment-kicker{color:#94b4d4}
html[data-theme="dark"] .investment-kicker b{color:#b9e0dd}
html[data-theme="dark"] .investment-title h2{color:#c5d1e2}
html[data-theme="dark"] .investment-title p{color:#a4b1be}
html[data-theme="dark"] .investment-tally{color:#bdcedf}
html[data-theme="dark"] .investment-tally b{color:#bbc9df}
html[data-theme="dark"] .investment-toolbar{background:#131c30;border-bottom:1px solid #233351}
html[data-theme="dark"] .inv-search{border:1px solid #243555;background:#131c30;color:#6790b4}
html[data-theme="dark"] .inv-search:focus-within{border-color:#3988d3;box-shadow:0 0 0 3px #131c30}
html[data-theme="dark"] .inv-search input{border:0;background:none;color:#c6d1dd}
html[data-theme="dark"] .inv-search input::placeholder{color:#95a7b9}
html[data-theme="dark"] .inv-sector-select{border:1px solid #243555;background:#131c30}
html[data-theme="dark"] .inv-sector-select span{color:#89a0b6}
html[data-theme="dark"] .inv-sector-select select{border:0;background:transparent;color:#c7d2de}
html[data-theme="dark"] .inv-prototype-badge{background:#332616;color:#dab998;border:1px solid #5b4527}
html[data-theme="dark"] .investment-stage{background:#162033}
html[data-theme="dark"] .investment-maparea{background:radial-gradient(circle at 40% 35%,#151e31,#182338 78%)}
html[data-theme="dark"] .investment-maparea:before{background-image:radial-gradient(#25334e 1px,transparent 1px),linear-gradient(115deg,transparent 0 68%,rgba(19,28,48,0.3) 68% 69%,transparent 69%)}
html[data-theme="dark"] .investment-maparea:after{border:1px solid rgba(68,141,184,.14);box-shadow:0 0 0 80px rgba(68,141,184,.035),0 0 0 160px rgba(68,141,184,.035)}
html[data-theme="dark"] .investment-map-eyebrow{color:#94b1c1}
html[data-theme="dark"] .investment-map-overlay{color:#bbc9df}
html[data-theme="dark"] .investment-map-overlay span{color:#9babb9}
html[data-theme="dark"] .investment-province{stroke:#101726}
html[data-theme="dark"] .province-shape.unavailable{stroke:#101726}
html[data-theme="dark"] .investment-province.selected{fill:#c3d1e4!important;stroke:#dfff54}
html[data-theme="dark"] .marker-halo{fill:rgba(222,255,87,.7);stroke:#101726}
html[data-theme="dark"] .marker-core{fill:#b8cede;stroke:#101726}
html[data-theme="dark"] .investment-marker.active .marker-halo{fill:#dfff54}
html[data-theme="dark"] .investment-marker.active .marker-core{fill:#bbc9df}
html[data-theme="dark"] .marker-label{fill:#c3d3e1;stroke:#e4f5fb}
html[data-theme="dark"] .investment-marker.active .marker-label{fill:#c2cee2}
html[data-theme="dark"] .investment-legend{background:rgba(19,28,48,0.93);border:1px solid #243454;box-shadow:0 7px 22px rgba(15,69,113,.1)}
html[data-theme="dark"] .investment-legend span{color:#a9b6c2}
html[data-theme="dark"] .legend-active{background:#07336f;border:1px solid #dfff54}
html[data-theme="dark"] .legend-opportunity{background:#32a7c0}
html[data-theme="dark"] .legend-other{background:#1d2b44}
html[data-theme="dark"] .inv-open-panel{border:0;background:#0b3b84;color:white;box-shadow:0 8px 18px rgba(8,51,100,.22)}
html[data-theme="dark"] .investment-panel{background:#131c30;border-left:1px solid #243453;box-shadow:-14px 0 34px rgba(10,55,96,.11)}
html[data-theme="dark"] .inv-panel-head{background:linear-gradient(110deg,color-mix(in srgb,var(--inv-sector) 11%,#131c30),#131c30 73%);border-bottom:1px solid #25334f}
html[data-theme="dark"] .inv-overline{color:var(--inv-sector)}
html[data-theme="dark"] .inv-panel-head h2{color:#ccd6e3}
html[data-theme="dark"] .inv-panel-head p{color:#7d8ea0}
html[data-theme="dark"] .inv-close{border:1px solid #283753;background:#131c30;color:#aab9c6}
html[data-theme="dark"] .inv-scene{background-image:url('assets/investment-scenes.png')}
html[data-theme="dark"] .inv-scene-neutral{background-image:radial-gradient(circle at 78% 18%,#193a38 0 18%,transparent 19%),linear-gradient(135deg,#1a263d,#26334c 66%,#6ca1bf)}
html[data-theme="dark"] .inv-scene-shade{background:linear-gradient(0deg,rgba(4,29,58,.68),transparent 65%)}
html[data-theme="dark"] .inv-scene-caption{color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.38)}
html[data-theme="dark"] .inv-scene-caption .vector-icon{background:rgba(255,255,255,.19);border:1px solid rgba(38,47,64,0.36)}
html[data-theme="dark"] .inv-project-spotlight{background:linear-gradient(150deg,color-mix(in srgb,var(--inv-sector) 7%,#131c30),#131c30 76%);border-bottom:1px solid #24324f}
html[data-theme="dark"] .inv-zone{color:#a4c2d8}
html[data-theme="dark"] .inv-stage{color:var(--inv-sector);background:color-mix(in srgb,var(--inv-sector) 12%,#131c30)}
html[data-theme="dark"] .inv-project-spotlight h3{color:#d0d8e3}
html[data-theme="dark"] .inv-project-spotlight p{color:#a2abb8}
html[data-theme="dark"] .inv-need{border-left:3px solid var(--inv-sector);background:#131c30;box-shadow:0 3px 11px rgba(19,57,86,.05)}
html[data-theme="dark"] .inv-need span{color:#7a8ea2}
html[data-theme="dark"] .inv-need .vector-icon{color:var(--inv-sector)}
html[data-theme="dark"] .inv-need b{color:#cbd2da}
html[data-theme="dark"] .inv-empty{color:#c4cdd6;background:#151e30;border-bottom:1px solid #223250}
html[data-theme="dark"] .inv-empty p{color:#7b8fa4}
html[data-theme="dark"] .inv-list-heading{color:#a4b1bd}
html[data-theme="dark"] .inv-list-heading b{background:#162134;color:#a0d6e7}
html[data-theme="dark"] .inv-project-item{border:1px solid #26344f;background:#131c30}
html[data-theme="dark"] .inv-project-item:hover{box-shadow:0 6px 15px rgba(25,74,108,.1)}
html[data-theme="dark"] .inv-project-item.active{border-color:color-mix(in srgb,var(--item-color) 36%,#262f40);background:color-mix(in srgb,var(--item-color) 7%,#131c30);box-shadow:inset 3px 0 var(--item-color)}
html[data-theme="dark"] .inv-project-icon{background:color-mix(in srgb,var(--item-color) 14%,#131c30);color:var(--item-color)}
html[data-theme="dark"] .inv-project-item b{color:#c9d3dc}
html[data-theme="dark"] .inv-project-item small{color:#8b9bab}
html[data-theme="dark"] .inv-project-arrow{color:var(--item-color)}
html[data-theme="dark"] .inv-match-detail{background:#151f31;border:1px solid #223250}
html[data-theme="dark"] .inv-match-detail>span{color:#a1b1c1}
html[data-theme="dark"] .inv-match-detail p{color:#7a8da1}
html[data-theme="dark"] .inv-match-steps i{background:#1a2336;color:#9caec1}
html[data-theme="dark"] .inv-match-steps i.reached{background:#0b3b84;color:#dfff54}
html[data-theme="dark"] .investment-bottom{background:#131c30;border-top:1px solid #233251}
html[data-theme="dark"] .match-ribbon>div{background:#131c30;border:1px solid #233351}
html[data-theme="dark"] .match-ribbon>div>b{background:#0b3b84;color:#dfff54}
html[data-theme="dark"] .match-ribbon strong{color:#b0c8de}
html[data-theme="dark"] .match-ribbon small{color:#91a0af}
html[data-theme="dark"] .investment-bottom p{color:#8495a7}
html[data-theme="dark"] .subsector-hero{border:1px solid color-mix(in srgb,var(--sector) 30%,#262f40);background:linear-gradient(110deg,color-mix(in srgb,var(--sector) 16%,#131c30),#131c30)}
html[data-theme="dark"] .subsector-icon{background:#131c30;color:var(--sector);box-shadow:0 7px 16px color-mix(in srgb,var(--sector) 15%,transparent)}
html[data-theme="dark"] .subsector-hero small{color:#a5b0ba}
html[data-theme="dark"] .subsector-hero b{color:#bbc9df}
html[data-theme="dark"] .subsector-hero b small{color:#8496a5}
html[data-theme="dark"] .subsector-list>b{color:#c6cdd6}
html[data-theme="dark"] .subsector-row{border-bottom:1px solid #25324a}
html[data-theme="dark"] .subsector-row>span{color:#b1becc}
html[data-theme="dark"] .subsector-row div{background:#1a2130}
html[data-theme="dark"] .subsector-row strong{color:#c0cdd9}
html[data-theme="dark"] .movers-heading{border-bottom:1px solid #26334c}
html[data-theme="dark"] .movers-heading>span{background:#17351e;color:#a3e1d1}
html[data-theme="dark"] .movers-card.loss .movers-heading>span{background:#321c16;color:#c96c54}
html[data-theme="dark"] .movers-heading small{color:#8aa0ad}
html[data-theme="dark"] .movers-heading h3{color:#c9d5df}
html[data-theme="dark"] .shift-mover{border-bottom:1px solid #25324a}
html[data-theme="dark"] .shift-mover:last-child{border-bottom:0}
html[data-theme="dark"] .mover-rank{color:#a8b7c5}
html[data-theme="dark"] .mover-icon{background:color-mix(in srgb,var(--sector) 13%,#131c30);color:var(--sector)}
html[data-theme="dark"] .mover-copy b{color:#c5ced6}
html[data-theme="dark"] .mover-copy small{color:#92a1b0}
html[data-theme="dark"] .shift-mover>strong.up{color:#a1e6d3}
html[data-theme="dark"] .shift-mover>strong.down{color:#cf7460}
html[data-theme="dark"] .shift-explain{background:#161f33;color:#a6b4be}
html[data-theme="dark"] .shift-explain button{border:0;background:none;color:#95c4ed}
@media(max-width:1000px){
html[data-theme="dark"] .investment-panel{border-left:0;border-top:1px solid #243453}
}
@media(max-width:750px){
html[data-theme="dark"] .investment-mobile-hint{background:#0b3b84;color:white}
}
html[data-theme="dark"] .investment-workspace{border:0;box-shadow:none;background:#172136}
html[data-theme="dark"] .investment-stage,html[data-theme="dark"] .investment-stage:not(:has(.investment-panel.open)){background:transparent}
html[data-theme="dark"] .investment-maparea{background:radial-gradient(circle at 48% 43%,#151f31 0,#172236 56%,#19253b 100%)}
html[data-theme="dark"] .investment-top{border:1px solid rgba(38,47,64,0.86);background:rgba(19,28,48,0.88);box-shadow:0 18px 40px rgba(13,73,117,.15)}
html[data-theme="dark"] .investment-toolbar{border:1px solid rgba(38,47,64,0.85);background:rgba(19,28,48,0.88);box-shadow:0 12px 28px rgba(13,73,117,.12)}
html[data-theme="dark"] .inv-search{background:rgba(19,28,48,0.9)}
html[data-theme="dark"] .inv-sector-select{background:rgba(19,28,48,0.9)}
html[data-theme="dark"] .investment-legend{border-color:rgba(38,47,64,0.9);background:rgba(19,28,48,0.88);box-shadow:0 10px 24px rgba(21,72,115,.12)}
html[data-theme="dark"] .investment-bottom{border:1px solid rgba(38,47,64,0.85);background:rgba(19,28,48,0.88);box-shadow:0 14px 34px rgba(13,73,117,.14)}
html[data-theme="dark"] .investment-panel{border:1px solid rgba(35,51,82,0.92);background:rgba(19,28,48,0.975);box-shadow:0 26px 65px rgba(6,47,91,.24),0 0 0 1px rgba(19,28,48,0.55) inset}
html[data-theme="dark"] .inv-open-panel{background:rgba(9,46,114,.94);border:1px solid rgba(255,255,255,.3);box-shadow:0 12px 26px rgba(5,53,98,.25)}
html[data-theme="dark"] .inv-open-panel:hover{box-shadow:0 17px 32px rgba(5,53,98,.3)}
@media(max-width:1000px){
html[data-theme="dark"] .investment-panel{border:1px solid rgba(35,51,82,0.92)}
}
@media(max-width:850px){
html[data-theme="dark"] .investment-panel{border:1px solid rgba(35,51,82,0.92)}
}
@media(max-width:620px){
html[data-theme="dark"] .investment-mobile-hint{background:rgba(9,46,114,.9)}
}

/* ---- refinement.css ---- */
html[data-theme="dark"] .brand{border:0;background:transparent;color:inherit}
html[data-theme="dark"] .sidebar-toggle{border:1px solid #243454;background:#131c30;box-shadow:0 3px 10px rgba(26,70,120,.06)}
html[data-theme="dark"] .sidebar-toggle span{background:#12396f}
html[data-theme="dark"] .sidebar-toggle:hover{background:#151f32}
html[data-theme="dark"] .search-select-input{border:1px solid #253556;background:#131c30;color:#cdd6e0;box-shadow:0 3px 10px rgba(30,73,119,.035)}
html[data-theme="dark"] .search-select-toggle{border:0;border-left:1px solid #243351;background:#131c30;color:#abb9c7}
html[data-theme="dark"] .search-select-toggle:hover{background:#162033;color:#c3cedf}
html[data-theme="dark"] .search-select-toggle span{border-right:2px solid currentColor;border-bottom:2px solid currentColor}
html[data-theme="dark"] .search-select-input:focus{border-color:#4b87d7;box-shadow:0 0 0 3px rgba(60,126,215,.13)}
html[data-theme="dark"] .search-select-menu{background:rgba(19,28,48,0.985);border:1px solid #243454;box-shadow:0 22px 54px rgba(12,52,98,.24)}
html[data-theme="dark"] .search-select-menu button{border:0;background:transparent;color:#cdd6e0}
html[data-theme="dark"] .search-select-menu button:hover,html[data-theme="dark"] .search-select-menu button.active{background:#151f32}
html[data-theme="dark"] .search-select-menu button small{color:#a2adb9}
html[data-theme="dark"] .search-select-menu p{color:#9faab7}
html[data-theme="dark"] .filter-loading-layer{background:rgba(22,32,51,0.42)}
html[data-theme="dark"] .filter-loading-card{border:1px solid rgba(38,55,88,0.96);background:rgba(19,28,48,0.97);box-shadow:0 22px 55px rgba(13,55,101,.2)}
html[data-theme="dark"] .filter-loading-card i{border:3px solid #243454;border-top-color:#2367d3;border-right-color:#51cfaf}
html[data-theme="dark"] .filter-loading-card b{color:#c9d4e1}
html[data-theme="dark"] .filter-loading-card span{color:#a7b2bd}
html[data-theme="dark"] .module-bar p,html[data-theme="dark"] .card-head p,html[data-theme="dark"] .map-head small,html[data-theme="dark"] .metric small,html[data-theme="dark"] .source-note,html[data-theme="dark"] .map-hint,html[data-theme="dark"] .detail-number small,html[data-theme="dark"] .detail-top p,html[data-theme="dark"] .mini-stats small,html[data-theme="dark"] .rank-row,html[data-theme="dark"] .search-select-menu button small{color:#abb6c4}
html[data-theme="dark"] .footer{color:#a6b0bd}
html[data-theme="dark"] .line-hit{fill:transparent;stroke:transparent}
html[data-theme="dark"] .chart-point:focus .line-dot,html[data-theme="dark"] .chart-point:hover .line-dot{fill:#fff;stroke:#86a8de}
html[data-theme="dark"] .bar-col:hover,html[data-theme="dark"] .bar-col:focus-visible{background:#151f32}
html[data-theme="dark"] .bar-col:hover i,html[data-theme="dark"] .bar-col:focus-visible i{box-shadow:0 0 0 2px rgba(35,103,211,.12)}
html[data-theme="dark"] .map-tooltip.chart-data-tooltip{border:1px solid rgba(223,255,84,.45)}
html[data-theme="dark"] .map-tooltip.chart-data-tooltip span{color:#fff}
html[data-theme="dark"] .map-tooltip.chart-data-tooltip small{color:#b9d0ed}
html[data-theme="dark"] .growth-zero{stroke:#9fabb8}
html[data-theme="dark"] .growth-path{stroke:#86a8de}
html[data-theme="dark"] .growth-label{fill:#c5cfd8}
html[data-theme="dark"] .line-dot.negative{fill:#ff8d7d;stroke:#d4a5a2}
html[data-theme="dark"] .chartread{background:#151f32;color:#aab4c0}
html[data-theme="dark"] .chartread .tg{background:#382f18;color:#e1d6ba}
html[data-theme="dark"] .growth-extremes>div{background:#151f32}
html[data-theme="dark"] .growth-extremes small{color:#778ba2}
html[data-theme="dark"] .growth-extremes b{color:#c8d4e1}
html[data-theme="dark"] .growth-extremes span{color:#8babd9}
html[data-theme="dark"] .orbit-note{color:#a6b1be}
html[data-theme="dark"] .subsector-orbit{background:radial-gradient(circle at 50% 50%,#151f31 0,#131c30 43%,#131c30 74%)}
html[data-theme="dark"] .subsector-orbit:before,html[data-theme="dark"] .subsector-orbit:after{border:1px dashed #263758}
html[data-theme="dark"] .orbit-center{background:#131c30;border:1px solid color-mix(in srgb,var(--sector) 32%,#262f40);box-shadow:0 14px 30px color-mix(in srgb,var(--sector) 18%,transparent)}
html[data-theme="dark"] .orbit-center-icon{color:var(--sector)}
html[data-theme="dark"] .orbit-center small{color:var(--sector)}
html[data-theme="dark"] .orbit-center h3{color:#c9d4df}
html[data-theme="dark"] .orbit-center strong{color:#bbc9df}
html[data-theme="dark"] .orbit-center>span:last-child{color:#a7b3bf}
html[data-theme="dark"] .orbit-item{background:rgba(19,28,48,0.78);border:1px solid color-mix(in srgb,var(--sector) 25%,#262f40);box-shadow:0 8px 20px rgba(22,70,111,.08)}
html[data-theme="dark"] .orbit-item:before{background:color-mix(in srgb,var(--sector) 14%,transparent)}
html[data-theme="dark"] .orbit-item:hover,html[data-theme="dark"] .orbit-item:focus-visible{background:#131c30;box-shadow:0 16px 30px color-mix(in srgb,var(--sector) 18%,transparent)}
html[data-theme="dark"] .orbit-item i{background:color-mix(in srgb,var(--sector) 14%,#131c30);color:var(--sector)}
html[data-theme="dark"] .orbit-item b{color:#c4ced7}
html[data-theme="dark"] .orbit-item strong{color:var(--sector)}
html[data-theme="dark"] .province-shape.parent-aggregate{stroke:#a5cfed}
html[data-theme="dark"] .coverage-badge{background:#362d17;border:1px solid #f2d795;color:#dcd2bd}
html[data-theme="dark"] .detail-number.no-data{background:linear-gradient(145deg,#151f31,#131c30)}
html[data-theme="dark"] .detail-number.no-data strong{color:#8ca0b6}
@container(max-width:560px){
html[data-theme="dark"] .subsector-orbit{background:linear-gradient(145deg,#151f31,#131c30)}
}

/* ---- irio-dashboard.css ---- */
html[data-theme="dark"] .mover-copy small{color:#a9b4c0}
html[data-theme="dark"] .irio-tabs{background:#162034}
html[data-theme="dark"] .irio-tabs button{border:0;background:transparent;color:#a9b3c0}
html[data-theme="dark"] .irio-tabs button[aria-selected=true]{background:#0b3b84;color:white;box-shadow:0 4px 12px #0b3b8424}
html[data-theme="dark"] .irio-unit-toggle button.active{background:#0b3b84;color:#fff}
html[data-theme="dark"] .irio-filter-bar{border:1px solid #233453;background:#131c30}
html[data-theme="dark"] .irio-panel p{color:#a9b4c1}
html[data-theme="dark"] .irio-flow-svg [tabindex]:hover rect,html[data-theme="dark"] .irio-flow-svg [tabindex]:focus rect{fill:#deedfc;stroke:#84a8d2}
html[data-theme="dark"] .irio-table th{color:#aab9c7;background:#151f32;border-bottom:1px solid #253556}
html[data-theme="dark"] .irio-table td{border-bottom:1px solid #22314d}
html[data-theme="dark"] .irio-table tbody tr:hover{background:#151e31}
html[data-theme="dark"] .irio-shock-row{border-top:1px solid #22314f}
html[data-theme="dark"] .irio-number{border:1px solid #253556;color:#cdd6e0;background:#131c30}
html[data-theme="dark"] .irio-error{color:#cd9694!important;background:#321a15}
html[data-theme="dark"] .irio-empty{border:1px dashed #27395b;color:#a9b3c0}
html[data-theme="dark"] .irio-empty h3{color:#c5d0de}
html[data-theme="dark"] .irio-period-bars>div{color:#a9b6c4}
html[data-theme="dark"] .irio-period-bars i{background:linear-gradient(#51cfaf,#2367d3)}
html[data-theme="dark"] .irio-method{border:1px solid #243453;background:#131c30;color:#a9b5c3}
html[data-theme="dark"] .irio-method summary{color:#b0cae3}
html[data-theme="dark"] .irio-network-head p{color:#a9b7c6}
html[data-theme="dark"] .irio-network-total{background:#162033;color:#c0cdde}
html[data-theme="dark"] .irio-network-total small{color:#a7b4c2}
html[data-theme="dark"] .irio-network-total span{color:#a9b7c6}
html[data-theme="dark"] .irio-map-stage{border:1px solid #253555;background:radial-gradient(circle at 56% 28%,#151f31 0,#162134 48%,#182338 100%)}
html[data-theme="dark"] .irio-map-land{stroke:#101726}
html[data-theme="dark"] .irio-map-land:hover,html[data-theme="dark"] .irio-map-land:focus-visible{stroke:#bfccdd}
html[data-theme="dark"] .irio-map-land.selected{stroke:#eaff9b}
html[data-theme="dark"] .irio-map-route-halo{fill:none;stroke:#101726}
html[data-theme="dark"] .irio-map-route{fill:none;stroke:var(--route-color,#8aaeda)}
html[data-theme="dark"] .irio-map-route-flow{fill:none;stroke:#101726}
html[data-theme="dark"] .irio-map-destination{fill:#fff;stroke:#9abce4}
html[data-theme="dark"] .irio-map-source-halo{fill:#dfff54}
html[data-theme="dark"] .irio-map-source{fill:#bbc9df;stroke:#101726}
html[data-theme="dark"] .irio-map-legend{border:1px solid #253556;background:rgba(19,28,48,0.94);box-shadow:0 4px 15px #12467519;color:#c4cdd6}
html[data-theme="dark"] .irio-legend-source{background:#0b3b84;border:2px solid #dfff54}
html[data-theme="dark"] .irio-legend-partner{background:#4c93d6}
html[data-theme="dark"] .irio-map-legend .irio-legend-line{border-top:5px solid #2b73cb}
html[data-theme="dark"] .irio-flow-legend-scale{border-left:1px solid #253556}
html[data-theme="dark"] .irio-flow-legend-scale small{color:#a9b8c6}
html[data-theme="dark"] .irio-flow-legend .irio-legend-flow-low,html[data-theme="dark"] .irio-flow-legend .irio-legend-flow-medium,html[data-theme="dark"] .irio-flow-legend .irio-legend-flow-high{border-top:3px solid}
html[data-theme="dark"] .irio-flow-legend .irio-legend-flow-low{border-color:#334b78}
html[data-theme="dark"] .irio-flow-legend .irio-legend-flow-medium{border-color:#2f83c7}
html[data-theme="dark"] .irio-flow-legend .irio-legend-flow-high{border-color:#a0c4ee}
html[data-theme="dark"] .irio-flow-legend .irio-legend-motion{background:linear-gradient(90deg,#2f83c7 0 52%,#131c30 52% 76%,#2f83c7 76%)}
html[data-theme="dark"] .irio-flow-legend-direction{border-left:1px solid #253556}
html[data-theme="dark"] .irio-map-tip{border:1px solid #27385a;background:#131c30;box-shadow:0 12px 30px #104a7e29;color:#c7d2de}
html[data-theme="dark"] .irio-map-tip small{color:#abb9c5}
html[data-theme="dark"] .irio-map-footer{color:#a5b2be}
html[data-theme="dark"] .irio-data-details{border:1px solid #243454;background:#131c30}
html[data-theme="dark"] .irio-data-details>summary{color:#bfcedc}
html[data-theme="dark"] .irio-data-details[open]>summary{border-bottom:1px solid #223250;background:#151e30}
html[data-theme="dark"] .irio-data-details .irio-panel{box-shadow:none}
html[data-theme="dark"] .irio-impact-toggle button.active{background:#0b3b84;color:#fff}
html[data-theme="dark"] .irio-impact-grid section{border:1px solid #233352;background:#131c30}
html[data-theme="dark"] .irio-impact-grid h4{color:#c4d0de}
html[data-theme="dark"] .irio-impact-row{border:1px solid transparent;background:transparent;color:#c5d0dd}
html[data-theme="dark"] button.irio-impact-row:hover,html[data-theme="dark"] button.irio-impact-row.active{border-color:#283a5d;background:#162033}
html[data-theme="dark"] .irio-impact-track{background:#172135}
html[data-theme="dark"] .irio-impact-track i{background:linear-gradient(90deg,#2f75d4,#53c8c0)}
html[data-theme="dark"] .irio-impact-track i.negative{background:linear-gradient(90deg,#eb9a5d,#d76e58)}
html[data-theme="dark"] .irio-impact-note,html[data-theme="dark"] .irio-impact-unavailable{color:#a5b2be}
html[data-theme="dark"] .irio-scenario-edit{border:1px solid #243454;background:#131c30}
html[data-theme="dark"] .irio-scenario-edit>summary{color:#bfcedc}
html[data-theme="dark"] .irio-scenario-edit[open]>summary{border-bottom:1px solid #223250;background:#151e30}
html[data-theme="dark"] .irio-scenario-edit>.irio-panel{box-shadow:none;border:0}
html[data-theme="dark"] .irio-flow-view-toggle{background:#162034}
html[data-theme="dark"] .irio-flow-view-toggle span{color:#a8b4c2}
html[data-theme="dark"] .irio-flow-view-toggle button{border:0;background:transparent;color:#aebbcb}
html[data-theme="dark"] .irio-flow-view-toggle button.active{background:#0b3b84;color:#fff;box-shadow:0 4px 12px #0b3b8424}
html[data-theme="dark"] .irio-impact-map-card p{color:#a9b7c6}
html[data-theme="dark"] .irio-impact-land.selected{stroke:#dfff54}
html[data-theme="dark"] .irio-impact-map-detail{border:1px solid #253555;background:linear-gradient(155deg,#151e30,#162033)}
html[data-theme="dark"] .irio-impact-map-detail small{color:#a2b5c8}
html[data-theme="dark"] .irio-impact-map-detail h4{color:#c2cfde}
html[data-theme="dark"] .irio-impact-map-detail>strong{color:#bbc9df}
html[data-theme="dark"] .irio-impact-map-detail h5{color:#c4d0de}
html[data-theme="dark"] .irio-impact-map-detail li{border-bottom:1px solid #243453;color:#c4cdd6}
html[data-theme="dark"] .irio-impact-positive{background:#3274c5}
html[data-theme="dark"] .irio-impact-negative{background:#dc8052}
html[data-theme="dark"] .irio-impact-zero{background:#182337}
html[data-theme="dark"] .irio-impact-missing{background:repeating-linear-gradient(45deg,#1d2430 0 4px,#272e3b 4px 6px)}

/* ---- strategic-issues.css ---- */
html[data-theme="dark"] .issues-live{border:1px solid #265941;background:#163327;color:#bfdcd4}
html[data-theme="dark"] .issues-live i{background:#23bb83;box-shadow:0 0 0 5px rgba(35,187,131,.12)}
html[data-theme="dark"] .issues-filter label>span{color:#a2aebb}
html[data-theme="dark"] .issues-filter select,html[data-theme="dark"] .issues-filter input{border:1px solid #253556;background:#131c30;color:#cdd6e0}
html[data-theme="dark"] .issues-search>div{border:1px solid #253556;background:#131c30}
html[data-theme="dark"] .issues-search svg{color:#a1afbd}
html[data-theme="dark"] .issues-search input{border:0}
html[data-theme="dark"] .issues-search button{border:0;background:#0b3b84;color:#fff}
html[data-theme="dark"] .issues-loading>i{border:3px solid #243454;border-top-color:#2367d3;border-right-color:#51cfaf}
html[data-theme="dark"] .issues-loading b,html[data-theme="dark"] .issues-empty h3{color:#c9d4df}
html[data-theme="dark"] .issues-loading span,html[data-theme="dark"] .issues-empty p,html[data-theme="dark"] .issues-empty small{color:#a2afbc}
html[data-theme="dark"] .issues-empty-icon{background:#151f32;color:#86a8de}
html[data-theme="dark"] .issues-alert{border:1px solid #f1d28c;background:#352d17;color:#dcd3c3}
html[data-theme="dark"] .issues-period-summary{background:linear-gradient(110deg,#151e31,#153228)}
html[data-theme="dark"] .issues-period-summary>span{background:#162034;color:#86a8de}
html[data-theme="dark"] .issues-period-summary b{color:#c7d3df}
html[data-theme="dark"] .issues-period-summary p{color:#aab5c2}
html[data-theme="dark"] .issues-count{background:#151f32;color:#93b7e1}
html[data-theme="dark"] .issues-map{background:linear-gradient(180deg,#151f32,#172237 72%,#19243a)}
html[data-theme="dark"] .issues-map:before{background-image:radial-gradient(#23324f 1px,transparent 1px)}
html[data-theme="dark"] .issues-map .province-shape.selected{fill:inherit!important}
html[data-theme="dark"] .issues-region-legend{border:1px solid #243555;background:rgba(19,28,48,0.95);box-shadow:0 8px 20px rgba(24,75,116,.09)}
html[data-theme="dark"] .issues-region-legend button{border:0;background:transparent;color:#b1bfce}
html[data-theme="dark"] .issues-region-legend button:hover,html[data-theme="dark"] .issues-region-legend button.active{background:#162033;color:#c0cdde}
html[data-theme="dark"] .issues-region-legend i{background:var(--tone)}
html[data-theme="dark"] .issues-region-legend b{color:#bbc9df}
html[data-theme="dark"] .issue-item{border-bottom:1px solid #223250}
html[data-theme="dark"] .issue-item summary b{color:#c9d4df}
html[data-theme="dark"] .issue-item summary small{color:#9da9b6}
html[data-theme="dark"] .issue-rank{background:#151f32;color:#86a8de}
html[data-theme="dark"] .issue-item summary>i{border-right:2px solid #7890aa;border-bottom:2px solid #7890aa}
html[data-theme="dark"] .issue-item p{color:#abb8c5}
html[data-theme="dark"] .issue-item a,html[data-theme="dark"] .issues-library a{color:#86a8de}
html[data-theme="dark"] .issue-no-data{color:#a2adb9}
html[data-theme="dark"] .issue-no-data b{color:#c9d4df}
html[data-theme="dark"] .issues-library .card-head>a{background:#151f32}
html[data-theme="dark"] .issues-report-list>div{border-bottom:1px solid #25324d}
html[data-theme="dark"] .issues-report-list time{color:#a0abb8}
html[data-theme="dark"] .issues-report-list b{color:#c9d4df}
html[data-theme="dark"] .issues-report-list span{color:#8a9bad}
html[data-theme="dark"] .press-row{border-bottom:1px solid #25324d}
html[data-theme="dark"] .press-row>span{background:#151f32;color:#86a8de}
html[data-theme="dark"] .press-row b{color:#c9d4df}
html[data-theme="dark"] .press-row small{color:#a0abb8}
html[data-theme="dark"] .issues-ai{border-color:#263758;background:linear-gradient(115deg,#151e30,#18312b)}
html[data-theme="dark"] .issues-ai h3{color:#c0cdde}
html[data-theme="dark"] .issues-ai p{color:#aebbc7}
html[data-theme="dark"] .issues-ai-result{border-top:1px solid #243453}
html[data-theme="dark"] .issues-ai-result>small,html[data-theme="dark"] .issues-ai-answer>small{color:#a3b0bd}
html[data-theme="dark"] .issues-ai-answer>b{color:#c1ded5}
html[data-theme="dark"] .issues-ai-answer h4{color:#c9d4df}
html[data-theme="dark"] .issues-ai-evidence>div{border:1px solid #243453;background:#131c30}
html[data-theme="dark"] .issues-ai-evidence b{color:#c9d4df}
html[data-theme="dark"] .issues-ai-evidence small{color:#a5b0bc}
html[data-theme="dark"] .issues-ai-evidence a{color:#86a8de}
html[data-theme="dark"] .issues-ai-insight{border-top:1px solid #243453}
html[data-theme="dark"] .issues-ai-insight>b{color:#c1ded5}
html[data-theme="dark"] .issues-ai-insight h4{color:#c9d4df}

/* ---- issue-layout.css ---- */
html[data-theme="dark"] .issues-section-label span{color:#90b0dc}
html[data-theme="dark"] .issues-section-label h3{color:#c5d1e0}
html[data-theme="dark"] .issues-period-note{background:#161f32;border:1px solid #243454;color:#a8b6c6}
html[data-theme="dark"] .issues-ai-overview p{color:#c1cbd5}
html[data-theme="dark"] .issues-ai-meta{color:#a0aebb}
html[data-theme="dark"] .issues-ai-insight{background:#131c30;border:1px solid #243454}
html[data-theme="dark"] .issues-ai-insight details{border-top:1px solid #23324e}
html[data-theme="dark"] .issues-ai-insight details summary{color:#86a8de}
html[data-theme="dark"] .issues-ai-overview>details summary{color:#86a8de}
html[data-theme="dark"] .issues-ai-overview>details[open] p{color:#c1cbd5}

/* ---- map-story.css ---- */
html[data-theme="dark"] .map-story-intro h3{color:#c7d3e0}
html[data-theme="dark"] .map-story-intro p{color:#a7b3c1}
html[data-theme="dark"] .map-story-region{border:1px solid #243555;border-top:4px solid var(--story-color,#2f75d4);background:rgba(19,28,48,0.98);box-shadow:0 10px 23px rgba(20,64,104,.12);color:#ccd7e1}
html[data-theme="dark"] .map-story-region:hover,html[data-theme="dark"] .map-story-region:focus-visible{box-shadow:0 17px 30px rgba(20,64,104,.22)}
html[data-theme="dark"] .map-story-region.is-selected{border-color:#2367bc;box-shadow:0 0 0 2px rgba(35,103,188,.15),0 12px 25px rgba(20,64,104,.15)}
html[data-theme="dark"] .map-story-region span{color:#a9b8c7}
html[data-theme="dark"] .map-story-region strong{color:#c1cee1}
html[data-theme="dark"] .map-story-region small{color:#9eabb9}
html[data-theme="dark"] .map-story-guides path{fill:none;stroke:#a3c1db}
html[data-theme="dark"] .map-story-guides circle{fill:#fff;stroke:#a3c1db}
html[data-theme="dark"] .map-story-national{border:1px solid #253656;background:rgba(19,28,48,0.98);box-shadow:0 9px 22px rgba(20,64,104,.17);color:#c6d2df}
html[data-theme="dark"] .map-story-national:hover,html[data-theme="dark"] .map-story-national:focus-visible{box-shadow:0 14px 27px rgba(20,64,104,.23)}
html[data-theme="dark"] .map-story-national.is-selected{border-color:#276ec0;box-shadow:0 0 0 2px rgba(35,103,188,.15)}
html[data-theme="dark"] .map-story-national span{color:#a1b6ca}
html[data-theme="dark"] .map-story-national small{color:#a4b1bd}
html[data-theme="dark"] .map-story-layout .province-shape.map-story-selected{stroke:#dfff54}
html[data-theme="dark"] .map-story-layout .map-hint{color:#a7b4c0}

/* ---- quarterly-trend.css ---- */
html[data-theme="dark"] .trend-mode{border:1px solid #243555;background:#162033}
html[data-theme="dark"] .trend-mode button{border:0;background:transparent;color:#acbbc9}
html[data-theme="dark"] .trend-mode button.active{background:#0d428e;color:#fff;box-shadow:0 5px 13px rgba(22,79,158,.18)}
html[data-theme="dark"] .trend-mode button:hover:not(.active){background:#172236}
html[data-theme="dark"] .trend-coverage{background:#151f32;border:1px solid #243453;color:#b3c7d8}
html[data-theme="dark"] .trend-no-data h3{color:#c0cdde}
html[data-theme="dark"] .trend-no-data p{color:#a7b3c0}
html[data-theme="dark"] .quarterly-six-card{border:1px solid #243454;background:#131c30;color:#c6d0dd}
html[data-theme="dark"] .quarterly-six-card:hover,html[data-theme="dark"] .quarterly-six-card.selected{border-color:#2b71d4;background:#151f32}
html[data-theme="dark"] .quarterly-six-card small{color:#9fadbe}
html[data-theme="dark"] .quarterly-six-card strong{color:#b9c9de}
html[data-theme="dark"] .quarterly-six-card span{color:#a8b4c2}
html[data-theme="dark"] .quarterly-drill-head p{color:#a8b4c2}
html[data-theme="dark"] .quarterly-frequency{color:#9ebde7}
html[data-theme="dark"] .quarterly-drill-row{border-top:1px solid #233251}
html[data-theme="dark"] .quarterly-drill-row b{color:#c5d1de}
html[data-theme="dark"] .quarterly-drill-row small{color:#a2aebb}
html[data-theme="dark"] .quarterly-drill-row strong{color:#a2c3ed}
html[data-theme="dark"] .quarterly-more summary{color:#9dbfea}

/* ---- kinerja-chart.css ---- */
html[data-theme="dark"] .kinerja-capture{fill:transparent}
html[data-theme="dark"] .kinerja-series .kinerja-path{fill:none}
html[data-theme="dark"] .line-dot.is-active{stroke:#101726}
html[data-theme="dark"] .kinerja-dot-label{stroke:#101726}
html[data-theme="dark"] .kinerja-cross-v,html[data-theme="dark"] .kinerja-cross-h{stroke:#b4b9c3}
html[data-theme="dark"] .kinerja-cross-value{fill:#b4b9c3;stroke:#101726}
html[data-theme="dark"] .kinerja-readout{border:1px solid rgba(210,214,223,0.12);background:rgba(19,28,48,0.97);box-shadow:0 10px 26px rgba(16,24,40,.14)}
html[data-theme="dark"] .kinerja-readout strong{color:#d2d6df}
html[data-theme="dark"] .kinerja-readout-row{color:#b4b9c3}
html[data-theme="dark"] .kinerja-readout-row.is-hot{color:#d2d6df}
html[data-theme="dark"] .kinerja-readout-row small{color:#8a93a6}
html[data-theme="dark"] .kinerja-legend-item{color:#b4b9c3}
html[data-theme="dark"] .kinerja-legend-item.is-main{color:#d2d6df}
html[data-theme="dark"] .kinerja-legend-item.is-hot{color:#c2cee2}
html[data-theme="dark"] .kinerja-modal-backdrop{background:rgba(12,18,32,.55)}
html[data-theme="dark"] .kinerja-modal-panel{background:#131c30;box-shadow:0 30px 70px rgba(12,18,32,.32)}
html[data-theme="dark"] .kinerja-modal-head p{color:#b4b9c3}
html[data-theme="dark"] .kinerja-modal-close{border:1px solid rgba(210,214,223,0.14);background:#131c30;color:#b4b9c3}
html[data-theme="dark"] .kinerja-modal-close:hover{border-color:rgba(194,206,226,0.4);color:#c2cee2}
html[data-theme="dark"] .kinerja-zoom-bar{border:1px solid rgba(210,214,223,0.1);background:rgba(21,31,49,0.75)}
html[data-theme="dark"] .kinerja-compare-switch button{border:1px solid rgba(210,214,223,0.14);background:#131c30;color:#b4b9c3}
html[data-theme="dark"] .kinerja-compare-switch button.active{background:#092e72;border-color:#092e72;color:#fff}
html[data-theme="dark"] .kinerja-toggle{color:#b4b9c3}
html[data-theme="dark"] .kinerja-chip{border:1px solid rgba(210,214,223,0.14);background:#131c30;color:#b4b9c3}
html[data-theme="dark"] .kinerja-chip.on{background:#092e72;border-color:#092e72;color:#fff}
html[data-theme="dark"] .kinerja-chip-x{border:0;background:rgba(19,28,48,0.22);color:inherit}
html[data-theme="dark"] .kinerja-chip-x:hover{background:rgba(19,28,48,0.4)}
html[data-theme="dark"] .kinerja-chip-note{color:#a2a8b3}
html[data-theme="dark"] .kinerja-compare-read{border-top:1px solid rgba(210,214,223,0.08);color:#b4b9c3}
html[data-theme="dark"] .kinerja-compare-read b{color:#d2d6df}

/* ---- learning.css ---- */
html[data-theme="dark"] .learning-intro{color:#fff;background:linear-gradient(120deg,#072f70 0%,#1658b5 68%,#2f77d8 100%);box-shadow:0 22px 48px rgba(14,61,130,.2)}
html[data-theme="dark"] .learning-intro:after{border:1px solid rgba(255,255,255,.18);box-shadow:0 0 0 54px rgba(255,255,255,.05),0 0 0 108px rgba(255,255,255,.035)}
html[data-theme="dark"] .learning-intro .kicker{color:#dfff54}
html[data-theme="dark"] .learning-intro p{color:#d6e7ff}
html[data-theme="dark"] .learning-progress b{color:#dfff54}
html[data-theme="dark"] .learning-progress span{color:#d7e6fb}
html[data-theme="dark"] .learning-progress i{background:rgba(255,255,255,.18)}
html[data-theme="dark"] .learning-progress em{background:#dfff54}
html[data-theme="dark"] .learning-nav-head b{color:#cbd5e3}
html[data-theme="dark"] .learning-nav-head span{color:#9ca9b7}
html[data-theme="dark"] .learning-nav>button{border:0;background:transparent;color:#b0bbc7}
html[data-theme="dark"] .learning-nav>button:hover{background:#151f32}
html[data-theme="dark"] .learning-nav>button.active{background:#162033;color:#bbc9df}
html[data-theme="dark"] .learning-nav>button>span{background:#1a2130;color:#a7b2bf}
html[data-theme="dark"] .learning-nav>button.active>span{background:#0b3b84;color:#dfff54}
html[data-theme="dark"] .learning-nav>button.done>span{background:#17362b;color:#bce0d7}
html[data-theme="dark"] .learning-nav>button small{color:#8798ab}
html[data-theme="dark"] .lesson-card>header{background:linear-gradient(145deg,#151f32,#131c30)}
html[data-theme="dark"] .lesson-card>header>div{color:#8dafe0}
html[data-theme="dark"] .learn-icon{background:#0b3b84;color:#dfff54}
html[data-theme="dark"] .learn-icon .vector-icon{stroke:currentColor}
html[data-theme="dark"] .lesson-card>header h2{color:#cbd5e3}
html[data-theme="dark"] .lesson-card>header p{color:#aab4c0}
html[data-theme="dark"] .lesson-body>p{color:#b8c4d1}
html[data-theme="dark"] .learn-example{background:#151f32;border:1px solid #233453;color:#c2cbd6}
html[data-theme="dark"] .learn-example>b{color:#bbc9df}
html[data-theme="dark"] .value-chain span{background:#131c30;box-shadow:0 5px 16px rgba(24,72,125,.08)}
html[data-theme="dark"] .value-chain small{color:#a4aeb9}
html[data-theme="dark"] .value-chain i{color:#89abda}
html[data-theme="dark"] .learn-columns>div{border:1px solid #243454;background:#131c30}
html[data-theme="dark"] .learn-columns b{color:#c7d3e0}
html[data-theme="dark"] .learn-columns p{color:#a8b2be}
html[data-theme="dark"] .learn-note{background:#332b16;border:1px solid #62532a;color:#dcd1b8}
html[data-theme="dark"] .learn-note b{color:#e1d7bd}
html[data-theme="dark"] .learn-sector-grid>div{background:#151f31}
html[data-theme="dark"] .learn-sector-grid b{color:#c6d1dd}
html[data-theme="dark"] .learn-sector-grid small{color:#7d8da1}
html[data-theme="dark"] .formula{background:#092f6f;color:#fff}
html[data-theme="dark"] .formula span{color:#bcd5f7}
html[data-theme="dark"] .measure-list>div{background:#151f31;border-left:4px solid #2d70d1}
html[data-theme="dark"] .measure-list b{color:#c9d4e2}
html[data-theme="dark"] .measure-list span{color:#a7b1bd}
html[data-theme="dark"] .reading-flow span{color:#b8c7d6}
html[data-theme="dark"] .reading-flow span b{background:#0b3b84;color:#dfff54}
html[data-theme="dark"] .reading-flow i{color:#7aa4da}
html[data-theme="dark"] .checklist label{background:#151f31}
html[data-theme="dark"] .checklist label>span{color:#8aabda}
html[data-theme="dark"] .checklist b{color:#c7d2de}
html[data-theme="dark"] .checklist small{color:#a4aeb9}
html[data-theme="dark"] .learning-quiz{border:1px solid #243453;background:#131c30}
html[data-theme="dark"] .quiz-head span{color:#8aabd9}
html[data-theme="dark"] .quiz-head h3{color:#c9d3e1}
html[data-theme="dark"] .quiz-head>b{color:#a1acb8}
html[data-theme="dark"] .learning-quiz fieldset{border:0}
html[data-theme="dark"] .learning-quiz legend{color:#c5ccd4}
html[data-theme="dark"] .quiz-option{border:1px solid #243454;background:#131c30;color:#b5c1ce}
html[data-theme="dark"] .quiz-option:hover:not(:disabled){border-color:#2f73d1;background:#151f31}
html[data-theme="dark"] .quiz-option>span{background:#182132;color:#aac0d9}
html[data-theme="dark"] .quiz-option.right{border-color:#2f6d5a;background:#16342a;color:#c1e2da}
html[data-theme="dark"] .quiz-option.wrong{border-color:#5d2f28;background:#321a15;color:#d19a96}
html[data-theme="dark"] .quiz-result{border-top:1px solid #243454}
html[data-theme="dark"] .quiz-result b{color:#bde0d7}
html[data-theme="dark"] .quiz-result span{color:#a4aeb9}
html[data-theme="dark"] .quiz-result button,html[data-theme="dark"] .lesson-actions button{border:1px solid #27395a;background:#131c30;color:#aac5e4}
html[data-theme="dark"] .lesson-actions button:last-child{background:#0b3b84;color:#fff;border-color:#0b3b84}

/* ---- landing.css ---- */
html[data-theme="dark"] .app-shell.landing-mode{background:#061024}
html[data-theme="dark"] .pl{color:#fff;background:#061024}
html[data-theme="dark"] .pl-progress{background:linear-gradient(90deg,#51cfaf,#dfff54)}
html[data-theme="dark"] .pl-nav{background:rgba(6,16,36,.92);border-bottom:1px solid rgba(255,255,255,.08)}
html[data-theme="dark"] .pl-nav-brand{color:inherit;background:none;border:0}
html[data-theme="dark"] .pl-nav-mark{background:#dfff54;color:#061024}
html[data-theme="dark"] .pl-nav-links button{border:0;background:none;color:rgba(255,255,255,.62)}
html[data-theme="dark"] .pl-nav-links button:hover{color:#fff;background:rgba(255,255,255,.08)}
html[data-theme="dark"] .pl-nav-links button[aria-current="true"]{color:#dfff54}
html[data-theme="dark"] .pl-enter{border:0;background:#dfff54;color:#061024}
html[data-theme="dark"] .pl-enter:hover{box-shadow:0 10px 26px rgba(223,255,84,.26)}
html[data-theme="dark"] .pl-hero{background:radial-gradient(1100px 620px at 76% 18%,rgba(35,103,211,.34),transparent 62%),
    radial-gradient(760px 520px at 12% 88%,rgba(81,207,175,.16),transparent 60%),
    linear-gradient(176deg,#061024 0%,#08203f 54%,#061024 100%)}
html[data-theme="dark"] .pl-hero-grid{background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px)}
html[data-theme="dark"] .pl-hero-map path{stroke:currentColor}
html[data-theme="dark"] .pl-hero-map circle{fill:currentColor}
html[data-theme="dark"] .pl-hero-legend p{color:rgba(190,215,248,.62)}
html[data-theme="dark"] .pl-hero-legend li{color:rgba(214,232,255,.8)}
html[data-theme="dark"] .pl-hero-legend i{box-shadow:0 0 9px currentColor}
html[data-theme="dark"] .pl-hero-inner:before{background:radial-gradient(62% 64% at 18% 50%,rgba(6,16,36,.88),rgba(6,16,36,.45) 58%,transparent 76%)}
html[data-theme="dark"] .pl-kicker{color:rgba(198,222,255,.82)}
html[data-theme="dark"] .pl-kicker i{background:#dfff54;box-shadow:0 0 0 5px rgba(223,255,84,.14)}
html[data-theme="dark"] .pl-hero-lead{color:rgba(214,232,255,.76)}
html[data-theme="dark"] .pl-btn{border:0}
html[data-theme="dark"] .pl-btn-primary{background:#dfff54;color:#061024}
html[data-theme="dark"] .pl-btn-primary:hover{box-shadow:0 16px 34px rgba(223,255,84,.24)}
html[data-theme="dark"] .pl-btn-ghost{background:rgba(255,255,255,.07);color:#fff;border:1px solid rgba(255,255,255,.18)}
html[data-theme="dark"] .pl-btn-ghost:hover{background:rgba(255,255,255,.13)}
html[data-theme="dark"] .pl-scrollcue{color:rgba(198,222,255,.6)}
html[data-theme="dark"] .pl-scrollcue i{background:linear-gradient(rgba(223,255,84,.9),transparent)}
html[data-theme="dark"] .pl-lens{background:#151e31;color:#d1d9e3}
html[data-theme="dark"] .pl-lens-head{border-bottom:1px solid #243453}
html[data-theme="dark"] .pl-lens-head h2{color:#d4dce8}
html[data-theme="dark"] .pl-lens-head p{color:#abb7c2}
html[data-theme="dark"] .pl-step-q{color:#d4dce8}
html[data-theme="dark"] .pl-step p{color:#b0bbc7}
html[data-theme="dark"] .pl-step-read b{color:#d4dce8}
html[data-theme="dark"] .pl-step-read span{color:#a5afbb}
html[data-theme="dark"] .pl-chips button{border:1px solid #243453;background:#131c30;color:#b0bccc}
html[data-theme="dark"] .pl-chips button:hover{border-color:#9dc0ea;color:#c8d2df}
html[data-theme="dark"] .pl-chips button[aria-pressed="true"]{background:#0b2d66;border-color:#0b2d66;color:#fff}
html[data-theme="dark"] .pl-map{background:linear-gradient(180deg,#131c30,#162033);border:1px solid #243453;box-shadow:0 30px 70px rgba(17,60,110,.12)}
html[data-theme="dark"] .pl-map path{stroke:#101726}
html[data-theme="dark"] .pl-map-note{color:#86a3bd}
html[data-theme="dark"] .pl-legend span{color:#a8b4c0}
html[data-theme="dark"] .pl-legend i{border:1px solid rgba(200,213,227,0.08)}
html[data-theme="dark"] .pl-rail i{background:#1a2438}
html[data-theme="dark"] .pl-rail i.on{background:#0b2d66}
html[data-theme="dark"] .pl-figures{background:#131c30;color:#d1d9e3;border-top:1px solid #243453}
html[data-theme="dark"] .pl-fig{border-left:1px solid #243453}
html[data-theme="dark"] .pl-fig:first-child{border-left:0}
html[data-theme="dark"] .pl-fig b{color:#d4dce8}
html[data-theme="dark"] .pl-fig span{color:#a8b4c0}
html[data-theme="dark"] .pl-fig-foot{color:#7b8fa5}
html[data-theme="dark"] .pl-modules{background:#151e31;color:#d1d9e3}
html[data-theme="dark"] .pl-modules h2{color:#d4dce8}
html[data-theme="dark"] .pl-modules .pl-sub{color:#abb7c2}
html[data-theme="dark"] .pl-table{border-top:1px solid #263758}
html[data-theme="dark"] .pl-row{border:0;border-bottom:1px solid #243453;background:none}
html[data-theme="dark"] .pl-row:hover,html[data-theme="dark"] .pl-row:focus-visible{background:#162033}
html[data-theme="dark"] .pl-row b{color:#d4dce8}
html[data-theme="dark"] .pl-row p{color:#abb7c2}
html[data-theme="dark"] .pl-tag.src{background:#162033;color:#a5c0e4}
html[data-theme="dark"] .pl-tag.ilu{background:#352b17;color:#e5cca4}
html[data-theme="dark"] .pl-claim{background:#061024;color:#fff}
html[data-theme="dark"] .pl-claim:before{background:radial-gradient(closest-side,rgba(35,103,211,.3),transparent)}
html[data-theme="dark"] .pl-claim-rule{background:#dfff54}
html[data-theme="dark"] .pl-claim-body p{color:rgba(206,226,250,.76)}
html[data-theme="dark"] .pl-claim-body p b{color:#fff}
html[data-theme="dark"] .pl-end{background:linear-gradient(168deg,#0a2350,#061024 70%);color:#fff}
html[data-theme="dark"] .pl-end p{color:rgba(206,226,250,.7)}
html[data-theme="dark"] .pl-foot{border-top:1px solid rgba(255,255,255,.1);color:rgba(188,211,240,.56)}
@media(max-width:980px){
html[data-theme="dark"] .pl-stage{background:linear-gradient(180deg,#151e31 0 88%,rgba(245,249,254,0))}
html[data-theme="dark"] .pl-fig{border-left:0;border-top:1px solid #243453}
html[data-theme="dark"] .pl-fig:first-child{border-top:0}
}
html[data-theme="dark"].landing-boot{background:#061024}
html[data-theme="dark"].landing-boot body{background:#061024}
html[data-theme="dark"].landing-boot .app-shell{background:#061024}
html[data-theme="dark"].landing-boot .loading{background:none;border:0;color:rgba(190,215,248,.5)}
html[data-theme="dark"].landing-boot .loading:before{border:2px solid rgba(223,255,84,.22);border-top-color:#dfff54}
html[data-theme="dark"] .pl-purposes{background:#151f31}
html[data-theme="dark"] .pl-purpose{border:1px solid #243453;border-top:5px solid #1b5db8;background:#131c30;box-shadow:0 10px 28px rgba(12,55,112,.06)}
html[data-theme="dark"] .pl-purpose:nth-child(2){border-top-color:#3a78d5}
html[data-theme="dark"] .pl-purpose:nth-child(3){border-top-color:#61758b}
html[data-theme="dark"] .pl-purpose>span{color:#91b2e0}
html[data-theme="dark"] .pl-purpose h2{color:#cad6e4}
html[data-theme="dark"] .pl-purpose p{color:#adbac7}
html[data-theme="dark"] .pl-purpose-links button{border:1px solid #233453;background:#151e30;color:#bdccdd}
html[data-theme="dark"] .pl-purpose-links button:hover{border-color:#67a0e5;background:#151f32}
html[data-theme="dark"] .pl-purposes{background:#151f31;color:#cdd7e2}
html[data-theme="dark"] .pl-purposes>.pl-purpose{border:0;border-top:1px solid #243453;box-shadow:none;background:linear-gradient(130deg,#151e30,#162033)}
html[data-theme="dark"] .pl-purposes>.pl-purpose:nth-child(2){background:linear-gradient(130deg,#162033,#151e30)}
html[data-theme="dark"] .pl-purposes>.pl-purpose:nth-child(3){background:linear-gradient(130deg,#151e30,#161f33)}
html[data-theme="dark"] .pl-purpose-kicker{color:#86a8de}
html[data-theme="dark"] .pl-purpose-copy h2{color:#c7d1e3}
html[data-theme="dark"] .pl-purpose-copy>p{color:#adbac7}
html[data-theme="dark"] .pl-purpose-links button{border:1px solid #263758;background:rgba(19,28,48,0.9);color:#c2cede}
html[data-theme="dark"] .pl-purpose-links button:hover{border-color:#4f91dc;box-shadow:0 8px 22px rgba(30,85,148,.12)}
html[data-theme="dark"] .pl-purpose-links button>b{background:#162033;color:#96b6e3}
html[data-theme="dark"] .pl-purpose-links button small{color:#a5b1be}
html[data-theme="dark"] .pl-purpose-links button>i{color:#86a8de}
html[data-theme="dark"] .pl-purpose-art{background:linear-gradient(145deg,#092e72,#2367d3);box-shadow:0 30px 60px rgba(10,54,113,.18);color:#fff}
html[data-theme="dark"] .pl-purpose-art:before,html[data-theme="dark"] .pl-purpose-art:after{border:1px solid rgba(255,255,255,.16)}
html[data-theme="dark"] .pl-purpose-art-head,html[data-theme="dark"] .pl-purpose-art-foot{color:#bed8fb}
html[data-theme="dark"] .pl-purpose-art-node strong{color:#dfff54}
html[data-theme="dark"] .pl-purpose-art-path span{border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12)}
html[data-theme="dark"] .pl-purpose-art-monitor{background:linear-gradient(145deg,#073e73,#228bc1)}
html[data-theme="dark"] .pl-purpose-art-bars{border-bottom:1px solid rgba(38,47,64,0.4)}
html[data-theme="dark"] .pl-purpose-art-bars i{background:linear-gradient(#dfff54,#4cc7ad)}
html[data-theme="dark"] .pl-purpose-art-learning{background:linear-gradient(145deg,#123862,#4a77aa)}
html[data-theme="dark"] .pl-purpose-art-lessons span{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.13)}
html[data-theme="dark"] .pl-purpose-art-lessons small{color:#d6e8ff}

/* ---- compact-map-ui.css ---- */
html[data-theme="dark"] .sidebar{background:linear-gradient(165deg,rgba(7,44,105,.94),rgba(12,70,147,.88));border-right:1px solid rgba(255,255,255,.22);box-shadow:7px 0 28px rgba(9,46,114,.08)}
html[data-theme="dark"] .content:has(.map-story-layout) .hero{box-shadow:0 10px 27px rgba(9,46,114,.12)}
html[data-theme="dark"] .map-story-layout+.module-bar{border:1px solid #243453;background:rgba(19,28,48,0.93);box-shadow:0 7px 18px rgba(20,63,115,.05)}
html[data-theme="dark"] .map-tooltip.profile-map-tooltip{box-shadow:0 17px 42px rgba(6,37,81,.2)}
html[data-theme="dark"] .profile-tip-list{border-top:1px solid #223250}
html[data-theme="dark"] .profile-tip-list>small{color:#98bfdd}
html[data-theme="dark"] .profile-tip-list>span{color:#c2cdd6}
html[data-theme="dark"] .profile-tip-list>span i{background:#19332a;color:#bbdad1}
html[data-theme="dark"] .profile-tip-list>span strong{color:#a5cfed}
html[data-theme="dark"] .pl-hero{background:radial-gradient(1000px 620px at 54% 83%,rgba(28,111,196,.24),transparent 70%),linear-gradient(180deg,#061b38 0%,#092b5a 100%)}
html[data-theme="dark"] .pl-hero-map path{stroke:rgba(236,250,255,.92)}
html[data-theme="dark"] .pl-hero-map path:hover,html[data-theme="dark"] .pl-hero-map path:focus-visible{stroke:#dfff54}
html[data-theme="dark"] .pl-map-tip{border:1px solid #253657;background:rgba(19,28,48,0.97);box-shadow:0 13px 36px rgba(1,20,52,.25);color:#c6d2df}
html[data-theme="dark"] .pl-map-tip small{color:#98bcdb}
html[data-theme="dark"] .pl-map-tip b{color:#a1d3ec}
html[data-theme="dark"] .pl-map-tip em{color:#ade1d3}

/* ---- map-proportions.css ---- */
@media (min-width:621px){
html[data-theme="dark"] .sidebar,html[data-theme="dark"] .sidebar-collapsed .sidebar{color:#c5d2e0;background:linear-gradient(90deg,rgba(19,28,48,0.6),rgba(19,28,48,0.27) 58%,rgba(255,255,255,0));border:0;box-shadow:none}
html[data-theme="dark"] .sidebar:hover,html[data-theme="dark"] .app-shell:not(.sidebar-collapsed) .sidebar{background:linear-gradient(90deg,rgba(19,28,48,0.76),rgba(19,28,48,0.48) 62%,rgba(255,255,255,0));box-shadow:none}
html[data-theme="dark"] .sidebar #mainNav button,html[data-theme="dark"] .sidebar-collapsed #mainNav button{color:#c5cfd8}
html[data-theme="dark"] .sidebar #mainNav button:hover{background:rgba(35,103,188,.11);color:#c1cfe3}
html[data-theme="dark"] .sidebar #mainNav button.active{background:rgba(19,28,48,0.78);color:#c0cee1;box-shadow:none}
html[data-theme="dark"] .sidebar .nav-caption{color:#a5b2c1}
html[data-theme="dark"] .sidebar .brand strong,html[data-theme="dark"] .sidebar .brand small,html[data-theme="dark"] .sidebar .sidebar-foot b,html[data-theme="dark"] .sidebar .sidebar-foot small{color:#c5d2e0}
html[data-theme="dark"] .sidebar .sidebar-foot{border-color:rgba(189,204,220,0.13)}
}
html[data-theme="dark"] .map-story-layout>.map-card .map-wrap{background:linear-gradient(180deg,#162033,#182237 72%,#182339)}
html[data-theme="dark"] .map-story-back{border:1px solid #26385a;background:rgba(19,28,48,0.94);color:#c2cfde;box-shadow:0 5px 15px rgba(17,67,111,.10)}
html[data-theme="dark"] .map-story-back:hover,html[data-theme="dark"] .map-story-back:focus-visible{background:#162033}
html[data-theme="dark"] .map-story-zoom{border:1px solid #283a5d;background:rgba(19,28,48,0.96);box-shadow:0 7px 20px rgba(15,60,111,.16)}
html[data-theme="dark"] .map-story-zoom button{border:0;border-bottom:1px solid #243454;background:transparent;color:#c2cedd}
html[data-theme="dark"] .map-story-zoom button:last-child{border-bottom:0}
html[data-theme="dark"] .map-story-zoom button:hover,html[data-theme="dark"] .map-story-zoom button:focus-visible{background:#162033;color:#9ac1ed}
html[data-theme="dark"] .profile-tip-list>small{color:#c5d1de}
html[data-theme="dark"] .profile-tip-list>span{color:#c5d1de}
html[data-theme="dark"] .profile-tip-list>span i{background:#172135;color:#c2cfdf}
html[data-theme="dark"] .profile-tip-list>span b,html[data-theme="dark"] .profile-tip-list>span strong{color:#cad5e1}

/* ---- map-story-inara.css ---- */
html[data-theme="dark"] .map-story-national{border-top:4px solid #a5c9ed}
html[data-theme="dark"] .map-story-province{border:1px solid #26385a;border-top:4px solid #9bbfe6;background:rgba(19,28,48,0.98);box-shadow:0 15px 35px rgba(16,67,109,.18);color:#cad5e1}
html[data-theme="dark"] .map-story-province>span{color:#a6bcd0}
html[data-theme="dark"] .map-story-province>small{color:#abb8c4}
html[data-theme="dark"] .map-story-province ol{border-top:1px solid #233351}
html[data-theme="dark"] .map-story-province li{border-bottom:1px solid #233351}
html[data-theme="dark"] .map-story-province li strong{color:#c0cee1}
html[data-theme="dark"] .map-story-province-value{color:#c0cee1}
html[data-theme="dark"] .map-story-province em{color:#a3aeb9}

/* ---- assessment-focus.css ---- */
html[data-theme="dark"] .focus-quarter-bars{border-bottom:1px solid #243454}
html[data-theme="dark"] .focus-quarter-bar b{background:linear-gradient(180deg,#2e80df,#0c418b)}
html[data-theme="dark"] .focus-quarter-bar small{color:#a3b1c0}
html[data-theme="dark"] .focus-drivers h3,html[data-theme="dark"] .focus-profile h3{color:#c9d4df}
html[data-theme="dark"] .focus-drivers p,html[data-theme="dark"] .focus-profile p{color:#a8b3c0}
html[data-theme="dark"] .focus-driver,html[data-theme="dark"] .focus-lu-row{border:0;border-bottom:1px solid #233351;background:transparent;color:#c9d4df}
html[data-theme="dark"] .focus-driver:hover,html[data-theme="dark"] .focus-lu-row:hover,html[data-theme="dark"] .focus-lu-row.active{background:#151f32}
html[data-theme="dark"] .focus-driver strong,html[data-theme="dark"] .focus-lu-row strong{color:#a6c9ee}
html[data-theme="dark"] .focus-driver strong.negative{color:#d4a391}
html[data-theme="dark"] .focus-drivers details,html[data-theme="dark"] .focus-profile-more{color:#86a8de}
html[data-theme="dark"] .focus-profile-head>b{color:#a6c9ee;background:#151f32}
html[data-theme="dark"] .focus-lu-row i{background:#162034;color:#a7c9ea}
html[data-theme="dark"] .focus-profile-detail{background:#151f32;border:1px solid #233352}
html[data-theme="dark"] .focus-profile-detail>small{color:#a3b9ce}
html[data-theme="dark"] .focus-profile-detail h4{color:#c9d4df}
html[data-theme="dark"] .focus-child{border-top:1px solid #243454;color:#c9d4df}
html[data-theme="dark"] .focus-child b{color:#a6c9ee}
html[data-theme="dark"] .focus-data-note{background:#352b17;color:#e7d1ae!important}

/* ---- boot-screen.css ---- */
html[data-theme="dark"] .boot-screen{background:radial-gradient(circle at 50% 36%,#0d3670 0,#071f46 42%,#061834 85%);color:#fff}
html[data-theme="dark"] .boot-screen__mark{background:#dfff54;color:#092e72;box-shadow:0 16px 40px rgba(3,14,42,.25)}
html[data-theme="dark"] .boot-screen__mark span{color:#8ca9da}
html[data-theme="dark"] .boot-screen__eyebrow{color:#b9d5f5}
html[data-theme="dark"] .boot-screen p{color:#c4d7ed}
html[data-theme="dark"] .boot-screen__progress{background:rgba(255,255,255,.15)}
html[data-theme="dark"] .boot-screen__progress span{background:#dfff54}
html[data-theme="dark"] .boot-screen__retry{border:1px solid rgba(255,255,255,.28);background:#dfff54;color:#092e72}

/* ---- unified-map.css ---- */
html[data-theme="dark"] .page-heading{background:linear-gradient(105deg, #082e66, #1654a8 69%, #2d6ad0);box-shadow:0 11px 28px rgba(11, 54, 115, .16);color:#fff}
html[data-theme="dark"] .page-heading::before,html[data-theme="dark"] .page-heading::after{border:1px solid rgba(38,55,88,0.17)}
html[data-theme="dark"] .page-heading::before{box-shadow:0 0 0 55px rgba(178, 214, 255, .045)}
html[data-theme="dark"] .page-heading-kicker{color:#b9d7f9}
html[data-theme="dark"] .page-heading-kicker i{background:#dfff54;box-shadow:0 0 0 4px rgba(223, 255, 84, .16)}
html[data-theme="dark"] .page-compact-title{color:#fff}
html[data-theme="dark"] #compactPageIntro{color:#d7e8ff}
html[data-theme="dark"] .app-shell:not(.landing-mode) #mainNav button[data-view="overview"]{border:1px solid #1956a2;background:linear-gradient(115deg, #0d3b7c, #2665b7);color:#fff;box-shadow:0 5px 13px rgba(14, 65, 132, .2)}
html[data-theme="dark"] .app-shell:not(.landing-mode) #mainNav button[data-view="overview"]:hover{background:linear-gradient(115deg, #114b99, #3377cc)}
html[data-theme="dark"] .app-shell:not(.landing-mode) #mainNav button[data-view="overview"] .nav-icon{color:#dfff54}
html[data-theme="dark"] .app-shell #mainNav .nav-analysis-caption{border-top:1px solid #253556;color:#a1b0bf}
html[data-theme="dark"] .app-shell.sidebar-collapsed .sidebar:not(:hover) #mainNav .nav-analysis-caption{color:transparent}
html[data-theme="dark"] .map-unified-toolbar{border-bottom:1px solid #233251;background:#131c30}
html[data-theme="dark"] .map-unified-tabs{background:#161f33}
html[data-theme="dark"] .map-unified-tabs button{border:0;background:transparent;color:#b4c7d9}
html[data-theme="dark"] .map-unified-tabs button.active{background:#0e438c;color:white;box-shadow:0 3px 9px rgba(11,54,115,.18)}
html[data-theme="dark"] .map-unified-tabs button:hover:not(.active),html[data-theme="dark"] .map-unified-tabs button:focus-visible:not(.active){background:#172236}
html[data-theme="dark"] .map-story-selection{border:1px solid #263758;background:#131c30;box-shadow:0 10px 30px rgba(12, 45, 86, .18);color:#c9d4df}
html[data-theme="dark"] .map-story-selection-head{background:linear-gradient(115deg, #0b356e, #2867bd);color:#fff}
html[data-theme="dark"] .map-story-selection-head small{color:#bed8fa}
html[data-theme="dark"] .map-story-selection-main > summary{color:#adc8e7}
html[data-theme="dark"] .map-story-selection-lu{border-top:1px solid #233251}
html[data-theme="dark"] .map-story-selection-lu > summary i{background:#162034;color:#9ebfe4}
html[data-theme="dark"] .map-story-selection-lu > summary strong{color:#9dbee8}
html[data-theme="dark"] .map-story-selection-children{background:#151e31}
html[data-theme="dark"] .map-story-selection-children > div + div{border-top:1px solid #233352}
html[data-theme="dark"] .map-story-selection-children > div b{color:#9dbfe8}
html[data-theme="dark"] .map-story-selection-children > small{color:#a5b2bf}
html[data-theme="dark"] .map-lu-drawer > summary{border:1px solid #283a5d;background:#131c30;color:#becbdd;box-shadow:0 5px 13px rgba(12,56,108,.14)}
html[data-theme="dark"] .map-lu-drawer-content{border:1px solid #243555;background:#131c30;box-shadow:0 18px 45px rgba(13,48,88,.2)}
html[data-theme="dark"] .map-lu-drawer-content .focus-profile{border:0;box-shadow:none}

/* ---- profil-map-labels.css ---- */
html[data-theme="dark"] .map-province-labels{fill:#caced4;stroke:#101726}
html[data-theme="dark"] .map-story-layout .province-shape{stroke:#101726}

/* ---- map-callout.css ---- */
html[data-theme="dark"] .map-story-cards.is-floating .map-story-region{color:#cbd5e5;background:#131c30;border:1px solid rgba(203,213,229,0.1);border-left:4px solid var(--story-color,#2f75d4);box-shadow:0 6px 16px rgba(11,42,91,.2)}
html[data-theme="dark"] .map-story-cards.is-floating .map-story-region:hover,html[data-theme="dark"] .map-story-cards.is-floating .map-story-region:focus-visible{box-shadow:0 8px 22px rgba(11,42,91,.34)}
html[data-theme="dark"] .map-story-cards.is-floating .map-story-region.is-selected{box-shadow:0 0 0 2px rgba(11,42,91,.25),0 8px 22px rgba(11,42,91,.3)}
html[data-theme="dark"] .map-story-cards.is-floating .map-story-region span{color:#aab2be}
html[data-theme="dark"] .map-story-cards.is-floating .map-story-region strong{color:#cbd5e5}
html[data-theme="dark"] .map-story-cards.is-floating .map-story-region b,html[data-theme="dark"] .map-story-cards.is-floating .map-story-region small{color:#aab2be}
html[data-theme="dark"] .map-story-layout .map-story-guides path{fill:none;stroke:#cbd5e5}
html[data-theme="dark"] .map-story-layout .map-story-guides circle{fill:#cbd5e5;stroke:#101726}
html[data-theme="dark"] .map-story-layout .map-story-national{border:1px solid rgba(203,213,229,0.1);border-left:4px solid #cbd5e5;box-shadow:0 6px 16px rgba(11,42,91,.2);color:#cbd5e5}
html[data-theme="dark"] .map-story-layout .map-story-national:hover,html[data-theme="dark"] .map-story-layout .map-story-national:focus-visible{box-shadow:0 8px 22px rgba(11,42,91,.34)}
html[data-theme="dark"] .map-story-layout .map-story-national span{color:#aab2be}
html[data-theme="dark"] .map-story-layout .map-story-national b{color:#cbd5e5}
html[data-theme="dark"] .map-story-layout .map-story-national small{color:#aab2be}

/* ---- data-hub.css ---- */
html[data-theme="dark"] .dh-layout h3{color:#c2cee2}
html[data-theme="dark"] .dh-layout p{color:#abb6c4}
html[data-theme="dark"] .dh-ai{background:linear-gradient(135deg,#151f31,#131c30 60%);border-color:#253656}
html[data-theme="dark"] .dh-ai-row input{border:1px solid #263759;color:#d1d9e3;background:#131c30}
html[data-theme="dark"] .dh-ai-row input:focus{border-color:#2367d3;box-shadow:0 0 0 3px rgba(35,103,211,.15)}
html[data-theme="dark"] .dh-primary{border:0;background:#0c3b86;color:#fff;box-shadow:0 4px 12px rgba(12,59,134,.18)}
html[data-theme="dark"] .dh-primary:hover:not(:disabled){background:#2367d3}
html[data-theme="dark"] .dh-chips button{border:1px solid #243555;background:#131c30;color:#b4c2d3}
html[data-theme="dark"] .dh-chips button:hover{border-color:#2367d3;color:#c2cee2}
html[data-theme="dark"] .dh-ai-help{color:#a2abb8!important}
html[data-theme="dark"] .dh-ai-msg{background:#163327;border:1px solid #275b46;color:#cbdbd4}
html[data-theme="dark"] .dh-ai-msg.is-error{background:#321915;border-color:#542a24;color:#daa7a2}
html[data-theme="dark"] .dh-reset{border:1px solid #243555;background:#131c30;color:#c2cee2}
html[data-theme="dark"] .dh-reset:hover{border-color:#2367d3;background:#151f31}
html[data-theme="dark"] .dh-static div{border:1px dashed #253656;color:#b4c2d3;background:#131c30}
html[data-theme="dark"] .dh-check{border:1px solid #243555;color:#b4c2d3;background:#131c30}
html[data-theme="dark"] .dh-check:has(input:checked){border-color:#2c4066;background:#151f32;color:#c2cee2}
html[data-theme="dark"] .control label.dh-check{color:#b4c2d3}
html[data-theme="dark"] .control label.dh-check:has(input:checked){color:#c2cee2}
html[data-theme="dark"] .control label.dh-ms-opt{color:#c6cdd6}
html[data-theme="dark"] .dh-ms summary{border:1px solid #243555;color:#d1d9e3;background:#131c30 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23697d95' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center}
html[data-theme="dark"] .dh-ms[open] summary{border-color:#2367d3;box-shadow:0 0 0 3px rgba(35,103,211,.12)}
html[data-theme="dark"] .dh-ms-panel{background:#131c30;border:1px solid #253656;box-shadow:0 18px 40px rgba(20,63,115,.18)}
html[data-theme="dark"] .dh-ms-search{border:1px solid #243555}
html[data-theme="dark"] .dh-ms-actions button{border:1px solid #243555;background:#151e30;color:#c2cee2}
html[data-theme="dark"] .dh-ms-group small{color:#7a8ca3}
html[data-theme="dark"] .dh-ms-opt{color:#c6cdd6}
html[data-theme="dark"] .dh-ms-opt:hover{background:#151f32}
html[data-theme="dark"] .dh-preview-head{border-bottom:1px solid #22314e}
html[data-theme="dark"] .dh-table th{background:#151e31;color:#abb6c3;border-bottom:1px solid #233352}
html[data-theme="dark"] .dh-table td{border-bottom:1px solid #21304d;color:#ccd3dc}
html[data-theme="dark"] .dh-table tbody tr:hover td{background:#131c30}
html[data-theme="dark"] .dh-na{color:#a3b2c4}
html[data-theme="dark"] .dh-status{background:#342716;color:#eac8a1}
html[data-theme="dark"] .dh-pager{color:#abb6c3}
html[data-theme="dark"] .dh-empty{color:#abb6c3}
html[data-theme="dark"] .dh-ok{color:#b1e3cf}
html[data-theme="dark"] .dh-no{color:#d39e98}
html[data-theme="dark"] .irio-ai{background:linear-gradient(135deg,#151f31,#131c30 60%);border-color:#253656}
html[data-theme="dark"] .irio-ai-table input{border:1px solid #243555}
html[data-theme="dark"] .irio-ai-total{color:#b4c2d3}
html[data-theme="dark"] .irio-ai-total input{border:1px solid #243555}
html[data-theme="dark"] .irio-ai-tag{background:#342716;color:#eac8a1}

/* ---- narasi-ai.css ---- */
html[data-theme="dark"] .profile-map-tooltip .profile-tip-summary{background:#151f31;border:1px solid #233251}
html[data-theme="dark"] .profile-map-tooltip .profile-tip-summary small{color:#a8b4c1}
html[data-theme="dark"] .profile-map-tooltip .profile-tip-summary h4{color:#c8d3e4}
html[data-theme="dark"] .profile-map-tooltip .profile-tip-summary mark{background:#dfff54;color:#0b2f63}
html[data-theme="dark"] .map-tooltip.profile-map-tooltip .profile-tip-summary p{color:#c6cdd6}
html[data-theme="dark"] .map-tooltip.profile-map-tooltip .profile-tip-summary p b{color:#c8d3e4}
html[data-theme="dark"] .pts-potential span{color:#a8b4c1}
html[data-theme="dark"] .pts-potential i{background:#131c30;border:1px solid #243454;color:#c6cdd6}
html[data-theme="dark"] .pts-potential em{color:#7a8ca3}
html[data-theme="dark"] .pts-factors{border-top:1px dashed #253657}
html[data-theme="dark"] .pts-factors>b{color:#c2ddd2}
html[data-theme="dark"] .pts-factors>small{color:#7a8ca3!important}
html[data-theme="dark"] .pts-factors ul{color:#c6cdd6}
html[data-theme="dark"] .pts-factors li strong{color:#c8d3e4}
html[data-theme="dark"] .pts-src{color:#7a8ca3}
html[data-theme="dark"] .pts-wait{color:#7a8ca3}
html[data-theme="dark"] .kinerja-ai{border-top:1px solid #233251}
html[data-theme="dark"] .kinerja-ai-dir.up{background:#173626;color:#c2ddd2}
html[data-theme="dark"] .kinerja-ai-dir.down{background:#331916;color:#d39e98}
html[data-theme="dark"] .kinerja-ai-dir.flat{background:#1a212f;color:#b0bcca}
html[data-theme="dark"] .insight-card .kinerja-ai p{color:#b7c4d3}
html[data-theme="dark"] .insight-card .kinerja-ai .kinerja-ai-lead{color:#ccd4dd}
html[data-theme="dark"] .kinerja-ai-group.support h4{color:#c2ddd2}
html[data-theme="dark"] .kinerja-ai-group.restrain h4{color:#d39e98}
html[data-theme="dark"] .insight-card .kinerja-ai-group ul{color:#b7c4d3}
html[data-theme="dark"] .kinerja-ai-group li b{color:#ccd4dd}
html[data-theme="dark"] .kinerja-ai-group sup{color:#86a8de}
html[data-theme="dark"] .kinerja-ai-sources summary{color:#86a8de}
html[data-theme="dark"] .kinerja-ai-sources a{color:#ccd4dd}
html[data-theme="dark"] .kinerja-ai-sources small{color:#7a8ca3}
html[data-theme="dark"] .insight-card .kinerja-ai .kinerja-ai-note{color:#a2abb8}
html[data-theme="dark"] .kinerja-ai-loading{color:#a2abb8}
html[data-theme="dark"] .kinerja-ai-loading::before{border:2px solid #27385a;border-top-color:#2367d3}
html[data-theme="dark"] .quarterly-six-card .six-trend.up{color:#c2ddd2}
html[data-theme="dark"] .quarterly-six-card .six-trend.down{color:#d39e98}
html[data-theme="dark"] .quarterly-six-card .six-trend.flat{color:#a8b4c1}

/* ---- theme-toggle.css ---- */
html[data-theme="dark"] .theme-toggle{border:0;background:transparent;color:#c5cfd8}
html[data-theme="dark"] .theme-toggle:hover{background:rgba(35,103,188,.11);color:#c1cfe3}
html[data-theme="dark"] .theme-icon{fill:none;stroke:currentColor}
html[data-theme="dark"] .theme-toggle-switch{background:#212939}
html[data-theme="dark"] .theme-toggle-switch i{background:#131c30;box-shadow:0 1px 3px rgba(9,30,66,.35)}
html[data-theme="dark"][data-theme="dark"] .theme-toggle-switch{background:#4f8ff7}
html[data-theme="dark"] .theme-toggle--landing{color:#fff;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08)}
html[data-theme="dark"] .theme-toggle--landing:hover{background:rgba(255,255,255,.18);color:#fff}
@media (max-width:620px){
html[data-theme="dark"] .sidebar > .theme-toggle{color:#c6dcff}
html[data-theme="dark"] .sidebar > .theme-toggle:hover{background:rgba(255,255,255,.1);color:#fff}
}

/* ---- radar-integration.css ---- */
html[data-theme="dark"] .map-tooltip.profile-map-tooltip{background:#131c30;color:#ccd6e0;border:1px solid #26385a;box-shadow:0 22px 60px rgba(6,37,81,.25)}
html[data-theme="dark"] .profile-tip-head{background:linear-gradient(115deg,#072f59,#2367bc);color:#fff}
html[data-theme="dark"] .profile-tip-head small{color:#c6e0f5}
html[data-theme="dark"] .profile-tip-head strong{color:#fff}
html[data-theme="dark"] .profile-tip-icon{background:color-mix(in srgb,var(--sector) 30%,#131c30);color:#c2cfdf;border:1px solid rgba(38,47,64,0.7)}
html[data-theme="dark"] .profile-tip-icon .vector-icon{stroke:currentColor;fill:none}
html[data-theme="dark"] .profile-tip-lead span{color:#91b5db}
html[data-theme="dark"] .profile-tip-lead b{color:#ccd6e1}
html[data-theme="dark"] .profile-tip-metrics span{background:#161f33;border:1px solid #243453}
html[data-theme="dark"] .profile-tip-metrics b{color:#b9cadd}
html[data-theme="dark"] .profile-tip-metrics small{color:#a7b4c0}
html[data-theme="dark"] .profile-tip-kpju{border-top:1px solid #223250}
html[data-theme="dark"] .profile-tip-kpju small{color:#9dacb8}
html[data-theme="dark"] .profile-tip-kpju span{color:#c6d0d8}
html[data-theme="dark"] .profile-tip-product{background:linear-gradient(120deg,#163428,#151e31);border:1px solid #275844}
html[data-theme="dark"] .profile-tip-product.unavailable{background:#171f2f;border-color:#243352}
html[data-theme="dark"] .profile-tip-product-icon{background:#131c30;color:#bcdbd3}
html[data-theme="dark"] .profile-tip-product.unavailable .profile-tip-product-icon{color:#a2b0bc}
html[data-theme="dark"] .profile-tip-product-icon .vector-icon{fill:none;stroke:currentColor}
html[data-theme="dark"] .profile-tip-product small{color:#ade8db}
html[data-theme="dark"] .profile-tip-product b{color:#c6d3de}
html[data-theme="dark"] .profile-tip-product span:last-child{color:#a8b5c0}
html[data-theme="dark"] .map-tooltip.profile-map-tooltip p{color:#a5b0bb}
html[data-theme="dark"] .map-tooltip.profile-map-tooltip em{background:#1a3227;color:#bedcd3}
html[data-theme="dark"] .profile-kpju-card{border:1px solid #253656;background:linear-gradient(145deg,#151f31,#131c30)}
html[data-theme="dark"] .profile-kpju-card b{color:#c7d2df}
html[data-theme="dark"] .profile-kpju-list span{background:#131c30;border:1px solid #233352;color:#b6c6d7}
html[data-theme="dark"] .profile-kpju-card>small{color:#a6b4bf}
html[data-theme="dark"] .profile-kpju-card.unavailable{background:#18202e}
html[data-theme="dark"] .case-signal-head h3{color:#cad6e1}
html[data-theme="dark"] .case-signal-head p{color:#a5b2be}
html[data-theme="dark"] .case-signal-count{background:#162033;color:#99bae0}
html[data-theme="dark"] .case-signal-item{border:1px solid #243453;background:#131c30}
html[data-theme="dark"] .case-signal-item.waspada{border-color:#5c3027;background:#311d15}
html[data-theme="dark"] .case-signal-item.perhatian{border-color:#605129;background:#312815}
html[data-theme="dark"] .case-signal-icon{background:#162134;color:#9bc0e8}
html[data-theme="dark"] .case-signal-icon .vector-icon{stroke:currentColor;fill:none}
html[data-theme="dark"] .case-signal-item-title b{color:#c7d2de}
html[data-theme="dark"] .case-signal-item-title small{color:#a4b2bf}
html[data-theme="dark"] .case-signal-badge{background:#341d16;color:#d49f96}
html[data-theme="dark"] .case-signal-item.perhatian .case-signal-badge{background:#382f18;color:#e6cba4}
html[data-theme="dark"] .case-signal-item>p{color:#b6c5d4}
html[data-theme="dark"] .case-signal-item details{color:#b1c0cd}
html[data-theme="dark"] .case-signal-item summary{color:#9fbcdf}
html[data-theme="dark"] .case-signal-foot{color:#a5afba;background:#162033}
html[data-theme="dark"] .case-signal-empty{border:1px dashed #27395b;background:#131c30;color:#aab9c6}

/* ---- penyesuaian tangan ---- */
/* Penyesuaian tangan untuk mode gelap. Berkas ini ditempel di akhir
   dark-mode.css oleh scripts/gen_dark.py.
   Palet: latar #0b1220, permukaan #121c30, permukaan terangkat #18243b,
   garis #26344d, teks #dbe4f0, teks redup #9fb0c7, aksen #6ea8ff. */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body{background:#0b1220;color:#dbe4f0}
html[data-theme="dark"] .app-shell{background:radial-gradient(circle at 98% 0,#13233f 0,transparent 34%),#0b1220}
html[data-theme="dark"] ::selection{background:#2f6fe0;color:#fff}

/* Dialog sumber dan metode: tanpa ini latarnya mengikuti bawaan peramban. */
html[data-theme="dark"] .method-dialog{background:#121c30;color:#dbe4f0;border:1px solid #26344d;box-shadow:0 30px 80px rgba(0,0,0,.6)}
html[data-theme="dark"] .method-dialog::backdrop{background:rgba(2,8,20,.72)}
html[data-theme="dark"] .method-dialog a{color:#8bbcff}

/* Tombol tema */
html[data-theme="dark"] .theme-toggle{color:#c3d0e2}
html[data-theme="dark"] .theme-toggle:hover{background:rgba(110,168,255,.14);color:#fff}

/* Bayangan: di latar gelap bayangan biru muda tidak terlihat, jadi kartu
   dipisahkan dengan garis tepi dan bayangan hitam tipis. */
html[data-theme="dark"] .card,
html[data-theme="dark"] .metric{box-shadow:0 1px 0 rgba(255,255,255,.03) inset,0 10px 30px rgba(0,0,0,.28)}

/* ---------- peta: wilayah tanpa data dan provinsi terpilih ---------- */
html[data-theme="dark"] .province-shape[fill="#d6e0e8"],
html[data-theme="dark"] .province-shape[fill="#bdcbd6"],
html[data-theme="dark"] .province-shape[fill="#d8e3ec"]{fill:#1a2438}
html[data-theme="dark"] .province-shape.selected{fill:#f1f6ff!important;stroke:#dfff54}
html[data-theme="dark"] i[style*="background:#082d6d"]{background:#f1f6ff!important}
html[data-theme="dark"] i[style*="background:#d6e0e8"],
html[data-theme="dark"] i[style*="background:#bdcbd6"]{background:#1a2438!important;outline:1px solid #33435e}

/* Skala berurutan dibalik: rendah gelap, tinggi terang. */
/* Peta Sentra: pangsa nasional dan LQ */
html[data-theme="dark"] .province-shape[fill="#b8e7d8"]{fill:#1f3a5a}
html[data-theme="dark"] .province-shape[fill="#68cbb5"]{fill:#2a6f9c}
html[data-theme="dark"] .province-shape[fill="#39a8ca"]{fill:#46a6d8}
html[data-theme="dark"] .province-shape[fill="#2168c7"]{fill:#86c8fa}
html[data-theme="dark"] i[style*="background:#b8e7d8"]{background:#1f3a5a!important}
html[data-theme="dark"] i[style*="background:#68cbb5"]{background:#2a6f9c!important}
html[data-theme="dark"] i[style*="background:#39a8ca"]{background:#46a6d8!important}
html[data-theme="dark"] i[style*="background:#2168c7"]{background:#86c8fa!important}
/* Info Terkini LU: jumlah berita per kawasan */
html[data-theme="dark"] .issues-map .province-shape[fill="#66cbb5"]{fill:#27566e}
html[data-theme="dark"] .issues-map .province-shape[fill="#3185c8"]{fill:#3f8fd6}
html[data-theme="dark"] .issues-map .province-shape[fill="#164f9e"]{fill:#86c8fa}
html[data-theme="dark"] .issues-region-legend i[style*="#66cbb5"]{--tone:#27566e!important}
html[data-theme="dark"] .issues-region-legend i[style*="#3185c8"]{--tone:#3f8fd6!important}
html[data-theme="dark"] .issues-region-legend i[style*="#164f9e"]{--tone:#86c8fa!important}
html[data-theme="dark"] .issues-region-legend i[style*="#d8e3ec"]{--tone:#1a2438!important}
/* Landing: empat lensa */
html[data-theme="dark"] .pl-map path[fill="#0b3b84"]{fill:#86c8fa}
html[data-theme="dark"] .pl-map path[fill="#2367d3"]{fill:#4f9bf0}
html[data-theme="dark"] .pl-map path[fill="#6ba5e8"]{fill:#2f6fb3}
html[data-theme="dark"] .pl-map path[fill="#cfe3f8"]{fill:#234468}
html[data-theme="dark"] .pl-map path[fill="#e4ecf4"]{fill:#1a2a44}
html[data-theme="dark"] .pl-map path[fill="#9fe0cb"]{fill:#237a63}
html[data-theme="dark"] .pl-map path[fill="#d4e1ed"]{fill:#2a3850}
html[data-theme="dark"] .pl-map path[fill="#ffc39a"]{fill:#8a5236}
html[data-theme="dark"] .pl-legend i[style*="#0b3b84"]{background:#86c8fa!important}
html[data-theme="dark"] .pl-legend i[style*="#2367d3"]{background:#4f9bf0!important}
html[data-theme="dark"] .pl-legend i[style*="#6ba5e8"]{background:#2f6fb3!important}
html[data-theme="dark"] .pl-legend i[style*="#cfe3f8"]{background:#234468!important}
html[data-theme="dark"] .pl-legend i[style*="#e4ecf4"]{background:#1a2a44!important}
html[data-theme="dark"] .pl-legend i[style*="#9fe0cb"]{background:#237a63!important}
html[data-theme="dark"] .pl-legend i[style*="#d4e1ed"]{background:#2a3850!important}
html[data-theme="dark"] .pl-legend i[style*="#ffc39a"]{background:#8a5236!important}
html[data-theme="dark"] .pl-legend i[style*="repeating-linear-gradient"]{background:repeating-linear-gradient(45deg,#18233a 0 4px,#34435e 4px 6px)!important}
html[data-theme="dark"] #plHatch rect{fill:#18233a}
html[data-theme="dark"] #plHatch line{stroke:#34435e}
html[data-theme="dark"] #irio-impact-unknown rect:first-child{fill:#18233a}
html[data-theme="dark"] #irio-impact-unknown rect:last-child{fill:#3a4a66}

/* IRIO: alur klasik memakai warna yang ditulis langsung pada SVG. */
html[data-theme="dark"] .irio-flow-svg rect[fill="#eff6fc"]{fill:#18243b}
html[data-theme="dark"] .irio-flow-svg text[fill="#143758"]{fill:#dbe4f0}
html[data-theme="dark"] .irio-flow-svg text[fill="#2367d3"]{fill:#8bbcff}
