/* Price List sheet — Editorial + Index layouts.
   Ported from the design handoff (price-list/project/styles.css). The
   visual design will be refined when the final design lands; CSS class
   names are kept stable so the renderer doesn't need to change.

   Default canvas: 1056x816 (Letter landscape @ 96dpi). Other paper
   sizes set explicit width/height inline on .pl-page. */

/* Inter Tight is the single typeface across both layouts. The Editorial
   layout originally mixed Fraunces (serif numerals + masthead) and
   Poppins (eyebrows + section titles) for a magazine feel — replaced
   with Inter Tight per user feedback ("more artistic styles are harder
   to read"). Index already used Inter Tight. */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&display=swap');

.pl-page {
  background: #ffffff;
  font-family: 'Inter Tight', sans-serif;
  color: #1a1a1a;
  overflow: hidden;
  position: relative;
  /* Preserve background colors and color-block sections when printed.
     Without this, browsers strip backgrounds in print to save toner
     and the section cards lose their identifying header color. */
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  box-sizing: border-box;
}
.pl-page * {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  box-sizing: border-box;
}

/* Utility: hide elements via class. The embed + print pages don't load
   the main app's style.css, so .hidden has to be defined here too —
   without it the .ed-about and .ix-about panels (which start collapsed
   via .hidden) would render open by default. */
.pl-page .hidden,
.hidden {
  display: none !important;
}

/* ═════════════════════════════════════════════════════════════════ */
/* OPTION 1 — EDITORIAL                                              */
/* ═════════════════════════════════════════════════════════════════ */
.pl-editorial {
  padding: 20px 40px 24px;
  font-family: 'Inter Tight', sans-serif;
}
.pl-editorial .ed-masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 20px;
  padding-bottom: 4px;
  border-bottom: 3px solid #111;
  margin-bottom: 16px;
}
.pl-editorial .ed-mast-left,
.pl-editorial .ed-mast-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
}
.pl-editorial .ed-mast-right {
  /* Right-align the hint inside the right column. */
  align-items: flex-end;
}
.pl-editorial .ed-eyebrow {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444;
}
.pl-editorial .ed-eyebrow-right { text-align: right; }
.pl-editorial .ed-star-mark { color: #E63946; }
.pl-editorial .ed-title-big {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: 92px;
  letter-spacing: -2px;
  margin: 0;
  line-height: 0.9;
  color: #111;
}
.pl-editorial.ed-title-small .ed-title-big {
  font-size: 38px;
  letter-spacing: -1px;
}
.pl-editorial.ed-title-small .ed-masthead {
  padding-bottom: 4px;
  margin-bottom: 12px;
}
.pl-editorial.ed-title-hidden .ed-masthead-min {
  display: flex;
  /* Left eyebrow (last-edited date) sits at the left edge, right
     eyebrow (ⓘ hint) sits at the right edge. */
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
  margin-bottom: 12px;
  border-bottom: 2px solid #111;
}
.pl-editorial .ed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  /* Default: content-sized. Used by the embed page + admin tab where
     the page grows to fit its content (and any expanded ⓘ panels). */
  height: auto;
}
/* Digital sheet (embed + admin preview) renders at the SAME fixed
   width as the printed Letter-landscape canvas — 1056px (11in @ 96dpi,
   see the canvas reference at the bottom of this file). A
   predetermined-size sheet, centered, that never stretches to fill the
   host container. Only the HEIGHT adapts: opening an ⓘ detail panel
   grows the sheet. The print/PDF path (.pl-page--canvas) is fixed on
   BOTH axes and is unaffected. overflow:visible so the admin editor's
   input focus rings / expanded edit panels are never clipped (the
   fixed canvas keeps overflow:hidden to clip to the page edge). This
   rule is the single source of truth for the digital sheet size —
   neither the embed page nor .pl-admin-wrap re-declare width/height. */
