/* Shared screen palette. Printed purchase documents retain their own paper layout. */
@media screen {
 :root{--paper:#181a1e;--page:#181a1e;--surface:#24272d;--surface-raised:#30353d;--text:#f4f5f7;--muted:#b7bec8;--line:#454c56;color-scheme:dark;background:var(--page)}
 html,body{background:var(--page);color:var(--text);min-height:100%}
 body{overscroll-behavior-y:none}
 .topbar,.footer,.app-nav,html body .app-nav :is(a,button){background:var(--page);color:var(--text);border-color:var(--line)}
 html body .topbar{border-bottom:1px solid var(--line)}
 html body .topbar :is(.brand,.doc-brand,nav a,.menu,.lang-toggle,#site-language),html body .app-nav :is(b,span){color:var(--text)}
 html body .topbar :is(.brand>span:last-child span,.doc-brand span){color:var(--orange)}
 html body .topbar .site-language-compact{background:var(--surface);color:var(--text);border-color:var(--line)}
 html body .topbar nav .discovery-entry{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:10px}
 html body .app-nav [data-open-parked]{color:var(--text)}
 html body .app-nav [data-open-parked] span{color:var(--text)!important}
 html body .topbar :is(#site-language,.lang-toggle){background:var(--surface);border-color:var(--line)}
 html body .topbar .head-actions .text-btn{background:var(--surface);color:var(--text);border-color:var(--line);box-shadow:none}
 html body .topbar .head-actions .header-register{background:var(--orange);border-color:var(--orange);color:#181a1e}
 html body .topbar .head-actions .text-btn:hover{background:var(--surface-raised)}
 html body .app-nav [aria-current=page],html body .app-nav [aria-current=page] span{color:var(--orange)}
 .listings,.how,.pro,.damage-strip,.auction-market,.listing-market,main,.doc-main,.documents-main{background:var(--page);color:var(--text)}
 .section-head :is(h1,h2,p),.how h2,.pro h2,.about h2,.support-section h2,.partners h2,.footer :is(a,p,strong),.footer nav a{color:var(--text)}
 .damage-strip button{background:var(--surface);color:var(--text);border-color:var(--line)}
 .damage-strip button:is(.active,:hover){background:var(--orange);color:#181a1e}
 .quick-search,.quick-search :is(input,select),.result-tools select{background:var(--surface);color:var(--text);border-color:var(--line)}
 .quick-search label{border-color:var(--line)}
 html body .stat-card{background:var(--surface);color:var(--text);border-color:var(--orange)}
 html body .rax-stage .stat-card{top:12px;left:6%}
 html body .stat-card span{color:var(--muted)}
 html body .topbar nav.mobile-open{border-color:var(--line);background:var(--surface)}
 html body .topbar nav.mobile-open :is(a,.discovery-entry){display:flex;align-items:center;min-height:52px;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:14px 12px;margin:0;width:100%;text-align:left;color:var(--text);background:transparent}
 html body #profileDialog .profile-settings{display:block;padding:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
 html body #profileDialog .profile-settings details{margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
 html body #profileDialog .profile-settings details:last-child{border-bottom:0}
 html body #profileDialog .profile-settings summary{min-height:56px;padding:16px;color:var(--text)}
 html body #profileDialog .profile-settings-content{padding:0 16px 16px}
 html body #profileDialog .profile-settings-content button{display:block;width:100%;text-align:left;min-height:48px;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--text);padding:12px}
 html body #profileDialog .profile-settings-content button:disabled{opacity:.5}
 html body .account-actions{display:flex;flex-direction:column;gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden}
 html body .account-actions button{width:100%;margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;min-height:52px;text-align:left;padding:14px 16px}
 html body :is(.vehicle-detail-dialog,.auction-detail-dialog){background:var(--surface);color:var(--text);border-color:var(--line)}
 html body :is(.bid-panel,.auction-bid-panel,.auction-bidding,.auction-consent){background:var(--surface);color:var(--text);border-color:var(--line)}
 input[type=range],input[type=range]::-webkit-slider-thumb{touch-action:pan-y pinch-zoom}
 input[type=range]::-moz-range-thumb{touch-action:pan-y pinch-zoom}
 input[type=range]{overscroll-behavior:contain}
 /* Keep Rax clear of the statistics card on narrow screens. */
 @media(max-width:680px){html body .rax-stage{display:flex;flex-direction:column;align-items:center;padding-top:0}html body .rax-stage .stat-card{position:relative;inset:auto;order:-1;align-self:stretch;margin:0 0 24px;z-index:3}html body .rax-stage .rax-hero-avatar{position:relative;inset:auto;max-width:100%;height:390px;margin:0 auto}html body .rax-stage .orange-disc{top:auto;bottom:10px}}
 /* Complete the dark palette on informational sections and local history. */
 html body :is(.about,.partners,.help-center,.brand-choice,.simple-filters){background:var(--page);color:var(--text);border-color:var(--line)}
 html body :is(.about,.partners,.help-center,.recent-activity) :is(h1,h2,h3,h4,strong,b){color:var(--text)}
 html body :is(.about-copy,.partners-copy,.help-center,.recent-activity) :is(p,small),html body .about-values span{color:#c3cad3}
 html body :is(.about,.partners,.help-center) .eyebrow{color:var(--orange)}
 html body .partner-fields{background:var(--surface);border-color:var(--line)}
 html body .partner-fields :is(div,article){background:transparent;border-color:var(--line)}
 html body .partner-fields b{color:var(--orange)}
 html body .recent-activity{background:var(--surface);color:var(--text);border-color:var(--line)}
 html body .recent-card{background:var(--surface-raised);color:var(--text);border-color:var(--line)}
 html body .recent-card:is(:hover,:focus-visible){background:#39332e;border-color:var(--orange)}
 html body .recent-card small{color:#c3cad3}
 html body .recent-card-icon{background:#24272d;color:#ffb174}
 html body :is(button.outline,a.outline,button.light,a.light,.recent-heading button){background:var(--surface-raised);color:var(--text);-webkit-text-fill-color:currentColor;border:1px solid #697583;border-radius:12px}
 html body :is(button.outline,a.outline,button.light,a.light,.recent-heading button):hover{background:#3c444e;color:#fff;border-color:#ffad73}
 html body :is(button.outline,a.outline,button.light,a.light,.recent-heading button):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
 html body .heart,html body .heart.saved{background:#30353d;color:#e0e6ee;border:1px solid #697583}
 html body .heart.saved{color:var(--orange);border-color:var(--orange)}
 html body .heart.saved .merkliste-nut circle{fill:#30353d}
 html body :is(.empty,.facts span){background:var(--surface);color:var(--text);border-color:var(--line)}
 html body .listings #mixedFeedStatus{color:#c3cad3}
 html body .footer{background:var(--page)}
 html body .footer :is(button,small){color:#c3cad3}

 /* One screen theme for open offer details and every utility dialog. */
 html body dialog:not(.vehicle-image-viewer){background:var(--surface);color:var(--text);color-scheme:dark;border-color:var(--line)}
 html body dialog::backdrop{background:#080a0dcc}
 html body dialog[open] :is(h1,h2,h3,h4,strong,b,legend){color:var(--text)}
 html body dialog[open] :is(p,li,dt,dd,label,small,.legal-content,.support-disclaimer){color:#c3cad3}
 html body dialog :is(a,.picker-kicker,.eyebrow){color:#ffb174}
 html body dialog :is(button,.sm-chat-close){background:var(--surface-raised);color:var(--text);-webkit-text-fill-color:currentColor;border-color:#697583}
 html body dialog :is(.primary,button[aria-pressed=true]){background:var(--orange);color:#181a1e;border-color:var(--orange)}
 html body dialog :is(.primary,button[aria-pressed=true]) :is(span,strong,b){color:inherit}
 html body dialog button:disabled{opacity:1;color:#aeb8c5;background:#30353d;cursor:not-allowed}
 html body dialog :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
 html body dialog :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select,textarea){background:#30353d;color:#f4f5f7;border-color:#697583}
 html body dialog :is(input,textarea)::placeholder{color:#b7c0cc;opacity:1}
 html body dialog :is(.detail-facts,.detail-equipment)>span{background:#30353d;color:#f4f5f7;border-color:#515c69}
 html body dialog :is(.detail-main,.auction-detail-main,.auction-main) :is(p,header span,.detail-extras){color:#c3cad3}
 html body dialog :is(.detail-main,.auction-detail-main,.auction-main) header>strong{color:#ff9e5b}
 html body dialog :is(.damage-box,.auction-bid-now,.auction-detail-bid,.seller-declarations,.seller-law-hint,.auction-party-note,.bid-legal-summary,.legal-warning,.legal-meta){background:#30353d;color:#e0e6ee;border-color:#697583}
 html body dialog .seller-type-badge{background:#343a42;color:#edf0f3;border-color:#697583}
 html body dialog :is(.detail-report-footer button,.support-email-action small){color:#c3cad3}
 html body dialog :is(.support-chat,.sm-chat-history){background:#1c2026;color:#f4f5f7}
 html body dialog :is(.support-chat p,.sm-chat-bubble,.sm-chat-bubble.incoming,.sm-preview-note,.sm-chat-context,.sm-chat-notice){background:#30353d;color:#f4f5f7;border-color:#515c69}
 html body dialog .support-chat .support-user{background:#3d3028;color:#f4f5f7}
 html body dialog :is(.support-shortcuts button,.sm-chat-tabs button){background:#30353d;color:#ffb174;border-color:#697583}
 html body dialog .sm-chat-tabs button[aria-pressed=true]{background:#f47621;color:#181a1e}
 html body dialog :is(.sm-chat-head small,.sm-chat-context small,.sm-chat-gate p,.sm-chat-gate small,.sm-chat-empty,.sm-chat-compose small,.sm-chat-footer,.sm-chat-bubble time){color:#c3cad3}
 html body .sm-chat-notice{background:#30353d;color:#f4f5f7;border-color:#697583}
 html body .sm-chat-notice small{color:#c3cad3}
 html body dialog.offer-report-dialog .report-privacy{color:#c3cad3}
 html body dialog .legal-content h3{color:#f4f5f7}
 html body dialog .support-head{background:#181a1e}
 html body dialog.support-dialog form{background:#24272d}
 html body dialog .bid-summary>div{background:#30353d;color:#f4f5f7}
 html body dialog .bid-summary span{color:#c3cad3}


 /* Documents, transaction preparation and communication share the screen theme. */
 html body .doc-header{background:var(--page);color:var(--text);border-color:var(--line);flex-wrap:wrap}
 html body .doc-header nav{align-items:center;flex-wrap:wrap}
 html body .doc-header :is(a,.doc-brand){color:var(--text)}
 html body .doc-header :is(select,.site-language-compact){background:var(--surface);color:var(--text);border-color:#697583}
 html body .doc-main>.discovery-entry{display:block;margin:0 0 24px;max-width:100%;white-space:normal}
 html body :is(.doc-cards article,.seller-section,.workflow-card,.workflow-notice,.workflow-offer,.workflow-summary>div,.preview-note,.ad-rail,.private-seller-intro,.discovery-recommendation){background:var(--surface);color:var(--text);border-color:#515c69}
 html body :is(.doc-main,.workflow,.toolbar,.preview-note,.ad-rail) :is(h1,h2,h3,strong,b,label,legend,dt,dd){color:var(--text)}
 html body :is(.doc-main,.workflow,.ad-rail) :is(p,small,.muted,.doc-note){color:#c3cad3}
 html body :is(.doc-main,.workflow,.toolbar,.preview-note) a:not(.primary){color:#ffb174}
 html body .doc-main :is(.eyebrow,.doc-cards article>span){color:#ffb174}
 html body :is(.doc-main,.workflow) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#30353d;color:#f4f5f7;border-color:#697583}
 html body :is(.doc-main,.workflow) :is(input,textarea)::placeholder{color:#b7c0cc;opacity:1}
 html body :is(.doc-main,.workflow,.toolbar) :is(button,.primary){background:#f47621;color:#181a1e;border:1px solid #f47621}
 html body :is(.doc-main,.workflow,.toolbar) :is(.secondary,button:disabled){background:#30353d;color:#c3cad3;border-color:#697583;opacity:1}
 html body :is(.doc-main,.workflow,.toolbar) :is(a,button,input,select,textarea):focus-visible{outline:2px solid #ffb174;outline-offset:3px}
 html body :is(.paper,.purchase-document-content,.print-page){background:#24272d;color:#f4f5f7}
 html body :is(.paper,.purchase-document-content,.print-page) :is(h1,h2,h3,p,span,strong,td,th,label,footer){color:inherit}
 html body .print-page .print-lines{background:repeating-linear-gradient(#24272d 0,#24272d 7mm,#697583 7.1mm,#24272d 7.2mm)}
 html body dialog :is(.sm-contact-avatar,.seller-avatar){background:#3d3028;color:#ffb174}
 html body dialog :is(.sm-chat-bubble p,.sm-chat-bubble small,.sm-price-input span,.sm-phone-section small,.sm-contact-hint){color:#e0e6ee}
 html body dialog :is(.sm-chat-tabs,.sm-chat-compose,.sm-chat-footer,.sm-chat-gate){background:#24272d;color:#f4f5f7}
 html body dialog .sm-chat-footer button{color:#ffb174}
 html body dialog[open] :is(.discovery-head,.message-dialog-head,.sm-chat-head){background:#24272d;border-color:#515c69}
 html body dialog :is(.demo-notice,.demo-data-card,.account-stats button){background:#30353d;color:#f4f5f7;border-color:#515c69}
 html body dialog :is(.message-dialog-head small,.demo-notice p,.account-stats span){color:#c3cad3}
 /* Ordinary filter gestures scroll vertically; only the range handles own a drag. */
 html body :is(.body-type-picker,.brand-model-filter,.motorcycle-type-picker,.vehicle-subtype-picker){touch-action:pan-y;overflow:visible}
 html body :is(.body-type-tiles,.filter-option-choices) button{touch-action:pan-y}
 html body .dual-range-track,html body .dual-range-track input[type=range]{touch-action:pan-y pinch-zoom}
 html body .range-expand-panel .dual-range-track{margin-top:14px;margin-bottom:0}
 html body .radius-value{display:grid;gap:6px;margin:12px 0;color:#c3cad3}
 html body .radius-value input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #697583;border-radius:10px;background:#30353d;color:#f4f5f7;font:inherit}
 html body .radius-all{background:#30353d;color:#ffb174;border:1px solid #697583;border-radius:18px;padding:10px 14px;cursor:pointer}
 html body .radius-all[aria-pressed=true]{border-color:#ffb174;background:#3d3028}
 html body .radius-range input[type=range]{pointer-events:auto}
 html body #legalDialog #legalContent{color:#e0e6ee;line-height:1.65}
 html body #legalDialog #legalTitle{font-size:clamp(26px,5vw,40px);line-height:1.2;margin:16px 0 24px;overflow-wrap:anywhere}
 html body #legalDialog #legalContent :is(.legal-meta,.legal-warning,.imprint-section){background:#30353d;color:#f4f5f7;border:1px solid #697583;border-radius:14px;padding:18px;margin:0 0 16px}
 html body #legalDialog #legalContent :is(h3,a){color:#ffb174}
 html body #legalDialog #legalContent :is(p,address,dt,dd,strong){color:#e0e6ee}
 html body #legalDialog .imprint-section h3{margin:0 0 10px;font:700 17px/1.4 Inter,Arial,sans-serif;letter-spacing:0;text-transform:none}
 html body #legalDialog .imprint-section address{font-style:normal}
 html body #legalDialog .imprint-section p{margin:0}
 html body #legalDialog .imprint-register{margin:0}
 html body #legalDialog .imprint-register dt{font-size:13px}
 html body #legalDialog .imprint-register dd{min-height:24px;margin:0 0 12px;border-bottom:1px solid #697583}
 html body #legalDialog .imprint-section a{overflow-wrap:anywhere}
}

/* Paused until launch: hide the complete mascot/statistics block at every width. */
html body .rax-stage[data-market-hero-paused][hidden]{display:none!important}
