/* Geometry controls only. Defaults preserve the current accepted visual baseline.
   Keep the main gallery at 5:4; keep the donor rail on the left. */
/* Empty categories keep the same shell proportions without fabricated rail cards.
   Standalone parts are primary items; their lineage stays a field, not navigation. */
.manco-facelift[data-inventory-empty="true"] #truckInventoryModule #donorBrowser { visibility:hidden; }
.manco-facelift[data-inventory-empty="true"] #allDonors,
.manco-facelift[data-inventory-mode="single"][data-inventory-category="parts"] #truckInventoryModule #donorBrowser,
.manco-facelift[data-inventory-mode="single"][data-inventory-category="parts"] #allDonors { display:none!important; }
.manco-facelift[data-inventory-mode="single"][data-inventory-category="parts"] #truckInventoryModule .truck-inventory-layout { grid-template-columns:minmax(0,1fr)!important; }
.manco-facelift[data-inventory-mode="single"][data-inventory-category="parts"] #truckInventoryModule #donorPhotoStage { grid-column:1!important; }
.manco-facelift .manco-inventory-empty { display:grid;place-items:center;width:100%;height:100%;margin:0;text-align:center; }
.manco-facelift .manco-inventory-empty .manco-primary-descriptor { margin:0;font-size:var(--manco-empty-message-font-size,clamp(16px,2.4vw,22px)); }
.manco-facelift .manco-single-item-summary { --manco-single-field-min-width:260px;--manco-single-field-min-height:64px;--manco-single-field-padding:9px;--manco-single-value-font-size:16px;--manco-single-label-font-size:12px;--manco-single-subtitle-font-size:clamp(16px,2.8vw,23px); }
.manco-facelift .manco-single-item-summary .manco-summary-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--manco-single-field-min-width)),1fr)); }
.manco-facelift .manco-single-item-summary .manco-summary-fact { display:flex;min-height:var(--manco-single-field-min-height);height:auto;padding:var(--manco-single-field-padding);border-width:0 1px 1px 0;border-style:solid;border-color:#b7def0; }
.manco-facelift .manco-single-item-summary .manco-summary-fact>div { min-width:0; }
.manco-facelift .manco-single-item-summary .manco-technical-value { font-size:var(--manco-single-value-font-size);line-height:1.3;overflow-wrap:anywhere; }
.manco-facelift .manco-single-item-summary .manco-field-label { font-size:var(--manco-single-label-font-size);line-height:1.2; }
.manco-facelift .manco-single-item-summary .manco-asset-subtitle { font-size:var(--manco-single-subtitle-font-size);line-height:1.2;overflow-wrap:anywhere; }
.manco-facelift {
 --manco-donor-heading-gap:10px;
 --manco-donor-icon-frame-height:30px;
 --manco-donor-icon-frame-width:27px;
 --manco-donor-icon-height:24px;
 --manco-donor-icon-width:24px;
 --manco-donor-rail-width:17%;
 --manco-donor-spec-cell-gap:8px;
 --manco-donor-spec-cell-min-height:55px;
 --manco-donor-spec-cell-padding:6px;
 --manco-donor-spec-grid-gap:5px;
 --manco-donor-title-font-size:clamp(23px,3.7vw,35px);
 --manco-donor-value-font-size:16px;
 --manco-gallery-width:100%;
 --manco-intel-body-padding:8px;
 --manco-intel-heading-min-height:44px;
 --manco-intel-heading-padding:7px 10px;
 --manco-intel-metric-card-min-height:58px;
 --manco-intel-metric-card-padding:7px;
 --manco-intel-metric-value-font-size:29px;
 --manco-intel-title-font-size:22px;
 --manco-inventory-layout-gap:7px;
 --manco-part-modal-body-margin-top:7px;
 --manco-part-modal-body-padding:11px;
 --manco-part-modal-button-font-size:19px;
 --manco-part-modal-button-min-height:44px;
 --manco-part-modal-button-padding:8px;
 --manco-part-modal-description-font-size:15px;
 --manco-part-modal-meta-font-size:15px;
 --manco-part-modal-padding:7px;
 --manco-part-modal-title-font-size:30px;
 --manco-parts-search-card-gap:7px 12px;
 --manco-parts-search-card-margin:7px 0;
 --manco-parts-search-card-padding:8px;
 --manco-parts-search-helper-font-size:13px;
 --manco-parts-search-name-font-size:21px;
 --manco-parts-search-thumbnail-aspect-ratio:5 / 4;
 --manco-parts-search-thumbnail-height:auto;
 --manco-parts-search-thumbnail-width:106px;
 --manco-parts-search-title-font-size:24px;
 --manco-parts-section-margin-top:10px;
 --manco-parts-section-padding:8px;
 --manco-private-part-card-margin:7px 0;
 --manco-private-part-card-min-height:105px;
 --manco-private-part-card-padding:8px;
 --manco-private-part-thumbnail-aspect-ratio:5 / 4;
 --manco-private-part-thumbnail-height:auto;
 --manco-private-part-thumbnail-width:100%;
 --manco-private-part-title-font-size:23px;
 --manco-private-parts-section-margin:10px 0;
 --manco-private-parts-section-padding:9px;
 --manco-private-price-band-gap:6px;
 --manco-private-price-cell-padding:6px 8px;
 --manco-private-price-value-font-size:25px;
 --manco-private-section-margin-top:10px;
 --manco-private-section-padding:0;
 --manco-public-part-body-font-size:14px;
 --manco-public-part-body-margin-top:4px;
 --manco-public-part-button-font-size:15px;
 --manco-public-part-button-min-height:34px;
 --manco-public-part-button-padding:5px 8px;
 --manco-public-part-card-gap:9px;
 --manco-public-part-card-min-height:104px;
 --manco-public-part-thumbnail-column-width:78px;
 --manco-public-part-card-padding:7px;
 --manco-public-part-thumbnail-aspect-ratio:5 / 4;
 --manco-public-part-thumbnail-height:auto;
 --manco-public-part-thumbnail-min-height:0;
 --manco-public-part-thumbnail-width:100%;
 --manco-public-part-title-font-size:25px;
 --manco-rail-button-font-size:clamp(13px,1.9vw,20px);
 --manco-rail-button-min-height:40px;
 --manco-rail-button-padding:5px 1px;
 --manco-rail-card-padding:1px;
 --manco-rail-model-font-size:clamp(10px,1.6vw,17px);
 --manco-rail-thumbnail-aspect-ratio:5 / 4;
 --manco-rail-thumbnail-height:auto;
 --manco-rail-thumbnail-width:100%;
 --manco-rail-title-font-size:clamp(11px,1.7vw,18px);
 --manco-summary-actions-gap:7px;
 --manco-summary-actions-margin:7px 0 0;
 --manco-summary-button-font-size:18px;
 --manco-summary-button-gap:7px;
 --manco-summary-button-icon-height:24px;
 --manco-summary-button-icon-width:24px;
 --manco-summary-button-min-height:44px;
 --manco-summary-button-padding:6px 7px;
 --manco-summary-card-padding:9px;
 --manco-summary-section-margin-top:9px;
 --manco-tire-guide-cell-font-size:17px;
 --manco-tire-guide-cell-min-height:50px;
 --manco-tire-guide-cell-padding:8px 5px;
 --manco-tire-guide-title-font-size:22px;
 --manco-tire-guide-title-padding:9px 10px;
 --manco-truck-banner-count-padding:5px 7px;
 --manco-truck-banner-gap:5px 10px;
 --manco-truck-banner-icon-frame-height:62px;
 --manco-truck-banner-icon-frame-width:62px;
 --manco-truck-banner-icon-height:42px;
 --manco-truck-banner-icon-width:42px;
 --manco-truck-banner-padding:9px;
 --manco-truck-banner-title-font-size:clamp(29px,4.7vw,45px);
 --manco-truck-descriptor-font-size:16px;
 --manco-truck-descriptor-margin:4px 0 7px 85px;
 --manco-truck-detail-actions-gap:6px;
 --manco-truck-detail-body-font-size:13px;
 --manco-truck-detail-button-font-size:21px;
 --manco-truck-detail-button-gap:8px;
 --manco-truck-detail-button-min-height:44px;
 --manco-truck-detail-button-padding:5px;
 --manco-truck-detail-card-gap:10px;
 --manco-truck-detail-card-min-height:130px;
 --manco-truck-detail-card-padding:8px;
 --manco-truck-detail-fact-font-size:14px;
 --manco-truck-detail-icon-frame-height:64px;
 --manco-truck-detail-icon-frame-width:58px;
 --manco-truck-detail-icon-height:40px;
 --manco-truck-detail-icon-width:40px;
 --manco-truck-detail-thumbnail-aspect-ratio:5 / 4;
 --manco-truck-detail-thumbnail-column-width:20%;
 --manco-truck-detail-thumbnail-height:auto;
 --manco-truck-detail-thumbnail-width:100%;
 --manco-truck-detail-title-font-size:27px;
 --manco-truck-details-section-margin-top:9px;
 --manco-truck-fact-gap:7px;
 --manco-truck-fact-min-height:55px;
 --manco-truck-fact-padding:6px;
 --manco-truck-section-stack-gap:8px;
 --manco-truck-section-stack-margin-top:9px;
 --manco-truck-sheet-button-min-height:40px;
 --manco-truck-sheet-button-padding:5px 9px;
 --manco-truck-subtitle-font-size:clamp(23px,3.7vw,34px);
 --manco-truck-title-font-size:clamp(28px,4.8vw,45px);
 --manco-truck-value-font-size:15px;
 --manco-verification-body-padding:6px 9px;
 --manco-verification-row-font-size:14px;
 --manco-verification-row-padding:7px 2px;
}
@media (max-width:620px) {
.manco-facelift {
 --manco-donor-heading-gap:6px;
 --manco-donor-icon-frame-height:24px;
 --manco-donor-icon-frame-width:20px;
 --manco-donor-icon-height:20px;
 --manco-donor-icon-width:20px;
 --manco-donor-rail-width:17%;
 --manco-donor-spec-cell-gap:5px;
 --manco-donor-spec-cell-min-height:55px;
 --manco-donor-spec-cell-padding:5px;
 --manco-donor-spec-grid-gap:4px;
 --manco-donor-title-font-size:22px;
 --manco-donor-value-font-size:14px;
 --manco-intel-title-font-size:20px;
 --manco-inventory-layout-gap:5px;
 --manco-part-modal-button-font-size:16px;
 --manco-part-modal-button-min-height:44px;
 --manco-part-modal-meta-font-size:14px;
 --manco-part-modal-title-font-size:27px;
 --manco-parts-search-card-gap:5px 8px;
 --manco-parts-search-card-padding:7px;
 --manco-parts-search-helper-font-size:11px;
 --manco-parts-search-name-font-size:18px;
 --manco-parts-search-thumbnail-width:76px;
 --manco-parts-search-title-font-size:20px;
 --manco-parts-section-padding:6px;
 --manco-private-part-title-font-size:21px;
 --manco-private-parts-section-padding:7px;
 --manco-private-price-cell-padding:5px 6px;
 --manco-private-price-value-font-size:23px;
 --manco-public-part-body-font-size:12px;
 --manco-public-part-button-font-size:13px;
 --manco-public-part-button-min-height:36px;
 --manco-public-part-button-padding:4px;
 --manco-public-part-card-gap:5px;
 --manco-public-part-card-min-height:108px;
 --manco-public-part-thumbnail-column-width:64px;
 --manco-public-part-card-padding:5px;
 --manco-public-part-title-font-size:22px;
 --manco-rail-button-font-size:12px;
 --manco-rail-button-min-height:44px;
 --manco-rail-button-padding:3px 0;
 --manco-rail-card-padding:1px;
 --manco-rail-model-font-size:10px;
 --manco-rail-title-font-size:11px;
 --manco-summary-actions-gap:5px;
 --manco-summary-button-font-size:14px;
 --manco-summary-button-gap:4px;
 --manco-summary-button-icon-height:18px;
 --manco-summary-button-icon-width:18px;
 --manco-summary-button-min-height:44px;
 --manco-summary-button-padding:5px 3px;
 --manco-summary-card-padding:7px;
 --manco-tire-guide-cell-font-size:15px;
 --manco-tire-guide-title-font-size:20px;
 --manco-truck-banner-count-font-size:12px;
 --manco-truck-banner-count-padding:4px;
 --manco-truck-banner-gap:5px 7px;
 --manco-truck-banner-icon-frame-height:44px;
 --manco-truck-banner-icon-frame-width:38px;
 --manco-truck-banner-icon-height:28px;
 --manco-truck-banner-icon-width:28px;
 --manco-truck-banner-padding:7px;
 --manco-truck-banner-title-font-size:27px;
 --manco-truck-descriptor-font-size:13px;
 --manco-truck-descriptor-margin:5px 0 6px;
 --manco-truck-detail-actions-gap:5px;
 --manco-truck-detail-body-font-size:12px;
 --manco-truck-detail-button-font-size:16px;
 --manco-truck-detail-button-gap:4px;
 --manco-truck-detail-button-min-height:44px;
 --manco-truck-detail-card-gap:5px;
 --manco-truck-detail-card-min-height:125px;
 --manco-truck-detail-card-padding:7px;
 --manco-truck-detail-fact-font-size:13px;
 --manco-truck-detail-icon-frame-height:34px;
 --manco-truck-detail-icon-frame-width:25px;
 --manco-truck-detail-icon-height:21px;
 --manco-truck-detail-icon-width:21px;
 --manco-truck-detail-thumbnail-column-width:24%;
 --manco-truck-detail-title-font-size:22px;
 --manco-truck-fact-min-height:73px;
 --manco-truck-fact-padding:5px 3px;
 --manco-truck-sheet-button-font-size:14px;
 --manco-truck-sheet-button-min-height:44px;
 --manco-truck-sheet-button-padding:4px;
 --manco-truck-subtitle-font-size:23px;
 --manco-truck-title-font-size:25px;
 --manco-truck-value-font-size:12px;
 --manco-verification-row-font-size:13px;
}
}
@media (max-width:359px) {
.manco-facelift {
 --manco-donor-heading-gap:4px;
 --manco-truck-subtitle-font-size:21px;
 --manco-truck-title-font-size:23px;
}
}

/* Reusable dimensions for the fidelity pass. Material assets remain unchanged. */
.manco-facelift {
 --manco-rail-id-font-size:17px;
 --manco-rail-star-size:17px;
 --manco-range-thumbnail-width:94px;
 --manco-donor-badge-width:70px;
 --manco-donor-model-font-size:29px;
 --manco-donor-vin-font-size:17px;
 --manco-truck-detail-actions-width:130px;
 --manco-intel-label-font-size:18px;
}
@media(max-width:620px) {
 .manco-facelift {
  --manco-category-font-size:13px;
  --manco-rail-id-font-size:13px;
  --manco-rail-star-size:12px;
  --manco-range-thumbnail-width:74px;
  --manco-donor-badge-width:43px;
  --manco-donor-id-font-size:28px;
  --manco-donor-title-font-size:22px;
  --manco-donor-model-font-size:19px;
  --manco-donor-featured-font-size:11px;
  --manco-donor-status-font-size:14px;
  --manco-donor-status-height:34px;
  --manco-donor-label-font-size:11px;
  --manco-truck-detail-actions-width:73px;
  --manco-intel-label-font-size:17px;
 }
}
@media(max-width:359px) {
 .manco-facelift {
  --manco-category-font-size:11px;
  --manco-donor-title-font-size:20px;
  --manco-donor-model-font-size:17px;
  --manco-donor-status-font-size:12px;
  --manco-donor-status-padding:4px;
  --manco-donor-spec-cell-gap:4px;
  --manco-truck-detail-card-gap:4px;
  --manco-truck-detail-card-padding:6px;
  --manco-truck-detail-actions-width:59px;
  --manco-truck-detail-title-font-size:21px;
  --manco-truck-detail-button-font-size:14px;
  --manco-truck-detail-icon-frame-width:21px;
  --manco-truck-detail-icon-width:18px;
  --manco-truck-detail-icon-height:18px;
 }
}

/* Backbone parts_from_truck_banner: artwork geometry only. The existing live
   header/context/search rectangles keep their native dimensions. */
.manco-facelift { --manco-parts-gear-width:30%;--manco-parts-gear-height:100%;--manco-parts-gear-top:0px;--manco-parts-gear-bottom:0px; }
@media(max-width:620px) { .manco-facelift { --manco-parts-gear-width:80px;--manco-parts-gear-height:35px;--manco-parts-gear-top:auto;--manco-parts-gear-bottom:4px; } }
@media(max-width:359px) { .manco-facelift { --manco-parts-gear-width:36px;--manco-parts-gear-height:24px;--manco-parts-gear-top:25px; } }

/* Exact internal slot geometry from the targeted package JSON/CSS. */
@media(max-width:379px) { .manco-facelift .manco-parts-skin-host { --manco-slot-photo-left:2.8%;--manco-slot-photo-top:36%;--manco-slot-photo-width:20%;--manco-slot-photo-height:54%;--manco-slot-text-left:25%;--manco-slot-text-top:34%;--manco-slot-text-width:43%;--manco-slot-text-height:58%;--manco-slot-gear-right:2.5%;--manco-slot-gear-top:35%;--manco-slot-gear-width:27%;--manco-slot-gear-height:57%;--manco-slot-gear-min-width:92px;--manco-slot-count-right:3.5%;--manco-slot-count-top:8%;--manco-slot-kicker:clamp(12px,3.5vw,15px);--manco-slot-title:clamp(12px,3.4vw,15px);--manco-slot-helper:clamp(10px,2.8vw,12px);--manco-slot-line-height:1.03; } }
@media(min-width:380px) and (max-width:599px) { .manco-facelift .manco-parts-skin-host { --manco-slot-photo-left:2.8%;--manco-slot-photo-top:36%;--manco-slot-photo-width:18%;--manco-slot-photo-height:54%;--manco-slot-text-left:23%;--manco-slot-text-top:34%;--manco-slot-text-width:47%;--manco-slot-text-height:58%;--manco-slot-gear-right:2.5%;--manco-slot-gear-top:34%;--manco-slot-gear-width:25%;--manco-slot-gear-height:58%;--manco-slot-gear-min-width:108px;--manco-slot-count-right:3.5%;--manco-slot-count-top:8%;--manco-slot-kicker:clamp(14px,3.5vw,18px);--manco-slot-title:clamp(14px,3.4vw,18px);--manco-slot-helper:clamp(11px,2.7vw,14px);--manco-slot-line-height:1.04; } }
@media(min-width:600px) { .manco-facelift .manco-parts-skin-host { --manco-slot-photo-left:2.5%;--manco-slot-photo-top:34%;--manco-slot-photo-width:16%;--manco-slot-photo-height:56%;--manco-slot-text-left:20.5%;--manco-slot-text-top:32%;--manco-slot-text-width:53%;--manco-slot-text-height:60%;--manco-slot-gear-right:2.5%;--manco-slot-gear-top:30%;--manco-slot-gear-width:23%;--manco-slot-gear-height:62%;--manco-slot-gear-min-width:176px;--manco-slot-count-right:3%;--manco-slot-count-top:8%;--manco-slot-kicker:clamp(18px,2.8vw,25px);--manco-slot-title:clamp(18px,2.7vw,25px);--manco-slot-helper:clamp(13px,2vw,18px);--manco-slot-line-height:1.05; } }

/* Give the leading category the same visual break as the rest of the row. */
.manco-facelift #truckInventoryModule .inventory-featured-category{padding-inline-end:2px}
.manco-facelift #truckInventoryModule .inventory-featured-category .inventory-category-button{padding-inline-end:4px}