.pl-page:not(.pl-page--canvas) {
  width: 1056px;
  max-width: 100%;
  margin-inline: auto;
  overflow: visible;
}
/* Fixed-canvas mode (Puppeteer PDF generation passes opts.canvasPx).
   The renderer adds .pl-page--canvas so the grid + footer use the
   absolute layout rules AND type scales with the sheet via cqh/cqi.
   `container-type: size` makes the canvas the container-query root so
   inner cqh/cqi values resolve to the sheet's dimensions — required
   for poster sizes (22x14, etc.) to grow type proportionally instead
   of staying at the Letter px metrics. */
.pl-page--canvas { container-type: size; }
.pl-page--canvas.pl-editorial .ed-grid { height: calc(100% - 18.4cqh); }
.pl-page--canvas.pl-editorial.ed-title-small .ed-grid,
.pl-page--canvas.pl-editorial.ed-title-hidden .ed-grid { height: calc(100% - 11cqh); }
.pl-editorial .ed-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pl-editorial .ed-card {
  border: 1.5px solid;
  border-radius: 4px;
  padding: 10px 14px 11px;
}
.pl-editorial .ed-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.pl-editorial .ed-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.4px;
  flex: 1;
}
.pl-editorial .ed-pill {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 1px;
  color: #fff;
  padding: 3px 8px;
  border-radius: 99px;
  text-transform: uppercase;
}
.pl-editorial .ed-items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pl-editorial .ed-item { padding: 3px 0; }
.pl-editorial .ed-item-separated {
  margin-top: 5px;
  padding-top: 7px;
  border-top: 1px dashed rgba(0, 0, 0, 0.22);
}
.pl-editorial .ed-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14.5px;
  padding-left: 5px;
}
.pl-editorial .ed-label { font-weight: 500; }
.pl-editorial .ed-price-cluster {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}
.pl-editorial .ed-suffix {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #777;
  text-transform: lowercase;
}
.pl-editorial .ed-price {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pl-editorial .ed-bullets {
  list-style: none;
  margin: 3px 0 4px 0;
  padding: 0;
  font-size: 12.5px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-left: 5px;
}
.pl-editorial .ed-bullets li {
  padding-left: 12px;
  position: relative;
  color: #333;
}
.pl-editorial .ed-bullets li::before {
  content: '›';
  position: absolute;
  left: 0;
  font-weight: 700;
}
.pl-editorial .ed-brow { display: flex; justify-content: space-between; }
.pl-editorial .ed-brow .ed-price-cluster { gap: 4px; }
.pl-editorial .ed-bprice {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pl-editorial .ed-glabel {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 1.4px;
  color: #fff;
  padding: 3px 10px;
  border-radius: 3px;
  display: inline-block;
  margin: 8px 0 3px;
  width: 100%;
}

/* ── About panel (per-section service description, info toggle) ──────
   Renders a Bootstrap Icon (bi-info-circle) sized via font-size on
   the button. The earlier Unicode "ⓘ" glyph approach failed on
   Windows: Inter Tight doesn't include U+24D8, so the OS fell back
   to a bitmap CJK font and the glyph rendered pixelated. */
.pl-editorial .ed-info-toggle {
  margin-left: auto;
  padding: 0 4px;
  color: var(--pl-accent, currentColor);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.pl-editorial .ed-info-toggle:hover,
.pl-editorial .ed-info-toggle[aria-expanded="true"] {
  opacity: 1;
}
.pl-editorial .ed-info-toggle:hover {
  transform: scale(1.08);
}
/* Collapsible wrapper — animates open/close via the grid-template-rows
   0fr ↔ 1fr trick (works for any content height without a fixed
   max-height). Inner element MUST have overflow:hidden + min-height:0
   so the grid can squeeze it shut. */
.pl-editorial .ed-about-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}
.pl-editorial .ed-about-collapse.is-open {
  grid-template-rows: 1fr;
}
.pl-editorial .ed-about-collapse > .ed-about {
  /* Defensive collapse: even with grid 0fr and overflow:hidden, the
     element's intrinsic padding (8px top + 8px bottom) and border
     (1px top + 1px bottom) still occupy ~18px of vertical box space.
     Zero out padding-block + border-width-block + margin-block here,
     transition them alongside opacity, so the collapsed state really
     is 0px tall. The .is-open variant restores the resting style. */
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  padding-block: 0;
  border-top-width: 0;
  border-bottom-width: 0;
  margin-block: 0;
  transition:
    opacity 0.18s ease,
    padding-block 0.24s ease,
    border-top-width 0.24s ease,
    border-bottom-width 0.24s ease,
    margin-block 0.24s ease;
}
.pl-editorial .ed-about-collapse.is-open > .ed-about {
  opacity: 1;
  padding-block: 8px;
  border-top-width: 1px;
  border-bottom-width: 1px;
  margin: 6px 0 8px;
}

.pl-editorial .ed-about {
  list-style: none;
  padding: 8px 12px;
  border: 1px dashed;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.45);
  font-size: 12.5px;
  line-height: 1.45;
  color: #1a1a1a;
}
.pl-editorial .ed-about li {
  padding-left: 14px;
  position: relative;
  margin: 3px 0;
}
.pl-editorial .ed-about li::before {
  content: '›';
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* Admin-only edit affordances — same collapse trick on .ed-about-wrap. */
.pl-editorial .ed-about-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}
.pl-editorial .ed-about-wrap.is-open {
  grid-template-rows: 1fr;
}
.pl-editorial .ed-about-wrap > .ed-about-wrap-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  padding-block: 0;
  transition:
    opacity 0.18s ease,
    padding-block 0.24s ease;
}
.pl-editorial .ed-about-wrap.is-open > .ed-about-wrap-inner {
  opacity: 1;
  padding-block: 6px 8px;
}
.pl-editorial .ed-about-wrap .ed-about {
  margin: 0;
}
.pl-editorial .ed-about-edit {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 3px 10px;
  border: 1px solid currentColor;
  background: transparent;
  border-radius: 3px;
  cursor: pointer;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.4px;
}
.pl-editorial .ed-about-edit:hover {
  background: rgba(0, 0, 0, 0.05);
}
.pl-editorial .ed-about-editor {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  border: 1px dashed rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.6);
}
.pl-editorial .ed-about-edit-row {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.pl-editorial .ed-about-textarea {
  flex: 1;
  min-width: 0;
  padding: 4px 6px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
  resize: vertical;
  background: #fff;
}
.pl-editorial .ed-about-textarea:focus {
  outline: none;
  border-color: currentColor;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}
.pl-editorial .ed-about-remove {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: #888;
}
.pl-editorial .ed-about-remove:hover {
  color: #b03030;
  border-color: #b03030;
}
.pl-editorial .ed-about-edit-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 2px;
}
.pl-editorial .ed-about-add {
  padding: 3px 10px;
  border: 1px solid currentColor;
  background: transparent;
  border-radius: 3px;
  cursor: pointer;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 11px;
}
.pl-editorial .ed-about-done {
  margin-left: auto;
  padding: 3px 12px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.4px;
}

