/* (v156) Quản lý bảo hành trong RINDO CONTROL — dùng chung token màu của style.css */
.bh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.bh-stats .stat-card { cursor: default; }
.bh-stats .stat-card.click { cursor: pointer; transition: border-color .15s, transform .15s; }
.bh-stats .stat-card.click:hover { border-color: var(--signal-dim); transform: translateY(-1px); }
.bh-grid2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
@media (max-width: 1100px) { .bh-grid2 { grid-template-columns: 1fr; } }

.bh-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 20px; font-size: 11.5px; font-weight: 600;
  color: var(--text-dim); background: rgba(15,23,42,.06); white-space: nowrap; }
.bh-chip.xanh { color: var(--signal); background: rgba(13,143,125,.12); }
.bh-chip.vang { color: var(--amber); background: rgba(180,83,9,.12); }
.bh-chip.do { color: var(--red); background: rgba(220,38,38,.12); }
.bh-chip.lam { color: var(--blue); background: rgba(29,78,216,.12); }

.bh-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.bh-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--text-dim); padding: 9px 14px; cursor: pointer; font-size: 13.5px; }
.bh-tabs button.active { color: var(--signal); border-bottom-color: var(--signal); }

/* Bảng Kanban phiếu */
.bh-kanban { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.bh-cot { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius); min-height: 200px; display: flex; flex-direction: column; }
.bh-cot-dau { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 13px; }
.bh-cot-dau .so { font-family: var(--mono); color: var(--text-dim); font-weight: 500; }
.bh-cot-than { padding: 10px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; max-height: 68vh; }
.bh-the { background: var(--bg-panel-raised); border: 1px solid var(--line-soft); border-left: 3px solid var(--blue); border-radius: 6px; padding: 9px 10px; cursor: pointer; transition: border-color .15s; }
.bh-the:hover { border-color: var(--line); border-left-color: var(--signal); }
.bh-the.qua-han { border-left-color: var(--red); }
.bh-the.ngoai-bh { border-left-color: var(--amber); }
.bh-the .ma { font-family: var(--mono); font-size: 12px; color: var(--text-dim); }
.bh-the .tieu-de { font-weight: 600; margin: 3px 0 2px; }
.bh-the .phu { color: var(--text-dim); font-size: 12px; }
.bh-cot.xong .bh-the { border-left-color: var(--signal-dim); opacity: .85; }

/* Dòng thời gian vòng đời máy */
.bh-thoi-gian { position: relative; margin: 6px 0 4px 6px; padding-left: 18px; border-left: 2px solid var(--line); }
.bh-moc { position: relative; padding: 0 0 14px; }
.bh-moc::before { content: ""; position: absolute; left: -24px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px var(--bg-panel); }
.bh-moc.phieu::before { background: var(--amber); }
.bh-moc .luc { font-family: var(--mono); font-size: 11.5px; color: var(--text-faint); }

.bh-thanh { display: flex; align-items: center; gap: 10px; margin: 7px 0; font-size: 13px; }
.bh-thanh .nhan { width: 150px; color: var(--text-dim); flex: none; }
.bh-thanh .ray { flex: 1; height: 8px; background: rgba(15,23,42,.05); border-radius: 4px; overflow: hidden; }
.bh-thanh .ray span { display: block; height: 100%; background: var(--signal); border-radius: 4px; }
.bh-thanh .gt { width: 44px; text-align: right; font-family: var(--mono); }

