/* Module SÀN GIÁ & ĐƠN DƯỚI SÀN (0.9.7 · s097-don) — kiểu riêng (tiền tố .gs-), CHỈ dùng biến của web/giao_dien.css (đúng cả sáng / tối).
   Màn: Sàn giá & chiết khấu (#/gia-san) · Đơn dưới sàn chờ duyệt (#/duyet-duoi-san). Điện thoại 390 px: một cột, không cuộn ngang. */
.gs-giai{margin-bottom:12px}
.gs-giai>svg{flex:none;margin-top:2px;color:var(--chinh)}
.gs-tab{margin-bottom:14px}
@media (max-width:520px){ .gs-tab>button{padding:0 8px;font-size:13.5px} }   /* điện thoại: đủ 4 tab trên một hàng */
.gs-mot-cot{min-width:0}   /* bọc danh sách luật / lịch sử: bản web giữ MỘT cột (thứ tự đọc từ trên xuống) */

/* ---- tháng: ‹ Tháng 10/2026 › + chép */
.gs-thang{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 6px}
.gs-thang>b{font:800 18px/1.2 var(--tieu-de);color:var(--chu);min-width:120px;text-align:center}
.gs-thang .hc-nut.nho{min-height:44px;min-width:44px;padding:0 14px;justify-content:center}   /* 0.9.9 (ghép vòng 4): nút ‹ › 36 → 44 px */
.gs-thang #gs-chep{margin-left:auto}
.gs-ghi{margin:4px 2px 12px;font-size:13px;line-height:1.45}

/* ---- lưới thẻ nhóm khách (một cột điện thoại, hai cột màn rộng) */
.gs-luoi{display:grid;gap:12px;grid-template-columns:1fr}
@media (min-width:900px){ .gs-luoi{grid-template-columns:repeat(2,minmax(0,1fr))} }
.gs-luoi>.gs-the-nhom{margin:0}
.gs-the-dau{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:0 0 4px}
.gs-the-dau h3{margin:0;font:800 16px/1.3 var(--tieu-de);color:var(--chu);overflow-wrap:anywhere}
.gs-the-dau .hc-chip{flex:none}
.gs-mo-ta{margin:0 0 10px;font-size:12.5px;line-height:1.4}
.gs-o-ds{margin:0;box-shadow:none}
.gs-o{min-height:52px;padding:10px 12px}
.gs-o .hc-dong-giua .t{font-size:14.5px;font-weight:600}
.gs-o .hc-dong-cuoi b{font-size:15px;white-space:nowrap}
.gs-o.khoa{box-shadow:inset 4px 0 0 var(--do)}
.gs-o-rong{font-size:13px;color:var(--mo);white-space:nowrap}
.gs-o-khoa{display:inline-flex;align-items:center;gap:4px;font:700 13px var(--noi-dung);color:var(--do);white-space:nowrap}
.gs-o-khoa>svg{flex:none}
.gs-khoa{margin:4px 0 12px}

/* ---- tab Nhóm khách */
.gs-tk{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin:0 0 16px}
.gs-tk .hc-so span{overflow-wrap:anywhere}
.gs-tk .hc-so.do b{color:var(--do)}
.gs-luat .hc-dong-dau{font-size:13px}
.gs-luat .hc-dong-giua .t{font-weight:600}
.gs-luat .hc-dong-giua .t b{font-weight:800}
.gs-luat.tat,.gs-sp.tat{opacity:.62}
.gs-tim{margin:0 0 10px}
.gs-tim input{width:100%}

/* ---- tab Sản phẩm */
.gs-sp .hc-dong-cuoi .hc-chip{max-width:210px;white-space:normal;text-align:right;line-height:1.25;height:auto;min-height:24px;padding-top:3px;padding-bottom:3px}
.gs-gan{font-size:11.5px;color:var(--vang-chu);font-weight:700}

/* ---- tab Lịch sử */
.gs-ls .hc-dong{align-items:flex-start}
.gs-ls .hc-dong-giua .p b{color:var(--chu)}

/* ---- Đơn dưới sàn chờ duyệt */
.gs-don .hc-the-dau h3{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}
.gs-chon{width:22px;height:22px;min-height:0;margin:0;flex:none;cursor:pointer}
.gs-don .hc-so-luoi{margin:10px 0 8px}
.gs-nho{display:block;font-size:13px!important;line-height:1.25;overflow-wrap:anywhere}
.gs-nhom-kh{margin:0 0 6px;font-size:13.5px;color:var(--chu)}
.gs-duoi{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:6px}
.gs-duoi li{padding:8px 10px;border-radius:10px;background:var(--do-nhat);font-size:13.5px;line-height:1.45;color:var(--chu);overflow-wrap:anywhere}
.gs-duoi li .chu-do{color:var(--do)}
.gs-tom{margin:0 0 8px;font-size:13px}
.gs-nhac{display:flex;align-items:flex-start;gap:6px;margin:8px 0;padding:8px 10px;border-radius:10px;background:var(--nen-2);font-size:13px;line-height:1.4}
.gs-nhac>svg{flex:none;margin-top:2px}
.gs-nhac.cam{background:var(--cam-nhat);color:var(--chu)} .gs-nhac.cam>svg{color:var(--cam)}
.gs-nhac a{color:var(--chinh);font-weight:700}
.gs-cho{margin:6px 0 0;font-style:italic}
.gs-don .hc-nhom-nut{margin-top:10px}
.gs-buoc{margin:8px 0 0} .gs-buoc .hc-chip{height:24px;font-size:12px}   /* 1.3 (s13-a): chip bước nhỏ — nút chỉ một chữ "Duyệt" */