.pl-editorial .ed-foot {
  /* Default: flows after the grid. Used by the embed page + admin
     tab where the page grows to its content. */
  position: static;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #444;
  border-top: 1px solid #ccc;
  padding-top: 8px;
}
/* Fixed-canvas (print PDF) — pin footnotes to bottom of the sheet. */
.pl-page--canvas.pl-editorial .ed-foot {
  position: absolute;
  left: 3.8cqi;
  right: 3.8cqi;
  bottom: 1.7cqh;
  margin-top: 0;
}

/* ═════════════════════════════════════════════════════════════════ */
/* OPTION 3 — INDEX  (clean ledger, web-friendly)                    */
/* ═════════════════════════════════════════════════════════════════ */
.pl-index {
  background: #ffffff;
  padding: 32px 44px 26px;
  font-family: 'Inter Tight', sans-serif;
}
.pl-index .ix-masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.pl-index .ix-title-big {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -1.2px;
  margin: 0;
  color: #0e0e0e;
}
/* Title size variants. Note: `.ix-title-large` is intentionally absent —
   the base `.ix-title-big` style above IS the large form, so the renderer
   adds `.ix-title-large` to the page root for parity with editorial but
   no override is needed. `.ix-title-small` shrinks it; `.ix-title-hidden`
   swaps to the minimal masthead below. */
