/* Điểm nhận đồ (anh chốt 11/11, mẫu C) */
.ptbox { flex-wrap: nowrap; }
.ptbox .t small + small { margin-top: 1px; }
.ptbox .t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptchg { flex: none; border: 0; background: #fff; color: var(--deep); font: inherit; font-weight: 900; font-size: 13px; padding: 9px 14px; border-radius: 12px; white-space: nowrap; cursor: pointer; }
.ptsheet .ptnote { display: flex; align-items: center; gap: 8px; width: 100%; margin: 0 0 12px; padding: 9px 12px; border: 0; border-radius: 14px; background: #F6EBDD; color: var(--brand); font: inherit; font-size: 12.5px; font-weight: 800; text-align: left; cursor: pointer; }
.ptsheet .ptnote.ok { background: #E5F5EA; color: #2E7D4F; cursor: default; }
.ptsheet .ptnote svg.i { width: 16px; height: 16px; flex: none; }
.ptlist { display: flex; flex-direction: column; gap: 8px; }
.ptrow { display: flex; align-items: stretch; gap: 6px; background: #fff; border-radius: 18px; box-shadow: 0 4px 12px rgba(60, 30, 10, .05), inset 0 0 0 1.5px transparent; }
.ptrow.on { box-shadow: inset 0 0 0 2px var(--deep); }
.ptpick { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 11px 4px 11px 12px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ptpick .ic, .ptcard .ic { width: 36px; height: 36px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #F6EBDD; color: var(--brand); }
.ptpick .ic svg.i, .ptcard .ic svg.i { width: 18px; height: 18px; }
.ptpick .t, .ptcard .t { flex: 1; min-width: 0; }
.ptpick b, .ptcard b { display: block; font-size: 13.5px; font-weight: 900; color: var(--deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptpick small, .ptcard small { display: block; font-size: 12px; font-weight: 700; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptpick .km { font-size: 12.5px; font-weight: 900; color: var(--brand); white-space: nowrap; }
.ptmap { flex: none; width: 44px; display: grid; place-items: center; color: var(--brand); border-left: 1px solid #F1E6DA; }
.ptmap svg.i { width: 18px; height: 18px; }
.ptstaff { display: flex; flex-direction: column; gap: 6px; }
.ptstaff > span { font-size: 13px; font-weight: 800; color: var(--mut); }
.ptfilter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.ptfilter::-webkit-scrollbar { display: none; }
.ptfilter .chip { flex: none; white-space: nowrap; }
.ptcard { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 4px 12px rgba(60, 30, 10, .05); font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ptcard.off { opacity: .6; }
.ptcard small em { font-style: normal; color: #B4442C; }
.ptcard .chev svg.i { width: 16px; height: 16px; color: var(--mut); }
.pttag { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 900; }
.pttag.cn { background: #F3E6D6; color: #8B5A2B; }
.pttag.gh { background: #E6EEFA; color: #2B4C7E; }
.pttag.stop { background: #FBE3DE; color: #B4442C; }

/* Quản lý điểm nhận đồ (anh chốt 12/11, preview/mau-tong-diem.html): danh sách theo khu vực + bản đồ, trang một điểm 3 thẻ */
.ptsearch { display: flex; gap: 8px; margin-top: 12px; }
.ptq { flex: 1; min-width: 0; height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 14px; background: rgba(255, 255, 255, .16); color: var(--cream); }
.ptq svg.i { width: 18px; height: 18px; }
.ptq input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font-weight: 700; font-size: 14px; }
.ptq input::placeholder { color: rgba(255, 233, 210, .8); }
.ptmapb { flex: none; height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 14px; background: #fff; color: var(--deep); font-weight: 900; font-size: 13px; white-space: nowrap; }
.ptmapb svg.i { width: 18px; height: 18px; }
.ptfilter .chip { min-height: 36px; padding: 6px 13px; font-size: 12.5px; }
.ptfilter .chip small { font-weight: 800; opacity: .65; margin-left: 2px; }
.ptarea { display: flex; align-items: center; gap: 8px; margin: 6px 4px -4px; }
.ptarea b { font-size: 13px; font-weight: 900; color: var(--deep); white-space: nowrap; }
.ptarea i { flex: 1; height: 1px; background: var(--line); }
.ptarea small { font-size: 12px; color: var(--mut); white-space: nowrap; }
.ptgrp { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.ptgrp .ptcard { border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); padding: 11px 14px; }
.ptgrp .ptcard:first-child { border-top: 0; }
.ptbar { width: 4px; align-self: stretch; border-radius: 4px; background: var(--deep); flex: none; }
.ptbar.k-cn { background: #D9B48C; }
/* Đại lý: nâu đen, khác Điểm nhận đồ (nâu) và Chi nhánh (be). */
.ptbar.k-dl { background: #2A190C; }
.ptbar.k-off { background: #DDD2C6; }
.ptn { flex: none; text-align: right; }
.ptn b { display: block; font-size: 16px; font-weight: 900; color: var(--deep); line-height: 1.1; }
.ptn small { font-size: 11px; color: var(--mut); }
.ptside { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ptmapbox { position: relative; overflow: hidden; display: none; border-radius: 20px; background: #EADCCB; box-shadow: var(--shadow); }
.ptpage.showmap .ptside { display: none; }
.ptpage.showmap .ptmapbox { display: block; height: calc(100dvh - 300px); min-height: 360px; }
.ptpin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; z-index: 2; }
.ptpin span { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px 0 4px; border-radius: 14px; background: var(--deep); color: #fff; font-size: 12px; font-weight: 900; white-space: nowrap; max-width: 190px; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 4px 10px rgba(60, 30, 10, .3); }
.ptpin i { font-style: normal; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; background: #fff; color: var(--deep); display: grid; place-items: center; font-size: 11px; }
.ptpin::after { content: ""; width: 2px; height: 8px; background: var(--deep); }
.ptpin.k-cn span { background: #fff; color: var(--deep); }
.ptpin.k-cn i { background: var(--peach); }
.ptpin.k-dl span { background: #2A190C; }
.ptpin.k-dl::after { background: #2A190C; }
.ptpin.k-off span { background: #B9A897; }
.ptpin.k-off::after { background: #B9A897; }
.ptosm { position: absolute; right: 6px; bottom: 4px; z-index: 3; font-size: 10px; color: #6B5D50; background: rgba(255, 255, 255, .8); padding: 1px 5px; border-radius: 6px; }
.ptmap-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--mut); font-weight: 700; }
@media (min-width: 900px) {
  .ptsearch { max-width: 560px; }
  .ptpage { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 18px; align-items: start; }
  .ptpage .ptside, .ptpage.showmap .ptside { display: flex; }
  .ptpage .ptmapbox, .ptpage.showmap .ptmapbox { display: block; position: sticky; top: 16px; height: calc(100dvh - 280px); max-height: 600px; min-height: 360px; }
  .ptmapb { display: none; }
}

/* Trang một điểm */
.ptaddr { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--cream); min-width: 0; }
.ptaddr svg.i { width: 16px; height: 16px; }
.ptaddr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptstat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.ptstat div { background: rgba(255, 255, 255, .12); border-radius: 14px; padding: 8px 10px; min-width: 0; }
.ptstat b { display: block; font-size: 20px; font-weight: 900; line-height: 1.1; }
.ptstat small { display: block; font-size: 11.5px; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pttabs { display: flex; gap: 6px; margin-top: 14px; }
.pttabs button { flex: 1; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 900; font-size: 13px; text-align: center; white-space: nowrap; }
.pttabs button.on { background: #fff; color: var(--deep); }
.ptone .lb { margin: 4px 4px -4px; }
.ptr { width: 100%; min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--line); text-align: left; color: var(--ink); }
.ptr:first-child { border-top: 0; }
.ptr .ic { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--peach); color: var(--brand); }
.ptr .ic svg.i { width: 18px; height: 18px; }
.ptr .k { flex: 1; min-width: 0; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptr .k small { display: block; font-size: 11.5px; font-weight: 600; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptr .v { flex: 0 1 auto; min-width: 0; max-width: 55%; font-size: 13px; font-weight: 700; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.ptr .v.green { color: var(--green); font-weight: 900; }
.ptr .v.red { color: var(--red); font-weight: 900; }
.ptr .v.mut { color: #A8988A; }
.ptr > svg.i { width: 16px; height: 16px; color: #B9A28B; }
.ptsw { width: 44px; height: 26px; flex: none; border-radius: 13px; background: #D6CABD; position: relative; transition: background .2s; }
.ptsw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s; }
.ptsw.on { background: #22A35A; }
.ptsw.on::after { left: 21px; }
.ptbig { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: #EFE6DC; color: var(--mut); text-align: left; }
.ptbig.on { background: var(--deep); color: #fff; }
.ptbig .k { flex: 1; min-width: 0; }
.ptbig b { display: block; font-size: 15px; font-weight: 900; }
.ptbig small { font-size: 12px; opacity: .85; }
.ptdays { display: flex; flex-wrap: wrap; gap: 6px; }
.ptdays .chip { min-height: 40px; padding: 8px 14px; display: flex; align-items: center; gap: 4px; }
.ptdays .chip svg.i { width: 14px; height: 14px; }
.ptadd { display: flex; gap: 8px; margin-top: 10px; }
.ptadd .inp { flex: 1; min-width: 0; }
.ptadd .btn { flex: none; width: auto; }
/* Hàng 4 ô liên hệ người phụ trách điểm (anh chốt 12/11 kiểu ngang như khách công nghiệp). */
.ptrow { flex-wrap: wrap; }
.ptrow .ptct { flex: 1 0 100%; padding: 0 10px 10px; }
.ptgrp .ptct { padding: 0 14px 12px; }
.ptct .ctm { background: #FBF4EC; box-shadow: none; padding: 8px 2px 7px; font-size: 11.5px; }
/* Cách tính với JAMO: 3 lựa chọn dạng nút tròn (mẫu preview/mau-diem-doi-tac.html). */
.ptopts { display: grid; gap: 8px; }
.ptopt { display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); text-align: left; color: var(--ink); }
.ptopt .rd { width: 18px; height: 18px; flex: none; margin-top: 1px; border-radius: 50%; border: 2px solid #C9B8A6; position: relative; }
.ptopt.on { border-color: var(--brand); background: var(--peach); }
.ptopt.on .rd { border-color: var(--brand); }
.ptopt.on .rd::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--brand); }
.ptopt .t { flex: 1; min-width: 0; }
.ptopt b { display: block; font-size: 14px; font-weight: 800; }
.ptopt small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--mut); line-height: 1.35; }
.ptmoney .ptr { min-height: 46px; }
.ptmoney .ptr .v:not(.green):not(.red) { color: var(--ink); }
/* Đợt 3: vai trò chọn nhiều, nút chọn vai, trang đối tác, trang Shipper */
.ptopt.ck .rd { border-radius: 6px; }
.ptopt.ck.on .rd { background: var(--brand); }
.ptopt.ck.on .rd::after { inset: 3px 5px 5px; border-radius: 0; background: none; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(40deg); }
.ptopt:disabled { opacity: .5; }
.box-t small { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--mut); }
.vaipill { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 12px; border-radius: 20px; background: rgba(255, 255, 255, .18); color: #fff; font-size: 13px; font-weight: 800; }
.vaipill svg.i { width: 15px; height: 15px; }
.vairow { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.vairow .vaipill { background: var(--peach); color: var(--brand); }
.ptr .ic.ptno { font-size: 12.5px; font-weight: 900; }
.ptr .tag { margin-left: auto; }
.ptout { margin-top: 14px; }
.ptr .tag:not(.ok):not(.amb):not(.red) { background: var(--bg); color: var(--mut); }
.ptgrp.shippay { margin-top: 10px; box-shadow: inset 0 0 0 1.5px var(--line); }
/* Đợt 4: tem QR, các bước quét, tiến độ đơn ở điểm, in tem */
.temres { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 14px; display: grid; gap: 10px; margin-bottom: 12px; }
.temres > b { font-size: 15px; font-weight: 900; color: var(--deep); }
.temres > small { font-size: 12.5px; color: var(--mut); line-height: 1.4; margin-top: -6px; }
.temres .h { display: flex; align-items: center; gap: 10px; min-width: 0; }
.temres .h > div { flex: 1; min-width: 0; }
.temres .h b { display: block; font-size: 15px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.temres .h small { display: block; font-size: 12px; font-weight: 600; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.temres .no { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--peach); color: var(--brand); font-weight: 900; font-size: 14px; }
.temres .no svg.i { width: 22px; height: 22px; }
.temres .field { margin: 0; }
.temres .note { margin: 0; }
.temres .row { flex-direction: column; gap: 8px; }
.temres .row .btn { width: 100%; }
.temnext { margin-top: 14px; display: grid; }
.psteps .pst { display: flex; gap: 10px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--line); }
.psteps .pst:first-child { border-top: 0; }
.psteps .dot { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: var(--bg); color: var(--mut); }
.psteps .dot svg.i { width: 14px; height: 14px; }
.psteps .pst b { font-size: 13.5px; font-weight: 700; color: var(--mut); }
.psteps .pst small { display: block; font-size: 11.5px; color: var(--mut); }
.psteps .pst.done .dot { background: var(--green-soft); color: var(--green); }
.psteps .pst.done b { color: var(--ink); }
.psteps .pst.now .dot { background: var(--brand); color: #fff; }
.psteps .pst.now b { color: var(--deep); font-weight: 900; }
.psteps + .btn { margin-top: 12px; width: 100%; }
.ptstat.light { margin: 0 0 4px; }
.ptstat.light div { background: var(--card); box-shadow: var(--shadow); }
.ptstat.light b { color: var(--deep); }
.ptstat.light small { color: var(--mut); }
.inp.temn { width: 84px; flex: none; text-align: center; }
.temprev { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.temcell { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; border: 1px dashed var(--line); border-radius: 8px; background: #fff; min-width: 0; }
.temcell i { display: block; width: 100%; aspect-ratio: 1; background: repeating-conic-gradient(#3B2210 0 25%, #fff 0 50%) 0 0 / 25% 25%; opacity: .75; border-radius: 3px; }
.temcell b { font-size: 10px; font-weight: 900; letter-spacing: .5px; color: var(--ink); }
.temcell small { display: none; }
@page temA4 { size: 210mm 297mm; margin: 8mm 6mm; }
@media print {
  body.print-poster #print-area .temsheet { page: temA4; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 22.5mm; gap: 0; width: 198mm; break-after: page; }
  body.print-poster #print-area .temcell { border: .2mm dashed #bbb; border-radius: 0; flex-direction: row; justify-content: flex-start; gap: 2mm; padding: 1.5mm 2mm; }
  body.print-poster #print-area .temcell i { width: 19mm; height: 19mm; flex: none; aspect-ratio: auto; background: none; opacity: 1; }
  body.print-poster #print-area .temcell i svg { width: 100%; height: 100%; display: block; }
  body.print-poster #print-area .temcell span { display: block; min-width: 0; }
  body.print-poster #print-area .temcell b { font-size: 11pt; letter-spacing: .6pt; }
  body.print-poster #print-area .temcell small { display: block; font-size: 6.5pt; color: #555; }
}
/* Đợt 5: đối soát */
.hero .hsub { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; opacity: .85; }
.dsrow .k { flex: 1; }
.dsrow .v { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 46%; }
.dsrow .v b { font-size: 13px; }
.dsrow .v b.red { color: var(--red); }
.dsrow .v b.green { color: var(--green); }
.dsrow .v .tag { font-size: 11px; }
.dsbar { display: block; height: 5px; border-radius: 3px; background: var(--bg); margin-top: 6px; overflow: hidden; }
.dsbar i { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.dsbar.over i { background: var(--red); }
/* Khung giờ "từ – đến" của điểm (anh chốt 12/11, mẫu A): ô chọn giờ, không dùng ô giờ của iPhone (bị tràn, chồng nhau). */
.ptrg { display: flex; align-items: center; gap: 7px; margin-top: 8px; }
.ptrg.lab { align-items: flex-end; }
.ptrg.lab .dash { margin-bottom: 14px; }
.ptrg .field { flex: 1; min-width: 0; margin: 0; }
.ptrg > .inp { flex: 1; min-width: 0; }
.ptrg .n { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--deep); color: #fff; font-size: 12px; font-weight: 900; }
.ptrg .dash { flex: none; color: var(--mut); font-weight: 900; }
.ptrgx { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 11px; background: #FDECEC; color: #991B1B; }
.ptrgx svg.i { width: 16px; height: 16px; }
.ptrgadd { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 10px; padding: 11px; border: 2px dashed #E3C7A8; border-radius: 14px; color: var(--brand); font-weight: 900; background: none; }
.ptrgadd svg.i { width: 16px; height: 16px; }
.temmodes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.temmode { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; min-width: 0; }
.temmode b { font-size: 14px; font-weight: 800; }
.temmode small { font-size: 11.5px; color: var(--mut); }
.temmode.on { border-color: var(--brand); background: var(--soft, #FBEBDD); }
.temroll { display: flex; justify-content: center; }
.temroll .temrc { box-shadow: var(--shadow); border-radius: 6px; }

/* Màn đối tác mẫu B (anh chốt 12/11, preview/mau-doi-tac-moi.html) */
.ptpage .subhead { align-items: center; }
.ptpage .subhead h1 { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptsub { display: block; font-size: 11.5px; font-weight: 700; color: var(--cream); letter-spacing: 0; }
.ptacc { margin-left: auto; width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ptseg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; background: rgba(255, 255, 255, .12); padding: 4px; border-radius: 16px; }
.ptseg-b { display: flex; flex-direction: column; align-items: center; text-align: center; border: 0; background: none; color: var(--cream); font: inherit; font-size: 12px; font-weight: 800; padding: 7px 4px; border-radius: 12px; white-space: nowrap; cursor: pointer; transition: background .15s; }
.ptseg-b b { display: block; font-size: 17px; font-weight: 900; color: #fff; line-height: 1.2; }
.ptseg-b.on { background: #fff; color: var(--deep); }
.ptseg-b.on b { color: var(--deep); }
.ptempty { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 16px; margin-top: 4px; }
.ptempty b { display: block; font-size: 15px; font-weight: 900; color: var(--deep); }
.ptempty span { color: var(--mut); font-size: 12.5px; }
.ptsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.ptsteps div { background: var(--peach, #FBEBD8); border-radius: 12px; padding: 9px 6px; font-size: 12px; font-weight: 800; color: var(--deep); text-align: center; white-space: nowrap; }
.ptsteps i { display: block; font-style: normal; font-size: 16px; font-weight: 900; }
.ptmoneybtn { display: block; width: 100%; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.ptmoneybtn .ptr { display: flex; }
.ptmoneybtn .ptr > svg { color: var(--mut); margin-left: 4px; }
.ptqrlink { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 14px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); color: var(--deep); font-weight: 800; text-decoration: none; }
.ptqrlink .k { flex: 1; min-width: 0; }
.ptqrlink small { display: block; font-size: 11.5px; color: var(--mut); font-weight: 700; }
.ptqrlink > svg { color: var(--mut); }
/* Đã tạo đơn ở điểm: nhắc quét tem dán túi (anh chốt 12/11, tem là mã duy nhất của khách). */
.ptdonetem { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 18px 14px; margin: 12px 0; }
.ptdonetem .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--peach); color: var(--brand); display: grid; place-items: center; }
.ptdonetem .ic svg.i { width: 26px; height: 26px; }
.ptdonetem b { font-size: 16px; font-weight: 900; color: var(--deep); }
.ptdonetem small { font-size: 12.5px; color: var(--mut); line-height: 1.45; }
.ptdonetem + .btn + .btn { margin-top: 10px; }
/* Người ngoài quét tem: câu dễ thương, ô số điện thoại; đơn xong chỉ lời cảm ơn. */
.temcute { margin: 2px 2px 12px; }
.temsdt .field { margin-bottom: 10px; }
.temdone svg.i { color: var(--green, #166534); }
.temres + .lb { margin-top: 4px; }

/* Thêm điểm mẫu A (anh chốt 13/11): 3 thẻ loại điểm, khối hoa hồng nâu đậm cho Đại lý. */
.ptkinds { display: flex; flex-direction: column; gap: 7px; }
.ptkc { width: 100%; display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-radius: 15px; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); text-align: left; color: var(--ink); }
.ptkc:hover { box-shadow: inset 0 0 0 2px #C89A6C; }
.ptkc .rd { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px #CDB096; flex: none; }
.ptkc .t { flex: 1; min-width: 0; }
.ptkc b { display: block; font-size: 13.5px; font-weight: 800; }
.ptkc small { display: block; font-size: 11.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptkc.on, .ptkc.on:hover { background: var(--deep); color: #fff; box-shadow: none; }
.ptkc.on small { color: #F1D9BE; }
.ptkc.on .rd { box-shadow: inset 0 0 0 5px #fff; }
.ptcomm { border-radius: 18px; background: linear-gradient(160deg, #4A2E18, #2A190C); color: #fff; padding: 13px; display: flex; flex-direction: column; gap: 9px; }
.ptcomm .h { font-family: Nunito, sans-serif; font-weight: 900; font-size: 14px; }
.ptcomm .h small { display: block; font: 600 11px 'Plus Jakarta Sans', sans-serif; color: #E6CDB1; margin-top: 2px; }
.ptcomm .seg2 { display: flex; background: rgba(255, 255, 255, .12); border-radius: 13px; padding: 3px; }
.ptcomm .seg2 button { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 36px; border-radius: 10px; font-size: 12.5px; font-weight: 800; color: #F1D9BE; white-space: nowrap; }
.ptcomm .seg2 button.on { background: #fff; color: var(--deep); }
.ptcomm .cinp { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 13px; border-radius: 14px; background: #fff; }
.ptcomm .cinp input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; font-weight: 800; color: var(--ink); }
.ptcomm .cinp span { color: var(--mut); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.ptcomm .cinp:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.ptcomm .ex { margin: 0; font-size: 11.5px; color: #E6CDB1; }
.ptcomm .err { color: #FECACA; }
