/* ==========================================================================
   nguyenvanhieu — Sổ Vận Hành Chung Cư (Athena Complex Xuân Phương): the tenant layer over the shared UI kit (kit v1.9).
   Linked after tokens.css, kit/fonts.css, kit/kit.css (and kit/look-app.css on phone pages).
   Rules: kit tokens only, no colour literal, every rule ends on an nvh-* class (or an element inside one).
   Each block is a row of KIT_GAPS.md.
   ========================================================================== */

/* ---------- G1 Two copies (liên) side by side on one A4 sheet: Thông báo phí and Phiếu thu ----------
   The customer's sheets put liên 1 in columns A–F and liên 2 in I–N, so one A4 page carries two narrow, full-height copies.
   The kit's .paper-split stacks two A5 halves top and bottom; this lays them out across, with a dashed cut line between,
   and sets the sheet's own margins and type size, which COMPONENTS leaves to the tenant. */
.paper.nvh-lien-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 7mm; align-items: start; padding: 7mm 6mm; }
.nvh-lien { min-width: 0; font-size: 0.7em; line-height: 1.25; }
.nvh-lien + .nvh-lien { padding-inline-start: 3.5mm; border-inline-start: 0.3mm dashed currentColor; }
.nvh-lien p { margin-block: 0.4mm; }
.nvh-lien th[scope="row"] { white-space: nowrap; }
.nvh-lien .nvh-lien-sec { margin-block: 1.2mm 0.5mm; }
.nvh-lien .nvh-lien-total { display: flex; justify-content: space-between; gap: 3mm; margin-block-start: 1.2mm; padding-block: 0.8mm; border-block: 0.3mm solid currentColor; }
.nvh-lien .nvh-lien-pay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5mm; align-items: start; margin-block-start: 1.2mm; }
.nvh-lien .nvh-lien-pay .qr-card { --qr-size: 24mm; }
.nvh-lien .nvh-lien-notes { margin: 0; padding-inline-start: 3.5mm; }
.nvh-lien .nvh-lien-note { margin-block-start: 1.2mm; }

/* ---------- Patch for kit defect D5: a sheet with a watermark clips it ----------
   .paper-watermark rotates its own inset: 0 box, so the corners stick out of the sheet: on S9pc (ĐÃ HỦY) .paper-stage
   scrolled sideways, 1219 in 1171 px at 1280 and 1440. Only S9pc carries the class. Delete when the kit clips the watermark (D5). */
.paper.nvh-paper-void { overflow: clip; }

.stat-strip-item dd[data-field="taiKhoanQr"]{overflow-wrap:anywhere;font-size:var(--text-sm,.875rem);min-width:0}