.pl-index.ix-title-small .ix-title-big {
  font-size: 22px;
  letter-spacing: -0.5px;
}
.pl-index.ix-title-small .ix-title-big sup { font-size: 11px; }
.pl-index.ix-title-hidden .ix-masthead-min {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid #ececec;
}
/* Fixed-canvas (print PDF) only. Embed + admin keep .ix-grid auto. */
.pl-page--canvas.pl-index.ix-title-small .ix-grid,
.pl-page--canvas.pl-index.ix-title-hidden .ix-grid { height: calc(100% - 9.8cqh); }
.pl-index .ix-title-big sup {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  color: #888;
  margin-left: 8px;
  top: -0.7em;
}
.pl-index .ix-mast-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: #777;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}
.pl-index .ix-mast-meta .ix-dot {
  width: 4px;
  height: 4px;
  background: #bbb;
  border-radius: 50%;
}
.pl-index .ix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px 28px;
  /* Default: content-sized (embed + admin). */
  height: auto;
}
.pl-page--canvas.pl-index .ix-grid { height: calc(100% - 13.5cqh); }
.pl-index .ix-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pl-index .ix-card {
  position: relative;
  padding-left: 14px;
}
.pl-index .ix-tab {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
}
.pl-index .ix-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.pl-index .ix-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #0e0e0e;
}
.pl-index .ix-star {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
}
.pl-index .ix-items {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #ececec;
}
.pl-index .ix-item {
  border-bottom: 1px solid #ececec;
  padding: 5px 0;
}
.pl-index .ix-item-separated {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed rgba(0, 0, 0, 0.25);
}
.pl-index .ix-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
}
.pl-index .ix-label { font-weight: 500; color: #222; }
.pl-index .ix-price-cluster {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}
.pl-index .ix-suffix {
  font-weight: 500;
  font-size: 10.5px;
  color: #888;
  letter-spacing: 0.4px;
  text-transform: lowercase;
}
.pl-index .ix-price {
  font-weight: 700;
  color: #0e0e0e;
  font-variant-numeric: tabular-nums;
}
.pl-index .ix-bullets {
  list-style: none;
  margin: 3px 0 2px 0;
  padding: 0;
  font-size: 12px;
  color: #666;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pl-index .ix-bullets li {
  padding-left: 10px;
  position: relative;
}
.pl-index .ix-bullets li::before {
  content: '·';
  position: absolute;
  left: 2px;
  font-weight: 700;
}
.pl-index .ix-brow { display: flex; justify-content: space-between; }
.pl-index .ix-brow .ix-price-cluster { gap: 4px; }
.pl-index .ix-bprice { font-weight: 700; color: #222; font-variant-numeric: tabular-nums; }
.pl-index .ix-group + .ix-group { margin-top: 8px; }
.pl-index .ix-glabel {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 6px 0 4px;
}

/* About panel (Index variant) — mirrors the editorial layout but with
   slimmer chrome to match the Index visual density. */
.pl-index .ix-info-toggle {
  margin-left: auto;
  padding: 0 4px;
  color: var(--pl-accent, currentColor);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.pl-index .ix-info-toggle:hover,
.pl-index .ix-info-toggle[aria-expanded="true"] {
  opacity: 1;
}
.pl-index .ix-info-toggle:hover {
  transform: scale(1.08);
}
.pl-index .ix-about-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}
.pl-index .ix-about-collapse.is-open {
  grid-template-rows: 1fr;
}
.pl-index .ix-about-collapse > .ix-about {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  padding-block: 0;
  margin-block: 0;
  transition:
    opacity 0.18s ease,
    padding-block 0.24s ease,
    margin-block 0.24s ease;
}
.pl-index .ix-about-collapse.is-open > .ix-about {
  opacity: 1;
  padding-block: 6px;
  margin: 4px 0 8px;
}
.pl-index .ix-about {
  list-style: none;
  padding: 6px 10px;
  border-left: 2px solid currentColor;
  font-size: 11.5px;
  line-height: 1.45;
  color: #333;
}
.pl-index .ix-about li {
  padding-left: 10px;
  position: relative;
  margin: 2px 0;
}
.pl-index .ix-about li::before {
  content: '·';
  position: absolute;
  left: 2px;
  font-weight: 700;
}

/* Canvas + print: hide every element that exists only for the embed's
   interactive affordances. The PDF / poster shows prices only.
   Matched via .pl-page--canvas (the renderer class) because Puppeteer's
   page.pdf() emulates "screen" media, so @media print alone would NOT
   hide them in the generated PDF. The @media print branch still covers
   browser-level Cmd+P from the embed page.

   AUTHORITATIVE LIST — any new ⓘ / about-panel element must be added
   here too, in BOTH the .pl-page--canvas selector list AND @media print:
     1. ⓘ toggle button         .ed-info-toggle / .ix-info-toggle
     2. Collapsible about wrap  .ed-about-collapse / .ix-about-collapse
     3. Admin about wrapper     .ed-about-wrap
     4. About content list      .ed-about / .ix-about
     5. Masthead hint copy      .ed-eyebrow-right ("Tap ⓘ for details") */
.pl-page--canvas .ed-info-toggle,
.pl-page--canvas .ed-about,
.pl-page--canvas .ed-about-collapse,
.pl-page--canvas .ed-about-wrap,
.pl-page--canvas .ed-eyebrow-right,
.pl-page--canvas .ix-info-toggle,
.pl-page--canvas .ix-about,
.pl-page--canvas .ix-about-collapse {
  display: none !important;
}
@media print {
  .pl-editorial .ed-info-toggle,
  .pl-editorial .ed-about,
  .pl-editorial .ed-about-collapse,
  .pl-editorial .ed-about-wrap,
  .pl-editorial .ed-eyebrow-right,
  .pl-index .ix-info-toggle,
  .pl-index .ix-about,
  .pl-index .ix-about-collapse {
    display: none !important;
  }
}
.pl-index .ix-foot {
  /* Default: flow after the grid (embed + admin). */
  position: static;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: #777;
  border-top: 1px solid #ececec;
  padding-top: 10px;
}
/* Fixed-canvas print mode — pin to bottom of the sheet. */
.pl-page--canvas.pl-index .ix-foot {
  position: absolute;
  left: 4.2cqi;
  right: 4.2cqi;
  bottom: 1.96cqh;
  margin-top: 0;
}

@media print {
  body { background: #fff !important; margin: 0; padding: 0; }
  .pl-page { box-shadow: none !important; }
}

/* ═════════════════════════════════════════════════════════════════ */
/* CANVAS MODE — type + spacing in cqh / cqi (poster-scalable)       */
/* The Letter-default px sizes above stay authoritative for the      */
/* embed + admin flows. Inside .pl-page--canvas they're overridden   */
/* with container-query units so a 22x14 poster (or any custom       */
/* canvas) grows type proportionally instead of staying tiny.        */
/* Reference Letter landscape canvas: 1056 x 816 px                  */
/*   1cqh ≈ 8.16px (vertical)  ·  1cqi ≈ 10.56px (horizontal)        */
/* ═════════════════════════════════════════════════════════════════ */
.pl-page--canvas.pl-editorial { padding: 2.45cqh 3.79cqi 2.94cqh; }
.pl-page--canvas.pl-editorial .ed-masthead {
  gap: 1.89cqi;
  padding-bottom: 0.49cqh;
  margin-bottom: 1.96cqh;
}
.pl-page--canvas.pl-editorial.ed-title-small .ed-masthead {
  padding-bottom: 0.49cqh;
  margin-bottom: 1.47cqh;
}
.pl-page--canvas.pl-editorial.ed-title-hidden .ed-masthead-min {
  padding-bottom: 0.74cqh;
  margin-bottom: 1.47cqh;
}
.pl-page--canvas.pl-editorial .ed-eyebrow { font-size: 1.35cqh; letter-spacing: 0.19cqi; }
.pl-page--canvas.pl-editorial .ed-title-big { font-size: 11.27cqh; letter-spacing: -0.19cqi; }
.pl-page--canvas.pl-editorial.ed-title-small .ed-title-big { font-size: 4.66cqh; letter-spacing: -0.09cqi; }
.pl-page--canvas.pl-editorial .ed-grid { gap: 1.33cqi; }
.pl-page--canvas.pl-editorial .ed-col { gap: 1.47cqh; }
.pl-page--canvas.pl-editorial .ed-card { padding: 1.23cqh 1.33cqi 1.35cqh; }
.pl-page--canvas.pl-editorial .ed-head {
  gap: 0.95cqi;
  padding-bottom: 0.98cqh;
  margin-bottom: 0.49cqh;
}
.pl-page--canvas.pl-editorial .ed-title { font-size: 2.70cqh; }
.pl-page--canvas.pl-editorial .ed-pill { font-size: 1.10cqh; padding: 0.37cqh 0.76cqi; letter-spacing: 0.09cqi; }
.pl-page--canvas.pl-editorial .ed-item { padding: 0.37cqh 0; }
.pl-page--canvas.pl-editorial .ed-item-separated { margin-top: 0.61cqh; padding-top: 0.86cqh; }
.pl-page--canvas.pl-editorial .ed-row { gap: 1.14cqi; font-size: 1.78cqh; padding-left: 0.47cqi; }
.pl-page--canvas.pl-editorial .ed-price-cluster { gap: 0.57cqi; }
.pl-page--canvas.pl-editorial .ed-suffix { font-size: 1.35cqh; letter-spacing: 0.05cqi; }
.pl-page--canvas.pl-editorial .ed-bullets { margin: 0.37cqh 0 0.49cqh 0; font-size: 1.53cqh; padding-left: 0.47cqi; }
.pl-page--canvas.pl-editorial .ed-bullets li { padding-left: 1.14cqi; }
.pl-page--canvas.pl-editorial .ed-brow .ed-price-cluster { gap: 0.38cqi; }
.pl-page--canvas.pl-editorial .ed-glabel {
  font-size: 1.53cqh;
  letter-spacing: 0.13cqi;
  padding: 0.37cqh 0.95cqi;
  margin: 0.98cqh 0 0.37cqh;
}
.pl-page--canvas.pl-editorial .ed-foot {
  gap: 0.76cqi;
  font-size: 1.85cqh;
  letter-spacing: 0.05cqi;
  padding-top: 0.98cqh;
}

.pl-page--canvas.pl-index { padding: 3.92cqh 4.17cqi 3.19cqh; }
.pl-page--canvas.pl-index .ix-masthead { margin-bottom: 2.21cqh; }
.pl-page--canvas.pl-index .ix-title-big { font-size: 4.66cqh; letter-spacing: -0.11cqi; }
.pl-page--canvas.pl-index.ix-title-small .ix-title-big { font-size: 2.70cqh; letter-spacing: -0.05cqi; }
.pl-page--canvas.pl-index.ix-title-small .ix-title-big sup { font-size: 1.35cqh; }
.pl-page--canvas.pl-index.ix-title-hidden .ix-masthead-min { padding-bottom: 1.23cqh; margin-bottom: 1.72cqh; }
.pl-page--canvas.pl-index .ix-title-big sup { font-size: 1.72cqh; margin-left: 0.76cqi; }
.pl-page--canvas.pl-index .ix-mast-meta { gap: 1.52cqi; font-size: 1.35cqh; letter-spacing: 0.09cqi; }
.pl-page--canvas.pl-index .ix-grid { gap: 2.45cqh 2.65cqi; }
.pl-page--canvas.pl-index .ix-col { gap: 1.96cqh; }
.pl-page--canvas.pl-index .ix-card { padding-left: 1.33cqi; }
.pl-page--canvas.pl-index .ix-tab { top: 0.49cqh; bottom: 0.49cqh; width: 0.38cqi; }
.pl-page--canvas.pl-index .ix-head { gap: 0.57cqi; margin-bottom: 0.74cqh; }
.pl-page--canvas.pl-index .ix-title { font-size: 1.59cqh; letter-spacing: 0.13cqi; }
.pl-page--canvas.pl-index .ix-star { font-size: 1.47cqh; }
.pl-page--canvas.pl-index .ix-item { padding: 0.61cqh 0; }
.pl-page--canvas.pl-index .ix-item-separated { margin-top: 0.49cqh; padding-top: 0.98cqh; }
.pl-page--canvas.pl-index .ix-row { font-size: 1.72cqh; }
.pl-page--canvas.pl-index .ix-price-cluster { gap: 0.57cqi; }
.pl-page--canvas.pl-index .ix-suffix { font-size: 1.29cqh; letter-spacing: 0.04cqi; }
.pl-page--canvas.pl-index .ix-bullets { margin: 0.37cqh 0 0.25cqh 0; font-size: 1.47cqh; }
.pl-page--canvas.pl-index .ix-bullets li { padding-left: 0.95cqi; }
.pl-page--canvas.pl-index .ix-brow .ix-price-cluster { gap: 0.38cqi; }
.pl-page--canvas.pl-index .ix-group + .ix-group { margin-top: 0.98cqh; }
.pl-page--canvas.pl-index .ix-glabel {
  font-size: 1.47cqh;
  letter-spacing: 0.11cqi;
  margin: 0.74cqh 0 0.49cqh;
}
.pl-page--canvas.pl-index .ix-foot {
  gap: 1.14cqi;
  font-size: 1.35cqh;
  padding-top: 1.23cqh;
}

/* ═════════════════════════════════════════════════════════════════ */
/* RESPONSIVE — HTML embed + admin only                              */
/* Puppeteer renders the print PDF at its default viewport (~800px), */
/* not at the paper width (1056px). So we cannot rely on viewport    */
/* breakpoints alone to skip print. Every responsive rule below is   */
/* scoped to :not(.pl-page--canvas) so the fixed-canvas print mode   */
/* keeps its 3-column magazine layout regardless of viewport size.   */
/* ═════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .pl-editorial:not(.pl-page--canvas) .ed-grid,
  .pl-index:not(.pl-page--canvas) .ix-grid {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }
  .pl-editorial:not(.pl-page--canvas) .ed-foot,
  .pl-index:not(.pl-page--canvas) .ix-foot {
    position: static;
    margin-top: 16px;
  }
}

@media (max-width: 600px) {
  .pl-editorial:not(.pl-page--canvas) {
    padding: 18px 16px 14px;
  }
  .pl-index:not(.pl-page--canvas) {
    padding: 22px 18px 16px;
  }
  .pl-editorial:not(.pl-page--canvas) .ed-grid,
  .pl-index:not(.pl-page--canvas) .ix-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    height: auto;
  }
  .pl-editorial:not(.pl-page--canvas).ed-title-small .ed-title-big {
    font-size: 28px;
    letter-spacing: -0.6px;
  }
  .pl-editorial:not(.pl-page--canvas) .ed-title { font-size: 20px; }
  .pl-editorial:not(.pl-page--canvas) .ed-card { padding: 8px 12px 10px; }
  .pl-editorial:not(.pl-page--canvas) .ed-row { font-size: 13.5px; }
  .pl-editorial:not(.pl-page--canvas) .ed-foot,
  .pl-index:not(.pl-page--canvas) .ix-foot {
    flex-direction: column;
    gap: 4px;
    text-align: left;
    font-size: 10.5px;
  }
  .pl-index:not(.pl-page--canvas) .ix-title-big { font-size: 28px; }
  .pl-index:not(.pl-page--canvas).ix-title-small .ix-title-big { font-size: 20px; }
  .pl-index:not(.pl-page--canvas) .ix-row { font-size: 13px; }
}
