/* Autobaz palette: burgundy, graphite, steel, light grey and white. */
:root{--ink:#252d3a;--muted:#6b7280;--blue:#7a0e22;--line:#e1e3e7;--bg:#f3f4f6;--accent:#7a0e22}
body{background:#f3f4f6;color:#252d3a}
.testbar{background:#fff;color:#6b7280;letter-spacing:.7px}
.homePage header,.addPage header{max-width:none;background:#252d3a;color:#fff;margin:0 0 26px;padding-left:max(24px,calc((100vw - 1212px)/2));padding-right:max(24px,calc((100vw - 1212px)/2))}
header .logo,header .logo span,header .logo i{color:#fff}
header .nav{color:#d1d5db;padding:9px 12px;border-radius:7px}
header .nav:hover{color:#fff;background:#ffffff0d}
header .nav.active{color:#fff;background:#7a0e22}
header .nav b{background:#ffffff20;color:#fff}
header .backLink{color:#f3f4f6}header .freeBadge{color:#e5e7eb;background:#ffffff0d;border-color:#6b7280}
.primary,.largeInputButton,.contact{background:#7a0e22;color:#fff;border-color:#7a0e22}
.primary:hover,.largeInputButton:hover,.contact:hover{background:#5d0b1a}
header>.primary{border:1px solid #a43a4d}
.outlineInputButton,.secondaryButton{background:#fff;color:#7a0e22;border:1px solid #c9cdd4}
.outlineInputButton:hover,.secondaryButton:hover{background:#f8eff1}
input,select,textarea{border-color:#d1d5db;color:#252d3a;background:#fff}
input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}
input:focus,select:focus,textarea:focus{outline:2px solid #7a0e22;outline-offset:2px}
button:focus-visible,a:focus-visible{outline:3px solid #7a0e22;outline-offset:3px}
header button:focus-visible,header a:focus-visible{outline-color:#fff}
label{color:#6b7280}.error{color:#7a0e22}
input[type=checkbox],input[type=radio],.equipmentOption input,.inlineCheck input,.reviewItem input,.reviewEquipment input{accent-color:#7a0e22}
.homePage .searchBox,.formSection,.fieldFinder,.smartImport,.card,.publishSuccess{border-color:#e1e3e7;background:#fff}
.homePage .searchHeading h1,.homePage .sectionHeading h2,.formSectionTitle h2{color:#252d3a}
.homePage .searchHeading>span,.homePage .sectionHeading p,.sectionHeading p,.variant,.city,.locationStatus,.parameterStatus,.sectionNote,.additionalHeading p,.sideNote,.dataCredit{color:#6b7280}
.primarySearch{background:#fafafa;border:1px solid #d1d5db;border-left:4px solid #7a0e22}
.primarySearch label,.primaryAddSection label{color:#252d3a;font-size:14px;font-weight:700}
.primarySearch input,.primarySearch select,.addPage .primaryAddSection input,.addPage .primaryAddSection select{border:2px solid #aeb4be;background:#fff;min-height:52px;color:#252d3a;font-size:16px;box-shadow:0 1px 2px #252d3a08}
.primarySearch input:not(:placeholder-shown),.primaryAddSection input:not(:placeholder-shown){font-weight:600;border-color:#7a0e22}
.primarySearch input:focus,.primarySearch select:focus,.primaryAddSection input:focus,.primaryAddSection select:focus{border-color:#7a0e22;box-shadow:0 0 0 4px #7a0e2210}
.primarySearch select:has(option:checked:not([value=""])),.primaryAddSection select:has(option:checked:not([value=""])){border-color:#7a0e22}
.primaryRanges .rangeRow{background:#fff;border-color:#d1d5db}
.rangeRow>legend{color:#7a0e22;font-size:15px;font-weight:700}
.rangeRow>label{color:#6b7280;font-weight:600}
.primaryRanges .rangeRow input:not(:placeholder-shown){border-color:#7a0e22}
.primaryAddSection{border:1px solid #d1d5db;border-top:4px solid #7a0e22;box-shadow:0 5px 20px #252d3a06}
.addFieldGroup{border-color:#e5e7eb}.addFieldGroup h3{color:#7a0e22;font-weight:700}
.formSectionTitle>span,.addDetail>summary>span{background:#f3f4f6;color:#7a0e22}
.formSectionTitle p,.vehicleForm label small{color:#6b7280}
.addDetail>summary,.filterCategory>summary,.equipmentAccordion>summary,.filterEquipmentGroup>summary{color:#252d3a}
.addDetail>summary::before{color:#7a0e22}.addDetail>summary>small,.equipmentAccordion>summary>span{color:#6b7280}
.addDetail[open],.filterCategory[open]{border-color:#b9a0a6}.addDetail[open]>summary{background:#faf8f9;border-color:#e1e3e7;border-radius:12px 12px 0 0}
.filterCategory,.filterEquipmentGroup,.vehicleForm .equipmentAccordion,.rangeRow{border-color:#e1e3e7;background:#fff}
.singleFilter{border-color:#e1e3e7;background:#fafafa}.singleFilter>span{color:#252d3a}
.homePage .advancedFilters>summary,.categoryCount,.dark{color:#7a0e22}
.sharedFilterFinder,.advancedFilters,.cardBottom,.publishRow{border-color:#e1e3e7}
.parameterShortcuts button,.selectedEquipment button{background:#f8eff1;color:#7a0e22;border:1px solid #ead5da}
.sideSummary{background:#252d3a}.sidebarInner nav a{color:#6b7280}.sidebarInner nav a:hover{color:#7a0e22;background:#f8eff1}
.importCard{background:#f9fafb;border-color:#e1e3e7}.importCard h2{color:#252d3a}.importCard h2 small{color:#6b7280}
.sourcePaste{background:#fff;border-color:#b8bdc6;color:#7a0e22}.sourcePaste p{color:#6b7280}
.sourcePaste:focus{outline-color:#7a0e22;border-color:#7a0e22;background:#faf5f6}
.largeInputButton:focus-within{outline-color:#7a0e22}
.textImport textarea{border-color:#d1d5db}.smartImport .dictationHelp{background:#f3f4f6;border-color:#d1d5db;color:#252d3a}
#dictationStatus,.dictationHelp,.conversionNote{color:#6b7280}
.importedField{background:#fcf4f6;border-color:#b9717e}
.fieldFinder{border-color:#b8bdc6;background:#fff}.fieldFinder label{color:#252d3a;font-weight:700}
.fieldFinder input{background:#fff;border-color:#b8bdc6}.fieldResults{background:#fff;border-color:#d1d5db}
.fieldResult{background:#fff;border-color:#e1e3e7;color:#252d3a}.fieldResult:hover,.fieldResult:focus{background:#f8eff1;border-color:#7a0e22}
.fieldResult span{color:#6b7280}.fieldTarget{outline:3px solid #7a0e22!important;outline-offset:5px;background:#fcf5f6!important}
.vehicleOptions{border-color:#c9cdd4;box-shadow:0 12px 28px #252d3a24}.vehicleOptions button{color:#252d3a}
.vehicleOptions button:hover,.vehicleOptions button:focus,.vehicleOptions button[aria-selected=true]{background:#f8eff1;color:#7a0e22}
.vehicleToggle{color:#7a0e22}.vehicleEmpty{color:#6b7280}
.vehicleForm .equipmentOption{border-color:#e5e7eb}.vehicleForm .equipmentOption:hover{background:#f9fafb}
.vehicleForm .equipmentOption.checked{background:#f8eff1;border-color:#c58c97;color:#7a0e22}
.equipmentToolbar,.equipmentResults,.notice{color:#6b7280}.notice{background:#f3f4f6}
.largeUpload{background:#fafafa;border-color:#b8bdc6;color:#7a0e22}.upload{color:#7a0e22;border-color:#b8bdc6}
.photoTile>span,.photoTile .makeCover,.specs span,.detailSpecs,.technicalTable>div:nth-child(odd){background:#f3f4f6;color:#6b7280}
.heart.saved,.detailPrice,.logo span,.logo i{color:#7a0e22}.heart,.arrow{color:#7a0e22}.arrow{background:#f8eff1}
header .logo span,header .logo i{color:#fff}
.badge{background:#f3f4f6;color:#252d3a}.soldBadge{background:#252d3a;color:#fff}.premiumBadge{background:#7a0e22;color:#fff}
.premiumSection{background:#f8eff1;border-color:#dcc2c8}.premiumCards .card{border-color:#dcc2c8;background:#fff}.adLabel{color:#7a0e22;border-color:#dcc2c8}
.analysisDialog::backdrop{background:#252d3a99}.analysisDialog p,.analysisDialog small{color:#6b7280}.analysisSpinner{border-color:#f3f4f6;border-top-color:#7a0e22}
.carPhotoGallery{margin-top:22px;padding:20px;border:1px solid #e1e3e7;border-radius:12px;background:#fff}
.carPhotoGallery h3{margin:0 0 6px;color:#7a0e22;font-size:17px}.carPhotoGallery>p{margin:0 0 16px;color:#6b7280;font-size:13px}
.carPhotoGallery .photoGrid{margin-bottom:0}.contactSection .formGrid{gap:20px}.contactSection .formSectionTitle p{max-width:650px}
footer{border-color:#e1e3e7}footer p,footer>span{color:#6b7280}
.vehicleForm .fieldFinder,.sharedFilterFinder{position:sticky;top:12px;z-index:40;background:#fff;box-shadow:0 5px 22px #252d3a12}
.sharedFilterFinder{padding:14px;border:1px solid #d1d5db;border-radius:10px;margin-bottom:14px}
.fieldResults{max-height:min(40vh,320px);overflow-y:auto}.fieldFinder #fieldSearchStatus:empty{display:none}
.sharedFilterFinder .selectedEquipment,.sharedFilterFinder .parameterShortcuts{max-height:80px;overflow:auto}
.numericDisplay{font-variant-numeric:tabular-nums}
.sourceCapture{display:flex;flex-direction:column;gap:14px;min-height:0}
.sourceCapture .sourcePaste{flex:1;min-height:0;padding:12px}
.sourceCapture>.largeInputButton{flex-shrink:0}
@media(min-width:651px){.sourceImport>.sourceCapture{grid-row:2 / 4}.sourceCapture .sourcePaste strong{font-size:14px}.sourceCapture .sourcePaste p{font-size:12px;line-height:1.5}}
@media(max-width:650px){.sourceCapture{gap:12px;margin-bottom:12px}.sourceCapture .sourcePaste{min-height:110px;margin-bottom:0}}
.vehicleForm .formGrid>label,.vehicleForm .detailFields>label,.vehicleForm .extraEquipment{color:#7a0e22;font-size:15px;font-weight:700}
.addDetail>summary>strong{color:#7a0e22;font-size:17px}.singleFilter>span{color:#7a0e22;font-size:15px}
.addPage .vehicleForm input:not([type=checkbox]),.addPage .vehicleForm select,.addPage .vehicleForm textarea,.filterGrid input,.filterGrid select{color:#4b5563;font-weight:400}
.vehicleForm input::placeholder,.vehicleForm textarea::placeholder{color:#6b7280;font-weight:400}
.vehicleOptions button{font-weight:400}.formSectionTitle h2{color:#7a0e22}
.addPage .addMain{max-width:1120px}.addPage .addLayout{grid-template-columns:180px minmax(0,1fr);gap:22px}
.addPage .primaryAddSection{padding:22px}.primaryAddSection .formSectionTitle{margin-bottom:14px}
.primaryAddSection .formSectionTitle h2{font-size:23px}.addFieldGroup{padding:12px 0}.addFieldGroup h3{display:none}
.primaryAddSection .formSectionTitle+.addFieldGroup{border-top:0;padding-top:0}
.addPage .primaryAddSection input,.addPage .primaryAddSection select{min-height:46px;padding-top:10px;padding-bottom:10px}
.addPage .primaryAddSection .formGrid{gap:14px}.contactSection .formSectionTitle p{font-size:12px}
@media(max-width:650px){.vehicleForm .fieldFinder,.sharedFilterFinder{top:6px;padding:12px}.fieldFinder label,.parameterSearch{font-size:13px}.fieldResults{max-height:32vh}}
@media(max-width:650px){.addPage .addLayout{display:block}.addPage .primaryAddSection{padding:18px 16px}.addPage .primaryAddSection input,.addPage .primaryAddSection select{min-height:50px;font-size:16px}.addPage .primaryAddSection .formGrid{gap:15px}.primaryAddSection .formSectionTitle h2{font-size:20px}}
@media(max-width:650px){.homePage .rangeRow:has(.numericDisplay){grid-template-columns:minmax(0,1fr)}}
@media(min-width:651px){
 .primarySearch{grid-template-rows:repeat(3,auto) auto;column-gap:20px;row-gap:14px;align-items:stretch}
 .primarySearch .searchIdentity,.primarySearch .primaryRanges{display:contents}
 .searchIdentity>.pairedFields{grid-column:1;align-self:stretch;align-items:end;padding:12px 14px 14px;border:1px solid #d1d5db;border-radius:9px;background:#fff;min-width:0}
 .searchIdentity>.pairedFields:nth-of-type(1){grid-row:1}.searchIdentity>.pairedFields:nth-of-type(2){grid-row:2}.searchIdentity>.pairedFields:nth-of-type(3){grid-row:3}
 .primaryRanges>.mainRange{grid-column:2;align-self:stretch;margin:0}
 .primaryRanges>.mainRange:nth-of-type(1){grid-row:1}.primaryRanges>.mainRange:nth-of-type(2){grid-row:2}.primaryRanges>.mainRange:nth-of-type(3){grid-row:3}
 .primarySearch .locationStatus{grid-column:1/-1;grid-row:4;margin:0}
}
@media(max-width:650px){.homePage header,.addPage header{padding-left:20px;padding-right:20px;margin-bottom:18px}.homePage header .nav{font-size:11px;padding:8px 9px}.primarySearch{border-left-width:3px}.primarySearch input,.primarySearch select,.addPage .primaryAddSection input,.addPage .primaryAddSection select{font-size:16px;min-height:52px}.sidebarInner nav a{background:#fff;border:1px solid #e1e3e7}}

.recentSearches{margin:18px 0 22px}.recentSearches h2{font-size:17px;color:#7A0E22;margin:0 0 5px}.recentSearches>p{font-size:13px;color:#6B7280;margin:0 0 10px}#recentSearchList{display:grid;gap:8px}.recentSearch{display:flex;min-width:0;border:1px solid #d1d5db;border-radius:9px;background:#fff;overflow:hidden}.recentSearchRestore{flex:1;min-width:0;text-align:left;padding:12px 14px;font-size:14px;color:#252D3A;background:transparent;border:0;line-height:1.5;overflow-wrap:anywhere}.recentSearchRestore:hover{background:#f8f0f2;color:#7A0E22}.recentSearchRemove{flex:0 0 44px;border:0;border-left:1px solid #e5e7eb;background:transparent;color:#7A0E22;font-size:24px}.recentSearchRemove:hover{background:#f8f0f2}.recentSearch button:focus-visible{outline:2px solid #7A0E22;outline-offset:-3px}

.headerActions{display:flex;align-items:center;gap:12px}.headerSearch{min-height:46px;padding:12px 16px;border:1px solid #89919e;border-radius:9px;background:transparent;color:#fff;font-weight:700;white-space:nowrap}.headerSearch:hover,.headerSearch.active{background:#ffffff15;border-color:#fff}.searchBox[hidden]{display:none!important}.homePage .premiumSection{margin-top:0}.homePage #searchPanel{scroll-margin-top:16px}@media(max-width:650px){.homePage .headerActions{width:100%;justify-content:flex-end;gap:8px}.homePage .headerActions button{flex:1;min-height:44px;font-size:13px;padding:11px 10px}}

@media(max-width:650px){.logo i,.heroLogo>span{display:none}}

@media(max-width:650px){.addPage .vehicleForm .equipmentOption,.addPage .vehicleForm .equipmentOption>span,.homePage .filterEquipmentOption,.homePage .filterEquipmentOption>span{font-size:16px;font-weight:600;line-height:1.5}.addPage .vehicleForm .equipmentOption,.homePage .filterEquipmentOption{min-height:48px;padding:12px;gap:10px;align-items:center}.addPage .vehicleForm .equipmentOption input[type=checkbox],.homePage .filterEquipmentOption input[type=checkbox]{width:20px;height:20px;flex-shrink:0}}

.addPage .vehicleForm .equipmentOption,.addPage .vehicleForm .equipmentOption>span,.homePage .filterEquipmentOption,.homePage .filterEquipmentOption>span{font-weight:700}.addPage .sidebarInner #sectionNav a{font-weight:700}

/* Consistent full-screen choices on phones. */
html.dialogPageRootLocked{overflow:hidden;overscroll-behavior:none;scrollbar-gutter:stable}
body.dialogPageLocked{position:fixed;left:0;right:0;width:100%;overflow:hidden;overscroll-behavior:none}
dialog.mobileChoice{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;padding:0;border:0;border-radius:0;background:#f7f8fa;color:#252d3a;overflow:hidden;box-shadow:none}
dialog.mobileChoice[open]{display:flex;flex-direction:column}.mobileChoice::backdrop{background:#141921d9}.mobileChoiceHeader{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:max(16px,env(safe-area-inset-top)) 18px 16px;background:linear-gradient(110deg,#30353f,#191f28);color:#fff;min-height:76px}.mobileChoiceHeader h2{font-size:21px;line-height:1.4;margin:0;letter-spacing:-.4px;color:#fff}.mobileChoiceHeader button{width:44px;height:44px;flex-shrink:0;background:#ffffff10;color:#fff;border:1px solid #ffffff30;border-radius:50%;font-size:28px;line-height:1}.mobileChoiceSearch{padding:15px 18px;border-bottom:1px solid #dce0e7;background:#fff;flex-shrink:0}.mobileChoiceSearch label{font-size:13px;color:#7a0e22;margin-bottom:7px}.mobileChoiceSearch input{font-size:16px;min-height:48px;border:1px solid #bfc6d2;background:#f8f9fc;color:#252d3a;border-radius:9px}.mobileChoiceOptions{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 12px;-webkit-overflow-scrolling:touch}.mobileChoiceOptions>button{display:block;width:100%;min-height:58px;text-align:left;padding:15px 14px;margin:3px 0;border-bottom:1px solid #e0e3ea;background:transparent;color:#303946;font-size:17px;font-weight:600;line-height:1.6;overflow-wrap:anywhere;border-radius:8px}.mobileChoiceOptions>button[aria-selected=true]{background:#f4e5eb;color:#7a0e22;border-color:#e5c4d0}.mobileChoiceOptions>button[aria-selected=true]:after{content:' ✓';color:#8d1738}.mobileChoiceOptions>button:disabled{opacity:.45}.mobileChoiceHint{padding:0 18px;font-size:13px;color:#697383;line-height:1.6;margin:10px 0;flex-shrink:0}.mobileChoiceHint:empty{display:none}.mobileChoiceCustom{margin:0 18px max(16px,env(safe-area-inset-bottom));padding:13px 15px;border:1px solid #a92345;border-radius:9px;background:linear-gradient(#a7193e,#730720);color:#fff;font-size:16px;min-height:50px;flex-shrink:0}.mobileChoice button:focus-visible{outline:3px solid #ba647e;outline-offset:-3px}

.mobileChoiceRange{padding:22px 18px;overflow-y:auto;flex:1;min-height:0;display:flex;flex-direction:column;gap:20px}.mobileChoiceRange label{font-size:16px;color:#7a0e22;gap:8px}.mobileChoiceRange input{font-size:18px;min-height:56px;border:1px solid #bfc6d2;background:#fff;color:#252d3a}.mobileChoiceRange button{font-size:16px;min-height:52px;border-radius:9px;padding:12px 16px;background:#7a0e22;color:#fff;font-weight:700}.mobileChoiceRange button.mobileChoiceRangeClear{background:#e9ebf0;color:#4c5665}
