/* Midnight forest: independent surfaces and legible hierarchy, no color inversion. */
html[data-theme=dark]{--paper:#081712;--ink:#e5efdc;--accent:#a6d785;--lime:#c4ed96;--surface:#081712;--line:#a6c59326;--green:#b7df8e;background:#081712}
html[data-theme=dark] body.vision{--surface:#081712;--ink:#e5efdc;--green:#b7df8e;color:#e5efdc;background:var(--surface)}html[data-theme=dark] body[data-act="1"]{--surface:#0b1d17}html[data-theme=dark] body[data-act="2"]{--surface:#191e16}html[data-theme=dark] body[data-act="3"]{--surface:#0d1922}html[data-theme=dark] body[data-act="4"]{--surface:#0b1914}
html[data-theme=dark] .header{background:#0b2019d9;border-color:#8bb27426;box-shadow:0 12px 40px #0003;color:#e1edcf}html[data-theme=dark] .header nav{color:#b1c6a2}html[data-theme=dark] .header select{color:#d9e8c6}html[data-theme=dark] .header option{color:#d9e8c6;background:#112b20}html[data-theme=dark] .brand-plus{color:#a8d57d}html[data-theme=dark] .enter{background:#bde595;color:#173422}html[data-theme=dark] .enter>span:last-child{color:#244b2c}html[data-theme=dark] .enter:hover{background:#d1f3af;color:#173422}html[data-theme=dark] .theme-toggle{color:#c6e7a8;border-color:#98be723b;background:#1b3627}html[data-theme=dark] .theme-toggle:hover{background:#2a4730}html[data-theme=dark] .menu-toggle i{background:#b5d095}
html[data-theme=dark] .hero-meta{color:#8dad77}html[data-theme=dark] .hero-meta .cross{color:#b5d78f}html[data-theme=dark] .hero h1{color:#eff6e5}html[data-theme=dark] .hero h1 .outline{color:#b5dd8d}html[data-theme=dark] .hero-bottom p{color:#a4b99a}html[data-theme=dark] .hero-start{background:#b9e293;color:#193924;box-shadow:0 12px 32px #0003}html[data-theme=dark] .hero-start b{color:#365b31}html[data-theme=dark] .hero-start:hover{background:#d1efb3}html[data-theme=dark] .hero .explore-trigger{color:#a4c38e}html[data-theme=dark] .hero .explore-trigger span:last-child{border-color:#6c94534d}html[data-theme=dark] .hero-coordinates{color:#79996a}html[data-theme=dark] .hero-coordinates>i{background:#b3d58a}html[data-theme=dark] .hero-word{color:#99be722e}html[data-theme=dark] .chapter-nav a{color:#739368}html[data-theme=dark] .chapter-nav a.active{color:#c0e49e}html[data-theme=dark] .chapter-nav a.active i{background:#c0e49e}html[data-theme=dark] .scene-status{color:#7f9b70}html[data-theme=dark] .scene-status i{background:#a8d180}html[data-theme=dark] .scene-status button{background:#10271dbb;color:#bad79b;border-color:#64814b77}html[data-theme=dark] body:after{background:#c1e395}
html[data-theme=dark] .chapter h2{color:#e6efdb}html[data-theme=dark] .chapter h2 em{color:#add18b}html[data-theme=dark] .chapter-copy>p{color:#a0b594}html[data-theme=dark] .chapter .section-code{color:#83a373;border-color:#85a76c33}html[data-theme=dark] .chapter .cross{color:#a8ca87}html[data-theme=dark] .chapter-tags span{background:#10231988;color:#a9c095;border-color:#79995b33}html[data-theme=dark] .chapter-bottom{color:#9cba84}html[data-theme=dark] .chapter-tool{color:#b8d59c!important;border-color:#819e6066!important}html[data-theme=dark] .chapter-number{color:#a7c1840a}html[data-theme=dark] .chapter-study{box-shadow:0 30px 70px #0005}
html[data-theme=dark] .study{background:#11281e;border-color:#8aaa6633;color:#e0ecd2}html[data-theme=dark] .study-head{color:#92ad7f;border-color:#83a56a26}html[data-theme=dark] .study-head b{color:#b4cf9a}html[data-theme=dark] .vision .chapter-study .study-head>span{color:#91ad7c}html[data-theme=dark] .study-map{background:#183525}html[data-theme=dark] .route-map{color:#70995433}html[data-theme=dark] .river{stroke:#26454e}html[data-theme=dark] .map-road{stroke:#29442e}html[data-theme=dark] .map-territory{fill:#b5da7a08;stroke:#8db669}html[data-theme=dark] .map-route{stroke:#c1e795}html[data-theme=dark] .map-pulse{fill:#c1e79520;stroke:#c1e79555}html[data-theme=dark] .map-stop{border-color:#183525;background:#426e3d;color:#eff6dd}html[data-theme=dark] .map-stop.selected{background:#c1e795;color:#24442a}html[data-theme=dark] .map-detail{border-color:#819e602b}html[data-theme=dark] .map-detail small,html[data-theme=dark] .stop-type,html[data-theme=dark] .stock-code{color:#97af84}html[data-theme=dark] .map-avatar{background:#27452d;color:#c0df9f}html[data-theme=dark] .study-foot{color:#8da67c}html[data-theme=dark] .study-foot i{background:#c1df9a}html[data-theme=dark] .stock-stage{background:radial-gradient(ellipse at 50% 80%,#405531,transparent 65%),#1a2b1d}html[data-theme=dark] .stock-platform{background:#50633b;box-shadow:12px 12px 0 #304329;border-color:#769454}html[data-theme=dark] .stock-scanner{background:#b1dc82;box-shadow:0 0 10px #a4dc73}html[data-theme=dark] .study-slider{color:#a5bd91}html[data-theme=dark] .study-slider output{color:#c2e39d}html[data-theme=dark] .study-slider input{accent-color:#bade94}html[data-theme=dark] .delivery-study{background:#152735}html[data-theme=dark] .journey-track{stroke:#2e465c}html[data-theme=dark] .journey-active{stroke:#9cc5ee}html[data-theme=dark] .delivery-study svg circle{fill:#1e3447;stroke:#b1cce5}html[data-theme=dark] .journey-labels{color:#728a9f}html[data-theme=dark] .journey-labels .selected{color:#c0d5ed}html[data-theme=dark] .report-toolbar>div{background:#263c28}html[data-theme=dark] .period{color:#9fb08b}html[data-theme=dark] .period.selected{color:#d5e8bd;background:#3d5732}html[data-theme=dark] .report-number strong{color:#e5efda}html[data-theme=dark] .report-number>span{color:#87a16c}html[data-theme=dark] .report-bars{border-color:#526c3e;background:repeating-linear-gradient(0deg,transparent,transparent 39px,#2a4229 40px)}html[data-theme=dark] .report-legend{color:#91ac7b}html[data-theme=dark] .report-legend span:nth-child(3),html[data-theme=dark] .report-legend span:last-child{color:#c5dfa6}
html[data-theme=dark] .section-solid{background:#0c1c15}html[data-theme=dark] .section-heading h2,html[data-theme=dark] .faq h2{color:#e1ecd3}html[data-theme=dark] .section-heading h2 em{color:#91ad77}html[data-theme=dark] .section-heading .section-code{color:#89a871}html[data-theme=dark] .vision .section-heading>p,html[data-theme=dark] .vision .module-text p,html[data-theme=dark] .vision .role-panel p,html[data-theme=dark] .vision .essential-row>p,html[data-theme=dark] .vision .faq-list p{color:#a1b78f}
html[data-theme=dark] .flow-statement{background:#183726}html[data-theme=dark] .flow-line>span{background:#183726}html[data-theme=dark] .flow-statement p{color:#aec49b}html[data-theme=dark] .capabilities{background:#10241a}html[data-theme=dark] .product-showcase{border-color:#496537;background:#152b1e;box-shadow:0 35px 65px -25px #0006}html[data-theme=dark] .showcase-chrome{background:#203a27;border-color:#405b31;color:#93ad7b}html[data-theme=dark] .showcase-chrome i{background:#5b7843}html[data-theme=dark] .showcase-body>aside{background:#172f20;border-color:#344d2a}html[data-theme=dark] .mini-brand{color:#c3dda6}html[data-theme=dark] .mini-brand svg{fill:#b4d590}html[data-theme=dark] .mini-nav i{border-color:#5f7a48}html[data-theme=dark] .mini-nav b{background:#38582e}html[data-theme=dark] .mini-nav:nth-child(2) b{background:#90b66a}html[data-theme=dark] .showcase-content{background:#102519}html[data-theme=dark] .showcase-disclaimer{color:#89a572;border-color:#34502b}html[data-theme=dark] .module-list{border-color:#486438}html[data-theme=dark] .module-list button{border-top-color:#38532d}html[data-theme=dark] .vision .module-list button:not([aria-selected=true]){color:#8ca778}html[data-theme=dark] .module-list button[aria-selected=true]{color:#c3df9f;border-color:#9fc677}html[data-theme=dark] .module-text h3{color:#d7e9c3}html[data-theme=dark] .capabilities ul{color:#abc395}html[data-theme=dark] .round-arrow{color:#d6eab9;background:#304d28}html[data-theme=dark] .round-arrow:hover{color:#1c3820;background:#c6e5a2}
html[data-theme=dark] .order-lab{background:#122f25;border:1px solid #75975326}html[data-theme=dark] .team{background:#172219}html[data-theme=dark] .team .section-heading h2{color:#e1e9d5}html[data-theme=dark] .team .section-code{color:#91a17c}html[data-theme=dark] .role-list button{border-color:#45563a}html[data-theme=dark] .vision .role-list button:not([aria-selected=true]){color:#96aa83}html[data-theme=dark] .role-list button[aria-selected=true]{color:#c1df9f;border-color:#a0c279}html[data-theme=dark] .role-panel h3{color:#d3e3bb}html[data-theme=dark] .role-panel #role-tools{color:#a7c08c}html[data-theme=dark] .role-panel #role-tools span{background:#2b3e24}html[data-theme=dark] .vision .role-panel small{color:#8fa47a}html[data-theme=dark] .role-screen{--rw-bg:#12271c;--rw-card:#213c27;--rw-text:#dbebcd;--rw-muted:#9bb48a;--rw-line:#48613a;--rw-accent:#8fbe70;--rw-map:#193523;--rw-road:#2b4930;--rw-river:#26454e;border-color:#4a603b;box-shadow:0 25px 50px -20px #0007}html[data-theme=dark] .role-screen-top{background:#203822;border-color:#3b542d}html[data-theme=dark] .role-badge{border-color:#607947;color:#b8d19a}html[data-theme=dark] .rw-action{color:#142d1c}html[data-theme=dark] .rw-map>button,html[data-theme=dark] .rw-vehicle{color:#173421}
html[data-theme=dark] .essentials{background:#081712}html[data-theme=dark] .essentials>.section-code{color:#d3e6bb}html[data-theme=dark] .essential-row{background:#152a1a;border:1px solid #6b8c4f26}html[data-theme=dark] .essential-row h3{color:#c9e0b1}html[data-theme=dark] .essential-row>span,html[data-theme=dark] .essential-row>b{color:#8aa673}html[data-theme=dark] .mobile-art{background:radial-gradient(ellipse at 50% 70%,#365333,transparent 70%)}html[data-theme=dark] .language-art{background:radial-gradient(ellipse at 50% 55%,#354b29,transparent 70%)}html[data-theme=dark] .language-globe{color:#86aa562d}html[data-theme=dark] .language-art button{color:#a5c184;border-color:#66874355;background:#1d3821bb;box-shadow:0 8px 20px #0002}html[data-theme=dark] .language-art button[aria-pressed=true]{color:#18331d;background:#b6d58c}html[data-theme=dark] .language-art button small{color:#8aa965}html[data-theme=dark] .language-art button[aria-pressed=true] small{color:#4e7135}html[data-theme=dark] .security-art{background:radial-gradient(ellipse at 50% 50%,#34502b,transparent 65%)}html[data-theme=dark] .security-ticket{background:#234025;border-color:#4c6b36;color:#c3dc9f}
html[data-theme=dark] .faq{background:#102219}html[data-theme=dark] .faq h2 em{color:#8ea873}html[data-theme=dark] .faq .section-code{color:#819e69}html[data-theme=dark] .faq-list details,html[data-theme=dark] .faq-list details:first-child{border-color:#3a542c}html[data-theme=dark] .faq-list summary{color:#c8deb0}html[data-theme=dark] .faq-list summary>span:last-child{border-color:#466234;color:#b3d38f}html[data-theme=dark] .faq-art span{color:#779c55;text-shadow:1px 1px #567d3c,3px 3px #476e33,6px 6px #365c29,9px 10px #365c29}html[data-theme=dark] .closing{background:#244a2a;border:1px solid #5e87403b}html[data-theme=dark] .closing h2{color:#e3f1ce}html[data-theme=dark] .closing h2 em{color:#b3d78b}html[data-theme=dark] .closing .section-code{color:#91b86d}html[data-theme=dark] .closing .primary{background:#c0df98;color:#1b3c22}html[data-theme=dark] .closing .primary>span:last-child{color:#45662e}html[data-theme=dark] .closing .quiet-link{color:#bdd7a1}html[data-theme=dark] .closing-note{color:#a5c18c}html[data-theme=dark] .closing-sculpture{opacity:.3}
html[data-theme=dark] footer{background:#081712}html[data-theme=dark] .footer-top>.brand{color:#d9e8c7}html[data-theme=dark] .vision .footer-top>span{color:#8ba477}html[data-theme=dark] .footer-top>a:last-child{color:#b9d49d}html[data-theme=dark] .footer-directory b{color:#7c9967}html[data-theme=dark] .vision .footer-directory a{color:#a7c18e}html[data-theme=dark] .footer-wordmark{color:#a5c580}html[data-theme=dark] .footer-wordmark>span{color:#6e8e56}html[data-theme=dark] .footer-bottom{border-color:#31492a;color:#91aa7c}html[data-theme=dark] .footer-bottom>a{color:#bbd79e}
@media(max-width:760px){html[data-theme=dark] .header nav{background:#10271c;border-color:#496538;color:#c1d9a6}html[data-theme=dark] .role-list button[aria-selected=true]{background:#2c4727}html[data-theme=dark] .role-list button{border-color:#486039}}
