/* gom-su-bat-trang: layout glue and the parts the kit does not have (KIT_GAPS.md). Tokens only, no colour literals. Every class is prefixed gsb-; .paper-title is the kit's own class, only spaced inside the tenant's paper forms. */
.gsb-topbar-date { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--muted); font-size: var(--fs-sm); white-space: nowrap; }
.gsb-print-bar-info { font-size: var(--fs-sm); }
.gsb-login-aside-title { margin: 0; }
/* Ô tem on a sổ row: the three marks side by side, each kept whole; in a narrow cell they wrap to a second line instead of widening the table */
.gsb-tem-checks { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-3); white-space: nowrap; }
/* PAXD and booking head facts on screen: the pairs of the paper form in columns (layout glue around .dl) */
.gsb-paxd-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: var(--sp-2) var(--sp-6); }

/* The customer's paper forms (KIT_GAPS: PAXD, booking, box label). Black on white like every .paper. */
.gsb-paxd-sheet, .gsb-booking-sheet, .gsb-gtgt-sheet { font-size: 10pt; }
.gsb-paxd-sheet .paper-title, .gsb-booking-sheet .paper-title { margin-bottom: var(--sp-3); }
.gsb-paxd-times, .gsb-booking-top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2) var(--sp-6); margin-bottom: var(--sp-3); }
.gsb-paxd-kv { display: grid; gap: var(--sp-1); margin: 0; }
.gsb-paxd-kv > div { display: grid; grid-template-columns: minmax(9rem, 40%) 1fr; gap: var(--sp-2); align-items: baseline; border-bottom: 1px dotted currentColor; padding-bottom: var(--sp-1); }
.gsb-paxd-kv dt { font-weight: 600; }
.gsb-paxd-kv dt span { display: block; font-weight: 400; font-style: italic; font-size: 0.9em; }
.gsb-paxd-kv dd { margin: 0; min-height: 1.2em; }
.gsb-paxd-ids { grid-template-columns: 1fr 1fr; column-gap: var(--sp-6); margin-bottom: var(--sp-3); }
.gsb-paxd-tot { grid-template-columns: repeat(3, 1fr); column-gap: var(--sp-6); margin-top: var(--sp-3); }
.gsb-paxd-tot dd { font-weight: 700; }
.gsb-booking-rules { margin-top: var(--sp-3); font-size: 8.5pt; }
.gsb-booking-rules p { margin: 0; white-space: pre-wrap; }
/* G15: the booking of an đợt (up to about twelve lines) prints on one A4 landscape page: smaller type and tight head pairs on this
   sheet only (the sheet ran to 917 px against the 794 px page, QA 2026-11-25). The kit's paper, table and signature row are unchanged. */
.gsb-booking-sheet { font-size: 9pt; }
.gsb-booking-sheet .gsb-booking-top { margin-bottom: var(--sp-2); }
.gsb-booking-sheet .gsb-paxd-kv { gap: 0; }
.gsb-booking-sheet .gsb-paxd-kv > div { padding-bottom: 0; }
.gsb-booking-sheet .gsb-booking-rules { margin-top: var(--sp-2); font-size: 8pt; line-height: 1.2; }
/* The two-row head (TỔNG SỐ over Kiện … KHỐI) and the FAX and Ngày/ giờ lines of BOOKING (2) took 7 mm: the table's lines are set tighter so the sheet stays on one page. */
.gsb-booking-sheet .paper-tbl { line-height: 1.15; }
/* VAT invoice frame of the customer's bản kê (S9p): title centred beside the form code box, the parties as dotted pairs, the column index row */
.gsb-gtgt-top { display: grid; grid-template-columns: 1fr minmax(11rem, auto); gap: var(--sp-4); align-items: start; margin-bottom: var(--sp-3); }
.gsb-gtgt-party { margin-bottom: var(--sp-3); }
.gsb-gtgt-idx th { font-weight: 400; font-style: italic; }

/* Box label (KIEN HANG): two to a row, eight to an A4 sheet, the box number and the PO in large type */
.gsb-kien-label { display: grid; align-content: start; gap: var(--sp-1); font-size: 9.5pt; }
.gsb-kien-ben { margin: 0; font-weight: 700; }
.gsb-kien-dt { margin: 0; }
.gsb-kien-kv { display: grid; gap: var(--sp-1); margin: 0; }
.gsb-kien-kv > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--sp-2); align-items: baseline; }
.gsb-kien-kv dt { font-weight: 600; }
.gsb-kien-kv dd { margin: 0; font-weight: 700; }
.gsb-kien-big { font-size: 18pt; line-height: 1.1; }

/* G16: the unread count on the phone top bar's bell, a round .btn-icon. The kit places a .side-badge on a tab-bar icon (.tabbar-ic) or after the words of a button, not on a round icon button; this is the .tabbar-ic placement on the button's corner. */
.gsb-bell { position: relative; }
.gsb-bell > .side-badge { position: absolute; top: calc(var(--sp-1) * -1); inset-inline-start: 55%; }
/* Ghi chú column of the phiếu nhập grid: wide enough for the whole note at 1280 (the grid scrolls inside .tbl-wrap; the kit gives an input 88px at least) */
.gsb-col-note { min-width: 12rem; }
/* A cell whose words must stay on one line (S18 month and source columns at 1280: the table scrolls inside .tbl-wrap rather than wrapping a word per line) */
.gsb-nowrap { white-space: nowrap; }
/* "Cách xử lý" combo column of S20a: wide enough for the longest chosen action (the "Điều lạ" column wraps instead) */
.gsb-col-action { min-width: 25rem; }
