/* Shared text contrast on every preview page. Layout and imagery stay intact. */
.catalog .product-copy p,.project-copy p,.partners-heading>span,.catalog-eyebrow,
.products-main .intro-text,.products-main .explorer-heading>span,.products-main #result-count,
.products-main .product-bottom,.products-main .product-code,.products-main .entry-number,
.products-main .crumb,.products-main .design-bar,.products-main .catalog-help,
.detail-description,.detail-back,.detail-back span,.support-link,.gallery-caption,
.detail .key-specs span,.detail dt,.detail-panel p,.download-card small,.detail-choices,
.documents-main .breadcrumb,.doc-intro>p:last-child,.doc-card p,.doc-top,
#document-status,.doc-note,.doc-actions a:last-child,
.detail-footer,.catalog-footer,.doc-footer{color:#384657!important;font-weight:550}
.products-main .product-category,.products-main .entry-meta,.portfolio-heading p,
.partners-heading p,.portfolio-count,.series,.detail-kicker,.panel-title span,
.doc-eyebrow,.pdf-icon,.doc-actions a:first-child{color:#605fa6!important;font-weight:650}
.partners[data-style=rail] .partner:before{color:#596575!important}
.products-main .product-info h3,.project-copy h3,.catalog .product-copy h3,
.doc-card h2,.detail dd{color:#202e40!important}
.detail .detail-tabs button:not([aria-selected=true]),.doc-tabs button:not([aria-selected=true]){color:#2c3b4f!important;font-weight:700}
input::placeholder,textarea::placeholder{color:#536174!important;opacity:1!important}
.hero .copy>p,.hero .bottom,.hero .eyebrow,header .utility,header .wa-menu,
.footer-grid p,.footer-grid a,.footer-grid div,.footer-bottom,
.service-item p{color:#e7edf5!important}
.hero .copy h1 span{color:#cccce2!important}
header .wa-intro p,header .wa-menu small,header .wa-menu span{color:#e3e9f2!important}
.nav.mobile-overlay .mobile-menu-contacts a{color:#fff!important}
.products-main[data-layout=technical] .category-explorer .entry-title{color:#fff!important;font-weight:700}
.products-main[data-layout=technical] .category-explorer .entry-number,
.products-main[data-layout=technical] .category-explorer .explorer-heading p{color:#c7c7e0!important}
.products-main[data-layout=technical] .category-entry.active .entry-number{color:#fff!important}
.detail[data-view=editorial] .detail-summary .detail-description,
.detail[data-view=editorial] .detail-summary .key-specs span,
.detail[data-view=editorial] .detail-summary .support-link{color:#e7edf5!important}
.detail[data-view=editorial] .detail-summary .detail-kicker{color:#c7c7e0!important}
.detail-page dialog label,.detail-page dialog .demo-note{color:#47576b;font-weight:550}
header .utility>a.location-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 12px;border:1px solid #ffffff20;border-radius:8px;background:#ffffff04;color:#e7edf5;font-weight:600;white-space:nowrap;transition:background .18s,border-color .18s}
header .utility>a.location-button:hover{background:#605fa626;border-color:#605fa6}
header .utility>a.location-button svg{width:16px;height:16px}
header .utility>a.header-phone{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 12px;border:1px solid #ffffff20;border-radius:8px;background:#ffffff04;color:#e7edf5;font-weight:600;white-space:nowrap;transition:background .18s,border-color .18s}
header .utility>a.header-phone:hover{background:#605fa626;border-color:#605fa6}
header .utility>a.header-phone svg{width:16px;height:16px}
header .utility>a[href^="mailto:"],header .utility>a.header-phone,header .utility>a.location-button{font-size:12px!important;font-weight:600!important}
header .flags.language-picker{position:relative;padding:0;border:0;min-width:72px}
.language-picker button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 10px;color:#fff;background:#ffffff06;border:1px solid #ffffff20;border-radius:8px;font-size:12px;font-weight:650;cursor:pointer}
.language-picker img{width:20px;height:14px;object-fit:cover}
.language-dropdown{position:absolute;right:0;top:calc(100% + 7px);z-index:100;background:#27303c;border-radius:8px;box-shadow:0 8px 24px #0004}
.language-dropdown button{min-width:72px}.language-picker button:hover{background:#605fa640}
body.product-search-open{overflow:hidden}
.product-search-dialog{width:min(700px,calc(100vw - 32px));max-height:85dvh;padding:28px;border:1px solid #e1e5eb;border-radius:18px;background:#fff;color:#26313e;box-shadow:0 24px 90px #0005;margin:auto}
.product-search-dialog[open]{animation:search-enter .22s ease-out}
.product-search-dialog::backdrop{background:#101722a8;backdrop-filter:blur(5px)}
.search-popup-heading{display:flex;justify-content:space-between;gap:20px;align-items:start}
.product-search-dialog h2{font-size:25px;margin:0 0 6px}.product-search-dialog p{font-size:14px;color:#46556a;margin:0 0 18px}
.search-popup-close{display:grid;place-items:center;width:36px;height:36px;flex:none;border:1px solid #dce3eb;border-radius:50%;background:#f4f6f8;font-size:25px;color:#26313e;line-height:1}
.search-popup-field input{box-sizing:border-box;width:100%;padding:15px 17px;border:1px solid #abaad0;border-radius:9px;font:600 16px var(--site-font,Arial);background:#f9f9fc;color:#243247}
.product-search-dialog .search-popup-status{margin:14px 0;font-size:13px;font-weight:600}
.search-popup-results{max-height:48dvh;overflow:auto;overscroll-behavior:contain}
.search-product-result{display:flex;align-items:center;gap:16px;padding:13px 8px;border-top:1px solid #e6eaf0;text-decoration:none;color:#26313e}
.search-product-result:hover,.search-product-result:focus-visible{background:#eeeef6}
.search-product-result img{width:58px;height:65px;object-fit:contain;background:white;border-radius:6px}.search-product-result div{flex:1;min-width:0}.search-product-result strong{display:block;font-size:15px;line-height:1.4}.search-product-result span{display:block;margin-top:5px;font-size:13px;color:#536174}.search-product-result b{color:#605fa6}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@keyframes search-enter{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.product-search-dialog[open]{animation:none}}
@media(max-width:680px){.product-search-dialog{padding:20px}.search-product-result strong{font-size:14px}}
header .language-picker .language-chevron{width:13px;height:13px;margin-left:3px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.85;transition:transform .18s ease;flex-shrink:0}
header .language-picker>button[aria-expanded=true] .language-chevron{transform:rotate(180deg)}
header .language-picker>button{gap:7px;line-height:1;align-items:center}
header .utility .flags.language-picker{display:block;width:84px;min-width:84px;height:40px;padding:0!important;border:0!important;background:transparent!important;flex-shrink:0}
header .utility .language-picker>button{display:grid!important;grid-template-columns:20px 20px 12px;grid-template-rows:1fr;align-items:center;justify-content:center;gap:6px;width:84px;height:40px;min-height:40px;padding:0 7px!important;border:1px solid #ffffff26;border-radius:8px;box-sizing:border-box;white-space:nowrap}
header .utility .language-picker>button img{grid-column:1;grid-row:1;width:20px;height:14px;margin:0;display:block}
header .utility .language-picker .language-code{grid-column:2;grid-row:1;padding:0;margin:0;line-height:1;font-size:12px;background:none}
header .utility .language-picker .language-chevron{grid-column:3;grid-row:1;display:block;position:static;width:12px;height:12px;margin:0;align-self:center}
header .utility .language-picker .language-dropdown{height:auto;padding:0;top:46px;width:84px}
header .utility .language-dropdown button{height:40px;width:84px}
/* Highlight only the location action with the former document shine. */
header .utility .docs-button:before{content:none;animation:none}
header .utility .docs-button,header .utility .docs-button:hover,header .utility .docs-button:hover b{transform:none;box-shadow:none}
header .utility .docs-button{background:#ffffff05!important;border-color:#ffffff26!important;color:#e7edf5}
header .utility .location-button{position:relative;overflow:hidden;background:#605fa618!important;border-color:#605fa670!important}
header .utility .location-button:before{content:'';position:absolute;inset:-20% auto -20% -65%;width:35%;background:linear-gradient(90deg,transparent,#ffffff20,transparent);transform:skewX(-20deg);animation:doc-shine 7s ease-in-out infinite;pointer-events:none}
@media(prefers-reduced-motion:reduce){header .utility .location-button:before{animation:none}}
.home-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.home-category{display:flex;flex-direction:column;position:relative;min-height:160px;padding:22px;background:white;border:1px solid #dce3eb;border-radius:9px;color:#26313e;transition:border-color .2s,box-shadow .2s}
.home-category[hidden]{display:none!important}.home-category:hover{border-color:#605fa6;box-shadow:0 5px 18px #26313e09}
.home-category-number{font-size:11px;color:#605fa6;font-weight:750;margin-bottom:18px}
.home-category h3{font-size:17px!important;line-height:1.35;margin:0 0 16px;font-weight:750;letter-spacing:-.02em;max-width:95%}
.home-category-meta{margin-top:auto;font-size:13px;color:#46556a;font-weight:650}.home-category-arrow{position:absolute;right:20px;bottom:20px;color:#605fa6;font-size:21px}
.home-category-more{display:block;margin:22px auto 0;padding:12px 22px;background:#fff;border:1px solid #cdd5df;border-radius:7px;color:#354359;font:650 14px var(--site-font,Arial)}
@media(max-width:980px){.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.home-category{padding:17px;min-height:155px}.home-category h3{font-size:15px!important}.home-category-arrow{right:15px;bottom:15px}}
/* Stable search geometry while results change. */
html{scrollbar-gutter:stable}
.product-search-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(700px,calc(100vw - 32px));height:min(620px,85dvh);max-height:85dvh;overflow:hidden}
.product-search-dialog[open]{display:flex;flex-direction:column;animation:search-fade .18s ease-out}
.product-search-dialog .search-popup-heading,.product-search-dialog .search-popup-field,.product-search-dialog .search-popup-status{flex-shrink:0}
.product-search-dialog .search-popup-status{min-height:20px}
.product-search-dialog .search-popup-results{flex:1;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}
@keyframes search-fade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.product-search-dialog[open]{animation:none}}
