
/* ===== page ===== */
/* ================= CONTACT PAGE (prefix .cu-) ================= */
/* Page-level overrides that wait on a kit decision (see NOTES "คำขอแก้ kit"). All are scoped to <main>, so the shared
   header, mega menu, dock and footer look exactly as on every other page. Delete each block once core adopts it. */
/* 1) Page tokens. Light values here, dark values in the two dark-mode blocks at the end (only tokens change there). */
main{--muted:#000000;--cu-o-ink:#FF6100;
  --cu-em:linear-gradient(90deg,#008CFF,#008CFF,#008CFF);--cu-em-h1:linear-gradient(90deg,#008CFF 0%,#008CFF 50%,#008CFF 100%);
  --cu-sel:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23596068' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --cu-row:var(--ground-2);--cu-row-line:var(--line);--cu-btn:var(--card);--cu-btn-line:var(--line);
  --cu-disc:linear-gradient(165deg,#E4EEF8 0%,#E4EEF8 55%,rgba(255,255,255,.7) 100%);--cu-disc-edge:rgba(255,255,255,.9);
  --cu-disc-sh:inset 0 2px 0 rgba(255,255,255,.9),0 40px 80px -40px rgba(0,90,180,.55);
  --cu-ring:rgba(0,140,255,.13);--cu-m-bg:var(--ground-2);--cu-m-rd:var(--line);--cu-m-rw:var(--card);--cu-m-sh:rgba(0,58,114,.18)}
/* 2) AA buttons (white label ≥ 4.5:1): darker blue and orange gradients, LINE green that passes. Content only. */
main .btn.blue{background:linear-gradient(135deg,#008CFF,#008CFF);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 14px 34px -14px rgba(0,98,186,.75)}
main .btn.primary{background:linear-gradient(135deg,#FF6100,#FF6100);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 14px 34px -14px rgba(196,72,0,.75)}
.btn.cu-btn-line{background:#008CFF;color:#fff;border-color:rgba(255,255,255,.4);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 14px 30px -14px rgba(3,135,58,.7)}
/* 3) Section fade with no hard edge, so the ambient light carries through (kit request for core .tint). */
.cu-tint.tint{background:linear-gradient(180deg,transparent 0,color-mix(in srgb,var(--blue-xl) 70%,transparent) 140px,transparent 85%)}
/* 4) Heading sheen: AA-safe gradient in light, plays once (one moment per section, not a loop). */
main .h-sec em{background-image:var(--cu-em);animation-iteration-count:1}
.cu-hero h1 em{background-image:var(--cu-em-h1);animation-iteration-count:1}
/* 5) The shared dock stays (same as every page), minus its "ติดต่อเรา" button, which links to this very page. */
.dock .d-call{display:none}
/* 6) Tighter rhythm: a contact page should be short (core .sec is 64–110px). */
main .sec{padding-block:clamp(56px,7vw,96px)}

.cu-sprite{position:absolute;width:0;height:0;overflow:hidden}
.cu-ic-svg svg,.cu-oi svg,.cu-cp svg,.cu-icb svg,.cu-out-i,.cu-done-ic svg,.cu-res-acts .btn svg,.cu-v svg,.cu-ext{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cu-ta{position:fixed;top:0;left:-9999px;opacity:0}

/* shared bits: icon tiles (stroke glyph on a blue tile; brand logos on a white tile), copy button, action rows */
.cu-ic{flex:none;width:46px;height:46px;border-radius:15px !important;display:grid;place-items:center;background:var(--card);border:1px solid var(--line)}
.cu-ic img{width:22px;height:22px;object-fit:contain}
.cu-ic-svg{background:var(--blue-l);border-color:transparent;color:var(--blue-2)}
.cu-ic-svg svg{width:22px;height:22px}
.cu-ic-lg{width:56px;height:56px;border-radius:18px !important}
.cu-ic-lg svg{width:27px;height:27px}
.cu-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:16px}
.cu-acts .btn{min-height:44px;padding:0 18px;font-size:15px}
.btn.cu-cp{gap:7px}
.cu-cp svg{width:17px;height:17px;flex:none}
.btn.cu-cp.ok{color:var(--green)}
.cu-out-i{width:15px;height:15px;margin-left:-2px}
/* plain glass buttons sitting on white cards get a visible edge */
.cu-out .btn:not(.primary):not(.blue):not(.cu-btn-line),.cu-card:not(.cu-call) .btn.cu-cp,.cu-map .btn.cu-cp,.cu-done .btn:not(.blue),.cu-map-load,.btn.cu-btn-o{background:var(--cu-btn);border:1px solid var(--cu-btn-line);box-shadow:0 6px 16px -10px rgba(0,58,114,.35)}
.cu-out .btn:not(.primary):not(.blue):not(.cu-btn-line):hover,.cu-card:not(.cu-call) .btn.cu-cp:hover,.cu-map .btn.cu-cp:hover,.cu-done .btn:not(.blue):hover,.cu-map-load:hover,.btn.cu-btn-o:hover{border-color:var(--blue)}

/* ---------- HERO ---------- */
.cu-hero{overflow:clip;padding-bottom:clamp(12px,2.4vw,32px)}
.cu-hero .hero2{align-items:center}
.cu-hero h1{font-size:clamp(46px,6.6vw,88px);line-height:1.05;margin-top:18px}
.cu-hero .lead,.cu-quick,.cu-live{max-width:560px}
.cu-hero .lead{text-wrap:balance}
.cu-quick{list-style:none;padding:0;margin:26px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cu-quick li{display:flex;min-width:0}
.cu-qk{flex:1;min-width:0;display:flex;align-items:center;gap:10px;min-height:60px;padding:7px 14px 7px 7px;border-radius:999px !important;text-decoration:none;color:var(--ink);transition:transform .5s var(--spring)}
.cu-qk:hover{transform:translateY(-4px)}
.cu-qk .cu-ic{width:44px;height:44px;border-radius:50% !important}
.cu-qk small{display:block;font-size:12px;line-height:1.3;color:var(--mid);white-space:nowrap}
.cu-qk > span:nth-child(2){min-width:0}
.cu-qk b{display:block;font-size:17px;line-height:1.25;letter-spacing:-.01em;white-space:nowrap}
/* primary pill: the phone while the line is open, LINE once it is closed (page.js toggles .is-closed) */
.cu-quick:not(.is-closed) .cu-qk-call .cu-qk,.cu-quick.is-closed .cu-qk-line .cu-qk{color:#fff;border:1px solid rgba(255,255,255,.4)}
.cu-quick:not(.is-closed) .cu-qk-call .cu-qk{background:linear-gradient(135deg,#FF6100,#FF6100);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 18px 36px -16px rgba(196,72,0,.7)}
.cu-quick.is-closed .cu-qk-line .cu-qk{background:#008CFF;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 18px 36px -16px rgba(3,135,58,.7)}
.cu-quick:not(.is-closed) .cu-qk-call small,.cu-quick.is-closed .cu-qk-line small{color:#fff}
.cu-quick:not(.is-closed) .cu-qk-call .cu-ic,.cu-quick.is-closed .cu-qk-line .cu-ic{border-color:transparent;background:#fff;color:#008CFF}
.cu-qk-call b{font-size:22px}
.cu-quick.is-closed .cu-qk-line{order:-1}
.cu-quick.is-closed .cu-qk-call .cu-qk{border:1px solid var(--line);background:var(--card)}

.cu-live{margin-top:14px;padding:14px 18px 12px;border-radius:24px !important}
.cu-live-top{display:flex;align-items:flex-start;gap:12px}
.cu-live-txt{flex:1;min-width:0;font-size:14px;line-height:1.5;color:var(--mid)}
.cu-live-txt b{display:block;font-size:16px;color:var(--ink)}
.cu-live-txt > span{display:block}
.cu-live-acts{display:flex!important;flex-wrap:wrap;gap:8px;margin:10px 0 0 24px}
.cu-live-acts[hidden]{display:none!important}
.cu-live-acts .btn{min-height:44px;padding:0 16px;font-size:14px}
.cu-clock{flex:none;margin-top:1px;padding:2px 10px;border-radius:999px !important;background:var(--cu-row);font-size:13px;line-height:1.5;color:var(--mid)}
.cu-clock b{font-weight:600}
/* who's on the line: just the status dot here; on phones the agent's face appears around it (the hero photo is hidden there) */
.cu-who{position:relative;flex:none;width:12px;height:12px;margin-top:6px}
.cu-who picture{display:none}
.cu-dot{position:absolute;inset:0;border-radius:50% !important;background:var(--green)}
.cu-dot::after{content:"";position:absolute;inset:0;border-radius:50% !important;background:inherit;animation:cuPulse 2s ease-out infinite}
@keyframes cuPulse{from{transform:scale(1);opacity:.55}to{transform:scale(2.6);opacity:0}}
.cu-live.is-soon .cu-dot{background:var(--orange)}
.cu-live.is-closed .cu-dot{background:var(--muted)}
.cu-live.is-closed .cu-dot::after{animation:none;opacity:0}
.cu-day{margin-top:12px}
.cu-track{position:relative;height:8px;border-radius:99px !important;background:var(--line)}
/* service window 08:00–18:30 of a 24h day = 33.33% → 77.08% */
.cu-win{position:absolute;top:0;bottom:0;left:33.333%;right:22.917%;border-radius:99px !important;background:linear-gradient(90deg,var(--blue),#008CFF)}
.cu-now{--now:.5;position:absolute;top:50%;left:calc(var(--now) * 100%);width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50% !important;background:var(--card);border:3px solid var(--orange);box-shadow:0 4px 10px -2px rgba(255,97,0,.5);transition:left .6s var(--ease)}
.cu-ticks{position:relative;height:19px;margin-top:6px;font-size:12px;line-height:1.5;color:var(--muted)}
.cu-ticks span{position:absolute;top:0}
.cu-ticks span:last-child{right:0}
.cu-ticks .cu-t1{left:33.333%;transform:translateX(-50%)}
.cu-ticks .cu-t2{left:77.083%;transform:translateX(-50%)}

/* hero visual — one orchestrated scroll moment: --cu-s (0→1) set by page.js while the hero scrolls away */
.cu-art{--cu-s:0;position:relative;width:100%;max-width:400px;margin-inline:auto;aspect-ratio:597/700;display:flex;align-items:flex-end;justify-content:center}
.cu-art picture{display:contents}
.cu-ring{position:absolute;left:50%;top:44%;width:112%;aspect-ratio:1;border-radius:50% !important;translate:-50% -50%;background:radial-gradient(closest-side,transparent 64%,var(--cu-ring) 65%,transparent 66%,transparent 80%,var(--cu-ring) 81%,transparent 82%);transform:scale(calc(1 + var(--cu-s) * .18));opacity:calc(1 - var(--cu-s) * .6)}
/* the disc is wider than the person so both shoulders sit on it (no cut-out edge against the page) */
.cu-disc{position:absolute;left:1%;right:1%;top:5%;bottom:0;border-radius:50% 50% 44px 44px / 38% 38% 44px 44px !important;background:var(--cu-disc);border:1px solid var(--cu-disc-edge);box-shadow:var(--cu-disc-sh);transform:scale(calc(1 - var(--cu-s) * .05))}
/* the figure sinks while scrolling; its bottom is clipped by the same amount so it never hangs below the disc */
.cu-agent{position:relative;z-index:1;width:94%;height:auto;-webkit-mask-image:linear-gradient(#000 80%,transparent 99%);mask-image:linear-gradient(#000 80%,transparent 99%);animation:rise 1.2s var(--ease) both;transform:translateY(calc(var(--cu-s) * 36px));clip-path:inset(0 0 calc(var(--cu-s) * 36px) 0)}
.cu-art .o-chip{white-space:nowrap;animation:none}
.cu-c1{left:-6%;top:26%;transform:translateX(calc(var(--cu-s) * -34px))}
.cu-art .cu-c1 .cu-cdot{width:12px;height:12px;margin:0 4px;border-radius:50% !important;background:var(--green);box-shadow:0 0 0 4px var(--green-l)}
.cu-art .cu-c1.is-soon .cu-cdot{background:var(--orange);box-shadow:0 0 0 4px var(--orange-l)}

/* ---------- section heads ---------- */
.cu-head .lead{max-width:56ch;text-wrap:balance}

/* ---------- NEED PICKER ---------- */
main .cu-need{padding-top:clamp(40px,5vw,72px)}
.cu-opts-l{margin:clamp(26px,3.6vw,40px) 0 10px 4px;font-size:14px;line-height:22px;font-weight:600;color:var(--mid)}
/* options and panel start together; the empty panel is as tall as the options, a longer answer lets the options stick */
.cu-pick{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(16px,2.4vw,28px)}
.cu-opts{display:grid;gap:10px;align-self:start;position:sticky;top:110px}
.cu-opt{display:flex;align-items:center;gap:14px;width:100%;min-height:72px;padding:12px 16px 12px 12px;border:0;border-radius:22px !important;text-align:left;color:var(--ink);transition:transform .45s var(--spring),box-shadow .3s}
.cu-opt:hover{transform:translateX(4px)}
.cu-opt[aria-pressed=true]{box-shadow:inset 0 1px 0 var(--spec),0 0 0 2px var(--blue),0 20px 40px -22px rgba(0,140,255,.6)}
.cu-oi{flex:none;width:46px;height:46px;border-radius:15px !important;display:grid;place-items:center;background:var(--blue-l);color:var(--blue-2);transition:background .3s,color .3s,transform .5s var(--spring)}
.cu-oi svg{width:23px;height:23px}
.cu-opt[aria-pressed=true] .cu-oi{background:linear-gradient(135deg,#008CFF,#008CFF);color:#fff;transform:rotate(-6deg) scale(1.06)}
.cu-ot{min-width:0}
.cu-ot b{display:block;font-size:16px;line-height:1.35;font-weight:600}
.cu-ot small{display:block;font-size:13px;line-height:1.4;color:var(--mid);margin-top:2px}

.cu-out{border-radius:var(--r-l) !important;padding:clamp(20px,3vw,32px);display:flex;flex-direction:column;scroll-margin-top:96px}
.cu-out.swap > *{animation:swapIn .5s var(--ease) both}
.cu-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:4px}
.cu-empty h3{font-size:clamp(19px,2vw,22px);margin:20px 0 0;max-width:26ch;text-wrap:balance}
.cu-empty p{color:var(--mid);max-width:40ch;margin:8px 0 0;font-size:15px;text-wrap:pretty}
.cu-empty .cu-empty-alt{font-size:14px;margin-top:10px}
.cu-empty-alt a{display:inline-flex;align-items:center;min-height:44px;color:var(--blue-2);font-weight:600}
/* ghost preview: the shape of a result, with the same channel icons */
.cu-ghost{list-style:none;margin:0;padding:0;display:grid;gap:8px;width:min(320px,90%)}
.cu-ghost li{display:flex;align-items:center;gap:12px;padding:7px 12px 7px 7px;border-radius:16px !important;background:var(--cu-row);border:1px solid var(--cu-row-line)}
.cu-ghost li:first-child{border-color:var(--blue-sky);box-shadow:0 0 0 3px var(--blue-l)}
.cu-ghost .cu-ic{width:38px;height:38px;border-radius:12px !important;opacity:.6}
.cu-ghost .cu-ic img,.cu-ghost .cu-ic svg{width:19px;height:19px}
.cu-ghost i{flex:1;height:10px;border-radius:99px !important;background:var(--line)}
.cu-ghost li:nth-child(2) i{flex:.7}
.cu-ghost li:nth-child(3) i{flex:.5}
.cu-ghost b{font-size:11px;font-weight:700;color:#fff;background:#008CFF;border-radius:999px !important;padding:1px 9px}

.cu-res h3{font-size:clamp(21px,2.3vw,28px);letter-spacing:-.02em;line-height:1.25;margin:0;text-wrap:balance}
.cu-note{display:flex;gap:10px;align-items:flex-start;margin:12px 0 0;padding:10px 14px;border-radius:16px !important;background:var(--orange-l);color:var(--ink);font-size:14px;line-height:1.5}
.cu-note::before{content:"";flex:none;width:9px;height:9px;margin-top:7px;border-radius:50% !important;background:var(--orange)}
.cu-best{margin-top:14px;padding:16px;border-radius:24px !important;background:var(--card);border:1px solid var(--blue);box-shadow:0 0 0 4px var(--blue-l),0 24px 50px -30px rgba(0,140,255,.55)}
.cu-best-top{display:flex;align-items:center;gap:12px}
.cu-best-top > div{flex:1;min-width:0}
.cu-best small{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.cu-tag{font-size:11px;font-weight:700;color:#fff;background:#008CFF;border-radius:999px !important;padding:1px 9px}
.cu-best b{display:block;font-size:clamp(20px,2.2vw,26px);letter-spacing:-.01em;line-height:1.3;overflow-wrap:break-word}
.cu-best .cu-acts{padding-top:14px}
.cu-res .pill.wait{color:#FF6100;background:#FFF1E8}
.cu-alt-h{margin:16px 0 8px;font-size:13px;font-weight:600;color:var(--mid)}
.cu-alts{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.cu-alts li{display:flex;align-items:center;gap:12px;padding:6px 6px 6px 10px;border-radius:18px !important;background:var(--cu-row);border:1px solid var(--cu-row-line)}
.cu-alts .cu-ic{width:40px;height:40px;border-radius:13px !important}
.cu-alts .cu-ic img,.cu-alts .cu-ic svg{width:20px;height:20px}
.cu-alts li > div{flex:1;min-width:0}
.cu-alts small{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:var(--muted);line-height:1.35}
.cu-alts a.cu-v{display:inline-flex;align-items:center;gap:4px;min-height:44px;margin-block:-8px -6px;font-weight:600;font-size:15px;color:var(--blue-2);text-decoration:none;overflow-wrap:break-word}
.cu-alts a.cu-v span{min-width:0}
.cu-alts a.cu-v svg{flex:none;width:15px;height:15px;transition:transform .35s var(--spring)}
.cu-alts a.cu-v:hover span{text-decoration:underline;text-underline-offset:3px}
.cu-alts a.cu-v:hover svg{transform:translateX(3px)}
.cu-alts .pill{padding:2px 8px;font-size:11px}
.cu-icb{flex:none;width:44px;height:44px;border-radius:14px !important;border:1px solid var(--cu-btn-line);background:var(--cu-btn);color:var(--ink);display:grid;place-items:center;transition:transform .35s var(--spring),color .2s}
.cu-icb:hover{transform:scale(1.08);color:var(--blue-2)}
.cu-icb svg{width:18px;height:18px}
.cu-icb.ok{color:var(--green);border-color:var(--green)}
.cu-res-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.cu-res-acts .btn{min-height:44px;font-size:15px;padding:0 18px}
.cu-res-acts .btn svg{width:18px;height:18px}
.cu-res-acts .more{margin-top:0;min-height:44px}

/* ---------- CHANNEL BENTO ---------- */
main .cu-channels{padding-block:clamp(32px,4vw,56px)}
.cu-bento{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:clamp(28px,4vw,44px)}
.cu-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:22px;border-radius:var(--r-l) !important}
.cu-card.glass,.cu-map.glass{--glass-bg:var(--card);--glass-bg-2:var(--card);background:var(--card)}
.cu-card h3{font-size:14px;font-weight:600;color:var(--mid);margin:14px 0 0;letter-spacing:0}
.cu-val{margin:4px 0 0;font-size:clamp(17px,1.5vw,19px);font-weight:700;letter-spacing:-.01em;line-height:1.3;overflow-wrap:break-word}
.cu-for{margin:4px 0 0;font-size:14px;color:var(--mid)}
/* featured call card: brand-blue, laid out horizontally across two columns (big number | hours, status, actions) */
.cu-call{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 28px;align-items:end;padding:26px 28px;overflow:hidden;color:#fff;background:radial-gradient(120% 90% at 100% 0%,rgba(255,255,255,.24),transparent 55%),linear-gradient(150deg,#008CFF 0%,#008CFF 60%,#008CFF 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 30px 60px -30px rgba(0,100,200,.75)}
.cu-call::after{content:"";position:absolute;right:-70px;bottom:-90px;width:260px;height:260px;border-radius:50% !important;border:30px solid rgba(255,255,255,.07);pointer-events:none}
.cu-call-main,.cu-call-side{position:relative;z-index:1;min-width:0}
.cu-call-side{display:flex;flex-direction:column;align-items:flex-start;padding-top:4px}
.cu-call h3{color:rgba(255,255,255,.92);margin-top:16px}
.cu-call .cu-ic{background:#fff;color:#008CFF}
.cu-big{margin:2px 0 0;font-size:clamp(64px,7vw,96px);font-weight:700;letter-spacing:-.04em;line-height:1}
.cu-call-d{margin:10px 0 0;max-width:34ch;font-size:15px;color:#fff;text-wrap:balance}
.cu-call .cu-acts{padding-top:14px}
.cu-call .pill.ok{background:rgba(255,255,255,.95);color:#008CFF}
.cu-call .pill.wait{background:#FFF1E8;color:#FF6100}
.cu-call .pill.no{background:rgba(6,16,28,.5);color:#fff}
/* on the blue card the main action is white (orange on blue had almost no luminance contrast) */
main .cu-call .btn.primary{background:#fff;color:#008CFF;border-color:transparent;box-shadow:0 14px 30px -14px rgba(0,30,80,.6)}
.cu-call .btn.cu-cp{color:#fff;--glass-bg:rgba(255,255,255,.16);--glass-bg-2:rgba(255,255,255,.06);--glass-edge:rgba(255,255,255,.4);background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.35)}
.cu-call .btn.cu-cp.ok{color:#fff;background:rgba(18,138,74,.85)}
.cu-ctx{min-width:0}

/* map card: one surface, a hairline between the drawing and the address */
.cu-map{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);margin-top:16px;border-radius:var(--r-l) !important;overflow:hidden}
.cu-map-art{position:relative;min-height:320px;background:var(--cu-m-bg);border-right:1px solid var(--line)}
.cu-map-svg{position:absolute;inset:0;width:100%;height:100%}
.cu-m-bg{fill:var(--cu-m-bg)}
.cu-map-svg pattern circle{fill:var(--blue-sky);opacity:.3}
.cu-m-rd{fill:none;stroke:var(--cu-m-rd);stroke-width:30;stroke-linecap:round}
.cu-m-rw{fill:none;stroke:var(--cu-m-rw);stroke-width:16;stroke-linecap:round}
.cu-m-main{stroke-width:26}
.cu-m-lane{stroke-width:9}
.cu-m-road{font-size:14px;font-weight:600;letter-spacing:.02em;fill:var(--mid);text-anchor:middle}
.cu-m-r{fill:none;stroke:var(--blue);stroke-opacity:.25;stroke-width:1.5;stroke-dasharray:4 7}
.cu-m-shadow{fill:var(--cu-m-sh)}
.cu-m-pin path{fill:var(--blue)}
.cu-m-pin-c{fill:#fff}
.cu-m-tag rect{fill:var(--card);stroke:var(--line)}
.cu-m-tag text{font-size:14px;font-weight:600;fill:var(--ink);text-anchor:middle}
/* pin drops in when the card is revealed */
.cu-m-pin{transform-box:fill-box;transform-origin:50% 100%}
.cu-map.rv .cu-m-pin{transform:translateY(-60px);opacity:0;transition:transform .9s var(--spring) .25s,opacity .3s .25s}
.cu-map.rv.in .cu-m-pin{transform:none;opacity:1}
.cu-map.rv .cu-m-r{opacity:0;transition:opacity 1s .6s}
.cu-map.rv.in .cu-m-r{opacity:1}
.cu-map-load{position:absolute;left:50%;bottom:16px;translate:-50% 0;min-height:44px;font-size:14px;white-space:nowrap}
.cu-map-frame{position:absolute;inset:0;width:100%;height:100%;border:0}
.cu-map-info{display:flex;flex-direction:column;align-items:flex-start;padding:clamp(22px,3vw,36px);align-self:center}
.cu-map-info h3{font-size:clamp(19px,1.8vw,22px);margin:16px 0 0}
.cu-map-info address{font-style:normal;color:var(--mid);margin-top:6px;line-height:1.65;max-width:36ch}

/* ---------- SOCIAL LIST + FORM ---------- */
main .cu-msg{padding-top:clamp(32px,4vw,56px)}
.cu-two{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:18px;align-items:start}
.cu-soc,.cu-fcard{border-radius:var(--r-l) !important;padding:clamp(22px,3vw,34px);min-width:0}
.cu-soc{position:sticky;top:104px}
.cu-fh{font-size:clamp(24px,2.4vw,30px);letter-spacing:-.02em;line-height:1.25;margin:14px 0 0;text-wrap:balance}
.cu-fh em{font-style:normal;color:var(--blue-2)}
.cu-socs{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:8px}
.cu-socs a{display:flex;align-items:center;gap:12px;min-height:58px;padding:6px 16px 6px 6px;border-radius:18px !important;background:var(--cu-btn);border:1px solid var(--cu-btn-line);text-decoration:none;color:var(--ink);transition:transform .4s var(--spring),border-color .2s}
.cu-socs a:hover{transform:translateX(4px);border-color:var(--blue)}
.cu-so{flex:none;width:44px;height:44px;border-radius:14px !important;display:grid;place-items:center;background:var(--card);border:1px solid var(--line)}
.cu-so img{width:26px;height:26px}
.cu-sn{flex:1;min-width:0}
.cu-sn b{display:block;font-size:15px;line-height:1.3}
.cu-sn small{display:block;font-size:13px;line-height:1.35;color:var(--mid);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cu-ext{flex:none;width:16px;height:16px;color:var(--mid)}

.cu-fcard{display:flex;flex-direction:column}
.cu-form.cf{padding:0;border-radius:0 !important}
.cu-fsub{margin:6px 0 0;color:var(--mid);font-size:15px;text-wrap:pretty}
.cu-req{color:var(--red);font-weight:700}
.cu-form .cf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;margin-top:18px}
.cu-form .cf-grid .full{grid-column:1/-1}
.cu-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.cu-form .cf-grid .cu-lb{display:block;font-size:14px;font-weight:500;color:var(--mid)}
.cu-form input[type=text],.cu-form input[type=tel],.cu-form input[type=email],.cu-form select,.cu-form textarea{width:100%;min-height:48px;border:1px solid var(--line);background:var(--card);color:var(--ink);padding:11px 14px;border-radius:14px !important;font:inherit;font-size:16px;transition:border-color .2s,box-shadow .2s}
.cu-form select{-webkit-appearance:none;appearance:none;padding-right:44px;background:var(--card) var(--cu-sel) no-repeat right 16px center/16px}
.cu-form select:invalid{color:var(--muted)}
.cu-form select option{color:var(--ink)}
.cu-form textarea{resize:vertical;min-height:112px}
.cu-form ::placeholder{color:var(--muted);opacity:.85}
.cu-form input:focus-visible,.cu-form select:focus-visible,.cu-form textarea:focus-visible{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-l)}
.cu-err{display:flex;gap:6px;align-items:center;font-size:13px;font-weight:500;color:var(--red);line-height:1.4}
.cu-err::before{content:"!";flex:none;width:16px;height:16px;border-radius:50% !important;display:grid;place-items:center;background:var(--red);color:#fff;font-size:11px;font-weight:700}
.cu-form > .cu-err{margin-top:6px}
.cu-count{align-self:flex-end;font-size:12px;color:var(--muted)}
.cu-count.near{color:var(--cu-o-ink)}
.cu-form .pdpa{min-height:44px;align-items:center}
.cu-pdpa{position:relative;gap:10px}
.cu-form .cu-pdpa input{position:absolute;left:-11px;top:50%;width:44px;height:44px;margin:-22px 0 0;opacity:0;cursor:pointer}
.cu-box{flex:none;width:22px;height:22px;border-radius:7px !important;border:1.5px solid var(--muted);background:var(--card);display:grid;place-items:center;color:#fff;transition:background .2s,border-color .2s,transform .35s var(--spring)}
.cu-box svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:scale(.5);transition:opacity .2s,transform .35s var(--spring)}
.cu-pdpa input:checked + .cu-box{background:#008CFF;border-color:#008CFF;transform:scale(1.06)}
.cu-pdpa input:checked + .cu-box svg{opacity:1;transform:none}
.cu-pdpa input:focus-visible + .cu-box{outline:3px solid var(--orange);outline-offset:2px}
.cu-pdpa input.bad + .cu-box{border-color:var(--red);box-shadow:0 0 0 3px var(--red-l)}
.cu-form .pdpa a{display:inline-flex;align-items:center;min-height:44px}
.cu-form .acts .cu-send{min-width:170px;min-height:48px}
.cu-send:disabled{cursor:progress;opacity:1}
.cu-send.busy .cu-send-t::before{content:"";display:inline-block;width:14px;height:14px;margin-right:8px;vertical-align:-2px;border-radius:50% !important;border:2px solid rgba(255,255,255,.5);border-top-color:#fff;animation:cuSpin .7s linear infinite}
@keyframes cuSpin{to{transform:rotate(360deg)}}
.cu-sum{margin:12px 0 0;padding:10px 14px;border-radius:14px !important;background:var(--red-l);color:var(--red);font-size:14px;font-weight:500}

/* success state keeps the form's height (page.js sets --cu-fh), so the section does not jump */
.cu-done{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;flex:1;min-height:var(--cu-fh,440px);padding:10px;animation:swapIn .6s var(--ease)}
.cu-done h2:focus{outline:none}
.cu-done-ic{width:76px;height:76px;border-radius:50% !important;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#008CFF,#008CFF);box-shadow:0 0 0 10px var(--green-l),0 24px 40px -18px rgba(18,138,74,.8);animation:pop .6s var(--spring)}
.cu-done-ic svg{width:38px;height:38px;stroke-width:3;stroke-dasharray:30;stroke-dashoffset:30;animation:cuDraw .6s .25s var(--ease) forwards}
@keyframes cuDraw{to{stroke-dashoffset:0}}
.cu-done p{color:var(--mid);max-width:40ch;margin:8px 0 0;text-wrap:pretty}
.cu-done-dl{display:grid;gap:6px;margin:16px 0 0;padding:14px 18px;border-radius:18px !important;background:var(--cu-row);border:1px solid var(--cu-row-line);text-align:left;font-size:14px;width:min(360px,100%)}
.cu-done-dl div{display:flex;gap:10px}
.cu-done-dl dt{flex:none;color:var(--muted);min-width:60px}
.cu-done-dl dd{margin:0;font-weight:600;overflow-wrap:break-word;min-width:0}
.cu-done .acts{justify-content:center;margin-top:20px}

/* ---------- CTA ---------- */
main .cu-cta{padding-bottom:clamp(32px,4vw,56px)}
.cu-cta .o-cta h2{margin-top:14px;text-wrap:balance}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1100px){
  /* two-column hero gets narrow: the primary pill on its own row, the other two below */
  .cu-quick{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cu-quick:not(.is-closed) .cu-qk-call,.cu-quick.is-closed .cu-qk-line{grid-column:1/-1}
  .cu-bento{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cu-call{grid-column:1/-1}
  .cu-call .cu-big{font-size:clamp(56px,10vw,80px)}
}
@media (min-width:641px) and (max-width:900px){
  /* tablet: keep the photo beside the copy instead of a centred block under it */
  .cu-hero .hero2{grid-template-columns:minmax(0,1fr) 230px;align-items:end}
  .cu-art{max-width:230px}
  .cu-c1{left:-14%}
}
@media (max-width:900px){
  .cu-pick{grid-template-columns:1fr}
  /* stacked: the answer appears under the options only once a topic is picked */
  .cu-out:not(.has-res){display:none}
  .cu-opts{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  .cu-opt:last-child{grid-column:1/-1}
  .cu-opt:hover{transform:translateY(-3px)}
  .cu-map{grid-template-columns:1fr}
  .cu-map-art{min-height:260px;border-right:0;border-bottom:1px solid var(--line)}
  .cu-two{grid-template-columns:1fr}
  .cu-fcard{order:-1}
  .cu-soc{position:static}
  .cu-done{min-height:440px}
  .cu-socs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .cu-quick{gap:8px}
  .cu-qk{gap:10px;padding:6px 10px 6px 6px;border-radius:22px !important;min-height:56px}
  .cu-qk .cu-ic{width:40px;height:40px}
  .cu-qk b{font-size:16px}
  .cu-qk-call b{font-size:22px}
  .cu-live{padding:12px 14px}
  /* phones: no hero photo (saves a screen); the agent's face sits in the status card instead */
  .cu-art{display:none}
  .cu-who{width:52px;height:52px;margin:0;border-radius:50% !important;background:var(--cu-disc);box-shadow:var(--cu-disc-sh)}
  .cu-who picture{display:block;width:100%;height:100%;border-radius:50% !important;overflow:hidden}
  .cu-who img{display:block;width:100%;height:100%;object-fit:cover}
  .cu-who .cu-dot{inset:auto -1px 1px auto;width:15px;height:15px;border:2.5px solid var(--card)}
  .cu-clock{font-size:12px;padding:1px 8px}
  .cu-live-acts{margin-left:0}
  .cu-live-acts .btn{flex:1 1 0}
  /* picker: five compact one-line tiles */
  .cu-opts{grid-template-columns:1fr;gap:8px}
  .cu-opt{min-height:58px;padding:8px 14px 8px 8px;gap:12px;border-radius:18px !important}
  .cu-oi{width:40px;height:40px;border-radius:13px !important}
  .cu-oi svg{width:21px;height:21px}
  .cu-ot b{font-size:15px}
  .cu-ot small{display:none}
  .cu-out{padding:18px;border-radius:28px !important}
  .cu-best{padding:14px}
  /* bento: call card stacked; other cards = icon + text, then two labelled buttons across the full width */
  .cu-bento{grid-template-columns:1fr;gap:10px}
  .cu-call{grid-template-columns:1fr;gap:14px 0;padding:22px}
  .cu-call .cu-acts{align-self:stretch}
  .cu-card:not(.cu-call){display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:12px;padding:16px;border-radius:24px !important}
  .cu-card:not(.cu-call) .cu-ic{width:42px;height:42px;border-radius:14px !important}
  .cu-card:not(.cu-call) h3{margin:0;font-size:13px}
  .cu-card:not(.cu-call) .cu-val{font-size:16px;margin-top:1px}
  .cu-card:not(.cu-call) .cu-for{font-size:13px;margin-top:1px}
  .cu-card:not(.cu-call) .cu-acts{grid-column:1/-1;flex-wrap:nowrap;padding-top:12px}
  .cu-acts .btn{flex:1 1 0}
  .cu-map-art{min-height:230px}
  .cu-form .cf-grid{grid-template-columns:1fr}
  /* social: a five-icon strip */
  .cu-socs{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
  .cu-socs a{flex-direction:column;gap:6px;min-height:44px;padding:4px 0;background:none;border:0;font-size:11px;text-align:center}
  .cu-socs a:hover{transform:translateY(-3px)}
  .cu-so{width:48px;height:48px;border-radius:50% !important}
  .cu-sn{max-width:100%}
  .cu-sn b{font-size:11px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .cu-sn small,.cu-ext{display:none}
  .cu-form .acts .cu-send{width:100%}
  /* CTA: full-width buttons like the rest of the page; the sticker is decoration only */
  .cu-cta .o-cta img{display:none}
  .cu-cta .hero-ctas .btn{flex:1 1 100%}
}
@media (max-width:380px){
  .cu-qk{padding-right:8px}
  .cu-qk .cu-ic{width:36px;height:36px}
  .cu-qk b{font-size:15px}
}
@media (prefers-reduced-motion:reduce){
  .cu-art{--cu-s:0}
  .cu-dot::after{animation:none;opacity:0}
  .cu-map.rv .cu-m-pin,.cu-map.rv .cu-m-r{transform:none;opacity:1;transition:none}
  .cu-done-ic svg{stroke-dashoffset:0;animation:none}
}
/* ===== Shared CTA bar (every page): slim bar floats above the bottom of the screen while scrolling,
   then docks as a full-width band just above the footer. Markup: kit/COMPONENTS.md §15 ===== */
.hm-cb-wrap{position:sticky;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:60;margin:48px 0 40px;padding-inline:16px;pointer-events:none;transition:transform .5s var(--spring),opacity .35s}
.hm-cb-wrap.is-hidden{transform:translateY(calc(100% + 40px));opacity:0}
.hm-cb{pointer-events:auto;max-width:min(1080px,calc(100vw - 200px));margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 12px 12px 28px;border-radius:999px !important;
  background:linear-gradient(135deg,#0072F3,#00A2FF)!important;border:0;box-shadow:0 20px 44px -18px rgba(0,114,243,.7);color:#fff;transition:box-shadow .4s,max-width .5s var(--ease)}
.hm-cb-wrap.is-docked .hm-cb{box-shadow:0 10px 28px -20px rgba(0,114,243,.6);max-width:min(1200px,calc(100vw - 32px))}
.hm-cb-txt{display:flex;flex-direction:column;min-width:0}
.hm-cb-txt h2{font-size:clamp(17px,1.7vw,22px);line-height:1.3;font-weight:600;color:#fff;margin:0}
.hm-cb-txt h2 b{font-weight:700}
.hm-cb-txt > span{font-size:13px;color:#fff;opacity:.9}
.hm-cb-act{display:flex;gap:8px;flex:none}
.hm-cb .btn{min-height:46px;padding:0 22px}
.hm-cb .btn.primary{background:#fff!important;border-color:#fff!important;color:#008CFF!important}
.hm-cb .hm-cb-sales{background:transparent!important;border:1.5px solid rgba(255,255,255,.8)!important;color:#fff!important;box-shadow:none!important}
.hm-cb-end{height:1px}
@media (max-width:1100px){.hm-cb{max-width:calc(100vw - 112px)}}
@media (max-width:760px){
  .hm-cb-wrap{bottom:calc(80px + env(safe-area-inset-bottom,0px));padding-inline:10px}
  .hm-cb{max-width:none;padding:8px 8px 8px 18px;gap:10px}
  .hm-cb-txt > span,.hm-cb-sales,.hm-cb-pre{display:none}
  .hm-cb-txt h2{font-size:15px}
  .hm-cb .btn{min-height:44px;padding:0 16px;font-size:14px}
}

.hm-cb-wrap.is-docked{padding-inline:0;margin-bottom:0}
.hm-cb{transition:max-width .6s var(--ease),border-radius .6s var(--ease),padding .6s var(--ease),box-shadow .4s}
.hm-cb-wrap.is-docked .hm-cb{max-width:100%!important;border-radius:0 !important;padding:30px max(24px,calc((100vw - 1200px)/2));box-shadow:none}
.hm-cb-wrap.is-docked .hm-cb-txt h2{font-size:clamp(20px,2.2vw,28px)}
/* leave room for the docked AI panel on wide screens */
/* the floating AI window covers the bottom-right corner: the bar slides left of it while it is open */
@media (min-width:1024px){html.ai-open .hm-cb-wrap:not(.is-docked){padding-right:430px}html.ai-open .hm-cb-wrap:not(.is-docked) .hm-cb{max-width:none}}
@media (max-width:760px){.hm-cb-x .hm-cb-a{display:none}.hm-cb-x .hm-cb-pre{display:inline}}
/* tablet: the floating dock sits on the right edge, so the bar keeps clear of it */
@media (min-width:621px) and (max-width:1100px){.hm-cb-wrap:not(.is-docked){padding-right:100px}.hm-cb-wrap:not(.is-docked) .hm-cb{max-width:none}}
/* ===== HumanSoft CI layer (HumanSoft-CI.pdf, dev summary 14/10/2026 — pending Marketing sign-off) =====
   Loaded after page CSS on every page. Colours: Deep Blue #008CFF (headings, borders, buttons), Light Blue #289FFF,
   Vivid Orange #FF6100 / Light Orange #FF8100 (accent only), Pale Blue #E4EEF8 (cards), White, Black,
   gradient #0072F3 → #00A2FF at −45°. Text colours limited to black / white / blue / orange. No green/red.
   Content pages stay light (no full dark pages) → dark mode is switched off. Font: Anuphan only.
   Hard-coded hex colours in page CSS/JS are snapped to this palette at build time (kit/build.py ci_map). */
:root,:root[data-theme="dark"],:root:not([data-theme="light"]){
  color-scheme:light;
  --blue:#008CFF; --blue-2:#008CFF; --blue-sky:#289FFF; --blue-l:#E4EEF8; --blue-xl:#E4EEF8;
  --orange:#FF6100; --orange-2:#FF6100; --orange-3:#FF8100; --orange-l:#FFF1E8;
  --ink:#000000; --mid:#000000; --muted:#000000; --line:#E4EEF8;
  --ground:#FFFFFF; --ground-2:#E4EEF8; --card:#FFFFFF;
  --green:#008CFF; --green-l:#E4EEF8; --red:#FF6100; --red-l:#FFF1E8;
  --glass-bg:rgba(255,255,255,.88); --glass-bg-2:rgba(255,255,255,.74); --glass-edge:rgba(255,255,255,.9); --glass-rim:rgba(0,114,243,.10);
  --glass-shadow:0 18px 50px -22px rgba(0,114,243,.35); --spec:rgba(255,255,255,.9);
  --blob-a:rgba(0,140,255,.24); --blob-b:rgba(255,97,0,.12); --blob-c:rgba(40,159,255,.30);
  --night:#0072F3; --night-2:#00A2FF; --on-night:#FFFFFF; --on-night-2:#FFFFFF;
  --ci-grad:linear-gradient(135deg,#0072F3 0%,#00A2FF 100%);
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){color-scheme:light}}

/* secondary text: black (CI) with hierarchy from size/weight instead of grey */
.lead,.note,.crumb,small,.plabel{color:#000}

/* blue bands use the CI gradient (−45°: dark top-left → light bottom-right) with white text */
.night{background:var(--ci-grad)!important;color:#fff}
.night .lead,.night p,.night small,.night .plabel,.night li{color:#fff}
.night .h-sec em,.night h2 em,.night h1 em{background:none!important;-webkit-text-fill-color:#fff!important;color:#fff!important}
.night .kick{color:#fff}
.glow{display:none}

/* buttons: Deep Blue is the button colour; orange is accent only */
.btn.primary,.btn.blue{background:#008CFF!important;border-color:#008CFF!important;color:#fff!important;box-shadow:0 14px 34px -14px rgba(0,140,255,.7)!important}
.btn.primary:hover,.btn.blue:hover{background:#0072F3!important;border-color:#0072F3!important}
.night .btn.primary,.night .btn.blue{background:#fff!important;border-color:#fff!important;color:#008CFF!important}
.dock a.try-free{background:#FF6100!important}

/* headline accents: blue only (orange stays for numbers / warnings) */
.h-sec em,.hero .display .ln:nth-child(2) > span{background-image:linear-gradient(90deg,#0072F3,#00A2FF,#0072F3)!important}
h1 em{background:none!important;-webkit-text-fill-color:#008CFF!important;color:#008CFF!important}
.night h1 em{-webkit-text-fill-color:#fff!important;color:#fff!important}
.kick b{background:#FF6100;color:#fff}
.kick{color:#008CFF}

/* free-trial calls to action (ทดลองใช้ฟรี 30 วัน / เริ่มใช้งานฟรี / ทดลองใช้งานฟรี) are orange — Marketing decision 25/10/2026 */
a.btn[href*="/registration"]:not(#_){background:#FF6100!important;border-color:#FF6100!important;color:#fff!important;box-shadow:0 14px 34px -14px rgba(255,97,0,.75)!important}
a.btn[href*="/registration"]:not(#_):hover{background:#FF8100!important;border-color:#FF8100!important}
.msheet a[href*="/registration"]:not(.btn){color:#FF6100}
/* ===== HumanSoft AI assistant: floating chat widget (bottom-right) with LINE / phone as secondary contact options =====
   Launcher .ai-fab = one "ถาม AI" button · panel floats over the page (never pushes content) · LINE / โทร 1537 sit inside it.
   The old shell dock (#dock) is kept in the DOM for page scripts that read it, but hidden: its LINE/contact moved here. */
#dock{display:none!important}

.ai-fab{position:fixed;z-index:72;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(18px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;align-items:center;gap:10px;transition:opacity .3s,transform .45s var(--spring)}
html.ai-open .ai-fab{opacity:0;pointer-events:none;transform:translateY(16px) scale(.9)}
/* main launcher: the emphasised one */
.ai-tab{position:relative;width:72px;height:72px;border:0;border-radius:24px !important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  background:linear-gradient(135deg,#0072F3,#00A2FF);color:#fff;font:700 12.5px/1.1 var(--f);cursor:pointer;box-shadow:0 18px 36px -14px rgba(0,114,243,.75);isolation:isolate;transition:transform .45s var(--spring)}
.ai-tab svg{width:26px;height:26px}
.ai-tab:hover{transform:translateY(-3px) scale(1.04)}
.ai-tab .ai-dot{position:absolute;top:-3px;right:-3px;width:14px;height:14px;border-radius:50% !important;background:#FF6100;box-shadow:0 0 0 3px #fff}

.ai-panel{position:fixed;z-index:73;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(18px + env(safe-area-inset-bottom,0px));width:390px;max-width:calc(100vw - 32px);height:min(640px,calc(100vh - 110px));
  display:flex;flex-direction:column;border-radius:26px !important;overflow:hidden;background:#fff;border:1px solid #E4EEF8;box-shadow:0 34px 80px -30px rgba(0,58,140,.5);
  transform-origin:100% 100%;transform:translateY(16px) scale(.92);opacity:0;visibility:hidden;transition:transform .45s var(--spring),opacity .25s,visibility 0s .45s}
html.ai-open .ai-panel{transform:none;opacity:1;visibility:visible;transition:transform .45s var(--spring),opacity .25s,visibility 0s}
.ai-head{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 18px;background:linear-gradient(135deg,#0072F3,#00A2FF);color:#fff}
.ai-ava{width:40px;height:40px;border-radius:14px !important;background:rgba(255,255,255,.18);display:grid;place-items:center;flex:none}
.ai-ava svg{width:24px;height:24px}
.ai-head b{display:block;font-size:16px}
.ai-head small{font-size:12px;color:#fff;opacity:.9}
.ai-head .ai-x{margin-left:auto;width:38px;height:38px;border-radius:50% !important;border:0;background:rgba(255,255,255,.18);color:#fff;display:grid;place-items:center;cursor:pointer}
.ai-head .ai-x:hover{background:rgba(255,255,255,.3)}
.ai-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#E4EEF8;overscroll-behavior:contain}
.ai-msg{max-width:88%;padding:11px 14px;border-radius:18px !important;font-size:15px;line-height:1.6;color:#000;white-space:pre-line;animation:aiIn .35s var(--ease)}
.ai-msg.bot{align-self:flex-start;background:#fff;border:1px solid #E4EEF8;border-bottom-left-radius:6px !important}
.ai-msg.me{align-self:flex-end;background:#008CFF;color:#fff;border-bottom-right-radius:6px !important}
.ai-msg a{color:#008CFF;font-weight:600}
.ai-msg .ai-src{display:block;margin-top:8px;font-size:12px;color:#000;opacity:.7}
@keyframes aiIn{from{transform:translateY(8px);opacity:0}}
.ai-typing{display:inline-flex;gap:4px;padding:14px}
.ai-typing i{width:7px;height:7px;border-radius:50% !important;background:#289FFF;animation:aiDot 1s infinite}
.ai-typing i:nth-child(2){animation-delay:.15s}.ai-typing i:nth-child(3){animation-delay:.3s}
@keyframes aiDot{40%{transform:translateY(-5px);background:#008CFF}}
.ai-chips{display:flex;flex-wrap:wrap;gap:6px;align-self:flex-start;max-width:100%}
.ai-chips button{border:1px solid #289FFF;background:#fff;color:#008CFF;border-radius:999px !important;padding:7px 12px;font:500 13px/1.3 var(--f);cursor:pointer;text-align:left}
.ai-chips button:hover{background:#E4EEF8}
.ai-form{display:flex;gap:8px;padding:12px 12px 8px;border-top:1px solid #E4EEF8;background:#fff}
.ai-form input{flex:1;min-width:0;border:1px solid #E4EEF8;border-radius:999px !important;padding:11px 16px;font:15px var(--f);color:#000;background:#E4EEF8}
.ai-form input:focus{outline:2px solid #008CFF;outline-offset:1px}
.ai-form button{width:46px;height:46px;flex:none;border:0;border-radius:50% !important;background:#008CFF;color:#fff;display:grid;place-items:center;cursor:pointer}
.ai-form button[disabled]{opacity:.45}
/* secondary: talk to a person */
.ai-contact{display:flex;align-items:center;gap:8px;padding:4px 12px 10px;background:#fff;font-size:12.5px}
.ai-contact > span{margin-right:auto;color:#000}
.ai-contact a{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border-radius:999px !important;font-weight:600;text-decoration:none;font-size:12.5px}
.ai-contact .ai-c-line{background:#008CFF;color:#fff}.ai-contact .ai-c-line img{width:16px;height:16px}
.ai-contact .ai-c-call{border:1px solid #E4EEF8;color:#008CFF}.ai-contact .ai-c-call svg{width:14px;height:14px;stroke:#008CFF;fill:none;stroke-width:2.2}
.ai-note{margin:0;padding:0 14px 10px;font-size:11px;color:#000;opacity:.65;background:#fff}

/* phones: launcher = AI only (LINE / call live inside the sheet); panel becomes a bottom sheet */
@media (max-width:620px){
  .ai-fab{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}
  .ai-tab{width:62px;height:62px;border-radius:22px !important;font-size:11.5px}
  .ai-tab svg{width:22px;height:22px}
  .ai-panel{left:8px;right:8px;bottom:8px;width:auto;max-width:none;height:min(80vh,640px);transform:translateY(calc(100% + 24px))}
}
@media (prefers-reduced-motion:reduce){.ai-panel,.ai-fab,.ai-msg{transition:none!important;animation:none!important}}

/* ===== "ถาม AI" launcher: alive enough to invite a tap (respects reduced motion) ===== */
.ai-tab::before{content:"";position:absolute;inset:-4px;border-radius:28px !important;z-index:-1;background:conic-gradient(from var(--ai-a,0deg),#FF6100,#00A2FF,#008CFF,#FF8100,#FF6100);animation:aiSpin 3s linear infinite;filter:blur(1px)}
.ai-tab::after{content:"";position:absolute;inset:0;border-radius:inherit !important;z-index:-1;background:linear-gradient(135deg,#0072F3,#00A2FF);box-shadow:0 0 0 0 rgba(0,140,255,.55);animation:aiRing 2.4s ease-out infinite}
.ai-tab svg{animation:aiWiggle 4.8s ease-in-out infinite;transform-origin:50% 60%}
.ai-tab .ai-dot{animation:aiDotPulse 1.6s ease-in-out infinite}
@property --ai-a{syntax:"<angle>";inherits:false;initial-value:0deg}
@keyframes aiSpin{to{--ai-a:360deg}}
@keyframes aiRing{0%{box-shadow:0 0 0 0 rgba(0,140,255,.55)}80%,100%{box-shadow:0 0 0 16px rgba(0,140,255,0)}}
@keyframes aiWiggle{0%,82%,100%{transform:rotate(0)}86%{transform:rotate(-14deg) scale(1.15)}90%{transform:rotate(12deg) scale(1.15)}94%{transform:rotate(-6deg)}}
@keyframes aiDotPulse{50%{transform:scale(1.35)}}
.ai-bubble{position:fixed;z-index:72;right:104px;bottom:calc(30px + env(safe-area-inset-bottom,0px));max-width:240px;padding:12px 16px;border-radius:18px 18px 4px 18px !important;background:#fff;border:1px solid #E4EEF8;box-shadow:0 18px 40px -18px rgba(0,114,243,.55);font:500 14px/1.45 var(--f);color:#000;cursor:pointer;
  opacity:0;transform:translateX(16px) scale(.9);transform-origin:100% 100%;pointer-events:none;transition:opacity .35s,transform .5s var(--spring)}
.ai-bubble b{color:#008CFF}
.ai-bubble.show{opacity:1;transform:none;pointer-events:auto}
html.ai-open .ai-bubble{display:none}
@media (max-width:620px){.ai-bubble{right:12px;bottom:calc(160px + env(safe-area-inset-bottom,0px))}}
@media (prefers-reduced-motion:reduce){.ai-tab::before,.ai-tab::after,.ai-tab svg,.ai-tab .ai-dot{animation:none!important}}

/* ===== docked mode: the expand button in the header pins the assistant beside the page (≥1100px) ===== */
.ai-dockbtn{margin-left:auto}
.ai-dockbtn + .ai-x{margin-left:6px!important}
html.ai-dock .ai-dock-arr{transform:rotate(180deg);transform-origin:9px 12px}
@media (max-width:1099px){.ai-dockbtn{display:none}.ai-dockbtn + .ai-x{margin-left:auto!important}}
@media (min-width:1100px){
  html.ai-dock .ai-panel{top:calc(env(safe-area-inset-top,0px) + 86px);bottom:16px;height:auto;width:380px;transform-origin:100% 50%;transform:translateX(calc(100% + 32px))}
  html.ai-dock.ai-open .ai-panel{transform:none}
  html.ai-dock.ai-open body{padding-right:404px;transition:padding .45s var(--ease)}
  html.ai-dock.ai-open .hm-cb-wrap:not(.is-docked){padding-right:16px}
}
/* in-chat sign-up ("สนใจสมัครใช้งาน"): orange call-to-action chip, step counter, answer summary, consent */
.ai-chips button.ai-lead{background:linear-gradient(135deg,#FF6100,#FF6100);border-color:#FF6100;color:#fff;font-weight:700;box-shadow:0 8px 18px -10px rgba(255,97,0,.8)}
.ai-chips button.ai-lead:hover{background:#FF6100}
.ai-chips button.ai-x2{border-color:#E4EEF8;color:#008CFF;font-size:12px;padding:5px 10px}
.ai-chips button.ai-x2:hover{background:#E4EEF8}
.ai-msg .ai-step{display:block;margin-top:6px;font-size:11.5px;color:#008CFF}
.ai-pdpa{display:flex;gap:6px;align-items:flex-start;font-size:12px;line-height:1.45;color:#008CFF}
.ai-pdpa input{margin:2px 0 0;accent-color:#008CFF;flex:none}
.ai-pdpa a{color:#008CFF}
.ai-ok{display:inline-grid;place-items:center;width:22px;height:22px;margin-right:4px;border-radius:50% !important;background:#008CFF;color:#fff;font-size:13px;vertical-align:-4px}
.ai-dim{color:#000000;font-weight:400}
.ai-pdpa.ai-need{outline:2px solid #FF6100;outline-offset:4px;border-radius:6px !important}
.ai-chips button:disabled{opacity:.5;cursor:default}
/* "ลงทะเบียนสำเร็จ" card (same content as the registration success page, without the password) */
.ai-msg.bot.ai-msg-reg{max-width:100%;width:100%;white-space:normal;padding:16px 14px}
.ai-reg{display:grid;gap:8px;justify-items:center;text-align:center;font-size:14px}
.ai-reg-h{font-size:18px;color:#008CFF}
.ai-reg-ic{width:64px;height:64px;border-radius:50% !important;background:#E4EEF8;display:grid;place-items:center;font-size:34px;line-height:1}
.ai-hs{color:#008CFF}.ai-hs i{font-style:normal;color:#FF6100}
.ai-reg-d{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 8px;width:100%;margin:2px 0 0;padding:10px 12px;border:1px solid #E4EEF8;border-radius:12px !important;text-align:left;font-size:13px}
.ai-reg-d dt{color:#008CFF}.ai-reg-d dd{margin:0;font-weight:600;word-break:break-word}
.ai-reg-url{width:100%;padding:8px 10px;border:1px solid #E4EEF8;border-radius:10px !important;font-size:13px;word-break:break-all}
.ai-reg-url a{color:#008CFF;font-weight:600}
.ai-reg small{font-size:11.5px;line-height:1.5;color:#000000}.ai-reg small em{font-style:normal;color:#FF6100}
.ai-reg-go,.ai-reg-ct{display:block;width:100%;padding:10px 12px;border-radius:999px !important;font:700 14px/1.3 var(--f);text-align:center;text-decoration:none;cursor:pointer}
.ai-msg .ai-reg-go{background:#008CFF;color:#fff;border:0;box-shadow:0 10px 20px -12px rgba(0,140,255,.9)}.ai-msg .ai-reg-go:hover{background:#0072F3}   /* CI blue (kit/build maps off-palette colours) */
.ai-reg-ct{background:#fff;color:#008CFF;border:1.5px solid #289FFF}.ai-reg-ct:hover{background:#E4EEF8}.ai-reg-ct:disabled{opacity:.55;cursor:default}
.ai-ct{display:flex;gap:6px;margin-top:8px}
.ai-msg .ai-ct a{flex:1;padding:8px 10px;border-radius:999px !important;text-align:center;font-weight:700;font-size:13px;text-decoration:none}
.ai-msg .ai-ct-tel{border:1.5px solid #289FFF;color:#008CFF}.ai-msg .ai-ct-line{background:#008CFF;color:#fff}

/* ===== override ฝั่งเรา: ผู้ช่วย AI เป็น drawer (desktop) / เต็มหน้า (mobile) ===== */
.ai-tab::after{border-radius:24px!important}
/* วงแสงรอบปุ่ม "ถาม AI": เพิ่มฟ้าสว่าง #2ED1FF คั่นระหว่างส้ม #FF6100 กับฟ้าสด #00A2FF และระหว่างฟ้า #008CFF กับส้มอ่อน #FF8100 (ของ MKT ไม่มีสีนี้) */
.ai-tab::before{background:conic-gradient(from var(--ai-a,0deg),#FF6100,#2ED1FF,#00A2FF,#008CFF,#2ED1FF,#FF8100,#FF6100)!important}
/* มือถือ/แท็บเล็ตเล็ก (≤760px): แถบ "ลองใช้จริง ฟรี 30 วัน" (#start .hm-cb-wrap) วางแถวเดียวกับปุ่ม "ถาม AI" (ชิดซ้ายของปุ่ม) ไม่ลอยอยู่เหนือปุ่ม (มติ ผู้ใช้ 4 พ.ย. 2026)
   ของ MKT ตั้ง bottom:80px เพื่อเว้นที่ให้ dock (LINE/โทร) แต่ทุกหน้าของ MKT ซ่อน dock ไว้เอง (#dock{display:none!important}) → ไม่มีอะไรให้เว้น
   ขนาดปุ่ม AI: ≤620px = 72px (เดิม 62px · ขยายให้ใหญ่สุดในแถว 5 พ.ย. 2026) ชิดขวา 12px ล่าง 12px · 621–760px = 72px ชิดขวา 16px ล่าง 18px
   ใช้ html นำหน้าเพื่อชนะกฎของ MKT (.hm-cb-wrap:not(.is-docked){padding-right:…}) ที่มี specificity สูงกว่า */
@media (max-width:760px){
  html .hm-cb-wrap{bottom:calc(18px + env(safe-area-inset-bottom,0px))}
  html .hm-cb-wrap:not(.is-docked){padding-right:calc(16px + 72px + 10px)}
}
@media (max-width:620px){
  html .hm-cb-wrap{bottom:calc(12px + env(safe-area-inset-bottom,0px))}
  html .hm-cb-wrap:not(.is-docked){padding-right:calc(12px + 62px + 8px)}
}
/* มือถือ (≤620px): แถบลอย "ลองใช้จริง ฟรี 30 วัน" (ข้อความตกเป็น 2 บรรทัด เบียดปุ่ม) แตกเป็น 3 ปุ่มให้เลือก = dock เดิมของ MKT (#dock: LINE แชทกับเรา · ติดต่อเรา · ทดลองใช้ฟรี)
   วางแถวเดียวกับปุ่ม "ถาม AI" ซึ่งใหญ่สุด 72px (มติ ผู้ใช้ 5 พ.ย. 2026) · กฎของ dock + ปุ่ม AI อยู่ใน src/app/globals.css (ไฟล์นี้ถูก generate ซ้ำ)
   ที่นี่แค่ซ่อนแถบตอนลอย (ปุ่มทดลองใช้ฟรีอยู่ใน dock แล้ว) · ตอนลงไปเป็นแถบเต็มจอเหนือ footer (.is-docked) แสดงตามเดิม */
@media (max-width:620px){
  html .hm-cb-wrap:not(.is-docked){opacity:0;visibility:hidden;pointer-events:none}
}
/* bubble ข้อความของปุ่ม "ถาม AI" (.ai-bubble): แถบทดลองใช้ฟรีลงมาอยู่ข้างปุ่มแล้ว → bubble ลงมาติดเหนือปุ่ม (ห่าง 10px) · MKT ตั้ง bottom:160px เพื่อเว้นที่ให้แถบที่เคยอยู่เหนือปุ่ม
   621–760px: ของ MKT วาง bubble ทางซ้ายของปุ่ม (right:104px) ซึ่งตอนนี้ทับแถบทดลองใช้ฟรี → วางเหนือปุ่มแทน · ขนาดปุ่ม AI: 72px ชิดขวา 16px ล่าง 18px (≤620px: 72px · 12px · 12px) */
@media (max-width:760px){
  html .ai-bubble{right:16px;bottom:calc(18px + 72px + 10px + env(safe-area-inset-bottom,0px))}
}
@media (max-width:620px){
  html .ai-bubble{right:12px;bottom:calc(12px + 72px + 10px + env(safe-area-inset-bottom,0px))}
}
/* ลดภาระเครื่อง (ไม่ลดเอฟเฟกต์): section ที่อยู่นอกจอไม่ต้องเรนเดอร์/เล่นแอนิเมชัน
   1) RedesignRuntime ใส่ data-rd-off ให้ section ที่ห่างจอเกิน ~1 หน้าจอ → หยุดแอนิเมชัน CSS ข้างใน (กลับมาเล่นต่อจากจุดเดิมเมื่อเลื่อนใกล้)
   2) content-visibility:auto ข้ามการ layout/paint ของ section ที่ยังไม่ถึง · ไม่ใส่ที่ hero / scene / rail (เลื่อนแบบปักค้าง) / cb-wrap (sticky) */
#rd-root [data-rd-off],#rd-root [data-rd-off] *,#rd-root [data-rd-off] *::before,#rd-root [data-rd-off] *::after{animation-play-state:paused!important}
/* 3) backdrop-filter (blur) เป็นของแพงสุดของ GPU — หน้านี้มี ~127 ชิ้น · ปิดเฉพาะใน section ที่ห่างจอเกิน 1 หน้าจอ (มองไม่เห็นอยู่แล้ว) เลื่อนเข้าใกล้ก็กลับมาก่อนถึงจอ */
#rd-root [data-rd-off],#rd-root [data-rd-off] *{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
/* แถบคุกกี้ (component กลาง · globals.css เป็นแถบเหลี่ยมเต็มความกว้าง) ในหน้านี้ให้โค้งตามดีไซน์ MKT: การ์ดลอย radius 24 · ปุ่มเม็ดยา · กระจกฝ้า
   CSS นี้โหลดเฉพาะหน้าที่เปิดดีไซน์ใหม่ (<link> ถูกถอดเมื่อออกจากหน้า) หน้าอื่นไม่เปลี่ยน */
.cookie-consent-banner{box-sizing:border-box;padding:10px max(16px,env(safe-area-inset-right,0px)) 10px max(16px,env(safe-area-inset-left,0px));
  background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);
  border:solid #E4EEF8;border-width:1px 0;box-shadow:0 18px 50px -24px rgba(0,58,140,.35);font-family:var(--f)}
.cookie-consent-btns button{border-radius:999px !important;min-height:44px;font-family:var(--f)}
/* แถบเลื่อนของแถวการ์ดฟีเจอร์ (.hm-rail-track): globals.css ของเว็บเรากำหนด ::-webkit-scrollbar สีเทา + ปุ่มลูกศรทั้งเว็บ (ชนะ scrollbar-width:thin ของ MKT)
   → ออกแบบใหม่ตามธีม: ราง = ฟ้าจาง · ตัวเลื่อน = ไล่สีฟ้าแบรนด์ทรงเม็ดยา · ชี้แล้วฟ้าเข้มขึ้นนิดหน่อย · ไม่มีปุ่มลูกศร
   (::-webkit-scrollbar ใช้ได้เมื่อ scrollbar-width/color เป็น auto เท่านั้น → ตั้ง auto ให้ Chrome/Edge · Firefox ใช้ scrollbar-color ด้านล่าง) */
#rd-root .hm-rail-track,#rd-root .hm-tx-rail{scrollbar-width:auto!important;scrollbar-color:auto!important}
#rd-root .hm-rail-track::-webkit-scrollbar{height:12px!important;width:12px!important;display:block!important}
#rd-root .hm-rail-track::-webkit-scrollbar-button{display:none!important;width:0!important;height:0!important}
#rd-root .hm-rail-track::-webkit-scrollbar-track{background:rgba(0,140,255,.10)!important;border-radius:999px!important;margin:0 24px}
#rd-root .hm-rail-track::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#008CFF,#00A2FF)!important;border:3px solid transparent!important;background-clip:padding-box!important;border-radius:999px!important}
#rd-root .hm-rail-track::-webkit-scrollbar-thumb:hover{background:linear-gradient(90deg,#0072F3,#008CFF)!important;background-clip:padding-box!important}
@supports (-moz-appearance:none){#rd-root .hm-rail-track{scrollbar-width:thin!important;scrollbar-color:#008CFF rgba(0,140,255,.10)!important}}
/* ไอคอนในปุ่มกลางวง (.ta-fp ลายนิ้วมือ · .ta-bio · .of-pad): Tailwind preflight ของเว็บเรากำหนด svg{display:block} (ในชุดต้นฉบับ svg เป็น inline จึงถูกจัดกึ่งกลางด้วย text-align:center ของปุ่ม)
   พอเป็น block ไอคอนชิดซ้ายของปุ่ม → จัดกึ่งกลางแนวนอนเอง */
#rd-root :is(.ta-fp,.ta-bio button,.of-pad)>.ta-ic{margin-inline:auto}
/* class .ring ของ MKT (โดนัท "252 คน") ชนกับ utility .ring ของ Tailwind ในเว็บเรา (box-shadow 0 0 0 1px = เส้นขอบดำ) — ในชุดต้นฉบับไม่มี Tailwind จึงไม่มีเส้น */
#rd-root .ring{--tw-ring-shadow:0 0 #0000;--tw-ring-offset-shadow:0 0 #0000;box-shadow:none}
/* ส่วน "ทุกช่องทาง": ข้อความ "เมนู องค์กร › ข้อมูลพนักงาน" ใต้คำอธิบายนอกจอจำลอง — เอาออกตามที่ขอ (breadcrumb ในจอจำลอง .fx-crumb ยังอยู่) */
.fx-path{display:none!important}
/* section .t-plain (หน้าฟีเจอร์: หัวข้อ + ย่อหน้า + รายการข้อ) ซ่อนไว้ก่อนตามที่ขอ — ยังอยู่ใน HTML · ลบบรรทัดนี้เพื่อเอากลับ */
#rd-root .t-plain{display:none!important}

/* ไม่มีปุ่มสลับ "ย่อเป็นหน้าต่างลอย" — ใช้โหมดปักแผง/drawer แบบเดียว (สคริปต์ตั้ง dock เป็นค่าเริ่มต้นเอง) */
.ai-head .ai-dockbtn{display:none!important}
.ai-head .ai-dockbtn + .ai-x,.ai-head .ai-x{margin-left:auto!important}
/* drawer เลื่อนเข้า-ออกเรียบ ๆ ไม่เด้ง (ของ MKT ใช้ --spring) */
.ai-panel{transition:transform .3s ease,opacity .2s ease,visibility 0s .3s}
html.ai-open .ai-panel{transition:transform .3s ease,opacity .2s ease,visibility 0s}
@media (min-width:1100px){
  /* โหมดปักแผง (จำค่าไว้ใน localStorage) เดิมลอยเป็นการ์ดมุมโค้งใต้ header — ทำให้เป็น drawer เต็มสูงเหมือนโหมดปกติ (กว้าง 404px = ช่องที่เว็บเว้นให้) */
  /* ผู้ช่วยปักข้างจอ (เนื้อหาถูกดันซ้าย 404px) → แถบคุกกี้คาดเต็มพื้นที่ที่เหลือ ไม่ลอดใต้ drawer */
  html.ai-dock.ai-open .cookie-consent-banner{right:404px}
  html.ai-dock .ai-panel{top:0;bottom:0;right:0;height:100vh;height:100dvh;width:404px;border-radius:0 !important;border-width:0 0 0 1px;box-shadow:-24px 0 60px -30px rgba(0,58,140,.45)}
}
@media (max-width:620px){
  .ai-panel{inset:0;left:0;right:0;top:0;bottom:0;width:100%;max-width:none;height:100vh;height:100dvh;border-radius:0 !important;border-width:0;box-shadow:none;transform:translateY(100%)}
  .ai-head{padding-top:calc(14px + env(safe-area-inset-top,0px))}
  .ai-note{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
}
/* drawer ของจอใหญ่ — media สุดท้ายของไฟล์ ห้ามมี media ต่อจากนี้ */
@media (min-width:621px){
  .ai-panel{top:0;bottom:0;right:0;height:100vh;height:100dvh;width:420px;max-width:100vw;border-radius:0 !important;border-width:0 0 0 1px;
    transform-origin:100% 50%;transform:translateX(100%);box-shadow:-24px 0 60px -30px rgba(0,58,140,.45)}
  .ai-head{padding-top:calc(14px + env(safe-area-inset-top,0px))}
}