.bh-anh { display: flex; gap: 10px; flex-wrap: wrap; }
.bh-anh figure { margin: 0; width: 140px; }
.bh-anh img { width: 140px; height: 105px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: #0d141b; }
.bh-anh figcaption { font-size: 11.5px; color: var(--text-dim); margin-top: 3px; }
.bh-dong { display: grid; grid-template-columns: 150px 1fr; gap: 5px 14px; padding: 5px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.bh-dong > span:first-child { color: var(--text-dim); }
.modal.rong { max-width: 860px; width: 100%; }
.bh-hanh-dong { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.bh-ghi-chu { background: rgba(180,83,9,.08); border: 1px solid var(--amber-dim); border-radius: var(--radius); padding: 10px 12px; color: var(--amber); font-size: 13px; margin-bottom: 14px; }
.bh-chua-noi { max-width: 640px; }
.bh-chua-noi code { font-family: var(--mono); background: rgba(15,23,42,.06); padding: 1px 5px; border-radius: 4px; }
textarea.bh-ma { width: 100%; min-height: 200px; font-family: var(--mono); font-size: 12.5px; }
tr.bh-bam { cursor: pointer; }
tr.bh-bam:hover td { background: rgba(15,23,42,.02); }
.nav-sep.bh-nhom { color: var(--signal); }
button.bh-khoa:hover { color: var(--red); border-color: var(--red-dim); }
.bh-noi-dung a, #cbVung a { color: var(--signal); text-decoration: none; }
.bh-noi-dung a:hover, #cbVung a:hover { text-decoration: underline; }
input:disabled, select:disabled { opacity: .55; cursor: not-allowed; background: transparent; border-style: dashed; }

/* v157: thông báo tổng đài, trao đổi với khách, lịch hẹn, ảnh/video khách */
.bh-so-tb { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 6px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.bh-cham { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
tr.bh-chua-doc td { background: rgba(13,143,125, .06); }
tr.bh-chua-doc b { color: var(--text); }
.bh-chat { display: flex; flex-direction: column; gap: 8px; max-height: 320px; overflow-y: auto; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(15,23,42,.02); }
.bh-tn { max-width: 78%; padding: 8px 12px; border-radius: 12px; font-size: 13.5px; }
.bh-tn small { display: block; font-size: 11px; opacity: .7; margin-bottom: 2px; }
.bh-tn.khach { align-self: flex-start; background: rgba(15,23,42,.07); }
.bh-tn.nhan_vien { align-self: flex-end; background: rgba(13,143,125, .16); }
.bh-tn.he_thong { align-self: center; background: rgba(180,83,9, .14); text-align: center; max-width: 92%; }
.bh-o-chat { display: flex; gap: 8px; margin-top: 8px; align-items: flex-end; }
.bh-o-chat textarea { flex: 1; resize: vertical; }
.bh-hen { padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.bh-anh video { width: 100%; height: 150px; object-fit: cover; background: #000; border-radius: 8px; display: block; }

/* v158: tổng đài kiểm tra, xuất linh kiện */
.bh-cot.tong-dai .bh-cot-dau { color: var(--amber, #f5a623); }
.bh-cho-td { border-color: rgba(180,83,9, .5); }
.bh-lk-dong { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.bh-lk-dong input[data-ten] { flex: 1; }
.bh-co-san { display: flex; gap: 4px; align-items: center; white-space: nowrap; font-size: 13px; }
.bh-kanban { grid-template-columns: repeat(6, minmax(200px, 1fr)); }

/* v159 — mẫu chẩn đoán */
.bh-mau { margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bh-mau .muted { width: 100%; }
.bh-mau-chip { padding: 5px 10px; font-size: 13px; border-radius: 99px; }
.bh-mau-chip.khop { border-color: #f5b301; }
.bh-mau-chip.chon { background: #0b5cad; color: #fff; border-color: #0b5cad; }

/* v161: màu cố định đổi theo nền sáng của v157 (trước đây viết cho nền tối).
 * ============================================================================
 * v160 — giao diện mới: đầu trang có biểu tượng + tra cứu nhanh, thanh phân mục, thẻ số liệu, tổng quan,
 * sản phẩm theo vòng đời, nhập Excel, chương trình thưởng, ngăn kéo chi tiết bên phải
 * ========================================================================== */
.bh-dau { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.bh-dau .tieu { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; letter-spacing: -.2px; }
.bh-dau .bieu { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 21px;
  background: linear-gradient(135deg, rgba(13,143,125,.22), rgba(29,78,216,.18)); box-shadow: inset 0 0 0 1px rgba(13,143,125,.3); }
.bh-dau .phu { color: var(--text-dim); margin: 6px 0 0 54px; font-size: 13.5px; max-width: 760px; }
.bh-dau-phai { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bh-tra-cuu { position: relative; }
.bh-tra-cuu::before { content: "⌕"; position: absolute; left: 11px; top: 50%; transform: translateY(-52%); color: var(--text-faint); font-size: 17px; pointer-events: none; }
.bh-tra-cuu input { width: 300px; padding-left: 32px; border-radius: 20px; background: var(--bg-panel); }
.bh-tra-cuu input:focus { border-color: var(--signal-dim); box-shadow: 0 0 0 3px rgba(13,143,125,.12); }
button.nho { padding: 4px 10px; font-size: 12.5px; }

.bh-segment { display: inline-flex; gap: 3px; padding: 4px; margin: 0 0 18px; border-radius: 12px; background: var(--bg-panel); border: 1px solid var(--line); flex-wrap: wrap; }
.bh-segment button { background: none; border: 0; color: var(--text-dim); padding: 7px 14px; border-radius: 9px; cursor: pointer; font-size: 13.5px; font-weight: 500; }
.bh-segment button:hover { color: var(--text); background: rgba(15,23,42,.04); }
.bh-segment button.active { color: #ffffff; background: var(--signal); font-weight: 650; box-shadow: 0 2px 10px rgba(13,143,125,.25); }

.bh-chip.tim { color: #6d28d9; background: rgba(109,40,217,.14); }

/* Thẻ số liệu */
.bh-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
.bh-kpis.nho { grid-template-columns: repeat(4, 1fr); margin-bottom: 10px; }
.bh-kpi { --mau: var(--text-dim); position: relative; overflow: hidden; padding: 14px 16px 13px; border-radius: 12px; background: var(--bg-panel); border: 1px solid var(--line); }
.bh-kpi::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--mau); }
.bh-kpi::after { content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: var(--mau); opacity: .07; }
.bh-kpi .nhan { color: var(--text-dim); font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; font-weight: 600; }
.bh-kpi .so { font-size: 28px; font-weight: 750; margin: 4px 0 2px; color: var(--text); font-variant-numeric: tabular-nums; }
.bh-kpis.nho .bh-kpi .so { font-size: 22px; }
.bh-kpi .phu { color: var(--text-faint); font-size: 12px; }
.t-xanh { --mau: var(--signal); } .t-lam { --mau: var(--blue); } .t-vang { --mau: var(--amber); } .t-do { --mau: var(--red); } .t-tim { --mau: #a78bfa; }
.bh-kpi.t-xanh .so { color: var(--signal); } .bh-kpi.t-do .so { color: var(--red); }

/* Tổng quan */
.bh-luoi-tq { display: grid; grid-template-columns: 340px 1fr; gap: 16px; margin-bottom: 16px; }
.bh-luoi-tq.ba { grid-template-columns: 1fr 1.1fr 1fr; }
@media (max-width: 1250px) { .bh-luoi-tq, .bh-luoi-tq.ba { grid-template-columns: 1fr; } }
.bh-luoi-tq .panel { margin: 0; }
.panel-head .ghost.nho { margin-left: auto; }
.bh-viec-ds { display: flex; flex-direction: column; gap: 7px; }
.bh-viec { --mau: var(--text-dim); display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; cursor: pointer;
  background: rgba(15,23,42,.02); border: 1px solid var(--line-soft); color: var(--text); transition: transform .12s, border-color .12s; }
.bh-viec:hover { transform: translateX(2px); border-color: var(--mau); }
.bh-viec .b { font-size: 16px; } .bh-viec .t { flex: 1; font-size: 13.5px; }
.bh-viec .n { font-weight: 750; font-size: 16px; min-width: 34px; text-align: center; padding: 2px 8px; border-radius: 8px; color: var(--mau); background: rgba(15,23,42,.04); }
.bh-viec.do { --mau: var(--red); } .bh-viec.vang { --mau: var(--amber); } .bh-viec.lam { --mau: var(--blue); }
.bh-viec.xong { opacity: .55; } .bh-viec.xong .n { color: var(--text-faint); }
.bh-bieu-do { width: 100%; height: 210px; display: block; }
.bh-bieu-do text { fill: var(--text-faint); font-size: 10.5px; font-family: var(--mono); }
.bh-bieu-do .luoi { stroke: var(--line-soft); stroke-dasharray: 3 4; }
.bh-bieu-do path { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bh-bieu-do .vung { fill: rgba(13,143,125,.10); stroke: none; }
.bh-bieu-do .d-kh { stroke: var(--signal); } .bh-bieu-do .d-pm { stroke: var(--amber); stroke-dasharray: 5 4; } .bh-bieu-do .d-ht { stroke: var(--blue); }
.bh-bieu-do .cham { fill: transparent; } .bh-bieu-do .cham:hover { fill: rgba(13,143,125,.25); }
.bh-chu-giai { display: flex; gap: 16px; font-size: 12.5px; color: var(--text-dim); margin-top: 4px; }
.bh-chu-giai span::before { content: ""; display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.bh-chu-giai .kh::before { background: var(--signal); } .bh-chu-giai .pm::before { background: var(--amber); } .bh-chu-giai .ht::before { background: var(--blue); }
.bh-pheu { display: grid; grid-template-columns: 120px 1fr 70px; align-items: center; gap: 10px; margin: 10px 0; font-size: 13.5px; }
.bh-pheu span { color: var(--text-dim); }
.bh-pheu .ong { height: 22px; border-radius: 6px; background: rgba(15,23,42,.04); overflow: hidden; }
.bh-pheu .ong i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--mau), color-mix(in srgb, var(--mau) 55%, transparent)); }
.bh-pheu b { text-align: right; font-variant-numeric: tabular-nums; }
.bh-ct-nho { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.bh-ct-nho:last-child { border: 0; }

/* Sản phẩm */
.bh-tab-dem { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.bh-tab-dem button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; cursor: pointer; font-size: 13px;
  background: var(--bg-panel); border: 1px solid var(--line); color: var(--text-dim); }
.bh-tab-dem button b { font-variant-numeric: tabular-nums; color: var(--text); background: rgba(15,23,42,.06); padding: 1px 7px; border-radius: 6px; font-size: 12px; }
.bh-tab-dem button.active { border-color: var(--signal); color: var(--signal); background: rgba(13,143,125,.07); }
.bh-tab-dem button.active b { background: var(--signal); color: #ffffff; }
.bh-loc { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.bh-loc #spTim { flex: 1; min-width: 240px; }
.bh-ngay { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 12.5px; }
.bh-trang { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 12px 0; color: var(--text-dim); font-size: 13px; }
.bh-may { display: flex; align-items: center; gap: 10px; }
.bh-vd { display: inline-flex; gap: 3px; flex: none; }
.bh-vd i { width: 7px; height: 18px; border-radius: 3px; background: rgba(15,23,42,.08); }
.bh-vd i.on:nth-child(1) { background: var(--blue); } .bh-vd i.on:nth-child(2) { background: var(--amber); } .bh-vd i.on:nth-child(3) { background: var(--signal); }
.bh-vd.het i.on:nth-child(3) { background: var(--red); }
.bh-vd.huy i { background: rgba(220,38,38,.25); }
.bh-may-dau { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.bh-the-nho { border: 1px solid var(--line-soft); border-radius: 10px; padding: 4px 14px 8px; margin-bottom: 12px; background: rgba(15,23,42,.015); }
.bh-the-nho h4 { margin: 10px 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--signal); }
.bh-the-nho .bh-dong:last-child { border: 0; }

/* Ngăn kéo chi tiết: hộp thoại rộng trượt từ phải */
.modal-backdrop.ngan { justify-content: flex-end; align-items: stretch; padding: 0; }
.modal-backdrop.ngan .modal { max-width: 640px; width: 100%; height: 100vh; max-height: 100vh; border-radius: 16px 0 0 16px; overflow-y: auto;
  display: flex; flex-direction: column; animation: bh-truot .22s ease-out; }
.modal-backdrop.ngan .modal .bh-noi-dung { flex: 1; }
.modal-backdrop.ngan .modal-actions { position: sticky; bottom: 0; background: var(--bg-panel); padding-top: 12px; }
@keyframes bh-truot { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Thanh tiến độ, tỷ lệ */
.bh-tien-do { height: 6px; border-radius: 3px; background: rgba(15,23,42,.06); overflow: hidden; min-width: 70px; flex: 1; }
.bh-tien-do i { display: block; height: 100%; border-radius: 3px; background: var(--blue); }
.bh-tien-do.xanh i { background: var(--signal); } .bh-tien-do.do i { background: var(--red); }
.bh-ty-le { display: flex; align-items: center; gap: 8px; min-width: 150px; }
.bh-sao { color: var(--amber); font-weight: 650; }

/* Nhập Excel */
.bh-luoi-nhap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 1150px) { .bh-luoi-nhap { grid-template-columns: 1fr; } }
.bh-luoi-nhap .panel { margin: 0; }
.bh-tha-tep { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 16px; border: 2px dashed var(--line); border-radius: 14px; cursor: pointer;
  text-align: center; background: rgba(13,143,125,.025); transition: border-color .15s, background .15s; }
.bh-tha-tep:hover, .bh-tha-tep.dang-tha { border-color: var(--signal); background: rgba(13,143,125,.07); }
.bh-tha-tep .b { font-size: 34px; }
.bh-tick { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--amber-dim); background: rgba(180,83,9,.05); cursor: pointer; font-size: 13.5px; }
.bh-tick input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--amber); }
.bh-quy-tac { margin: 12px 0 0; padding-left: 18px; color: var(--text-dim); font-size: 13px; line-height: 1.6; }
.bh-xem-truoc .panel-head .toolbar { margin-left: auto; }
.bh-chips-loc { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 10px; }
.bh-chips-loc button { padding: 5px 11px; border-radius: 16px; background: rgba(15,23,42,.03); border: 1px solid var(--line); color: var(--text-dim); cursor: pointer; font-size: 12.5px; }
.bh-chips-loc button b { color: var(--text); margin-left: 3px; }
.bh-chips-loc button.active { border-color: var(--signal); color: var(--signal); }
.bh-bang-cuon { max-height: 520px; overflow: auto; border: 1px solid var(--line-soft); border-radius: 10px; }
.bh-bang-cuon thead th { position: sticky; top: 0; background: var(--bg-panel-raised); z-index: 1; }
.bh-diff { font-size: 12.5px; line-height: 1.6; }
.bh-diff > span { display: inline-block; min-width: 130px; color: var(--text-dim); }
.bh-diff s { color: var(--text-faint); }
.bh-diff b { color: var(--signal); font-weight: 600; }
.bh-canh-bao { font-size: 12.5px; color: var(--amber); }

/* Chương trình thưởng */
.bh-ct-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.bh-ct { --mau: var(--line); display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; background: var(--bg-panel); border: 1px solid var(--line); border-top: 3px solid var(--mau); }
.bh-ct.xanh { --mau: var(--signal); background: linear-gradient(180deg, rgba(13,143,125,.06), var(--bg-panel) 60%); }
.bh-ct.lam { --mau: var(--blue); }
.bh-ct .dau { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.bh-ct h3 { margin: 2px 0 0; font-size: 16px; }
.bh-ct .thuong { display: flex; gap: 14px; font-size: 14px; } .bh-ct .thuong b { font-size: 20px; color: var(--signal); }
.bh-ct p { margin: 0; color: var(--text-dim); font-size: 13px; }
.bh-ct .so-lieu { display: flex; gap: 6px; flex-wrap: wrap; } .bh-ct .so-lieu span { font-size: 12px; padding: 3px 8px; border-radius: 6px; background: rgba(15,23,42,.04); color: var(--text-dim); }
.bh-ct .nut { display: flex; gap: 6px; justify-content: flex-end; margin-top: auto; }
.bh-chon-nhieu { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.bh-chon-nhieu label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); }
.bh-chon-nhieu.cuon { max-height: 180px; overflow-y: auto; padding: 8px; border: 1px solid var(--line-soft); border-radius: 8px; flex-direction: column; }
.modal-backdrop.ngan .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.modal-backdrop.ngan .grid .full { grid-column: 1 / -1; }
.modal-backdrop.ngan .grid input:not([type=checkbox]), .modal-backdrop.ngan .grid select, .modal-backdrop.ngan .grid textarea { width: 100%; box-sizing: border-box; }
.bh-sua-ct { margin-top: 4px; padding: 6px 10px; border-left: 2px solid var(--line); }
/* Biểu mẫu nằm ngay trong trang (gửi thông báo, xuất kho) dùng cùng bố cục với hộp thoại */
.panel .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.panel .grid > label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--text-dim); }
.panel .grid > .full, .panel .grid > label.full { grid-column: 1 / -1; }
.panel .grid input:not([type=checkbox]):not([type=radio]), .panel .grid select, .panel .grid textarea { width: 100%; box-sizing: border-box; }
.bh-kanban { grid-template-columns: repeat(6, minmax(178px, 1fr)); }
.bh-chon-nhieu input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--signal); }
