/* thanhtam — Theo dõi Hợp đồng. Only what kit v1.10 lacks, and layout glue. Tokens only (var(--*)), no colour literal.
   Each rule names its KIT_GAPS.md row. */

/* KIT_GAPS #2: several status tags in one table cell (Còn thiếu: "Chưa có hạn thu" + "Chưa có số PO") wrap as a group with the kit's tight gap */
.tt-tags { display: flex; flex-wrap: wrap; gap: var(--sp-1); }

/* KIT_GAPS #3: Việc của tôi on a desktop — the grouped work lists (Quá hạn, Tới hạn, Việc được giao, Còn thiếu …) side by side in columns that fall to one under the width of two */
.tt-work-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr)); gap: var(--sp-6); align-items: start; }

/* KIT_GAPS #4: a long code with no space (số hợp đồng "HD22600029763_2602061019", số PO) in a heading or title breaks inside the code instead of widening a phone page */
.tt-code { overflow-wrap: anywhere; }

/* KIT_GAPS #11: a combo in an editable table cell (Loại hình thu / Loại hình of an đợt) keeps the width of its longest choice, "Thanh toán sau khi giao hàng", instead of the
   column's least width; --cell-min on the cell changes it, as it does for .cell-input */
.tt-cell-combo > .combo { min-width: var(--cell-min, 15rem); }

/* Sổ hợp đồng lẻ / dự án: the frozen Khách hàng column is capped (the kit's --sticky-w3) and a long name wraps to two lines, full name in the title,
   so the scrollable columns keep room next to the frozen ones at 1280 */
.tt-kh-cap { --sticky-w3: 15rem; }
.tt-kh-cap tbody [data-sticky="3"] { white-space: normal; }
.tt-kh-cap tbody [data-sticky="3"] > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }