/* Featured starts at the top of its own rail; category tabs align with the photo. */
#truckInventoryModule{--inventory-rail-width:clamp(100px,19%,154px);--inventory-photo-height:clamp(210px,64vw,480px);--featured-label-height:24px;display:grid;grid-template-columns:var(--inventory-rail-width) minmax(0,1fr);grid-template-rows:auto auto var(--inventory-photo-height) auto;gap:0}
#truckInventoryModule .inventory-header-grid,#truckInventoryModule .truck-inventory-layout{display:contents}
#truckInventoryModule .inventory-category-row{grid-column:2;grid-row:1;grid-template-columns:.85fr 1.4fr .95fr 1.25fr .9fr .7fr;padding-inline:2px;gap:1px;border-bottom:1px solid var(--browser-edge)}
#truckInventoryModule .inventory-category-button{font-size:clamp(10.5px,1.9vw,15px);font-weight:850}
#truckInventoryModule #donorPhotoStage{grid-column:2;grid-row:3;position:relative;height:100%;min-height:0}
#truckInventoryModule #wheelsFilters{grid-column:2;grid-row:2}
#truckInventoryModule #allDonors{grid-column:1/-1;grid-row:4}
#truckInventoryModule #donorBrowser{grid-column:1;grid-row:1/4;height:100%;padding:0 3px 0}
#truckInventoryModule .featured-header-cell{order:0;flex:0 0 var(--featured-label-height);display:flex;align-items:stretch;justify-content:stretch;min-width:0;padding:0;border:0;margin:0 0 2px}
#truckInventoryModule .featured-manager-launch{width:100%;margin:0;justify-content:stretch}
#truckInventoryModule .featured-manager-launch button,#truckInventoryModule .featured-header-label{display:flex;align-items:center;justify-content:space-between;gap:2px;width:100%;height:var(--featured-label-height);min-height:0;padding:2px 4px;font:900 clamp(9px,1.35vw,12px)/1 system-ui;white-space:nowrap;border:1.5px solid #c07811;border-top:0;border-radius:0 0 6px 6px;color:#6f3a00;background:linear-gradient(135deg,#fff6dc,#ffd270);box-shadow:none}
#truckInventoryModule .featured-manager-launch:not([hidden])+.featured-header-label{display:none}
#truckInventoryModule #chips{gap:2px}
#truckInventoryModule .truck-chip-featured{background:#fff4d9!important}
#truckInventoryModule .truck-chip-featured .truck-chip-name{font-size:clamp(11px,1.8vw,14px);font-weight:950}
.wheels-filters[hidden],.wheels-stock[hidden]{display:none!important}
.wheels-filters{padding:9px 10px;background:var(--browser-paper,#f3fbff);border-bottom:1px solid var(--browser-edge,#b0cedd);color:#123e5b}
.wheels-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:7px}
.wheels-toolbar strong{font-size:17px;font-weight:950}
.wheels-toolbar button,.wheels-reset{border:1px solid #6b9bb6;border-radius:8px;padding:7px 10px;color:#123f6a;background:#e4f2ff;font:850 13px/1.1 system-ui;cursor:pointer}
.wheels-query{display:flex;gap:6px;margin-bottom:7px}
.wheels-query input{min-width:0;flex:1;padding:9px 10px;border:1.5px solid #8cb3c7;border-radius:8px;font:700 16px/1.2 system-ui;background:white;color:#173d56}
.wheels-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.wheels-filter-grid label{display:grid;gap:3px;font:850 12px/1.1 system-ui;color:#244e67;min-width:0}
.wheels-filter-grid select{width:100%;min-width:0;min-height:35px;padding:6px 4px;border:1px solid #8babbe;border-radius:6px;background:#fff;color:#183e56;font:700 13px/1.15 system-ui}
.wheels-summary{margin-top:7px;font:750 12px/1.25 system-ui;color:#34556b}
.wheels-stock{margin-top:9px;border:1px solid #9ebdcf;border-radius:12px;background:#f7fcff;padding:9px}
.wheels-stock-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}
.wheels-stock-head strong{font:950 17px/1.1 system-ui;color:#103e63}
.wheels-stock-head span{font:750 12px/1.15 system-ui;color:#476576}
.wheels-list{display:grid;gap:7px}
.wheels-stock-card{display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:9px;padding:9px;border:1.5px solid #a6c1d0;border-radius:10px;background:white;color:#163d56}
.wheels-stock-photo{width:78px;height:76px;border:0;border-radius:7px;overflow:hidden;background:#e8eff4;padding:0;font:750 10px system-ui;color:#526776;cursor:pointer}
.wheels-stock-photo img{width:100%;height:100%;object-fit:cover;display:block}
.wheels-stock-copy{min-width:0}
.wheels-stock-copy>button{display:block;max-width:100%;padding:0;border:0;background:none;text-align:left;color:#103f63;font:900 16px/1.15 system-ui;cursor:pointer;overflow-wrap:anywhere}
.wheels-spec-line,.wheels-source-line{font:700 13px/1.25 system-ui;margin-top:4px;color:#3e5b6e}
.wheels-source-line{font-size:12px;color:#617686}
.wheels-stock-price{font:950 17px/1.1 system-ui;text-align:right;white-space:nowrap;color:#183e61}
.wheels-stock-price small{display:block;font:700 11px/1.2 system-ui;margin-top:3px;color:#597385;white-space:normal}
.wheels-stock-actions{display:flex;gap:6px;grid-column:2/-1;justify-content:flex-end;align-items:center;flex-wrap:wrap}
.wheels-stock-actions button{font:850 12px/1.1 system-ui;padding:6px 9px;border:1px solid #739db9;border-radius:7px;color:#143e66;background:#edf5ff;cursor:pointer}
.wheels-tag{display:inline-block;margin-top:4px;font:850 11px/1.2 system-ui;padding:3px 6px;border-radius:5px;background:#fff0d6;color:#765013}
.wheels-tag.yard{background:#ffdfb1;color:#6d3600;border:1px solid #c27c27}
.wheels-tag.road{background:#e4f2e8;color:#285d3b}
.wheels-members{grid-column:1/-1;font:750 12px/1.3 system-ui;color:#425f73}
.wheels-members summary{cursor:pointer}
.wheels-members button{display:block;width:100%;text-align:left;border:0;border-top:1px solid #d5e0e8;background:white;padding:8px;color:#13426b;font:800 13px system-ui;cursor:pointer}
.wheels-empty{padding:17px 7px;font:800 15px/1.4 system-ui;color:#355d73}
.wheels-pager{display:flex;gap:9px;justify-content:center;align-items:center;padding-top:10px;font:750 13px system-ui}
.wheels-pager button{padding:8px 14px;border:1px solid #8caec4;border-radius:7px;background:#eaf3fc;color:#113f66;font-weight:850;cursor:pointer}
.wheels-origin-options{max-height:150px;overflow:auto;border:1px solid #a9c3d2;border-radius:9px;padding:7px}
.wheels-origin-options label{display:flex;align-items:center;gap:7px;padding:5px 0;font-size:12px}
.wheels-origin-options input{min-height:18px!important;height:18px;width:18px;margin:0}
.wheels-dialog-note{margin-top:9px;font:750 13px/1.3 system-ui;color:#496478}
.wheels-specs .spec{min-width:0}
@media(max-width:620px){#truckInventoryModule{--inventory-rail-width:100px}#truckInventoryModule .inventory-category-row{grid-template-columns:.95fr 1.6fr 1fr;row-gap:4px;padding-bottom:4px}#truckInventoryModule .inventory-category-button{min-height:31px;padding:2px 0 11px;font-size:clamp(10.5px,2.35vw,13px)}#truckInventoryModule .inventory-category-button::before{height:4px;bottom:8px}#truckInventoryModule .inventory-category-button::after{height:2px;bottom:2px}.wheels-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wheels-stock-card{grid-template-columns:64px minmax(0,1fr) auto;gap:7px;padding:8px}.wheels-stock-photo{width:64px;height:68px}.wheels-stock-copy>button{font-size:15px}.wheels-spec-line{font-size:12px}.wheels-stock-price{font-size:15px}}
@media(min-width:900px){.wheels-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){#truckInventoryModule .inventory-category-row{grid-template-columns:repeat(3,minmax(0,1fr))}#truckInventoryModule .inventory-category-button{font-size:11px;min-height:34px;white-space:normal}}

#privateSearchLane[hidden]{display:none!important}
