/* Tavola — STAT-ART-B. Written by tools/build_b.py. No raster, no gradient: every colour is a role set by lib/bind.js from collection.json. */

/* layout helpers shared by carrier B's four collections (positions in mm, type in pt) */
.bx { position: absolute; }
.ov { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trim > .ov { left: -3mm; top: -3mm; width: calc(100% + 6mm); height: calc(100% + 6mm); }
.col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.colL { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.fill { width: 100%; height: 100%; }
.grow { flex: 1 1 auto; }
.nowrap { white-space: nowrap; }
[data-fit] { overflow: hidden; }
.qrbox { width: 18mm; height: 18mm; }
.ov defs, .ov defs * { fill: var(--paper); }  /* clip geometry only: never drawn */

.c-tavola { --ys: 'Young Serif', serif; --cp: 'Courier Prime', monospace; }
.c-tavola .face { color: var(--ink); }
.ging .tint rect { fill: var(--ink2); fill-opacity: 0.4; }
.ging .full rect { fill: var(--ink2); }
.ys { font-family: 'Young Serif'; font-weight: 400; color: var(--ink); }
.cp { font-family: 'Courier Prime'; font-weight: 400; font-size: 9.5pt; line-height: 13.5pt; color: var(--ink); }
.cp i, .cpi { font-family: 'Courier Prime'; font-style: italic; }
.red { color: var(--ink2); }
.tv-names { font-family: 'Young Serif'; text-align: center; line-height: 1.16; }
.tv-amp { font-family: 'Young Serif'; color: var(--ink2); }
.tv-col { width: 66mm; text-align: left; }
.tv-col .cp { white-space: pre-wrap; }
.tv-rule { height: 0; border-top: 0.6pt solid var(--ink2); width: 14mm; margin: 4.2mm auto; }
.tv-label { font-family: 'Courier Prime'; font-style: italic; font-size: 9.5pt; line-height: 13.5pt; }
.tv-row { display: grid; grid-template-columns: 17mm 1fr; column-gap: 2mm; align-items: baseline; }
.tv-no { font-family: 'Young Serif'; color: var(--ink2); }
.tv-plan-grid { display: grid; column-gap: 10mm; row-gap: 0; align-items: start; }
.tv-plan-grid .tbl { break-inside: avoid; margin-bottom: 22pt; }
.tv-plan-grid .th { font-family: 'Young Serif'; font-size: 13pt; line-height: 34pt; color: var(--ink2); }
.tv-plan-grid .g { font-family: 'Courier Prime'; font-size: 16pt; line-height: 34pt; white-space: nowrap; }
/* STTAVO r1: brief 3.2 #9, the thank-you inside is ruled faintly (Tavola only): 0.18 mm rules in the check ink at 35 %, 15 pt pitch, under the typed baselines */
.tv-lines rect { fill: var(--ink2); fill-opacity: 0.35; }
