/* ATG theme preview: existing light palette remains unchanged. */
.theme-control{position:fixed;right:14px;bottom:82px;z-index:45;font:600 13px/1.2 system-ui;color:#12313f;background:#fff;border:1px solid #8daab7;border-radius:24px;min-height:44px;padding:9px 13px;box-shadow:0 2px 10px #0002;cursor:pointer;display:flex;align-items:center;gap:7px}
.theme-control svg{width:18px;height:18px;flex:none}.theme-control:focus-visible{outline:3px solid #0b6fa3;outline-offset:3px}
html[data-theme="dark"]{color-scheme:dark;--ink:#e3eff5;--link:#7acdf4;--bg:#0b1d27;--soft:#102733;--line:#34525f;--ok:#91dfc4}
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"] .burger{border:2px solid #34525f;}
html[data-theme="dark"] .btn{background:#142e3a;}
html[data-theme="dark"] .card{background:#142e3a;}
html[data-theme="dark"] .note{color:#b5cbd7;}
html[data-theme="dark"] .langpick{border:1px solid #34525f;background:#142e3a;color:#e3eff5;}
html[data-theme="dark"] header.site2{background:#142e3a;}
html[data-theme="dark"] .btn.ghost{border-color:#34525f;}
html[data-theme="dark"] .burger{background:#142e3a;}
html[data-theme="dark"] .chip{background:#142e3a;}
html[data-theme="dark"] .prev{background:#49391d;color:#f4db9b;}
html[data-theme="dark"] .hero2{background:linear-gradient(135deg,#12313f 0%,#0b6fa3 100%);}
html[data-theme="dark"] .hero2 .btn.pri{background:#142e3a;color:#e3eff5;border-color:#34525f;}
html[data-theme="dark"] .hero2 .k{background:#1e7b4a;}
html[data-theme="dark"] .stats{background:#142e3a;}
html[data-theme="dark"] .stats .wrap>div:nth-child(2){border-color:#1e7b4a;}
html[data-theme="dark"] .stats .wrap>div:nth-child(3){border-color:#12313f;}
html[data-theme="dark"] .stats span{color:#b5cbd7;}
html[data-theme="dark"] .lede{color:#b5cbd7;}
html[data-theme="dark"] .tx{background:linear-gradient(160deg,#0b6fa3,#12313f);}
html[data-theme="dark"] .t1{background:linear-gradient(160deg,#1e7b4a,#12313f);}
html[data-theme="dark"] .t3{background:linear-gradient(160deg,#3e5c6b,#12313f);}
html[data-theme="dark"] .card2{background:#142e3a;}
html[data-theme="dark"] .panel{background:#142e3a;}
html[data-theme="dark"] section.alt .panel{background:#142e3a;}
html[data-theme="dark"] .pills a{background:#142e3a;}
html[data-theme="dark"] .ctaband{background:linear-gradient(135deg,#12313f,#0b6fa3);}
html[data-theme="dark"] .ph{background:#49391d;color:#f4db9b;}
html[data-theme="dark"] .fcta{background:linear-gradient(135deg,#0b6fa3,#12313f);}
html[data-theme="dark"] .fcta .btn.pri{background:#142e3a;color:#e3eff5;border-color:#34525f;}
html[data-theme="dark"] .fbrand img{background:#142e3a;}
html[data-theme="dark"] .crow span{background:#12313f;}
html[data-theme="dark"] .fc h3{border-bottom:2px solid #1e7b4a;}
html[data-theme="dark"] .crumbs{background:#102733;}
html[data-theme="dark"] .crumbs a{color:#7acdf4;}
html[data-theme="dark"] .crumbs span{color:#e3eff5;}
html[data-theme="dark"] a.il{color:#7acdf4;}
html[data-theme="dark"] .relsec .locline a{color:#7acdf4;}
@media (min-width:760px){html[data-theme="dark"] .fc summary{border-bottom:2px solid #1e7b4a;}}
html[data-theme="dark"] .btn.out{background:#142e3a;}
html[data-theme="dark"] .ticks li:before{color:#7bdec4;}
html[data-theme="dark"] .eqfig img{background:#142e3a;}
html[data-theme="dark"] .eqfig figcaption{color:#b5cbd7;}
html[data-theme="dark"] .crd{background:#142e3a;}
html[data-theme="dark"] .ci span{color:#b5cbd7;}
html[data-theme="dark"] .chip{background:#163d36;color:#91dfc4;}
html[data-theme="dark"] .pricetag{background:#163d36;color:#91dfc4;}
html[data-theme="dark"] .pricebox .mut{color:#b5cbd7;}
html[data-theme="dark"] details.fq{border:1px solid #34525f;background:#142e3a;}
html[data-theme="dark"] details.fq>summary{color:#7acdf4;}
html[data-theme="dark"] details.fq>summary::after{color:#7acdf4;}
html[data-theme="dark"] details.fq[open]>summary{background:#102733;}
html[data-theme="dark"] details.fq>.fa{border-top:1px dashed #34525f;}
html[data-theme="dark"] details.more>summary{color:#7acdf4;}
html[data-theme="dark"] ol.steps>li{background:#102733;border:1px solid #34525f;}
html[data-theme="dark"] ol.steps>li::before{background:#0b6fa3;}
html[data-theme="dark"] .mcta{background:linear-gradient(135deg,#0b6fa3,#0a5c8a);}
html[data-theme="dark"] .mcta .btn.ghost{border-color:#34525f;}
html[data-theme="dark"] .mcta .btn.pri{background:#142e3a;color:#7acdf4;}
html[data-theme="dark"] main section.alt{background:#102733;}
html[data-theme="dark"] .lede{color:#b5cbd7;}
html[data-theme="dark"] .panel{background:#142e3a;}
html[data-theme="dark"] .card2{background:#142e3a;}
html[data-theme="dark"] .card2 h3::before{background:#eaf4f8 url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"%230B6FA3\" stroke-width=\"2.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 5v14M5 12h14\"/></svg>") center/18px no-repeat;}
html[data-theme="dark"] .fcheck{background:#102733;}
html[data-theme="dark"] .fcheck::before{background:#1e7b4a url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"white\" stroke-width=\"3.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4 12.5l5 5L20 6.5\"/></svg>") center/13px no-repeat;}
html[data-theme="dark"] ol.steps>li{background:#142e3a;}
html[data-theme="dark"] figure.quote{background:#12313f;}
html[data-theme="dark"] figure.quote blockquote::before{color:#7acdf4;}
html[data-theme="dark"] .jnav a{color:#7acdf4;background:#142e3a;}
html[data-theme="dark"] .mcta{background:linear-gradient(135deg,#12313f 0%,#0b6fa3 100%);}
html[data-theme="dark"] .mcta .btn.ghost{border-color:#34525f;}
html[data-theme="dark"] .mcta .btn.pri{background:#142e3a;color:#e3eff5;border-color:#34525f;}
html[data-theme="dark"] .photoband figcaption{color:#b5cbd7;}
@media (max-width:759px){html[data-theme="dark"] .stbar{background:#12313f;}
html[data-theme="dark"] .stbar a.b{background:#142e3a;color:#e3eff5;}
html[data-theme="dark"] .stbar a.c{background:#0b6fa3;}}
html[data-theme="dark"] .factiles>div{background:#102733;}
html[data-theme="dark"] .factiles .fi{background:#0b6fa3;}
html[data-theme="dark"] .factiles span.lbl{color:#b5cbd7;}
html[data-theme="dark"] .vchip{background:#1d3c4c;}
html[data-theme="dark"] details.sec{background:#142e3a;}
html[data-theme="dark"] details.sec>summary .si{background:#0b6fa3;}
html[data-theme="dark"] details.sec>summary .ss{color:#b5cbd7;}
html[data-theme="dark"] details.sec>summary .smore{color:#7acdf4;}
html[data-theme="dark"] .hero-photo{background:#12313f;}
html[data-theme="dark"] .factband{background:#12313f;}
html[data-theme="dark"] .factband b{color:#7fc4e8;}
html[data-theme="dark"] .journey>div{background:#1d3c4c;}
html[data-theme="dark"] .journey b{background:#1e7b4a;}
html[data-theme="dark"] details.ptiled{background:#12313f;}
html[data-theme="dark"] .ptiled .pmore{background:#142e3a;color:#e3eff5;}
html[data-theme="dark"] .ptiled .pbody{background:#142e3a;}
html[data-theme="dark"] .hero-ill .hbg{background:linear-gradient(135deg,#0b6fa3 0%,#12313f 100%);}
html[data-theme="dark"] .edu .ec{background:#142e3a;border:1px solid var(--line,#34525f);}
html[data-theme="dark"] .edu .ec>h2 i{background:#0b6fa3;}
html[data-theme="dark"] .edu .ec.al{background:#102733;}
html[data-theme="dark"] .edu .src{color:#b5cbd7;}
html[data-theme="dark"] .edu .src a{color:#7acdf4;}
html[data-theme="dark"] .flow li{background:#12313f;}
html[data-theme="dark"] .flow li b{background:#7fc4e8;color:#e3eff5;}
html[data-theme="dark"] .edu .atgrole div{background:#142e3a;border:1px solid var(--line,#34525f);border-left:5px solid #1e7b4a;}
html[data-theme="dark"] .qf input,html[data-theme="dark"] .qf select,html[data-theme="dark"] .qf textarea{border:2px solid var(--line,#34525f);background:#142e3a;}
html[data-theme="dark"] .qf input:focus,html[data-theme="dark"] .qf select:focus,html[data-theme="dark"] .qf textarea:focus{border-color:#0b6fa3;}
html[data-theme="dark"] .qf .alt2{color:#b5cbd7;}
html[data-theme="dark"] .city-nav{background:#142e3a;}
html[data-theme="dark"] .city-nav a{background:#12313f;border:2px solid #12313f;}
html[data-theme="dark"] .city-nav a:hover{background:#0b6fa3;border-color:#0b6fa3;}
html[data-theme="dark"] .tile{background:linear-gradient(180deg,rgba(18,49,63,.05) 25%,rgba(18,49,63,.92)),linear-gradient(135deg,#0b6fa3,#12313f);}
html[data-theme="dark"] .tile:nth-child(3n/**/+2){background:linear-gradient(180deg,rgba(18,49,63,.05) 25%,rgba(18,49,63,.92)),linear-gradient(135deg,#1e7b4a,#12313f);}
html[data-theme="dark"] .tile:nth-child(3n){background:linear-gradient(180deg,rgba(18,49,63,.05) 25%,rgba(18,49,63,.92)),linear-gradient(135deg,#c07a12,#12313f);}
html[data-theme="dark"] .agec{background:linear-gradient(180deg,rgba(18,49,63,.05) 25%,rgba(18,49,63,.92)),linear-gradient(135deg,#0b6fa3,#12313f);}
html[data-theme="dark"] .ptiled .pbg{background:linear-gradient(135deg,#0b6fa3,#12313f);}
html[data-theme="dark"] .ptiled:nth-child(3n/**/+2) .pbg{background:linear-gradient(135deg,#1e7b4a,#12313f);}
html[data-theme="dark"] .ptiled:nth-child(3n) .pbg{background:linear-gradient(135deg,#b8680f,#12313f);}
html[data-theme="dark"] .ptiled:nth-child(4n) .pbg{background:linear-gradient(135deg,#6a3fa0,#12313f);}
html[data-theme="dark"] .hero-ill:not(:has(.hico)) .hbg{background:linear-gradient(135deg,#0b6fa3,#12313f);}
html[data-theme="dark"] .tiles a.tile{background:linear-gradient(135deg,#0b6fa3,#12313f);}
html[data-theme="dark"] .facts2{background:#102733;border:1px solid var(--line,#34525f);}
html[data-theme="dark"] .stats2 div{background:#12313f;}
html[data-theme="dark"] .stats2 b{color:#7fc4e8;}
html[data-theme="dark"] .chips2 button{border:2px solid #0b6fa3;background:#142e3a;color:#7acdf4;}
html[data-theme="dark"] .chips2 button.on{background:#0b6fa3;}
html[data-theme="dark"] .rsearch{border:2px solid var(--line,#34525f);}
html[data-theme="dark"] .rcard{background:#142e3a;border:1px solid var(--line,#34525f);}
html[data-theme="dark"] .rcard a.det{color:#7acdf4;}
html[data-theme="dark"] .facts3 div{background:#142e3a;border:1px solid var(--line,#34525f);}
html[data-theme="dark"] .facts3 i{background:#0b6fa3;}
html[data-theme="dark"] .etile{background:#142e3a;border:1px solid var(--line,#34525f);border-top:5px solid #0b6fa3;}
html[data-theme="dark"] .etile i{background:linear-gradient(135deg,#0b6fa3,#12313f);}
html[data-theme="dark"] .etile b{color:#e3eff5;}
html[data-theme="dark"] .etile span{color:#b5cbd7;}
html[data-theme="dark"] .etile em{color:#7acdf4;}
html[data-theme="dark"] .smap .ec li a{background:#102733;border:1px solid var(--line,#34525f);color:#7acdf4;}
html[data-theme="dark"] .acard{background:#142e3a;border:1px solid #34525f;}
html[data-theme="dark"] .acard .ico{background:#0b6fa3;}
html[data-theme="dark"] .acard summary b{color:#e3eff5;}
html[data-theme="dark"] .acard summary em{color:#b5cbd7;}
html[data-theme="dark"] .acard summary u{color:#7acdf4;}
html[data-theme="dark"] .chips2.cs span{border:2px solid #0b6fa3;color:#7acdf4;background:#142e3a;}
html[data-theme="dark"] .et2{background:#142e3a;border:1px solid #34525f;}
html[data-theme="dark"] .et2 .eart{background:linear-gradient(135deg,#0b6fa3,#12313f);}
html[data-theme="dark"] .et2:nth-child(3n/**/+2) .eart{background:linear-gradient(135deg,#1e7b4a,#12313f);}
html[data-theme="dark"] .et2:nth-child(3n) .eart{background:linear-gradient(135deg,#c07a12,#12313f);}
html[data-theme="dark"] .et2 b{color:#e3eff5;}
html[data-theme="dark"] .et2 .eone{color:#b5cbd7;}
html[data-theme="dark"] .ebtns .b1{border:2px solid #0b6fa3;color:#7acdf4;}
html[data-theme="dark"] .ebtns .b2{background:#0b6fa3;}
html[data-theme="dark"] .svc{background:#142e3a;border:1px solid #34525f;color:#e3eff5;}
html[data-theme="dark"] .svc i{background:#0b6fa3;}
html[data-theme="dark"] .svc em{color:#7acdf4;}
html[data-theme="dark"] .dcat h3{color:#e3eff5;}
html[data-theme="dark"] .dcat h3 span{color:#b5cbd7;}
html[data-theme="dark"] .dtile{border:1.5px solid #0b6fa3;color:#7acdf4;background:#142e3a;}
html[data-theme="dark"] .dsearch{border:2px solid #34525f;}
html[data-theme="dark"] .chips2.cs span,html[data-theme="dark"] .chips2.cs a.chip{border:2px solid #0b6fa3;color:#7acdf4;background:#142e3a;}
html[data-theme="dark"] .bt{background:#142e3a;border:1px solid #34525f;color:#e3eff5;}
html[data-theme="dark"] .bt-ic{background:#1d3c4c;}
html[data-theme="dark"] .bt-t{color:#e3eff5;}
html[data-theme="dark"] .bt-p{color:#b5cbd7;}
html[data-theme="dark"] .bt:nth-child(1) .bt-ic{background:#1d3c4c;}
html[data-theme="dark"] .bt:nth-child(1) .bt-ic svg{stroke:#75d6e6;}
html[data-theme="dark"] .bt:nth-child(2) .bt-ic{background:#163d36;}
html[data-theme="dark"] .bt:nth-child(3) .bt-ic{background:#49391d;}
html[data-theme="dark"] .bt:nth-child(4) .bt-ic{background:#1d3c4c;}
html[data-theme="dark"] .bt:nth-child(5) .bt-ic{background:#432d39;}
html[data-theme="dark"] .bt:nth-child(6) .bt-ic{background:#1d3c4c;}
html[data-theme="dark"] .bt::after{color:#75d6e6;}
html[data-theme="dark"] .stc{background:#142e3a;border:1px solid #34525f;}
html[data-theme="dark"] .stc b{color:#75d6e6;}
html[data-theme="dark"] .stc span{color:#e3eff5;}
html[data-theme="dark"] .stc em{color:#b5cbd7;}
html[data-theme="dark"] ol.flow li{background:#142e3a;border:1px solid #34525f;}
html[data-theme="dark"] ol.flow li span{color:#e3eff5;}

html[data-theme="dark"] body{background:#0b1d27;color:#e3eff5}
html[data-theme="dark"] .theme-control{background:#173744;color:#e3eff5;border-color:#648997}
html[data-theme="dark"] header.site,html[data-theme="dark"] footer.site{background:#0b2430}
html[data-theme="dark"] .brand img{background:#fff;border-radius:7px;padding:3px;box-sizing:content-box}
html[data-theme="dark"] img{filter:none!important;opacity:1}
html[data-theme="dark"] .eqfig img{background:#fff}
html[data-theme="dark"] .hero2,html[data-theme="dark"] .hero2 h1,html[data-theme="dark"] .ctaband,html[data-theme="dark"] .fcta,html[data-theme="dark"] .mcta{color:#fff}
html[data-theme="dark"] .btn.pri,html[data-theme="dark"] button[type="submit"]{background:#146d95;border-color:#146d95;color:#fff}
html[data-theme="dark"] .hero2 .btn.pri,html[data-theme="dark"] .fcta .btn.pri,html[data-theme="dark"] .mcta .btn.pri{background:#e3eff5;border-color:#e3eff5;color:#12313f}
html[data-theme="dark"] .chip:first-child{background:#146d95;color:#fff;border-color:#146d95}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#0d2430;color:#e3eff5;border-color:#648997}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#a2becb;opacity:1}
html[data-theme="dark"] .stickybar{background:#0d2430;border-color:#34525f}
html[data-theme="dark"] ol.steps>li::before{background:#146d95;color:#fff}
@media(min-width:760px){.theme-control{bottom:20px;right:20px}}
@media(prefers-reduced-motion:reduce){.theme-control{transition:none}}
html[data-theme="dark"] .nf-box input{border:2px solid var(--line,#34525f);}
html[data-theme="dark"] .nf-box input:focus{border-color:#0b6fa3;}
html[data-theme="dark"] .chipf{border:1.5px solid var(--line,#34525f);background:#142e3a;color:#e3eff5;}
html[data-theme="dark"] .chipf.on{background:#0b6fa3;border-color:#0b6fa3;}
html[data-theme="dark"] .nf-res a{background:#102733;border:1px solid var(--line,#34525f);}
html[data-theme="dark"] .nf-res a:hover{border-color:#0b6fa3;}
html[data-theme="dark"] .nf-res b{color:#7acdf4;}
html[data-theme="dark"] .nf-res small{color:#b5cbd7;}
html[data-theme="dark"] .nf-g{color:#b5cbd7;}
html[data-theme="dark"] .nf-none{color:#b5cbd7;}
html[data-theme="dark"] .pick-btn{background:#142e3a;}
html[data-theme="dark"] .pick-panel{background:#142e3a;}
html[data-theme="dark"] .pick-item{background:#142e3a;}
html[data-theme="dark"] [style*="color:#0B6FA3"]{color:#7acdf4!important}html[data-theme="dark"] [style*="color:#555"]{color:#b5cbd7!important}

/* Keep display settings in the footer, never over page content. */
.theme-control{position:static;right:auto;bottom:auto;z-index:auto;width:max-content;max-width:100%;margin:10px 0 0;box-shadow:none;grid-column:1/-1;justify-self:start;align-self:start}
