/* Dark mode retains brand.css. Light mode adds white surfaces and readable gold. */
:root{color-scheme:dark}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:44px;padding:10px;border:1px solid #ffffff1c;border-radius:8px;background:transparent;color:#c5c3bd;transition:background .18s,color .18s,border-color .18s}
.theme-toggle:hover{background:#d3a62f12;color:#efd27a;border-color:#d3a62f55}.theme-toggle svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;fill:none}.theme-toggle .theme-icon-moon{display:none}
html[data-theme="light"]{color-scheme:light;--ink:#18191c;--panel:#ffffff;--panel-2:#f5f5f6;--line:#e0e1e4;--white:#18191c;--muted:#62646b;--soft:#42444b;--accent:#936619;--accent-dark:#765011;--gold-soft:#936619}
html[data-theme="light"] .theme-toggle .theme-icon-sun{display:none}html[data-theme="light"] .theme-toggle .theme-icon-moon{display:block}
html[data-theme="light"] body{background:#ffffff;color:#18191c}
html[data-theme="light"] :is(.site-header,.catalog-section,.manifesto,.faq-section,.guides-hero,.guides-list,.article,.detail-hero,.scope-panel,.product-sections,.site-footer){background:#ffffff;color:#18191c}
html[data-theme="light"] :is(.api-feature,.knowledge,.end-cta,.detail-gallery-wrap,.detail-information,.commercial-section,.detail-next){background:#fafafb;color:#18191c;border-color:#e3e4e7}
html[data-theme="light"] :is(.site-header,.manifesto,.manifesto-steps,.manifesto-steps>div,.faq-list details,.knowledge-links,.knowledge-links a,.footer-end,.article-header,.article-content section,.article-toc,.api-questions details,.api-related a,.feature-list li,.scope-facts>div,.gallery-caption,.detail-gallery-wrap .gallery-caption){border-color:#e1e2e6}
html[data-theme="light"] .brand strong,html[data-theme="light"] .footer-brand{color:#18191c}
html[data-theme="light"] :is(.brand small,.main-nav a,.language-switch,.breadcrumbs,.breadcrumbs span:last-child,.article .breadcrumbs,.article .breadcrumbs span:last-child){color:#62646b}
html[data-theme="light"] .brand-symbol i,html[data-theme="light"] .menu-button span{background:#9a7323}
html[data-theme="light"] .main-nav a:hover{color:#815911}
html[data-theme="light"] .header-cta{color:#78520e;border-color:#c49a4e55;background:#d3a62f0a}
html[data-theme="light"] .header-cta:hover{color:#60400b;background:#d3a62f19}
html[data-theme="light"] .language-switch summary{border-color:#dedfe3}
html[data-theme="light"] .language-switch nav{background:#ffffff;border-color:#dedfe3;color:#42444b;box-shadow:0 12px 30px #18191c12}
html[data-theme="light"] .language-switch nav a:hover,html[data-theme="light"] .language-switch nav a[aria-current]{background:#d3a62f12;color:#78520e}
html[data-theme="light"] .theme-toggle{color:#60626a;border-color:#dedfe3;background:#ffffff}
html[data-theme="light"] .theme-toggle:hover{color:#78520e;border-color:#bd944f;background:#d3a62f0b}
html[data-theme="light"] .mobile-menu:not([hidden]){background:#ffffff;color:#34363c;border-color:#dddfe4;box-shadow:0 18px 32px #18191c0c}
html[data-theme="light"] :is(.eyebrow,.section-heading .eyebrow,.catalog-section .eyebrow,.api-section-heading .eyebrow,.manifesto-index,.knowledge .eyebrow,.faq-section .eyebrow,.end-cta .eyebrow,.article-header .eyebrow,.article-content section>span,.article-toc span,.api-related .eyebrow,.footer-label,.detail-information .eyebrow,.commercial-section .eyebrow,.detail-next .eyebrow){color:#8a641c}
html[data-theme="light"] :is(em,.section-heading h1 em,.section-heading h2 em,.catalog-section h1 em,.api-section-heading h2 em,.manifesto h2 em,.faq-section h2 em,.end-cta h2 em,.detail-information h2 em,.detail-heading .period){color:#936619}
html[data-theme="light"] :is(.section-heading>p,.api-section-heading>p,.manifesto-content>p,.manifesto-steps p,.knowledge .section-heading>p,.faq-list p,.end-cta p,.site-footer,.detail-intro p,.scope-panel>div:first-child>p:last-child,.commercial-section>div:first-child>p:last-child,.scope-facts p,.commercial-pending p,.commercial-version small,.guides-hero>p:last-child,.guides-list p,.article-header>p:last-child,.api-page .article-header>p:not(.eyebrow),.article-content p,.article-content ul,.article-content ol){color:#5d5f67}
html[data-theme="light"] .filters{background:#f5f5f7;border-color:#e2e3e7}
html[data-theme="light"] .filters button{color:#5d5f67}
html[data-theme="light"] .filters button:hover{background:#e9e9ed;color:#18191c}
html[data-theme="light"] .filters button[aria-pressed="true"]{background:#c68d1915;color:#77510d;box-shadow:inset 0 0 0 1px #b68a363c}
html[data-theme="light"] .catalog-search{background:#ffffff;border-color:#dedfe4}
html[data-theme="light"] .catalog-search input{color:#18191c}
html[data-theme="light"] .catalog-search input::placeholder,html[data-theme="light"] .catalog-search span{color:#6f717a}
html[data-theme="light"] .catalog-search:focus-within{border-color:#a77e2f;box-shadow:0 0 0 3px #d3a62f13}
html[data-theme="light"] .catalog-item{background:#ffffff;color:#18191c;border-color:#e0e1e5}
html[data-theme="light"] .catalog-item[data-position="active"]{border-color:#dfe0e4;box-shadow:0 16px 36px #18191c0a}
html[data-theme="light"] .catalog-image{background:#f4f5f7;border-color:#e2e3e7}
html[data-theme="light"] .catalog-image:before{background:none}
html[data-theme="light"] .catalog-image img{border-color:#dfe0e4;box-shadow:0 10px 24px #18191c17}
html[data-theme="light"] .preview-chrome{background:#edeef1;border-color:#dfe0e4;color:#666972}
html[data-theme="light"] .preview-chrome i{background:#afb1b8}
html[data-theme="light"] .preview-chrome i:first-child{background:#a88032}
html[data-theme="light"] .catalog-meta{color:#6c6e77}
html[data-theme="light"] .catalog-meta span:last-child{background:#d3a62f0c;border-color:#b68a3634;color:#7c581a}
html[data-theme="light"] .catalog-kicker{color:#8a641c}
html[data-theme="light"] .catalog-copy p{color:#5d5f67}
html[data-theme="light"] .catalog-bottom{border-color:#e5e6e9}
html[data-theme="light"] .catalog-investment small{color:#73757c}
html[data-theme="light"] .catalog-investment strong{color:#55575f}
html[data-theme="light"] :is(.catalog-current,.knowledge-links span:first-child,.guides-list span){color:#87621b}
html[data-theme="light"] :is(.catalog-navigation-hint,.catalog-empty,.footer-end,.service-caption,.article-toc a){color:#6c6e76}
html[data-theme="light"] .catalog-controls button{background:#ffffff;border-color:#dfe0e5;color:#4f515a}
html[data-theme="light"] .catalog-controls button:hover{background:#d3a62f13;border-color:#b78c38;color:#78520e}
html[data-theme="light"] .catalog-pagination span{background:#d8d9df}
html[data-theme="light"] .catalog-pagination button[aria-current="true"] span{background:#9a7323}
html[data-theme="light"] :is(.service-card,.commercial-pending,.commercial-version,.detail-next-links a,.article-conclusion,.api-topology){background:#ffffff;border-color:#dfe0e5;color:#18191c}
html[data-theme="light"] .service-card--primary{background:#ffffff;border-color:#c6a66a66}
html[data-theme="light"] .service-card p{color:#5d5f67}
html[data-theme="light"] .service-icon{background:#d3a62f0d;border-color:#b68a3634;color:#8a641c}
html[data-theme="light"] .integration-track{color:#62646b;border-color:#e4e5e8}
html[data-theme="light"] .integration-track b{background:#d3a62f0b;border-color:#b68a3635;color:#7f5917}
html[data-theme="light"] .integration-track span[aria-hidden]{color:#83858d}
html[data-theme="light"] :is(.button-quiet,.service-card .button-quiet,.api-actions .button-quiet,.detail-intro a){color:#765216;border-color:#b89c65}
html[data-theme="light"] .knowledge-links a:hover,html[data-theme="light"] .guides-list a:hover{background:#d3a62f07}
html[data-theme="light"] :is(.knowledge-links strong,.faq-list summary,.large-copy,.scope-facts strong,.detail-next-links span,.article-content h2,.api-questions summary){color:#25262b}
html[data-theme="light"] .faq-list summary:after{color:#86601b}
html[data-theme="light"] :is(.feature-list li,.gallery-caption,.detail-gallery-wrap .gallery-caption){color:#5d5f67}
html[data-theme="light"] :is(.feature-list span,.manifesto-steps span,.commercial-pending span,.commercial-version span){color:#8a641c}
html[data-theme="light"] .detail-screen{background:#f0f1f4;border-color:#dedfe4}
html[data-theme="light"] .detail-thumbs button{background:#ffffff;border-color:#dfe0e4;color:#55575f}
html[data-theme="light"] .detail-thumbs button[aria-pressed="true"]{border-color:#a88032}
html[data-theme="light"] :is(.gallery-groups button,.product-sections a){background:#ffffff;border-color:#dfe0e4;color:#62646b}
html[data-theme="light"] .gallery-groups button[aria-pressed="true"],html[data-theme="light"] .product-sections a:hover{background:#d3a62f12;border-color:#b68a3655;color:#7c581a}
html[data-theme="light"] .api-node{background:#f8f8fa;border-color:#e2e3e7;color:#45474f}
html[data-theme="light"] .api-node small,html[data-theme="light"] .article-content .api-topology p{color:#6f717a}
html[data-theme="light"] .api-node--core{background:#d3a62f0b;border-color:#b68a3655;color:#7f5917}
html[data-theme="light"] .api-node--core small{color:#87621b}
html[data-theme="light"] .lightbox{background:rgba(10,11,12,.94);color:#ffffff}
html[data-theme="light"] .lightbox-close{background:#222326;color:#ffffff;border-color:#666870}
@media(max-width:900px){.site-header{gap:8px}.theme-toggle{width:40px;height:44px;padding:10px}}
@media(max-width:600px){.site-header .brand strong{font-size:17px}.site-header .brand-symbol{width:27px}.site-header .brand{gap:6px}.site-header .menu-button{width:38px;padding:8px}.theme-toggle{width:38px;padding:9px}.language-switch summary{padding:7px;gap:5px}}
@media(max-width:380px){.site-header{gap:4px;padding-inline:10px}.site-header .brand strong{font-size:15px}.site-header .brand-symbol{width:22px;transform:scale(.8);transform-origin:left center}.site-header .brand{gap:3px}.site-header .brand small{font-size:7px}.site-header .menu-button{width:32px;padding:6px}.theme-toggle{width:34px;padding:7px}.language-switch summary{padding:6px;gap:4px;font-size:12px}.language-switch summary svg{width:14px}}
