/* หน้าต่างสถานะพัสดุจีน + แผนที่จำลอง (js/pt-cnmap.js · 18 พ.ย. 2569 · mockup _delivery/mockup_cntrack_map_20261118) · โทนสว่างเสมอ */
html.cnm-lock,html.cnm-lock body{overflow:hidden}
.cnm{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(15,18,30,.45);color:#1f2330;font-family:"IBM Plex Sans Thai","IBM Plex Sans",-apple-system,"Segoe UI",Tahoma,sans-serif;font-size:14px;line-height:1.45}   /* ฟอนต์เดียวกับหน้า (กล่องอยู่ใต้ body ที่ยังเป็นฟอนต์เก่า) */
.cnm-dlg{display:flex;flex-direction:column;width:560px;max-width:100%;min-width:0;max-height:min(720px,100%);overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 14px 40px rgba(0,0,0,.2)}
.cnm-h{flex:none;display:flex;align-items:center;gap:8px;min-height:58px;padding:0 10px 0 16px;border-bottom:1px solid #ececf1}
.cnm-h b{flex:1;min-width:0;font-size:15.5px}
.cnm-x{flex:none;width:40px;height:40px;border:0;border-radius:10px;background:none;color:#8a8f9c;font-size:24px;line-height:1;cursor:pointer}
.cnm-tabs{flex:none;display:flex;gap:6px;padding:10px 16px 0;overflow-x:auto;scrollbar-width:none}
.cnm-tabs[hidden]{display:none}
.cnm-tabs button{flex:none;min-height:32px;padding:0 12px;border:1px solid #ececf1;border-radius:999px;background:#fff;color:#8a8f9c;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.cnm-tabs button.is-on{border-color:#f26a1b;background:#fff7f0;color:#f26a1b}
.cnm-b{flex:1 1 auto;min-width:0;min-height:0;overflow:auto;padding:12px 16px 16px;overscroll-behavior:contain}
.cnm-f{flex:none;display:flex;justify-content:space-between;gap:8px;padding:10px 16px;border-top:1px solid #ececf1;color:#8a8f9c;font-size:12px}
.cnm-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.cnm-no{font-size:16px;letter-spacing:.2px;word-break:break-all}
.cnm-co{padding:2px 8px;border-radius:6px;background:#eef2ff;color:#3730a3;font-size:12px;font-weight:700}
.cnm-chip{margin-left:auto;padding:3px 10px;border-radius:999px;background:#e9f1fe;color:#2a6fdb;font-size:12px;font-weight:700}
.cnm-chip.is-ok{background:#e6f6ee;color:#16a05d}.cnm-chip.is-wait{background:#fff5e0;color:#a86a06}.cnm-chip.is-bad{background:#fdecea;color:#d43b2f}.cnm-chip.is-brand{background:#fff1e6;color:#c2410c}
.cnm-last{margin:6px 0 10px;font-size:13.5px;overflow-wrap:anywhere}
.cnm-last small{display:block;color:#8a8f9c;font-size:12px}
.cnm-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-bottom:12px}
.cnm-steps div{text-align:center;color:#8a8f9c;font-size:11.5px}
.cnm-steps div::before{content:"";display:block;height:5px;margin-bottom:5px;border-radius:9px;background:#e7e8ee}
.cnm-steps .is-done::before{background:#f26a1b}
.cnm-steps .is-now{color:#f26a1b;font-weight:700}
.cnm-steps .is-now::before{background:linear-gradient(90deg,#f26a1b 50%,#fed7b8 50%)}
.cnm-map{position:relative;overflow:hidden;border:1px solid #dbe4f0;border-radius:14px;background:#dcebfa}
.cnm-map svg{display:block;width:100%;max-width:100%;height:auto}
.cnm-land,.cnm-rt,.cnm-pt{vector-effect:non-scaling-stroke}
.cnm-sea{fill:#dcebfa}
.cnm-sea.is-cn{fill:#e8ecf2}   /* 20 พ.ย. 2569 แผนที่จีนทั้งประเทศ พื้นนอกจีน = เทา */
.cnm-land{fill:#f6f3ea;stroke:#d8d2bf;stroke-width:1}
.cnm-rt{fill:none;stroke:#f26a1b;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.cnm-rt.is-next{stroke-width:2.4;stroke-dasharray:2 7;opacity:.75;animation:cnm-dash 1s linear infinite}
@keyframes cnm-dash{to{stroke-dashoffset:-9}}
.cnm-pt{fill:#fff;stroke:#f26a1b;stroke-width:2.4}
.cnm-pt.is-next{stroke-dasharray:2 2}
.cnm-pt.is-wh{fill:#16a05d;stroke:#fff;stroke-width:2.5}
.cnm-now{fill:#f26a1b}
.cnm-pulse{fill:#f26a1b;opacity:.35;transform-box:fill-box;transform-origin:center;animation:cnm-pl 1.6s ease-out infinite}
@keyframes cnm-pl{from{transform:scale(1);opacity:.45}to{transform:scale(3.2);opacity:0}}
.cnm-lb{font-weight:600;fill:#3b3f4a;paint-order:stroke;stroke:#fff;stroke-width:calc(3px * var(--cnm-k,1))}   /* ขนาดตัวอักษรตั้งจาก js ตามระดับซูม */
.cnm-lb.is-wh{fill:#0f7a44}.cnm-lb.is-now{fill:#c2410c;font-weight:700}
.cnm-mapnote{position:absolute;left:8px;bottom:6px;padding:1px 6px;border-radius:6px;background:rgba(255,255,255,.8);color:#6b7c90;font-size:10.5px}
.cnm-dest{margin:10px 0 4px;padding:8px 10px;border-radius:10px;background:#f0fbf5;color:#0f7a44;font-size:13px;font-weight:600}
.cnm-tl{margin:10px 0 0;padding:0;list-style:none}
.cnm-tl li{position:relative;padding:0 0 12px 22px;font-size:13px;overflow-wrap:anywhere}
.cnm-tl li::before{content:"";position:absolute;left:5px;top:5px;width:9px;height:9px;border-radius:50%;background:#d6d8e0}
.cnm-tl li::after{content:"";position:absolute;left:9px;top:16px;bottom:0;width:1.5px;background:#e7e8ee}
.cnm-tl li:last-child::after{display:none}
.cnm-tl li:first-child{color:#c2410c;font-weight:700}
.cnm-tl li:first-child::before{background:#f26a1b;box-shadow:0 0 0 4px #ffe4d2}
.cnm-tl small{display:block;color:#8a8f9c;font-size:11.5px;font-weight:400}
/* 20 พ.ย. 2569 ป้าย "ตอนนี้" แถวบนสุด (= หมุดรถบนแผนที่) · ขั้นในออเดอร์ 1688 จุดเขียว */
.cnm-tl-now{display:inline-block;margin-right:6px;padding:1px 7px;border-radius:999px;background:#f26a1b;color:#fff;font-size:10.5px;font-style:normal;font-weight:700;line-height:1.6;vertical-align:1px}
.cnm-dest.is-ret{background:#fdecec;color:#b42318}
.cnm-tl li.is-ord{color:#4b5160;font-weight:400}
.cnm-tl li.is-ord::before{background:#22a06b;box-shadow:none}
.cnm-none{margin:16px 0;color:#8a8f9c;text-align:center}
@media (max-width:600px){.cnm{padding:0}.cnm-dlg{width:100%;height:100%;max-height:none;border-radius:0}}
/* โหมดมืด (เจ้าของสั่ง 18 พ.ย. 2569 "รองรับโหมดมืดเต็มระบบ") · เว็บเก่าเปิดด้วย :root[data-theme="dark"] */
:root[data-theme="dark"] .cnm{background:rgba(0,0,0,.6);color:#eceef2}
:root[data-theme="dark"] .cnm-dlg{background:#1b1d23;box-shadow:0 14px 40px rgba(0,0,0,.5)}
:root[data-theme="dark"] .cnm-h,:root[data-theme="dark"] .cnm-f{border-color:#2a2d35}
:root[data-theme="dark"] .cnm-x,:root[data-theme="dark"] .cnm-f,:root[data-theme="dark"] .cnm-last small,:root[data-theme="dark"] .cnm-tl small,:root[data-theme="dark"] .cnm-steps div,:root[data-theme="dark"] .cnm-none{color:#8a909b}
:root[data-theme="dark"] .cnm-tabs button{border-color:#3b3f4a;background:#24272e;color:#b4b9c3}
:root[data-theme="dark"] .cnm-tabs button.is-on{border-color:#ff7a2e;background:#3a2416;color:#ffa86b}
:root[data-theme="dark"] .cnm-co{background:#232845;color:#a5b4fc}
:root[data-theme="dark"] .cnm-chip{background:#1b2a40;color:#7fb0ff}
:root[data-theme="dark"] .cnm-chip.is-ok{background:#143326;color:#45d08e}:root[data-theme="dark"] .cnm-chip.is-wait{background:#3a2d12;color:#f0b54a}
:root[data-theme="dark"] .cnm-chip.is-bad{background:#3c1f1d;color:#ff7a70}:root[data-theme="dark"] .cnm-chip.is-brand{background:#3a2416;color:#ffa86b}
:root[data-theme="dark"] .cnm-steps div::before{background:#2f333c}
:root[data-theme="dark"] .cnm-steps .is-done::before{background:#ff7a2e}
:root[data-theme="dark"] .cnm-steps .is-now{color:#ffa86b}
:root[data-theme="dark"] .cnm-steps .is-now::before{background:linear-gradient(90deg,#ff7a2e 50%,#5a3420 50%)}
:root[data-theme="dark"] .cnm-map{border-color:#2a3446;background:#13202f}
:root[data-theme="dark"] .cnm-sea{fill:#13202f}:root[data-theme="dark"] .cnm-sea.is-cn{fill:#1a1d23}
:root[data-theme="dark"] .cnm-land{fill:#262a31;stroke:#3b4049}
:root[data-theme="dark"] .cnm-pt{fill:#1b1d23}
:root[data-theme="dark"] .cnm-pt.is-wh{fill:#45d08e;stroke:#1b1d23}
:root[data-theme="dark"] .cnm-lb{fill:#d5d9e0;stroke:#1b1d23}
:root[data-theme="dark"] .cnm-lb.is-wh{fill:#45d08e}:root[data-theme="dark"] .cnm-lb.is-now{fill:#ffa86b}
:root[data-theme="dark"] .cnm-mapnote{background:rgba(27,29,35,.85);color:#8a909b}
:root[data-theme="dark"] .cnm-dest{background:#143326;color:#45d08e}
:root[data-theme="dark"] .cnm-tl li::before{background:#3b3f4a}
:root[data-theme="dark"] .cnm-tl li::after{background:#2f333c}
:root[data-theme="dark"] .cnm-tl li:first-child{color:#ffa86b}
:root[data-theme="dark"] .cnm-tl li:first-child::before{background:#ff7a2e;box-shadow:0 0 0 4px #3a2416}
/* ต่อจากโกดังจีน → ไทย (หน้าเช็คสถานะพัสดุ) + ปุ่มเปิดหน้าต่าง (หน้าที่ไม่ได้โหลด pt-hist-xl.css) */
.cnm-h4{margin:16px 0 8px;font-size:14px;font-weight:700}
/* ★ 19 พ.ย. 2569 แผนที่ฝังในการ์ด (.cnm-inline · pct_embed) + ปุ่มแผนที่ท้ายแถว (.cnm-mapbtn · pct_map_btn) · mockup _delivery/mockup_track_map_20261119 ★ */
.cnm-inline{min-width:0;background:#fff;color:#1f2330;font-family:"IBM Plex Sans Thai","IBM Plex Sans",-apple-system,"Segoe UI",Tahoma,sans-serif;font-size:14px;line-height:1.45;text-align:left}
.cnm-inline .cnm-card.cnm-embed{padding:0;border:0;background:none;box-shadow:none}
/* 20 พ.ย. 2569 การ์ดกว้าง (หน้าบิลจอคอม) แผนที่ซ้าย · timeline ขวา · เดิมแผนที่ยืดเต็มการ์ดกว้าง ~1,000px ป้ายตัวใหญ่เกิน */
.cnm-inline{container-type:inline-size}
@container (min-width:760px){
  .cnm-inline .cnm-card.cnm-embed{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:24px;align-items:start}
  .cnm-inline .cnm-card.cnm-embed>*{grid-column:1/-1}
  .cnm-inline .cnm-card.cnm-embed>.cnm-map{grid-column:1;grid-row:span 3;margin-top:10px}
  .cnm-inline .cnm-card.cnm-embed>.cnm-dest,.cnm-inline .cnm-card.cnm-embed>.cnm-tl,.cnm-inline .cnm-card.cnm-embed>.cnm-tl2,.cnm-inline .cnm-card.cnm-embed>.cnm-none{grid-column:2}
}
.cnm-mapbtn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:0 12px;border:1px solid #f3c9a6;border-radius:999px;background:#fff;color:#e8590c;font:inherit;font-size:12.5px;font-weight:600;line-height:1;white-space:nowrap;text-decoration:none;cursor:pointer;vertical-align:middle}
.cnm-mapbtn:hover{background:#fff7f0}
.cnm-mapbtn svg{flex:none;width:16px;height:16px}
.cnm-new{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:10px;font-weight:700;line-height:1.5;vertical-align:middle}
/* ★ 23 พ.ย. 2569 เจ้าของสั่ง "ป้ายใหม่ไปอยู่ที่ปุ่ม" · ป้ายเกาะมุมขวาบนของปุ่มแผนที่ (ป้ายวางต่อท้ายปุ่มอยู่แล้ว ไม่ต้องแก้ PHP/JS) */
.cnm-mapbtn+.cnm-new{position:relative;z-index:1;top:-15px;margin-left:-24px;padding:0 5px;font-size:9.5px;box-shadow:0 0 0 2px #fff;pointer-events:none}
:root[data-theme="dark"] .cnm-mapbtn+.cnm-new{box-shadow:0 0 0 2px #181b21}
@media print{.cnm-mapbtn,.cnm-new{display:none!important}}
.cnm-th{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.cnm-th li{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #ececf1;border-radius:10px;color:#8a8f9c;font-size:13px}
.cnm-th li::before{content:"";flex:none;width:9px;height:9px;border-radius:50%;background:#d6d8e0}
.cnm-th li small{margin-left:auto;font-size:12px}
.cnm-th li.is-ok{color:#1f2330}.cnm-th li.is-ok::before{background:#16a05d}
.cnm-th li.is-now{border-color:#fed7b8;background:#fff7f0;color:#c2410c;font-weight:700}.cnm-th li.is-now::before{background:#f26a1b}
.cnm-go{display:inline-flex;align-items:center;gap:4px;max-width:100%;min-height:30px;padding:3px 12px;border:1px solid #fed7b8;border-radius:999px;background:#fff7f0;color:#c2410c;font:inherit;font-size:12.5px;font-weight:700;line-height:1.3;cursor:pointer;text-decoration:none}
.cnm-go::after{content:"›"}
:root[data-theme="dark"] .cnm-th li{border-color:#2f333c;color:#8a909b}
:root[data-theme="dark"] .cnm-th li.is-ok{color:#d5d9e0}
:root[data-theme="dark"] .cnm-th li.is-now{border-color:#5a3420;background:#3a2416;color:#ffa86b}
:root[data-theme="dark"] .cnm-go{border-color:#5a3420;background:#3a2416;color:#ffa86b}
/* หมุดรถขนส่ง = ตำแหน่งตอนนี้ (18 พ.ย. 2569) */
.cnm-pin-bg{fill:#fff;stroke:#f26a1b;stroke-width:2.5;filter:drop-shadow(0 2px 3px rgba(0,0,0,.18))}
.cnm-pin-tip{fill:#f26a1b}
.cnm-pin{animation:cnm-bob 1.8s ease-in-out infinite}
@keyframes cnm-bob{50%{translate:0 -3px}}
:root[data-theme="dark"] .cnm-pin-bg{fill:#24272e;stroke:#ff7a2e}
:root[data-theme="dark"] .cnm-pin-tip{fill:#ff7a2e}
/* เว็บใหม่/แอป (body.sp): มืดตามเครื่อง · หน้าเว็บเก่าไม่มี body.sp จึงไม่โดน */
@media (prefers-color-scheme:dark){
:root:not([data-theme="light"]) body.sp .cnm{background:rgba(0,0,0,.6);color:#eceef2}
:root:not([data-theme="light"]) body.sp .cnm-dlg{background:#1b1d23;box-shadow:0 14px 40px rgba(0,0,0,.5)}
:root:not([data-theme="light"]) body.sp .cnm-h,:root:not([data-theme="light"]) body.sp .cnm-f{border-color:#2a2d35}
:root:not([data-theme="light"]) body.sp .cnm-x,:root:not([data-theme="light"]) body.sp .cnm-f,:root:not([data-theme="light"]) body.sp .cnm-last small,:root:not([data-theme="light"]) body.sp .cnm-tl small,:root:not([data-theme="light"]) body.sp .cnm-steps div,:root:not([data-theme="light"]) body.sp .cnm-none{color:#8a909b}
:root:not([data-theme="light"]) body.sp .cnm-tabs button{border-color:#3b3f4a;background:#24272e;color:#b4b9c3}
:root:not([data-theme="light"]) body.sp .cnm-tabs button.is-on{border-color:#ff7a2e;background:#3a2416;color:#ffa86b}
:root:not([data-theme="light"]) body.sp .cnm-co{background:#232845;color:#a5b4fc}
:root:not([data-theme="light"]) body.sp .cnm-chip{background:#1b2a40;color:#7fb0ff}
:root:not([data-theme="light"]) body.sp .cnm-chip.is-ok{background:#143326;color:#45d08e}:root:not([data-theme="light"]) body.sp .cnm-chip.is-wait{background:#3a2d12;color:#f0b54a}
:root:not([data-theme="light"]) body.sp .cnm-chip.is-bad{background:#3c1f1d;color:#ff7a70}:root:not([data-theme="light"]) body.sp .cnm-chip.is-brand{background:#3a2416;color:#ffa86b}
:root:not([data-theme="light"]) body.sp .cnm-steps div::before{background:#2f333c}
:root:not([data-theme="light"]) body.sp .cnm-steps .is-done::before{background:#ff7a2e}
:root:not([data-theme="light"]) body.sp .cnm-steps .is-now{color:#ffa86b}
:root:not([data-theme="light"]) body.sp .cnm-steps .is-now::before{background:linear-gradient(90deg,#ff7a2e 50%,#5a3420 50%)}
:root:not([data-theme="light"]) body.sp .cnm-map{border-color:#2a3446;background:#13202f}
:root:not([data-theme="light"]) body.sp .cnm-sea{fill:#13202f}:root:not([data-theme="light"]) body.sp .cnm-sea.is-cn{fill:#1a1d23}
:root:not([data-theme="light"]) body.sp .cnm-land{fill:#262a31;stroke:#3b4049}
:root:not([data-theme="light"]) body.sp .cnm-pt{fill:#1b1d23}
:root:not([data-theme="light"]) body.sp .cnm-pt.is-wh{fill:#45d08e;stroke:#1b1d23}
:root:not([data-theme="light"]) body.sp .cnm-lb{fill:#d5d9e0;stroke:#1b1d23}
:root:not([data-theme="light"]) body.sp .cnm-lb.is-wh{fill:#45d08e}:root:not([data-theme="light"]) body.sp .cnm-lb.is-now{fill:#ffa86b}
:root:not([data-theme="light"]) body.sp .cnm-mapnote{background:rgba(27,29,35,.85);color:#8a909b}
:root:not([data-theme="light"]) body.sp .cnm-dest{background:#143326;color:#45d08e}
:root:not([data-theme="light"]) body.sp .cnm-tl li::before{background:#3b3f4a}
:root:not([data-theme="light"]) body.sp .cnm-tl li::after{background:#2f333c}
:root:not([data-theme="light"]) body.sp .cnm-tl li:first-child{color:#ffa86b}
:root:not([data-theme="light"]) body.sp .cnm-tl li:first-child::before{background:#ff7a2e;box-shadow:0 0 0 4px #3a2416}
:root:not([data-theme="light"]) body.sp .cnm-th li{border-color:#2f333c;color:#8a909b}
:root:not([data-theme="light"]) body.sp .cnm-th li.is-ok{color:#d5d9e0}
:root:not([data-theme="light"]) body.sp .cnm-th li.is-now{border-color:#5a3420;background:#3a2416;color:#ffa86b}
:root:not([data-theme="light"]) body.sp .cnm-go{border-color:#5a3420;background:#3a2416;color:#ffa86b}
:root:not([data-theme="light"]) body.sp .cnm-pin-bg{fill:#24272e;stroke:#ff7a2e}
:root:not([data-theme="light"]) body.sp .cnm-pin-tip{fill:#ff7a2e}
}
/* ★ ต่อจากโกดังจีน → โกดังไทย รามอินทรา 117 (18 พ.ย. 2569 · mockup _delivery/mockup_cnth_route_20261118) ★ */
.cnm-leg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.cnm-leg-a{display:flex;align-items:center;gap:8px;min-width:0;min-height:48px;padding:7px 10px;border:1px solid #ececf1;border-radius:12px;background:#fff;color:inherit;font:inherit;font-size:13.5px;font-weight:700;text-align:left;cursor:pointer}
.cnm-leg-a i{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f26a1b;color:#fff;font-size:12px;font-style:normal}
.cnm-leg-a.is-ok i{background:#16a05d}
.cnm-leg-a.is-on{border-color:#f26a1b;background:#fff7f0}
.cnm-leg-a span{display:flex;flex-direction:column;min-width:0}
.cnm-leg-a small{overflow:hidden;color:#8a8f9c;font-size:11.5px;font-weight:400;white-space:nowrap;text-overflow:ellipsis}
.cnm-eta{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px;padding:10px 12px;border-radius:12px;background:#f0fbf5}
.cnm-eta small{display:block;color:#6b7280;font-size:12px}
.cnm-eta b{color:#0f7a44;font-size:17px}
.cnm-eta.is-late b{color:#a86a06}
.cnm-eta-r{text-align:right}
.cnm-eta-r b{color:#1f2330;font-size:15px}
.cnm-acc{margin:0 0 10px;color:#6b7280;font-size:12.5px}
.cnm-cty{fill:#8a8f9c;font-size:20px;font-weight:700;opacity:.55}
.cnm-lb2{font-size:15px}
.cnm-pt.is-done{fill:#f26a1b}
.cnm-rt.is-sea{stroke:#2a6fdb}
.cnm-tl2{margin:12px 0 0;padding:0;list-style:none}
.cnm-tl2 li{position:relative;padding:0 0 12px 22px;font-size:13.5px;overflow-wrap:anywhere}
.cnm-tl2 li::before{content:"";position:absolute;left:5px;top:6px;width:9px;height:9px;border-radius:50%;background:#d6d8e0}
.cnm-tl2 li::after{content:"";position:absolute;left:9px;top:17px;bottom:0;width:1.5px;background:#e7e8ee}
.cnm-tl2 li:last-child::after{display:none}
.cnm-tl2 li.is-ok::before{background:#f26a1b}
.cnm-tl2 li.is-now{color:#2a6fdb;font-weight:700}
.cnm-tl2 li.is-now::before{background:#2a6fdb;box-shadow:0 0 0 4px rgba(42,111,219,.18)}
.cnm-tl2 small{display:block;color:#8a8f9c;font-size:11.5px;font-weight:400}
.cnm-how{margin:6px 0 0;color:#8a8f9c;font-size:12px;line-height:1.6}
/* โหมดมืด เว็บเก่า */
:root[data-theme="dark"] .cnm-leg-a{border-color:#3b3f4a;background:#24272e}
:root[data-theme="dark"] .cnm-leg-a.is-on{border-color:#ff7a2e;background:#3a2416}
:root[data-theme="dark"] .cnm-leg-a small,:root[data-theme="dark"] .cnm-acc,:root[data-theme="dark"] .cnm-how,:root[data-theme="dark"] .cnm-tl2 small,:root[data-theme="dark"] .cnm-eta small{color:#8a909b}
:root[data-theme="dark"] .cnm-eta{background:#143326}
:root[data-theme="dark"] .cnm-eta b{color:#45d08e}
:root[data-theme="dark"] .cnm-eta.is-late b{color:#f0b54a}
:root[data-theme="dark"] .cnm-eta-r b{color:#eceef2}
:root[data-theme="dark"] .cnm-cty{fill:#8a909b}
:root[data-theme="dark"] .cnm-pt.is-done{fill:#ff7a2e}
:root[data-theme="dark"] .cnm-rt.is-sea{stroke:#7fb0ff}
:root[data-theme="dark"] .cnm-tl2 li::before{background:#3b3f4a}
:root[data-theme="dark"] .cnm-tl2 li::after{background:#2f333c}
:root[data-theme="dark"] .cnm-tl2 li.is-ok::before{background:#ff7a2e}
:root[data-theme="dark"] .cnm-tl2 li.is-now{color:#7fb0ff}
:root[data-theme="dark"] .cnm-tl2 li.is-now::before{background:#7fb0ff;box-shadow:0 0 0 4px rgba(127,176,255,.18)}
/* โหมดมืด เว็บใหม่/แอป */
@media (prefers-color-scheme:dark){
:root:not([data-theme="light"]) body.sp .cnm-leg-a{border-color:#3b3f4a;background:#24272e}
:root:not([data-theme="light"]) body.sp .cnm-leg-a.is-on{border-color:#ff7a2e;background:#3a2416}
:root:not([data-theme="light"]) body.sp .cnm-leg-a small,:root:not([data-theme="light"]) body.sp .cnm-acc,:root:not([data-theme="light"]) body.sp .cnm-how,:root:not([data-theme="light"]) body.sp .cnm-tl2 small,:root:not([data-theme="light"]) body.sp .cnm-eta small{color:#8a909b}
:root:not([data-theme="light"]) body.sp .cnm-eta{background:#143326}
:root:not([data-theme="light"]) body.sp .cnm-eta b{color:#45d08e}
:root:not([data-theme="light"]) body.sp .cnm-eta.is-late b{color:#f0b54a}
:root:not([data-theme="light"]) body.sp .cnm-eta-r b{color:#eceef2}
:root:not([data-theme="light"]) body.sp .cnm-cty{fill:#8a909b}
:root:not([data-theme="light"]) body.sp .cnm-pt.is-done{fill:#ff7a2e}
:root:not([data-theme="light"]) body.sp .cnm-rt.is-sea{stroke:#7fb0ff}
:root:not([data-theme="light"]) body.sp .cnm-tl2 li::before{background:#3b3f4a}
:root:not([data-theme="light"]) body.sp .cnm-tl2 li::after{background:#2f333c}
:root:not([data-theme="light"]) body.sp .cnm-tl2 li.is-ok::before{background:#ff7a2e}
:root:not([data-theme="light"]) body.sp .cnm-tl2 li.is-now{color:#7fb0ff}
:root:not([data-theme="light"]) body.sp .cnm-tl2 li.is-now::before{background:#7fb0ff;box-shadow:0 0 0 4px rgba(127,176,255,.18)}
}
/* ★ 21 พ.ย. 2569 เจ้าของสั่ง "ใส่ช่องว่างระหว่างข้อความ" + "ขนาดตัวอักษรที่ไม่เหมือนให้เหมือนกัน" (ชุดเดียวกับเว็บใหม่ ptapp/public/pt-cnmap.css) ★
   ขนาด 3 ชั้น: ข้อความหลัก 14px · ข้อความรอง/เวลา 12.5px · ป้าย 12px (เลขพัสดุ 16 · หัวข้อย่อย 15) · ป้าย cnm-mapnote คงเล็ก (ขยายแล้วทับชื่อเมือง) */
.cnm-card .cnm-last{margin:10px 0 14px;font-size:14px;line-height:1.55}
.cnm-card .cnm-last small{margin-top:4px;font-size:12.5px}
.cnm-card .cnm-steps{gap:6px;margin-bottom:14px}
.cnm-card .cnm-steps div{font-size:12.5px}
.cnm-card .cnm-steps div::before{margin-bottom:7px}
.cnm-card .cnm-dest{margin:12px 0 6px;padding:10px 12px;font-size:14px;line-height:1.5}
.cnm-card .cnm-none{margin:16px 0;font-size:14px}
.cnm-card .cnm-acc{margin:0 0 10px;font-size:12.5px}
.cnm-card .cnm-how{margin:8px 0 0;font-size:12.5px}
.cnm-card .cnm-h4{font-size:15px}
.cnm-card .cnm-tl{margin-top:14px}
.cnm-card .cnm-tl li,.cnm-card .cnm-tl2 li{padding-bottom:14px;font-size:14px;line-height:1.5}
.cnm-card .cnm-tl li::before,.cnm-card .cnm-tl2 li::before{top:6px}
.cnm-card .cnm-tl li::after,.cnm-card .cnm-tl2 li::after{top:18px}
.cnm-card .cnm-tl small,.cnm-card .cnm-tl2 small{margin-top:2px;font-size:12.5px}
.cnm-card .cnm-tl-now{font-size:12px}
.cnm-card .cnm-th li{font-size:14px}
.cnm-card .cnm-th li small{font-size:12.5px}
/* ★ 25 พ.ย. 2569 จำนวนชิ้นของเลขพัสดุนี้ + ทั้งบิล ใต้หัวหน้าต่างแผนที่ (js/pt-cnmap.js .cnm-cnt) */
.cnm-cnt{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;margin:6px 0 0;font-size:13px;color:#5b616b;line-height:1.5}
.cnm-cnt b{color:#1d1f24;font-weight:700}
.cnm-cnt-sep{color:#b4b9c3}
.cnm-cnt small{flex-basis:100%;font-size:12px;color:#8b919b}
:root[data-theme="dark"] .cnm-cnt{color:#b4b9c3}
:root[data-theme="dark"] .cnm-cnt b{color:#eceef2}
