.theme-control{display:flex;flex-direction:column;gap:3px;font-size:11px;font-weight:700;letter-spacing:.3px;flex-shrink:0}.theme-control select{appearance:none;border:1px solid #bac8d3;background:#f4f6f8;color:#101d30;border-radius:12px;padding:9px 12px;min-height:44px;font-size:14px;font-weight:600;cursor:pointer;min-width:116px}header{gap:18px}.theme-control select:focus-visible{outline:3px solid #43a9ed}html[data-theme="dark"]{--cream:#0e1824;--muted:#b0bfd0;--line:#344457;--green:#34bd82;color-scheme:dark}html[data-theme="dark"] body{background:#0e1824;color:#e8eef5}html[data-theme="dark"] header{background:#132132f2;border-color:#344457}html[data-theme="dark"] .theme-control select{background:#223448;color:#eef5fb;border-color:#506279}
html[data-theme="dark"] :is(.fabrication-menu,.family-tabs button,.comparison-tabs button,.compact-comparison,.detail-strip,.form-step,.configuration-preview,.location-card,.product,.catalog-controls,.catalog-search,.search-input,.filters button,.brand-buttons button,.quote,.special-info,.product-dialog,.detail-content,.detail-specs,.faq details,.reference-photo,.fabrication-photo-dialog){background:#18283a;color:#e8eef5;border-color:#344457}
html[data-theme="dark"] :is(.family-tabs .active,.comparison-tabs button[aria-pressed="true"],.filters button.active,.brand-buttons button.active){background:#d2b477;color:#142232;border-color:#d2b477}
html[data-theme="dark"] :is(.section-intro,.field-heading>p,.craft-detail p:not(.eyebrow),.family-description p,.field-note,.preview-note,.detail-note,.location-help,.product-application,.source-note,.catalog-result-line,.form-note,.reference-photo small,.section-head p,.intro p,.family-context figcaption,.configuration-preview p){color:#bac8d8}
html[data-theme="dark"] :is(.material-visual-section,.configure-section,.field-gallery-section,.location-section,.catalog,.intro,.brand-strip,.special){background:#0e1824}
html[data-theme="dark"] :is(input,textarea,select){background:#101e2d;color:#eef5fb;border-color:#536579}html[data-theme="dark"] ::placeholder{color:#a9b8c9}
html[data-theme="dark"] :is(.version-list>div,.application-uses li,.main-specs>div,.detail-specs>div,.card-spec>div){border-color:#415267}
html[data-theme="dark"] .application-tube{background:#443b2b;color:#f3dfb4}
html[data-theme="dark"] :is(.request-summary,.optional-details,.measurement-guide,.photo-dialog-close,.unit-switch button,.component-buttons button,.gallery-thumb,.header-gallery button,.family-view-controls button){background:#223448;color:#edf3fa;border-color:#506279}
html[data-theme="dark"] :is(.detail-main,.detail-heading,.detail-gallery,.main-specs,.component-picker,.material-version-picker,.detail-variants,.detail-references,.configuration-detail,.catalog-footer,.catalog-pagination,.brand-filter,.catalog-empty){background-color:#18283a;color:#e8eef5;border-color:#344457}
html[data-theme="dark"] :is(.detail-content p,.detail-content dt,.product-info p,.location-card p,.location-card address){color:#bac8d8}
/* Preserve true photo colors and white product backgrounds in both themes. */
html[data-theme="dark"] :is(.product-image,.family-photo,.header-gallery,.configuration-preview>img,.application-photo,.reference-photo img,.detail-image,.gallery-main,.technical-diagrams){background:#fff;color:#203148}html[data-theme="dark"] .family-photo figcaption{color:#536377}
@media(max-width:1100px){header{flex-wrap:wrap}header nav{order:3;width:100%;justify-content:center}header .theme-control{margin-left:auto}header>.button.small{margin-left:auto}html{scroll-padding-top:180px}}
@media(max-width:600px){header{gap:10px;padding:12px 4%}header .identity img{width:110px}header .identity span{display:none}header>.button.small{font-size:12px;padding:12px}.theme-control{font-size:10px}.theme-control select{min-width:94px;font-size:12px;padding:9px}header nav{gap:17px}header nav a{font-size:14px}}
.theme-control select{margin:0;width:auto}html[data-theme="dark"] :is(#product-dialog,form,.catalog-pagination button,.product-navigation button,.material-version-buttons button:not(.brass-button),.dialog-close){background:#18283a;color:#e8eef5;border-color:#344457}html[data-theme="dark"] :is(.detail-note,.source-note,.measurement-help,.detail-references span,.source-sheet summary){background:#223448;color:#c4d2e1}html[data-theme="dark"] :is(.detail-strip p,.quote ol,.component-description,.material-version-note,.configuration-detail>p,.component-buttons small,.card-components){color:#bac8d8}html[data-theme="dark"] .form-step>span{color:#5edfa8}html[data-theme="dark"] .component-buttons .selected strong{color:#68e5a3}html[data-theme="dark"] .apple-map{background:#223448;color:#edf3fa;border-color:#506279}html[data-theme="dark"] .hero-art{--muted:#647083;--line:#e0e5eb}html[data-theme="dark"] .detail-references span{border-color:#506279}html[data-theme="dark"] .product-quote:hover{background:#274338}html[data-theme="dark"] :is(.unit-switch button.active,.header-gallery button[aria-pressed=true]){background:#d2b477;color:#142232}
/* One click cycles automatic, daylight and night; no dropdown. */
.theme-toggle{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;position:relative;padding:10px;border-radius:50%;border:1px solid #c9d4df;background:#f1f5f8;color:#8c6715;box-shadow:0 4px 12px #1833480b;transition:background .25s,box-shadow .25s,transform .2s}.theme-toggle svg{width:26px;height:26px;grid-area:1/1}.theme-toggle .theme-moon{display:none}.theme-toggle[data-preference="dark"] .theme-moon{display:block}.theme-toggle[data-preference="dark"] .theme-sun{display:none}.theme-toggle[data-preference="auto"]{color:#ae7b00;background:radial-gradient(circle,#fff4c9,#f7f9fc 75%);box-shadow:0 0 0 4px #f5c64d12,0 0 18px #eebb4433}.theme-toggle[data-preference="auto"] .theme-sun{filter:drop-shadow(0 0 4px #eebc55)}.theme-toggle:hover{transform:translateY(-2px);box-shadow:0 6px 18px #22395525}.theme-toggle:focus-visible{outline:3px solid #43a9ed;outline-offset:4px}html[data-theme="dark"] .theme-toggle{background:#263951;color:#f1ce7c;border-color:#506279}html[data-theme="dark"] .theme-toggle[data-preference="auto"]{box-shadow:0 0 15px #e0ae452b}.identity{flex-shrink:0}.identity img{width:clamp(160px,16vw,220px);height:auto;display:block;object-fit:contain;max-height:80px}.identity span{display:none}footer img{width:210px;height:auto;padding:10px 12px;object-fit:contain}
/* Suppress native disclosure arrows across browsers. */
summary{list-style:none}summary::-webkit-details-marker{display:none}summary::marker{content:''}select{appearance:none;background-image:none}
@media(max-width:600px){header .identity img{width:155px}.theme-toggle{width:44px;height:44px;flex-basis:44px}header>.button.small{font-size:11px;padding:11px}.theme-toggle svg{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}.theme-toggle:hover{transform:none}}

.configuration-picker{margin-bottom:24px;padding:20px;background:#f0f4f7;border:1px solid var(--line);border-radius:18px}.configuration-buttons{display:flex;flex-wrap:wrap;gap:10px}.configuration-buttons button{flex:1;min-width:160px;text-align:left;border:1px solid #c7d2dd;border-radius:13px;background:#fff;padding:16px 18px;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}.configuration-buttons strong{display:block;font-size:16px}.configuration-buttons small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.configuration-buttons button[aria-pressed=true]{background:#122a3c;color:white;border-color:#122a3c;box-shadow:0 5px 16px #122a3c22}.configuration-buttons button[aria-pressed=true] small{color:#c5d6e3}.configuration-buttons button:hover{transform:translateY(-2px);box-shadow:0 5px 15px #122a3c18}.configuration-note{font-size:13px;line-height:1.7;color:var(--muted);margin:12px 0 0}html[data-theme=dark] .configuration-picker{background:#18283a;border-color:#344457}html[data-theme=dark] .configuration-buttons button{background:#223448;color:#edf3fa;border-color:#506279}html[data-theme=dark] .configuration-buttons button[aria-pressed=true]{background:#d2b477;color:#142232}html[data-theme=dark] .configuration-buttons button[aria-pressed=true] small{color:#293b45}
@media(max-width:760px){header{transition:transform .7s cubic-bezier(.22,.61,.36,1),opacity .65s ease,box-shadow .65s ease;will-change:transform,opacity;border-bottom:0;box-shadow:0 10px 22px -15px #16273e55;background:linear-gradient(to top,#fffffff0,#fff 70%)}header:after{content:'';position:absolute;left:0;right:0;bottom:-15px;height:16px;background:linear-gradient(to bottom,#fffffff0,transparent);pointer-events:none}header.mobile-hidden{transform:translateY(calc(-100% - 20px));opacity:0;pointer-events:none;box-shadow:none}header:not(.mobile-hidden){transition-duration:.18s,.18s,.18s}html[data-theme=dark] header{background:linear-gradient(to top,#132132ed,#132132 70%)}html[data-theme=dark] header:after{background:linear-gradient(to bottom,#132132ed,transparent)}.configuration-picker{padding:15px}.configuration-buttons button{min-width:130px;padding:15px}.configuration-buttons strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){header,.configuration-buttons button{transition:none!important;transform:none}.mobile-hidden{visibility:hidden}}
