/* trouvestonauto.ca - White, navy and royal-blue palette. Shared by both catalogues. */
:root{
 color-scheme:light;
 --surface:#FFFFFF;
 --ink:#0F172A;
 --accent:#2054C7;
 --accent-hover:#1D4ED8;
 --accent-soft:#EFF6FF;
 --accent-line:#BFDBFE;
 --line:#E2E8F0;
 --control-line:#CBD5E1;
 --muted:#475569;
 --subtle:#64748B;
 --surface-alt:#F8FAFC;
 --header-secondary:#1E293B;
 --on-dark:#DBEAFE;
 --danger:#B91C1C;
 --danger-soft:#FEF2F2;
}*{box-sizing:border-box}body{margin:0;font:16px/1.55 system-ui,sans-serif;color:var(--ink);background:var(--surface)}main{max-width:1530px;margin:auto;padding:32px}header{margin-bottom:24px}.eyebrow{font-size:12px;letter-spacing:.13em;font-weight:700;color:var(--muted);margin:0 0 8px}h1{font-size:34px;line-height:1.25;margin:0 0 8px}h1 span{color:var(--accent)}p{margin:8px 0}.sub,.hint{color:var(--muted)}.sub{margin:0}.hint{font-size:13px}.settings{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(420px,1.2fr);gap:22px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:24px}.budget-card{padding-right:24px;border-right:1px solid var(--line);container:budget / inline-size}label{display:block;font-size:13px;font-weight:650}input,select,button{font:inherit;border:1px solid var(--control-line);border-radius:6px;background:var(--surface);min-height:43px;padding:9px 11px;color:var(--ink)}input,select{width:100%;margin-top:5px}input:focus,select:focus,button:focus-visible{outline:none}input[aria-invalid=true]{border:2px solid var(--danger)}.budget-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:end}.budget-fields>*{min-width:0}.amount{position:relative;margin:5px 0 0}.amount input{width:100%;height:64px;font-size:30px;line-height:1.2;font-weight:700;color:var(--accent);margin:0;padding-right:68px;appearance:textfield}.amount input::-webkit-inner-spin-button,.amount input::-webkit-outer-spin-button{appearance:none;margin:0}.amount span{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:14px;font-weight:650;color:var(--muted);white-space:nowrap;pointer-events:none}.budget-frequency select{height:64px;font-size:14px}.budget-card>p{font-size:12px;color:var(--subtle)}.presets{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}button{cursor:pointer;background:var(--accent);color:var(--surface);border-color:var(--accent);font-size:13px;font-weight:600}button:hover{filter:brightness(.95)}button.secondary{color:var(--accent-hover);background:var(--accent-soft);border-color:var(--accent-line)}.tag{font-size:12px;font-weight:700;letter-spacing:.05em;color:var(--muted);margin-bottom:12px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.terms{grid-column:1/-1;display:flex;gap:16px;align-items:end;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:18px}.terms label{min-width:180px;flex:1}.fixed{margin:0 0 10px;flex:1;min-width:230px;font-size:13px;color:var(--muted)}.settings>#saved,.settings>#error{grid-column:1/-1;margin:-8px 0 0}.error{padding:12px;background:var(--danger-soft);color:var(--danger);border-radius:7px}.simulation{padding:12px 16px;background:var(--accent-soft);border-left:4px solid var(--accent);border-radius:4px;font-size:14px;margin:20px 0}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0 8px}.metrics>div{background:var(--accent-soft);border:1px solid var(--accent-line);border-radius:10px;padding:18px 22px}.metrics span{font-size:11px;font-weight:700;letter-spacing:.035em}.metrics b{display:block;font-size:31px;line-height:1.25;margin:6px 0;color:var(--accent)}.metrics p{font-size:13px;margin:0;color:var(--muted)}.controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:16px;margin:22px 0 10px}.controls label:first-child{flex:1;min-width:210px}.controls label{min-width:155px}.controls button{height:43px}.table-caption{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:13px}.dot,.gray-dot{display:inline-block;width:8px;height:8px;background:var(--accent);border-radius:50%;margin:0 5px 0 12px}.gray-dot{background:var(--subtle)}.active-summary{font-size:13px;color:var(--muted);margin:8px 0 16px}.scroll{overflow-x:auto;background:var(--surface);border:1px solid var(--line);border-radius:10px}table{width:100%;border-collapse:collapse}th,td{text-align:left;vertical-align:top;padding:13px 14px;border-bottom:1px solid var(--line)}thead{background:var(--ink);color:var(--surface)}thead th{font-size:13px;background:var(--ink);color:var(--surface)}thead small{color:var(--on-dark)}tbody th{font-weight:600;min-width:310px;width:35%}td{min-width:175px}small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:3px}.ok{color:var(--accent);font-size:17px}.over,.muted{color:var(--subtle);font-weight:400}.muted{font-size:13px}details{font-size:13px;font-weight:400;margin-top:6px}summary{color:var(--accent);cursor:pointer}details p{margin:10px 0}a{color:var(--accent)}tbody tr:nth-child(even){background:var(--surface-alt)}.empty{text-align:center;padding:35px;color:var(--muted)}.info{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:16px 20px;margin-top:18px}.info summary{font-weight:600;font-size:14px}footer{font-size:12px;color:var(--subtle);padding:24px 0 4px}[hidden]{display:none!important}body[data-mode=financement] .lease,body[data-mode=location] .finance{display:none}
.terms #lease-help{flex-basis:100%;margin:0}.column-title{display:block;font-size:16px;font-weight:750;line-height:1.3}thead th.finance{background:var(--header-secondary)}thead th.lease{background:var(--accent)}thead small{color:var(--on-dark)}thead tr:nth-child(2) th{border-top:1px solid #FFFFFF40}.scenario-divider,body[data-mode=location] .scenario-divider-lease{border-left:3px solid var(--control-line)}.payment-unit{display:block;font-size:11px;color:var(--muted);margin:1px 0 5px}.mileage-badge{display:inline-block;font-size:12px;font-weight:650;color:var(--accent-hover);background:var(--accent-soft);border-radius:4px;padding:2px 6px;margin:5px 0 1px}.pinned-header{position:fixed;top:0;z-index:50;overflow:hidden;pointer-events:none;box-shadow:0 4px 10px #0F172A26;background:var(--ink)}.pinned-header table{table-layout:fixed;margin:0}.pinned-header th{overflow-wrap:break-word}
.body-select{position:relative;flex:0 1 235px;min-width:215px}.filter-label{display:block;font-size:13px;font-weight:650}.body-dropdown{margin:5px 0 0}.body-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:43px;padding:9px 11px;border:1px solid var(--control-line);border-radius:6px;background:var(--surface);color:var(--ink);font-size:13px;font-weight:650;list-style:none;cursor:pointer}.body-toggle::-webkit-details-marker{display:none}.body-toggle:after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);flex-shrink:0;margin:0 3px 4px}.body-dropdown[open]>.body-toggle:after{transform:rotate(225deg);margin-top:6px}.body-toggle:focus-visible{outline:none}#body-selection{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.body-panel{position:absolute;top:calc(100% + 6px);left:0;z-index:70;width:330px;max-width:calc(100vw - 64px);padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:9px;box-shadow:0 8px 28px #0F172A26}.body-filter{min-inline-size:0;margin:0;padding:0;border:0}.body-toolbar{margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid var(--line)}.body-list{display:grid;grid-template-columns:1fr;gap:4px;max-height:min(320px,45vh);overflow-y:auto;overscroll-behavior:contain;padding:3px}.controls .body-filter label{min-width:0;flex:initial}.body-option{display:flex;align-items:center;gap:9px;padding:9px 10px;min-height:40px;border:1px solid transparent;border-radius:5px;background:var(--surface);cursor:pointer}.body-option:hover{background:var(--accent-soft)}.body-option:has(input:checked){background:var(--accent-soft);border-color:var(--accent-line)}.body-option input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0;padding:0;flex:0 0 18px;accent-color:var(--accent);cursor:pointer}.body-option span{font-size:13px}.body-master{font-weight:700}.body-filter #body-help{font-size:12px;margin:9px 3px 0}.body-badge{display:block;width:fit-content;font-size:11px;font-weight:500;color:var(--muted);background:var(--surface-alt);border-radius:4px;padding:2px 7px;margin-top:5px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#title-period{color:var(--ink)}.budget-frequency{margin:0}.payment-help{margin:-6px 0 16px}.budget-card #budget-equivalent{font-size:13px;color:var(--muted)}
.vehicle-tabs{display:flex;width:fit-content;max-width:100%;margin:0 0 -1px;position:relative;z-index:1}.vehicle-tab{display:flex;align-items:center;justify-content:center;gap:12px;min-height:49px;padding:12px 20px;border:0;border-radius:0;background:var(--surface-alt);color:var(--ink);font-size:14px;font-weight:650}.vehicle-tab:first-child{border-radius:10px 0 0 0}.vehicle-tab:last-child{border-radius:0 10px 0 0}.vehicle-tab[aria-selected=true]{background:var(--accent);color:var(--surface);box-shadow:inset 0 -3px var(--accent-hover)}.vehicle-tab:hover{filter:none;background:var(--accent-soft)}.vehicle-tab[aria-selected=true]:hover{background:var(--accent-hover)}.vehicle-tab:focus-visible{outline:none;z-index:2}.vehicle-tab svg,.used-empty-icon svg{width:21px;height:21px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.vehicle-panel:focus-visible{outline:none}#new-vehicles-panel>.settings,#used-vehicles-panel>.settings{border-top-left-radius:0}.used-panel{display:flex;align-items:flex-start;gap:24px;padding:36px;background:var(--surface);border:1px solid var(--line);border-radius:0 14px 14px 14px;min-height:250px}.used-empty-icon{display:grid;place-items:center;flex-shrink:0;width:72px;height:72px;border-radius:18px;background:var(--accent-soft);color:var(--muted)}.used-empty-icon svg{width:36px;height:36px}.used-empty-content{max-width:720px}.used-empty-content h2{font-size:24px;line-height:1.3;margin:0 0 12px}.used-empty-content>p:not(.eyebrow){color:var(--muted)}.used-empty-content button{margin-top:16px}
.used-search-fields{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end;border-top:1px solid var(--line);padding-top:20px}.used-search-fields>*{min-width:0}.used-search-fields .body-select{min-width:0}.finance-only{min-width:180px;flex:1}.fixed-choice{min-height:43px;margin-top:5px;padding:9px 11px;border:1px solid var(--accent-line);border-radius:6px;background:var(--accent-soft);color:var(--accent-hover);font-size:13px;font-weight:650}.used-search-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px}.settings>#used-error{grid-column:1/-1;margin:0}.used-search-actions p{margin:0}.budget-card #used-budget-equivalent{font-size:13px;color:var(--muted)}#used-body-selection{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#used-empty-state{border-radius:12px;margin-top:16px;min-height:0}thead th.used-finance{background:var(--header-secondary)}.used-panel .eyebrow{color:var(--muted)}
.used-financing-filter{grid-column:1/-1;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-alt)}.used-financing-filter .body-option{background:transparent}.used-financing-filter .hint{margin:6px 10px 2px}
@container budget (max-width:430px){.budget-fields{grid-template-columns:1fr}}
@media(max-width:950px){.used-search-fields{grid-template-columns:repeat(2,minmax(0,1fr))}main{padding:20px}.settings{grid-template-columns:1fr}.budget-card{border-right:0;padding-right:0;padding-bottom:18px;border-bottom:1px solid var(--line)}.controls label{flex:1}.metrics>div{padding:14px}.metrics span{font-size:10px}}
@media(max-width:580px){.used-search-fields{grid-template-columns:1fr}.used-search-actions{align-items:stretch;flex-direction:column}.vehicle-tabs{width:100%}.vehicle-tab{flex:1;padding:11px 12px;gap:8px;font-size:13px}.used-panel{padding:22px;flex-direction:column;gap:16px}.used-empty-content h2{font-size:21px}.body-select{flex-basis:100%;min-width:100%}.body-panel{width:100%;max-width:none}main{padding:14px}h1{font-size:27px}.settings{padding:16px;gap:16px}.fields{grid-template-columns:1fr}.metrics{gap:8px}.metrics b{font-size:26px}.metrics span{line-height:1.35;display:block}.metrics>div{padding:10px}.metrics p{font-size:11px}.table-caption p:last-child{display:none}.controls label{min-width:100%}}
@media print{thead th,thead th.finance,thead th.lease,thead th.used-finance,thead small{color:var(--ink);background:var(--surface)}.column-title{font-size:10px}.payment-unit,.mileage-badge{font-size:8px}.mileage-badge{padding:0;background:var(--surface)}.scenario-divider,body[data-mode=location] .scenario-divider-lease{border-left-width:1px}}
@media print{.vehicle-tabs,#back-to-new{display:none!important}.used-panel{border:0;padding:0}.pinned-header{display:none!important}body{background:var(--surface)}main{padding:0}.settings,.controls,footer,.info,.simulation{display:none}.scroll{overflow:visible;border:0}.metrics{margin:12px 0}.metrics>div{padding:8px}h1{font-size:23px}table{font-size:9px}th,td{padding:6px;min-width:0!important}thead th,small,.muted{font-size:8px}.ok{font-size:11px}details{display:none}thead{display:table-header-group}tr{break-inside:avoid}.active-summary{font-size:10px}.metrics span{font-size:9px}.metrics b{font-size:22px}.metrics p{font-size:10px}}
.research-notice{padding:16px 20px;background:var(--accent-soft);border:1px solid var(--line);border-radius:10px;margin:16px 0}.research-notice p{margin:5px 0 12px}.used-pagination{display:flex;gap:18px;align-items:center;justify-content:center;margin:18px 0}.used-pagination button:disabled{opacity:.45;cursor:default}.research-summary table{min-width:0;font-size:13px}.research-summary th,.research-summary td{padding:10px}.research-summary td{overflow-wrap:anywhere}@media print{.used-pagination,.research-notice{display:none}}
/* Search forms: shared hierarchy, comfortable touch targets and explicit field feedback. */
.search-workspace{grid-column:1/-1;border-top:1px solid var(--line);padding-top:26px;min-width:0}
.search-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;margin-bottom:22px}.search-heading .eyebrow{font-size:10px;margin:0 0 6px}.search-heading h2{font-size:23px;line-height:1.3;letter-spacing:-.025em;margin:0;color:var(--ink)}.search-heading .hint{margin:7px 0 0}.result-badge{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;border:1px solid var(--accent-line);border-radius:30px;background:var(--accent-soft);color:var(--accent);font-size:13px;font-weight:700;padding:9px 14px;white-space:nowrap}.result-badge:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent)}
.search-primary{display:grid;grid-template-columns:1.5fr 1.1fr 1fr 1fr;gap:16px;align-items:start}.search-primary>*{min-width:0}.search-primary .body-select{min-width:0}.search-input{position:relative;margin-top:5px}.search-input input{margin:0;padding-left:40px;padding-right:37px;height:46px}.search-input input::-webkit-search-cancel-button{display:none}.search-input>svg{position:absolute;top:14px;left:13px;width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:1.8;pointer-events:none}.search-input .clear-query{position:absolute;top:5px;right:5px;width:34px;height:36px;min-height:0;padding:0;display:grid;place-items:center;border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:23px;line-height:1}.search-input .clear-query:hover{background:var(--accent-soft)}.search-primary input,.search-primary select,.search-primary .body-toggle{min-height:46px}
.search-help-row{display:flex;justify-content:space-between;gap:20px;margin:9px 0 22px}.search-help-row p{margin:0;font-size:12px}.search-help-row p:last-child{text-align:right}
.search-detail-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:20px;margin-bottom:22px}.search-group{min-inline-size:0;margin:0;border:1px solid var(--line);border-radius:10px;padding:16px 20px 20px;background:var(--surface-alt)}.search-group legend{padding:0 7px;margin-left:-7px;font-size:15px;font-weight:700;color:var(--muted)}.search-group>.group-help{margin:0 0 15px}.search-group>label{margin-bottom:12px}.range-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}.range-pair:last-child{margin:0}.search-group .hint{font-size:12px}.search-group>.certification-option{margin:14px 0 0;padding:9px 10px}.search-group>.certification-option+.hint{margin:5px 10px 0}.display-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.search-display{padding-top:12px}.search-display .used-financing-filter{margin-top:16px;background:var(--surface)}.search-display .used-financing-filter:has(input:checked){background:var(--accent-soft);border-color:var(--accent-line)}
.field-error{display:block;color:var(--danger);font-size:12px;font-weight:500;line-height:1.45;margin-top:5px}.search-workspace select:disabled{background:var(--surface-alt);color:var(--subtle);cursor:not-allowed}#used-results,#used-empty-state{scroll-margin-top:20px}#used-results:focus-visible,#used-empty-state:focus-visible{outline:none}
.active-filters{width:100%;border-top:1px solid var(--line);margin-top:22px;padding-top:16px}.active-filters-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:10px}.active-filters-heading .filter-label{color:var(--muted)}.active-filters>.hint{font-size:12px;margin:10px 0 0}.text-button,.controls .text-button{min-height:36px;height:auto;border:0;border-radius:4px;padding:6px 0;color:var(--accent);background:transparent;font-size:12px;text-decoration:underline;text-underline-offset:3px}.text-button:disabled{color:var(--subtle);cursor:default;text-decoration:none}.filter-chips{display:flex;gap:7px;flex-wrap:wrap;align-items:center;min-height:35px}.filter-chip,.controls .filter-chip{display:inline-flex;align-items:center;gap:12px;min-height:36px;height:auto;max-width:100%;padding:7px 11px;border:1px solid var(--accent-line);border-radius:7px;color:var(--accent-hover);background:var(--accent-soft);font-size:12px;line-height:1.35;text-align:left;overflow-wrap:anywhere}.filter-chip>span{font-size:18px;line-height:1;font-weight:400;flex-shrink:0}.filter-chip:hover{background:var(--accent-soft);border-color:var(--accent-line)}
.used-search-actions{padding-top:2px}.used-search-actions>button{min-width:220px;min-height:48px;font-size:14px;box-shadow:0 3px 7px #2563EB1A}.search-controls{padding:22px;gap:16px}.search-controls>.search-heading{flex-basis:100%;margin-bottom:4px}.search-controls>.new-search-query{flex:2;min-width:230px}.search-controls>.body-select{flex:1;min-width:205px}.search-controls>label{flex:1;min-width:170px}.search-controls>.active-filters{flex-basis:100%;margin-top:5px}.search-controls>.new-search-query label{min-width:0}.search-controls>.active-filters button{min-width:0}.search-controls>#print{min-width:125px}
@media(max-width:1100px){.search-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.search-detail-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.search-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.search-heading h2{font-size:21px}.search-heading .result-badge{padding:7px 12px}.search-detail-grid{grid-template-columns:1fr}.search-help-row{flex-direction:column;gap:6px}.search-help-row p:last-child{text-align:left}.search-group{padding:14px}.search-workspace{padding-top:22px}.search-controls{padding:16px}}
@media(max-width:480px){.search-primary,.display-controls{grid-template-columns:1fr}.range-pair{gap:10px}.range-pair label{font-size:12px}.search-primary .body-select{min-width:0}.search-controls>.new-search-query,.search-controls>.body-select,.search-controls>label{flex-basis:100%;min-width:0}.active-filters-heading{gap:8px}.used-search-actions>button{width:100%;min-width:0}.search-controls .body-panel{max-width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.search-primary .body-panel{left:auto;right:0}
/* Searchable multiple selections for the used catalogue. */
.multi-select{position:relative;min-width:0}.multi-dropdown{margin:5px 0 0}.multi-select .body-toggle{min-height:46px}.multi-select .body-toggle>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.multi-panel{position:absolute;left:0;top:calc(100% + 6px);z-index:80;width:max(100%,330px);max-width:calc(100vw - 60px);padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 30px #0F172A29}.search-primary .multi-panel{left:auto;right:0}.multi-search{margin:0;min-height:42px;font-size:13px}.multi-actions{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:5px 1px;margin-bottom:6px}.multi-fieldset{border:0;padding:0;margin:0;min-inline-size:0}.multi-options{max-height:min(290px,40vh);overflow:auto;overscroll-behavior:contain;padding:3px}.multi-options .body-option{margin:0;align-items:flex-start;min-height:40px}.multi-options .body-option input{margin-top:2px}.multi-options .body-option span{overflow-wrap:anywhere;line-height:1.5}.multi-panel .multi-status{font-size:12px;margin:10px 3px 3px}.multi-panel .multi-help{font-size:11px;margin:0 3px 10px}.multi-done{width:100%;min-height:38px}.multi-empty{padding:12px;margin:0}.search-group>.multi-select{margin-bottom:12px}
@media(max-width:580px){.multi-panel{width:100%;max-width:100%}.multi-options{max-height:35vh}}
/* Advanced used-vehicle filters stay folded until requested. */
.advanced-filters{margin:0 0 22px;min-width:0}.advanced-toggle{display:flex;align-items:center;gap:10px;width:fit-content;min-height:46px;padding:10px 16px;border:1px solid var(--control-line);border-radius:7px;background:var(--surface);color:var(--muted);font-size:14px;font-weight:650;list-style:none;cursor:pointer}.advanced-toggle::-webkit-details-marker,.filter-accordion-toggle::-webkit-details-marker{display:none}.advanced-toggle:hover,.advanced-filters[open]>.advanced-toggle{background:var(--accent-soft);border-color:var(--accent-line)}.advanced-toggle>svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}.advanced-count{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:20px;background:var(--accent);color:var(--surface);font-size:12px}.advanced-chevron{width:7px;height:7px;margin:0 2px 4px 7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}.advanced-filters[open]>.advanced-toggle .advanced-chevron{transform:rotate(225deg);margin-top:6px}.advanced-toggle:focus-visible,.filter-accordion-toggle:focus-visible{outline:none}
.advanced-panel{max-width:880px;margin-top:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 6px 20px #0F172A14}.filter-accordion{margin:0;border-bottom:1px solid var(--line)}.filter-accordion-toggle{display:flex;align-items:center;gap:12px;min-height:62px;padding:16px 20px;color:var(--muted);font-size:15px;font-weight:650;list-style:none;cursor:pointer;border-radius:9px}.filter-accordion-toggle>span:first-child{flex:1;min-width:0}.filter-accordion-toggle:hover{background:var(--accent-soft)}.accordion-count{font-size:12px;font-weight:500;color:var(--muted);white-space:nowrap}.accordion-symbol{width:18px;height:18px;position:relative;flex-shrink:0}.accordion-symbol:before,.accordion-symbol:after{content:"";position:absolute;background:currentColor;border-radius:1px}.accordion-symbol:before{height:2px;left:0;right:0;top:8px}.accordion-symbol:after{width:2px;top:0;bottom:0;left:8px}.filter-accordion[open]>.filter-accordion-toggle .accordion-symbol:after{display:none}.filter-accordion>.search-group{border:0;border-radius:0;padding:0 20px 20px;background:var(--surface)}.advanced-panel .multi-panel{position:static;width:100%;max-width:100%;margin-top:8px;box-shadow:none;background:var(--surface-alt)}.advanced-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:16px 20px}.advanced-actions>.hint{margin:0 auto 0 0;font-size:12px}.advanced-actions>button{min-height:43px}
@media(max-width:580px){.filter-accordion-toggle{padding:14px;gap:8px;font-size:14px}.filter-accordion>.search-group{padding:0 14px 14px}.accordion-count{font-size:11px}.advanced-actions{padding:14px}.advanced-actions>.hint{flex-basis:100%;margin:0 0 4px}.advanced-actions>button{flex:1}}
/* Keep the search field and its filter trigger together, with a shared dropdown frame. */
.used-search-bar{position:relative;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}.used-search-bar>.advanced-filters{margin:0;position:static}.used-search-bar .advanced-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(880px,100%);max-width:100%;max-height:min(720px,70vh);overflow-y:auto;overscroll-behavior:contain;margin:0;z-index:85;box-shadow:0 12px 32px #0F172A29}.vehicle-filter-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px;padding:20px;border-bottom:1px solid var(--line)}.vehicle-filter-fields>*{min-width:0}.vehicle-filter-fields>.hint{grid-column:1/-1;margin:0;font-size:12px}.vehicle-filter-fields .body-panel{position:static;width:100%;max-width:100%;margin-top:8px;box-shadow:none;background:var(--surface-alt)}.vehicle-filter-fields .body-list{max-height:35vh}.used-query-help p:last-child{text-align:left}.used-search-bar .advanced-actions{position:sticky;bottom:0;z-index:1;background:var(--surface);border-top:1px solid var(--line)}
@media(max-width:720px){.vehicle-filter-fields{grid-template-columns:1fr}.used-search-bar .advanced-panel{max-height:65vh}}
@media(max-width:480px){.used-search-bar{gap:8px}.used-search-bar .advanced-toggle{padding:10px;gap:7px}.used-search-bar .advanced-chevron{margin-left:2px}.vehicle-filter-fields{padding:14px}}
/* Display and sorting controls belong to the results, directly above the table. */
.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 10px;padding:12px 4px;border-bottom:1px solid var(--line)}.results-total{margin:0;color:var(--muted);font-size:14px;font-weight:700;white-space:nowrap}.result-selects{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-width:0}.result-select{position:relative;display:flex;align-items:center;min-width:0;max-width:100%;border:1px solid transparent;border-radius:7px;background:var(--surface);color:var(--accent-hover)}.result-select:hover{border-color:var(--accent-line);background:var(--accent-soft)}.result-select>svg{position:absolute;left:11px;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.result-select:after{content:"";position:absolute;right:13px;top:17px;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);pointer-events:none}.result-select select{appearance:none;cursor:pointer;margin:0;min-width:0;max-width:100%;min-height:43px;padding:9px 34px 9px 37px;border:0;border-radius:7px;background:transparent;color:var(--accent-hover);font-size:14px;font-weight:600}.result-select option{color:var(--ink);background:var(--surface);font-weight:400}.result-select option:checked{background:var(--ink);color:var(--surface)}.used-search-actions{justify-content:flex-end}
@media(max-width:900px){.result-toolbar{flex-wrap:wrap}.result-selects{flex:1;flex-wrap:wrap}}
@media(max-width:580px){.result-toolbar{gap:10px;padding:10px 0}.result-selects{flex-basis:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:6px}.result-select select{width:100%}.results-total{font-size:13px}}
@media print{.result-toolbar{display:none}}
/* A compact, quiet layout for the used-vehicle search. */
@media screen {
 #used-settings{padding:18px;gap:16px;border-radius:0 10px 10px 10px}
 #used-settings .budget-card{padding-right:18px}
 #used-settings .budget-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #used-settings .fields{gap:12px}
 #used-settings label,#used-settings .filter-label{font-size:12px}
 #used-settings input:not([type=checkbox]),#used-settings select{min-height:38px;padding:7px 10px;border-color:var(--control-line);border-radius:5px;font-size:13px}
 #used-settings .amount input{height:46px;min-height:46px;padding-right:60px;font-size:24px}
 #used-settings .amount span{font-size:12px;right:12px}
 #used-settings .budget-frequency select{height:46px;min-height:46px}
 #used-settings .budget-card>p,#used-settings .transaction-card>.hint{font-size:12px;line-height:1.45;margin:6px 0}
 #used-settings .tag{margin-bottom:8px;font-size:11px}
 #used-settings .presets{margin-top:10px}
 #used-settings .presets button{min-height:36px;padding:6px 10px;font-size:12px}
 #used-settings .search-workspace{padding-top:16px}
 #used-settings .search-heading{margin-bottom:12px;gap:12px}
 #used-settings .search-heading h2{font-size:20px}
 #used-settings .search-heading .eyebrow{font-size:10px;margin-bottom:4px}
 #used-settings .search-heading .hint{margin-top:4px;font-size:12px}
 #used-search-bar{grid-template-columns:minmax(0,1fr) auto;gap:0;align-items:end}
 #used-query-control .search-input{margin:0}
 #used-query-control .search-input input{height:42px;min-height:42px;padding:8px 36px 8px 36px;border:0;border-radius:7px 0 0 7px}
 #used-query-control .search-input>svg{top:12px;left:11px;width:17px;height:17px}
 #used-query-control .clear-query{top:5px;right:3px;width:30px;height:32px;min-height:0}
 #used-search-bar .advanced-toggle{min-height:42px;height:42px;padding:8px 12px;gap:8px;border:0;border-left:1px solid var(--control-line);border-radius:0;font-size:13px;white-space:nowrap}
 #used-search-bar .advanced-count{min-width:20px;height:20px;font-size:11px}
 #used-search-bar .advanced-chevron{margin-left:2px}
 #used-search-bar .advanced-panel{top:50px}
 #used-financing-filter{grid-column:auto;align-self:center;padding:0;border:0;border-radius:0;background:transparent;min-width:0}
 #used-financing-filter .body-option{min-height:42px;padding:0;gap:8px;align-items:center;border:0;border-radius:0;background:transparent}
 #used-financing-filter .body-option span{font-size:12px;font-weight:600;line-height:1.4}
 #used-financing-filter .body-option:has(input:checked){color:var(--accent)}
 #used-financing-filter input[type=checkbox]{width:16px;height:16px;min-height:16px;flex-basis:16px}
 #used-settings .vehicle-filter-fields{padding:14px;gap:12px}
 #used-settings .body-toggle{min-height:38px;padding:7px 10px;border-color:var(--control-line);font-size:12px}
 #used-settings .filter-accordion-toggle{min-height:48px;padding:12px 14px;font-size:14px}
 #used-settings .filter-accordion>.search-group{padding:0 14px 14px}
 #used-settings .range-pair{gap:10px;margin-bottom:10px}
 #used-settings .search-group>.group-help{margin-bottom:10px}
 #used-settings .advanced-panel{border-radius:8px;box-shadow:0 8px 24px #0F172A1F}
 #used-settings .advanced-actions{padding:12px 14px;gap:8px}
 #used-settings .advanced-actions>button{min-height:38px;padding:7px 12px;font-size:12px}
 #used-active-filters{border:0;margin-top:12px;padding-top:0}
 #used-active-filters .active-filters-heading{margin-bottom:4px}
 #used-active-filters .filter-chip{min-height:32px;padding:5px 11px;border-radius:20px;background:var(--surface);font-size:12px;gap:9px}
 #used-active-filters .filter-chip:hover{background:var(--accent-soft)}
 #used-result-controls{margin:12px 0 8px;padding:6px 0;gap:12px}
 #used-result-controls select{min-height:38px;padding-top:7px;padding-bottom:7px;font-size:13px}
 #used-result-controls .result-select:after{top:15px}
}
@media screen and (max-width:1100px){
 #used-search-bar{grid-template-columns:minmax(0,1fr) auto;row-gap:8px}
 #used-financing-filter{grid-column:1/-1;padding:0}
 #used-financing-filter .body-option{min-height:34px}
}
@media screen and (max-width:950px){
 #used-settings .budget-card{padding-right:0;padding-bottom:14px}
}
@media screen and (max-width:580px){
 #used-settings{padding:14px;gap:14px}
 #used-settings .search-heading{gap:8px}
 #used-settings .search-heading h2{font-size:19px}
}
@container budget (max-width:330px){#used-settings .budget-fields{grid-template-columns:1fr}}
@media screen and (pointer:coarse){
 #used-settings input:not([type=checkbox]),#used-settings select,#used-settings .body-toggle,#used-settings .advanced-toggle,#used-settings .advanced-actions>button,#used-result-controls select{min-height:44px}
 #used-query-control .search-input input,#used-search-bar .advanced-toggle{height:44px}
 #used-search-bar .advanced-panel{top:52px}
 #used-financing-filter .body-option{min-height:44px}
}
/* Match the supplied mockup: one search row, then the result controls and table. */
@media screen {
 #used-settings .search-heading{margin-bottom:12px}
 .used-search-line{display:grid;grid-template-columns:minmax(0,1fr) 170px;align-items:stretch;gap:0;max-width:1240px;border:1px solid var(--control-line);border-radius:8px;background:var(--surface)}
 #used-search-bar{grid-template-columns:minmax(0,1fr) 140px auto}
 .used-search-line>*{min-width:0}
 #used-settings .used-finance-control{position:relative;margin:0}
 .used-finance-control>.finance-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:17px;height:17px;fill:none;stroke:var(--muted);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
 .used-finance-control>span{position:absolute;bottom:calc(100% + 5px);left:0;white-space:nowrap}
 #used-settings #used-financeMax{height:42px;min-height:42px;margin:0;padding-left:37px;border:0;border-left:1px solid var(--control-line);border-radius:0}
 #used-settings #used-search{min-height:42px;padding:8px 12px;border:0;border-radius:0 7px 7px 0;font-size:12px;box-shadow:none}
 #used-settings .advanced-panel #used-active-filters{margin:0;padding:12px 14px;border-bottom:1px solid var(--line)}
 #used-result-controls{margin:10px 0 8px;padding:0 0 6px;gap:12px}
 #used-result-controls .result-selects{flex:0 1 auto;flex-wrap:nowrap;gap:12px}
 #used-result-controls .results-total{margin-right:auto;font-size:13px}
 #used-result-controls #used-financing-filter .body-option{min-height:38px;white-space:nowrap}
 #used-result-controls #used-financing-filter .body-option span{font-size:12px;font-weight:500}
 #used-result-controls .result-select select{font-size:12px}
}
@media screen and (max-width:1100px){
 #used-result-controls .result-selects{flex-wrap:wrap;justify-content:flex-end;row-gap:4px}
}
@media screen and (max-width:900px){
 .used-search-line{grid-template-columns:minmax(0,1fr);gap:0}
 #used-search-bar{grid-column:1/-1;grid-template-columns:minmax(0,1fr) 140px auto;row-gap:0}
 .used-finance-control>span{position:absolute;bottom:auto;top:0;left:0;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 #used-query-control .search-input input{border-radius:7px 0 0 0}
 #used-search-bar .advanced-toggle{border-radius:0 7px 0 0}
 #used-settings #used-search{border-top:1px solid var(--accent);border-radius:0 0 7px 7px}
 #used-result-controls .result-selects{flex-basis:100%;justify-content:flex-start}
}
@media screen and (max-width:580px){
 #used-search-bar{grid-template-columns:minmax(0,1fr) auto}
 #used-query-control{grid-column:1/-1}
 #used-query-control .search-input input{border-radius:7px 7px 0 0}
 #used-settings #used-financeMax{border-left:0;border-top:1px solid var(--control-line)}
 #used-search-bar .advanced-toggle{border-top:1px solid var(--control-line);border-radius:0}
 #used-search-bar .advanced-panel{top:calc(100% + 8px)}
 #used-result-controls .result-selects{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}
 #used-result-controls #used-financing-filter .body-option{white-space:normal}
}
@media screen and (pointer:coarse){
 #used-settings #used-financeMax,#used-settings #used-search{min-height:44px}
 #used-settings #used-financeMax{height:44px}
}

/* Flat focus styling: no outer halo on any selectable control. */
input:focus,select:focus,textarea:focus,button:focus,summary:focus,a:focus,[tabindex]:focus{outline:none}
button:focus-visible,summary:focus-visible,a:focus-visible{text-decoration:underline;text-underline-offset:3px}

/* Light first-row headings for both catalogues and their pinned copies. */
@media screen {
 #offers > thead > tr:first-child > th,
 #pinned-header > table > thead > tr:first-child > th,
 #used-offers > thead > tr:first-child > th,
 #used-pinned-header > table > thead > tr:first-child > th{background:#F4F8FB;color:var(--ink)}
 #offers > thead > tr:first-child > th small,
 #pinned-header > table > thead > tr:first-child > th small,
 #used-offers > thead > tr:first-child > th small,
 #used-pinned-header > table > thead > tr:first-child > th small{color:var(--ink)}
}

/* Approved logo; trim only its empty vertical margins in the header. */
.site-brand{display:block;position:relative;width:min(240px,100%);aspect-ratio:5 / 1;overflow:hidden;margin:0 0 18px}
.site-brand img{position:absolute;top:50%;left:0;width:100%;height:auto;display:block;transform:translateY(-50%)}
@media print{.site-brand{width:240px;margin-bottom:10px}}

/* Shared navigation and banner; approved white, navy and #2054C7 palette. */
.site-shell{width:100%;max-width:1530px;margin:0 auto;padding:0 32px;box-sizing:border-box}
.site-header{margin:0;background:var(--surface)}
.utility-bar{background:var(--ink);color:#fff}
.utility-content,.utility-links,.utility-account,.brand-navigation,.brand-navigation nav{display:flex;align-items:center}
.utility-content{justify-content:space-between;min-height:44px;gap:24px}
.utility-links{gap:26px;align-self:stretch}
.utility-bar button,.utility-bar a{font:inherit;font-size:12px;font-weight:500;color:#fff;text-decoration:none;border:0;background:none;padding:0;min-height:40px;display:inline-flex;align-items:center;cursor:pointer}
.utility-bar .utility-current{border-bottom:2px solid #93b4ff}
.utility-account{gap:22px}.language-switch{display:flex;align-items:center;gap:9px;font-size:11px;color:#94a3b8}
.language-switch button{min-width:22px;color:#94a3b8}.language-switch button[aria-pressed=true]{color:#fff;font-weight:700}
.utility-bar .login-button{gap:8px;border-radius:20px;background:var(--accent);padding:0 18px;min-height:30px}
.site-header svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;flex-shrink:0}
.brand-navigation{justify-content:space-between;gap:24px;min-height:84px}.brand-navigation .site-brand{margin:0;flex-shrink:0;width:240px}
.brand-navigation nav{gap:32px}.brand-navigation nav a,.brand-navigation nav button{font:inherit;font-size:14px;color:var(--ink);border:0;background:none;text-decoration:none;cursor:pointer;padding:10px 0}
.brand-navigation nav a:hover,.brand-navigation nav button:hover{color:var(--accent)}
.favourites-nav{display:flex;gap:8px;align-items:center}.favourite-count{background:var(--accent-soft);color:var(--accent);font-size:11px;border-radius:20px;min-width:21px;line-height:21px;text-align:center}
.auto-hero{position:relative;overflow:hidden;background:var(--accent);min-height:342px}
.hero-image{position:absolute;width:52%;height:100%;right:0;top:0;object-fit:cover;object-position:62% 36%}
.hero-colour{position:absolute;inset:0;background:var(--accent);clip-path:polygon(0 0,56% 0,67% 100%,0 100%)}
.hero-inner{position:relative;min-height:342px;display:flex;align-items:center}.hero-copy{width:55%;padding:32px 0 38px;color:#fff}
.auto-hero .eyebrow{color:#dbeafe;font-size:10px;letter-spacing:1.3px;margin:0 0 14px}.auto-hero h1{color:#fff;font-size:44px;line-height:1.13;letter-spacing:-1.3px;margin:0 0 16px}.auto-hero h1 span{color:inherit}.auto-hero #title-period{font-size:.65em;font-weight:500;letter-spacing:-.6px}
.auto-hero #title-period{color:#fff}.auto-hero .sub{color:#e5edff;max-width:450px;font-size:15px;line-height:1.55;margin:0 0 22px}
.hero-cta{display:inline-flex;gap:28px;align-items:center;background:#fff;color:var(--accent);border-radius:24px;padding:11px 20px;text-decoration:none;font-size:13px;font-weight:700}.hero-cta:hover{background:#eff6ff}
main{padding-top:28px}#vehicle-tabs{scroll-margin-top:18px}
.portal-dialog{padding:0;border:0;border-radius:14px;width:min(970px,calc(100% - 32px));max-height:calc(100dvh - 48px);color:var(--ink);box-shadow:0 24px 80px #0f172a38;background:#fff;overflow:auto}
.portal-dialog::backdrop{background:#0f172a80;backdrop-filter:blur(3px)}
.portal-close{position:absolute;z-index:2;right:13px;top:10px;border:0;background:#fff;color:var(--ink);font-size:25px;line-height:34px;width:34px;height:34px;border-radius:50%;cursor:pointer}
.portal-inner{padding:40px}.portal-inner h2{font-size:28px;margin:0 0 12px;letter-spacing:-.5px}.portal-inner p{color:var(--muted);line-height:1.65}.portal-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin:28px 0}.portal-steps b{display:block;margin-bottom:8px}.step-number{display:block;color:var(--accent);font-size:28px;font-weight:700;margin-bottom:12px}
.portal-action{background:var(--accent);color:#fff;border:0;border-radius:6px;padding:11px 18px;font:inherit;font-size:13px;cursor:pointer}.portal-note{font-size:12px}
.account-layout{display:grid;grid-template-columns:44% 56%;min-height:600px}.account-picture{position:relative;background:var(--ink);overflow:hidden}.account-picture img{width:100%;height:100%;object-fit:cover;object-position:64% center}.account-picture:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0f172ac9)}.account-picture>div{position:absolute;z-index:1;bottom:35px;left:28px;right:25px;color:white}.account-picture p{font-size:30px;line-height:1.15;font-weight:700;margin:0 0 12px}.account-picture span{font-size:13px;line-height:1.5}.account-panel{padding:42px 32px;display:flex;flex-direction:column;align-items:center}.account-panel .site-brand{width:205px;margin:0 0 24px}.account-panel h2{align-self:flex-start;margin:0 0 24px;font-size:28px}#auth-mount{width:100%;min-height:270px}#auth-mount .cl-cardBox,#auth-mount .cl-rootBox{width:100%;max-width:100%;box-shadow:none}
.save-vehicle{float:right;margin:0 0 8px 8px;background:transparent;border:1px solid var(--line);color:var(--subtle);border-radius:50%;height:30px;width:30px;line-height:26px;font-size:19px;cursor:pointer}.save-vehicle[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border-color:var(--accent-line)}
.favourite-list{padding:0;list-style:none;max-height:52vh;overflow:auto}.favourite-list li{padding:16px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:16px}.favourite-list b,.favourite-list small{display:block}.favourite-list small{color:var(--muted);margin:5px 0}.favourite-list a{font-size:12px}.favourite-list button{border:0;background:none;color:var(--accent);cursor:pointer}
.site-footer{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}.site-footer button{border:0;background:none;font:inherit;color:var(--muted);cursor:pointer;padding:0}
@media(max-width:900px){.utility-links{gap:16px}.utility-links button[data-panel=dealers]{display:none}.brand-navigation nav{gap:18px}.hero-copy{width:59%}.auto-hero h1{font-size:38px}.hero-colour{clip-path:polygon(0 0,54% 0,71% 100%,0 100%)}.auto-hero .sub{max-width:330px}.hero-image{width:52%}.account-layout{grid-template-columns:37% 63%}}
@media(max-width:620px){.site-shell{padding-left:20px;padding-right:20px}.utility-content{gap:10px}.utility-links{gap:0}.utility-links button[data-panel=help]{display:none}.utility-account{gap:12px}.brand-navigation{min-height:74px;gap:12px}.brand-navigation .site-brand{width:200px}.brand-navigation nav>a{display:none}.favourites-nav>span[data-i18n]{display:none}.brand-navigation nav{gap:0}.hero-image{position:relative;display:block;width:100%;height:180px;object-position:60% 52%}.hero-colour{display:none}.hero-inner{min-height:0}.hero-copy{width:100%;padding:28px 0 32px}.auto-hero h1{font-size:36px}.auto-hero .sub{max-width:100%}.auto-hero .eyebrow{font-size:9px}.auto-hero{display:flex;flex-direction:column-reverse}.account-layout{display:block;min-height:0}.account-picture{display:none}.account-panel{padding:40px 22px}.portal-inner{padding:36px 23px}.portal-steps{grid-template-columns:1fr;gap:10px}.portal-steps p{margin-top:6px}.step-number{float:left;margin-right:16px;font-size:22px}.portal-steps b{margin:0}.portal-dialog{max-height:calc(100dvh - 24px)}}
@media print{.utility-bar,.brand-navigation nav,.auto-hero,.portal-dialog,.save-vehicle,.site-footer{display:none!important}.brand-navigation{min-height:60px;padding:0}.site-header{border-bottom:1px solid var(--line)}}
