/* Two site-wide themes. Printed proposals carry their own light stylesheet. */
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark;--bg-dark:#17191d;--bg-card:#222428;--bg-soft:#2e3034;--text:#e8eaee;--text-muted:#b3b5b9;--border:#45474b;--accent:#edcc68;--accent-hover:#ffe18b;--on-accent:#24262a;--accent-rgb:237,204,104;background:#17191d!important;color:#e8eaee}
html[data-theme="dark"] body,html[data-theme="dark"] body.storefront,html[data-theme="dark"] body[data-store-resource],html[data-theme="dark"] body[data-page="assistant"]{background:#17191d!important;color:#e8eaee!important;color-scheme:dark}
html[data-theme="dark"] .store-utility{background:#1f2125;border-color:#414347;color:#babcc0}html[data-theme="dark"] .store-utility a[aria-current="page"]{color:#f0d074!important}
html[data-theme="dark"] .vz-header{background:#1f2125;color:#e5e7eb;border-color:#4e5054}html[data-theme="dark"] .vz-header a{color:inherit}html[data-theme="dark"] .vz-tagline,html[data-theme="dark"] .vz-contacts a:last-child,html[data-theme="dark"] .vz-phone a:last-child{color:#b3b5b9}html[data-theme="dark"] .vz-account{color:#b3b5b9!important}
html[data-theme="dark"] .vz-brand img,html[data-theme="dark"] .store-footer img,html[data-theme="dark"] .footer img{content:url('vizzara-logo-dark.svg')}
html[data-theme="dark"] .vz-nav{background:#333539}html[data-theme="dark"] .vz-nav>a{color:#e5e7eb}html[data-theme="dark"] .vz-nav>a:hover,html[data-theme="dark"] .vz-nav>a[aria-current="page"]{background:#4a4c50;color:#ffe397}html[data-theme="dark"] .vz-search input{background:#2e3034!important;color:#e3e5e9!important;border-color:#595b5f!important}html[data-theme="dark"] .vz-search button{color:#e6d18a!important}html[data-theme="dark"] .vz-search input::placeholder{color:#b6b8bc}
html[data-theme="dark"] .vz-header-top .theme-toggle,html[data-theme="dark"] .vz-menu-toggle{background:#303236;color:#f3d77b;border-color:#595b5f}html[data-theme="dark"] .vz-mobile-extra{background:#282a2e;border-color:#525458}html[data-theme="dark"] .vz-mobile-extra a{color:#d0d2d6}
html[data-theme="dark"] :is(.equipment-card,.project-card,.software-cards article,.resource-grid>a,.contact-grid article,.search-results>a,.object,.journal-card,.comparison){background:#222428;color:#e4e6ea;border-color:#47494d}
html[data-theme="dark"] :is(.resource-grid>a:hover,.object:hover){background:#333539;border-color:#828488}
html[data-theme="dark"] :is(.choice-grid>a,.sector-links>a,.request-box,.request-draft,.journal-guides,.journal-feature,.faq details,.article-archive-note){background:#2b2d31;color:#e4e6ea;border-color:#4a4c50}
html[data-theme="dark"] :is(.choice-grid>a:hover,.sector-links>a:hover){background:#3c3e42}
html[data-theme="dark"] :is(.platform-strip,.principles,.more,.steps article,.value-grid article,.purchase-steps article,.footer-bottom,.journal-card-meta,.article-meta,.article-source){border-color:#47494d}
html[data-theme="dark"] :is(h1,h2,h3,h4,.reading .lead,.contact-big,.comparison th,.card-link,.choice-grid h3,.resource-grid h3,.store-footer h3,.article-body h2,.article-body h3,.article-body h4){color:#e9ebef}
html[data-theme="dark"] :is(.hero p,.storefront-hero p,.page-heading p,.section-head p,.equipment-copy>p,.equipment-copy>ul,.value-grid p,.sector-links p,.choice-grid p,.software-cards p,.contact-grid p,.steps p,.request-box p,.purchase-steps p,.faq p,.reading,.fineprint,.archive-link,.breadcrumbs,.platform-strip,.principles,.journal-heading p,.journal-feature p,.journal-card-copy>p,.journal-card-meta,.journal-count,.journal-guides p,.article-deck,.article-meta,.article-body,.article-body>div>p:first-of-type,.article-toc a,.article-source,.article-archive-note){color:#bbbdc1}
html[data-theme="dark"] :is(.hero-foot,.small-label,.journal-category,.equipment-copy>small,.software-cards .eyebrow,.resource-grid span,.sector-links span,.value-grid article>span,.purchase-steps span,.request-draft label,.site-find label){color:#a9abaf}
html[data-theme="dark"] .eyebrow{color:#c6c8cc}html[data-theme="dark"] h1 em,html[data-theme="dark"] .storefront-hero h1 em{background:linear-gradient(transparent 65%,#626468 65%);color:#fff3ca}
html[data-theme="dark"] .outline{background:transparent;color:#e2e4e8;border-color:#6d6f73}html[data-theme="dark"] .outline:hover{background:#3a3c40}html[data-theme="dark"] .yellow{background:#e8ca68;color:#24262a}html[data-theme="dark"] .dark{background:#e5ca79;color:#24262a}
html[data-theme="dark"] :is(.hero-equipment,.equipment-media,.detail-photo){background:#dddfe3;border-color:#6b6d71;color:#333539}html[data-theme="dark"] :is(.hero-equipment .eyebrow,.hero-equipment-caption span,.hero-equipment-caption small,.equipment-media .small-label,.detail-photo small){color:#4f5155}html[data-theme="dark"] .hero-equipment-caption{border-color:#bcbec2}
html[data-theme="dark"] .software-art{background:#333539}html[data-theme="dark"] .art-title{color:#dfcf8d}html[data-theme="dark"] .software-grid i{background:#494b4f;border-color:#787a7e}html[data-theme="dark"] .software-grid i:nth-child(3n){background:#af9847}
html[data-theme="dark"] :is(.filter-tabs button,.journal-filters button){background:#282a2e;color:#ced0d4;border-color:#55575b}html[data-theme="dark"] :is(.filter-tabs button[aria-pressed=true],.journal-filters button[aria-pressed=true]){background:#dbc16b;color:#24262a;border-color:#dbc16b}
html[data-theme="dark"] :is(.site-find input,.journal-find input,.request-draft textarea,.request-draft select){background:#232529!important;color:#e9ebef!important;border-color:#616367}html[data-theme="dark"] :is(input,textarea)::placeholder{color:#a3a5a9}
html[data-theme="dark"] :is(.comparison th,.comparison td,.article-body th,.article-body td){border-color:#56585c}html[data-theme="dark"] :is(.comparison thead th,.article-body th){background:#3c3e42;color:#e8eaee}html[data-theme="dark"] .article-body blockquote{background:#303236;border-color:#c3a746;color:#d2d4d8}html[data-theme="dark"] .article-body pre{background:#282a2e}
html[data-theme="dark"] :is(.store-footer,.footer){background:#1e2024;color:#bec0c4;border-color:#44464a}html[data-theme="dark"] .store-footer a{color:inherit!important}html[data-theme="dark"] .store-footer h3{color:#e5e7eb}
html[data-theme="dark"] .object[aria-pressed=true]{background:#3e4044;border-color:#999b9f}html[data-theme="dark"] .object small{color:#b4b6ba}
html[data-theme="dark"] .system-visual{background-color:#2c2e32;background-image:radial-gradient(#4e5054 .7px,transparent .7px);border-color:#57595d;color:#d7d9dd}html[data-theme="dark"] .camera-row,html[data-theme="dark"] .branches>div{background:#35373b;border-color:#595b5f;color:#dfe1e5}html[data-theme="dark"] .branches small,html[data-theme="dark"] .visual-caption{color:#acaeb2}html[data-theme="dark"] .visual-bottom{background:#25272b;color:#bfc1c5}
html[data-theme="dark"] .article-toc{border-color:#525458}html[data-theme="dark"] .article-toc a:hover{color:#d2d4d8}
html[data-theme="dark"] #assistant-content{background:transparent!important;color:#e8eaee}html[data-theme="dark"] #assistant-content :is(h1,h2,h3,strong){color:#e9ebef}html[data-theme="dark"] #assistant-content p{color:#bbbdc1}html[data-theme="dark"] #assistant-content :is(.panel,.card){background:#27292d!important;border-color:#525458!important;color:#e5e7eb}html[data-theme="dark"] #assistant-content :is(input,select,textarea,#request){background:#202226!important;color:#e9ebef!important;border-color:#636569!important;color-scheme:dark}html[data-theme="dark"] #assistant-content :is(button,.btn){background:#dbc16b;color:#24262a}html[data-theme="dark"] #assistant-content .secondary{background:#404246;color:#e2e4e8}html[data-theme="dark"] #assistant-content a{color:#e4cc77}html[data-theme="dark"] #assistant-content .row{border-color:#4f5155}html[data-theme="dark"] #assistant-content .total-row{background:#424448!important;border-color:#7f8185!important;color:#eef0f4}html[data-theme="dark"] #assistant-content :is(.error,#calc-status.error){background:#432d25;color:#ffbc9b;border-color:#895b45}
html[data-theme="dark"] body[data-store-resource] main .model-decoder-form-wrap,html[data-theme="dark"] body[data-store-resource] main .model-decoder-out{background:#27292d;border-color:#57595d;color:#e5e7eb}html[data-theme="dark"] body[data-store-resource] main input{background:#232529!important;color:#ebedf1!important}html[data-theme="dark"] body[data-store-resource] main a{color:#dfc975}html[data-theme="dark"] body[data-store-resource] .page-hero p{color:#b8babe}
html[data-theme="dark"] .vz-header-top .theme-toggle .theme-toggle-icon--sun{display:block}html[data-theme="dark"] .vz-header-top .theme-toggle .theme-toggle-icon--moon{display:none}
.vz-header-top .theme-toggle .theme-toggle-icon--sun{display:none}.vz-header-top .theme-toggle .theme-toggle-icon--moon{display:block}
@media(max-width:760px){html[data-theme="dark"] .article-toc{background:#292b2f;border-color:#535559}}
@media(max-width:480px){.vz-header-top .vz-phone{display:none}.vz-header-top .theme-toggle{margin-left:auto}}
@media print{html[data-theme] {color-scheme:light!important;background:white!important}html[data-theme] body{background:white!important;color:#1f2125!important}}
html[data-theme="dark"] #calc-results{--preview-bg:#202226;--preview-card:#2a2c30;--preview-line:#4f5155;--preview-muted:#b6b8bc;--preview-ink:#eaecf0;--preview-accent:#d7bb63}html[data-theme="dark"] #calc-results .calc-series-pill{background:#d3b656;color:#24262a}html[data-theme="dark"] #calc-results .calc-series-pill--pro{background:#6a6c70;color:#f0f2f6}html[data-theme="dark"] .vz-search button{background:#404246!important;color:#efd582!important}html[data-theme="dark"] #assistant-content label{color:#c1c3c7}
@media print{html[data-theme] body :is(main,article,section,aside,div,p,h1,h2,h3,h4,li,td,th,a,span){background:transparent!important;color:#1d1f23!important;border-color:#c3c5c9!important}html[data-theme] :is(.vz-header,.store-utility,.store-footer,.article-sidebar,.article-progress,.preview-note){display:none!important}html[data-theme] .article-layout{display:block;max-width:100%}html[data-theme] img{content:normal}html[data-theme] .article-body{font-size:11pt}html[data-theme] .article-body table{display:table}}

/* VIZZARA dark: graphite and steel, with yellow brand accents. */
html[data-theme="dark"] .solution-band{background:#1c1e23;color:#eceef2}
html[data-theme="dark"] :is(.composition,.article-next,.quick-selection){background:#24272d;border-color:#454952;color:#eceef2}
html[data-theme="dark"] :is(.composition-head,.component,.equipment-copy li){border-color:#454952}
html[data-theme="dark"] :is(.solution-band p,.solution-band .eyebrow,.solution-band .hint,.task-label,.component small,.component b,.composition-note,.article-next p,.article-next .eyebrow,.quick-selection p,.quick-selection>small,.quick-selection label,.hero-proof,.check-list,.article-toc a,.object small,.object .arrow){color:#b7bcc6}
html[data-theme="dark"] .task{color:#d5d9e0;border-color:#555b65;background:#262a30}
html[data-theme="dark"] .task[aria-pressed=true]{background:#e5c35e;border-color:#e5c35e;color:#24262b}
html[data-theme="dark"] .quick-selection :is(input,select){background:#30343c;border-color:#606671;color:#eceff4}
html[data-theme="dark"] :is(.hero-equipment,.equipment-media,.detail-photo){background:#dfe1e5;border-color:#717680}
html[data-theme="dark"] :is(.hero-equipment .eyebrow,.hero-equipment-caption span,.hero-equipment-caption small,.equipment-media .small-label,.detail-photo small){color:#4b5059}
html[data-theme="dark"] .project-visual{background:#30353e;color:#9aa2af}
html[data-theme="dark"] .project-visual.visual-1{background:#383a40;color:#adafb7}
html[data-theme="dark"] .project-visual.visual-2{background:#292f38;color:#8f9eaf}
html[data-theme="dark"] :is(.article-secondary,.composition-link){color:#e8d48b}
html[data-theme="dark"] .calc-series-pill--pro{background:#596576!important;color:#f1f3f7!important}
html[data-theme="dark"] .software-art .small-label{color:#bec4ce}
html[data-theme="dark"] .principles b{color:#dde1e8}html[data-theme="dark"] .check-list li::before,html[data-theme="dark"] .hero-proof span::before{color:#b4becd}
html[data-theme="dark"] :is(.platform-strip>span,.platform-strip b,.resource-grid p,.choice-grid span,.catalog-toolbar>span,.more a,.steps article>span,.journal-card-meta a,.article-body a,.article-body figcaption,.article-toc a:hover,.branches span,.visual-index,.signal){color:#aeb5c1}
html[data-theme="dark"] .article-body a{color:#e8cc75}
html[data-theme="dark"] .wire{background:#717b8a}html[data-theme="dark"] .live-dot{background:#e4c361}html[data-theme="dark"] .server-stack{background:#3a3e46;box-shadow:0 18px 23px #00000030}html[data-theme="dark"] .server{background:linear-gradient(#353941,#23262d);border-color:#5c626e;color:#e6e9ef}html[data-theme="dark"] .vents{background:repeating-linear-gradient(90deg,#14171c 0 3px,#3a3f48 3px 7px);border-color:#535b68}html[data-theme="dark"] .server i:last-child{background:#b4bdca}

html[data-theme="dark"] :is(.detail-hero p,.search-results p){color:#b7bcc6}html[data-theme="dark"] body[data-store-resource] .btn-primary{color:#24262b!important}



/* VIZZARA THEME R13 */
/* Theme-aware surfaces shared by the comparison, catalogue and editorial pages. */
@media screen {
  html[data-theme="dark"] {
    --vz-surface: #23262a;
    --vz-subtle-surface: #292c30;
    --vz-line: #53575e;
    --vz-ink: #eff0f2;
    --vz-muted: #c4c7cb;
    --vz-link: #f1d482;
  }

  html[data-theme="dark"] .vz-buyer {
    --buyer-ink: var(--vz-ink);
    --buyer-muted: var(--vz-muted);
    --buyer-border: var(--vz-line);
    --buyer-tint: var(--vz-subtle-surface);
    background: var(--vz-surface);
    color: var(--buyer-ink);
  }
  html[data-theme="dark"] .vz-buyer :is(h2,h3,h4,th,td,figcaption) { color: var(--buyer-ink); }
  html[data-theme="dark"] .vz-buyer :is(p,figcaption span) { color: var(--buyer-muted); }
  html[data-theme="dark"] .vz-buyer a { color: var(--vz-link); }
  html[data-theme="dark"] .vz-buyer :is(a,button):focus-visible { outline-color: var(--vz-link); }
  html[data-theme="dark"] .vz-buyer--replacement,
  html[data-theme="dark"] .vz-buyer__insight,
  html[data-theme="dark"] .vz-buyer__table thead th { background: var(--buyer-tint); }
  html[data-theme="dark"] .vz-buyer-gallery__model { background: #202421; border-color: var(--buyer-border); }

  html[data-theme="dark"] .vz-cap-card,
  html[data-theme="dark"] .vz-catalog-related {
    background: var(--vz-surface);
    color: var(--vz-ink);
    border-color: var(--vz-line);
  }
  html[data-theme="dark"] :is(.vz-cap-nav,.vz-cap-copy,.vz-catalog-related) a { color: var(--vz-link); }
  html[data-theme="dark"] :is(.vz-cap-copy p,.vz-cap-copy dt,.vz-cap-note,.vz-catalog-related p,
     .vz-project-toolbar label,.vz-project-toolbar .vz-project-count) { color: var(--vz-muted); }

  html[data-theme="dark"] body[data-vz-catalog-view] {
    --vz-equipment-line: var(--vz-line);
    --vz-equipment-ink: var(--vz-ink);
    --vz-equipment-muted: var(--vz-muted);
    --vz-equipment-soft: var(--vz-subtle-surface);
  }
  html[data-theme="dark"] [data-vz-catalog-view] .product-item-right .product-item-right-buy-block,
  html[data-theme="dark"] [data-vz-catalog-view] .product-item-price-notice,
  html[data-theme="dark"] [data-vz-catalog-view] .vz-favorite-toggle {
    color: var(--vz-ink);
    background: var(--vz-surface);
    border-color: var(--vz-line);
  }
  html[data-theme="dark"] [data-vz-catalog-view] :is(.h1,.h2,.h3,.product-item-right-price,.product-item-price,.product-info-subtitle) { color: var(--vz-ink); }
  html[data-theme="dark"] [data-vz-catalog-view] :is(.product-item-link,.filter-head-text,.vz-catalog-price-note,.product-sort-item) { color: var(--vz-muted); }
  html[data-theme="dark"] [data-vz-catalog-view] :is(.pagination a,.pagination span,.pure-btn.success-button) { color: var(--vz-link); }
  html[data-theme="dark"] [data-vz-catalog-view] .pagination .active > span,
  html[data-theme="dark"] [data-vz-catalog-view] .vz-favorite-toggle[aria-pressed="true"] { background: var(--vz-subtle-surface); color: var(--vz-ink); }
  html[data-theme="dark"] .product-list-sort :is(.sort-down,.sort-up) .product-sort-item { color: var(--vz-link); }
  html[data-theme="dark"] :is(.hero-equipment,.equipment-media,.detail-photo) { background: #25282d; border-color: #555b63; }
  html[data-theme="dark"] :is(.hero-equipment .eyebrow,.hero-equipment-caption span,.hero-equipment-caption small,.equipment-media .small-label,.detail-photo small) { color: #d5dadd; }
  html[data-theme="dark"] .vz-project-explorer .vz-project-toolbar :is(label,p) { color: var(--vz-muted); }

  html[data-theme="light"] { --vz-readable-muted:#52604f; --vz-readable-link:#285d5f; }
  html[data-theme="light"] .vz-header .vz-header-top :is(.vz-phone,.vz-contacts) a:first-child { color:#865700; }
  html[data-theme="light"] .vz-header .vz-header-top .vz-tagline { color:#536172; }
  html[data-theme="light"] :is(.store-utility .wrap,.store-utility .wrap>a,.wrap.breadcrumbs,.wrap.breadcrumbs a,.store-footer .fineprint) { color:var(--vz-readable-muted); }
  html[data-theme="light"] :is(.wrap.page-heading p,.wrap.journal-heading p,.fineprint,.archive-link,.platform-strip>span,.catalog-toolbar>span,.site-find label,.journal-count,.journal-category,.journal-card-copy p,.journal-card-meta,.journal-card-meta a,.journal-card-meta time,.journal-card-meta span,.detail-photo small,.hero-equipment-caption small,.hero-equipment .eyebrow,.hero-proof span,.hero-proof a,.equipment-media .small-label,.software-art .small-label,.vz-video-copy .eyebrow,.vz-video-copy p,.vz-video-link small,.vz-project-card-copy .vz-project-kicker,.vz-project-index,.vz-project-sector) { color:var(--vz-readable-muted); }
  html[data-theme="light"] :is(.value-grid article,.sector-links a,.resource-grid a,.choice-grid a,.request-box,.equipment-copy) > :is(span,p),
  html[data-theme="light"] .request-box > div > p { color:var(--vz-readable-muted); }
  html[data-theme="light"] :is(.archive-link,.fineprint) a { color:var(--vz-readable-link); }
  html[data-theme="light"] .reviews-item-stars .rating-digit,
  html[data-theme="light"] .product-list-sort :is(.sort-up,.sort-down) .product-sort-item,
  html[data-theme="light"] .product-item-right-buy-block a.success-button { color: #805700; }
  html[data-theme="light"] .reviews-item-stars .rating-title { color:#5b6571; }
  html[data-theme="light"] :is(.privacy-block,.plain-text,.product-info-links) a { color:var(--vz-readable-link); }
}

@media screen {
  html[data-theme="light"] .vz-header .vz-header-top :is(.vz-phone,.vz-contacts) a:last-child { color: #536172; }
  html[data-theme="light"] :is(.journal-guides,.journal-feature,.detail-hero) > div > p,
  html[data-theme="light"] .search-results > a > p { color: var(--vz-readable-muted); }
  html[data-theme] .main-project-info .main-project-title a {
    color: #fff;
    background: #262b27;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: .12em .24em;
  }
  html[data-theme="dark"] .product-catalog :is(.product-item-link,.filter-head-text,.product-sort-item),
  html[data-theme="dark"] .product-list .product-item-box .product-item-link { color: var(--vz-muted); }
  html[data-theme="dark"] .container .pagination li :is(a,span) { color:var(--vz-link); }
  html[data-theme="dark"] .container .pagination li.active span { color:var(--vz-ink); background:var(--vz-subtle-surface); }
  html[data-theme="dark"] .product-catalog .product-list-sort :is(.sort-down,.sort-up) .product-sort-item { color: var(--vz-link); }
}

@media screen {
  html[data-theme="dark"] .vz-catalog-context { color:var(--vz-ink); background:var(--vz-surface); border-color:var(--vz-line); }
  html[data-theme="dark"] .vz-catalog-context :is(p,small),
  html[data-theme="dark"] [data-vz-catalog-view] .privacy-block { color:var(--vz-muted); }
  html[data-theme="dark"] .vz-catalog-context a,
  html[data-theme="dark"] [data-vz-catalog-view] :is(.privacy-block a,.vz-product-order-body .vz-order-calculator) { color:var(--vz-link); }
  html[data-theme="dark"] [data-vz-catalog-view] .vz-product-order-body :is(.pi-right-tabs-buttons button,.vz-ya-share-title,.product-item-price-notice-title) { color:var(--vz-ink); }
  html[data-theme="dark"] [data-vz-catalog-view] .vz-product-order-body .pi-right-tabs-buttons button.active { color:var(--vz-link); }
  html[data-theme="dark"] .article-body .article-next a.button.yellow,
  html[data-theme="dark"] .article-body .article-next a.button.yellow span { color:#22261e; }
  html[data-theme="light"] .article-body .article-next > p { color:#e2e9de; }
  html[data-theme="light"] :is(.vz-product-order-body .pi-right-tabs-buttons button,.stars-wrap .stars-title,
    .vz-product-order-body .vz-order-calculator,.article-archive-note,.article-meta span,.article-toc nav a,.article-deck,
    .vz-catalog-context .section-head p,.comparison th,.comparison th a,.software-cards article .eyebrow,
    .software-cards article p,.contact-grid article .eyebrow,.contact-grid article p,.section-head p,
    .steps article>span,.steps article p,.object-grid .object small,.project-visual>span,.project-visual>small,.equipment-copy small) { color:var(--vz-readable-muted); }
  html[data-theme="light"] .vz-product-order-body .pi-right-tabs-buttons button.active,
  html[data-theme="light"] .vz-product-order-body .pi-right-pdf a.success-button { color:#805700; }
  html[data-theme="light"] .article-body :is(p a,.article-source a,blockquote) { color:var(--vz-readable-link); }
}

@media screen {
  html[data-theme="dark"] :is(#form-back-call,#form-feedback),
  html[data-theme="dark"] .fancybox-skin:has(.form-popup) {
    background:var(--vz-surface); color:var(--vz-ink);
  }
  html[data-theme="dark"] :is(#form-back-call,#form-feedback) :is(.form-title,label) { color:var(--vz-ink); }
  html[data-theme="dark"] :is(#form-back-call,#form-feedback) :is(input:not([type=submit]):not([type=checkbox]),textarea) {
    background:#1c201d; color:var(--vz-ink); border-color:var(--vz-line); color-scheme:dark;
  }
  html[data-theme="dark"] :is(#form-back-call,#form-feedback) ::placeholder { color:var(--vz-muted); }
  html[data-theme="dark"] :is(#form-back-call,#form-feedback) .privacy-block { color:var(--vz-muted); }
  html[data-theme="dark"] :is(#form-back-call,#form-feedback) .privacy-block a { color:var(--vz-link); }
}

@media screen {
  html[data-theme="dark"] .vz-product-order-body .pi-right-tabs .pi-right-tab {
    background:var(--vz-subtle-surface); color:var(--vz-ink); border-color:var(--vz-line);
  }
  html[data-theme="dark"] .vz-product-order-body .pi-right-tab :is(strong,b,p) { color:var(--vz-ink); }
}

@media screen {
  html[data-theme="dark"] .product-catalog .link-mobile-filter-text { color:var(--vz-ink); }
  html[data-theme="dark"] .product-catalog .link-mobile-filter-icon svg { fill:var(--vz-ink); }
  html[data-theme="dark"] .product-catalog :is(.product-filter,.product-filter-bl,.product-filter-head,.close-mobile-filter) {
    background:var(--vz-surface); color:var(--vz-ink); border-color:var(--vz-line);
  }
  html[data-theme="dark"] .product-catalog .product-filter :is(.filter-head-link,.filter-head-text,.num) { color:var(--vz-muted); }
  html[data-theme="dark"] .product-catalog .product-filter .filter-head-link:hover .filter-head-text { color:var(--vz-link); }
  html[data-theme="dark"] .product-catalog .close-mobile-filter .close-button::before,
  html[data-theme="dark"] .product-catalog .close-mobile-filter .close-button::after { background:var(--vz-ink); }
  html[data-theme="light"] .solutions-compact .hero-copy .hero-foot { color:var(--vz-readable-muted); }
}

/* Standalone calculator, assistant and model decoder. */
@media screen {
  html[data-theme="light"] body:is([data-page="calculator"], [data-page="assistant"], [data-page="deshiffrator_modeli"]) {
    --tool-muted: #4e6172;
    --tool-link: #125985;
    --tool-field-hint: #536476;
  }
  html[data-theme="dark"] body:is([data-page="calculator"], [data-page="assistant"], [data-page="deshiffrator_modeli"]) {
    --tool-muted: #c2c9d0;
    --tool-link: #f1d482;
    --tool-field-hint: #b5bec8;
  }
  body:is([data-page="calculator"], [data-page="assistant"], [data-page="deshiffrator_modeli"]) main :is(input,textarea)::placeholder,
  body[data-page="assistant"] #assistant-content #request::placeholder { color: var(--tool-field-hint); opacity: 1; }

  html[data-theme="light"] body[data-page="calculator"] #calc-results {
    --preview-muted: #4e6172;
    --preview-accent: #125985;
  }
  html[data-theme="light"] body[data-page="calculator"] main :is(.brief-tok, .lab-out-placeholder-kicker, .lab-hero-sub a, #assistant-context-link, .arm-view-config-title, .arm-view-assumption, .calc-result-card-specs-link, .calc-cluster-spec-line-name, .calc-cluster-spec-line-qty, .calc-cluster-nodes-summary__action-open) { color: var(--tool-link); }
  html[data-theme="light"] body[data-page="calculator"] :is(main,dialog) .btn.btn-primary,
  html[data-theme="light"] body[data-page="assistant"] #assistant-content .actions :is(#parse,#calculate) {
    background: #125e93;
    color: #fff;
  }
  html[data-theme="light"] body[data-page="calculator"] :is(main,dialog) .btn.btn-primary:hover,
  html[data-theme="light"] body[data-page="assistant"] #assistant-content .actions :is(#parse,#calculate):hover { background: #0b4975; }
  html[data-theme="light"] body[data-page="calculator"] #calc-results .calc-series-pill { background: #125c99; color: #fff; }
  html[data-theme="light"] body[data-page="calculator"] #calc-results .calc-series-pill--pro { background: #086579; color: #fff; }
  html[data-theme="light"] body[data-page="calculator"] .calc-sw-product-btn .calc-quote-mode-btn__sub { color: var(--tool-muted); }

  body[data-page="assistant"] #assistant-content :is(.tag,.vz-video-link small) { color: var(--tool-muted); }
  body[data-page="assistant"] #assistant-content p a { color: var(--tool-link); }

  html[data-theme="light"] body[data-page="deshiffrator_modeli"] main .page-hero :is(.breadcrumb,.sub) { color: #526044; }
  html[data-theme="light"] body[data-page="deshiffrator_modeli"] main :is(.calc-hint a,.dc-alert a,.dc-actions .btn-ghost) { color: #465a24; }
  html[data-theme="light"] body[data-page="calculator"] .lab-out-help .calc-info-icon { color: var(--tool-muted); }
  html[data-theme="dark"] body[data-page="calculator"] #lab-out-lead { color: var(--tool-muted); }

  /* Some control labels are styled inline by the existing calculator. */
  html[data-theme="light"] body[data-page="calculator"] #assistant-context-link { --accent: var(--tool-link); }
  html[data-theme="light"] body[data-page="calculator"] .calc-camera-preset-btn.is-active { background: #125e93; color: #fff; }
  html[data-theme="light"] body[data-page="calculator"] .calc-slider-current .calc-slider-value { color: var(--tool-link); }
  html[data-theme="dark"] body[data-page="calculator"] #expert-va-stream-group .calc-va-stream-btn { background: #292e34 !important; color: #e2e6eb !important; border-color: #626971 !important; }
  html[data-theme="dark"] body[data-page="calculator"] #expert-va-stream-group .calc-va-stream-btn:is(.is-active,[aria-pressed="true"]) { background: #42413a !important; color: #ffe096 !important; border-color: #b49e63 !important; }

  html[data-theme="light"] body[data-page="assistant"] #assistant-content :is(#calculate, #results .actions button:not(.secondary)) { background: #125e93; color: #fff; }
  html[data-theme="light"] body[data-page="assistant"] #assistant-content :is(#full, #results .actions a.btn) { color: #125985; }
  html[data-theme="dark"] body[data-page="assistant"] #assistant-content :is(#calculate-status.error,[aria-invalid="true"]) { background: #402c29; color: #ffe0d7; border-color: #d9907e; }
}

/* Server artwork and orbit surfaces. Only HTML theme selection changes the lighting of the studio. */
@media screen {
  html[data-theme="dark"] :is(.vz-prof-viewer,.vz-chassis-viewer,.vz-capacity-viewer) {
    --prof-line: #59616a;
    --prof-accent: #edcc68;
    --vz-equipment-studio: #25282d;
    color: #e8eaee;
  }
  html[data-theme="dark"] :is(.vz-prof-viewer,.vz-chassis-viewer,.vz-capacity-viewer) :is(.vz-prof-stage,.vz-cap-stage,.vz-prof-orbit,.vz-cap-orbit) {
    background: var(--vz-equipment-studio) !important;
    border-color: #51575f;
  }
  html[data-theme="dark"] :is(.vz-prof-viewer,.vz-chassis-viewer,.vz-capacity-viewer) :is(.vz-prof-cover,.vz-prof-inside,.vz-cap-cover,.vz-cap-inside),
  html[data-theme="dark"] img[src*="/images/servers/photo/"][src*="-card.webp"] {
    -webkit-mask: var(--vz-product-mask, none) center / contain no-repeat;
    mask: var(--vz-product-mask, none) center / contain no-repeat;
    -webkit-mask-origin: content-box;
    mask-origin: content-box;
    mix-blend-mode: normal !important;
    filter: none !important;
    object-fit: contain;
  }
  html[data-theme="dark"] .vz-base-viewer .vz-prof-cover { --vz-product-mask: url("/calculator/images/servers/theme-r13/base-closed-mask.webp"); }
  html[data-theme="dark"] .vz-base-viewer .vz-prof-inside { --vz-product-mask: url("/calculator/images/servers/theme-r13/base-open-mask.webp"); }
  html[data-theme="dark"] .vz-prof-viewer .vz-prof-cover { --vz-product-mask: url("/calculator/images/servers/theme-r13/prof-closed-mask.webp"); }
  html[data-theme="dark"] .vz-prof-viewer .vz-prof-inside { --vz-product-mask: url("/calculator/images/servers/theme-r13/prof-open-mask.webp"); }
  html[data-theme="dark"] .vz-capacity-viewer[data-variant="sc836"] .vz-cap-cover { --vz-product-mask: url("/calculator/images/servers/theme-r13/sc836-closed-mask.webp"); }
  html[data-theme="dark"] .vz-capacity-viewer[data-variant="sc836"] .vz-cap-inside { --vz-product-mask: url("/calculator/images/servers/theme-r13/sc836-open-mask.webp"); }
  html[data-theme="dark"] .vz-capacity-viewer[data-variant="sc846"] .vz-cap-cover { --vz-product-mask: url("/calculator/images/servers/theme-r13/sc846-closed-mask.webp"); }
  html[data-theme="dark"] .vz-capacity-viewer[data-variant="sc846"] .vz-cap-inside { --vz-product-mask: url("/calculator/images/servers/theme-r13/sc846-open-mask.webp"); }
  html[data-theme="dark"] .vz-capacity-viewer[data-variant="sc847"] .vz-cap-cover { --vz-product-mask: url("/calculator/images/servers/theme-r13/sc847-closed-mask.webp"); }
  html[data-theme="dark"] .vz-capacity-viewer[data-variant="sc847"] .vz-cap-inside { --vz-product-mask: url("/calculator/images/servers/theme-r13/sc847-open-mask.webp"); }
  html[data-theme="dark"] img[src*="/images/servers/photo/rack-12bay-card.webp"] { --vz-product-mask: url("/calculator/images/servers/theme-r13/rack-12bay-card-mask.webp"); }
  html[data-theme="dark"] img[src*="/images/servers/photo/rack-16bay-card.webp"] { --vz-product-mask: url("/calculator/images/servers/theme-r13/rack-16bay-card-mask.webp"); }
  html[data-theme="dark"] img[src*="/images/servers/photo/rack-24bay-card.webp"] { --vz-product-mask: url("/calculator/images/servers/theme-r13/rack-24bay-card-mask.webp"); }
  html[data-theme="dark"] img[src*="/images/servers/photo/rack-36bay-card.webp"] { --vz-product-mask: url("/calculator/images/servers/theme-r13/rack-36bay-card-mask.webp"); }
  html[data-theme="dark"] img[src*="/images/servers/photo/rack-4bay-card.webp"] { --vz-product-mask: url("/calculator/images/servers/theme-r13/rack-4bay-card-mask.webp"); }
  html[data-theme="dark"] img[src*="/images/servers/photo/rack-8bay-card.webp"] { --vz-product-mask: url("/calculator/images/servers/theme-r13/rack-8bay-card-mask.webp"); }
  html[data-theme="dark"] img[src*="/images/servers/photo/tower-12bay-card.webp"] { --vz-product-mask: url("/calculator/images/servers/theme-r13/tower-12bay-card-mask.webp"); }
  html[data-theme="dark"] img[src*="/images/servers/photo/tower-8bay-card.webp"] { --vz-product-mask: url("/calculator/images/servers/theme-r13/tower-8bay-card-mask.webp"); }
  html[data-theme="dark"] img[src*="/images/servers/photo/ws-rack-2u-card.webp"] { --vz-product-mask: url("/calculator/images/servers/theme-r13/ws-rack-2u-card-mask.webp"); }
  html[data-theme="dark"] img[src*="/images/servers/photo/ws-rack-3u-card.webp"] { --vz-product-mask: url("/calculator/images/servers/theme-r13/ws-rack-3u-card-mask.webp"); }
  html[data-theme="dark"] img[src*="/images/servers/photo/ws-tower-mid-card.webp"] { --vz-product-mask: url("/calculator/images/servers/theme-r13/ws-tower-mid-card-mask.webp"); }
  html[data-theme="dark"] img[src*="/images/servers/photo/ws-tower-midi-card.webp"] { --vz-product-mask: url("/calculator/images/servers/theme-r13/ws-tower-midi-card-mask.webp"); }
  html[data-theme="dark"] :is(.vz-prof-viewer,.vz-chassis-viewer,.vz-capacity-viewer) :is(.vz-prof-controls,.vz-cap-controls) button {
    color: #e8eaee; background: #30353b; border-color: #5c646d;
  }
  html[data-theme="dark"] :is(.vz-prof-viewer,.vz-chassis-viewer,.vz-capacity-viewer) :is(.vz-prof-controls,.vz-cap-controls) button:is(:hover,[aria-pressed="true"]) {
    color: #fbf1cc; background: #3b4046; border-color: #c2aa69;
  }
  html[data-theme="dark"] :is(.vz-prof-viewer,.vz-chassis-viewer,.vz-capacity-viewer) :is(.vz-prof-controls,.vz-cap-controls) button[data-action="lid"] {
    color: #232526; background: #edcc68; border-color: #e6c56c;
  }
  html[data-theme="dark"] :is(.vz-prof-viewer,.vz-chassis-viewer,.vz-capacity-viewer) :is(.vz-prof-controls,.vz-cap-controls) button[data-action="lid"]:hover { background: #f4d77f; }
  html[data-theme="dark"] :is(.vz-prof-viewer,.vz-chassis-viewer,.vz-capacity-viewer) :is(.vz-prof-help,.vz-prof-feedback,.vz-cap-help,.vz-cap-feedback) { color: #bec4cc; }
  html[data-theme="dark"] :is(.vz-buyer-gallery,.vz-cap-gallery,.vz-prof-dialog,.vz-chassis-dialog,.vz-capacity-dialog) :is(a,.vz-prof-secondary button,.vz-cap-secondary button) { color: #ead38b; }
  html[data-theme="dark"] :is(.vz-prof-viewer,.vz-chassis-viewer,.vz-capacity-viewer) :is(button,a,[role="button"]):focus-visible { outline: 3px solid #f2d477; outline-offset: 2px; }
  html[data-theme="dark"] :is(dialog.vz-prof-dialog,dialog.vz-chassis-dialog,dialog.vz-capacity-dialog) {
    color: #e8eaee !important; background: #212428 !important; border-color: #59616a; color-scheme: dark;
  }
  html[data-theme="dark"] :is(dialog.vz-prof-dialog,dialog.vz-chassis-dialog,dialog.vz-capacity-dialog)::backdrop { background: rgba(4,6,9,.82); }
  html[data-theme="dark"] .vz-buyer__group:has(.vz-buyer-gallery),
  html[data-theme="dark"] :is(.vz-cap-gallery,.vz-buyer-gallery,.vz-buyer-gallery__model,.vz-cap-card,.vz-buyer-gallery__lead,.vz-buyer-gallery__detail) {
    color: #e8eaee; border-color: #4a5058; background-color: #222529;
  }
  html[data-theme="dark"] :is(.vz-buyer__group:has(.vz-buyer-gallery),.vz-cap-gallery) :is(h3,h4,dd) { color: #e8eaee; }
  html[data-theme="dark"] :is(.vz-buyer-gallery figcaption,.vz-cap-copy p,.vz-cap-copy dt,.vz-cap-note) { color: #bac1c9; }
  html[data-theme="dark"] a.vz-buyer-gallery__detail img { background: #25282d; }
}


/* Result cards share the catalog photo geometry, including relative image URLs. */
@media screen {
  html[data-theme="dark"] #calc-results .preview-product,
  html[data-theme="dark"] #calc-results .preview-product :is(.calc-result-card-media,.calc-server-product-photo) {
    background: transparent !important;
  }
  html[data-theme="dark"] img.calc-server-product-photo__img[src*="images/servers/photo/"],
  html[data-theme="dark"] img[src*="/upload/products/"]:is([src*="/preview/"],[src*="/middle/"],[src*="/detail/"]) {
    -webkit-mask: var(--vz-product-mask, none) center / contain no-repeat;
    mask: var(--vz-product-mask, none) center / contain no-repeat;
    -webkit-mask-origin: content-box;
    mask-origin: content-box;
    object-fit: contain;
    mix-blend-mode: normal !important;
    filter: none !important;
  }
  html[data-theme="dark"] img.calc-server-product-photo__img:is([src*="images/servers/photo/rack-4bay.webp"],[src*="images/servers/photo/rack-4bay.png"],[src*="images/servers/photo/rack-4bay-card.webp"]) { --vz-product-mask: url("/calculator/images/servers/theme-r13/rack-4bay-card-mask.webp"); }
  html[data-theme="dark"] img.calc-server-product-photo__img:is([src*="images/servers/photo/rack-8bay.webp"],[src*="images/servers/photo/rack-8bay.png"],[src*="images/servers/photo/rack-8bay-card.webp"]) { --vz-product-mask: url("/calculator/images/servers/theme-r13/rack-8bay-card-mask.webp"); }
  html[data-theme="dark"] img.calc-server-product-photo__img:is([src*="images/servers/photo/rack-12bay.webp"],[src*="images/servers/photo/rack-12bay.png"],[src*="images/servers/photo/rack-12bay-card.webp"]) { --vz-product-mask: url("/calculator/images/servers/theme-r13/rack-12bay-card-mask.webp"); }
  html[data-theme="dark"] img.calc-server-product-photo__img:is([src*="images/servers/photo/rack-16bay.webp"],[src*="images/servers/photo/rack-16bay.png"],[src*="images/servers/photo/rack-16bay-card.webp"]) { --vz-product-mask: url("/calculator/images/servers/theme-r13/rack-16bay-card-mask.webp"); }
  html[data-theme="dark"] img.calc-server-product-photo__img:is([src*="images/servers/photo/rack-24bay.webp"],[src*="images/servers/photo/rack-24bay.png"],[src*="images/servers/photo/rack-24bay-card.webp"]) { --vz-product-mask: url("/calculator/images/servers/theme-r13/rack-24bay-card-mask.webp"); }
  html[data-theme="dark"] img.calc-server-product-photo__img:is([src*="images/servers/photo/rack-36bay.webp"],[src*="images/servers/photo/rack-36bay.png"],[src*="images/servers/photo/rack-36bay-card.webp"]) { --vz-product-mask: url("/calculator/images/servers/theme-r13/rack-36bay-card-mask.webp"); }
  html[data-theme="dark"] img.calc-server-product-photo__img:is([src*="images/servers/photo/tower-8bay.webp"],[src*="images/servers/photo/tower-8bay.png"],[src*="images/servers/photo/tower-8bay-card.webp"]) { --vz-product-mask: url("/calculator/images/servers/theme-r13/tower-8bay-card-mask.webp"); }
  html[data-theme="dark"] img.calc-server-product-photo__img:is([src*="images/servers/photo/tower-12bay.webp"],[src*="images/servers/photo/tower-12bay.png"],[src*="images/servers/photo/tower-12bay-card.webp"]) { --vz-product-mask: url("/calculator/images/servers/theme-r13/tower-12bay-card-mask.webp"); }
  html[data-theme="dark"] img.calc-server-product-photo__img:is([src*="images/servers/photo/ws-rack-2u.webp"],[src*="images/servers/photo/ws-rack-2u.png"],[src*="images/servers/photo/ws-rack-2u-card.webp"]) { --vz-product-mask: url("/calculator/images/servers/theme-r13/ws-rack-2u-card-mask.webp"); }
  html[data-theme="dark"] img.calc-server-product-photo__img:is([src*="images/servers/photo/ws-rack-3u.webp"],[src*="images/servers/photo/ws-rack-3u.png"],[src*="images/servers/photo/ws-rack-3u-card.webp"]) { --vz-product-mask: url("/calculator/images/servers/theme-r13/ws-rack-3u-card-mask.webp"); }
  html[data-theme="dark"] img.calc-server-product-photo__img:is([src*="images/servers/photo/ws-tower-mid.webp"],[src*="images/servers/photo/ws-tower-mid.png"],[src*="images/servers/photo/ws-tower-mid-card.webp"]) { --vz-product-mask: url("/calculator/images/servers/theme-r13/ws-tower-mid-card-mask.webp"); }
  html[data-theme="dark"] img.calc-server-product-photo__img:is([src*="images/servers/photo/ws-tower-midi.webp"],[src*="images/servers/photo/ws-tower-midi.png"],[src*="images/servers/photo/ws-tower-midi-card.webp"]) { --vz-product-mask: url("/calculator/images/servers/theme-r13/ws-tower-midi-card-mask.webp"); }
  html[data-theme="dark"] img.vz-legacy-brand-art {
    content: var(--vz-legacy-brand-art);
    mix-blend-mode: normal !important;
    filter: none !important;
  }
}

@media screen {
  html[data-theme="dark"] img[src*="/upload/products/"][src*="/1U-4-bay-19.jpg" i] { --vz-product-mask: url("/calculator/images/servers/theme-r13/legacy-1u-4-bay-19-mask.webp"); }
  html[data-theme="dark"] img[src*="/upload/products/"][src*="/2U-8-bay-19.jpg" i] { --vz-product-mask: url("/calculator/images/servers/theme-r13/legacy-2u-8-bay-19-mask.webp"); }
  html[data-theme="dark"] img[src*="/upload/products/"][src*="/2U-12-bay-19.jpg" i] { --vz-product-mask: url("/calculator/images/servers/theme-r13/legacy-2u-12-bay-19-mask.webp"); }
  html[data-theme="dark"] img[src*="/upload/products/"][src*="/3U-16-bay-19.jpg" i] { --vz-product-mask: url("/calculator/images/servers/theme-r13/legacy-3u-16-bay-19-mask.webp"); }
  html[data-theme="dark"] img[src*="/upload/products/"][src*="/4U-24-bay-19.jpg" i] { --vz-product-mask: url("/calculator/images/servers/theme-r13/legacy-4u-24-bay-19-mask.webp"); }
  html[data-theme="dark"] img[src*="/upload/products/"][src*="/4U-36-bay-19.jpg" i] { --vz-product-mask: url("/calculator/images/servers/theme-r13/legacy-4u-36-bay-19-mask.webp"); }
  html[data-theme="dark"] img[src*="/upload/products/"][src*="/4U-Rack-19.jpg" i] { --vz-product-mask: url("/calculator/images/servers/theme-r13/legacy-4u-rack-19-mask.webp"); }
  html[data-theme="dark"] img[src*="/upload/products/"][src*="/Mini-Tower.jpg" i] { --vz-product-mask: url("/calculator/images/servers/theme-r13/legacy-mini-tower-mask.webp"); }
  html[data-theme="dark"] img[src*="/upload/products/"][src*="/Mid-Tower.jpg" i] { --vz-product-mask: url("/calculator/images/servers/theme-r13/legacy-mid-tower-mask.webp"); }
}

