
/* ===== page ===== */
/* ================= PRICE PAGE (prefix .pr-) =================
   Reuses core: .p-hero .hero2 .hero-pts .crumb .o-chip .kick .h-sec .lead .sec-head .seg .plans .plan .badge .pf
   .tools .trow .sbox .res-meta .faq-wrap .faq .o-cta .btn .glass .night .rv .num .nw .sr .plan-note .more .note */

/* ---------- PAGE TOKENS (light, then dark) ----------
   --muted / --green are darkened for AA on this page's small labels (proposed for core, see NOTES).
   --pr-orange-t / --pr-blue-t = orange / blue for small text; --pr-em = heading highlight; --pr-fade / --pr-halo = hero art */
:root{
  --muted:#000000; --green:#008CFF;
  --pr-orange-t:#FF6100; --pr-blue-t:#008CFF;
  --pr-em:linear-gradient(90deg,#008CFF,#008CFF 50%,#008CFF);
  --pr-fade:linear-gradient(#000 84%,transparent 99%);
  --pr-halo:linear-gradient(170deg,var(--blue-l),color-mix(in srgb,var(--blue-sky) 50%,transparent) 55%,color-mix(in srgb,var(--blue) 18%,transparent));
  --pr-rec-col:color-mix(in srgb,var(--orange) 9%,var(--card)); --pr-rec-h:var(--pr-orange-t);
  --pr-night-edge:transparent;
}

/* ---------- SHELL PATCHES (this page only, until kit/core adopts them — see NOTES) ---------- */
/* header over a dark band: night glass + on-night text (class set by page.js) */
.nav-in{transition:background .35s}
html.pr-nav-night .nav-in{background:linear-gradient(135deg,rgba(10,24,40,.82),rgba(10,24,40,.64));--glass-edge:rgba(255,255,255,.16);--glass-rim:rgba(0,0,0,.4);--spec:rgba(255,255,255,.22)}
html.pr-nav-night .menu > li > a,html.pr-nav-night .menu > li > button{color:var(--on-night-2)}
html.pr-nav-night .menu > li:hover > button,html.pr-nav-night .menu > li > button[aria-expanded=true],html.pr-nav-night .menu > li > a:hover{color:var(--on-night);background:rgba(255,255,255,.1)}
html.pr-nav-night .menu > li > .mtop.cur{color:#289FFF}
html.pr-nav-night .nav-r .lang,html.pr-nav-night .nav-r .btn.login{--glass-bg:rgba(255,255,255,.12);--glass-bg-2:rgba(255,255,255,.04);--glass-edge:rgba(255,255,255,.22)}
html.pr-nav-night .nav-r .lang a:not([aria-current=true]){color:var(--on-night-2)}
html.pr-nav-night .nav-r .btn.login{color:#289FFF}
html.pr-nav-night .burger{background:rgba(255,255,255,.12)}
html.pr-nav-night .burger span,html.pr-nav-night .burger span::before,html.pr-nav-night .burger span::after{background:var(--on-night)}
html.pr-nav-night .burger[aria-expanded=true] span{background:transparent}
/* floating dock 621–1359px: same bottom pill as on phones, so it never sits on the content's right edge */
@media (min-width:621px) and (max-width:1359px){
  .dock{flex-direction:row;align-items:center;right:50%;transform:translateX(50%);gap:6px;padding:6px;bottom:calc(14px + env(safe-area-inset-bottom,0px))}
  .dock a{width:44px;height:44px}
  .dock a img{width:24px;height:24px}
  .dock a.try-free{width:auto;padding:0 16px;border-radius:999px !important;font-size:14px;white-space:nowrap}
  .dock a.try-free br,.dock a span.tip{display:none}
  .dock.pr-dk-top:not(:focus-within),.dock.pr-dk-down:not(:focus-within),.dock.away:not(:focus-within),.dock.kb,html.sheet-open .dock{transform:translate(50%,calc(100% + 24px))}
  .dock.pr-dk-top:not(:focus-within),.dock.pr-dk-down:not(:focus-within){opacity:0;visibility:hidden;pointer-events:none;transition:transform .4s var(--ease),opacity .3s,visibility 0s .4s}
  footer.site{padding-bottom:calc(30px + 72px + env(safe-area-inset-bottom,0px))}
}
/* dark theme: the night bands sit one step deeper than the page, with a hairline at the top */
.night{border-top:1px solid var(--pr-night-edge)}

/* tinted sections fade in at the top too, so the drifting ambient light is never sliced by a flat edge */
main .tint{background:linear-gradient(180deg,transparent,var(--blue-xl) 14%,transparent 88%)}

/* ---------- TYPE ---------- */
/* blue highlight: AA on the ice ground; sheens once when the heading arrives (page.js adds .pr-in) */
.p-hero h1 em,.h-sec em{background-image:var(--pr-em);animation:none}
.p-hero h1.pr-in em,.h-sec.pr-in em{animation:sheen 2.4s var(--ease) 1 both}
/* no tracking on Thai labels (it pulls vowels and tone marks away from their consonants) */
.kick,.plabel{letter-spacing:0}

/* ---------- HERO ---------- */
.pr-hero-in{align-items:center}
.pr-hero .lead b{color:var(--ink)}
.pr-pts{max-width:620px}
.pr-hero .hero-ctas{margin-top:28px}
.pr-upd{display:flex;align-items:center;gap:8px;margin-top:16px;font-size:13.5px;font-weight:600;color:var(--green)}
.pr-upd i{width:8px;height:8px;border-radius:50% !important;background:var(--green);box-shadow:0 0 0 4px var(--green-l)}
/* art: cleaned cut-out on a halo + two pricing chips (positions are % of the photo so they track it at every size) */
.pr-art{position:relative;width:100%;max-width:460px;margin-inline:auto;padding:4% 7% 0}
.pr-halo{position:absolute;inset:12% 4% 0;border-radius:48% 48% 40px 40px !important;background:var(--pr-halo);overflow:hidden;-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
.pr-halo::before{content:"";position:absolute;inset:0;border-radius:inherit !important;border:1px solid var(--glass-edge)}
.pr-halo i{position:absolute;width:52%;aspect-ratio:1;right:-10%;top:4%;border-radius:50% !important;background:radial-gradient(circle,color-mix(in srgb,var(--orange-3) 55%,transparent),transparent 68%);filter:blur(10px)}
.pr-fig{position:relative;aspect-ratio:632/700;width:100%;max-width:400px;margin-inline:auto}
.pr-person{position:relative;width:100%;height:auto;-webkit-mask-image:var(--pr-fade);mask-image:var(--pr-fade)}
.pr-art .glass{--glass-bg:color-mix(in srgb,var(--card) 84%,transparent);--glass-bg-2:color-mix(in srgb,var(--card) 64%,transparent)}
.pr-art .o-chip i{width:22px;height:22px;border-radius:50% !important;display:grid;place-items:center;background:var(--blue);color:#fff;font-style:normal;font-size:12px}
.pr-c1{left:0;top:14%;animation:none;white-space:nowrap}
.pr-ticket{position:absolute;z-index:2;right:-12%;bottom:15%;padding:12px 16px;border-radius:22px !important}
.pr-ticket small{display:block;font-size:12px;font-weight:600;color:var(--muted)}
.pr-ticket-p{display:flex;align-items:baseline;gap:2px;line-height:1;margin-top:6px;color:var(--blue-2)}
.pr-ticket-p span{font-size:22px;font-weight:700}
.pr-ticket-p b{font-size:clamp(38px,4vw,48px);font-weight:700;letter-spacing:-.05em}
.pr-ticket-p small{font-size:14px;color:var(--mid);margin-left:4px;letter-spacing:0}
.pr-ticket-n{display:block;font-size:12.5px;color:var(--mid);margin-top:6px}
.pr-year{position:absolute;z-index:2;right:-10%;top:7%;width:min(196px,46%);padding:12px 14px 14px;border-radius:20px !important}
.pr-year small{display:block;font-size:11.5px;font-weight:600;color:var(--muted)}
.pr-year b{display:block;font-size:14px;line-height:1.35;margin-top:2px}
.pr-months{display:flex;gap:3px;margin-top:9px}
.pr-months i{flex:1;height:8px;border-radius:3px !important;background:var(--blue);transform-origin:50% 100%}
.pr-months i.f{background:linear-gradient(180deg,var(--orange-2),var(--orange-3))}
.pr-year .pr-months i{animation:prFill .6s var(--spring) both}
.pr-year .pr-months i:nth-child(1){animation-delay:0.57s}.pr-year .pr-months i:nth-child(2){animation-delay:0.64s}.pr-year .pr-months i:nth-child(3){animation-delay:0.71s}.pr-year .pr-months i:nth-child(4){animation-delay:0.78s}.pr-year .pr-months i:nth-child(5){animation-delay:0.85s}.pr-year .pr-months i:nth-child(6){animation-delay:0.92s}.pr-year .pr-months i:nth-child(7){animation-delay:0.99s}.pr-year .pr-months i:nth-child(8){animation-delay:1.06s}.pr-year .pr-months i:nth-child(9){animation-delay:1.13s}.pr-year .pr-months i:nth-child(10){animation-delay:1.20s}.pr-year .pr-months i:nth-child(11){animation-delay:1.27s}.pr-year .pr-months i:nth-child(12){animation-delay:1.34s}
/* tablet: keep copy and art side by side so the text column doesn't stop half way */
@media (min-width:761px) and (max-width:960px){
  .pr-hero-in{grid-template-columns:minmax(0,1fr) minmax(0,300px)}
  .pr-art{padding-inline:4%}
  .pr-year{right:-6%;width:52%}
  .pr-ticket{right:-6%}
  .pr-ticket-p b{font-size:34px}
  .pr-pts{grid-template-columns:1fr}
}
@media (max-width:760px){
  .pr-art{max-width:400px;margin-top:6px}
}
/* phones: shorter first screen — the package names and the last two points repeat what follows */
@media (max-width:620px){
  .pr-lx,.pr-pts .pr-pt-x{display:none}
}
@media (max-width:560px){
  .pr-art{max-width:350px;padding-inline:9%}
  .pr-ticket{right:-6%;padding:9px 12px;border-radius:18px !important}
  .pr-ticket-p b{font-size:32px}
  .pr-ticket-p span{font-size:18px}
  .pr-ticket-n{font-size:11px}
  .pr-year{right:-6%;top:3%;width:47%;padding:9px 11px}
  .pr-year b{font-size:12.5px}
}

/* ---------- PRICES: control bar ---------- */
.pr-stage{margin-top:34px}
.pr-bar{z-index:6;display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;padding:10px 12px 10px 22px;border-radius:30px !important;--glass-bg:color-mix(in srgb,var(--card) 78%,transparent);--glass-bg-2:color-mix(in srgb,var(--card) 58%,transparent)}
.pr-emp{display:flex;align-items:center;gap:10px}
.pr-q{font-size:15px;font-weight:600;color:var(--mid)}
.pr-numrow{display:flex;align-items:center;gap:8px}
.pr-step{flex:none;width:44px;height:44px;border-radius:50% !important;border:1px solid var(--line);background:var(--card);color:var(--ink);font-size:24px;font-weight:500;line-height:1;display:grid;place-items:center;box-shadow:0 8px 20px -14px rgba(0,58,114,.5);transition:transform .35s var(--spring),border-color .2s}
.pr-step:hover{border-color:var(--blue)}
.pr-step:active{transform:scale(.88)}
.pr-num{display:flex;align-items:baseline;gap:6px;padding:0 4px;border-bottom:2px solid var(--line);border-radius:4px 4px 0 0 !important;transition:border-color .25s}
.pr-num:focus-within{border-color:var(--blue)}
.pr-num:has(input:focus-visible){outline:3px solid var(--orange);outline-offset:6px;border-radius:10px !important}
.pr-num input{width:calc(var(--n,2) * .62em + .3em);border:0;background:transparent;padding:0;font-size:34px;font-weight:700;letter-spacing:-.04em;line-height:1.2;color:var(--ink);text-align:center;font-variant-numeric:tabular-nums;-moz-appearance:textfield;appearance:textfield}
.pr-num input:focus{outline:none}
.pr-num input::-webkit-outer-spin-button,.pr-num input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.pr-num input[aria-invalid=true]{color:var(--red)}
.pr-num:has(input[aria-invalid=true]){border-color:var(--red)}
.pr-num span{font-size:15px;font-weight:600;color:var(--mid)}
.pr-range{position:relative;flex:1 1 260px;min-width:200px}
.pr-range input{margin-top:0;display:block}
/* 12 stops as small marks under the track (the number field is the label) */
.pr-ticks{display:flex;justify-content:space-between;padding-inline:17px;margin-top:-2px}
.pr-ticks i{width:2px;height:6px;border-radius:2px !important;background:var(--line)}
.pr-opts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}
.pr-off{display:inline-block;font-size:11px;font-weight:700;color:var(--ground);background:var(--green);padding:1px 7px;border-radius:999px !important;margin-left:4px;vertical-align:1px}
/* switch: the real checkbox covers the whole label (big tap target), the track is drawn next to it */
.pr-sw{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:15px;font-weight:500;cursor:pointer;user-select:none}
.pr-sw input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.pr-sw-ui{position:relative;flex:none;width:48px;height:28px;border-radius:999px !important;background:color-mix(in srgb,var(--muted) 40%,transparent);transition:background .3s}
.pr-sw-ui::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50% !important;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.3);transition:transform .45s var(--spring)}
.pr-sw input:checked + .pr-sw-ui{background:var(--blue)}
.pr-sw input:checked + .pr-sw-ui::after{transform:translateX(20px)}
.pr-sw input:focus-visible + .pr-sw-ui{outline:3px solid var(--orange);outline-offset:3px}
.pr-msg{font-size:14.5px;color:var(--mid);margin:12px 6px 0;min-height:1.6em}
.pr-msg b{color:var(--ink)}
.pr-msg.bad{color:var(--red);font-weight:600}
/* desktop: the bar follows the reader while the plan cards are on screen (bounded by .pr-stage) */
@media (min-width:1100px) and (min-height:700px){
  .pr-bar{position:sticky;top:calc(env(safe-area-inset-top,0px) + 84px)}
}

/* ---------- PRICES: plan cards ---------- */
.pr-plans-wrap{margin-top:22px}
.pr-plans{margin-top:0;align-items:stretch}
.pr-plan{display:flex;flex-direction:column;padding-top:20px}
/* one badge row inside the card: orange = "recommended for you" only, other labels are neutral */
.pr-badges{display:flex;flex-wrap:wrap;gap:6px;min-height:26px;margin-bottom:10px}
.pr-plan .badge{position:static;display:none;transform:none;color:#000000;padding:3px 11px}
.pr-plan.rec-on .badge{display:inline-flex;animation:prPop .5s var(--spring)}
.pr-tag{display:inline-flex;align-items:center;font-size:12px;font-weight:700;color:var(--pr-blue-t);background:var(--blue-l);padding:3px 11px;border-radius:999px !important}
.pr-plan h4{font-size:15px;letter-spacing:.14em;color:var(--blue-2)}
.pr-plan .for{min-height:2.9em;margin-top:6px;color:var(--mid)}
.pr-pp{display:flex;align-items:baseline;gap:4px;margin-top:14px;line-height:1}
.pr-pp b{font-size:clamp(30px,2.7vw,38px);font-weight:700;letter-spacing:-.04em}
.pr-pp small{font-size:14px;font-weight:600;color:var(--mid)}
.pr-plan.ent .pr-pp b{font-size:26px;letter-spacing:-.02em}
.pr-plan .avg{min-height:3em;line-height:1.5;color:var(--mid)}
.pr-plan .avg > span{display:block}
.pr-plan .avg b{font-weight:600;color:var(--ink)}
.pr-sv{font-size:13px;font-weight:700;color:var(--green);min-height:1.5em;margin-top:2px}
.pr-tl{font-size:14px;font-weight:600;line-height:1.45;margin-top:14px;padding:9px 12px;border-radius:14px !important;background:color-mix(in srgb,var(--blue) 7%,transparent)}
.pr-plan .pr-promo{margin-top:10px}
.pr-fh{font-size:12.5px;font-weight:700;color:var(--muted);margin-top:18px}
.pr-plan .pf{margin-top:10px}
.pr-plan-acts{display:grid;gap:4px;margin-top:auto;padding-top:20px}
.pr-plan-acts .btn{width:100%;min-height:46px;font-size:14.5px;padding:0 14px}
/* "ถาม AI" under the trial button: opens the assistant with a fit check for this package */
.pr-fit{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:44px;border:1px dashed color-mix(in srgb,var(--blue) 45%,transparent);border-radius:999px !important;background:color-mix(in srgb,var(--blue) 6%,transparent);padding:6px 12px;font:inherit;font-size:14px;font-weight:600;line-height:1.35;text-align:center;color:var(--blue-2);cursor:pointer;transition:background-color .2s,border-color .2s}
.pr-fit svg{width:16px;height:16px;flex:none;fill:currentColor}
.pr-fit:hover{background:color-mix(in srgb,var(--blue) 12%,transparent);border-style:solid}
.pr-fit:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
/* secondary "glass" buttons on light glass need an edge to read as buttons (proposed for core, see NOTES) */
.pr-calc-sec .btn:not(.primary):not(.blue),.pr-hero .btn:not(.primary):not(.blue),.pr-cmp-sec .btn:not(.primary):not(.blue){border:1px solid color-mix(in srgb,var(--blue) 35%,transparent);color:var(--blue-2)}
.pr-pickbtn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:0;background:none;padding:0 4px;font:inherit;font-size:14px;font-weight:600;color:var(--blue-2);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.pr-pickbtn[aria-current=true]{text-decoration:none;color:var(--ink)}
.pr-pickbtn[aria-current=true]::before{content:"";width:18px;height:18px;border-radius:50% !important;background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat}
.pr-plan-foot{display:flex;justify-content:center;margin-top:6px;padding-top:6px;border-top:1px solid var(--line);font-size:13.5px}
.pr-all{display:inline-flex;align-items:center;min-height:44px;color:var(--blue-2);font-weight:600;text-decoration:none}
.pr-all::after{content:"→";margin-left:6px;transition:transform .35s var(--spring)}
.pr-all:hover::after{transform:translateX(4px)}
.pr-plan.is-pick{box-shadow:inset 0 1px 0 var(--spec),0 0 0 2px var(--blue),0 34px 60px -30px rgba(0,140,255,.55)}
.pr-dots{display:none}
/* 2- and 4-column layouts: every card shares one row grid, so prices, feature lists and buttons line up */
@media (min-width:761px){
  @supports (grid-template-rows:subgrid){
    .pr-plan{display:grid;grid-row:span 9;grid-template-rows:subgrid;row-gap:0}
    .pr-plan-acts{margin-top:0;align-self:end}
  }
}
.pr-plans-wrap + .plan-note{margin-top:20px}

/* ---------- PRICES: needs + quote (estimate) + full table ---------- */
.pr-calc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.86fr);grid-template-areas:"needs quote" "table quote";gap:18px;margin-top:40px;align-items:start}
.pr-ctrl{grid-area:needs;border-radius:var(--r-l) !important;padding:clamp(20px,2.6vw,30px);min-width:0}
.pr-needs{border:0;margin:0;padding:0;min-width:0}
.pr-needs legend{float:left;width:100%;padding:0}
.pr-needs-h{font-size:clamp(19px,1.8vw,22px);font-weight:700;line-height:1.35;color:var(--ink)}
.pr-needs-sub{clear:both;font-size:14px;color:var(--mid);padding-top:4px}
.pr-need-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.pr-need{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;align-content:start;column-gap:10px;min-height:44px;padding:11px 14px 10px 12px;border-radius:16px !important;border:1px solid var(--line);background:var(--card);font-size:14.5px;line-height:1.4;cursor:pointer;transition:transform .35s var(--spring),border-color .2s,background .2s}
.pr-need:hover{transform:translateY(-2px)}
.pr-need input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.pr-need::before{content:"";width:20px;height:20px;margin-top:1px;border-radius:7px !important;border:1.5px solid var(--muted);transition:background-color .2s,border-color .2s,transform .35s var(--spring)}
.pr-need small{grid-column:2;margin-top:2px;font-size:11.5px;font-weight:700;color:var(--muted)}
.pr-need:has(input:checked){border-color:var(--orange);background:var(--orange-l)}
.pr-need:has(input:checked)::before{border-color:var(--orange);background:var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat;transform:scale(1.08)}
.pr-need:has(input:checked) small{color:var(--pr-orange-t)}
.pr-need:has(input:focus-visible){outline:3px solid var(--orange);outline-offset:2px}
.pr-mini{display:none}

.pr-quote{grid-area:quote;position:sticky;top:94px;border-radius:var(--r-l) !important;padding:clamp(20px,2.6vw,30px);min-width:0}
.pr-q-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.pr-q-h{font-size:20px;font-weight:700}
.pr-q-h:focus{outline:none}
.pr-q-band{font-size:12.5px;font-weight:600;color:var(--pr-blue-t);background:var(--blue-l);padding:4px 12px;border-radius:999px !important}
.pr-rec{font-size:14.5px;color:var(--mid);margin-top:14px;line-height:1.55}
.pr-rec b{color:var(--ink)}
.pr-total{display:flex;align-items:baseline;gap:2px;margin-top:8px;line-height:1;color:var(--blue-2)}
.pr-cur{font-size:30px;font-weight:700}
.pr-total b{font-size:clamp(50px,5vw,64px);font-weight:700;letter-spacing:-.05em}
.pr-total small{font-size:17px;font-weight:600;color:var(--mid);margin-left:4px}
.pr-vatnote{font-size:13px;color:var(--muted);margin-top:6px}
.pr-lines{margin:16px 0 0;border-top:1px solid var(--line)}
.pr-lines div{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px dashed var(--line);font-size:14px}
.pr-lines dt{color:var(--mid)}
.pr-lines dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.pr-muted{color:var(--muted);font-weight:500}
.pr-save{display:grid;gap:8px;margin-top:14px;padding:12px 14px;border-radius:18px !important;background:var(--green-l)}
.pr-save p{font-size:13.5px;line-height:1.5}
.pr-save p b{color:var(--green)}
.pr-months.lg{margin-top:0}
.pr-months.lg i{height:10px}
.pr-link{justify-self:start;border:0;background:none;padding:4px 0;min-height:44px;font:inherit;font-size:13.5px;font-weight:600;color:var(--blue-2);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.pr-promo{margin-top:12px;font-size:13px;line-height:1.55;padding:10px 12px;border-radius:14px !important;background:var(--orange-l);color:var(--ink)}
.pr-promo b{color:var(--pr-orange-t)}
.pr-next{font-size:13px;color:var(--mid);margin-top:12px;line-height:1.5}
.pr-next b{color:var(--ink);font-weight:600}
.pr-q-acts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}
.pr-q-acts .btn{min-height:48px;padding:0 12px;font-size:15px}
.pr-copy{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;margin-top:6px;border:0;border-radius:999px !important;background:transparent;color:var(--blue-2);font-size:14px;font-weight:600;transition:background .2s}
.pr-copy:hover{background:var(--blue-l)}
.pr-copy svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.pr-copy:disabled{opacity:.4;pointer-events:none}
.pr-ent,.pr-empty{display:grid;justify-items:center;gap:8px;text-align:center;padding:28px 8px 6px;animation:swapIn .5s var(--ease)}
.pr-ent b{font-size:clamp(28px,3vw,36px);letter-spacing:-.03em;color:var(--blue-2)}
.pr-ent p,.pr-empty p{font-size:14px;color:var(--mid);max-width:36ch}
.pr-empty b{font-size:18px}
.pr-empty-ic{width:58px;height:58px;border-radius:50% !important;display:grid;place-items:center;background:var(--blue-l);color:var(--blue-2);font-size:26px;font-weight:700}
.pr-quote.is-empty .pr-q-acts{opacity:.4;pointer-events:none}

/* full price table */
.pr-tbl{grid-area:table;border-radius:var(--r) !important;padding:0 clamp(14px,2vw,22px);min-width:0}
.pr-tbl summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;min-height:60px;font-weight:600}
.pr-tbl summary::-webkit-details-marker{display:none}
.pr-tbl summary small{font-weight:400;color:var(--muted)}
.pr-tbl-ic{flex:none;width:30px;height:30px;border-radius:50% !important;background:var(--blue-l);position:relative;transition:transform .45s var(--spring)}
.pr-tbl-ic::before,.pr-tbl-ic::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;border-radius:2px !important;background:var(--blue-2);transform:translate(-50%,-50%)}
.pr-tbl-ic::after{transform:translate(-50%,-50%) rotate(90deg)}
.pr-tbl[open] .pr-tbl-ic{transform:rotate(135deg)}
.pr-tbl-hint{font-size:13px;color:var(--muted);margin-bottom:8px}
.pr-tbl-scroll{overflow-x:auto;padding-bottom:16px}
.pr-pt{width:100%;min-width:560px;border-collapse:collapse;font-size:14px}
.pr-pt th,.pr-pt td{padding:4px 10px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
.pr-pt th:first-child{text-align:left}
.pr-pt thead th{font-size:12px;letter-spacing:.06em;color:var(--muted);padding-block:10px}
.pr-pt thead th.rc{color:var(--pr-orange-t)}
.pr-pt tbody th button{border:0;background:none;padding:6px 0;min-height:44px;font:inherit;font-weight:600;color:var(--blue-2);text-decoration:underline dotted;text-underline-offset:4px;cursor:pointer}
.pr-pt td.rc{color:var(--pr-orange-t);font-weight:700}
.pr-pt tr.cur > *{background:var(--blue-l)}
.pr-pt tr.cur td{font-weight:700}
.pr-pt-ent{text-align:center!important;color:var(--mid)}
.pr-pt-ent a{color:var(--blue-2);font-weight:600}

/* ---------- INCLUDED: pinned bill scene (night band) ---------- */
.pr-bill{position:relative}
.pr-bill-pin{padding-block:clamp(64px,8vw,110px) 28px}
.pr-bill-in{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(28px,5vw,72px);align-items:center;width:100%}
.pr-bill-copy .h-sec{max-width:none;font-size:clamp(32px,4vw,52px)}
.pr-bill-prog{margin-top:30px}
.pr-bill-prog p{font-size:15px;color:var(--on-night-2)}
.pr-bill-prog b{font-size:46px;font-weight:700;letter-spacing:-.04em;color:var(--on-night);margin-right:2px}
.pr-bill-bar{display:block;max-width:360px;height:6px;margin-top:12px;border-radius:6px !important;background:rgba(255,255,255,.12);overflow:hidden}
.pr-bill-bar i{display:block;height:100%;background:linear-gradient(90deg,#008CFF,#289FFF);transform:scaleX(0);transform-origin:0 50%;transition:transform .5s var(--ease)}
.pr-receipt{position:relative;border-radius:32px !important;padding:clamp(18px,2.4vw,28px);color:var(--on-night)}
.pr-r-top{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.14)}
.pr-r-top small{display:block;font-size:12.5px;color:var(--on-night-2)}
.pr-r-top b{font-size:20px;letter-spacing:.1em}
.pr-r-top span{font-size:13px;color:var(--on-night-2);text-align:right}
.pr-r-main{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 0;border-bottom:1px dashed rgba(255,255,255,.2)}
.pr-r-main small{display:block;font-size:12px;color:var(--on-night-2)}
.pr-r-main b{font-size:24px;letter-spacing:-.02em}
.pr-r-vat{border-bottom:0;border-top:1px dashed rgba(255,255,255,.2);padding-block:10px;font-size:14px;color:var(--on-night-2)}
.pr-r-vat b{font-size:17px;color:var(--on-night)}
.pr-r-sub{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:13px;font-weight:700;color:var(--on-night-2)}
.pr-r-sub i{width:9px;height:9px;border-radius:50% !important}
.pr-r-sub i.inc{background:#289FFF}
.pr-r-sub i.no{background:#289FFF}
.pr-r-list{list-style:none;margin:0;padding:2px 0 4px}
.pr-r-list li{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:6px 0;font-size:14px;line-height:1.45;color:var(--on-night);opacity:.75;border-bottom:1px dashed rgba(255,255,255,.08);transition:opacity .5s}
.pr-r-list li:last-child{border-bottom:0}
.pr-r-list li.on{opacity:1}
.pr-r-list em{flex:none;font-style:normal;font-size:12px;font-weight:700;white-space:nowrap;padding:4px 10px;border-radius:999px !important;background:rgba(255,255,255,.08);color:rgba(255,255,255,.75);transform:scale(.9);transition:transform .55s var(--spring),background .4s,color .4s}
.pr-r-list li[data-s=inc] em::before{content:"✓ "}
.pr-r-list li.on em{transform:none}
.pr-r-list li[data-s=inc].on em{background:rgba(76,208,125,.18);color:#289FFF}
.pr-r-list li[data-s=no].on em{background:rgba(93,184,255,.18);color:#289FFF}
.pr-r-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:4px;padding-top:14px;border-top:2px solid rgba(255,255,255,.22)}
.pr-r-total small{display:block;font-size:12px;font-weight:400;color:var(--on-night-2)}
.pr-r-total > span{font-weight:600}
.pr-r-total b{font-size:clamp(30px,3vw,38px);font-weight:700;letter-spacing:-.03em}
.pr-r-stamp{position:absolute;left:46%;bottom:clamp(20px,2.4vw,30px);padding:6px 16px;border-radius:12px !important;border:3px solid #FF8100;background:rgba(255,97,0,.1);color:#FF8100;font-size:20px;font-weight:700;opacity:0;transform:translateX(-50%) rotate(-8deg) scale(1.7);transition:opacity .35s,transform .6s var(--spring);pointer-events:none}
.pr-receipt.done .pr-r-stamp{opacity:1;transform:translateX(-50%) rotate(-8deg) scale(1)}
@media (min-width:1024px) and (min-height:680px) and (prefers-reduced-motion:no-preference){
  .pr-bill-track{height:150vh}
  .pr-bill-pin{position:sticky;top:0;height:100vh;padding-block:84px 20px;display:flex;align-items:center}
}
@media (max-width:1023px){
  .pr-bill-in{grid-template-columns:1fr}
}
.pr-extra{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-block:24px clamp(64px,8vw,110px)}
.pr-x{display:flex;flex-direction:column;border-radius:var(--r-l) !important;padding:24px;color:var(--on-night)}
.pr-x h3{font-size:19px;margin-top:14px}
.pr-x ul{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:8px;font-size:14.5px;color:var(--on-night-2)}
.pr-x li{position:relative;padding-left:16px}
.pr-x li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:50% !important;background:rgba(255,255,255,.35)}
.pr-x .more{margin-top:auto;padding-top:16px;color:#289FFF}
.pr-x-ic{width:46px;height:46px;border-radius:15px !important;display:grid;place-items:center}
.pr-x-ic svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pr-x-ic.add{background:linear-gradient(135deg,#FF6100,#FF8100)}
.pr-x-ic.sup{background:linear-gradient(135deg,#008CFF,#008CFF)}
.pr-x-ic.pdf{background:linear-gradient(135deg,#008CFF,#008CFF)}
.pr-dl{text-decoration:none;transition:transform .5s var(--spring)}
.pr-dl:hover{transform:translateY(-4px)}
.pr-dl-meta{margin:10px 0 18px;font-size:14.5px;color:var(--on-night-2)}
.pr-dl-btn{align-self:flex-start;margin-top:auto;min-height:46px;font-size:15px}
@media (max-width:960px){
  .pr-extra{grid-template-columns:1fr 1fr}
  .pr-dl{grid-column:1/-1}
}
@media (max-width:620px){
  .pr-extra{grid-template-columns:1fr}
  /* phones: the seal gets its own line under the total instead of covering the label */
  .pr-r-total{padding-bottom:58px}
  .pr-r-stamp{left:50%;bottom:18px;font-size:16px}
}

/* ---------- COMPARISON ---------- */
.pr-tools{margin-top:28px}
.pr-tools .sbox{flex:1 1 320px}
.pr-cols{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.pr-cols-l{font-size:13px;color:var(--muted);margin-right:4px}
.pr-cols button{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:999px !important;border:1px solid var(--line);background:var(--card);color:var(--mid);font-size:12.5px;font-weight:700;letter-spacing:.06em;transition:transform .35s var(--spring),background .2s,color .2s,border-color .2s}
.pr-cols button::before{content:"";width:14px;height:14px;border-radius:5px !important;border:1.5px solid currentColor}
.pr-cols button[aria-pressed=true]{color:var(--pr-blue-t);border-color:var(--blue);background:var(--blue-l)}
.pr-cols button[aria-pressed=true]::before{border-color:var(--blue);background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/10px no-repeat}
.pr-cols button:active{transform:scale(.94)}
.pr-cmp-btns{display:flex;gap:8px}
.pr-cmp-btns .btn{min-height:44px;padding:0 16px;font-size:14px}
/* the table scrolls with the page (no box-in-a-box); overflow:clip keeps the rounded corners without making a scroller,
   so the header row can stick under the site header */
.pr-cmp-box{margin-top:12px;border-radius:var(--r) !important;overflow:clip}
.pr-cmp{width:100%;min-width:560px;border-collapse:separate;border-spacing:0;font-size:14px}
.pr-cmp th,.pr-cmp td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:center;vertical-align:middle;background:var(--card)}
.pr-cmp thead th{position:sticky;top:calc(env(safe-area-inset-top,0px) + 84px);z-index:3;padding-block:14px;font-size:12.5px;letter-spacing:.08em;color:var(--pr-blue-t);background:color-mix(in srgb,var(--card) 94%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 1px 0 var(--line)}
.pr-cmp thead th:first-child{text-align:left;color:var(--mid);letter-spacing:0}
.pr-cmp tbody th[scope=row]{width:42%;min-width:190px;text-align:left;font-weight:500;color:var(--ink)}
.pr-cmp th.ind{padding-left:30px;color:var(--mid)}
.pr-cmp .grp th{padding:0;background:var(--ground-2);text-align:left}
.pr-cmp .grp button{display:inline-flex;align-items:center;gap:10px;min-height:50px;padding:0 14px;border:0;background:transparent;font:inherit;font-size:15.5px;font-weight:700;color:var(--ink);cursor:pointer}
.pr-cmp .grp button i{width:24px;height:24px;border-radius:50% !important;background:var(--blue-l);position:relative;transition:transform .4s var(--spring)}
.pr-cmp .grp button i::before{content:"";position:absolute;left:50%;top:45%;width:7px;height:7px;border-right:2px solid var(--blue-2);border-bottom:2px solid var(--blue-2);transform:translate(-50%,-50%) rotate(45deg)}
.pr-cmp .grp button[aria-expanded=false] i{transform:rotate(-90deg)}
.pr-cmp .grp button small{font-size:12px;font-weight:500;color:var(--muted)}
.pr-cmp .sub th{text-align:left;padding-top:16px;padding-bottom:8px;font-size:13px;font-weight:700;color:var(--mid)}
.pr-cmp .sub.lv th{padding-left:14px}
.pr-y{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50% !important;background:var(--green-l)}
.pr-y svg{width:14px;height:14px;fill:none;stroke:var(--green);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.pr-n{color:var(--muted)}
.pr-t{font-size:13px;font-weight:700;color:var(--pr-blue-t);white-space:nowrap}
/* ⓘ: inline SVG in currentColor (brand font only); 32px target on desktop, 44px on phones */
.pr-i{display:inline-grid;place-items:center;width:32px;height:32px;margin:-6px 0 -6px 2px;padding:0;border:0;border-radius:50% !important;background:transparent;vertical-align:middle;color:var(--blue-2);cursor:pointer}
.pr-i svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;transition:transform .3s var(--spring)}
.pr-i:hover svg{transform:scale(1.12)}
.pr-i[aria-expanded=true] svg circle{fill:var(--blue);stroke:var(--blue)}
.pr-i[aria-expanded=true] svg path{stroke:#fff}
.pr-cmp .tiprow td{text-align:left;padding:2px 14px 14px;background:var(--blue-xl)}
.pr-cmp .tiprow p{max-width:70ch;font-size:13.5px;color:var(--mid);line-height:1.6;animation:swapIn .4s var(--ease)}
.pr-cmp[data-rec="0"] td:nth-child(2),.pr-cmp[data-rec="1"] td:nth-child(3),.pr-cmp[data-rec="2"] td:nth-child(4),.pr-cmp[data-rec="3"] td:nth-child(5){background:var(--pr-rec-col)}
.pr-cmp[data-rec="0"] thead th:nth-child(2),.pr-cmp[data-rec="1"] thead th:nth-child(3),.pr-cmp[data-rec="2"] thead th:nth-child(4),.pr-cmp[data-rec="3"] thead th:nth-child(5){color:var(--pr-rec-h)}
.pr-cmp[data-flash="0"] td:nth-child(2),.pr-cmp[data-flash="1"] td:nth-child(3),.pr-cmp[data-flash="2"] td:nth-child(4),.pr-cmp[data-flash="3"] td:nth-child(5){animation:prFlash 1.6s var(--ease)}
.pr-cmp.h0 :is(th,td):nth-child(2),.pr-cmp.h1 :is(th,td):nth-child(3),.pr-cmp.h2 :is(th,td):nth-child(4),.pr-cmp.h3 :is(th,td):nth-child(5){display:none}
.pr-cmp.empty{display:none}
.pr-hs{display:none}
.pr-cmp-empty{display:grid;justify-items:center;gap:8px;text-align:center;padding:48px 20px}
.pr-cmp-empty b{font-size:18px}
.pr-cmp-empty p{font-size:14px;color:var(--mid);max-width:44ch}
.pr-cmp-empty .btn{margin-top:6px;min-height:44px}
.pr-cmp-more{display:flex;justify-content:center;margin-top:16px}
.pr-cmp-more .btn{min-height:46px;font-size:15px}
.pr-i-note{display:inline-block;width:16px;height:16px;vertical-align:-3px;fill:none;stroke:var(--blue-2);stroke-width:2;stroke-linecap:round}

/* ---------- FAQ ---------- */
.pr-faq-side .lead{font-size:16px}
.pr-faq-side .faq-links{flex-direction:column;align-items:flex-start;gap:12px;margin-top:20px}
.pr-faq-side .faq-links .more{margin-top:0}
.pr-faq-q{display:inline;font:inherit;letter-spacing:inherit;line-height:inherit;margin:0}

/* ---------- CTA ---------- */
.pr-cta{padding-bottom:clamp(40px,5vw,72px)}
.pr-cta-card{grid-template-columns:minmax(0,1fr) minmax(0,.62fr);align-items:end}
.pr-cta-copy{align-self:center}
.pr-cta-card h2{margin-top:16px}
.pr-cta-card h2 .pr-cta-l2{display:block}
.pr-cta-card h2 .nw{background:none;color:inherit} /* core paints every h2 span orange; the no-break spans only group letters */
.pr-big{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 18px;margin-top:24px;padding:16px 16px 16px 20px;border-radius:24px !important}
.pr-big b{display:block;font-size:17px;color:var(--on-night)}
.pr-big span{display:block;font-size:14px;color:var(--on-night-2)}
.pr-big .btn{min-height:46px}
.pr-fine{font-size:12.5px;line-height:1.6;color:var(--on-night-2);margin-top:18px}
.pr-cta-art{position:relative;align-self:end;display:flex;justify-content:center;margin-bottom:calc(-1 * clamp(28px,4vw,52px))}
.pr-cta-disc{position:absolute;left:4%;right:4%;bottom:0;top:12%;border-radius:50% 50% 0 0 !important;background:radial-gradient(70% 60% at 50% 30%,rgba(58,169,255,.45),rgba(0,140,255,.08) 70%,transparent)}
.o-cta .pr-cta-img{position:relative;width:min(360px,100%);height:auto;animation:none;-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
.pr-1537{position:absolute;z-index:2;right:-4%;bottom:12%;width:min(200px,50%);border-radius:999px !important;filter:drop-shadow(0 14px 24px rgba(255,97,0,.4));transition:transform .4s var(--spring)}
.pr-1537:hover{transform:scale(1.05)}
.o-cta .pr-1537 img{width:100%;height:auto;animation:none}
/* phones: no decorative photo after the fine print (the 1537 call button sits in the "มากกว่า 500 คน" box) */
@media (max-width:760px){
  .pr-cta-card{grid-template-columns:1fr}
  .pr-cta-art{display:none}
}

/* ---------- RESPONSIVE: prices ---------- */
@media (max-width:1099px){
  .pr-range{flex-basis:100%;order:3}
}
@media (max-width:960px){
  .pr-calc{grid-template-columns:1fr;grid-template-areas:"needs" "quote" "table"}
  .pr-quote{position:relative;top:auto}
  /* phones/tablets: a sticky one-liner keeps the price in view while ticking needs */
  .pr-mini{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:2;display:flex;flex-wrap:nowrap;align-items:center;gap:4px 8px;margin:16px -6px -6px;padding:6px 8px 6px 16px;border-radius:18px !important;background:color-mix(in srgb,var(--card) 88%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:inset 0 0 0 1px var(--line),0 12px 30px -16px rgba(0,58,114,.45);font-size:14px;color:var(--mid)}
  .pr-mini > span:first-child{display:flex;align-items:baseline;gap:6px}
  .pr-mini span span{font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--pr-blue-t)}
  .pr-mini b{font-size:20px;color:var(--ink);letter-spacing:-.02em}
  .pr-mini a{margin-left:auto;flex:none;white-space:nowrap;display:inline-flex;align-items:center;min-height:44px;padding:0 8px;color:var(--blue-2);font-weight:600}
}
@media (max-width:760px){
  .pr-bar{padding:14px 16px 12px;border-radius:26px !important;gap:10px 14px;justify-content:center}
  .pr-emp{width:100%;justify-content:center}
  .pr-range{order:0}
  .pr-num input{font-size:40px}
  .pr-opts{width:100%;justify-content:space-between}
  .pr-msg{text-align:center}
  /* plans become a swipeable row that opens on the recommended card (page.js showRec) */
  .pr-plans{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;align-items:stretch;margin-inline:calc(-1 * clamp(16px,4vw,40px));padding:14px clamp(16px,4vw,40px) 18px;scroll-padding-inline:clamp(16px,4vw,40px);scrollbar-width:none;overscroll-behavior-x:contain}
  .pr-plans::-webkit-scrollbar{display:none}
  .pr-plan{flex:0 0 min(84%,340px);scroll-snap-align:start}
  .pr-plan.rec-on{transform:none}
  .pr-plans-wrap{margin-top:14px}
  .pr-dots{display:flex;justify-content:center;gap:6px;margin-top:2px}
  .pr-dots i{width:7px;height:7px;border-radius:999px !important;background:color-mix(in srgb,var(--muted) 45%,transparent);transition:width .4s var(--spring),background .3s}
  .pr-dots i.on{width:22px;background:var(--blue)}
  .pr-cmp{min-width:0;font-size:13px}
  .pr-cmp tbody th[scope=row]{min-width:0;width:46%}
  .pr-cmp th,.pr-cmp td{padding:9px 6px}
  .pr-cmp th.ind{padding-left:16px}
  .pr-cmp .pr-t{white-space:normal;font-size:12px}
  .pr-hf{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap} /* = core .sr, only on phones */
  .pr-hs{display:inline}
  .pr-cmp-btns{width:100%}
  .pr-cmp-btns .btn{flex:1}
  .pr-i{width:44px;height:44px;margin-block:-12px}
}
@media (max-width:420px){
  .pr-need-list{grid-template-columns:1fr}
  .pr-q-acts{grid-template-columns:1fr}
  .pr-opts{justify-content:center}
}

/* ---------- KEYFRAMES ---------- */
@keyframes prFill{from{transform:scaleY(0);opacity:0}}
@keyframes prPop{from{transform:scale(.6);opacity:0}}
@keyframes prFlash{0%,100%{box-shadow:none}25%,60%{box-shadow:inset 0 0 0 2px var(--blue)}}

/* ===== ลูกค้าถามบ่อย (same component as the home page) ===== */
.hm-tq-wrap{position:relative}
.hm-tq{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;width:100%;max-width:100%;margin:clamp(20px,2.4vw,32px) auto 0;padding-top:16px;border-top:1px dashed #E4EEF8}
.hm-tq-l{flex:none;white-space:nowrap;display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#FF6100}
.hm-tq-l i{position:relative;width:10px;height:10px;border-radius:50% !important;background:#FF6100}
.hm-tq-l i::after{content:"";position:absolute;inset:-5px;border-radius:50% !important;border:2px solid #FF6100;animation:tqPulse 1.8s ease-out infinite}
@keyframes tqPulse{0%{transform:scale(.6);opacity:1}100%{transform:scale(1.6);opacity:0}}
.hm-tq-q{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:5px 14px 5px 6px;border-radius:999px !important;border:1px solid #E4EEF8;background:#fff;color:#000;font:500 13.5px/1.35 var(--f);text-align:left;cursor:pointer;max-width:100%;transition:transform .3s var(--spring),border-color .2s,box-shadow .2s}
.hm-tq-q span{flex:none;width:24px;height:24px;border-radius:50% !important;display:grid;place-items:center;background:#008CFF;color:#fff;font-weight:700;font-size:13px}
.hm-tq-q:hover{transform:translateY(-2px);border-color:#008CFF;box-shadow:0 10px 22px -14px rgba(0,114,243,.6)}
.night .hm-tq{border-top-color:rgba(255,255,255,.35)}
.night .hm-tq-l{color:#fff}.night .hm-tq-l i{background:#fff}.night .hm-tq-l i::after{border-color:#fff}.night .hm-tq-q{border-color:transparent}
.pr-hero > .hm-tq-wrap,#included > .hm-tq-wrap{padding-bottom:clamp(24px,3vw,40px)}
@media (max-width:560px){.hm-tq{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}.hm-tq::-webkit-scrollbar{display:none}.hm-tq-q{flex:none;max-width:78vw}}
@media (prefers-reduced-motion:reduce){.hm-tq-l i::after{animation:none}}
/* ===== ราคานี้รวมอะไรบ้าง: readable on the CI blue band — receipt + cards are solid white paper with black text ===== */
.pr-bill .pr-receipt.glass,.pr-bill .pr-x.glass{background:#fff!important;border:1px solid #fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:0 30px 60px -30px rgba(0,30,90,.55)!important;color:#000}
.pr-bill .pr-receipt.glass::before,.pr-bill .pr-receipt.glass::after,.pr-bill .pr-x.glass::before,.pr-bill .pr-x.glass::after{display:none!important}
.pr-bill .pr-r-top{border-bottom-color:#E4EEF8}.pr-bill .pr-r-top b{color:#008CFF}
.pr-bill .pr-r-top small,.pr-bill .pr-r-top span,.pr-bill .pr-r-main small,.pr-bill .pr-r-total small,.pr-bill .pr-r-vat{color:#000;opacity:.7}
.pr-bill .pr-r-main,.pr-bill .pr-r-vat{border-color:#E4EEF8}.pr-bill .pr-r-main b,.pr-bill .pr-r-vat b{color:#000}
.pr-bill .pr-r-sub{color:#000}.pr-bill .pr-r-sub i.inc{background:#008CFF}.pr-bill .pr-r-sub i.no{background:#FF6100}
.pr-bill .pr-r-list li{color:#000;opacity:.5;border-bottom-color:#E4EEF8}.pr-bill .pr-r-list li.on{opacity:1}
.pr-bill .pr-r-list em{background:#E4EEF8;color:#008CFF}
.pr-bill .pr-r-list li[data-s=inc].on em{background:#008CFF;color:#fff}
.pr-bill .pr-r-list li[data-s=no].on em{background:#FF6100;color:#fff}
.pr-bill .pr-r-total{border-top-color:#008CFF}.pr-bill .pr-r-total > span{color:#000}.pr-bill .pr-r-total b{color:#008CFF}
.pr-bill .pr-r-stamp{border-color:#FF6100;background:#FFF1E8;color:#FF6100}
.pr-bill .pr-x h3{color:#000}.pr-bill .pr-x ul,.pr-bill .pr-dl-meta{color:#000;opacity:.8}.pr-bill .pr-x li::before{background:#008CFF}
.pr-bill .pr-x .more{color:#008CFF}
.pr-bill .pr-bill-prog p{color:#fff}.pr-bill .pr-bill-prog b{color:#fff}
.pr-bill .pr-bill-bar{background:rgba(255,255,255,.3)}.pr-bill .pr-bill-bar i{background:#fff}
.pr-bill .pr-x :is(li,li span,p,h3){color:#000}
.pr-bill .pr-x .more,.pr-bill .pr-x .more *{color:#008CFF}
.pr-bill .pr-x .pr-dl-btn{background:#008CFF!important;border-color:#008CFF!important;color:#fff!important}

/* ⓘ speech bubble */
.pr-bub{position:absolute;z-index:80;width:max-content;max-width:min(340px,calc(100vw - 24px));padding:12px 14px;border-radius:14px !important;background:#000000;color:#fff;font-size:13.5px;line-height:1.6;box-shadow:0 18px 40px -16px rgba(0,30,80,.6);animation:bubIn .22s var(--ease);pointer-events:auto}
.pr-bub b{display:block;margin-bottom:2px;font-size:14px;color:#fff}
.pr-bub::after{content:"";position:absolute;left:var(--ax,50%);bottom:-6px;width:12px;height:12px;margin-left:-6px;background:#000000;transform:rotate(45deg);border-radius:2px !important}
.pr-bub.down::after{bottom:auto;top:-6px}
@keyframes bubIn{from{opacity:0;transform:translateY(4px)}}
.pr-bub[hidden]{display:none}
.pr-i{cursor:help}
@media (prefers-reduced-motion:reduce){.pr-bub{animation:none}}
/* ===== needs chips above the plan cards (same as the home page) · the old needs panel + quote card were removed ===== */
.pr-needs2{border:0;padding:0;margin:14px 0 0;min-width:0}
.pr-needs2 legend{padding:0;margin-bottom:2px}.pr-needs2 legend small{font-weight:400;color:var(--mid)}
.pr-needs2 .need-grid{margin-top:8px;gap:6px}
.pr-needs2 .need-grid label{padding:7px 13px;font-size:14px}
/* "ให้ AI ช่วยเลือกแพ็กเกจ": sits after the needs chips, opens the assistant */
.pr-aipick{display:inline-flex;align-items:center;gap:7px;min-height:40px;margin-top:10px;padding:7px 16px;border:0;border-radius:999px !important;background:linear-gradient(135deg,#008CFF,#008CFF);color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 8px 20px -10px rgba(0,140,255,.8);transition:transform .3s var(--spring),box-shadow .2s}
.pr-aipick svg{width:16px;height:16px;flex:none;fill:currentColor}
.pr-aipick:hover{transform:translateY(-1px);box-shadow:0 12px 24px -10px rgba(0,140,255,.9)}
.pr-aipick:focus-visible{outline:2px solid #008CFF;outline-offset:3px}
#needs label{position:relative;min-height:40px}
#needs input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;border-radius:inherit !important}
.hm-ck{flex:none;width:18px;height:18px;border-radius:6px !important;border:1.5px solid var(--mid);display:grid;place-items:center;transition:background-color .25s,border-color .25s,transform .35s var(--spring)}
#needs input:checked + .hm-ck{background:var(--blue-2);border-color:var(--blue-2);transform:scale(1.08)}
#needs input:checked + .hm-ck::after{content:"";width:9px;height:5px;border-left:2.2px solid #fff;border-bottom:2.2px solid #fff;transform:translateY(-1px) rotate(-45deg)}
#needs label:has(input:focus-visible){outline:3px solid var(--orange);outline-offset:3px}
.pr-recline{margin:10px 2px 0;font-size:14.5px;color:var(--mid)}.pr-recline b{color:var(--blue-2)}
.pr-recline .pr-link{margin-left:4px}
/* tighter section */
.pr-calc-sec .sec-head .lead{margin-top:8px}
.pr-stage{margin-top:18px}
.pr-msg{margin-top:8px;min-height:0}
.pr-plans-wrap{margin-top:16px}
.pr-plans-wrap + .plan-note{margin-top:12px}
.pr-calc-sec > .wrap > .pr-tbl{margin-top:14px}
@media (max-width:560px){.pr-needs2 .need-grid{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}.pr-needs2 .need-grid::-webkit-scrollbar{display:none}.pr-needs2 .need-grid label{flex:none}}
/* ===== เลือกเปรียบเทียบ: checkbox on each card + tray at the bottom ===== */
.pr-plan-foot{justify-content:space-between;align-items:center;gap:8px}
.pr-cmpck{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:600;color:var(--ink);cursor:pointer}
.pr-cmpck input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.pr-cmpck i{width:20px;height:20px;border-radius:6px !important;border:1.5px solid var(--mid);display:grid;place-items:center;transition:background-color .2s,border-color .2s,transform .3s var(--spring)}
.pr-cmpck input:checked + i{background:#008CFF;border-color:#008CFF;transform:scale(1.08)}
.pr-cmpck input:checked + i::after{content:"";width:9px;height:5px;border-left:2.2px solid #fff;border-bottom:2.2px solid #fff;transform:translateY(-1px) rotate(-45deg)}
.pr-cmpck:has(input:focus-visible){outline:3px solid var(--orange);outline-offset:3px;border-radius:8px !important}
.pr-plan.cmp-on{box-shadow:0 0 0 2px #008CFF,var(--glass-shadow)!important}
.pr-tray{position:fixed;z-index:70;left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(760px,calc(100vw - 24px));animation:trayIn .45s var(--spring)}
.pr-tray[hidden]{display:none}
.pr-tray-in{display:flex;align-items:center;gap:14px;padding:12px 12px 12px 20px;border-radius:22px !important;background:#fff;border:1px solid #E4EEF8;box-shadow:0 24px 60px -24px rgba(0,58,140,.55)}
.pr-tray-t{margin:0;display:flex;flex-direction:column;flex:none}.pr-tray-t b{font-size:15px}.pr-tray-t small{font-size:12.5px;color:var(--mid)}
.pr-tray-slots{flex:1;display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.pr-slot{display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:0 12px;border-radius:999px !important;border:1.5px dashed #289FFF;font-size:13px;color:var(--mid)}
.pr-slot.on{border:0;background:#E4EEF8;color:#008CFF;padding-right:4px}.pr-slot.on b{font-size:13px;letter-spacing:.03em}
.pr-slot button{width:28px;height:28px;border:0;border-radius:50% !important;background:none;color:#008CFF;font-size:18px;line-height:1;cursor:pointer}.pr-slot button:hover{background:#fff}
.pr-tray-acts{display:flex;align-items:center;gap:6px;flex:none}
.pr-tray-clr{border:0;background:none;color:var(--mid);font:600 14px var(--f);min-height:44px;padding:0 10px;cursor:pointer}
.pr-tray-acts .btn{min-height:46px;white-space:nowrap}.pr-tray-acts .btn:disabled{opacity:.45;cursor:default}
@keyframes trayIn{from{transform:translate(-50%,24px);opacity:0}}
html.cmp-tray-on .hm-cb-wrap{opacity:0;pointer-events:none}
html.cmp-tray-on .ai-fab{bottom:calc(110px + env(safe-area-inset-bottom,0px))}
@media (max-width:700px){.pr-tray-in{flex-wrap:wrap;padding:12px}.pr-tray-t{flex:1}.pr-tray-slots{order:3;flex-basis:100%}.pr-tray-acts .btn{min-height:42px;font-size:14px}
 html.cmp-tray-on .ai-fab{bottom:calc(196px + env(safe-area-inset-bottom,0px))}}
@media (prefers-reduced-motion:reduce){.pr-tray{animation:none}}
html.cmp-tray-on .ai-bubble{display:none!important}
@media (max-width:700px){.pr-tray-t small{display:none}.pr-tray-t b{white-space:nowrap}}
/* compare button row + card compare toggle as a pill */
.pr-recrow{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:10px}
.pr-recrow .pr-recline{margin:0;flex:1;min-width:220px}
.pr-cmpstart{display:inline-flex;align-items:center;gap:8px;min-height:44px;border:1.5px solid #008CFF!important;color:#008CFF!important;background:#fff!important;font-weight:700}
.pr-cmpstart svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.pr-cmpstart:hover{background:#E4EEF8!important}
.pr-cmpck{min-height:38px;padding:0 12px 0 8px;border-radius:999px !important;border:1.5px solid #289FFF;color:#008CFF;font-size:13px;transition:background-color .2s,border-color .2s}
.pr-cmpck:hover{border-color:#008CFF}
.pr-cmpck:has(input:checked){background:#008CFF;border-color:#008CFF;color:#fff}
.pr-cmpck:has(input:checked) i{border-color:#fff;background:#fff}
.pr-cmpck input:checked + i::after{border-color:#008CFF}
@media (max-width:560px){.pr-recrow{flex-direction:column;align-items:stretch}.pr-cmpstart{justify-content:center}}
/* ===== 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))}
}
