/* trang/cai-dat.css — kiểu riêng của màn Cài đặt (tiền tố cd-). Thành phần dùng chung: chung.css */
.cd-luoi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.cd-cot { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cd-bm-ten .nut, .cd-the-gio .bieu-mau .nut { min-width: 120px; }

/* giờ làm */
.cd-gio { display: grid; grid-template-columns: repeat(2, minmax(0, 170px)); gap: 12px; }
.cd-tom { font-size: 13.5px; min-height: 20px; }

/* số của tiệm */
.cd-so-ds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; min-height: 30px; align-items: center; }
.cd-so { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 4px 0 10px; border-radius: 999px; background: var(--nen-2); border: 1px solid var(--vien); font-weight: 600; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.cd-so > svg { color: var(--mo); }
.cd-so-xoa { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--mo); }
.cd-so-xoa:hover { background: rgba(20, 20, 20, .09); color: var(--do); }
.cd-so-them { display: flex; gap: 8px; align-items: center; }
.cd-so-them > .o-nhap { flex: 1 1 auto; max-width: 240px; }

/* hệ thống */
.cd-the-ht .the-dau { align-items: center; }
.cd-the-ht .the-than { padding: 4px 18px 8px; }
.cd-ht-dong { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--vien); align-items: start; }
.cd-ht-dong:last-child { border-bottom: 0; }
.cd-ht-nhan { font-size: 13.5px; font-weight: 600; color: var(--mo); padding-top: 1px; }
.cd-ht-gt { min-width: 0; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.cd-ht-phu { font-size: 12.5px; color: var(--mo); line-height: 1.45; }
.cd-dia-chi { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; }
.cd-dia-chi code { font: 600 13px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--nen-2); padding: 3px 8px; border-radius: 6px; overflow-wrap: anywhere; }
.cd-kho { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.cd-kho-thanh { height: 8px; border-radius: 999px; background: var(--nen-2); overflow: hidden; }
.cd-kho-day { display: block; height: 100%; border-radius: 999px; background: var(--tot); }
.cd-kho-cam { background: var(--cam); }
.cd-kho-do { background: var(--do); }
.cd-kho-chu { font-size: 13.5px; color: var(--mo); font-variant-numeric: tabular-nums; }
.cd-kho-chu b { color: var(--muc); }

/* việc khác */
.cd-lq .ds-dong:last-child { border-bottom: 0; border-radius: 0 0 var(--bo-to) var(--bo-to); }
.cd-lq-hinh { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--nen-2); color: var(--vang-dam); display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 900px) { .cd-luoi { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .cd-luoi, .cd-cot { gap: 12px; }
  .cd-gio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cd-bm-ten .nut, .cd-the-gio .bieu-mau .nut { flex: 1; }
  .cd-so { height: 46px; padding: 0 1px 0 14px; font-size: 14.5px; }
  .cd-so-xoa { width: 44px; height: 44px; }
  .cd-so-them > .o-nhap { max-width: none; }
  .cd-ht-dong { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cd-the-ht .the-than { padding: 2px 14px 6px; }
}
