.theme-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 12px;border:1px solid #b8c9db;border-radius:5px;background:transparent;color:inherit;font:600 13px Arial,sans-serif;white-space:nowrap;cursor:pointer}
.theme-toggle:hover{border-color:#1758ce;color:#1758ce}
.theme-toggle:focus-visible{outline:3px solid #6ba7ff;outline-offset:3px}
#products .hero-controls{padding-right:230px}
html[data-theme=dark]{color-scheme:dark;--ink:#e8f1fb;--blue:#83b6ff;--muted:#aec0d2;--line:#35495d;--soft:#192b3c;background:#0d1a27}
html[data-theme=dark] body{background:#0d1a27;color:var(--ink)}
html[data-theme=dark] header,html[data-theme=dark] .nav-wrap,html[data-theme=dark] .header,html[data-theme=dark] .hero-controls{background:#112335;border-color:var(--line)}
html[data-theme=dark] .hero-shell,html[data-theme=dark] .finder-ai,html[data-theme=dark] .finder-result,html[data-theme=dark] .bridge,html[data-theme=dark] .company-proof,html[data-theme=dark] .service-request>div,html[data-theme=dark] .panel,html[data-theme=dark] .sectioncard,html[data-theme=dark] .modelcard,html[data-theme=dark] .document-placeholder,html[data-theme=dark] .notes,html[data-theme=dark] .labq-event,html[data-theme=dark] .ex-rfq,html[data-theme=dark] .director-layout,html[data-theme=dark] .contact-service,html[data-theme=dark] .bio-suggestion{background:#182c3d;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .application-card,html[data-theme=dark] .client-card,html[data-theme=dark] .modelvisual,html[data-theme=dark] .document-sheet,html[data-theme=dark] .sidebar,html[data-theme=dark] .nav-tree,html[data-theme=dark] .mega-panel,html[data-theme=dark] .labq-event figure,html[data-theme=dark] #product-page .hero,html[data-theme=dark] #product-page table,html[data-theme=dark] dialog{background:#1b3042;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .contact-button,html[data-theme=dark] .menu-toggle,html[data-theme=dark] .top .search-open,html[data-theme=dark] .circle,html[data-theme=dark] .client-filter,html[data-theme=dark] .ex-tabs button,html[data-theme=dark] .toolbar select,html[data-theme=dark] .ex-page select,html[data-theme=dark] .btn.light,html[data-theme=dark] .sidebtn,html[data-theme=dark] .addbtn{background:#22394c;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select,html[data-theme=dark] #finder-query,html[data-theme=dark] #consult-form input,html[data-theme=dark] #consult-form textarea{background:#122638;color:var(--ink);border-color:#52677b}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#a8bbcc}
html[data-theme=dark] .tags span,html[data-theme=dark] .badge,html[data-theme=dark] .note,html[data-theme=dark] .shortcut,html[data-theme=dark] .symbol,html[data-theme=dark] .sideitem.active,html[data-theme=dark] .nav-tree details[open]>summary{background:#274158;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .hero-copy,html[data-theme=dark] .product-visual{background:#192d3f}
html[data-theme=dark] .mega-column button[aria-expanded=true],html[data-theme=dark] .mega-column button:hover,html[data-theme=dark] .mega-column a:hover,html[data-theme=dark] .sectioncard:hover,html[data-theme=dark] .partner:hover{background:#29445a}
html[data-theme=dark] .hero-copy .description,html[data-theme=dark] .visual-caption,html[data-theme=dark] .tagline,html[data-theme=dark] .nav-dropdown>summary,html[data-theme=dark] .nav-tree summary,html[data-theme=dark] .mega-column a,html[data-theme=dark] .mega-column button{color:var(--ink)}
html[data-theme=dark] .site-footer{background:#091725}
html[data-theme=dark] .brand{position:relative}
html[data-theme=dark] .brand img{background:none;border-radius:0;padding:0;object-position:left center;filter:brightness(0) invert(.88)}
html[data-theme=dark] .brand::after{content:'';position:absolute;inset:0;background:url('/micro-solutions-logo.webp') left center/contain no-repeat;clip-path:inset(0 66% 0 0);pointer-events:none}
html[data-theme=dark] .lq-main-logo{background:none;border-radius:0;padding:0;filter:brightness(0) invert(.88)}
html[data-theme=dark] .product-visual img,html[data-theme=dark] .modelvisual img{mix-blend-mode:normal}
html[data-theme=dark] .primary,html[data-theme=dark] .header-bio,html[data-theme=dark] .consultation-launcher{background:#316cb7;border-color:#316cb7;color:#fff}
html[data-theme=dark] .nav-tree details,html[data-theme=dark] .mega-column,html[data-theme=dark] .ex-page th,html[data-theme=dark] .ex-page td{border-color:var(--line)}
html[data-theme=dark] .ex-page thead th,html[data-theme=dark] .ex-page tbody tr:nth-child(even){background:#22394c;color:var(--ink)}
html[data-theme=dark] .theme-toggle{border-color:#6885a0;color:var(--ink)}
html[data-theme=dark] .nav a,html[data-theme=dark] .nav button,html[data-theme=dark] .nav-tree details details summary,html[data-theme=dark] .site-footer nav a,html[data-theme=dark] .site-footer nav button,html[data-theme=dark] .footer-bio span:last-child{color:#d9e8f5}
html[data-theme=dark] .nav a:hover,html[data-theme=dark] .nav button:hover,html[data-theme=dark] .nav .nav-finder{color:var(--blue)}
html[data-theme=dark] .company-title p,html[data-theme=dark] .company-story-title>p:last-child,html[data-theme=dark] .company-copy p,html[data-theme=dark] .company-partners>p:not(.eyebrow),html[data-theme=dark] .company-proof p,html[data-theme=dark] .director-layout blockquote p,html[data-theme=dark] .director-signature span,html[data-theme=dark] .trust-head p,html[data-theme=dark] .client-card span.client-note,html[data-theme=dark] .client-status{color:var(--muted)}
html[data-theme=dark] .company-copy strong,html[data-theme=dark] .company-brands span,html[data-theme=dark] .client-card strong,html[data-theme=dark] .client-nameplate{color:var(--ink)}
html[data-theme=dark] .company-number,html[data-theme=dark] .company-proof strong{color:var(--blue)}
html[data-theme=dark] .slide:after{background:linear-gradient(90deg,#192d3f 0%,rgba(25,45,63,.98) 30%,rgba(25,45,63,.77) 46%,transparent 72%)}
html[data-theme=dark] .slide .hero-copy{background:transparent}
html[data-theme=dark] .hero-heading .eyebrow{color:#d9e8f5}
html[data-theme=dark] .hero-controls .pause{min-width:104px;padding:8px 12px;border:1px solid #526b80;border-radius:4px;background:#20364a;color:var(--ink);font-size:12px}
html[data-theme=dark] .hero-controls .pause:hover{background:#29465e}
html[data-theme=dark] .site-footer .footer-contact>a,html[data-theme=dark] .site-footer .footer-bottom{color:#d9e8f5}
html[data-theme=dark] .live-search-form{background:#20364a;border:1px solid #526b80;box-shadow:none}
html[data-theme=dark] .live-search-form:focus-within{border-color:#83b6ff;outline:2px solid #83b6ff;outline-offset:2px}
html[data-theme=dark] .live-search-form input{background:transparent;color:var(--ink);outline:none}
html[data-theme=dark] .live-search-form input::placeholder{color:#afc1d0}
html[data-theme=dark] .live-search-form button{align-self:stretch;display:grid;place-items:center;background:#29465e;color:#b8d6ff;border-left:1px solid #526b80}
html[data-theme=dark] .live-search-form button:hover{background:#335572;color:#fff}
html[data-theme=dark] .live-search-results{background:#132638;border-color:var(--line)}
html[data-theme=dark] .live-search-head h2,html[data-theme=dark] .live-search-list>a{color:var(--ink)}
html[data-theme=dark] .live-search-head h2 span,html[data-theme=dark] .live-search-list small,html[data-theme=dark] .live-search-list span{color:var(--muted)}
html[data-theme=dark] .live-search-list>a,html[data-theme=dark] .live-search-head button,html[data-theme=dark] .live-search-more{background:#20364a;border-color:var(--line);color:var(--ink)}
html[data-theme=dark] #catalog-page{--navy:#e8f1fb;--blue:#85b9ff;--muted:#aec0d2;--line:#35495d;--ice:#1c3448;background:#0d1a27;color:var(--navy)}
html[data-theme=dark] #catalog-page .intro{background:linear-gradient(100deg,#142838,#20394d)}
html[data-theme=dark] #catalog-page .intro p,html[data-theme=dark] #catalog-page .eyebrow,html[data-theme=dark] #catalog-page .sidehint{color:var(--muted)}
html[data-theme=dark] #catalog-page .sidebar,html[data-theme=dark] #catalog-page .sectioncard,html[data-theme=dark] #catalog-page .brandcard,html[data-theme=dark] #catalog-page .modelcard,html[data-theme=dark] #catalog-page .searchbox,html[data-theme=dark] #catalog-page .empty,html[data-theme=dark] #catalog-page .note,html[data-theme=dark] #catalog-page .shortcut{background:#192e40;color:var(--navy);border-color:var(--line)}
html[data-theme=dark] #catalog-page .sectioncard:hover,html[data-theme=dark] #catalog-page .typerow:hover,html[data-theme=dark] #catalog-page .sidebtn:hover{background:#29465e}
html[data-theme=dark] #catalog-page .modelvisual,html[data-theme=dark] #catalog-page .symbol,html[data-theme=dark] #catalog-page .badge,html[data-theme=dark] #catalog-page .sidebtn.active,html[data-theme=dark] #catalog-page .addbtn.chosen{background:#29465e;color:var(--navy)}
html[data-theme=dark] #catalog-page .btn:not(.light){background:#316cb7;color:#fff}
html[data-theme=dark] #catalog-page .btn.light,html[data-theme=dark] #catalog-page .addbtn,html[data-theme=dark] #catalog-page .toolbar select{background:#223b50;color:var(--navy);border-color:var(--line)}
html[data-theme=dark] #catalog-page .searchbox input{background:transparent;color:var(--navy)}
html[data-theme=dark] #product-page{background:#142535;color:var(--ink)}
html[data-theme=dark] #product-page .product-breadcrumb{color:var(--muted)}
html[data-theme=dark] #product-page a{color:var(--blue)}
html[data-theme=dark] #product-page .hero,html[data-theme=dark] #product-page .panel{background:#1b3042;color:var(--ink)}
html[data-theme=dark] #product-page .headline{color:#c6d9e9}
html[data-theme=dark] #product-page small{color:var(--muted)}
html[data-theme=dark] #product-page .thumbs button,html[data-theme=dark] #product-page .tabs button{background:#22394c;color:var(--ink);border-color:#52677b}
html[data-theme=dark] #product-page .tabs button[aria-selected=true]{background:#316cb7;border-color:#316cb7;color:#fff}
html[data-theme=dark] #product-page .thumbs button:hover,html[data-theme=dark] #product-page .tabs button:hover:not([aria-selected=true]){background:#294b64;border-color:#83b6ff}
html[data-theme=dark] #product-page button:focus-visible,html[data-theme=dark] #product-page a:focus-visible{outline:3px solid #83b6ff;outline-offset:2px}
html[data-theme=dark] #product-page table{background:#1b3042;color:var(--ink)}
html[data-theme=dark] #product-page th,html[data-theme=dark] #product-page td{border-color:var(--line)}
@media(max-width:900px){html[data-theme=dark] .hero-copy{background:#192d3f!important}html[data-theme=dark] .product-visual{background:#233b4e!important}}
@media(max-width:720px){html[data-theme=dark] .slide:after{background:linear-gradient(180deg,#192d3f 0%,#192d3f 48%,rgba(25,45,63,.8) 70%,transparent 100%)}}
@media(max-width:720px){#products .hero-controls{padding-right:74px}#products .hero-controls .pause{min-width:36px;width:36px;padding:8px;font-size:0}#products .hero-controls .pause::before{content:'Ⅱ';font-size:16px}#products .hero-controls .pause[aria-pressed=true]::before{content:'▶'}}
