:root{--nav:#1e375d;--nav2:#314f7f;--nav-chu:#d0d5dd;--chu:#1e375d;--mo:#667085;--vien:#eaecf0;--nen:#f2f4f7;
  --xanh:#1677ff;--xanh-nhat:#e6f4ff;--do:#f87171;--luc:#16a34a;--cam:#f59e0b;--tim:#8b5cf6}
*{box-sizing:border-box}
html,body{height:100%;margin:0}
body{font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;color:var(--chu);background:var(--nav);overflow:hidden}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
a{color:var(--xanh);text-decoration:none}
.ic{display:inline-flex;width:18px;height:18px;flex:none}
.ic svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
[hidden]{display:none!important}
::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#c5cbd6;border-radius:4px}::-webkit-scrollbar-track{background:transparent}

/* khung */
#app{display:grid;grid-template:48px 1fr/200px 1fr;height:100vh}
#app.gon{grid-template-columns:64px 1fr}
.top{grid-column:1/3;display:flex;align-items:center;gap:16px;padding:0 20px;color:#fff}
.ws{display:flex;align-items:center;gap:10px;width:255px;font-size:15px;white-space:nowrap}
.ws-logo{width:30px;height:30px;border-radius:6px;background:#c026d3;display:grid;place-items:center;font-size:12px;font-weight:600}
.tim-chung{position:relative;display:flex;align-items:center;gap:8px;background:#314f7f;border-radius:16px;padding:0 14px;height:32px;width:380px;color:#d0d5dd}
.tim-chung input{background:none;border:0;outline:0;color:#fff;flex:1;min-width:0}
.tim-chung input::placeholder{color:#d0d5dd}
#tim-kq{top:38px;left:0;width:100%;color:var(--chu)}
.top-phai{margin-left:auto;display:flex;align-items:center;gap:10px}
.top-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:0;color:#fff;height:32px;padding:0 10px;border-radius:6px;white-space:nowrap}
.top-btn:hover{background:#314f7f}
.top-btn.cam{background:linear-gradient(90deg,#ff7a00,#ff9a2e);font-weight:500}
.top-btn.quay .ic{animation:quay 1s linear infinite}
@keyframes quay{to{transform:rotate(360deg)}}
.top-av{border:0;background:none;padding:0;border-radius:50%}
.side{display:flex;flex-direction:column;padding:16px 12px 0;overflow:hidden}
#menu{flex:1;overflow-y:auto;overflow-x:hidden}
#menu::-webkit-scrollbar{width:0}
.mn{display:flex;align-items:center;gap:12px;height:40px;padding:0 12px;margin-bottom:16px;border-radius:10px;color:var(--nav-chu);cursor:pointer;white-space:nowrap;user-select:none}
.mn:hover{color:#fff}
.mn.chon{background:var(--nav2);color:#fff}
.mn .mui{margin-left:auto;width:14px;height:14px;transition:transform .15s}
.mn.mo .mui{transform:rotate(180deg)}
.mn-con{background:#2a4671;border-radius:10px;margin:-10px 0 16px;padding:4px;overflow:hidden}
.mn-con .mn{margin:0;height:38px;padding-left:14px}
.mn-con .mn.chon{background:var(--nav)}
.thu-gon{display:flex;align-items:center;gap:12px;height:52px;border:0;border-top:1px solid #314f7f;background:none;color:#fff;margin:0 -12px;padding:0 24px;white-space:nowrap}
#app.gon .mn span:not(.ic),#app.gon .mn .mui,#app.gon .thu-gon span:not(.ic),#app.gon .mn-con,#app.gon .ws b{display:none}
#app.gon .ws{width:44px}
#main{background:#fff;border-top-left-radius:16px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
#main.xam{background:var(--nen)}

/* trang */
.pg-dau{display:flex;align-items:center;gap:12px;padding:10px 20px 8px;margin:0 0 0;border-bottom:1px solid var(--vien);margin:0 20px;padding-left:0;padding-right:0}
.pg-dau h1{font-size:18px;margin:0;font-weight:600;line-height:1.3}
.pg-dau p{margin:0;font-size:12px;color:var(--mo)}
.pg-dau .phai{margin-left:auto;display:flex;gap:10px;align-items:center}
.pg-than{flex:1;overflow:auto;padding:0 20px;display:flex;flex-direction:column;min-height:0}
#main.xam .pg-dau{background:#fff;margin:0;padding:12px 20px;border-bottom:0}
#main.xam .pg-than{padding:14px 20px 20px}
.btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border:1px solid #d0d5dd;border-radius:6px;background:#fff;white-space:nowrap}
.btn:hover{border-color:var(--xanh);color:var(--xanh)}
.btn.chinh{background:var(--xanh);border-color:var(--xanh);color:#fff}
.btn.chinh:hover{background:#4096ff;color:#fff}
.btn.do{color:#dc2626;border-color:#fca5a5}
.btn.nho{height:28px;padding:0 10px;font-size:13px}
.btn.vuong{width:32px;padding:0;justify-content:center}
.btn.bat{border-color:var(--xanh);color:var(--xanh);background:var(--xanh-nhat)}
.loc{display:flex;align-items:center;gap:6px;padding:12px 0;flex-wrap:wrap}
.loc .l{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border-radius:6px;cursor:pointer;border:0;background:none;white-space:nowrap}
.loc .l:hover{background:var(--nen)}
.loc .l.co{color:var(--xanh);background:var(--xanh-nhat)}
.loc .l .ic{width:14px;height:14px}
.loc .phai{margin-left:auto;display:flex;gap:10px;align-items:center}
.o-tim{height:32px;border:1px solid #d0d5dd;border-radius:6px;padding:0 10px;width:240px;outline:0}
.o-tim:focus{border-color:var(--xanh)}
.pop{position:absolute;z-index:60;background:#fff;border-radius:8px;box-shadow:0 6px 24px rgba(16,24,40,.18);padding:4px;min-width:180px;max-height:340px;overflow:auto}
.pop .mi{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:6px;cursor:pointer;white-space:nowrap}
.pop .mi:hover{background:var(--nen)}
.pop .mi.chon{color:var(--xanh);background:var(--xanh-nhat)}
.pop .mi small{color:var(--mo);margin-left:auto;padding-left:12px}
.pop .ke{border-top:1px solid var(--vien);margin:4px 0}
.pop .ngay2{display:flex;gap:6px;padding:8px;align-items:center}
.pop input[type=date]{height:30px;border:1px solid #d0d5dd;border-radius:6px;padding:0 6px}

/* the so lieu */
.the3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:16px}
.the{border:1px solid var(--vien);border-radius:10px;padding:16px 20px;display:flex;gap:12px;background:#fff;min-width:0}
.the .t{font-size:12px;color:var(--mo)}
.the .s{font-size:20px;font-weight:500;display:flex;align-items:center;gap:10px;white-space:nowrap}
.the .d{font-size:12px;color:var(--mo);margin-top:8px}
.the .d b{color:var(--luc)}.the .d b.am{color:#dc2626}
.the .spark{margin-left:auto;align-self:center;width:90px;height:44px}
.pt{font-size:12px;padding:1px 6px;border-radius:4px;background:#dcfce7;color:var(--luc);font-weight:400}
.pt.am{background:#fee2e2;color:#dc2626}

/* bang */
.bang-khung{flex:1;overflow:auto;min-height:120px;border-radius:8px 8px 0 0}
table.bang{border-collapse:separate;border-spacing:0;width:100%;white-space:nowrap}
.bang th{position:sticky;top:0;z-index:3;background:var(--vien);text-align:left;font-weight:600;height:47px;padding:0 16px}
.bang td{height:44px;padding:0 16px;border-bottom:1px solid #f2f4f7;max-width:340px;overflow:hidden;text-overflow:ellipsis}
.bang tr:nth-child(even) td{background:#f9fafb}
.bang tbody tr{cursor:pointer}
.bang tbody tr:hover td{background:#eef4ff}
.bang .p{text-align:right}
.bang .dinh{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-6px 0 8px -6px rgba(16,24,40,.15)}
.bang th.dinh{z-index:4;background:var(--vien)}
.bang .o{width:48px;padding:0 0 0 16px}
.bang input[type=checkbox]{width:16px;height:16px;accent-color:var(--xanh)}
.bang .mo{color:var(--mo)}
.bang .rong td{height:220px;text-align:center;color:var(--mo);cursor:default;background:#fff!important}
.chan{display:flex;align-items:center;gap:12px;height:44px;padding:0 4px 0 60px;border-top:1px solid var(--vien);flex:none;color:var(--chu)}
.chan .phai{margin-left:auto;display:flex;align-items:center;gap:8px}
.chan button{border:0;background:none;width:28px;height:28px;border-radius:6px;display:grid;place-items:center}
.chan button:hover:not(:disabled){background:var(--nen)}
.chan button:disabled{opacity:.3;cursor:default}
.tag{display:inline-block;font-size:12px;line-height:20px;padding:0 7px;border-radius:4px;color:#fff;background:var(--xanh);white-space:nowrap}
.tag.do{background:var(--do)}.tag.luc{background:var(--luc)}.tag.cam{background:var(--cam)}.tag.xam{background:#98a2b3}.tag.tim{background:var(--tim)}
.tag.nhat{background:#eef2ff;color:#3538cd}
.av{display:inline-grid;place-items:center;border-radius:50%;color:#fff;font-size:10px;font-weight:600;flex:none;vertical-align:middle}
.nv{display:inline-flex;align-items:center;gap:8px}
.sdt{display:inline-flex;align-items:center;gap:8px}
.sdt .ic{color:var(--xanh);width:15px;height:15px}
.sdt .ic svg{fill:var(--xanh);stroke:none}
.loat{position:absolute;left:50%;bottom:60px;transform:translateX(-50%);background:var(--nav);color:#fff;border-radius:10px;padding:8px 10px 8px 16px;display:flex;gap:10px;align-items:center;z-index:20;box-shadow:0 8px 24px rgba(16,24,40,.3)}
.loat .btn{background:#314f7f;border-color:#314f7f;color:#fff}

/* kanban */
.kb{flex:1;display:flex;gap:10px;overflow-x:auto;min-height:0;padding-bottom:10px}
.kb-cot{flex:0 0 300px;display:flex;flex-direction:column;min-height:0}
.kb-dau{display:flex;justify-content:space-between;align-items:center;height:36px;padding:0 12px;background:var(--vien);border-bottom:3px solid var(--xanh);font-weight:500;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%);padding-right:22px}
.kb-dau small{color:var(--mo);font-weight:400}
.kb-ds{flex:1;overflow-y:auto;background:var(--nen);padding:6px;display:flex;flex-direction:column;gap:6px}
.kb-ds.tha{background:#dbeafe}
.kb-the{background:#fff;border-radius:6px;padding:10px 12px;box-shadow:0 1px 2px rgba(16,24,40,.08);cursor:pointer;display:flex;flex-direction:column;gap:6px;font-size:13px}
.kb-the:hover{box-shadow:0 2px 8px rgba(16,24,40,.16)}
.kb-the .ten{display:flex;align-items:center;gap:8px;font-weight:500;font-size:14px}
.kb-the .mo{color:var(--mo)}
.kb-the.keo{opacity:.4}

/* ho so khach */
.hs{flex:1;display:grid;grid-template-columns:324px 1fr 324px;gap:12px;padding:12px;min-height:0}
.hs>div{min-height:0;display:flex;flex-direction:column;gap:12px}
.card{background:#fff;border-radius:8px;padding:16px}
.hs-giua{background:#fff;border-radius:8px;padding:12px 16px;overflow:hidden}
.hs-ten{text-align:center;font-size:18px;font-weight:600;margin:10px 0}
.hs-nut{display:flex;justify-content:center;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--vien)}
.hs-nut button{width:40px;height:40px;border-radius:50%;border:0;background:var(--nen);display:grid;place-items:center}
.hs-nut button:hover{background:var(--xanh-nhat);color:var(--xanh)}
.hs-2{display:grid;grid-template-columns:1fr 1fr;text-align:center;padding:12px 0;font-size:12px}
.hs-2>div+div{border-left:1px solid var(--vien)}
.hs-2 b{display:inline-block;margin-top:4px;padding:1px 8px;border-radius:4px;background:var(--xanh-nhat);border:1px solid #bfdbfe;font-weight:400}
.hs-2 b.cam{background:#fff7ed;border-color:#fdba74;color:#c2410c}
.hs-dong{display:flex;align-items:center;gap:10px;padding:6px 0;word-break:break-word}
.tabs{display:flex;gap:8px;border-bottom:1px solid var(--vien);flex:none}
.tabs button{border:0;background:none;padding:8px 14px;white-space:nowrap;border-bottom:2px solid transparent;margin-bottom:-1px;color:var(--mo)}
.tabs button.chon{color:var(--xanh);border-color:var(--xanh)}
.tab-than{flex:1;overflow:auto;padding-top:8px;min-height:0}
.muc{background:var(--nen);font-weight:500;padding:8px 10px;margin-bottom:8px}
.o2{display:grid;grid-template-columns:1fr 1fr;gap:4px 24px;padding:0 20px 12px}
.o2 .f{padding:8px 0;min-width:0}
.o2 .f label{display:block;font-weight:500;margin-bottom:2px}
.o2 .f .v{min-height:26px;padding:2px 6px;margin-left:-6px;border-radius:6px;cursor:text;color:#344054;word-break:break-word}
.o2 .f .v:hover{background:var(--nen)}
.o2 .f .v.khoa{cursor:default}.o2 .f .v.khoa:hover{background:none}
.o2 input,.o2 select,.o2 textarea{width:100%;height:30px;border:1px solid var(--xanh);border-radius:6px;padding:0 8px;outline:0}
.o2 textarea{height:70px;padding:6px 8px}
.gc{display:flex;flex-direction:column;flex:1;background:#fff;border-radius:8px;overflow:hidden;min-height:0}
.gc .tabs button{flex:1}
.gc-ds{flex:1;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:10px}
.gc-1{background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:8px 10px;white-space:pre-wrap;word-break:break-word}
.gc-1 small{display:flex;justify-content:space-between;color:var(--mo);margin-top:4px}
.gc-1 small a{cursor:pointer;color:var(--mo)}
.gc-nhap{border-top:1px solid var(--vien);padding:8px;display:flex;gap:6px;align-items:flex-end}
.gc-nhap textarea{flex:1;border:0;outline:0;resize:none;height:64px}
.rong{flex:1;display:grid;place-items:center;color:var(--mo);text-align:center;font-size:13px;padding:30px}
.rong .ic{width:56px;height:56px;color:#d0d5dd;margin:0 auto 8px;display:block}
.vd-1{padding:10px 0;border-top:1px solid var(--vien);cursor:pointer}
.vd-1 b{display:block;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hd-1{display:flex;gap:10px;padding:10px 6px;border-bottom:1px solid var(--vien);align-items:flex-start;cursor:pointer}
.hd-1:hover{background:#f9fafb}
.hd-1 .nd{flex:1;min-width:0}
.hd-1 .nd small{color:var(--mo);display:block}
.hd-1.xong b{text-decoration:line-through;color:var(--mo)}
.ls-1{display:flex;gap:10px;padding:8px 6px;border-bottom:1px solid #f2f4f7;font-size:13px}
.ls-1 time{color:var(--mo);white-space:nowrap;width:120px;flex:none}

/* lich */
.lich{flex:1;display:flex;flex-direction:column;min-height:0;border-top:1px solid var(--vien)}
.lich-dau{display:grid;border-bottom:1px solid var(--vien);flex:none;padding-right:8px}
.lich-dau div{text-align:center;padding:6px 0;border-left:1px solid var(--vien);font-size:12px;color:var(--mo)}
.lich-dau div b{display:block;font-size:15px;font-weight:500;color:var(--chu)}
.lich-dau div.nay{border-top:2px solid var(--xanh);color:var(--xanh)}.lich-dau div.nay b{color:var(--xanh)}
.lich-than{flex:1;overflow-y:scroll;position:relative}
.lich-luoi{display:grid;position:relative}
.lich-gio{font-size:12px;color:var(--mo);text-align:left;padding:0 6px;transform:translateY(-9px)}
.lich-o{border-left:1px solid var(--vien);border-bottom:1px solid #f2f4f7;height:28px;cursor:pointer}
.lich-o.chan-gio{border-bottom-color:var(--vien)}
.lich-o:hover{background:var(--xanh-nhat)}
.lich-sk{position:absolute;border-radius:4px;padding:2px 6px;font-size:12px;color:#fff;background:var(--xanh);overflow:hidden;cursor:pointer;border-left:3px solid rgba(0,0,0,.25);line-height:1.3}
.lich-sk.xong{background:var(--luc)}.lich-sk.huy{background:var(--do);text-decoration:line-through}
.lich-nay{position:absolute;height:2px;background:var(--xanh);z-index:2;pointer-events:none}
.lich-chu{display:flex;justify-content:center;gap:28px;padding:10px;border-top:1px solid var(--vien);flex:none;font-size:13px}
.cham{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:8px;background:var(--xanh)}
.seg{display:inline-flex;background:var(--nen);border-radius:6px;padding:2px}
.seg button{border:0;background:none;height:28px;padding:0 10px;border-radius:5px;color:var(--mo)}
.seg button.chon{background:#fff;color:var(--xanh);box-shadow:0 1px 2px rgba(16,24,40,.12)}
.thang{flex:1;display:grid;grid-template-columns:repeat(7,1fr);grid-auto-rows:minmax(92px,1fr);overflow:auto;border-top:1px solid var(--vien)}
.thang>div{border-right:1px solid var(--vien);border-bottom:1px solid var(--vien);padding:4px 6px;font-size:12px;cursor:pointer;min-width:0}
.thang>div.ngoai{background:#f9fafb;color:#98a2b3}
.thang>div.nay>b{background:var(--xanh);color:#fff;border-radius:50%;display:inline-grid;place-items:center;width:22px;height:22px}
.thang .sk{display:block;border-radius:3px;padding:0 4px;margin-top:2px;color:#fff;background:var(--xanh);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thang .sk.xong{background:var(--luc)}.thang .sk.huy{background:var(--do)}

/* tong quan / thong ke */
.luoi{display:grid;gap:14px}
.o{background:#fff;border-radius:10px;padding:16px 20px;min-width:0}
.o h3{margin:0 0 12px;font-size:15px;font-weight:600}
.chao{background:linear-gradient(120deg,#dbeafe,#fff 60%);display:flex;flex-direction:column;justify-content:center}
.chao h2{margin:10px 0 6px;font-size:22px;font-weight:500}
.chi-so{display:grid;grid-template-columns:1fr 1fr;gap:18px 12px;align-content:center}
.chi-so .c{display:flex;gap:12px;align-items:center}
.chi-so .bieu-tuong{width:44px;height:44px;border-radius:10px;background:var(--xanh-nhat);display:grid;place-items:center;color:var(--xanh);flex:none}
.chi-so .t,.hang-so .t{font-size:12px;color:var(--mo)}
.chi-so .s,.hang-so .s{font-size:17px;font-weight:500;display:flex;gap:8px;align-items:center;white-space:nowrap}
.hang-so{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.chu-thich{display:flex;justify-content:center;gap:24px;font-size:12px;color:var(--mo);margin-top:6px}
.chu-thich i{display:inline-block;width:18px;border-top:2px solid var(--xanh);vertical-align:middle;margin-right:6px}
.chu-thich i.dut{border-top:2px dashed #22c55e}
.ds-nguon{display:grid;grid-template-columns:auto 1fr auto;gap:6px 10px;align-items:center;font-size:13px}
.ds-nguon i{width:10px;height:10px;border-radius:2px;display:inline-block}
.thanh{height:8px;border-radius:4px;background:var(--nen);overflow:hidden;display:flex}
.thanh span{display:block;height:100%}
.pheu{display:flex;flex-direction:column;gap:6px;align-items:center}
.pheu div{height:34px;border-radius:4px;color:#fff;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;min-width:90px;white-space:nowrap}
table.gon{width:100%;border-collapse:collapse;font-size:13px}
.gon th{background:var(--vien);text-align:right;padding:9px 12px;font-weight:600;white-space:nowrap}
.gon td{text-align:right;padding:9px 12px;border-bottom:1px solid #f2f4f7;white-space:nowrap}
.gon th:first-child,.gon td:first-child{text-align:left}
.gon tr.tong td{font-weight:600;background:#f9fafb}

/* cua so */
#lop{position:fixed;inset:0;z-index:80;display:none}
#lop.mo{display:block}
.man{position:absolute;inset:0;background:rgba(16,24,40,.45)}
.hop{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;border-radius:10px;width:560px;max-width:94vw;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(16,24,40,.3)}
.hop.rong-hon{width:760px}
.hop-dau{display:flex;align-items:center;padding:14px 20px;border-bottom:1px solid var(--vien);font-size:16px;font-weight:600}
.hop-dau button{margin-left:auto;border:0;background:none;width:28px;height:28px;border-radius:6px;color:var(--mo)}
.hop-than{padding:16px 20px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}
.hop-than .f{min-width:0;position:relative}
.hop-than .f.ca{grid-column:1/3}
.hop-than label{display:block;font-weight:500;margin-bottom:4px;font-size:13px}
.hop-than label i{color:#dc2626;font-style:normal}
.hop-than input,.hop-than select,.hop-than textarea{width:100%;height:34px;border:1px solid #d0d5dd;border-radius:6px;padding:0 10px;outline:0;background:#fff}
.hop-than textarea{height:80px;padding:8px 10px;resize:vertical}
.hop-than input:focus,.hop-than select:focus,.hop-than textarea:focus{border-color:var(--xanh);box-shadow:0 0 0 2px rgba(22,119,255,.15)}
.hop-chan{display:flex;gap:10px;justify-content:flex-end;padding:12px 20px;border-top:1px solid var(--vien)}
.hop-chan .trai{margin-right:auto}
.kh-chon{display:flex;align-items:center;gap:8px;height:34px;border:1px solid #d0d5dd;border-radius:6px;padding:0 10px;background:var(--nen)}
.kh-chon a{margin-left:auto;cursor:pointer;color:var(--mo)}
#toast{position:fixed;top:60px;left:50%;transform:translateX(-50%);z-index:99;display:flex;flex-direction:column;gap:8px;align-items:center}
#toast div{background:#fff;border-radius:8px;padding:9px 16px;box-shadow:0 6px 24px rgba(16,24,40,.2);border-left:4px solid var(--luc)}
#toast div.loi{border-color:#dc2626}
.don-ct{grid-column:1/3}
.don-ct table{width:100%;border-collapse:collapse;font-size:13px}
.don-ct th,.don-ct td{padding:7px 8px;border-bottom:1px solid var(--vien);text-align:left}
.don-ct .p{text-align:right}
.cd-o{max-width:820px;display:flex;flex-direction:column;gap:14px}
.cd-o .o{border:1px solid var(--vien)}
.cd-o p{color:var(--mo);margin:0 0 10px;font-size:13px}
.chip{display:inline-flex;align-items:center;gap:6px;background:var(--nen);border-radius:14px;padding:3px 10px;margin:0 6px 6px 0}
.chip a{cursor:pointer;color:var(--mo)}
@media(max-width:1100px){.hs{grid-template-columns:280px 1fr}.hs>div:last-child{grid-column:1/3;height:360px}.the3{grid-template-columns:1fr}.tim-chung{width:220px}}
/* hoi thoai Pancake */
#chat{background:#eef1f4;gap:8px}
.ct-dau{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--mo);background:#fff;border-radius:6px;padding:6px 10px;position:sticky;top:-12px;z-index:1;box-shadow:0 1px 2px rgba(16,24,40,.08)}
.ct-dau a{cursor:pointer;color:var(--xanh);display:inline-flex}.ct-dau .ic{width:14px;height:14px}
.ct-m{max-width:86%;display:flex;flex-direction:column}.ct-m.khach{align-self:flex-start}.ct-m.trang{align-self:flex-end;align-items:flex-end}
.ct-b{border-radius:14px;padding:7px 11px;font-size:13.500px;line-height:1.45;overflow-wrap:anywhere;background:#fff;border:1px solid #e3e6ea}
.ct-m.trang .ct-b{background:#d6e8ff;border-color:#c3dbfb}
.ct-b img{display:block;max-width:200px;max-height:240px;border-radius:9px;margin-top:4px}
.ct-t{font-size:11px;color:#8a929b;margin:2px 4px 0}.ct-tep{display:block;margin-top:4px;font-size:12.500px}
/* ho so khach dang cua so */
#hs-lop{position:fixed;inset:0;z-index:70}
.hs-hop{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(1240px,calc(100vw - 170px));height:min(94vh,860px);background:var(--nen);border-radius:12px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(16,24,40,.35)}
.hs-dau{display:flex;align-items:center;gap:10px;height:50px;padding:0 14px;background:#fff;border-bottom:1px solid var(--vien);flex:none}
.hs-x{border:0;background:none;width:30px;height:30px;border-radius:6px;font-size:16px;color:var(--mo)}.hs-x:hover{background:var(--nen)}
.hs-tit{font-size:17px;font-weight:700}.hs-ma{font-weight:600;color:var(--xanh);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-nav{padding:0 13px;font-size:18px;line-height:1}.hs-nav:disabled{opacity:.35;cursor:default}.hs-vt{font-size:13px;color:var(--mo);white-space:nowrap}
.hs-hop .hs{grid-template-columns:270px 1fr 290px;gap:10px;padding:10px}
.hs-hop .card{padding:12px}.hs-hop .o2{padding:0 8px 8px}.hs-hop .hs-ten{font-size:16px;margin:6px 0}
.hs-hop .hs{flex:1;min-width:0}
.pop{z-index:95}
/* mui ten lon hai ben ngoai cua so ho so */
.hs-mt{position:absolute;top:50%;transform:translateY(-50%);width:60px;height:60px;border-radius:50%;border:0;background:#fff;color:var(--chu);display:grid;place-items:center;box-shadow:0 6px 20px rgba(16,24,40,.35);z-index:1}
.hs-mt.trai{left:calc(50% - min(1240px,100vw - 170px)/2 - 74px)}.hs-mt.phai{right:calc(50% - min(1240px,100vw - 170px)/2 - 74px)}
.hs-mt .ic{width:34px;height:34px}.hs-mt .ic svg{stroke-width:2.500}
.hs-mt:hover:not(:disabled){background:var(--xanh);color:#fff}.hs-mt:disabled{opacity:.3;cursor:default}/* ===== ho so khach hang (thiet ke moi) ===== */
.kh{display:flex;flex-direction:column;height:100%;min-height:0;flex:1;background:var(--nen);color:#1f2a44}
.hs-hop .kh{width:100%}
.kh .mo{color:var(--mo)}
.kh-dau{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#fff;flex:none;flex-wrap:wrap}
.kh-dau h1{margin:0;font-size:22px;font-weight:700;white-space:nowrap}
.kh-lui{border:0;background:none;width:34px;height:34px;border-radius:8px;display:grid;place-items:center}.kh-lui:hover{background:var(--nen)}
.kh-ma{background:var(--nen);border-radius:6px;padding:3px 10px;color:var(--mo);font-size:13px}
.kh-dau .phai{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.kh-dau .btn{height:36px;font-weight:500}
.kh-than{flex:1;display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr) minmax(300px,360px);gap:12px;padding:12px;min-height:0}
.kh-cot{overflow-y:auto;display:flex;flex-direction:column;gap:12px;min-height:0;min-width:0}
.kh-cot::-webkit-scrollbar{width:6px}
.kh .o{padding:16px 18px;flex:none}
.o-dau{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.o-dau>b{font-size:15px;font-weight:700}
.o-dau a{display:inline-flex;align-items:center;gap:5px;cursor:pointer;font-size:13px}.o-dau a .ic{width:14px;height:14px}
.tt .r{display:grid;grid-template-columns:118px 1fr;gap:8px;padding:5px 0;font-size:13.500px}
.tt .r label{color:var(--mo)}.tt .r>div{min-width:0;overflow-wrap:anywhere}
.kh-ten{font-size:18px;font-weight:700;display:flex;align-items:center;gap:8px}.kh-ten a{cursor:pointer;display:inline-flex}.kh-ten a .ic{width:15px;height:15px}
.chip-x{background:var(--nen);border-radius:5px;padding:1px 7px;font-size:12.500px;color:#475467}
.nhan{display:inline-block;border-radius:6px;padding:1px 8px;font-size:12.500px;line-height:20px;white-space:nowrap;margin:1px 0}
.kh-nut{display:flex;justify-content:space-between;margin-top:16px}
.kh-nut button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12.500px;color:#475467;padding:0}
.kh-nut button i{width:46px;height:46px;border-radius:50%;background:#e8f0ff;color:var(--xanh);display:grid;place-items:center}
.kh-nut button:hover i{background:var(--xanh);color:#fff}
.sao i{font-style:normal;font-size:20px;color:#d0d5dd;cursor:pointer;line-height:1}.sao i.bat{color:#f59e0b}
.buoc{display:flex;margin:4px 0 18px}
.buoc .b{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12.500px;color:var(--mo);position:relative;cursor:pointer;text-align:center}
.buoc .b:not(:first-child):before{content:"";position:absolute;top:13px;right:50%;width:100%;height:2px;background:#e4e7ec;z-index:0}
.buoc .b.qua:not(:first-child):before{background:var(--xanh)}
.buoc .b i{font-style:normal;width:28px;height:28px;border-radius:50%;background:#eef0f4;color:var(--mo);display:grid;place-items:center;font-weight:600;position:relative;z-index:1}
.buoc .b.qua i{background:var(--xanh);color:#fff}.buoc .b.nay span{color:var(--xanh);font-weight:700}
.buoc .b.khong.nay i{background:#dc2626}.buoc .b.khong.nay span{color:#dc2626}.buoc .b.khong:before{background:#e4e7ec!important}
.buoc .b:hover i{box-shadow:0 0 0 4px rgba(22,119,255,.15)}
.so4{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:12px}
.so4>div{border:1px solid var(--vien);border-radius:10px;padding:12px;display:flex;gap:12px;align-items:flex-start;min-width:0}
.so4 .bt{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;flex:none}
.so4 b{display:block;font-size:20px;line-height:1.2}.so4 small{display:block;color:var(--mo);font-size:12.500px}
.hop-do,.hop-vang{border-radius:10px;border:1px solid #fecaca;background:#fff5f5;margin-bottom:12px;overflow:hidden}
.hop-vang{border-color:#fde68a;background:#fffbeb}
.hd{display:flex;align-items:center;gap:10px;font-weight:700;font-size:15px;padding:10px 14px;color:#b91c1c}.hop-vang .hd{color:#1f2a44}.hop-vang .hd .ic{color:#d97706}
.gy{display:flex;align-items:center;gap:10px;background:#fff;margin:0 8px 6px;padding:8px 10px;border-radius:8px;font-size:13.500px}
.gy a{cursor:pointer;color:var(--mo);display:inline-flex}.gy a .ic{width:15px;height:15px}
.gy input{width:17px;height:17px;accent-color:var(--xanh)}
.td{position:relative}
.td-1{display:flex;gap:12px;padding-bottom:12px;position:relative}
.td-1:not(:last-child):before{content:"";position:absolute;left:13px;top:28px;bottom:0;width:2px;background:#dbe4f3}
.td-so{width:28px;height:28px;border-radius:50%;background:var(--xanh);color:#fff;display:grid;place-items:center;font-weight:600;font-size:13px;flex:none;position:relative}
.td-so.nhat{background:#e8f0ff;color:var(--xanh);width:26px;height:26px}
.td-nd{flex:1;min-width:0;border:1px solid var(--vien);border-radius:10px;padding:8px 12px;font-size:13.500px}
.td-d{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:3px;font-size:12.500px}.td-d a{cursor:pointer;color:var(--mo);display:inline-flex}.td-d a .ic{width:16px;height:16px}
.hen-1{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--vien);border-left:3px solid #f59e0b;border-radius:8px;padding:8px 12px;margin-bottom:8px;cursor:pointer;font-size:13.500px}
.hen-1:hover{background:#f9fafb}.hen-1>.ic{color:#dc2626;margin-top:2px}
.trong{text-align:center;color:var(--mo);font-size:13px;padding:18px 8px}.trong .ic{display:block;margin:0 auto 6px;width:34px;height:34px;color:#d0d5dd}.trong b{color:#475467;font-size:14px}
.kh-chat{display:flex;flex-direction:column;height:560px;padding-bottom:10px!important}
.kh-chat .tabs button{flex:1;font-weight:600}
.kh-chat #chat{flex:1;margin:0 -18px;padding:12px 14px;border-radius:0}
.kh-chat .gc-nhap{border:1px solid var(--vien);border-radius:8px;margin-top:10px;padding:4px 4px 4px 10px;align-items:center}
.ct-dau2{display:flex;align-items:center;gap:10px;padding:10px 0;min-height:20px}
.ct-dau2 b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ct-dau2 small{color:var(--mo);font-size:12px;display:block}.ct-dau2 small a{cursor:pointer}
.btn.xanh-nhat{background:var(--xanh-nhat);border-color:var(--xanh-nhat);color:var(--xanh);font-weight:500}
.av.kenh-zalo{background:#2b6cff}.av.kenh-facebook{background:#1877f2}.av.kenh-tiktok{background:#111}
.ct-ngay{align-self:center;background:#fff;border-radius:10px;padding:2px 12px;font-size:12px;color:#475467;margin:4px 0}
.kh-chat .ct-m.trang .ct-b{background:#d9f7be;border-color:#c5efa0}
@media(max-width:1250px){.kh-than{grid-template-columns:300px minmax(0,1fr);overflow-y:auto}.kh-than>.kh-cot{overflow:visible}.kh-than>.kh-cot:last-child{grid-column:1/3}.so4{grid-template-columns:1fr 1fr}}/* ho so khach: ban gon de nhin bao quat */
.kh{font-size:13px}
.kh-dau{padding:7px 12px;gap:10px}.kh-dau h1{font-size:17px}.kh-dau .btn{height:30px;padding:0 10px;font-size:13px}.kh-lui{width:30px;height:30px}
.kh-ma{font-size:12px;padding:2px 8px}
.kh-than{grid-template-columns:minmax(250px,290px) minmax(0,1fr) minmax(270px,330px);gap:8px;padding:8px}
.kh-cot{gap:8px}
.kh .o{padding:10px 12px;border-radius:8px}
.o-dau{margin-bottom:6px}.o-dau>b{font-size:13.500px}.o-dau a{font-size:12.500px}
.tt .r{grid-template-columns:104px 1fr;padding:3px 0;font-size:13px}
.kh-ten{font-size:15px}
.kh-nut{margin:10px 0 12px}.kh-nut button{font-size:11.500px;gap:3px}.kh-nut button i{width:34px;height:34px}.kh-nut .ic{width:16px;height:16px}
.buoc{margin:2px 0 8px}.buoc .b{font-size:11px;line-height:1.25;gap:4px}.buoc .b i{width:22px;height:22px;font-size:12px}.buoc .b:not(:first-child):before{top:10px}
.so-gon{display:flex;gap:6px 14px;flex-wrap:wrap;font-size:12.500px;color:var(--mo);border-top:1px dashed var(--vien);padding-top:6px}.so-gon b{color:#1f2a44}
.kh-chat{height:auto;flex:1 1 300px!important;min-height:260px;padding-bottom:8px!important}
.kh-chat #chat{margin:0 -12px;padding:8px 10px}
.ct-dau2{padding:6px 0}.ct-dau2 .av{width:32px!important;height:32px!important;font-size:9px!important}
.kh .ct-b{font-size:13px;padding:5px 9px}.kh .ct-b img{max-width:160px;max-height:170px}
.hop-do,.hop-vang{margin:0;flex:none}
.hd{font-size:13.500px;padding:7px 10px}.gy{font-size:13px;padding:5px 8px;margin:0 6px 5px;gap:8px}
.td-so{width:22px;height:22px;font-size:12px}.td-so.nhat{width:22px;height:22px}
.td-1{gap:8px;padding-bottom:8px}.td-1:not(:last-child):before{left:10px;top:22px}
.td-nd{padding:6px 9px;font-size:13px}.td-d{font-size:12px;gap:5px}
.hen-1{padding:6px 9px;margin-bottom:6px;font-size:13px}
.sao i{font-size:17px}
.nhan{font-size:12px;line-height:18px;padding:0 7px}
.kh .gc-1{padding:6px 8px;font-size:13px}.kh .trong{padding:10px 6px}/* hoi thoai la phan chinh: chiem gan het cot giua */
.kh-chat{flex:none!important;height:76%;min-height:360px;padding:0 12px 8px!important;overflow:hidden}
.kh-chat #chat{margin:0 -12px;padding:10px 12px}
.kh .ct-b{font-size:13.500px;padding:7px 11px}.kh .ct-b img{max-width:220px;max-height:240px}
.ct-doi{position:sticky;top:-10px;align-self:center;z-index:1;background:#fff;border-radius:10px;padding:2px 12px;font-size:12px;cursor:pointer;box-shadow:0 1px 3px rgba(16,24,40,.15)}/* thu nho toan bo ho so de nhin duoc nhieu thong tin hon (doi 1 so --kh-z de to / nho) */
.hs-hop{--kh-z:.85}
.hs-hop .kh{transform:scale(var(--kh-z));transform-origin:0 0;flex:none;width:calc(100% / var(--kh-z));height:calc(100% / var(--kh-z))}
.hs-hop{width:min(1280px,calc(100vw - 170px));height:min(95vh,900px)}
.hs-mt.trai{left:calc(50% - min(1280px,100vw - 170px)/2 - 74px)}.hs-mt.phai{right:calc(50% - min(1280px,100vw - 170px)/2 - 74px)}
/* hoi thoai nam tron cot phai */
.kh-than{grid-template-columns:minmax(250px,290px) minmax(0,1fr) minmax(360px,460px)}
.kh-chat{height:100%;min-height:0}
.doi{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:none}
.kh .ct-m{max-width:88%}
/* ten khach + tien trinh nam tren thanh dau; o thong tin doi mau theo gioi tinh */
.kh-dau{flex-wrap:nowrap}
.kh-dau h1{max-width:300px;overflow:hidden;text-overflow:ellipsis}
.kh-dau .phai{flex-wrap:nowrap;margin-left:0}
.buoc.dau{flex:1;min-width:300px;max-width:560px;margin:0 auto}
.buoc.dau .b{flex-direction:column;white-space:nowrap}
.kh .o.nu{background:#fdf2f8;box-shadow:inset 0 0 0 1px #fbcfe8}
.kh .o.nam{background:#eff6ff;box-shadow:inset 0 0 0 1px #bfdbfe}
/* 4 o so lieu phia tren Lich su */
.kh .so4{margin:0;gap:8px;flex:none}
.kh .so4>div{background:#fff;padding:9px 10px;gap:9px;border-radius:8px}
.kh .so4 .bt{width:32px;height:32px}.kh .so4 b{font-size:17px}.kh .so4 b.nho{font-size:13px}.kh .so4 small{font-size:12px}
/* cot giua: Goi y + Viec can lam nam duoi cung */
.kh-cot>.hop-do{order:8}.kh-cot>.hop-vang{order:9}
/* cot giua khong cuon ca cot: Lich su tu cuon ben trong, Goi y + Viec can lam dung yen o duoi */
.kh-cot:nth-child(2){overflow:hidden}
.kh .o.ls-o{flex:1 1 0;min-height:120px;display:flex;flex-direction:column;overflow:hidden}
.ls-cuon{flex:1;min-height:0;overflow-y:auto;padding-right:4px}
.kh-cot>.hop-vang{max-height:170px;overflow-y:auto}
/* gon lai de Lich su co them cho */
.doi .tt .r{grid-template-columns:auto 1fr;gap:10px;padding:2px 0}.doi .tt .r label{white-space:nowrap}
.doi .o{padding:8px 12px!important}
.kh .so4>div{padding:6px 10px}
.kh-cot>.hop-do .gy,.kh-cot>.hop-vang .gy{padding:3px 8px;margin-bottom:4px}.kh-cot>.hop-do .hd,.kh-cot>.hop-vang .hd{padding:5px 10px}
.kh-cot>.hop-do .btn.nho{height:24px}
/* 4 o so lieu nam o cot trai: 2 x 2 */
.kh .so4{grid-template-columns:1fr 1fr;gap:6px}
.kh .so4>div{padding:7px 8px;gap:7px}.kh .so4 .bt{width:28px;height:28px}.kh .so4 .bt .ic{width:15px;height:15px}
.kh .so4 b{font-size:16px}.kh .so4 small{font-size:11.500px;white-space:nowrap}.kh .so4 b.nho{font-size:12px;white-space:nowrap}
/* Nhu cau + Danh gia nam o cot trai, xep doc */
.kh-cot:first-child .doi{grid-template-columns:1fr}
/* ===== cac trang ben ngoai: chu nho hon, dong sit hon de thay duoc nhieu ===== */
body{font-size:12.500px}
#app{grid-template:42px 1fr/184px 1fr}#app.gon{grid-template-columns:58px 1fr}
.ws{font-size:14px;width:230px}.ws-logo{width:26px;height:26px;font-size:11px}
.tim-chung{height:28px}.top-btn{height:28px}
.side{padding:12px 10px 0}
.mn{height:34px;margin-bottom:8px;gap:10px;padding:0 10px;border-radius:8px}.mn .ic{width:16px;height:16px}
.mn-con{margin:-4px 0 8px}.mn-con .mn{height:32px}
.thu-gon{height:44px}
.pg-dau{padding-top:8px;padding-bottom:6px}.pg-dau h1{font-size:16px}.pg-dau p{font-size:11.500px}
#main.xam .pg-dau{padding:9px 20px}
.btn{height:28px;padding:0 11px}.btn.vuong{width:28px}.btn.nho{height:25px;font-size:12px}
.loc{padding:8px 0;gap:4px}.loc .l{height:28px;padding:0 8px}
.o-tim{height:28px}
.the3{gap:14px;margin-bottom:10px}.the{padding:10px 16px}.the .s{font-size:17px}.the .t,.the .d{font-size:11.500px}.the .d{margin-top:4px}.the .spark{height:36px}
.bang th{height:36px;padding:0 12px}.bang td{height:33px;padding:0 12px}
.bang .o{width:40px;padding:0 0 0 12px}.bang input[type=checkbox]{width:14px;height:14px}
.chan{height:36px}
.tag{font-size:11px;line-height:18px;padding:0 6px}
.av{font-size:9px}
.kb-cot{flex-basis:260px}.kb-dau{height:30px}.kb-the{padding:7px 10px;gap:4px;font-size:12px}.kb-the .ten{font-size:12.500px}
.o h3{font-size:13.500px;margin-bottom:8px}.o{padding:12px 16px}
.chi-so .s,.hang-so .s{font-size:15px}.chi-so .t,.hang-so .t{font-size:11.500px}.chi-so .bieu-tuong{width:38px;height:38px}
.chao h2{font-size:19px}
table.gon{font-size:12px}.gon th,.gon td{padding:6px 10px}
.lich-dau div b{font-size:13px}
.hop-than label{font-size:12px}.hop-than input,.hop-than select{height:30px}
.pop .mi{padding:5px 9px}
/* bieu tuong kenh + ten gon cua trang */
.kn{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:4px;color:#fff;font-size:10.500px;font-weight:700;line-height:1;flex:none;font-family:Arial,sans-serif}
.trang{display:inline-flex;align-items:center;gap:6px;vertical-align:middle;max-width:100%}
/* keo doi do rong / vi tri cot */
.bang th .keo{position:absolute;right:0;top:0;bottom:0;width:8px;cursor:col-resize;z-index:1}
.bang th .keo:hover,.bang th .keo:active{background:var(--xanh);opacity:.45}
.bang th[draggable]{cursor:grab;user-select:none}
.bang th.dang-keo{opacity:.4}
.bang th.tha-cot{box-shadow:inset 3px 0 0 var(--xanh)}
img.kn{object-fit:cover;background:none}
/* icon dien thoai canh ten: bam de chep so */
.sdt-ic{display:inline-flex;vertical-align:middle;cursor:pointer;padding:2px;border-radius:4px}
.sdt-ic .ic{width:14px;height:14px;color:var(--xanh)}.sdt-ic .ic svg{fill:var(--xanh);stroke:none}
.sdt-ic:hover{background:var(--xanh-nhat)}
/* ===== bao gia ===== */
#bg-lop{position:fixed;inset:0;z-index:75}
.bg-hop{position:absolute;inset:3vh 2vw;background:#fff;border-radius:12px;display:flex;overflow:hidden;box-shadow:0 20px 60px rgba(16,24,40,.35)}
.bg-trai{width:380px;flex:none;display:flex;flex-direction:column;border-right:1px solid var(--vien);min-height:0}
.bg-dau{display:flex;align-items:center;padding:10px 14px;border-bottom:1px solid var(--vien);font-size:15px}
.bg-cuon{flex:1;overflow-y:auto;padding:10px 14px;display:flex;flex-direction:column;gap:7px}
.bg-chan{display:flex;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid var(--vien)}
.bg-phai{flex:1;overflow:auto;background:#d9d4cd;padding:14px;display:flex;justify-content:center;align-items:flex-start}
.bg-phai .giay{flex:none}
.bg-h{display:flex;align-items:center;gap:6px}
.bg-h>label{width:74px;flex:none;color:var(--mo);font-size:12px}
.bg-h input,.bg-h select,.bg-dong select{height:28px;border:1px solid #d0d5dd;border-radius:6px;padding:0 7px;outline:0;flex:1;min-width:0;background:#fff}
.bg-h input:focus,.bg-h select:focus{border-color:var(--xanh)}
.bg-muc{font-weight:600;margin-top:8px;padding-bottom:3px;border-bottom:1px solid var(--vien)}
.bg-dong{border:1px solid var(--vien);border-radius:8px;padding:8px;display:flex;flex-direction:column;gap:6px;background:#fafbfc}
.bg-dong .bg-h>label{width:auto}
.bg-tt{font-size:12px;color:var(--mo);text-align:right}.bg-tt b{color:var(--chu);font-size:13px}
.bg-bang input{width:100%;height:26px;border:1px solid #e4e7ec;border-radius:5px;padding:0 6px;outline:0}
.bg-bang input:focus{border-color:var(--xanh)}.bg-bang td{padding:3px 4px}.bg-bang th{white-space:normal;font-size:11.500px;line-height:1.3}
/* cot Tin nhan cuoi + khung xem nhanh lich su chat khi re chuot */
.tn-cuoi{cursor:help}.tn-cuoi .mo{margin-right:2px}
.xem-chat{position:fixed;z-index:96;width:400px;display:flex;flex-direction:column;background:#eef1f4;border-radius:10px;box-shadow:0 10px 34px rgba(16,24,40,.32);overflow:hidden;font-size:13px}
.xem-dau{display:flex;justify-content:space-between;gap:10px;padding:7px 12px;background:#fff;font-weight:600;border-bottom:1px solid var(--vien)}.xem-dau span{font-weight:400;color:var(--mo)}
.xem-ds{flex:1;overflow-y:auto;padding:10px 12px;display:flex;flex-direction:column;gap:7px;min-height:60px}
.xem-chat .ct-b img{max-width:150px;max-height:150px}.xem-chat .rong{padding:24px}
/* bang Cham soc KH */
.cs-tin{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344054}
.kb-cot.keo{opacity:.45}
.kb-cot{flex:1 1 300px;min-width:260px;max-width:420px}
.bg-tick{display:inline-flex!important;align-items:center;gap:6px;width:auto!important;color:var(--chu)!important;font-size:12.500px!important;white-space:nowrap;cursor:pointer}.bg-tick input{width:15px!important;height:15px!important;flex:none!important;accent-color:var(--xanh)}.bg-tick span{color:var(--mo)}
/* man hinh dang nhap */
.dn{position:fixed;inset:0;background:var(--nav);display:grid;place-items:center}
.dn-hop{background:#fff;border-radius:14px;padding:34px 40px;width:380px;max-width:92vw;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.35);color:var(--chu)}
.dn-hop h1{font-size:19px;margin:0 0 4px}.dn-hop p{color:var(--mo);margin:0 0 20px;font-size:13px}
#dn-nut,#dn-bat{display:flex;justify-content:center;min-height:44px}#dn-bat{justify-content:flex-start}
.dn-loi{color:#dc2626;font-size:13px;margin-top:12px;min-height:18px}
code{background:var(--nen);padding:1px 5px;border-radius:4px;font-size:12px}
