/* Shared appearance for every Revix page. Original light palette remains the default. */
.revix-theme-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;flex-shrink:0;width:auto!important;min-height:38px;padding:8px 12px!important;border:1px solid #bdccc8!important;border-radius:20px!important;background:#eef4f1!important;color:#142d3f!important;font:600 12px Arial,sans-serif!important;white-space:nowrap;cursor:pointer;line-height:1.3!important}.revix-theme-toggle:focus-visible{outline:3px solid #0d9d8a;outline-offset:3px}.theme-floating{position:fixed;top:12px;right:14px;z-index:9000}html[data-theme=dark]{color-scheme:dark;--ink:#edf4fa;--muted:#b8c7d3;--line:#354552;--blue:#68d7bd;background:#0b1015}html[data-theme=dark] body,html[data-theme=dark] .customer-market,html[data-theme=dark] .auth-visual-page{background:#0b1015!important;color:#e9f1f7!important;--ink:#edf4fa;--muted:#b8c7d3;--line:#354552;--blue:#68d7bd}
html[data-theme=dark] :is(header,.home-nav,.card,.lot,.notice-box,dialog,.admin-login-box,.market-lot,.market-metric,.market-filters,.market-sidebar,.operator-tools,.tracking-search,.tracking-specs>div,.notification-row,.notification-list,.market-toolbar,.market-tabs,.market-guide-link,.home-card,.home-trust,.home-art-card,.settings-grid,.market-search,.mail-composer,.composer-toolbar){background-color:#17212b!important;color:#e9f1f7!important;border-color:#354552!important}
html[data-theme=dark] :is(h1,h2,h3,h4,h5,h6,p,label,legend,strong,td,th,address,.brand,.section-title,.operator-tools strong,.lot-price-row strong,.home-kicker,.market-lot h2,.market-metric strong){color:#e9f1f7!important}html[data-theme=dark] :is(.subtle,.tiny,.empty,.stat .label,.lot-details span,.home-trust span,.home-card p,.home-section p,.home-hero p,.home-art-card span,.home-contact p,.notification-row small,.market-lot small,.market-metric span,.market-filters label){color:#bdcbd6!important}
html[data-theme=dark] a{color:#87dfca!important}html[data-theme=dark] :is(input,select,textarea,[contenteditable=true]){background:#101820!important;color:#f2f6fb!important;border-color:#4b6070!important;caret-color:#f2f6fb}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#aab9c7!important;opacity:1}html[data-theme=dark] input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #182d3c inset!important;-webkit-text-fill-color:#f2f6fb!important}
html[data-theme=dark] th{background:#22313e!important}html[data-theme=dark] td,html[data-theme=dark] th{border-color:#344552!important}html[data-theme=dark] tr:hover td{background:#243442!important}html[data-theme=dark] :is(.btn.secondary,.btn.text,.market-tabs button,.market-view-toggle button,.market-view-controls button,.demo-note,.mail-health-strip){background:#243442!important;color:#dceaf4!important;border-color:#455c6b!important}html[data-theme=dark] .btn,html[data-theme=dark] .home-btn{color:#fff!important}html[data-theme=dark] .badge{background:#2b3b4b!important;color:#e1ebf4!important}html[data-theme=dark] .badge.green,html[data-theme=dark] .alert.good{background:#163d32!important;color:#b8f0d7!important}html[data-theme=dark] .badge.amber,html[data-theme=dark] .alert{background:#45381c!important;color:#ffe4a4!important;border-color:#806a35!important}html[data-theme=dark] .badge.red{background:#4a252d!important;color:#ffc9ce!important}html[data-theme=dark] .error{color:#ffabb3!important}html[data-theme=dark] dialog::backdrop{background:#000b}html[data-theme=dark] aside{background:#111c26!important}html[data-theme=dark] aside button{color:#d0dfec!important}html[data-theme=dark] aside button.active{background:#214b43!important;color:#aff4df!important}html[data-theme=dark] .revix-theme-toggle{background:#243442!important;color:#edf5fa!important;border-color:#607785!important}html[data-theme=dark] header img.revix-logo,html[data-theme=dark] .home-nav img{background:#f5faf7;padding:6px;border-radius:7px;height:auto;max-width:210px}html[data-theme=dark] .home-contact{background:#14232b!important}html[data-theme=dark] .home-footer,html[data-theme=dark] .revix-site-footer{background:#111c26!important;color:#c2d1dd!important;border-color:#354552!important}html[data-theme=dark] :is(.home-grid,.home-wrap,.market-main,.market-content){color:#e9f1f7!important}html[data-theme=dark] .market-lot-art{background-color:#1b3038!important}
@media(max-width:600px){.revix-theme-toggle{font-size:11px!important;padding:7px 9px!important;min-height:34px}.home-nav nav>.revix-theme-toggle{display:inline-flex!important}header:has(.revix-theme-toggle){height:auto;min-height:72px;flex-wrap:wrap;padding-block:12px}}
@media print{.revix-theme-toggle{display:none!important}html[data-theme=dark] body{background:white!important;color:black!important}}
html[data-theme=dark] .home-hero em{color:#77dfc3!important}html[data-theme=dark] :is(.eyebrow,.login-layout small,.auth-container small,.market-eyebrow){color:#bbcad5!important}

/* Auction surfaces and list view share the same dark palette as grid cards. */
html[data-theme=dark] .customer-market :is(.auction-discovery-bar,.market-list-row,.market-list-head,.market-lot-body,.bid-dialog-item,.market-empty,.market-load-more,.view-switch,.market-condition-tip){background:#17212b!important;color:#edf4fa!important;border-color:#405361!important}
html[data-theme=dark] .customer-market .market-list-head{background:#243442!important}
html[data-theme=dark] .customer-market :is(.auction-discovery-intro>span,.market-filters summary,.market-reset,.market-export,.market-chip,.market-sidebar-note a){color:#8ce9d0!important}
html[data-theme=dark] .customer-market :is(.market-results-summary,.market-sync,.market-sidebar-note,.market-active-check,.market-condition-tip,.market-breadcrumb,.lot-meta,.lot-specs,.lot-bid-count,.lot-warehouse,.lot-warehouse>span,.lot-price-row small,.lot-price-row>div>span,.list-item-identity p,.list-item-grade>span,.list-item-price>span,.list-item-time,.market-footnote,.nav-label,.market-nav-caption){color:#c3d2de!important}
html[data-theme=dark] .customer-market :is(.list-item-price strong,.list-item-identity h2,.market-results-summary strong,.market-tab,.view-switch button,.bid-total>span,.bid-total small){color:#edf4fa!important}
html[data-theme=dark] .customer-market :is(.market-offer,.save-lot,.grade-pill,.lot-badges>span,.lot-closing,.lot-phase,.market-chip,.bid-presets .btn){background:#263b49!important;color:#d5eee8!important;border-color:#496270!important}
html[data-theme=dark] .customer-market :is(.market-tab.selected,.view-switch button.selected,.save-lot.saved){background:#215547!important;color:#b8ffe7!important;border-color:#6ce2bc!important}
html[data-theme=dark] .customer-market :is(.lot-own-state.leading,.lot-own-state.won){background:#174535!important;color:#b0f4d5!important}
html[data-theme=dark] .customer-market :is(.lot-own-state.outbid,.lot-closing.urgent){background:#4b3121!important;color:#ffdbb6!important}
html[data-theme=dark] .customer-market .lot-own-state.counter{background:#493d20!important;color:#ffe6a7!important}
html[data-theme=dark] .customer-market .list-thumb{background:#263b49!important}
html[data-theme=dark] .customer-market .market-toolbar{border-color:#405361!important}

html[data-theme=dark] .auction-mode-badge{color:#9be8d3!important}html[data-theme=dark] .market-condition-tip>span{color:#bdcddd!important}.list-item-actions .mode-item-actions{grid-column:1/-1}
