/* A4 documents. 794x1123 at 96dpi, which is what jsPDF expects. */
:root { --page-w: 794px; --page-h: 1123px; }
.page-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; width: 100%; max-width: 1500px; }
.page-wrap { width: 397px; height: 561px; position: relative; border-radius: var(--wx8-r-card-sm); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06); background: #fff; flex: 0 0 auto; }
.page-wrap.size-md { width: 496px; height: 702px; }
.page-wrap.size-lg { width: 595px; height: 842px; }
.page { width: var(--page-w); height: var(--page-h); transform-origin: 0 0; transform: scale(0.5); position: relative; overflow: hidden; }
.page-wrap.size-md .page { transform: scale(0.625); }
.page-wrap.size-lg .page { transform: scale(0.75); }
/* A4 is read at arm's length, not in a feed, so this scale is near web sizes. */
.page .s { padding: 56px; }
.page .display { font-size: 46px; }
.page .h1 { font-size: 34px; }
.page .h2 { font-size: 25px; }
.page .h3 { font-size: 19px; }
.page .lede { font-size: 16px; }
.page .body-c { font-size: 13.5px; line-height: 1.6; }
.page .small-c { font-size: 11.5px; }
.page .kicker { font-size: 11px; }
.page .brand-logo { height: 26px; }
.page .s-footer { font-size: 11px; padding-top: 16px; }
.page .spec-row { padding: 12px 0; } .page .spec-row .k { font-size: 10.5px; } .page .spec-row .v { font-size: 14px; }
.page .num-row { padding: 14px 0; gap: 18px; } .page .num-row .n { font-size: 24px; min-width: 48px; }
.page .num-row .t { font-size: 17px; } .page .num-row .b { font-size: 13px; margin-top: 5px; }
.page .card { padding: 22px; border-radius: var(--wx8-r-card-sm); }
.page .pill { font-size: 14px; padding: 12px 22px; }
.page .tick-row { font-size: 14px; gap: 12px; } .page .tick-row::before { width: 18px; height: 18px; margin-top: 2px; }
.page .tick-list { gap: 12px; }

/* An A4 page is read at arm's length, not scrolled past in a feed, so the
   vertical-fill helpers from carousel.css are switched off here. Stretching
   five checklist items down 1123px reads as a page that failed to load. */
.page .list-fill { flex: 0 0 auto; }
.page .list-fill > .num-row,
.page .list-fill > .tl-row,
.page .list-fill > .spec-row { flex: 0 0 auto; }
.page .tick-list.list-fill { justify-content: flex-start; gap: 14px; }
.page .block { flex: 0 0 auto; }
.page .cmp .side .li { flex: 0 0 auto; display: block; }

/* Components the light one-pagers (D09 to D16) introduced to this folder.
   The service documents never reached for comparison panels, timelines,
   step tracks or swatches, so scaling them here changes nothing already
   shipped. Same ~0.5 ratio as the rows above. */
.page .cmp { gap: 14px; }
.page .cmp .side { padding: 22px; gap: 11px; border-radius: var(--wx8-r-card-sm); }
.page .cmp .side .lbl { font-size: 10.5px; }
.page .cmp .side .li { font-size: 13px; padding: 7px 0; }
.page .tl-row { padding: 14px 0; gap: 18px; }
.page .tl-row .day { font-size: 11px; min-width: 96px; padding-top: 4px; }
.page .tl-row .t { font-size: 16px; }
.page .tl-row .b { font-size: 12px; margin-top: 4px; }
.page .steps-track { gap: 11px; }
.page .steps-track .step { padding-top: 26px; gap: 7px; }
.page .steps-track .step::before { top: 11px; right: -11px; }
.page .steps-track .step:last-child::before { right: 0; }
.page .steps-track .pip { width: 23px; height: 23px; font-size: 9px; }
.page .steps-track .step .t { font-size: 14px; }
.page .steps-track .step .b { font-size: 11px; }
.page .swatches .sw { height: 76px; padding: 9px; font-size: 9px; }
