/* fact-block.css — the data-layer fact block, Faire form (v4, 2026-11-02).
   One full-width page section (.dl-sec) placed LAST on its page: header row (statement h2 + the one
   «How we measure» link) over a strip of stat tiles (.dl-stats, 4 → 2 → 1 columns). The tile mirrors
   .hub-hero-stat (wholesale-resale-index.css) so every stat on the storefront looks the same.
   Rhythm per the storefront canon: section 64/44, header→content 18, blocks 24/16, gutters --wm-pad / 16.
   Loaded once per page by FactBlock::assets(); WholesaleCssBundle folds it into the page bundle. */
.dl-sec{box-sizing:border-box;width:100%;margin:0;padding:64px var(--wm-pad,48px);border-top:1px solid #E4E2EE;background:#fff;color:#1A1530}
.hub-wrap .dl-sec,.tool-wrap .dl-sec,.wsf .dl-sec,.lqx .dl-sec{padding-left:0;padding-right:0}
.dl-sec-h{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:0 0 18px}
.dl-sec-h h2{margin:0;font:600 24px/1.2 Poppins,"Poppins Fallback",Inter,"Inter Fallback",system-ui,sans-serif;color:#1A1530;text-wrap:balance}
.dl-how{flex:0 0 auto;font:600 13px/1 Inter,"Inter Fallback",system-ui,sans-serif;color:#321F69;text-decoration:none;white-space:nowrap}
.dl-how:hover{text-decoration:underline}
.dl-stats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:100%}
.dl-stats li{display:flex;min-width:0;margin:0;padding:0}
.dl-stat{flex:1;display:flex;align-items:center;gap:12px;box-sizing:border-box;min-width:0;min-height:56px;padding:8px 18px 8px 8px;border-radius:16px;background:#F7F5FC;border:1px solid #ECE8F6;color:#1A1530}
.dl-stat-ic{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:#fff;color:#321F69;box-shadow:inset 0 0 0 1px #ECE8F6}
.dl-stat-ic svg{width:20px;height:20px}
.dl-stat-t{display:flex;flex-direction:column;gap:1px;min-width:0}
.dl-stat-t b{font:600 17px/1.2 Poppins,"Poppins Fallback",Inter,"Inter Fallback",system-ui,sans-serif;color:#1A1530}
.dl-stat-t span{font:400 13px/1.3 Inter,"Inter Fallback",system-ui,sans-serif;color:#4A4458}
.dl-legal{margin:24px 0 0;padding:14px 0 0;border-top:1px solid #E4E2EE;font:400 12px/1.5 Inter,"Inter Fallback",system-ui,sans-serif;color:#6B6880}
.dl-legal+.dl-legal{margin-top:0;padding-top:0;border-top:0}
/* the family table under the tiles (FactBlock::table): «Month by month», «Week by week», «By category» */
.dl-tbl{margin:32px 0 0}
.dl-tbl-h{margin:0 0 12px;font:600 18px/1.2 Poppins,"Poppins Fallback",Inter,"Inter Fallback",system-ui,sans-serif;color:#1A1530}
.dl-tbl-x{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.dl-table{width:100%;border-collapse:collapse;font:400 14px/1.4 Inter,"Inter Fallback",system-ui,sans-serif;color:#1A1530}
.dl-table th,.dl-table td{padding:10px 12px 10px 0;border-top:1px solid #ECE8F6;text-align:right;white-space:nowrap;vertical-align:middle}
.dl-table th:first-child,.dl-table td:first-child{text-align:left;padding-left:0}
.dl-table th:last-child,.dl-table td:last-child{padding-right:0}
.dl-table thead th{border-top:0;padding-top:0;font:600 12px/1.3 Inter,"Inter Fallback",system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#6B6880}
.dl-table tbody th{font-weight:500;color:#1A1530}
.dl-table td{font-weight:600;font-variant-numeric:tabular-nums}
.dl-table tr:last-child th,.dl-table tr:last-child td{border-bottom:1px solid #ECE8F6}
/* the lot rail (LotRail::render) — best time, resale guides, brand sale pages; header row = the .hub-sec-h canon */
.fb-rail{margin:0}
.fb-rail-h{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 18px}
.fb-rail-t{margin:0;font:600 24px/1.2 Poppins,"Poppins Fallback",Inter,"Inter Fallback",system-ui,sans-serif;letter-spacing:-.01em;color:#1A1530;text-wrap:balance}
.fb-see-all{font:600 14px/1 Inter,"Inter Fallback",system-ui,sans-serif;color:#321F69;text-decoration:none;white-space:nowrap}
.fb-see-all:hover{text-decoration:underline}
.fb-see-all:focus-visible{outline:2px solid #452b90;outline-offset:3px}
.fb-rail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.fb-rail-none .fb-rail-grid{display:none}
/* the hub rows section (ResaleValuePages::rows) and any carrier that still prints a fact table */
.fb-table{width:100%;border-collapse:collapse;font:400 14px/1.4 Inter,"Inter Fallback",system-ui,sans-serif;color:#1A1530}
.fb-table th{text-align:left;font-weight:600;color:#321F69;padding:10px 0;border-top:1px solid #ECE8F6}
.fb-table td{text-align:right;font-weight:600;font-variant-numeric:tabular-nums;padding:10px 0;border-top:1px solid #ECE8F6}
.fb-table tr:last-child th,.fb-table tr:last-child td{border-bottom:1px solid #ECE8F6}
.fb-table th a{color:inherit;text-decoration:none;border-bottom:1px dotted #B9B2D6}
.fb-row.fb-thin td{color:#4A4458}
.fb-thin-mark{font:400 12px/1 Inter,"Inter Fallback",system-ui,sans-serif;color:#6B6880;margin-left:6px}
/* the lot-card stamp (FactBlock::stamp) */
.fb-stamp{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:#F7F5FC;border:1px solid #ECE8F6;font:500 12px/1.4 Inter,"Inter Fallback",system-ui,sans-serif;color:#321F69;white-space:nowrap}
/* the brand sale pages still print their own footer with this class */
.fb-legal{margin:24px 0 0;padding:14px 0 0;border-top:1px solid #E4E2EE;font:400 12px/1.5 Inter,"Inter Fallback",system-ui,sans-serif;color:#6B6880}
.fb-legal p{margin:0 0 4px}
@media (max-width:1100px){.dl-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.fb-rail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .dl-sec{padding:44px 16px}
  .hub-wrap .dl-sec,.tool-wrap .dl-sec,.wsf .dl-sec,.lqx .dl-sec{padding-left:0;padding-right:0}
  .dl-sec-h{flex-wrap:wrap;align-items:flex-start;margin-bottom:16px}
  .dl-sec-h h2{font-size:20px}
  .dl-how{flex-basis:100%}
  .dl-legal{margin-top:16px}
  .dl-tbl{margin-top:24px}
  .dl-tbl-h{font-size:16px}
  .dl-table{font-size:13px}
  .fb-rail-t{font-size:20px}
}
@media (max-width:520px){
  .dl-stats{grid-template-columns:minmax(0,1fr)}
  .dl-stat{padding:12px;min-height:64px}
  .dl-stat-t b{font-size:16px}
  .dl-stat-t span{font-size:12px}
  .fb-rail-grid{grid-template-columns:minmax(0,1fr);gap:16px}
}
