/* ============================================================
   AERL LiFe² datasheet — per-doc overrides on the Trace brochure
   (tokens.css + doc.css + brochure.css).

   LiFe² is a 4-page brochure (A3 folded): cover | highlights and
   cabinets (verso) | battery specifications (recto) | back cover.
   The verso, the solo intro, spec notes, the disclaimer, "Powered
   by" and the back cover are shared (brochure.css, doc.css); this
   file keeps LiFe²'s own pieces: .benefits--3 and the cabinet table.
   ============================================================ */

/* ---------- Cover ---------- */
/* Two-line title ("AERL / LiFe²") above the pulse */
.brochure .cover__title { font-size: 60px; line-height: 0.92; margin-top: 4mm; }
.brochure .cover__title sup { font-size: 0.5em; vertical-align: 0; position: relative; top: -0.8em; margin-left: 0.04em; }
/* cabinet render is near-square: centre it in the ring */
.brochure .cover__photo { left: 44mm; top: 84mm; width: 128mm; }
/* "Powered by" under the key-figure pads */
.brochure .cover__powered { position: absolute !important; left: 34mm; top: 264mm; }

/* ---------- Spec pages ---------- */
.benefits.benefits--3 { grid-template-columns: repeat(3, 1fr); gap: 3mm 4mm; }
.benefits--3 .benefit { padding: 2.4mm 3.6mm 2.8mm; }
.benefit__aside { color: var(--fg-3); }

/* Cabinet schedule: grey header labels over a heavy rule, hairline rows, no fills */
.cab { margin-top: 2mm; }
.cab__title {
  font-family: var(--font-brand); font-size: 16px; font-weight: 700;
  margin: 0 0 2mm;
}
.cab-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12.5px; line-height: 1.35; }
.cab-table col.lbl { width: 38mm; }
.cab-table thead th {
  text-align: left; vertical-align: bottom;
  font-size: 12px; font-weight: 600; color: var(--fg-3);
  padding: 0 2mm 1.6mm 0;
  background: none;
  text-transform: none; letter-spacing: 0;
  border-bottom: 0.5mm solid var(--sheet-ink);
}
.cab-table thead th:not(:first-child) { color: var(--fg-1); }
.cab-table tbody th { background: none; text-align: left; font-weight: 400; color: var(--fg-2); }
.cab-table tbody td { font-weight: 600; color: var(--fg-1); }
.cab-table tbody :is(th, td) {
  vertical-align: top;
  padding: 1.3mm 2mm 1.3mm 0;
  background: none;
  border-bottom: 0.2mm solid var(--gray-300);
}
.cab-table td[colspan] { text-align: center; }

/* ---------- Back cover (shared: doc.css); three columns, no name or band ---------- */
.brochure .back__grid { top: 214mm; grid-template-columns: 1.5fr 1fr 1fr; }
/* no zebra fills (doc.css tables stripe even rows) */
.brochure .cab-table tbody tr :is(th, td) { background: none; }

/* Outside spread (back | front): the datasheet cover's line leaves the
   spine at 70 mm (the two-line title pushes the pulse down), the shared
   back line at 58 mm. Drop this back cover's drawing, and the logo it
   rings, 12 mm so the two lines meet at the fold. */
.brochure .back__ground {
  background: var(--trace-back) calc(var(--bleed) - 5mm) calc(var(--bleed) + 7mm) / 220mm 307mm no-repeat,
              var(--trace-bloom-back) no-repeat,
              var(--sheet-charcoal);
}
.brochure .back__logo { top: 104mm; }

/* Page line on page 2: the same markup as page 3 (document, revision, date,
   then the page). In the folded print the verso mirrors it, page number on
   the outside (left); the web file keeps every page a recto. */
:where(html:not(.web)) .brochure .specsheet--verso .specsheet__doc { flex-direction: row-reverse; }

/* The outdoor cabinets' part numbers ("LiFe²−CAB10−OUTD") are wider than
   their column: the markup breaks them after the dash (−<wbr>OUTD), so no
   line starts with a dash. */

/* Part and standard numbers stay on one line ("LiFe²-CAB6", "IEC 62040-1") with plain hyphens, so they copy and search as typed */
.pn { white-space: nowrap; }
