/* Giặt công nghiệp: khách sạn, spa (mẫu anh chốt 10/11). Nâu đậm để nhìn qua biết ngay là đơn công nghiệp. */
:root { --night: linear-gradient(160deg, #4A2E18, #2A190C); --amber: #92400E; --amber-soft: #FEF3C7; --green-soft: #DCFCE7; }
.cnpage .hero, .cnlist .hero { background: var(--night); }
.cnpage .hero .dsub { color: var(--peach); }
.bzhead { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 0 52px; color: var(--peach); font-size: 13px; font-weight: 700; }

/* Khung chọn loại bill */
.kindsheet { display: flex; flex-direction: column; gap: 10px; }
.kbig { width: 100%; min-height: 96px; padding: 16px; display: flex; align-items: center; gap: 14px; border-radius: 22px; text-align: left; }
.kbig .ic { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 18px; }
.kbig .ic svg.i { width: 30px; height: 30px; }
.kbig .t { flex: 1; min-width: 0; }
.kbig .t b { display: block; font-size: 18px; font-weight: 900; }
.kbig .t small { display: block; font-size: 13px; font-weight: 700; opacity: .85; }
.kbig.ds { background: #fff; color: var(--deep); box-shadow: inset 0 0 0 2px #E8C9A6; }
.kbig.ds .ic { background: var(--peach); color: var(--brand); }
.kbig.ds:hover { background: #FFF4E8; }
.kbig.cn { background: var(--night); color: #fff; }
.kbig.cn .ic { background: rgba(255, 255, 255, .14); }
.kbig.cn:hover { filter: brightness(1.12); }

/* Danh sách khách */
.bav { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--peach); color: var(--brand); }
.bav.dk { background: var(--deep); color: #fff; }
.sug { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.bzrow { width: 100%; min-height: 68px; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1.5px solid var(--line); text-align: left; color: var(--ink); }
.bzrow:first-child { border-top: 0; }
.bzrow:hover { background: #FFF8EF; }
.bzrow.on { background: var(--peach); }
.bzrow .t, .bzcard .t { flex: 1; min-width: 0; }
.bzrow .t b, .bzcard .t b { display: block; font-size: 15px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bzrow .t small, .bzcard .t small { display: block; font-size: 12.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page > .wrap > .bzrow { border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.tag { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.tag svg.i { width: 14px; height: 14px; }
.tag.red { background: var(--red-soft); color: var(--red); }
.tag.amb { background: var(--amber-soft); color: var(--amber); }
.tag.ok { background: var(--green-soft); color: var(--green); }
.tag.br { background: var(--peach); color: var(--brand); }
.addnew { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 18px; border: 2px dashed #D9B993; color: var(--brand); font-weight: 900; }
.addnew:hover { background: #FFF4E8; }
.cwarn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; }
.cwarn > svg.i { width: 26px; height: 26px; flex: none; }
.cwarn .t { flex: 1; min-width: 0; }
.cwarn .t b { display: block; font-size: 14.5px; font-weight: 900; }
.cwarn .t small { display: block; font-size: 12.5px; font-weight: 700; }
.cwarn.red { background: var(--red-soft); color: var(--red); }
.cwarn.amb { background: var(--amber-soft); color: var(--amber); }
.cwarn.ok { background: var(--green-soft); color: var(--green); }
a.cwarn:hover { filter: brightness(.97); }
.waitbox { align-items: center; text-align: center; padding: 22px 16px; }
.waitbox b { font-size: 17px; font-weight: 900; }
.spin { width: 52px; height: 52px; border-radius: 50%; border: 5px solid var(--peach); border-top-color: var(--deep); animation: cnspin 1s linear infinite; }
@keyframes cnspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

/* Nhận đồ: đếm món */
.cnits { background: var(--card); border-radius: 20px; box-shadow: inset 0 0 0 2px var(--line); }
.cnit { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-top: 1.5px solid var(--line); }
.cnit:first-child { border-top: 0; border-radius: 20px 20px 0 0; }
.cnit .n { flex: 1; min-width: 0; font-weight: 800; overflow-wrap: anywhere; }
.cnit.on { background: #FFF4E8; }
.cnit.on .n { color: var(--deep); }
.cnit .stp { display: flex; align-items: center; gap: 6px; }
.cnit .stp button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--peach); color: var(--brand); box-shadow: none; }
.cnit .stp button svg.i { width: 18px; height: 18px; stroke-width: 3; }
.stpn { width: 52px; height: 42px; border: 0; border-radius: 12px; background: transparent; text-align: center; font: inherit; font-size: 17px; font-weight: 900; color: var(--ink); }
.stpn:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px #A5682D; }
.cnit.add { padding: 10px; }
.cnit.add .inp { min-height: 48px; }
.cnit.add .btn { width: auto; flex: none; min-height: 48px; padding-inline: 18px; font-size: 14px; }
.tot b.sm { font-size: 20px; }

/* Cân kg khô */
.drydial { text-align: center; padding: 14px 0 16px; border-radius: 22px; background: var(--night); color: #fff; }
.drydial .v { font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.drydial .v small { font-size: 20px; font-weight: 800; letter-spacing: 0; margin-left: 4px; }
.drydial .ctl { display: flex; justify-content: center; gap: 16px; margin-top: 10px; }
.drydial .ctl button { width: 96px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: rgba(255, 255, 255, .18); }
.drydial .ctl svg.i { stroke-width: 3; }
#dry-live { display: flex; flex-direction: column; gap: 10px; }
.cngrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cngrid.three { grid-template-columns: repeat(3, 1fr); }
.ctile { min-width: 0; padding: 11px 14px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); }
.ctile small { display: block; font-size: 12.5px; font-weight: 700; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctile b { display: block; font-size: 20px; font-weight: 900; color: var(--deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctile.on { background: #FFF4E8; box-shadow: inset 0 0 0 2px var(--brand); }
.ctile.red { background: var(--red-soft); box-shadow: inset 0 0 0 2px #F5C2C2; }
.ctile.red small, .ctile.red b { color: var(--red); }

/* Thu nợ */
.paylist { display: flex; flex-direction: column; gap: 8px; }
.payrow { width: 100%; min-height: 62px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); text-align: left; color: var(--ink); }
.payrow .ck { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 9px; box-shadow: inset 0 0 0 2px #D9B993; color: transparent; }
.payrow .ck svg.i { width: 18px; height: 18px; stroke-width: 3; }
.payrow .t { flex: 1; min-width: 0; }
.payrow .t b { display: block; font-weight: 900; }
.payrow .t small { display: block; font-size: 12.5px; color: var(--mut); }
.payrow > b { font-weight: 900; color: var(--deep); white-space: nowrap; }
.payrow.on { background: #FFF4E8; box-shadow: inset 0 0 0 2px var(--brand); }
.payrow.on .ck { background: var(--deep); color: #fff; box-shadow: none; }

/* Trang một khách */
.bzmh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.btn.sm { width: auto; min-height: 44px; padding: 0 14px; border-radius: 16px; font-size: 14px; }
.bzords { display: flex; flex-direction: column; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.bzord { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-top: 1.5px solid var(--line); color: var(--ink); }
.bzord:first-child { border-top: 0; }
.bzord:hover { background: #FFF8EF; }
.bzord .no { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--deep); color: #fff; font-weight: 900; font-size: 15px; min-width: 0; line-height: 1.1; }
.bzord .t { flex: 1; min-width: 0; }
.bzord .t b { display: block; font-weight: 900; }
.bzord .t small { display: block; font-size: 12.5px; color: var(--mut); }
.bzord .r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.bzord .r > b { font-weight: 900; white-space: nowrap; }
.box-t svg.i { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; color: var(--brand); }
.kgm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kgm button { min-height: 58px; padding: 6px 8px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); text-align: center; }
.kgm button small { display: block; font-size: 12px; font-weight: 700; color: var(--mut); }
.kgm button b { display: block; font-weight: 900; color: var(--deep); }
.kgm button.on { background: var(--deep); box-shadow: none; }
.kgm button.on small, .kgm button.on b { color: #fff; }

/* Form khách: khối trắng có tiêu đề, mỗi ô một dòng */
.fwrap { gap: 12px; }
.fbox { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.fbt { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15.5px; font-weight: 900; color: var(--deep); }
.fbt svg.i { color: var(--brand); width: 20px; height: 20px; }
.ff { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ff label, .flb { font-size: 14px; font-weight: 900; color: var(--deep); }
.flb small { font-weight: 600; color: var(--mut); }
.fiu { position: relative; }
.fiu.has-u .inp { padding-right: 150px; }
.fiu em { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; font-weight: 800; color: var(--mut); pointer-events: none; max-width: 140px; text-align: right; line-height: 1.2; }
.fbox .sw { box-shadow: none; padding: 4px 0; min-height: 56px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.days button { min-height: 46px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); color: var(--mut); font-weight: 900; font-size: 13.5px; text-align: center; }
.days button.on { background: var(--deep); color: #fff; box-shadow: none; }
.fbox .row .btn { min-height: 50px; font-size: 14px; }

/* Đơn hàng: nút gạt Dân sinh | Công nghiệp */
.kswitch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); }
.kswitch button { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 16px; color: var(--mut); font-weight: 900; font-size: 14.5px; white-space: nowrap; }
.kswitch button svg.i { width: 18px; height: 18px; }
.kswitch button b { min-width: 24px; height: 24px; padding: 0 6px; display: grid; place-items: center; border-radius: 12px; background: var(--peach); color: var(--brand); font-size: 12px; }
.kswitch button.on { background: var(--deep); color: #fff; }
.kswitch button.on b { background: rgba(255, 255, 255, .2); color: #fff; }
.bzcard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: var(--peach); box-shadow: inset 0 0 0 2px #E8C9A6; color: var(--ink); }
.bzcard .act { width: auto; flex: none; display: flex; align-items: center; gap: 2px; min-height: 38px; padding: 0 12px; border-radius: 14px; background: #fff; color: var(--deep); font-weight: 900; font-size: 13px; }
.bzcard .act svg.i { width: 16px; height: 16px; }
.tagship.ind { background: var(--deep); color: #fff; }
.no.cnno { background: var(--deep); color: #fff; display: grid; place-items: center; }
.ord.past { opacity: .62; }
.shipbig.cnwait { background: var(--night); color: #fff; box-shadow: var(--shadow); }
.shipbig.cnwait small { color: var(--peach); }
.shipbig.cnwait:hover { background: var(--night); filter: brightness(1.12); }

/* Phiếu in: phiếu nhận đồ, bill giao đồ (anh chốt 10/11) */
.rsign { padding: 14px 0 6px; }
.rkg { font-size: 16px; font-weight: 800; }
.rrow.rsub { font-size: 12px; margin-top: -1px; margin-bottom: 3px; }
.rmeth { display: flex; justify-content: space-between; font-weight: 800; }
.rsigns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: center; padding-top: 4px; }
.rsigns b { display: block; font-weight: 800; }
.rsigns small { display: block; font-size: 11px; }
.rsigns i { display: block; height: 58px; }

/* Lấy đồ, đếm lại món, sửa danh sách (mẫu anh chốt 10/11, chữ nhỏ gọn) */
.fbt small { font-size: 12px; font-weight: 700; color: var(--mut); }
.cntrow { display: flex; align-items: center; gap: 12px; }
.cntrow .t { flex: 1; min-width: 0; }
.cntrow .t b { display: block; font-size: 14px; font-weight: 900; color: var(--deep); }
.cntrow .t small { display: block; font-size: 12px; color: var(--mut); }
.stp.bags { display: flex; align-items: center; gap: 6px; flex: none; }
.stp.bags button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--peach); color: var(--brand); }
.stp.bags button svg.i { width: 18px; height: 18px; stroke-width: 3; }
.stp.bags .c { min-width: 54px; text-align: center; font-size: 17px; font-weight: 900; color: var(--deep); white-space: nowrap; }
.stp.bags .c small { font-size: 12px; font-weight: 800; color: var(--mut); margin-left: 2px; }
.cnit .n small { display: block; font-size: 11.5px; font-weight: 700; color: var(--mut); }
.cnit.lech { background: var(--amber-soft); }
.cnit.lech .n small { color: var(--amber); font-weight: 900; }
.cnedit { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; background: var(--peach); color: var(--brand); font-size: 13.5px; font-weight: 900; text-align: center; }
.cnedit svg.i { width: 16px; height: 16px; }
.monsum { display: flex; justify-content: space-between; padding: 0 4px; font-size: 13.5px; font-weight: 900; color: var(--deep); }
.phint { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 9px 12px; border-radius: 12px; background: var(--peach); color: var(--deep); font-size: 12.5px; font-weight: 700; }
.phint svg.i { width: 18px; height: 18px; flex: none; color: var(--brand); }
.pcelist { display: flex; flex-direction: column; gap: 8px; }
.pcerow { display: flex; align-items: center; gap: 8px; }
.pcerow .inp { flex: 1; min-width: 0; min-height: 44px; }
.pcerow .btn { width: auto; flex: none; min-height: 44px; padding-inline: 16px; font-size: 14px; }
.pcedel { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--red-soft); color: var(--red); }
.pcedel svg.i { width: 18px; height: 18px; }

/* Chọn đơn thanh toán khi giao đồ */
.shsub { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 2px 2px; font-size: 13px; color: var(--mut); }
.shsub .link { flex: none; }
.payrow .t b i { font-style: normal; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: var(--peach); color: var(--brand); font-size: 11.5px; font-weight: 900; vertical-align: 1px; }
.payrow[aria-disabled="true"] { cursor: default; }
.shtot { margin-top: 4px; padding: 12px 2px 0; border-top: 1.5px dashed #D9B993; }
.shtot span small { display: block; font-size: 12.5px; font-weight: 700; color: var(--mut); }

@media (max-width: 380px) {
  .cngrid.three .ctile b { font-size: 16px; }
  .fiu.has-u .inp { padding-right: 120px; }
  .fiu em { max-width: 110px; font-size: 12px; }
}

/* Cỡ gọn theo mẫu anh duyệt 10/11 (chữ nhỏ nhắn): màn lấy đồ, cân ở tiệm, cân kg khô */
.cnpage .dial .v { font-size: 44px; }
.cnpage .dial .v small { font-size: 15px; margin-left: 4px; }
.cnpage .dial .dsub { font-size: 12px; margin: 2px 0 6px; }
.cnpage .dial .ctl button { width: 80px; height: 42px; border-radius: 14px; }
.drydial { padding: 10px 0 12px; border-radius: 18px; }
.drydial .v { font-size: 44px; }
.drydial .v small { font-size: 16px; }
.drydial .ctl button { width: 80px; height: 42px; border-radius: 14px; }
.cnits { border-radius: 16px; }
.cnit { gap: 8px; padding: 5px 6px 5px 12px; }
.cnit:first-child { border-radius: 16px 16px 0 0; }
.cnit .n { font-size: 13px; }
.cnit .n small { font-size: 11px; }
.cnit .stp { gap: 2px; }
.cnit .stp button { width: 34px; height: 34px; border-radius: 10px; }
.cnit .stp button svg.i { width: 15px; height: 15px; }
.stpn { width: 40px; height: 34px; font-size: 15px; }
.cnit.add { padding: 8px; }
.cnedit { min-height: 38px; font-size: 12.5px; border-radius: 11px; }
.monsum { font-size: 13px; }
.stp.bags button { width: 38px; height: 38px; border-radius: 12px; }
.stp.bags .c { min-width: 50px; font-size: 16px; }
.cntrow .t b { font-size: 13.5px; }
.cntrow .t small { font-size: 11.5px; }
.phint { font-size: 12px; }
.pcerow .inp, .pcerow .btn { min-height: 40px; font-size: 13.5px; }
.pcedel { width: 40px; height: 40px; }
/* Khung chọn đơn thanh toán: gọn như mẫu */
.shsub > span { flex: 1; min-width: 0; }
.shsub .link { width: auto; flex: none; margin: 0; padding: 0; font-size: 12.5px; }
.cnsel h2 { font-size: 16px; }
.cnsel .chip { min-height: 38px; font-size: 12.5px; }
.cnsel .payrow { min-height: 52px; gap: 10px; padding: 8px 12px; border-radius: 14px; font-size: 13px; }
.cnsel .payrow .ck { width: 24px; height: 24px; }
.cnsel .payrow .t small { font-size: 11.5px; }
.cnsel .shtot b { font-size: 19px; }
.cnsel .shtot span { font-size: 13px; }
.cnsel .edfoot .btn { min-height: 48px; font-size: 14px; border-radius: 14px; }

/* ---------- Khách công nghiệp tự đặt đơn (mẫu A, 11/11) ---------- */
.kc-who { display: flex; flex-direction: column; gap: 10px; max-height: 88vh; overflow-y: auto; }
.kc-who h2 { margin-bottom: 0; }
.kc-sub { margin: -4px 4px 4px; font-size: 13px; font-weight: 600; color: var(--mut); }
.kc-who .cwarn .t b { font-size: 13px; line-height: 1.4; }
.kc-who .kbig { min-height: 76px; padding: 12px 14px; border-radius: 20px; }
.kc-who .kbig .ic { width: 48px; height: 48px; border-radius: 15px; }
.kc-who .kbig .ic svg.i { width: 26px; height: 26px; }
.kc-who .kbig .t b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-who .kbig .t small { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-who .kbig.cn { background: linear-gradient(110deg, #8A5120, #5B361A); }
.kbig.cn.off { background: #F7EEE4; color: #B9A48E; box-shadow: inset 0 0 0 2px var(--line); cursor: default; }
.kbig.cn.off .ic { background: rgba(255, 255, 255, .7); }
.kbig .tag { flex: none; }
.kc-who .btn { min-height: 50px; font-size: 14.5px; }
.kc-hero .bigv b.word { font-size: 28px; }
.kc-page .wrap { display: flex; flex-direction: column; gap: 12px; }
.kc-biz { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 18px; background: var(--peach); }
.kc-biz .bav { width: 40px; height: 40px; border-radius: 12px; }
.kc-biz .t { min-width: 0; }
.kc-biz b { display: block; font-size: 14.5px; font-weight: 900; color: var(--deep); }
.kc-biz small { display: block; font-size: 12.5px; font-weight: 600; color: var(--mut); }
.kc-lb { margin: 4px 2px -4px; font-size: 14px; font-weight: 900; color: var(--deep); }
.kc-lb small { margin-left: 6px; font-size: 12.5px; font-weight: 700; color: var(--mut); }
.kc-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.kc-day { min-height: 56px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); color: var(--deep); text-align: center; }
.kc-day small { display: block; font-size: 11.5px; font-weight: 800; color: var(--mut); }
.kc-day b { display: block; font-size: 18px; font-weight: 900; line-height: 1.15; }
.kc-day.on { background: var(--deep); color: #fff; box-shadow: none; }
.kc-day.on small { color: #F4DCC2; }
.kc-field { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 9px 12px 9px 14px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); text-align: left; color: var(--ink); }
.kc-field .t { flex: 1; min-width: 0; }
.kc-field .t b { display: block; font-size: 14px; font-weight: 900; color: var(--deep); }
.kc-field .t small { display: block; font-size: 12px; font-weight: 600; color: var(--mut); }
.kc-field .v { font-size: 14.5px; font-weight: 900; color: var(--deep); white-space: nowrap; }
.kc-field .v.none { color: var(--brand); }
.kc-field > svg.i { width: 18px; height: 18px; color: var(--brand); flex: none; }
.kc-stp { display: flex; align-items: center; gap: 4px; flex: none; }
.kc-stp button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--peach); color: var(--brand); }
.kc-stp button:disabled { opacity: .45; }
.kc-stp b { min-width: 34px; text-align: center; font-size: 17px; font-weight: 900; color: var(--deep); }
.kc-hint { margin: 0 2px; font-size: 12.5px; font-weight: 600; color: var(--mut); line-height: 1.45; }
.kc-slots { display: flex; flex-direction: column; gap: 8px; }
.kc-slot { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); color: var(--deep); text-align: left; }
.kc-slot b { font-size: 15px; font-weight: 900; }
.kc-slot small { font-size: 12px; font-weight: 700; color: var(--mut); }
.kc-slot.on { background: var(--peach); box-shadow: inset 0 0 0 2.5px var(--deep); }
.kc-slot:disabled { opacity: .5; cursor: default; }
.kc-debt { position: relative; overflow: hidden; padding: 14px 16px; border-radius: 20px; background: var(--night); color: #fff; }
.kc-debt::after { content: ''; position: absolute; right: -40px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.kc-debt small { display: block; font-size: 12.5px; font-weight: 700; color: #F4DCC2; }
.kc-debt b { display: block; margin: 2px 0; font-size: 26px; font-weight: 900; letter-spacing: -.01em; }
.kc-debt.lock { background: linear-gradient(160deg, #8F1D1D, #5B1010); }
.kc-debt.zero b { font-size: 20px; }
.kc-ords { display: flex; flex-direction: column; gap: 10px; }
.kc-ord { display: flex; flex-direction: column; gap: 9px; padding: 12px 14px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.kc-ord.off { opacity: .75; }
.kc-oh { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 8px; color: var(--ink); }
.kc-oh .no { font-size: 15px; font-weight: 900; color: var(--deep); }
.kc-oh small { grid-column: 1 / -1; font-size: 12.5px; font-weight: 600; color: var(--mut); }
.kc-prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.kc-prog span { min-width: 0; }
.kc-prog i { display: block; height: 5px; border-radius: 3px; background: var(--line); }
.kc-prog span.on i { background: var(--brand); }
.kc-prog small { display: block; margin-top: 3px; font-size: 11px; font-weight: 700; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-prog span:nth-child(n+2) small { text-align: center; }
.kc-prog span:last-child small { text-align: right; }
.kc-val { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kc-val b { font-size: 14.5px; font-weight: 900; color: var(--deep); }
.kc-ord .btn { min-height: 46px; font-size: 14px; border-radius: 16px; }
.kc-huyb { color: var(--red); box-shadow: inset 0 0 0 2px #F1D1C4; }
.kc-confirm { padding: 10px 12px; border-radius: 16px; background: var(--red-soft); }
.kc-confirm p { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--red); }
.kc-confirm .row { display: flex; gap: 8px; }
.lcard.kc-ent .ic { background: var(--deep); color: #fff; }
@media (min-width: 700px) {
  .kc-who { bottom: 50%; transform: translateY(50%); border-radius: 26px; width: 480px; animation: none; }
  .kc-who .grab { display: none; }
}

/* Khối Tiền đơn trên màn bill (anh chốt 13/11, mẫu B preview/mau-gia-cn-theo-don.html) */
.cnmoney { border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.cnmoney .hd { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: var(--night); color: #fff; }
.cnmoney .hd b { flex: 1; min-width: 0; font-size: 14px; font-weight: 900; }
.cnmoney .hd span { font-size: 20px; font-weight: 900; white-space: nowrap; }
.cnmoney .bd { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px; }
.cnmoney .prow { display: flex; align-items: center; gap: 10px; }
.cnmoney .prow .t { flex: 1; min-width: 0; }
.cnmoney .prow .t b { display: block; font-size: 15px; font-weight: 900; color: var(--deep); white-space: nowrap; }
.cnmoney .prow .t small { display: block; font-size: 12px; font-weight: 700; color: var(--mut); white-space: nowrap; }
.cnmoney .prow .t s { margin-left: 2px; }
.cnmoney .tagd { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: var(--amber-soft); color: var(--amber); font-size: 11.5px; font-weight: 900; vertical-align: 2px; }
.cnmoney .edl { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px; border-radius: 12px; background: var(--peach); color: var(--brand); font-size: 13px; font-weight: 900; flex: none; white-space: nowrap; }
.cnmoney .edl svg.i { width: 16px; height: 16px; }
.cnmoney .ckrow { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px; border-radius: 16px; background: #FFFAF4; box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; }
.cnmoney .ckrow .ck { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 8px; box-shadow: inset 0 0 0 2px #D9B993; color: transparent; }
.cnmoney .ckrow .ck svg.i { width: 18px; height: 18px; stroke-width: 3; }
.cnmoney .ckrow b { flex: 1; min-width: 0; font-size: 14px; font-weight: 900; color: var(--deep); }
.cnmoney .ckrow em { font-style: normal; font-size: 15px; font-weight: 900; color: var(--deep); white-space: nowrap; }
.cnmoney .ckrow.on { background: #FFF4E8; box-shadow: inset 0 0 0 2px var(--brand); }
.cnmoney .ckrow.on .ck { background: var(--deep); color: #fff; box-shadow: none; }
.cnmoney .field { display: flex; flex-direction: column; gap: 6px; }
.cnmoney .lbrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cnmoney .lbrow .link { width: auto; min-height: 32px; padding: 0; font-size: 13px; flex: none; }
.cnmoney .hint { font-size: 12px; font-weight: 700; color: var(--mut); }
.cnmoney .mini.on { background: var(--deep); color: #fff; box-shadow: none; }
.cnlock { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--peach); color: var(--deep); font-size: 13px; font-weight: 800; }
.cnlock svg.i { width: 18px; height: 18px; flex: none; color: var(--brand); }
