/* Explicit choices override OS-only styles; shared legibility for both palettes. */
:root[data-theme="light"] { --ink:#1c3447;--muted:#596b78;--line:#d5dfe5;--paper:#f3f5f5;color-scheme:light; }
:root[data-theme="dark"] { --ink:#e3eaf0;--muted:#b3c0cc;--line:#354652;--paper:#182733;color-scheme:dark; }
html:not(.ht-theme-gold)[data-theme="light"] body { background:#fff;color:var(--ink); }
html:not(.ht-theme-gold)[data-theme="dark"] body { background:#101d28;color:var(--ink); }
html:not(.ht-theme-gold)[data-theme="light"] .site-header { background:#fffffff7;color:var(--ink); }
html:not(.ht-theme-gold)[data-theme="dark"] .site-header { background:#101d28fa;color:#edf4f8; }
html:not(.ht-theme-gold)[data-theme="light"] .site-header .brand-logo-pair { background:var(--logo-day-background,#fff); }
html:not(.ht-theme-gold)[data-theme="light"] .site-header .brand-logo-pair .brand-logo-day { display:block; }
html:not(.ht-theme-gold)[data-theme="light"] .site-header .brand-logo-pair .brand-logo-night { display:none; }
html:not(.ht-theme-gold)[data-theme="dark"] .site-header .brand-logo-pair { background:var(--logo-night-background,#102c46); }
html:not(.ht-theme-gold)[data-theme="dark"] .site-header .brand-logo-pair .brand-logo-day { display:none; }
html:not(.ht-theme-gold)[data-theme="dark"] .site-header .brand-logo-pair .brand-logo-night { display:block; }
html:not(.ht-theme-gold)[data-theme] .site-immersive .site-header:not(.is-scrolled):not(.is-menu-open) { background:linear-gradient(180deg,#040d0bcc,#040d0b38);color:white; }
html:not(.ht-theme-gold)[data-theme] .site-immersive .site-header:not(.is-scrolled):not(.is-menu-open) .brand-logo-pair { background:var(--logo-night-background,#111a18); }
html:not(.ht-theme-gold)[data-theme] .site-immersive .site-header:not(.is-scrolled):not(.is-menu-open) .brand-logo-pair .brand-logo-day { display:none; }
html:not(.ht-theme-gold)[data-theme] .site-immersive .site-header:not(.is-scrolled):not(.is-menu-open) .brand-logo-pair .brand-logo-night { display:block; }
html:not(.ht-theme-gold)[data-theme="light"] .category-card,html:not(.ht-theme-gold)[data-theme="light"] .product-card,html:not(.ht-theme-gold)[data-theme="light"] .catalog-empty,html:not(.ht-theme-gold)[data-theme="light"] .process-placeholder,html:not(.ht-theme-gold)[data-theme="light"] .content-card { background:#fff;color:var(--ink); }
html:not(.ht-theme-gold)[data-theme="dark"] .category-card,html:not(.ht-theme-gold)[data-theme="dark"] .product-card,html:not(.ht-theme-gold)[data-theme="dark"] .catalog-empty,html:not(.ht-theme-gold)[data-theme="dark"] .process-placeholder,html:not(.ht-theme-gold)[data-theme="dark"] .content-card { background:#20313f;color:var(--ink); }
html:not(.ht-theme-gold)[data-theme] .catalog-section,html:not(.ht-theme-gold)[data-theme] .quality-section,html:not(.ht-theme-gold)[data-theme] .site-company-overview,html:not(.ht-theme-gold)[data-theme] .product-inquiry-section,html:not(.ht-theme-gold)[data-theme] .content-contact-form,html:not(.ht-theme-gold)[data-theme] .content-page-nav,html:not(.ht-theme-gold)[data-theme] .content-bottom-cta,html:not(.ht-theme-gold)[data-theme] .catalog-packaging { background:var(--paper); }
html:not(.ht-theme-gold)[data-theme="light"] .form-field input,html:not(.ht-theme-gold)[data-theme="light"] .form-field textarea,html:not(.ht-theme-gold)[data-theme="light"] .form-field select,html:not(.ht-theme-gold)[data-theme="light"] .catalog-filters input,html:not(.ht-theme-gold)[data-theme="light"] .catalog-filters select { background:#fcfdfd;color:var(--ink);border-color:var(--line); }
html:not(.ht-theme-gold)[data-theme="dark"] .form-field input,html:not(.ht-theme-gold)[data-theme="dark"] .form-field textarea,html:not(.ht-theme-gold)[data-theme="dark"] .form-field select,html:not(.ht-theme-gold)[data-theme="dark"] .catalog-filters input,html:not(.ht-theme-gold)[data-theme="dark"] .catalog-filters select { background:#152531;color:var(--ink);border-color:var(--line); }
html:not(.ht-theme-gold)[data-theme="light"] .content-block,html:not(.ht-theme-gold)[data-theme="light"] .catalog-packaging span { background:white;color:var(--ink); }
html:not(.ht-theme-gold)[data-theme="dark"] .content-block,html:not(.ht-theme-gold)[data-theme="dark"] .catalog-packaging span,html:not(.ht-theme-gold)[data-theme="dark"] .selected-product { background:#20313f;color:var(--ink); }
html:not(.ht-theme-gold)[data-theme="light"] .product-summary h1,html:not(.ht-theme-gold)[data-theme="light"] .product-description h2 { color:#102c46; }
html:not(.ht-theme-gold)[data-theme="dark"] .product-summary h1,html:not(.ht-theme-gold)[data-theme="dark"] .product-description h2 { color:var(--ink); }
html:not(.ht-theme-gold)[data-theme="light"] .text-link { color:#102c46;border-color:#102c46; }
html:not(.ht-theme-gold)[data-theme="dark"] .text-link { color:#c4dff4;border-color:#c4dff4; }
html:not(.ht-theme-gold)[data-theme="light"] .preview-bar { background:#edf0f2;color:#526472; }
html:not(.ht-theme-gold)[data-theme="dark"] .preview-bar { background:#1c2e3c;color:#c2ced7; }
html[data-theme] .kicker { font-size:14px;letter-spacing:.08em;line-height:1.6; }
html[data-theme] .section-intro,html[data-theme] .process-card p,html[data-theme] .detail-item p,html[data-theme] .category-card p,html[data-theme] .product-card-body p,html[data-theme] .content-block p { font-size:15px;line-height:1.85; }
html[data-theme] .process-placeholder p,html[data-theme] .fine-note,html[data-theme] .privacy-check,html[data-theme] .submit-row>small { font-size:13px!important;line-height:1.8; }
html[data-theme] .button,html[data-theme] .button-small,html[data-theme] .text-link,html[data-theme] .form-field,html[data-theme] #main-nav,html[data-theme] .category-card>a { font-size:14px; }
html[data-theme] .form-field input,html[data-theme] .form-field textarea,html[data-theme] .form-field select { font-size:16px; }
html[data-theme] .category-card small,html[data-theme] .contact-card p,html[data-theme] .footer-grid p,html[data-theme] .footer-grid>div>a:not(.brand),html[data-theme] .footer-bottom { font-size:13px; }
html[data-theme] .footer-grid h3,html[data-theme] .contact-card strong { font-size:14px; }
html[data-theme] .form-field textarea::placeholder { font-size:14px; }
html[data-theme] .brand small { font-size:11px; }
html[data-theme] #main-nav { gap:18px; }
.ht-theme-control { display:flex;align-items:center;flex-shrink:0; }
.ht-theme-select { width:112px;min-height:42px;font:inherit;font-size:14px;padding:8px 10px;border:1px solid var(--line);border-radius:3px;background:var(--paper);color:var(--ink);cursor:pointer; }
.ht-theme-select:focus-visible { outline:3px solid var(--orange);outline-offset:3px; }
html[data-theme] .site-immersive .site-header:not(.is-scrolled):not(.is-menu-open) .ht-theme-select { background:#111a18;color:white;border-color:#ffffff66; }
@media(max-width:1200px){
 html[data-theme] .menu-toggle { display:flex;border:0;background:none;flex-direction:column;gap:6px;padding:12px;cursor:pointer; }
 html[data-theme] .menu-toggle span { width:25px;height:2px;background:var(--ink); }
 html[data-theme] .site-immersive .site-header:not(.is-scrolled):not(.is-menu-open) .menu-toggle span { background:white; }
 html[data-theme] #main-nav { display:none;position:absolute;top:100%;right:0;left:0;bottom:auto;background:var(--paper);color:var(--ink);padding:24px 30px;align-items:stretch;max-height:calc(100svh - 80px);overflow-y:auto;box-shadow:0 16px 25px #0003; }
 html[data-theme] #main-nav.is-open { display:flex;flex-direction:column;gap:18px; }
 html[data-theme] .language { border:0;padding:0; }
 .ht-theme-select { width:100%;min-height:44px; }
}
@media(max-width:650px){
 html[data-theme] .kicker { font-size:12px; }
 html[data-theme] .brand small { font-size:10px; }
 html[data-theme] .section-intro,html[data-theme] .category-card p { font-size:15px; }
 html[data-theme] .footer-bottom { font-size:12px; }
}
html[data-theme] .form-field input,html[data-theme] .form-field textarea{font-weight:400}
html[data-theme] .form-field .form-hint{display:block;font-size:13px;font-weight:400;line-height:1.75;color:var(--muted);margin-top:2px}
