.source-tags{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 12px}.source-tags span,.source-tags b{background:#f0f5f2;color:#537463;padding:3px 6px;border-radius:4px;font-size:8px;font-weight:500}.source-tags b{background:#fff5e8;color:#a68343}.procedure-panel{padding:22px 28px 0}.procedure-panel h3{font-size:14px;margin:0 0 8px}.procedure-panel p{font-size:11px}.procedure-list{display:flex;gap:9px;overflow-x:auto;padding:12px 0}.procedure-choice{flex:1;min-width:215px;max-width:330px;display:flex;flex-direction:column;gap:7px;text-align:left;background:#f7faf8;border:1px solid #e1eae5;border-radius:9px;color:#5a7265;padding:13px}.procedure-choice.selected{background:#edf7f1;border-color:#62a487}.procedure-choice strong{font-size:11px}.procedure-choice span{font-size:11px}.procedure-choice small{font-size:9px;color:#899b8f}.publication-note{font-size:10px;color:#9b8351;background:#fff8eb;padding:9px;border-radius:7px;margin-bottom:8px}.filters{grid-template-columns:2fr 1fr 1fr 1fr 1fr}.syncbar{line-height:1.7}@media(max-width:1100px){.filters{grid-template-columns:1fr 1fr 1fr}.search-wrap{grid-column:1/-1}}@media(max-width:820px){.filters{grid-template-columns:1fr 1fr}.procedure-panel{padding:20px 20px 0}.syncbar{flex-wrap:wrap}}
.auction-status{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:7px;font-size:11px;font-weight:700;line-height:1.4;background:#edf0f3;color:#465362;margin-bottom:10px}.auction-status i{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:currentColor}.status-open{background:#dcf5e5;color:#176336}.status-live{background:#c7f0ec;color:#075e59}.status-info{background:#e0eeff;color:#245890}.status-pending{background:#eee4ff;color:#69409a}.status-done{background:#e1e9ed;color:#354f5c}.status-closed{background:#f0e9df;color:#74522c}.status-danger{background:#ffe3e3;color:#a32d35}.status-warning{background:#fff0cc;color:#805600}.status-unknown{background:#edf0f3;color:#465362}.checked-at{font-size:10px;color:#66756d;padding-top:8px}.selected-status{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:15px}.selected-status .auction-status{margin:0;font-size:13px}.selected-status small{color:#66756d;font-size:11px}.procedure-choice .auction-status{margin:0}.procedure-choice>span{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.status-explanation{color:#66756d;line-height:1.6}
.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.multi-filter{position:relative;min-width:0;font-size:11px}.multi-filter summary{list-style:none;cursor:pointer;background:#fff;border:1px solid #dfe8e2;border-radius:7px;padding:12px;color:#52685b;min-height:40px;box-sizing:border-box}.multi-filter summary:focus-visible{outline:2px solid #218965}.multi-options{position:absolute;top:calc(100% + 5px);left:0;z-index:20;min-width:240px;max-width:min(340px,80vw);max-height:320px;overflow:auto;background:white;box-shadow:0 8px 30px #173f2826;border:1px solid #dfe8e2;border-radius:8px;padding:12px}.multi-options label{display:flex;align-items:center;gap:8px;padding:7px 2px;cursor:pointer;color:#405a49}.multi-options input{accent-color:#218965;flex-shrink:0}.multi-options .clear-multi{margin-bottom:8px}.multi-filter[open] summary{border-color:#218965}.syncbar{gap:15px;flex-wrap:wrap}@media(max-width:820px){.stats{grid-template-columns:1fr}.multi-options{min-width:210px}}
.filters .multi-options{width:280px;min-width:0;max-width:calc(100vw - 32px);overflow-y:auto;overflow-x:hidden}.filters .multi-options label{display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;width:100%;min-width:0;white-space:normal;font-size:12px;line-height:18px;padding:6px 0}.filters input[type="checkbox"]{width:16px;height:16px;min-width:16px;max-width:16px;flex:0 0 16px;padding:0;margin:0;accent-color:var(--green);cursor:pointer}.filters .multi-options input[type="checkbox"]{margin-top:2px}.filters .multi-options label span{flex:1;min-width:0;overflow-wrap:anywhere}.filters .multi-options label:hover{background:#f0f7f3}.filters .multi-options label:focus-within{outline:2px solid #218965;outline-offset:2px}#region-filter .multi-options{left:auto;right:0}
@media(max-width:600px){.filters{position:relative}.filters .multi-filter{position:static}.filters .multi-options,#region-filter .multi-options{left:0;right:0;width:100%;max-width:100%;top:auto;margin-top:5px}}
.stats{grid-template-columns:minmax(0,1fr)}
.source-tags .vehicle-kind{background:#edf0f5;color:#566376}
.registration-plate{font-size:11px;color:#66756d;line-height:1.5;margin:0 0 12px}.card-body .vin{margin-bottom:5px}.original-title{margin:0 0 12px}
.plate-highlights{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 12px}.plate-highlights span{background:#fff1ce;color:#765512;font-size:10px;line-height:1.5;border-radius:5px;padding:3px 7px}.interesting-note{font-size:12px;line-height:1.6;color:#66756d;margin:0 0 18px}.detail-plate{margin:0 0 14px;font-size:13px}.detail-plate .plate-highlights{margin-top:8px}
.source-tags a{font-size:inherit;color:#16795b;background:#eaf5ef;border-radius:5px;padding:3px 6px}.source-tags a:hover{text-decoration:underline}.source-tags .source-separator{background:none;padding:0}.procedure-source-links{margin-top:12px}

/* Premium horizontal catalog. Scoped to the catalog; detail view and filters stay unchanged. */
.catalog{display:flex;flex-direction:column;gap:15px;min-width:0}
.premium-card{display:grid;grid-template-columns:minmax(225px,28%) minmax(0,1fr) minmax(230px,24%);gap:0;min-width:0;overflow:hidden;background:#fff;border:1px solid #e3e9e7;border-radius:16px;box-shadow:0 7px 26px #173b2b0b;color:#233344}
.premium-media{min-width:0;padding:16px 12px 16px 16px}
.premium-photo{height:215px;position:relative;border-radius:11px;overflow:hidden;background:#e8efec}
.premium-main-photo{display:block;width:100%;height:100%;padding:0;border:0;background:#e8efec;cursor:zoom-in}
.premium-main-photo img{display:block;width:100%;height:100%;object-fit:cover}
.premium-photo-count{position:absolute;right:10px;top:10px;color:#fff;background:#20302fbc;border-radius:7px;padding:5px 9px;font-size:11px;pointer-events:none}
.premium-no-photo{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#84978e;background:linear-gradient(140deg,#f2f5f3,#e3ece8)}
.premium-no-photo img{display:block;width:100%;height:100%;object-fit:cover}
.premium-main-photo img.photo-placeholder,.premium-thumb img.photo-placeholder,.gallery-main.photo-placeholder{object-fit:cover;background:#193a30}
#photo-full.photo-placeholder{width:min(640px,100%);background:#193a30}
.premium-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:8px}
.premium-thumb{position:relative;aspect-ratio:1.42;min-width:0;padding:0;border:2px solid transparent;border-radius:7px;overflow:hidden;background:#e8eeeb}
.premium-thumb.selected{border-color:#137959}.premium-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.premium-thumb>span{position:absolute;inset:0;background:#132c2aca;color:#fff;display:grid;place-items:center;font-weight:700;font-size:15px}
.premium-info{min-width:0;padding:18px 20px 16px 12px;display:flex;flex-direction:column}
.premium-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.premium-badges{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.premium-source,.premium-kind,.premium-extra{padding:6px 9px;border-radius:7px;font-size:11px;white-space:nowrap;background:#e2f3ed;color:#14664d}
.premium-kind,.premium-extra{background:#f0f2f5;color:#657280}.premium-extra{background:#f6f8f6;color:#718478}
.premium-badges .auction-status{margin:0;padding:6px 9px;font-size:11px}
.premium-head .favorite-button{position:static;flex:0 0 34px;width:34px;height:34px;border:1px solid #dce4e4;background:#fff;font-size:21px}
.premium-head .favorite-button.saved{background:#e9fff5}
.premium-title{font-size:22px;line-height:1.25;font-weight:650;letter-spacing:-.5px;margin:13px 0 6px;overflow-wrap:anywhere}
.premium-identifiers{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#71808d;font-size:11px;overflow-wrap:anywhere}
.premium-identifiers strong{color:#344454;font-weight:550}.premium-identifiers .warning{color:#a47535}
.premium-copy{border:0;background:transparent;color:#126e54;font-size:18px;line-height:1;padding:2px 5px}
.premium-id-divider{color:#d5dfde}
.plate-source{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:5px;width:17px;height:17px;border-radius:5px;background:#eef5f1;color:#43816b;line-height:1}
.plate-source svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.plate-source-db{width:auto;padding:0 4px;font-size:9px;font-weight:700;letter-spacing:.1px}
.premium-specs{display:flex;flex-wrap:wrap;gap:10px 0;margin:17px 0 12px}
.premium-spec{display:flex;align-items:center;gap:7px;min-width:0;padding:0 12px;border-left:1px solid #e1e8e7;font-size:16px;color:#537167}
.premium-spec:first-child{border:0;padding-left:0}.premium-spec>span:last-child{display:flex;flex-direction:column;gap:2px}
.premium-spec strong{color:#253a40;font-size:11px;font-weight:600}.premium-spec small{color:#9aa6ac;font-size:9px}
.premium-description{color:#4b5964;font-size:12px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:3px 0 12px;overflow-wrap:anywhere}
.premium-location{font-size:11px;color:#63727e;margin-top:auto;line-height:1.5;overflow-wrap:anywhere}
.premium-location small{display:block;margin-left:14px;color:#929ea4;font-size:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.premium-interesting{background:#fff8e9;border-radius:8px;padding:8px 10px;margin:10px 0 0;font-size:11px;color:#795a20}
.premium-interesting .plate-highlights{margin:6px 0 0}
.premium-info-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:12px;border-top:1px solid #e8eeee;padding-top:11px;font-size:10px;color:#86939b}
.premium-procedures{padding:0;border:0;background:transparent;color:#127457;font-size:11px;font-weight:600;text-align:left}
.premium-offer{display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-width:0;padding:19px 18px;border-left:1px solid #e6ecea}
.premium-price-label,.premium-finance small,.premium-deadline small{display:block;color:#82939b;font-size:10px;line-height:1.5}
.premium-price{display:block;font-size:clamp(21px,2vw,29px);line-height:1.2;letter-spacing:-.7px;color:#075d49;margin:5px 0 13px;overflow-wrap:anywhere}
.price-drop{display:inline-block;padding:3px 7px;margin:-6px 0 4px;border-radius:5px;background:#ffe1e4;color:#b32335;font-size:12px;font-weight:750;white-space:nowrap}
.price-was{display:block;margin:0 0 10px;color:#7b8790;font-size:11px;line-height:1.4}
.price-was del{color:#89949d}
.premium-finance{display:flex;gap:11px;flex-wrap:wrap;margin-bottom:14px;font-size:11px;color:#283845}
.premium-finance>span+span{padding-left:11px;border-left:1px solid #e1e8e6}
.premium-deadline{padding:10px 12px;background:#f3f5f4;border-radius:9px;color:#445b56;margin-top:10px}
.premium-deadline.is-live{background:#eaf6f0;color:#11654e}.premium-deadline strong{display:block;font-size:14px;margin-top:3px;line-height:1.4}
.premium-deadline span{display:block;color:#729186;font-size:10px;margin-top:3px}
.premium-actions{display:flex;flex-direction:column;gap:8px}
.premium-lot-link,.premium-detail{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:38px;padding:8px 12px;border-radius:8px;font-weight:600;font-size:11px;text-align:center}
.premium-lot-link{background:#075f4d;color:white;border:1px solid #075f4d}.premium-lot-link:hover{background:#064c3e;color:#fff;text-decoration:none}
.premium-detail{background:white;color:#275146;border:1px solid #dce6e2}.premium-detail:hover{background:#f1f7f3}
.premium-checked{font-size:10px;color:#82929a;line-height:1.4;margin-top:2px}
#photo-dialog{width:min(1050px,95vw);max-height:92vh;background:#152522;color:#fff}
.photo-dialog-top{display:flex;justify-content:space-between;align-items:center;padding:13px 17px;border-bottom:1px solid #ffffff22;gap:10px}
.photo-dialog-body{padding:12px;text-align:center}#photo-full{display:block;max-width:100%;max-height:74vh;margin:auto;object-fit:contain}
.photo-nav{display:flex;justify-content:center;align-items:center;gap:22px;padding:8px}.photo-nav button{background:#ffffff22;color:#fff;border:1px solid #ffffff44;border-radius:6px;padding:6px 13px}
@media(max-width:1320px){.premium-card{grid-template-columns:minmax(190px,29%) minmax(0,1fr) minmax(205px,25%)}.premium-info{padding-right:12px}.premium-offer{padding:16px 12px}.premium-photo{height:195px}}
@media(max-width:1080px){.premium-card{grid-template-columns:minmax(185px,33%) minmax(0,1fr)}.premium-offer{grid-column:1/-1;border-left:0;border-top:1px solid #e6ecea;flex-direction:row;align-items:end;padding:14px 18px}.premium-offer>div{flex:1;min-width:0}.premium-actions{width:min(240px,42%)}.premium-photo{height:195px}}
@media(max-width:680px){.premium-card{display:flex;flex-direction:column}.premium-media{padding:12px 12px 0}.premium-photo{height:230px}.premium-info{padding:15px 15px 12px}.premium-offer{display:flex;flex-direction:column;align-items:stretch;padding:15px;border-top:1px solid #e6ecea}.premium-actions{width:100%}.premium-title{font-size:21px}.premium-price{font-size:26px}}
@media(max-width:440px){.premium-photo{height:200px}.premium-head .favorite-button{flex-basis:32px}.premium-spec{padding:0 8px}.premium-id-divider{display:none}.premium-badges .auction-status,.premium-source,.premium-kind,.premium-extra{font-size:10px}}
@media(max-width:600px){.sidebar{flex-wrap:wrap;justify-content:space-between}.sidebar .brand{width:100%;margin:0 0 4px}.sidebar .nav{flex:1;min-width:0;justify-content:center;text-align:center;padding:8px 4px;font-size:10px;line-height:1.3}.main,.workspace,.catalog,.premium-card{min-width:0}.workspace-title{flex-wrap:wrap}}
.pagination{flex-wrap:wrap}.pagination #load-more{min-height:40px;padding:9px 22px;border:1px solid #b6d8c7;background:#eaf5ef;color:#11654e;font-size:12px;font-weight:650}.pagination #load-more:hover{background:#d8eee1}

/* Visible on the catalog card without opening the procedure history. */

/* Light catalog layout. Keep the original data and card interactions in app.js. */
:root{
  --bg:#fff;--ink:#192936;--muted:#65737f;--line:#e5e9ec;
  --green:#1c9f68;--green-light:#e8f7ee;--nav:#fff;--radius:16px;
}
html{scroll-behavior:smooth}
body{background:#fff;color:var(--ink);font-size:14px;font-family:Inter,"Segoe UI",Arial,sans-serif}
::selection{background:#ccefdc;color:#123c2b}
:focus-visible{outline:3px solid #46b989;outline-offset:3px}
a{color:#117b53;text-underline-offset:3px}
.site-header{max-width:1440px;margin:0 auto;padding:18px 40px 0}
.header-inner{min-height:70px;background:#f4f5f6;border-radius:18px;padding:12px 22px;display:flex;align-items:center;gap:28px}
.brand-selected{margin:0 auto 0 0;display:inline-flex;align-items:center;gap:12px;min-width:0;white-space:nowrap;color:#123d66;text-decoration:none}
.brand-selected:hover{text-decoration:none}
.brand-selected .brand-mark{display:block;flex:0 0 64px;width:64px;height:64px;object-fit:contain}
.brand-selected .brand-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.brand-selected .brand-name{display:block;font-size:29px;line-height:1.05;font-weight:800;letter-spacing:-.8px;color:#103c66}
.brand-selected .brand-name span{color:#08a993}
.brand-selected .brand-copy small{display:block;margin:0;font-size:11px;font-weight:450;letter-spacing:.05px;line-height:1.25;color:#607887}
.header-source,.header-tag{font-size:12px;color:#465866;white-space:nowrap}
.header-tag{background:#fff;border-radius:999px;padding:11px 15px}
.source-dot{background:#14ad64}
.site-nav{display:flex;align-items:center;gap:28px;min-height:77px;overflow-x:auto;scrollbar-width:thin}
.site-nav .nav{width:auto;flex:none;display:inline-flex;align-items:center;gap:8px;margin:0;padding:19px 0;border:0;border-bottom:3px solid transparent;border-radius:0;color:#263744;background:transparent;font-size:16px;font-weight:600;white-space:nowrap}
.site-nav .nav-icon{display:block;flex:0 0 24px;width:24px;height:24px}
.site-nav .nav:hover{color:#087c51}
.site-nav .nav.active{color:#117f54;background:transparent;border-color:#20b46c}
/* Keep the active tab's single underline: the global focus ring looked like
   a second bottom border plus top/right lines after keyboard interaction. */
.site-nav .nav:focus-visible{outline:none;background:#eaf7ef;border-radius:8px 8px 0 0}
.site-nav .nav b{margin-left:0;padding:3px 7px;color:#60736a;background:#eef3f0;font-size:11px;font-weight:600;border-radius:999px}
.site-nav .nav.active b{color:#08754b;background:#dff4e7}
.main{max-width:1440px;margin:0 auto;padding:0 40px}
.heading{margin:50px 0 34px;align-items:flex-end}
.heading h1{font-size:clamp(38px,4.5vw,62px);line-height:1.12;font-weight:600;letter-spacing:-.035em;margin:0 0 13px}
.heading p{font-size:15px;color:#61707b}
.syncbar{border-top:1px solid #edf0f1;padding-top:18px;margin-bottom:22px;font-size:12px;color:#63777a;align-items:flex-start}
.syncbar>div{min-width:0}
#sync-status{overflow-wrap:anywhere}
#sync-intervals{text-align:right;white-space:nowrap}
.stats{display:block;margin:0 0 24px}
.stat{border:0;border-radius:0;padding:4px 0;min-height:0;background:transparent}
.stat>span{display:block;color:#556878;font-size:13px}
.stat strong{display:block;margin:5px 0 2px;font-size:40px;letter-spacing:-.025em;font-weight:600;line-height:1.15;font-variant-numeric:tabular-nums}
.stat small{font-size:12px;color:#788891}
.workspace{background:transparent;border:0;border-radius:0;padding:0;display:grid;grid-template-columns:296px minmax(0,1fr);grid-template-rows:auto auto auto 1fr;column-gap:30px;align-items:start}
.workspace-title{grid-column:2;grid-row:1;margin:0 0 20px;min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.catalog-sort{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto;min-width:0;color:#344959;font-size:12px;white-space:nowrap}
.catalog-sort select{width:220px;max-width:100%;min-width:0;height:44px;padding:0 12px;border:1px solid #d8dedf;border-radius:9px;background:#fff;color:#263a45;font-size:12px;cursor:pointer}
.workspace-title h1{font-size:32px;line-height:1.2;font-weight:600;letter-spacing:-.025em;margin:0;display:flex;align-items:center;flex-wrap:wrap;column-gap:12px;row-gap:6px}
.workspace-title h1 .offers-count{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:34px;min-height:29px;padding:6px 10px;border:1px solid #d2e8dc;border-radius:999px;background:#eaf6ef;color:#1a7653;font-family:inherit;font-size:13px;font-weight:700;letter-spacing:0;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.workspace-title h1 span{display:inline-block;vertical-align:middle;padding:5px 10px;border-radius:999px;background:var(--green-light);color:var(--green);font-size:14px;letter-spacing:0}
.workspace-title h2{font-size:22px;font-weight:600;letter-spacing:-.02em}
.workspace-title h2 span{border-radius:999px;font-size:11px;padding:4px 8px}
.workspace-title p{font-size:12px}
.workspace-title .secondary{border-radius:999px;padding:11px 17px;font-size:12px;color:#1c7053}
.filters{grid-column:1;grid-row:1/5;position:sticky;top:16px;display:flex;flex-direction:column;gap:12px;background:#f4f5f6;border:0;border-radius:18px;padding:22px 18px 24px;margin:0;min-width:0;min-height:0}
.filter-heading{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:4px}
.filter-heading h2{font-size:20px;font-weight:600;line-height:1.3;margin:0;color:#172835}
.filter-actions .text-button{border:1px solid #bec9ca;border-radius:999px;padding:6px 14px;color:#345965;background:#fff;font-size:12px;white-space:nowrap}
.filters input,.filters select,.multi-filter summary{height:44px;border:1px solid #d8dedf;border-radius:9px;color:#263a45;background:#fff;font-size:12px}
.filters input::placeholder{color:#71818a}
.search-wrap{width:100%}
.search-wrap span{top:7px}
.search-wrap input{padding-left:34px;background:#fff}
.multi-filter{width:100%}
.multi-filter summary{display:block;min-height:44px;padding:13px 12px;color:#354957;font-size:12px}

.multi-options{box-shadow:0 12px 28px #183b2b1a;border-radius:10px}
.filter-row{grid-column:auto;display:flex;flex-direction:column;align-items:stretch;gap:17px;margin:7px 0 0}
.filter-row>label:first-child{display:block;white-space:normal;color:#344959;font-size:12px}
.price-range{display:flex;align-items:center;gap:7px;margin-top:8px}
.filter-row input[type=number]{min-width:0;width:100%;height:42px}
.vehicle-range-filter{display:flex;flex-direction:column;gap:0;color:#344959;font-size:12px}
.vehicle-range-filter .price-range{margin-top:8px}
.vehicle-range-filter input[type=number]{min-width:0;width:100%;height:42px}
.filter-row .check{font-size:12px;color:#344959}
.filter-row input[type=checkbox]{width:16px;height:16px}
.filter-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%}
.filter-actions-bottom{margin-top:0;padding-top:12px}
.filters select[name="source"]:focus-visible{outline:2px solid #8fa5ad;outline-offset:2px}
.interesting-note{grid-column:2;grid-row:2;margin:0 0 15px}
.catalog{grid-column:2;grid-row:3;gap:15px}
.pagination{grid-column:2;grid-row:4;margin:24px 0 10px}
.premium-card{border:1px solid #dce2e4;border-radius:16px;box-shadow:none;background:#fff;transition:border-color .18s ease}
.premium-card:hover{box-shadow:none;transform:none;border-color:#b4c8c0}
.premium-photo{background:#f3f5f5;border-radius:10px}
.premium-no-photo{background:#f3f5f5}
.premium-head .favorite-button{box-shadow:none;border-color:#d8e4dd;color:#287457}
.premium-head .favorite-button:hover{transform:none;background:#e6f5ec}
.premium-title{font-weight:600;color:#1b2c39}
.premium-price{color:#142f37;font-weight:650}
.premium-offer{background:#fff}
.premium-deadline{background:#f4f6f6}
.premium-lot-link{background:#1ba666;border-color:#1ba666;border-radius:999px;min-height:42px;font-size:12px}
.premium-lot-link:hover{background:#138c56;border-color:#138c56}
.premium-detail{border-radius:999px;min-height:42px;font-size:12px}
.premium-source,.premium-kind,.premium-extra,.premium-badges .auction-status{border-radius:999px}
.premium-direction{display:inline-flex;align-items:center;gap:4px;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}
.premium-direction.is-up{background:#e6f3ec;color:#176745}
.premium-direction.is-down{background:#fff0dd;color:#94510e}
.premium-direction span{font-size:15px;line-height:9px}
footer{display:flex;align-items:center;justify-content:space-between;flex-direction:row;flex-wrap:wrap;gap:12px 26px;margin-top:70px;padding:25px 0 32px;border-top:1px solid #e5e9ec;color:#63727b;font-size:12px}
footer strong{color:#147b53;font-weight:650}
dialog{border-radius:18px}
@media(max-width:1180px){
  .workspace{grid-template-columns:260px minmax(0,1fr);gap:22px}
  .premium-card{grid-template-columns:minmax(175px,31%) minmax(0,1fr)}
  .premium-offer{grid-column:1/-1;border-left:0;border-top:1px solid #e6ecea;flex-direction:row;align-items:end}
  .premium-actions{width:min(230px,43%)}
  .header-source{display:none}
}
@media(max-width:820px){
  .site-header{padding:12px 18px 0}
  .header-inner{padding:12px 16px;min-height:60px}
  .header-tag{display:none}
  .brand-selected .brand-mark{flex-basis:56px;width:56px;height:56px}
  .brand-selected .brand-name{font-size:26px}
  .brand-selected .brand-copy small{font-size:10px}
  .site-nav{gap:24px;min-height:61px}
  .site-nav .nav{padding:15px 0;font-size:14px}
  .site-nav .nav b{display:inline-block}
  .main{padding:0 18px}
  .heading{margin:28px 0 25px}
  .workspace{display:flex;flex-direction:column}
  .workspace-title,.filters,.catalog,.pagination,.interesting-note{width:100%}
  .filters{position:static;order:2;margin:0 0 22px;display:grid;grid-template-columns:1fr 1fr;gap:10px;min-height:0}
  .filter-heading,.filter-row,.filter-actions-bottom{grid-column:1/-1}
  .filter-row{display:flex;flex-direction:column;align-items:stretch}
  .workspace-title{order:1}
  .interesting-note{order:3}
  .catalog{order:4}
  .pagination{order:5}
  #sync-intervals{display:none}
  footer{margin-top:42px}
}
@media(max-width:600px){
  .site-header{padding:8px 14px 0}
  .header-inner{border-radius:14px}
  .brand-selected{gap:9px}
  .brand-selected .brand-mark{flex-basis:50px;width:50px;height:50px}
  .brand-selected .brand-name{font-size:23px}
  .brand-selected .brand-copy small{font-size:9px;letter-spacing:0}
  .site-nav{gap:20px}
  .site-nav .nav{font-size:13px}
  .site-nav .nav-icon{flex-basis:21px;width:21px;height:21px}
  .site-nav .nav b{font-size:10px}
  .main{padding:0 16px}
  .heading h1{font-size:36px}
  .heading p{font-size:13px}
  .stat strong{font-size:34px}
  .filters{display:flex;padding:18px;min-height:0}
  .filter-row{display:flex}
  .filter-actions-bottom{margin-top:0}
  .workspace-title{align-items:flex-start;flex-wrap:wrap}
  .catalog-sort{width:100%;margin-left:0;justify-content:space-between}
  .catalog-sort select{width:min(250px,68%)}
  .premium-card{display:flex;flex-direction:column}
  .premium-offer{flex-direction:column;align-items:stretch}
  .premium-actions{width:100%}
  footer{align-items:flex-start;gap:10px}
  footer span:last-child{width:100%}
}
.main{padding-top:28px}
.region-search-wrap{position:sticky;top:-12px;z-index:2;background:#fff;padding:0 0 10px}
.filters .region-search-wrap input{width:100%;height:40px;font-size:13px;padding:0 11px}
.region-search-empty{padding:12px 2px 4px;color:#61727b;font-size:12px}
@media(min-width:601px){
  #region-filter .multi-options{left:0;right:auto}
}
@media(max-width:820px){
  .main{padding-top:16px}
  .workspace-title h1{font-size:27px}
}

/* Compact catalog cards: new-stage tag beside the price reduction. */
.premium-price-flags{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:-6px 0 4px}
.premium-price-flags .price-drop{margin:0}
.premium-stage-badge{display:inline-block;background:#d26617;color:white;border-radius:5px;padding:3px 7px;font-size:10px;font-weight:700;white-space:nowrap}
.premium-card .premium-media{padding:12px 9px 12px 12px}
.premium-card .premium-photo{height:175px}
.premium-card .premium-thumbs{margin-top:6px;gap:5px}
.premium-card .premium-thumb{aspect-ratio:1.8}
.premium-card .premium-info{padding:12px 13px 11px 9px}
.premium-card .premium-title{margin:8px 0 5px;font-size:21px}
.premium-card .premium-specs{margin:10px 0 7px;gap:6px 0}
.premium-card .premium-description{-webkit-line-clamp:2;margin:2px 0 7px}
.premium-card .premium-location small{-webkit-line-clamp:1}
.premium-card .premium-location .premium-location-basis{display:block;-webkit-line-clamp:unset;overflow:visible;color:#795318}
.premium-card .premium-info-footer{margin-top:8px;padding-top:7px;gap:5px 10px}
.premium-card .premium-offer{padding:12px 13px;gap:9px}
.premium-card .premium-price{margin:3px 0 9px}
.premium-card .price-was{margin-bottom:7px}
.premium-card .premium-finance{margin-bottom:8px}
.premium-card .premium-deadline{padding:8px 10px;margin-top:6px}
.premium-card .premium-actions{gap:6px}
.premium-card .premium-lot-link,.premium-card .premium-detail{min-height:36px;padding:7px 10px}
@media(max-width:1320px){
  .premium-card .premium-photo{height:165px}
  .premium-card .premium-offer{padding:12px}
}
@media(max-width:1080px){
  .premium-card .premium-offer{padding:12px 14px}
}
@media(max-width:680px){
  .premium-card .premium-media{padding:10px 10px 0}
  .premium-card .premium-photo{height:195px}
  .premium-card .premium-info{padding:12px}
  .premium-card .premium-offer{padding:12px}
}
@media(max-width:440px){
  .premium-card .premium-photo{height:175px}
}
.premium-title a{color:inherit}.premium-title a:hover{color:#16795b}
.premium-card{cursor:pointer}.premium-card a,.premium-card button{cursor:pointer}

/* Neutral, noninteractive identifier of supplemental VIN data; no hover content. */
.vin-info-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:13px;height:13px;margin-left:4px;border:1px solid #a6b0b7;border-radius:50%;background:#f5f6f7;color:#84919b;font:600 9px/1 Arial,sans-serif;pointer-events:none;user-select:none}
.premium-title .vin-info-icon{margin-left:7px;vertical-align:3px}


/* First-stage account entry, kept separate from catalog tabs. */
.account-entry{margin-left:auto;flex-shrink:0;padding:10px 15px;border:1px solid #cde3d6;border-radius:999px;background:#fff;color:#15744c;font-size:12px;font-weight:650;white-space:nowrap}
.account-entry:hover{background:#eaf7ef;text-decoration:none}
@media(max-width:600px){.account-entry{padding:8px 10px;font-size:11px;white-space:normal;text-align:center}}

/* No oversized empty-state illustration for visitors opening Favorites. */
.favorites-signin-hint{padding:12px 0 8px;max-width:680px;min-height:0;color:#2d4341}
.favorites-signin-hint h3{font-size:18px;line-height:1.35;margin:0 0 8px;font-weight:650}
.favorites-signin-hint p{margin:0 0 9px;font-size:14px;line-height:1.5}
.favorites-signin-hint a{color:#16795b;text-decoration:underline;text-underline-offset:3px}


/* Session-aware account controls: username above, buttons in one row. */
.account-header-controls{margin-left:auto;display:flex;justify-content:flex-end;align-items:center;min-width:0;flex-shrink:0}
.account-header-controls .account-entry{margin-left:0}
.account-session{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.account-session[hidden]{display:none}
.account-username{display:block;align-self:flex-start;padding-left:15px;max-width:100%;font-size:13px;line-height:1.3;color:#22483d;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-session-actions{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
.account-session-actions .account-entry,.account-session-actions .account-logout{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 14px;font-size:12px;line-height:1.2;font-weight:650;white-space:nowrap}
.account-logout{flex-shrink:0;border:1px solid #cde3d6;border-radius:999px;background:transparent;color:#627b71;cursor:pointer;font:inherit}
.account-logout:hover{background:#e7f1ed;color:#245746}
.account-logout:disabled{opacity:.6;cursor:wait}
@media(max-width:700px){
  .header-inner{gap:10px}
  .account-session{gap:6px}
  .account-username{font-size:12px;padding-left:11px}
  .account-session-actions{gap:7px}
  .account-session-actions .account-entry,.account-session-actions .account-logout{min-height:35px;padding:7px 10px;font-size:11px}
}
@media(max-width:540px){
  .header-inner{flex-wrap:wrap}
  .account-header-controls{width:100%;justify-content:flex-end}
  .account-username{max-width:calc(100vw - 56px)}
}

/* Sidebar filter controls: ONE chevron artwork/size/alignment on details and select.
   Native select arrows vary between browsers and sizes; mask them consistently. */
.filters{
  --filter-chevron: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Cpath%20d='M4%206l4%204%204-4'%20fill='none'%20stroke='%2354736d'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}
.filters .multi-filter summary{
  position:relative;
  padding-right:38px;
  list-style:none;
}
.filters .multi-filter summary::-webkit-details-marker{display:none}
.filters .multi-filter summary::marker{content:""}
.filters .multi-filter summary::after{
  content:"";
  float:none;
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  width:14px;
  height:14px;
  background:var(--filter-chevron) center / 14px 14px no-repeat;
  pointer-events:none;
}
.filters select[name="source"],
.filters select[name="auction_direction"]{
  appearance:none;
  -webkit-appearance:none;
  padding-right:38px;
  background-image:var(--filter-chevron);
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:14px 14px;
}
