/* ============================================================
   CoolMax SRX 48V User Manual — per-doc overrides only.
   The layout (cover, contents, chapter openers, folios, rail
   pads, callouts, tables, procedures, back cover) is the shared
   booklet in ../../../../booklet.css; see DESIGN_NOTES.md
   § Booklet and brochure layouts.
   ============================================================ */

/* Cover: the SRX render is a tall unit on a square canvas; sit it
   upright in the ring. */
.booklet .cover__photo { left: 38mm; top: 78mm; width: 150mm; }

/* Contents: thirteen chapters plus the sections the old contents listed
   as entries of their own (.toc__entry--sub), seventeen in all: the
   compact contents, set a size smaller. */
.booklet .ifc .ifc__title { margin-bottom: 4mm; }
.booklet .ifc .toc { margin-bottom: 4mm; }
.booklet .ifc .docmeta { row-gap: 3.5mm; }
.booklet .ifc .toc__entry { padding: 1.1mm 0; }
.booklet .ifc .toc__num { height: 7.6mm; font-size: 14px; }
.booklet .ifc .toc__name { font-size: 14px; line-height: 1.3; }
.booklet .ifc .toc__name small { font-size: 11.5px; line-height: 1.35; }
.booklet .ifc .toc__page { font-size: 14px; }

/* A page that starts with a figure. */
.booklet .fig-first { margin-top: 0; }

/* Recommended breaker under the output-protection list. */
.booklet .rec { font-size: 12px; font-weight: 600; color: var(--fg-accent); }

/* Figures: max heights for this document's images. */
.booklet .fig-big img { max-height: 175mm; width: auto; }
.booklet .fig-port img { max-height: 54mm; width: auto; }
.booklet .fig-settings img { max-height: 66mm; }
.booklet .fig-dialog img { max-height: 50mm; }
.booklet .fig-topology img { max-height: 45mm; }
.booklet .fig-comms img { max-height: 46mm; }
.booklet .pinout-pair { align-items: center; }

/* Comms settings: four columns, a long baud list. */
.booklet table.comms-settings td:first-child { width: 26mm; }
.booklet table.comms-settings td:nth-child(3) { width: 20mm; }

/* Code tables: four pages of warnings and faults, rows a little tighter. */
.booklet table.code-table td { padding-top: 1.4mm; padding-bottom: 1.4mm; }

/* Text beside a small portrait photo: give the text the room. */
.booklet .split--text { grid-template-columns: 1.7fr 1fr; }

/* Specifications: the schedules use the full measure (numbers inline). */
.booklet .page.page-specs[data-chapter] > .col2:not(.opener):not(.pf) { margin-left: 0; }
.booklet .page.page-specs[data-chapter] .col2 .spec-block__head::before { position: static; margin-right: 2.4mm; }

/* Figure 2 is a narrow exploded view: draw it taller. */
.booklet .fig-screws img { height: 140mm; max-height: none; }

/* Code tables: the code column holds lists such as "−1050 · −1051 …". */
.booklet table.code-table .col-code { width: 22mm; }
.booklet table.code-table .col-led { width: 20mm; }
.booklet table.code-table .col-name { width: 30mm; }
.booklet table.code-table .col-action { width: 42mm; }
