/* Kho Máy Phồn Thịnh (vuongnguyen): only what kit v1.10 lacks, plus layout glue.
   Every value is a var(--*) except the print sizes of gap 41 (mm and em, like the kit's own .paper rules); no colour literal; no kit class is restyled except .paper-tbl inside .vn-bang-ke (gap 41). Each block names the KIT_GAPS.md row it answers. */

/* Gap 1: a field that takes a machine code or serial (20+ characters, read character by character). */
.vn-mono { font-family: var(--font-mono, ui-monospace, "SF Mono", Menlo, Consolas, monospace); letter-spacing: 0; }

/* Gap 2: a machine code inside a warehouse bay. .bay-fig is one short word; a code like DBDT-HZ4UV311320061E (20 characters)
   must stay on one line, so it is set in the condensed heading face and the bay is wide enough for it (two bays across at 360 px). */
.vn-bay-ma { display: block; font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; line-height: var(--lh-tight); white-space: nowrap; text-align: center; }
.vn-bay-map { --bay-w: 8.5rem; }

/* Gap 4: a label photo beside the fields it filled (S3). The photo box keeps the label's proportion; no photo is shipped,
   so the box shows the label kind in words. */
.vn-tem { display: grid; place-items: center; gap: var(--sp-2); aspect-ratio: 2 / 1; padding: var(--sp-4); color: var(--muted); text-align: center; background: var(--sunk); border: 1px dashed var(--panel-border); border-radius: var(--radius-lg); }
.vn-tem .icon { width: var(--icon-lg); height: var(--icon-lg); }

/* Gap 5: a field and its match with the catalogue on one line (S3): the field, then a tag that says Khớp / Gần khớp / Không có. */
.vn-match { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }

/* Gap 6: Chinese text on a label kept as printed (编码, 机号, 物料号) next to its Vietnamese name. */
.vn-han { font-weight: 400; color: var(--muted); }

/* Gap 7: a money figure with its currency written after it inside a table cell, kept on one line (RP and đ never sum). */
.vn-cur { white-space: nowrap; }

/* Gap 8: the branch picker in the middle of the top bar (.topbar-center has no width for a combo). */
.vn-kho-pick .combo { width: 15rem; }

/* Gap 41: a bảng kê of 14–15 columns printed on A4 landscape (S16 bảng kê xuất / nhập), whose codes (VS25-HZ2UK436400002N) must not break.
   The kit leaves the document font and margins of .paper to the tenant, so these are print sizes in mm and em like the kit's own .paper rules:
   the table smaller than .paper-tbl's 0.95em, its cells and the side margins narrower, so the table fits inside the sheet's margins. */
.vn-bang-ke { padding-inline: 12mm 10mm; }
.vn-bang-ke .paper-tbl { font-size: 0.8em; }
.vn-bang-ke .paper-tbl :is(th, td) { padding-inline: 1mm; }

/* Layout glue (no gap): a wide report keeps its first columns readable without wrapping the page; --tbl-max-h is the kit's own property. */
.vn-report { --tbl-max-h: 32rem; }
