
/* ===== page ===== */
/* ===== HOME PAGE — sections only the homepage uses (shared components live in kit/core.css) =====
   Every page-only class uses the .hm- prefix; overrides of shared components are scoped under .hm-page
   (the wrapper around main.html) so this file can be bundled with other pages without side effects. */

/* page tokens (light / dark) */
:root{--hm-tile:#fff;--hm-ic:#fff;--hm-ic-rim:0 8px 20px -12px rgba(0,58,114,.4);--hm-eg:#FF6100;--hm-ok:#008CFF;--hm-night-0:#000000;--hm-muted:#000000;--hm-thumb:#fff;--hm-navn:rgba(255,255,255,.92);--hm-em-o:#FF6100;--hm-em-o2:#FF6100}

/* contrast fixes scoped to this page (kit request: move into core tokens) —
   --muted reaches 4.5:1 on white/ice; CTA fills are fixed (not lightened in dark mode) so white labels stay >= 4.5:1 */
.hm-page{--muted:var(--hm-muted)}
.hm-page .btn.primary{background:linear-gradient(135deg,#FF6100,#FF6100);font-weight:700}
.hm-page .btn.blue{background:linear-gradient(135deg,#008CFF,#008CFF);font-weight:700}
/* heading accents: deep blue (no pale sky band) in light, sheen plays once when the heading reveals */
.hm-page .h-sec em{background-image:linear-gradient(90deg,var(--blue-2),var(--blue),var(--blue-2));animation:none}
.hm-page .h-sec em.o{background-image:linear-gradient(90deg,var(--hm-em-o),var(--hm-em-o2),var(--hm-em-o))}
.hm-page .night .h-sec em{background-image:linear-gradient(90deg,#289FFF,#E4EEF8,#289FFF)}
.hm-page .h-sec.in em,.hm-page .h-sec:not(.rv) em{animation:sheen 2.4s var(--ease) .4s 1}
/* Thai text is never letter-spaced (it pulls vowels/tone marks off their consonants); Latin plan names keep tracking */
.hm-page .kick,.hm-page .plabel{letter-spacing:0}
/* range thumbs are opaque (no blue notch showing through); the fill ends under the thumb centre (--hm-r set in page.js) */
.hm-page input[type=range]::-webkit-slider-thumb{background:var(--hm-thumb)}
.hm-page input[type=range]::-moz-range-thumb{background:var(--hm-thumb)}
.hm-page input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--blue) calc(17px + (100% - 34px) * var(--hm-r,.5)),var(--line) 0)}
.hm-page input[type=range]::-moz-range-track{background:linear-gradient(90deg,var(--blue) calc(17px + (100% - 34px) * var(--hm-r,.5)),var(--line) 0)}
/* the shell's glass nav turns muddy over dark bands: page.js sets html.hm-nav-night there and the bar goes near-opaque (kit request) */
html.hm-nav-night .nav-in{--glass-bg:var(--hm-navn);--glass-bg-2:var(--hm-navn);transition:background-color .3s}

/* images carry width/height attributes; keep their ratio when CSS sizes one side (kit request: move to core reset) */
.hm-page img{height:auto}
/* one section rhythm for the whole page */
.hm-page .sec{padding-block:clamp(56px,6vw,88px)}
/* tinted bands fade in at the top so there is no hard seam against the ambient light */
.hm-page .tint{background:linear-gradient(180deg,transparent 0,var(--blue-xl) 16%,transparent 92%)}
.hm-page .kick b{white-space:nowrap}
@media (max-width:420px){
  .hm-page .kick{font-size:12.5px;gap:8px}
}
/* Thai line breaks: balanced headings, no orphans in body copy (.nw keeps a phrase together) */
.hm-page .h-sec,.hm-po-h,.hm-fcard h3,.hm-bt h3,.hm-page .sup-item b,.hm-cta-h,.hm-scene-h{text-wrap:balance}
.hm-page p,.hm-page li{text-wrap:pretty}
/* secondary text on this page uses --mid (core --muted is below 4.5:1 on white — kit request) */
.hm-page .plabel{color:var(--mid)}
.hm-page .night .plabel{color:var(--on-night-2)}
/* "ตัวอย่าง" tag on illustrative numbers */
.hm-eg{display:inline-block;font-style:normal;font-size:11px;font-weight:700;letter-spacing:.02em;line-height:1.5;padding:0 7px;border-radius:999px !important;background:var(--orange-l);color:var(--hm-eg);vertical-align:middle}
.hm-eg.on-blue{background:rgba(0,30,70,.32);color:#fff}
.hm-mt{margin-top:16px}
/* position dots under phone swipe rows (filled by page.js; hidden when the row does not scroll) */
.hm-dots{display:flex;justify-content:center;gap:6px;margin-top:4px}
.hm-dots i{width:6px;height:6px;border-radius:999px !important;background:var(--line);transition:width .4s var(--spring),background-color .3s}
.hm-dots i.on{width:22px;background:var(--blue)}
/* the floating dock (shell) steps aside while it would cover content on tablets/laptops — see page.js */
html.hm-dock-off .dock:not(:focus-within){opacity:0;visibility:hidden;pointer-events:none;transform:translateY(24px) scale(.9);transition:transform .4s var(--ease),opacity .3s,visibility 0s .4s}

/* ---------- HERO (normal flow) ---------- */
.hm-hero-in{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:30px;max-width:1240px;margin-inline:auto;padding:clamp(24px,5vh,56px) clamp(16px,4vw,40px) clamp(32px,6vh,64px)}
.hm-seo-h1{font-size:clamp(21px,2.3vw,30px);font-weight:700;letter-spacing:-.01em;line-height:1.3;margin-top:18px;max-width:none}
.hm-seo-h1 em{font-style:normal;color:var(--blue-2)}
.hm-display{font-weight:700;font-size:clamp(44px,5.4vw,82px);line-height:1;letter-spacing:-.05em;margin-top:10px}
.hm-display .hm-ln{display:block;overflow:hidden;padding:.02em .04em .1em 0}
.hm-display .hm-ln > span{display:inline-block;animation:hm-up 1.2s var(--ease) both}
/* the sheen on "Empower Growth" plays once after the line rises */
.hm-display .hm-ln:nth-child(2) > span{background:linear-gradient(90deg,#008CFF 0%,#008CFF 40%,#008CFF 60%,#008CFF 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:hm-up 1.2s var(--ease) .14s both,sheen 2.4s var(--ease) 1s 1}
.hm-display .hm-dot{color:var(--orange);-webkit-text-fill-color:var(--orange)}
.hm-lead{font-size:clamp(16px,1.35vw,18px);color:var(--mid);max-width:46ch;margin-top:14px;line-height:1.6}
.hm-hero-note{font-size:14px;color:var(--mid);margin-top:12px}
@media (min-width:901px) and (max-height:960px){
  .hm-display{font-size:clamp(40px,4.6vw,68px)}
  .hm-hero .hero-pts{margin-top:16px}
  .hm-hero .hero-ctas{margin-top:20px}
}
.hm-hero-art{position:relative;height:clamp(440px,62vh,560px);display:flex;align-items:flex-end;justify-content:center}
/* the person stands on the bottom edge of the glass card (cut-out from a 720×600 photo: never shown above ~560px tall) */
.hm-halo{position:absolute;left:8%;right:8%;bottom:0;top:14%;border-radius:48px !important}
.hm-person{position:relative;z-index:1;max-height:100%;width:auto;-webkit-mask-image:linear-gradient(180deg,#000 94%,transparent);mask-image:linear-gradient(180deg,#000 94%,transparent);filter:drop-shadow(0 30px 40px rgba(0,58,114,.25))}
.hm-float{position:absolute;z-index:2;padding:12px 18px;border-radius:20px !important;font-size:13px;color:var(--mid);min-width:170px}
.hm-float b{display:block;font-size:22px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.02em;line-height:1.3}
.hm-g{color:var(--green);font-weight:600}
.hm-fl{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.hm-f1{left:-4%;top:22%}
/* the one moving element in the hero */
.hm-f2{right:-4%;top:46%;animation:bob 6s ease-in-out infinite}
.hm-f3{left:2%;bottom:10%}
@media (max-width:900px){
  .hm-hero-in{grid-template-columns:1fr;padding-top:20px;padding-bottom:24px}
  .hm-hero-art{height:auto;width:100%;max-width:440px;margin-inline:auto}
  .hm-halo{top:10%}
  .hm-person{max-height:420px}
  .hm-float{min-width:0;padding:8px 12px;font-size:11px}
  .hm-float b{font-size:16px}
  .hm-f1{left:0}
  /* keep the photo's "งาน HR ง่ายจริง" sticker visible */
  .hm-f2{right:0;top:28%}
  .hm-f3{left:0}
}

/* ---------- STATS + LOGOS ---------- */
.hm-page .hm-trust{padding-top:clamp(24px,3vw,40px)}
.hm-stats{margin-top:36px}
/* one number colour (orange stays for actions) */
.hm-stats .stat b{color:var(--blue-2)}
.hm-stats .stat small{color:var(--mid)}
/* the counted number sits in a span inside <b>: keep the big stat type (core .stat span is the 14px caption — kit request) */
.hm-stats .stat b span{font-size:inherit;color:inherit;line-height:inherit}
.hm-unit{font-style:normal;font-size:.56em;letter-spacing:-.01em}
.hm-stat-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin-top:16px}
.hm-asof{font-size:13px;color:var(--mid)}
.hm-dl{display:inline-flex;align-items:center;gap:12px;padding:7px 20px 7px 7px;border-radius:999px !important;text-decoration:none;color:var(--ink);transition:transform .4s var(--spring)}
.hm-dl:hover{transform:translateY(-2px)}
.hm-dl-ic{flex:none;width:40px;height:40px;border-radius:50% !important;display:grid;place-items:center;background:linear-gradient(135deg,#FF6100,#FF6100);box-shadow:0 8px 18px -8px rgba(255,97,0,.7)}
.hm-dl-ic svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.hm-dl b{display:block;font-size:15px;line-height:1.3}
.hm-dl small{display:block;font-size:13px;color:var(--mid);line-height:1.4}
@media (max-width:560px){
  .hm-stat-foot{flex-direction:column-reverse;align-items:stretch}
  .hm-asof{text-align:right}
  .hm-unit{display:block;font-size:16px;margin-top:4px}
}
/* logos share one optical size; tiles are soft in dark mode; keyboard focus / touch also pause the loop */
.hm-marquee .logo-tile{background:var(--hm-tile)}
.hm-marquee .logo-tile img.hm-lg-wide{max-width:104px;max-height:30px}
.hm-marquee .logo-tile img.hm-lg-sm{max-width:90px}
.hm-marquee .logo-tile img.hm-lg-sq{max-width:92px;max-height:44px}
.hm-marquee:focus-within .mq-track,.hm-marquee:focus .mq-track,.hm-marquee:active .mq-track{animation-play-state:paused}
.hm-marquee:focus-visible{outline-offset:-3px}

/* ---------- DASHBOARD SCENE (pinned on roomy screens) ---------- */
.hm-scene{height:210vh}
/* content starts under the fixed nav; the frame is sized by the height left so nothing is clipped at 1280×720…1920×1080 */
.hm-scene-pin{position:sticky;top:0;height:100vh;height:100svh;display:flex;flex-direction:column;justify-content:flex-start;overflow:clip;padding:112px 0 24px}
.hm-scene-head{position:relative;text-align:center;padding-inline:16px}
.hm-scene-h{margin-inline:auto;max-width:none;font-size:clamp(30px,3.4vw,50px)}
.hm-scene-caps{position:relative;height:3.2em;max-width:640px;margin:10px auto 0;font-size:clamp(15px,1.4vw,18px)}
.hm-scene-caps p{position:absolute;inset:0;color:var(--on-night-2);transition:opacity .5s,transform .7s var(--ease)}
.hm-scene-caps p:not(.on){opacity:0;transform:translateY(14px)}
.hm-scene-caps b{color:var(--on-night)}
.hm-scene-dots{display:flex;gap:8px;justify-content:center;margin-top:10px}
.hm-scene-dots i{width:8px;height:8px;border-radius:999px !important;background:rgba(255,255,255,.25);transition:width .5s var(--spring),background-color .4s}
.hm-scene-dots i.on{width:32px;background:var(--orange)}
.hm-scene-frame{position:relative;margin:18px auto 0;width:min(960px,92vw,calc((100svh - 420px) * 1.4));transform-origin:50% 0;will-change:transform}
.hm-browser{border-radius:22px !important;overflow:hidden;padding:8px}
.hm-browser .bar{display:flex;align-items:center;gap:6px;padding:6px 10px 12px;font-size:12px;color:var(--on-night-2)}
.hm-browser .bar i{width:10px;height:10px;border-radius:50% !important;background:rgba(255,255,255,.25)}
.hm-browser .bar span{margin-left:10px;background:rgba(255,255,255,.1);border-radius:999px !important;padding:2px 14px}
.hm-browser img{width:100%;border-radius:14px !important;background:#fff}
.hm-glow{position:absolute;left:50%;top:60%;width:80vw;height:50vh;transform:translate(-50%,-50%);background:radial-gradient(closest-side,rgba(0,140,255,.45),transparent);filter:blur(30px);pointer-events:none}

/* ---------- FEATURE RAIL (pinned; page.js sets its height from the track overflow) ---------- */
.hm-rail{height:220vh}
.hm-rail-pin{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;justify-content:center;overflow:clip;padding-top:80px}
.hm-rail-pin > .wrap{width:100%}
/* the end padding keeps the last card clear of the floating dock */
.hm-rail-track{display:flex;gap:18px;padding-inline:max(16px,calc((100vw - var(--maxw))/2 + 40px)) max(104px,calc((100vw - var(--maxw))/2 + 104px));margin-top:34px;will-change:transform;width:max-content}
.hm-fcard{width:min(300px,76vw);flex:none;border-radius:var(--r-l) !important;padding:24px;min-height:236px;display:flex;flex-direction:column;transition:transform .5s var(--ease);text-decoration:none;color:var(--ink)}
.hm-fcard .ic{width:84px;height:84px;border-radius:26px !important;background:var(--hm-ic);display:grid;place-items:center;box-shadow:var(--hm-ic-rim)}
.hm-fcard .ic img{width:62px;height:62px}
.hm-idx{margin-left:auto;font-size:14px;color:var(--mid);font-weight:600}
.hm-fc-top{display:flex;align-items:flex-start}
/* titles share a two-line box so the subtitles line up across cards */
.hm-fcard h3{font-size:clamp(20px,1.6vw,22px);line-height:1.25;margin-top:auto;padding-top:20px;min-height:calc(2.5em + 20px)}
.hm-fcard h3 small{display:block;font-size:14px;font-weight:600;letter-spacing:0;color:var(--mid);margin-top:2px}
.hm-fcard p{color:var(--mid);margin-top:6px;font-size:15px;min-height:3.2em}
.hm-go{margin-top:14px;font-size:14px;font-weight:600;color:var(--blue-2)}
/* closing card of the rail: brand-blue, links to all features (fixed blues keep white text >= 4.5:1 in both themes) */
.hm-fmore{background:linear-gradient(140deg,#008CFF,#008CFF 55%,#008CFF);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 24px 50px -24px rgba(0,113,214,.8)}
.hm-fmore .ic{background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.hm-fmore .ic svg{width:36px;height:36px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round}
.hm-fmore p,.hm-fmore .hm-go{color:#fff}
.hm-fmore:hover{transform:translateY(-6px)}
/* the pinned rail centres ~640px of content in a 100vh pin: pull the next section up over the empty lower part */
@media (min-width:761px) and (min-height:701px) and (prefers-reduced-motion:no-preference){
  .hm-rail{margin-bottom:calc(-1 * max(0px, (100vh - 660px) / 2))}
}
.hm-rail-bar{width:min(400px,60vw);height:4px;border-radius:4px !important;background:var(--line);margin:30px auto 0;overflow:hidden}
.hm-rail-bar i{display:block;height:100%;transform-origin:0 50%;transform:scaleX(0);background:var(--blue)}
/* normal flow for both scroll moments: phones, short laptops and reduced motion (page.js uses the same test) */
@media (max-width:760px),(max-height:700px),(prefers-reduced-motion:reduce){
  .hm-scene,.hm-rail{height:auto!important;margin-bottom:0}
  .hm-scene-pin,.hm-rail-pin{position:relative;height:auto}
  .hm-scene-pin{padding-block:64px}
  .hm-scene-frame{transform:none!important;width:min(960px,92vw)}
  .hm-scene-caps{height:auto}
  .hm-scene-caps p{position:static;opacity:1!important;transform:none!important;margin-top:8px}
  .hm-scene-dots{display:none}
  .hm-rail-pin{padding-block:64px 8px}
  .hm-rail-track{transform:none!important;width:auto;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:12px;padding-inline-end:max(16px,calc((100vw - var(--maxw))/2 + 40px));scroll-padding-inline:max(16px,calc((100vw - var(--maxw))/2 + 40px))}
  .hm-rail-track::-webkit-scrollbar{display:none}
  .hm-fcard{scroll-snap-align:start}
  .hm-rail-bar{display:none}
}
@media (max-width:620px){
  .hm-scene-h{font-size:clamp(28px,8vw,36px)}
}

/* ---------- PLAYGROUND (tabbed demos) ---------- */
.hm-page .hm-pg{padding-top:clamp(28px,3vw,48px)}
.hm-pg-lead{max-width:40ch}
.hm-pg-lead b,.hm-pg .pg-sub b{color:var(--ink);font-weight:600}
.hm-pg .note{color:var(--mid)}
.hm-pg .seg button{min-height:44px}
/* phones: the five demo tabs wrap onto rows (all visible) instead of a hidden sideways scroller */
@media (max-width:620px){
  .hm-pg .pg-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;width:100%;border-radius:26px !important;overflow:visible}
  .hm-pg .pg-tabs .thumb{display:none}
  .hm-pg .pg-tabs [role=tab]{padding:8px 14px;font-size:14.5px}
  .hm-pg .pg-tabs [aria-selected=true]{background:var(--card);box-shadow:inset 0 1px 0 var(--spec),0 6px 18px -6px rgba(0,58,114,.35),0 0 0 .5px var(--glass-rim)}
}
.hm-period{margin-top:8px;display:flex;width:max-content}
.hm-r{text-align:right}
/* phones: the net-pay figure rides along while the sliders are adjusted, then hides when the payslip total is visible */
.hm-netpill{display:none}
@media (max-width:900px){
  .hm-netpill{display:flex;position:sticky;top:84px;z-index:3;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:8px 8px 8px 18px;border-radius:999px !important;font-size:14px;font-weight:600;--glass-bg:var(--card);--glass-bg-2:var(--card);transition:opacity .3s,transform .4s var(--ease),visibility 0s}
  .hm-netpill.hm-off{opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .3s,transform .4s var(--ease),visibility 0s .3s}
  .hm-netpill b{font-size:20px;letter-spacing:-.02em;padding:4px 14px;border-radius:999px !important;background:linear-gradient(135deg,#008CFF,#008CFF);color:#fff}
}
.hm-ctl{display:grid;gap:22px;margin-top:20px}
.row.minus span:last-child{color:var(--red)}
.hm-close-run{margin-top:16px;display:grid;gap:10px;padding:18px;border-radius:var(--r) !important}
.hm-close-run .bar{height:10px;border-radius:10px !important;background:var(--line);overflow:hidden}
.hm-close-run .bar i{display:block;height:100%;width:100%;border-radius:10px !important;background:linear-gradient(90deg,var(--blue),var(--orange));transform:scaleX(0);transform-origin:0 50%;transition:transform .15s linear}
.hm-close-run p{font-size:14px;color:var(--mid)}
.hm-close-run p b{color:var(--ink)}

/* time attendance stage (dark card) */
.hm-ta-stage{border-radius:var(--r-l) !important;padding:clamp(22px,3vw,36px)}
.hm-methods{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.hm-methods button{min-height:44px;border-radius:999px !important;padding:9px 16px;font-size:14px;font-weight:600;color:var(--on-night-2);border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);transition:transform .35s var(--spring),background-color .3s,color .3s,border-color .3s,box-shadow .3s}
.hm-methods button:hover{color:var(--on-night);transform:translateY(-2px)}
.hm-methods button[aria-pressed=true]{background:linear-gradient(135deg,#008CFF,#008CFF);border-color:rgba(255,255,255,.4);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 26px -10px rgba(0,140,255,.8)}
.night .pg-sub{color:var(--on-night-2)}
.hm-ta-stage .demo{margin-top:20px}
.hm-method-desc{margin-top:16px;font-size:16px;color:var(--on-night-2);min-height:3.2em}
.hm-method-desc b{color:var(--on-night)}
.hm-ta-wrap{display:grid;grid-template-columns:auto minmax(0,1fr);gap:26px;align-items:center}
@media (max-width:620px){
  .hm-ta-wrap{grid-template-columns:1fr;justify-items:center}
}
.hm-v-face{width:140px;height:170px;border-radius:50% 50% 46% 46% !important;background:radial-gradient(circle at 50% 38%,#FF6100 0 34%,transparent 35%),radial-gradient(ellipse at 50% 110%,#008CFF 0 48%,transparent 49%);position:relative}
.hm-v-face::before{content:"";position:absolute;inset:-14px;border:3px solid #008CFF;border-radius:30px !important;clip-path:polygon(0 0,30% 0,30% 4%,4% 4%,4% 30%,0 30%,0 70%,4% 70%,4% 96%,30% 96%,30% 100%,70% 100%,70% 96%,96% 96%,96% 70%,100% 70%,100% 30%,96% 30%,96% 4%,70% 4%,70% 0,100% 0,100% 100%,0 100%)}
.hm-v-face::after,.hm-v-finger::after{content:"";position:absolute;left:-10px;right:-10px;top:0;height:3px;border-radius:3px !important;background:#FF6100;box-shadow:0 0 18px #FF6100;animation:hm-scan 2s ease-in-out infinite}
.hm-v-finger{width:140px;height:170px;border-radius:50% 50% 46% 46% !important;background:repeating-radial-gradient(ellipse at 50% 60%,#008CFF 0 3px,transparent 3px 9px);position:relative}
.hm-v-gps{width:200px;height:200px;border-radius:50% !important;background:repeating-linear-gradient(0deg,transparent 0 22px,#E4EEF8 22px 23px),repeating-linear-gradient(90deg,#fff 0 22px,#E4EEF8 22px 23px);position:relative;border:2px solid #E4EEF8}
.hm-v-gps .hm-zone{position:absolute;inset:30px;border-radius:50% !important;background:rgba(0,140,255,.14);border:2px dashed #008CFF}
.hm-v-gps .hm-pin{position:absolute;width:18px;height:18px;border-radius:50% !important;background:#FF6100;border:3px solid #fff;box-shadow:0 0 0 6px rgba(255,97,0,.25);transition:left .7s var(--spring),top .7s var(--spring)}
.hm-v-gps .hm-tag{position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);background:#008CFF;color:#fff;font-size:11px;padding:3px 10px;border-radius:999px !important;white-space:nowrap}
.hm-v-rings{width:180px;height:180px;position:relative;display:grid;place-items:center}
.hm-v-rings i{position:absolute;inset:0;border-radius:50% !important;border:2px solid #008CFF;animation:ring 2.4s ease-out infinite;opacity:0}
.hm-v-rings i:nth-child(2){animation-delay:.8s}
.hm-v-rings i:nth-child(3){animation-delay:1.6s}
.hm-v-rings span{width:64px;height:64px;border-radius:22px !important;background:#008CFF;color:#fff;display:grid;place-items:center;font-weight:700;font-size:13px;z-index:1}
.hm-v-qr{width:170px;height:170px;background:#fff;padding:12px;border-radius:24px !important;box-shadow:0 10px 30px -10px rgba(0,0,0,.25)}
.hm-v-qr canvas{width:100%;height:100%;image-rendering:pixelated}
.hm-v-list{width:86%;display:grid;gap:8px;font-size:13px}
.hm-v-list div{background:rgba(255,255,255,.85);border:1px solid #E4EEF8;border-radius:16px !important;padding:10px 12px;display:flex;justify-content:space-between;gap:8px}
.hm-v-list div.hl{border-color:#008CFF;background:#E4EEF8;font-weight:700}
.hm-v-list em{font-style:normal;color:#008CFF;font-weight:700}
.hm-v-list em.w{color:#FF6100}

/* leave flow */
.hm-levels{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}
.hm-levels > span{font-size:15px;color:var(--mid)}
.hm-reset{min-height:44px;border:0;background:none;color:var(--blue-2);font-weight:600;font-size:14px;text-decoration:underline;padding:0 8px}
.hm-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
@media (max-width:960px){
  .hm-flow{grid-template-columns:1fr}
}
.hm-step{padding:clamp(20px,2.4vw,28px);border-radius:var(--r-l) !important;min-width:0;transition:transform .5s var(--spring),box-shadow .4s}
.hm-step.live{transform:translateY(-6px);box-shadow:inset 0 1px 0 var(--spec),0 0 0 2px var(--blue),0 30px 60px -30px rgba(0,140,255,.6)}
.hm-step-n{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hm-step-n b{display:grid;place-items:center;width:42px;height:42px;border-radius:50% !important;background:#FF6100;color:#fff;font-size:19px}
.hm-step .hm-sh{font-size:20px;margin-top:14px}
.hm-flabel{font-size:13px;font-weight:600;color:var(--mid);display:block;margin-bottom:6px}
.hm-paylines{margin-top:12px}
.hm-who{font-size:14px;color:var(--mid);margin-top:4px}
.hm-fgrid{display:grid;gap:12px;margin-top:16px}
.hm-fgrid label{font-size:13px;font-weight:600;color:var(--mid);display:grid;gap:6px}
.hm-fgrid select,.hm-fgrid input[type=text]{border:1px solid var(--line);background:var(--card);padding:10px 14px;font-size:15px;width:100%;min-height:44px;border-radius:14px !important}
.hm-pg .stepper button{width:44px;height:44px}
.hm-quota{height:8px;border-radius:8px !important;background:var(--line);margin-top:8px;overflow:hidden}
.hm-quota i{display:block;height:100%;width:100%;border-radius:8px !important;background:var(--blue);transform:scaleX(0);transform-origin:0 50%;transition:transform .6s var(--spring)}
.hm-quota.over i{background:var(--red)}
.hm-qtext{font-size:13px;color:var(--mid);margin-top:6px}
.hm-req{margin-top:16px;border-radius:20px !important;background:var(--card);border:1px solid var(--line);padding:14px;transition:opacity .4s,transform .5s var(--spring)}
.hm-req.dim{opacity:.4;transform:scale(.97)}
.hm-rt{display:flex;justify-content:space-between;gap:10px;font-weight:700}
.hm-req p{font-size:14px;color:var(--mid);margin-top:6px}
.hm-chainlv{display:flex;align-items:center;gap:6px;margin-top:12px;flex-wrap:wrap}
.hm-chainlv i{width:30px;height:30px;border-radius:50% !important;border:2px solid var(--line);display:grid;place-items:center;font-size:12px;font-style:normal;font-weight:700;color:var(--mid);transition:background-color .4s,border-color .4s,color .4s,box-shadow .4s}
.hm-chainlv i.done{background:var(--green);border-color:var(--green);color:#fff}
.hm-chainlv i.cur{border-color:var(--orange);color:var(--orange);box-shadow:0 0 0 5px var(--orange-l)}
.hm-chainlv s{width:14px;height:2px;border-radius:2px !important;background:var(--line);text-decoration:none}
.hm-pay-line{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px dashed var(--line);font-size:15px}
.hm-pay-line span:last-child{font-weight:600;font-variant-numeric:tabular-nums}
.hm-pay-net{font-size:40px;font-weight:700;letter-spacing:-.03em;margin-top:8px;font-variant-numeric:tabular-nums}

/* shift */
.hm-btns{display:flex;gap:10px;flex-wrap:wrap}
.hm-sg .hm-cnt{font-size:13px;line-height:1.3}
.hm-empty{margin-top:14px;padding:12px 16px;border-radius:16px !important;background:var(--orange-l);color:var(--ink);font-size:14px}
.hm-shift-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-top:16px}
.hm-sw{overflow-x:auto;margin-top:16px;border-radius:var(--r-l) !important;padding:10px}
.hm-sg{display:grid;grid-template-columns:130px repeat(7,minmax(72px,1fr));gap:6px;min-width:680px}
.hm-sg > div{padding:6px 8px;font-size:14px;min-height:46px;display:flex;align-items:center;border-radius:14px !important}
.hm-sg .hm-hd{font-weight:600;justify-content:center;font-size:13px;min-height:32px;color:var(--mid)}
.hm-sg .hm-hd.we{color:var(--hm-eg)}
.hm-sg .hm-nm{font-weight:600;gap:10px}
.hm-sg .hm-nm i{width:30px;height:30px;border-radius:50% !important;background:var(--blue-l);color:var(--blue-2);display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:700;flex:none}
.hm-sg .hm-cell{padding:0}
.hm-cell button{width:100%;height:100%;min-height:44px;border:0;border-radius:14px !important;font-size:13px;font-weight:700;transition:transform .35s var(--spring)}
.hm-cell button:hover{transform:scale(1.05)}
.hm-cell button:active{transform:scale(.88)}
.hm-s-M{background:#E4EEF8;color:#008CFF}
.hm-s-A{background:#FFF1E8;color:#FF6100}
.hm-s-N{background:#008CFF;color:#fff}
.hm-s-O{background:repeating-linear-gradient(135deg,rgba(134,138,148,.08) 0 6px,rgba(134,138,148,.2) 6px 7px);color:var(--mid)}
.hm-sg .hm-cov{font-size:12px;flex-direction:column;justify-content:center;gap:2px;background:var(--green-l);color:var(--green)}
.hm-sg .hm-cov.bad{background:var(--red-l);color:var(--red)}
.hm-pg .shift-sum .warn b{color:var(--red)}

/* PDPA */
.hm-pg #roles button{min-height:44px}

/* ---------- SUPPORT (มั่นใจได้เลย) ---------- */
.hm-support{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(24px,5vw,64px);align-items:center}
@media (max-width:900px){
  .hm-support{grid-template-columns:1fr}
}
.hm-bubble{position:absolute;z-index:2;left:2%;top:16%;padding:14px 20px;border-radius:26px 26px 26px 8px !important;font-weight:700;line-height:1.2}
.hm-bubble b{display:block;font-size:30px;color:var(--orange)}
.hm-support .badge-1537{animation:none}
.hm-sup-list{display:grid;gap:12px;margin-top:26px}
.hm-sup-list .sup-item .ic{background:var(--hm-ic);box-shadow:var(--hm-ic-rim)}
/* fixed dark orange in both themes: white 14px bold text stays >= 4.5:1 (core .sup-item span would otherwise grey it out) */
.hm-sup-list .sup-item .hm-free{font-size:14px;font-weight:700;line-height:1.4;color:#fff;background:#FF6100;padding:4px 12px;border-radius:999px !important;white-space:nowrap}
.hm-sup-list .sup-item .hm-free-n{background:var(--blue-l);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
/* phrases kept together inside the bold title keep the title type (core .sup-item span is the 14px caption) */
.hm-sup-list .sup-item b .nw{font-size:inherit;color:inherit}
.hm-sup-foot{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;margin-top:22px}
.hm-sup-foot p{display:flex;align-items:center;gap:8px;color:var(--mid);font-size:15px}
.hm-sup-foot svg{width:20px;height:20px;flex:none;fill:none;stroke:var(--green);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:900px){
  .hm-support .sup-art{min-height:0;width:min(100%,400px);margin-inline:auto}
  .hm-support .sup-art img.person{max-height:330px}
  .hm-bubble{top:10%;padding:10px 16px}
  .hm-bubble b{font-size:24px}
}
@media (max-width:560px){
  .hm-sup-list .sup-item{grid-template-columns:46px minmax(0,1fr) auto;gap:12px;padding:14px}
  .hm-sup-list .sup-item .ic{width:46px;height:46px;border-radius:15px !important}
  .hm-sup-list .sup-item .ic img{width:30px;height:30px}
  .hm-sup-list .sup-item b{font-size:16px;line-height:1.35}
  .hm-sup-list .sup-item .hm-free{font-size:13px;padding:3px 10px}
}

/* ---------- HELP CENTER (dark band) ---------- */
.hm-page .hm-help-sec{padding-block:clamp(40px,5vw,64px)}
.hm-hc-art{position:relative}
.hm-hc-search svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media (max-width:560px){
  .hm-hc-art{display:none}
}
.hm-help{border-radius:44px !important;margin-inline:auto;max-width:1240px;overflow:hidden;position:relative;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.hm-help-in{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(24px,4vw,56px);align-items:center;padding:clamp(32px,5vw,64px)}
@media (max-width:900px){
  .hm-help-in{grid-template-columns:1fr}
}
.hm-help::before{content:"";position:absolute;width:520px;height:520px;right:-120px;top:-180px;border-radius:50% !important;background:radial-gradient(closest-side,rgba(255,97,0,.35),transparent);filter:blur(10px)}
.hm-help::after{content:"";position:absolute;width:600px;height:600px;left:-200px;bottom:-300px;border-radius:50% !important;background:radial-gradient(closest-side,rgba(0,140,255,.45),transparent)}
.hm-help-in > *{position:relative;z-index:1}
.hm-help h2{font-size:clamp(34px,5vw,62px);font-weight:700;letter-spacing:-.04em;line-height:1.05;margin-top:16px}
.hm-help h2 span{background:linear-gradient(90deg,#289FFF,#E4EEF8);-webkit-background-clip:text;background-clip:text;color:transparent}
.hm-help h2 em{font-style:normal;background:linear-gradient(90deg,#FF6100,#FF6100);-webkit-background-clip:text;background-clip:text;color:transparent}
.hm-help-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:28px}
@media (max-width:560px){
  .hm-help-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.hm-htile{position:relative;padding:16px 12px;border-radius:22px !important;text-align:center;text-decoration:none;color:var(--on-night);transition:transform .45s var(--spring)}
.hm-htile:hover{transform:translateY(-6px) scale(1.03)}
/* one icon colour; orange is kept for the "New!" badge */
.hm-htile i{width:54px;height:54px;margin:0 auto 10px;border-radius:17px !important;display:grid;place-items:center;background:linear-gradient(135deg,#008CFF,#008CFF);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 20px -8px rgba(0,140,255,.7)}
.hm-htile i svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hm-htile b{display:block;font-size:15px}
.hm-htile small{font-size:12.5px;color:var(--on-night-2)}
.hm-new{position:absolute;top:-8px;right:8px;font-size:11px;font-weight:700;background:#FF6100;color:#fff;padding:2px 9px;border-radius:999px !important}
.hm-help-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hm-hc-win{border-radius:28px !important;padding:16px;transform:perspective(1200px) rotateY(-10deg) rotateX(4deg);transition:transform .8s var(--ease)}
.hm-hc-win:hover{transform:none}
.hm-hc-bar{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:16px !important;background:linear-gradient(135deg,#008CFF,#008CFF);font-weight:700;font-size:15px}
.hm-hc-bar small{font-weight:500;opacity:.9}
.hm-hc-search{margin:12px 0;padding:11px 16px;border-radius:999px !important;background:rgba(255,255,255,.12);font-size:13px;color:var(--on-night-2);display:flex;gap:8px;align-items:center}
.hm-hc-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hm-hc-card{border-radius:18px !important;padding:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);min-height:112px;display:flex;flex-direction:column;gap:4px}
.hm-hc-card i{width:30px;height:30px;border-radius:10px !important;display:grid;place-items:center;background:rgba(0,140,255,.25);margin-bottom:4px}
.hm-hc-card i.o{background:rgba(255,113,6,.28)}
.hm-hc-card i svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hm-hc-card small{font-size:11.5px;color:var(--on-night-2)}
.hm-hc-card b{font-size:13px;line-height:1.35;color:var(--on-night)}
/* the bell rings once when the band appears (.rv → .in) */
.hm-hc-bell{position:absolute;right:6px;top:-18px;width:52px;height:52px;border-radius:50% !important;display:grid;place-items:center;background:linear-gradient(135deg,#FF8100,#FF6100);box-shadow:0 10px 24px -8px rgba(255,97,0,.8);z-index:2}
.hm-help.in .hm-hc-bell{animation:hm-ring 2.6s ease-in-out .6s 1}
.hm-hc-bell svg{width:24px;height:24px;fill:#fff}
.hm-hc-bell span{position:absolute;top:-4px;right:-4px;width:20px;height:20px;border-radius:50% !important;background:#FF6100;color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center}

/* ---------- PAYROLL OUTSOURCING ---------- */
.hm-po{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(24px,4vw,56px);align-items:center;border-radius:44px !important;padding:clamp(28px,4vw,52px);overflow:hidden}
@media (max-width:900px){
  .hm-po{grid-template-columns:1fr}
}
.hm-page .hm-po-sec{padding-top:clamp(24px,3vw,48px)}
.hm-po-h{margin:16px 0 0;font-size:clamp(30px,4.2vw,52px);font-weight:700;letter-spacing:-.035em;line-height:1.12}
.hm-po-h > span{color:var(--orange)}
.hm-po-h small{display:block;font-size:.55em;color:var(--mid);font-weight:600;letter-spacing:-.01em;margin-top:6px}
.hm-po-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}
.hm-po-list > div{display:flex;gap:10px;padding:14px;border-radius:20px !important}
.hm-po-list img{width:22px;height:22px;flex:none;margin-top:2px}
.hm-po-list b{display:block;font-size:15px}
.hm-po-list span{font-size:14px;color:var(--mid)}
/* phones: a plain checklist inside the outer glass card (no nested glass) */
@media (max-width:620px){
  .hm-po-list{grid-template-columns:1fr;gap:4px}
  .hm-po-list > div.glass{background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding:8px 0}
  .hm-po-list > div.glass::after{display:none}
}
.hm-page .po-art .disc{background:linear-gradient(160deg,color-mix(in srgb,var(--blue) 24%,var(--card)),var(--blue-xl))}
@media (max-width:900px){
  .hm-page .po-art{min-height:0;width:min(100%,400px);margin-inline:auto}
  .hm-page .po-art img.person{max-height:360px}
}
.hm-mob{position:absolute;z-index:2;right:2%;bottom:6%;width:96px;filter:drop-shadow(0 18px 24px rgba(0,58,114,.35))}
.hm-tag{position:absolute;z-index:2;left:0;top:20%;padding:12px 18px;border-radius:22px !important;font-weight:700;font-size:22px}
.hm-tag span{color:var(--orange)}
/* video cards: clean YouTube stills, a centred play glyph, the title under the picture (never on top of the clip's own captions) */
.hm-vids{margin-top:24px}
.hm-vid{display:flex;flex-direction:column;padding:10px;border-radius:30px !important;text-decoration:none;color:var(--ink);transition:transform .5s var(--spring)}
.hm-vid:hover{transform:translateY(-6px)}
.hm-vid-ph{position:relative;display:block;aspect-ratio:16/9;border-radius:22px !important;overflow:hidden}
.hm-vid-ph img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.hm-vid:hover .hm-vid-ph img{transform:scale(1.05)}
.hm-vid-ph::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(6,16,28,.5))}
.hm-vid .play{left:50%;top:50%;right:auto;bottom:auto;width:68px;height:68px;transform:translate(-50%,-50%);z-index:2;background:rgba(6,16,28,.38)}
.hm-vid:hover .play{transform:translate(-50%,-50%) scale(1.12)}
.hm-vid-tx{display:block;padding:14px 12px 6px}
.hm-vid-tx small{display:block;font-size:14px;color:var(--mid)}
.hm-vid-tx b{display:block;font-size:clamp(18px,1.8vw,22px);line-height:1.3}
.hm-vid .hm-go{display:inline-block;margin-top:6px}

/* ---------- TESTIMONIALS ---------- */
.hm-tms .tm{margin:0}
.hm-tms .tm blockquote{margin:0}
.hm-tms .tm-who .hm-tm-id b{font-size:16px;font-weight:700;color:var(--ink)}
.hm-tms .tm-who .hm-tm-id > span{font-size:14px;color:var(--mid)}
.hm-tms .tm-who .hm-tm-id .nw{display:inline;font-size:inherit;color:inherit}
.hm-tms .tm-who .tm-logo{width:120px;height:56px;padding:8px 12px;background:var(--hm-tile)}
.hm-tms .tm-who .tm-logo img{max-height:40px;max-width:96px}
@media (max-width:560px){
  .hm-tms .tm{padding:22px}
  .hm-tms .tm-who{flex-wrap:wrap}
  .hm-tms .tm-who .tm-logo{order:3;margin-left:0;height:48px}
}

/* ---------- TRUST BENTO: ISO | ISO | tech (row 1) · supported by (row 2) ---------- */
.hm-bt{border-radius:var(--r-l) !important;padding:24px;display:flex;flex-direction:column;gap:14px;transition:transform .45s var(--spring)}
.hm-bt:hover{transform:translateY(-6px)}
.hm-seal{width:96px;height:96px;border-radius:26px !important;background:var(--hm-tile);display:grid;place-items:center;padding:10px;box-shadow:0 10px 26px -14px rgba(0,58,114,.4)}
.hm-seal img{max-height:76px;width:auto}
.hm-seal-w{width:132px}
.hm-seal-w img{max-height:64px}
.hm-bt h3{font-size:20px}
.hm-bt p{font-size:14px;color:var(--mid)}
.hm-bento .hm-wide{grid-column:span 2}
.hm-bento .hm-full{grid-column:1/-1}
.hm-bt-row{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px}
.hm-bt-row h3{margin-top:6px}
.hm-lbl{font-size:14px;font-weight:600;color:var(--mid)}
.hm-chips-logo{display:flex;flex-wrap:wrap;gap:10px}
.hm-chips-logo > span{height:70px;min-width:110px;padding:10px 16px;border-radius:18px !important;background:var(--hm-tile);display:grid;place-items:center;box-shadow:0 8px 20px -14px rgba(0,58,114,.4)}
.hm-chips-logo img{max-height:46px;width:auto}
.hm-wide .hm-chips-logo > span{height:62px;min-width:0;padding:8px 16px}
.hm-wide .hm-chips-logo img{max-height:36px}
/* REST API as live text (the source logo is pale blue on white) — fixed blue reads on the light tile in both themes */
.hm-chips-logo .hm-api{display:flex;align-items:center;gap:8px;font-size:19px;font-weight:700;color:#008CFF;letter-spacing:-.01em}
.hm-api svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:900px){
  .hm-bento .hm-wide{grid-column:1/-1}
}
@media (max-width:560px){
  .hm-bento{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hm-bento .hm-bt{padding:18px;gap:10px}
  .hm-bento .hm-seal{width:72px;height:72px;border-radius:20px !important}
  .hm-bento .hm-seal-w{width:100px}
  .hm-bento .hm-seal img{max-height:52px}
  .hm-bento .hm-bt h3{font-size:17px}
  .hm-bento .hm-chips-logo > span{height:58px;min-width:0;padding:8px 12px}
  .hm-bento .hm-chips-logo img{max-height:38px}
  .hm-chips-logo .hm-api{font-size:16px}
}

/* ---------- PRICE FINDER ---------- */
.hm-needs{border:0;padding:0;margin:24px 0 0;min-width:0}
.hm-needs legend{padding:0;margin-bottom:2px}
/* the native checkbox covers the whole pill (big tap target); .hm-ck draws the box */
#needs label{position:relative;min-height:44px}
#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:20px;height:20px;border-radius:7px !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:10px;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}
@media (max-width:560px){
  #needs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #needs label{font-size:14px;line-height:1.3;padding:8px 12px;border-radius:18px !important}
}
/* result pill + billing toggle sit together right above the plans */
.hm-price-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 20px;margin-top:22px}
.hm-rec{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 20px 10px 14px;border-radius:26px !important;font-size:clamp(16px,1.5vw,18px);font-weight:500;color:var(--ink);min-height:56px;max-width:100%}
.hm-rec > span:first-child{color:var(--mid)}
.hm-rec-plan{display:inline-block;padding:3px 14px;border-radius:999px !important;background:#FF6100;color:#fff;font-size:16px;letter-spacing:.06em}
.hm-bill{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.hm-bill p{font-size:14px;color:var(--hm-ok);font-weight:600}
.hm-plans .plan{display:flex;flex-direction:column}
.hm-plans .plan .for,.hm-plans .plan .avg{color:var(--mid)}
.hm-plans .plan .for{text-wrap:balance}
.hm-plans .plan .pf{flex:1;align-content:start}
.hm-plans .plan .btn{display:block;margin-top:18px;width:100%;white-space:normal;text-align:center;line-height:1.35;padding:13px 18px}
.hm-plans .plan.rec-on{transform:translateY(-14px) scale(1.02)}
.hm-plans .plan .badge{background:#FF6100}
.hm-plan-note{color:var(--mid)}
.hm-plans + .hm-dots{margin-top:0}

/* ---------- BLOG ---------- */
.hm-blogs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:32px}
@media (max-width:900px){
  .hm-blogs{grid-template-columns:1fr}
}
.hm-post{border-radius:var(--r-l) !important;overflow:hidden;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;transition:transform .5s var(--spring)}
.hm-post:hover{transform:translateY(-8px)}
.hm-ph{aspect-ratio:16/9;overflow:hidden;margin:10px 10px 0;border-radius:24px !important}
.hm-ph img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.hm-post:hover .hm-ph img{transform:scale(1.06)}
.hm-bd{padding:18px 22px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.hm-bd time{font-size:13px;color:var(--mid)}
.hm-bd h3{font-size:19px;line-height:1.35}
.hm-bd p{font-size:14px;color:var(--mid);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hm-bd .hm-go{margin-top:auto}

/* ---------- FAQ ---------- */
.hm-faq-h{font-size:clamp(30px,3.6vw,46px)}
.hm-faq-sub{margin-top:10px;color:var(--mid)}
.hm-faq-wrap .faq-links .more{margin-top:4px}
.hm-faq-wrap .faq-links .more:first-child{margin-top:18px}
@media (min-width:901px){
  .hm-faq-intro{position:sticky;top:110px}
}

/* ---------- CTA (shared .o-cta, big headline) ---------- */

/* ---------- PHONES: swipe rows instead of long stacks (plans · blog · testimonials) ---------- */
/* plans switch at 620px (2x2 grid fits a tablet); blog + testimonials already swipe below 900px */
@media (max-width:900px){
  .hm-page .wrap .hm-snap.hm-blogs,.hm-page .wrap .hm-snap.hm-tms{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:min(84%,340px);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;
    margin-inline:calc(-1 * clamp(16px,4vw,40px));padding:16px clamp(16px,4vw,40px) 20px;scroll-padding-inline:clamp(16px,4vw,40px)}
  .hm-page .wrap .hm-snap::-webkit-scrollbar{display:none}
  .hm-snap > *{scroll-snap-align:start}
}
@media (max-width:620px){
  .hm-page .wrap .hm-snap.hm-plans{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:min(84%,340px);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;
    margin:4px calc(-1 * clamp(16px,4vw,40px)) 0;padding:22px clamp(16px,4vw,40px) 20px;scroll-padding-inline:clamp(16px,4vw,40px)}
  .hm-page .wrap .hm-snap.hm-blogs,.hm-page .wrap .hm-snap.hm-tms{margin-top:16px}
}

/* ---------- MOTION ---------- */
@media (prefers-reduced-motion:reduce){
  .hm-scene-frame,.hm-rail-track{transform:none!important}
  .hm-f2,.hm-hc-bell{animation:none!important}
}
@keyframes hm-up{from{transform:translateY(110%) rotate(3deg)}}
@keyframes hm-scan{50%{top:100%}}
@keyframes hm-ring{0%,70%,100%{transform:rotate(0)}75%{transform:rotate(14deg)}80%{transform:rotate(-12deg)}85%{transform:rotate(8deg)}90%{transform:rotate(-4deg)}}


/* ===== hero: "Simplify HR," in brand orange ===== */
.hm-display .hm-ln:first-child > span{color:#FF6100}


/* ===== channels (App / HR app / LINE / Web) ===== */
.hm-ch-lead{max-width:44ch}
.hm-ch-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-areas:"tabs stage" "info stage";gap:18px 32px;margin-top:30px;align-items:start}
.hm-ch-tabs{grid-area:tabs;display:grid;gap:8px}
.hm-ch-tabs button{display:flex;align-items:center;gap:14px;text-align:left;border:1px solid #E4EEF8;background:#fff;border-radius:20px !important;padding:12px 16px;cursor:pointer;font:inherit;color:#000;transition:transform .35s var(--spring),border-color .2s,box-shadow .3s}
.hm-ch-tabs button:hover{transform:translateX(4px)}
.hm-ch-tabs button[aria-selected=true]{border-color:#008CFF;box-shadow:0 0 0 2px #008CFF,0 14px 30px -18px rgba(0,114,243,.6)}
.hm-ch-tabs i{width:46px;height:46px;border-radius:14px !important;background:#E4EEF8;display:grid;place-items:center;flex:none;transition:background .3s}
.hm-ch-tabs i svg{width:24px;height:24px;fill:none;stroke:#008CFF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hm-ch-tabs button[aria-selected=true] i{background:#008CFF}.hm-ch-tabs button[aria-selected=true] i svg{stroke:#fff}
.hm-ch-tabs b{display:block;font-size:17px;color:#008CFF}.hm-ch-tabs small{font-size:13px}
.hm-ch-info{grid-area:info;border-radius:24px !important;padding:18px 20px}
.hm-ch-info b{color:#008CFF}.hm-ch-info ul{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.hm-ch-info li{padding-left:22px;position:relative}.hm-ch-info li::before{content:"";position:absolute;left:0;top:.45em;width:12px;height:12px;border-radius:50% !important;background:#FF6100;box-shadow:inset 0 0 0 3px #fff;outline:1.5px solid #FF6100}
.hm-ch-stage{grid-area:stage;border-radius:32px !important;padding:16px;display:flex;flex-direction:column;align-items:center;gap:10px;min-height:420px;justify-content:center}
.hm-ch-stage iframe{display:block;border:0;width:100%;max-width:340px;height:640px;background:transparent;transition:max-width .5s var(--ease),height .4s var(--ease)}
.hm-ch-stage.is-web iframe{max-width:100%}
.hm-ch-hint{font-size:12px;font-weight:600;color:#008CFF;background:#E4EEF8;padding:4px 12px;border-radius:999px !important}
@media (max-width:900px){.hm-ch-grid{grid-template-columns:1fr;grid-template-areas:"tabs" "stage" "info"}.hm-ch-tabs{grid-template-columns:1fr 1fr}.hm-ch-tabs button{padding:10px 12px;gap:10px}.hm-ch-tabs i{width:38px;height:38px}.hm-ch-tabs b{font-size:14px}.hm-ch-tabs small{display:none}}

/* ===== testimonials: spotlight + filter + rail ===== */
.hm-tx-filter{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.hm-tx-filter button{border:1px solid #E4EEF8;background:#fff;border-radius:999px !important;padding:8px 16px;font:500 14px var(--f);color:#000;cursor:pointer;min-height:42px;transition:transform .3s var(--spring)}
.hm-tx-filter button:hover{transform:translateY(-2px)}
.hm-tx-filter button[aria-pressed=true]{background:#008CFF;border-color:#008CFF;color:#fff}
.hm-tx-filter span{font-size:12px;opacity:.75}
.hm-tx-spot{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.6fr);gap:24px;align-items:end;margin-top:20px;border-radius:34px !important;padding:clamp(22px,3vw,40px) clamp(22px,3vw,40px) 0;overflow:hidden}
.hm-tx-q{padding-bottom:clamp(22px,3vw,36px);min-width:0}
.hm-tx-mark{display:block;font-size:90px;line-height:.6;color:#FF6100;font-weight:700;height:40px}
.hm-tx-q blockquote{margin:6px 0 0;font-size:clamp(18px,1.9vw,24px);line-height:1.6;font-weight:500;min-height:6.4em;transition:opacity .35s,transform .45s var(--ease)}
.hm-tx-spot.swap blockquote,.hm-tx-spot.swap .hm-tx-ph img{opacity:0;transform:translateY(14px)}
.hm-tx-who{display:flex;align-items:center;gap:14px;margin-top:18px}
.hm-tx-logo{width:84px;height:56px;border-radius:14px !important;background:#fff;border:1px solid #E4EEF8;display:grid;place-items:center;padding:6px 10px;flex:none}
.hm-tx-logo img{max-height:40px;width:auto;max-width:64px}
.hm-tx-who b{display:block;font-size:17px;color:#008CFF}.hm-tx-who span{font-size:14px}
.hm-tx-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.hm-tx-pill{font-size:12px;font-weight:600;padding:4px 12px;border-radius:999px !important;background:#E4EEF8;color:#008CFF}.hm-tx-pill.o{background:#FFF1E8;color:#FF6100}.hm-tx-pill:empty{display:none}
.hm-tx-nav{display:flex;align-items:center;gap:12px;margin-top:22px}
.hm-tx-nav button{width:44px;height:44px;border-radius:50% !important;border:1px solid #E4EEF8;background:#fff;color:#008CFF;font-size:24px;line-height:1;cursor:pointer;transition:transform .3s var(--spring)}
.hm-tx-nav button:hover{transform:scale(1.1);background:#008CFF;color:#fff}
.hm-tx-prog{flex:1;height:4px;border-radius:4px !important;background:#E4EEF8;overflow:hidden}.hm-tx-prog i{display:block;height:100%;width:0;background:#FF6100}
.hm-tx-count{font-size:13px;font-variant-numeric:tabular-nums}
.hm-tx-ph{position:relative;align-self:end;display:flex;justify-content:center}
.hm-tx-disc{position:absolute;left:6%;right:6%;bottom:0;height:78%;border-radius:999px 999px 0 0 !important;background:linear-gradient(135deg,#0072F3,#00A2FF)}
.hm-tx-ph img{position:relative;max-height:320px;width:auto;transition:opacity .35s,transform .45s var(--ease)}
.hm-tx-rail{display:flex;gap:10px;overflow-x:auto;padding:16px 4px 10px;scroll-snap-type:x proximity;scrollbar-width:thin}
.hm-tx-card{flex:none;scroll-snap-align:start;display:flex;align-items:center;gap:10px;width:250px;border:1px solid #E4EEF8;background:#fff;border-radius:18px !important;padding:10px 12px;text-align:left;font:inherit;color:#000;cursor:pointer;transition:transform .35s var(--spring),box-shadow .3s,border-color .2s}
.hm-tx-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px -18px rgba(0,114,243,.6)}
.hm-tx-card[aria-current=true]{border-color:#008CFF;box-shadow:0 0 0 2px #008CFF}
.hm-tx-card img{width:44px;height:44px;border-radius:50% !important;object-fit:cover;object-position:top;background:#E4EEF8;flex:none}
.hm-tx-card b{display:block;font-size:13px;color:#008CFF;line-height:1.3}.hm-tx-card span{display:block;font-size:12px;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hm-tx-card[hidden]{display:none}
@media (max-width:760px){.hm-tx-spot{grid-template-columns:1fr}.hm-tx-ph{order:-1}.hm-tx-ph img{max-height:220px}.hm-tx-q blockquote{min-height:0}}

/* ===== dashboard scene: no scroll pin, large playable screen ===== */
.hm-scene{height:auto!important}
.hm-scene-pin{position:relative!important;height:auto!important;overflow:visible;padding-block:clamp(70px,8vw,110px)!important}
.hm-scene-frame{transform:none!important;width:min(1240px,94vw)!important;margin-top:26px}
.hm-scene-caps{height:auto;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;max-width:980px}
.hm-scene-caps p{position:static!important;opacity:1!important;transform:none!important;font-size:15px}
.hm-scene-dots{display:none}
.hdx{display:grid;grid-template-columns:200px minmax(0,1fr);background:#E4EEF8;border-radius:14px !important;overflow:hidden;color:#000;text-align:left;font-size:14px;min-height:640px}
.hdx-side{background:linear-gradient(180deg,#0072F3,#00A2FF);padding:18px 12px;display:flex;flex-direction:column;gap:4px}
.hdx-logo{width:38px;height:38px;border-radius:12px !important;background:#fff;color:#008CFF;display:grid;place-items:center;font-size:20px;margin:0 0 16px 8px}
.hdx-side button{display:flex;align-items:center;gap:10px;border:0;background:none;color:#fff;font:500 15px var(--f);padding:11px 12px;border-radius:12px !important;cursor:pointer;text-align:left;position:relative;transition:background .25s}
.hdx-side button:hover{background:rgba(255,255,255,.14)}
.hdx-side button[aria-current=true]{background:#fff;color:#008CFF;font-weight:700}
.hdx-side svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.hdx-side em{margin-left:auto;font-style:normal;font-size:12px;font-weight:700;background:#FF6100;color:#fff;border-radius:999px !important;padding:0 8px;line-height:20px}
.hdx-side em[hidden]{display:none}
.hdx-main{padding:18px 22px 22px;min-width:0}
.hdx-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.hdx-top small{display:block;font-size:12px;color:#000!important}.hdx-top b{font-size:22px;color:#008CFF}
.hdx-user{display:flex;align-items:center;gap:10px}.hdx-user b{display:block;font-size:14px;color:#000}.hdx-user small{font-size:12px;color:#000!important}
.hdx-av,.hdx-ini{width:38px;height:38px;border-radius:50% !important;background:#E4EEF8;color:#008CFF;display:grid;place-items:center;font-weight:700;font-size:13px;flex:none}
.hdx-ini.xl{width:64px;height:64px;font-size:20px;margin-bottom:8px}
.hdx-bell{color:#FF6100;font-size:10px}
.hdx-view.in{animation:hdxIn .45s var(--ease)}@keyframes hdxIn{from{opacity:0;transform:translateY(10px)}}
.hdx-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between;margin-bottom:12px}
.hdx-sub,.hdx-period{font-size:13px;color:#000;font-weight:600}
.hdx-chips{display:flex;flex-wrap:wrap;gap:4px;background:#fff;border:1px solid #E4EEF8;border-radius:999px !important;padding:3px}
.hdx-chips button{border:0;background:none;border-radius:999px !important;padding:6px 13px;font:500 13px var(--f);color:#000;cursor:pointer;min-height:32px}
.hdx-chips button[aria-pressed=true]{background:#008CFF;color:#fff}
.hdx-bar input[type=search]{flex:1;min-width:180px;border:1px solid #E4EEF8;border-radius:999px !important;padding:9px 16px;font:14px var(--f);background:#fff;color:#000}
.hdx-kpi{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.hdx-k{background:#fff;border:1px solid #E4EEF8;border-radius:16px !important;padding:14px 16px;text-align:left;font:inherit;color:#000;cursor:pointer;transition:transform .3s var(--spring),box-shadow .3s}
.hdx-k:hover{transform:translateY(-3px);box-shadow:0 14px 26px -18px rgba(0,114,243,.6)}
.hdx-k small{display:block;font-size:12px;color:#000!important}.hdx-k b{display:block;font-size:28px;color:#008CFF;line-height:1.25;font-variant-numeric:tabular-nums}.hdx-k.o b{color:#FF6100}.hdx-k em{font-style:normal;font-size:12px;color:#008CFF!important}
.hdx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hdx-w{background:#fff;border:1px solid #E4EEF8;border-radius:16px !important;padding:14px 16px;min-width:0}.hdx-w2{grid-column:span 2}
.hdx-w header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.hdx-w header b{font-size:14px}
.hdx-chart{position:relative;height:210px}.hdx-chart svg,.hdx-bars svg{width:100%;height:100%;display:block;overflow:visible}.hdx-bars{height:170px}
.hdx-tip{position:absolute;pointer-events:none;background:#000;color:#fff;font-size:12px;padding:4px 9px;border-radius:8px !important;white-space:nowrap;transform:translate(-50%,-125%);opacity:0;transition:opacity .15s}
.hdx-donut{display:flex;align-items:center;gap:14px}.hdx-donut svg{width:120px;height:120px;flex:none}
.hdx-leg{display:grid;gap:4px}.hdx-leg button{display:flex;align-items:center;gap:7px;border:0;background:none;font:13px var(--f);color:#000;cursor:pointer;padding:4px 6px;border-radius:8px !important;white-space:nowrap}.hdx-leg button[aria-pressed=false]{opacity:.35}.hdx-leg i{width:11px;height:11px;border-radius:3px !important}
.hdx-att{display:grid;gap:12px}.hdx-att>div{display:grid;grid-template-columns:110px 1fr 70px;align-items:center;gap:12px;font-size:13px}.hdx-att b{text-align:right}
.hdx-att .t{display:block;height:10px;border-radius:10px !important;background:#E4EEF8;overflow:hidden}.hdx-att .t i{display:block;height:100%;border-radius:10px !important;background:#008CFF}.hdx-att .t.o i{background:#FF6100}.hdx-att .t.g i{background:#289FFF}
.hdx-split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px;align-items:start}
.hdx-rows{display:grid;gap:6px;max-height:470px;overflow:auto}
.hdx-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;background:#fff;border:1px solid #E4EEF8;border-radius:14px !important;padding:9px 12px;text-align:left;font:inherit;color:#000;cursor:pointer}
.hdx-row.static{cursor:default;grid-template-columns:56px minmax(0,1fr) auto}
.hdx-row[aria-pressed=true]{border-color:#008CFF;box-shadow:0 0 0 2px #008CFF}
.hdx-row b{display:block;font-size:14px}.hdx-row small{font-size:12px;color:#000!important}
.hdx-time{font-weight:700;color:#008CFF;font-variant-numeric:tabular-nums}
.hdx-st{font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px !important;white-space:nowrap}.hdx-st.b{background:#E4EEF8;color:#008CFF}.hdx-st.o{background:#FFF1E8;color:#FF6100}.hdx-st.g{background:#E4EEF8;color:#000;border:1px solid #E4EEF8}
.hdx-card{background:#fff;border:1px solid #E4EEF8;border-radius:16px !important;padding:18px;display:flex;flex-direction:column;align-items:flex-start}
.hdx-card b{font-size:18px;color:#008CFF}.hdx-card small{color:#000!important}
.hdx-card dl{margin:12px 0;display:grid;gap:6px;width:100%}.hdx-card dl div{display:flex;justify-content:space-between;border-bottom:1px dashed #E4EEF8;padding-bottom:6px}.hdx-card dd{margin:0;font-weight:600}
.hdx-btn{border:0;border-radius:999px !important;background:#008CFF;color:#fff;font:600 14px var(--f);padding:10px 18px;cursor:pointer;min-height:42px;transition:transform .3s var(--spring)}
.hdx-btn:hover{transform:translateY(-2px)}.hdx-btn.o{background:#FF6100}.hdx-btn.ghost{background:#fff;color:#008CFF;border:1px solid #008CFF}
.hdx-mk{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
.hdx-mini{background:#fff;border:1px solid #E4EEF8;border-radius:14px !important;padding:12px 14px}.hdx-mini b{font-size:26px;color:#008CFF;display:block}.hdx-mini.o b{color:#FF6100}.hdx-mini small{color:#000!important}
.hdx-steps{display:flex;gap:6px;margin-bottom:12px}.hdx-steps span{flex:1;text-align:center;font-size:13px;font-weight:600;padding:8px;border-radius:12px !important;background:#fff;border:1px solid #E4EEF8}.hdx-steps span.on{background:#008CFF;color:#fff;border-color:#008CFF}
.hdx-pay{background:#fff;border:1px solid #E4EEF8;border-radius:16px !important;padding:22px;display:grid;gap:14px}
.hdx-prog{height:12px;border-radius:12px !important;background:#E4EEF8;overflow:hidden}.hdx-prog i{display:block;height:100%;width:0;background:linear-gradient(90deg,#008CFF,#FF6100);transition:width .15s linear}
.hdx-sum{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hdx-sum div{background:#E4EEF8;border-radius:14px !important;padding:12px}.hdx-sum small{display:block;font-size:12px;color:#000!important}.hdx-sum b{font-size:20px;color:#008CFF}.hdx-sum .big{background:#008CFF}.hdx-sum .big small,.hdx-sum .big b{color:#fff!important}
.hdx-act{display:flex;gap:8px}
.hdx-aps{display:grid;gap:8px}.hdx-ap{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;background:#fff;border:1px solid #E4EEF8;border-radius:16px !important;padding:12px 14px}
.hdx-ap b{display:block}.hdx-ap small{color:#000!important}.hdx-ap em{font-style:normal;color:#FF6100;font-weight:700}.hdx-apb{display:flex;gap:6px}
.hdx-done{background:#fff;border:1px solid #E4EEF8;border-radius:16px !important;padding:40px;display:grid;gap:8px;justify-items:center;text-align:center}.hdx-done b{font-size:20px;color:#008CFF}
.hdx-empty{padding:20px;text-align:center}
@media (max-width:900px){.hdx{grid-template-columns:1fr;min-height:0}.hdx-side{flex-direction:row;overflow-x:auto;padding:10px;gap:4px}.hdx-logo{display:none}.hdx-side button{flex:none;padding:8px 12px;font-size:13px}.hdx-main{padding:14px}
 .hdx-kpi,.hdx-sum{grid-template-columns:repeat(2,minmax(0,1fr))}.hdx-grid,.hdx-split{grid-template-columns:1fr}.hdx-w2{grid-column:auto}.hdx-user span:last-child{display:none}.hdx-top b{font-size:18px}.hdx-ap{grid-template-columns:auto minmax(0,1fr)}.hdx-apb{grid-column:1/-1}.hdx-att>div{grid-template-columns:90px 1fr 60px}}

/* ===== channel mockups ===== */
.hm-ch-stage{min-height:600px}
.dv{width:100%;display:flex;justify-content:center}.dv.in{animation:hdxIn .45s var(--ease)}
.dv-phone{width:300px;max-width:100%;height:600px;border-radius:44px !important;background:#000;padding:10px;position:relative;box-shadow:0 40px 80px -36px rgba(0,114,243,.6)}
.dv-notch{position:absolute;top:18px;left:50%;transform:translateX(-50%);width:90px;height:24px;border-radius:14px !important;background:#000;z-index:2}
.dv-scr{height:100%;border-radius:34px !important;background:#E4EEF8;overflow:hidden;display:flex;flex-direction:column;position:relative;color:#000;font-size:14px;text-align:left}
.dv-ah{background:linear-gradient(135deg,#0072F3,#00A2FF);color:#fff;padding:50px 18px 18px;position:relative}.dv-ah small{display:block;color:#fff!important;opacity:.9}.dv-ah b{font-size:20px}.dv-ah.hr{padding-bottom:14px}
.dv-clk{position:absolute;right:18px;bottom:18px;font-size:22px;font-weight:700}
.dv-big{margin:16px;border:0;border-radius:24px !important;background:#FF6100;color:#fff;padding:20px;font:inherit;cursor:pointer;display:grid;gap:2px;box-shadow:0 14px 26px -14px rgba(255,97,0,.8);animation:dvPulse 2.4s ease-in-out infinite}
.dv-big b{font-size:19px}.dv-big small{color:#fff!important}.dv-big.done{background:#008CFF;animation:none;box-shadow:0 14px 26px -14px rgba(0,140,255,.8)}
@keyframes dvPulse{50%{box-shadow:0 0 0 10px rgba(255,97,0,.15),0 14px 26px -14px rgba(255,97,0,.8)}}
.dv-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 16px}
.dv-tiles button{border:1px solid #E4EEF8;background:#fff;border-radius:18px !important;padding:14px 10px;font:600 13px var(--f);color:#000;cursor:pointer;display:grid;justify-items:center;gap:6px;transition:transform .3s var(--spring)}
.dv-tiles button:hover{transform:translateY(-3px)}.dv-tiles i{width:38px;height:38px;border-radius:12px !important;background:#E4EEF8;color:#008CFF;display:grid;place-items:center;font-style:normal;font-weight:700;font-size:13px}
.dv-note{margin:12px 16px;padding:10px 12px;border-radius:14px !important;background:#FFF1E8;font-size:13px}.dv-note b{color:#FF6100}
.dv-bk{display:flex;align-items:center;gap:8px;padding:48px 14px 10px;background:#fff;border-bottom:1px solid #E4EEF8}.dv-bk button{width:34px;height:34px;border:0;border-radius:50% !important;background:#E4EEF8;color:#008CFF;font-size:22px;cursor:pointer}.dv-bk b{color:#008CFF}
.dv-p{padding:14px 16px 6px;margin:0;font-weight:600}
.dv-opts{display:grid;gap:8px;padding:0 16px}.dv-opts button{border:1px solid #E4EEF8;background:#fff;border-radius:16px !important;padding:14px;font:600 14px var(--f);color:#008CFF;cursor:pointer;text-align:left}.dv-opts button:hover{border-color:#008CFF}
.dv-scan,.dv-ok{flex:1;display:grid;place-content:center;justify-items:center;gap:8px;text-align:center;padding:20px}
.dv-face{width:150px;height:180px;border-radius:50% 50% 46% 46% !important;border:3px solid #008CFF;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 40%,#FFF1E8 0 30%,transparent 31%),radial-gradient(ellipse at 50% 108%,#289FFF 0 45%,transparent 46%)}
.dv-face i{position:absolute;left:0;right:0;height:3px;background:#FF6100;box-shadow:0 0 14px #FF6100;animation:dvScan 1.3s ease-in-out infinite}@keyframes dvScan{0%{top:0}50%{top:100%}100%{top:0}}
.dv-spin{width:56px;height:56px;border-radius:50% !important;border:5px solid #E4EEF8;border-top-color:#008CFF;animation:dvSp 1s linear infinite}@keyframes dvSp{to{transform:rotate(360deg)}}
.dv-ok span{width:72px;height:72px;border-radius:50% !important;background:#008CFF;color:#fff;display:grid;place-items:center;font-size:34px;animation:dvPop .5s var(--spring)}@keyframes dvPop{from{transform:scale(.4)}}
.dv-ok b{font-size:20px;color:#008CFF}
.dv-btn{border:0;border-radius:999px !important;background:#008CFF;color:#fff;font:600 14px var(--f);padding:12px 18px;cursor:pointer;margin:12px 16px 0;min-height:44px}.dv-btn.o{background:#FF6100}.dv-btn.ghost{background:#fff;color:#008CFF;border:1px solid #008CFF}.dv-btn[disabled]{opacity:.45;cursor:not-allowed}
.dv-ok .dv-btn{margin:10px 0 0}
.dv-f{display:grid;gap:4px;padding:10px 16px 0;font-size:13px;font-weight:600}.dv-f select,.dv-f input{border:1px solid #E4EEF8;border-radius:12px !important;padding:10px;font:14px var(--f);background:#fff;color:#000}
.dv-slip{margin:14px 16px;background:#fff;border-radius:18px !important;border:1px solid #E4EEF8;padding:6px 14px}.dv-slip div{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px dashed #E4EEF8}.dv-slip .net{border:0}.dv-slip .net b{color:#008CFF;font-size:18px}
.dv-q{margin:12px 16px 0;display:grid;gap:4px}.dv-q small{color:#000!important}.dv-q>i{height:8px;border-radius:8px !important;background:#E4EEF8;overflow:hidden;display:block}.dv-q>i i{display:block;height:100%;background:#FF6100;border-radius:8px !important}
.dv-li{margin:8px 16px 0;background:#fff;border:1px solid #E4EEF8;border-radius:12px !important;padding:10px 12px}
.dv-kp{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px}.dv-kp div{background:#fff;border:1px solid #E4EEF8;border-radius:16px !important;padding:12px}.dv-kp b{font-size:22px;color:#008CFF;display:block}.dv-kp .o b{color:#FF6100}.dv-kp small{font-size:12px;color:#000!important}
.dv-ap{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 14px 0;background:#fff;border:1px solid #E4EEF8;border-radius:16px !important;padding:10px 12px}.dv-ap b{display:block}.dv-ap small{color:#000!important}
.dv-ap button{border:0;border-radius:999px !important;background:#008CFF;color:#fff;font:600 13px var(--f);padding:8px 12px;cursor:pointer}
.dv-tab{margin-top:auto;display:flex;border-top:1px solid #E4EEF8;background:#fff}.dv-tab button{flex:1;border:0;background:none;padding:12px 4px 16px;font:600 13px var(--f);color:#000;cursor:pointer;position:relative}.dv-tab button[aria-current=true]{color:#008CFF}
.dv-tab em{position:absolute;top:6px;right:18%;font-style:normal;font-size:10px;background:#FF6100;color:#fff;border-radius:999px !important;padding:0 6px}
.dv-lh{padding:48px 16px 12px;background:#fff;border-bottom:1px solid #E4EEF8}.dv-lh b{display:block;color:#008CFF}.dv-lh small{color:#000!important}
.dv-chat{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;background:#E4EEF8}
.dv-b{max-width:82%;padding:9px 12px;border-radius:16px !important;font-size:13px;line-height:1.5;animation:hdxIn .3s var(--ease)}.dv-b.bot{align-self:flex-start;background:#fff;border-bottom-left-radius:4px !important}.dv-b.me{align-self:flex-end;background:#008CFF;color:#fff;border-bottom-right-radius:4px !important}.dv-b b{color:#FF6100}
.dv-qr{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.dv-qr button{border:1px solid #008CFF;background:#fff;color:#008CFF;border-radius:999px !important;padding:5px 10px;font:600 12px var(--f);cursor:pointer}
.dv-rich{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:6px 6px 14px;background:#fff}.dv-rich button{border:0;border-radius:12px !important;background:linear-gradient(135deg,#0072F3,#00A2FF);color:#fff;font:600 13px var(--f);padding:13px 6px;cursor:pointer;transition:transform .25s var(--spring)}.dv-rich button:active{transform:scale(.95)}
.dv-web{width:100%;max-width:820px;border-radius:18px !important;overflow:hidden;background:#fff;box-shadow:0 40px 80px -40px rgba(0,114,243,.55);border:1px solid #E4EEF8;color:#000;text-align:left;font-size:13px}
.dv-wb{display:flex;align-items:center;gap:6px;padding:9px 12px;background:#E4EEF8;border-bottom:1px solid #E4EEF8}.dv-wb i{width:10px;height:10px;border-radius:50% !important;background:#E4EEF8}.dv-wb span{margin-left:10px;background:#fff;border-radius:999px !important;padding:2px 12px;font-size:12px}
.dv-wi{display:grid;grid-template-columns:150px minmax(0,1fr);min-height:440px}
.dv-wi aside{background:linear-gradient(180deg,#0072F3,#00A2FF);color:#fff;display:flex;flex-direction:column;gap:4px;padding:14px 10px}.dv-wi aside b{margin:0 0 10px 6px}.dv-wi aside span{padding:8px 10px;border-radius:10px !important}.dv-wi aside span.on{background:#fff;color:#008CFF;font-weight:700}
.dv-wm{padding:16px;display:grid;gap:12px;align-content:start}.dv-wt{display:flex;justify-content:space-between;align-items:center;gap:8px}.dv-wt b{font-size:16px;color:#008CFF}
.dv-warn{background:#FFF1E8;border-radius:12px !important;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:600}.dv-warn button{border:0;border-radius:999px !important;background:#FF6100;color:#fff;font:600 12px var(--f);padding:7px 12px;cursor:pointer}
.dv-tbl{display:grid;border:1px solid #E4EEF8;border-radius:12px !important;overflow:hidden}.dv-tbl>div{display:grid;grid-template-columns:1.6fr 1fr .8fr 1fr;padding:9px 12px;border-top:1px solid #E4EEF8}.dv-tbl>div span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
.dv-tbl .h{background:#E4EEF8;font-weight:700;border-top:0}.dv-tbl .warn{background:#FFF1E8}
.dv-wa{display:flex;align-items:center;gap:10px}.dv-wa .dv-btn{margin:0}.dv-wa .hdx-prog{flex:1}
@media (max-width:620px){.dv-wi{grid-template-columns:1fr}.dv-wi aside{display:none}.dv-phone{width:280px;height:560px}.hm-ch-stage{min-height:0}}
.hd-try{margin-left:auto;font-style:normal;font-size:12px;font-weight:700;color:#fff;background:#FF6100;padding:3px 12px;border-radius:999px !important;animation:hdTry 2.4s ease-in-out infinite}
@keyframes hdTry{50%{box-shadow:0 0 0 7px rgba(255,97,0,.2)}}
@media (prefers-reduced-motion:reduce){.hd-try,.dv-big{animation:none}}

/* ===== compact page (round 5): less scrolling ===== */
.hm-page .sec{padding-block:clamp(44px,5vw,76px)}
/* feature rail: no pinned sideways scroll — a normal swipeable row */
.hm-rail{height:auto!important}
.hm-rail-pin{position:relative!important;height:auto!important;padding-block:clamp(44px,5vw,72px)!important;overflow:visible!important}
#railTrack{transform:none!important;overflow-x:auto;scroll-snap-type:x mandatory;width:auto!important;padding-bottom:14px;scrollbar-width:thin}
#railTrack > *{scroll-snap-align:start}
.hm-rail-bar{display:none}
/* dashboard: fits one screen */
.hm-scene-pin{padding-block:clamp(44px,5vw,64px)!important}
.hm-scene-h{font-size:clamp(28px,3vw,42px)}
.hm-scene-caps{display:none}
.hm-scene-frame{width:min(1060px,92vw)!important;margin-top:18px}
.hdx{grid-template-columns:168px minmax(0,1fr);min-height:0;font-size:13px}
.hdx-side{padding:14px 10px}.hdx-logo{width:32px;height:32px;font-size:17px;margin-bottom:10px}
.hdx-side button{padding:9px 10px;font-size:14px}
.hdx-main{padding:14px 18px 16px}.hdx-top{margin-bottom:10px}.hdx-top b{font-size:19px}
.hdx-kpi{gap:8px;margin-bottom:10px}.hdx-k{padding:10px 12px}.hdx-k b{font-size:23px}
.hdx-grid{gap:10px}.hdx-w{padding:10px 12px}
.hdx-chart{height:150px}.hdx-bars{height:120px}.hdx-donut svg{width:96px;height:96px}
.hdx-att{gap:8px}.hdx-rows{max-height:360px}.hdx-pay{padding:16px}
/* customer logos: no white tiles, bigger logos, still scrolling (pauses on hover) */
.hm-marquee .logo-tile{background:none!important;box-shadow:none!important;border:0!important;width:auto!important;height:84px;padding:0 30px}
.hm-marquee .logo-tile img,.hm-marquee .logo-tile img.hm-lg-wide,.hm-marquee .logo-tile img.hm-lg-sm,.hm-marquee .logo-tile img.hm-lg-sq{max-height:58px!important;max-width:170px!important;width:auto;height:auto}
.hm-marquee .logo-tile img.hm-lg-wide{max-height:44px!important}
.hm-marquee{margin-top:22px}
/* testimonials: smaller spotlight */
.hm-tx-spot{gap:16px;padding:20px 26px 0;border-radius:28px !important;margin-top:14px}
.hm-tx-q{padding-bottom:20px}
.hm-tx-mark{font-size:60px;height:26px}
.hm-tx-q blockquote{font-size:clamp(16px,1.4vw,18px);min-height:0;line-height:1.6}
.hm-tx-who{margin-top:12px}.hm-tx-logo{width:70px;height:46px}.hm-tx-who b{font-size:15px}.hm-tx-who span{font-size:13px}
.hm-tx-nav{margin-top:14px}.hm-tx-nav button{width:38px;height:38px;font-size:20px}
.hm-tx-ph img{max-height:230px}
.hm-tx-rail{padding-top:10px}.hm-tx-card{width:220px;padding:8px 10px}
@media (max-width:760px){.hm-tx-ph img{max-height:170px}}
.hm-page section.sec{padding-block:clamp(40px,4.5vw,68px)!important}
.hm-page .sec-head{margin-bottom:0}
.hm-faq-more{margin-top:12px}
.faq details.hm-faq-x{display:none}
.faq.show-all details.hm-faq-x{display:block}
@media (max-width:900px){.hdx-grid section:nth-child(2),.hdx-grid section:nth-child(3){display:none}.hdx-chart{height:140px}}
.hm-page .h-sec{font-size:clamp(28px,3.2vw,46px)!important;line-height:1.15}
#trust-num,#channels,#playground,#support,#help,#outsourcing,#testimonial,#standard,#price,#blog,#faq{padding-top:clamp(36px,4vw,60px)!important;padding-bottom:clamp(36px,4vw,60px)!important}
.hm-scene-frame{width:min(1000px,90vw)!important}
.hdx-chart{height:130px}.hdx-bars{height:110px}

/* ===== Help Center (layout follows help.humansoft.co.th: blue bar, white card, image cards + tags + New!) ===== */
.hm-hcx .hc-box{border-radius:30px !important;overflow:hidden;background:#fff;border:1px solid #E4EEF8;box-shadow:0 30px 60px -40px rgba(0,114,243,.45)}
.hc-bar{display:flex;align-items:center;gap:10px;padding:12px 22px;background:linear-gradient(135deg,#0072F3,#00A2FF);color:#fff;font-weight:600}
.hc-bar img{height:18px;width:auto}
.hc-login{margin-left:auto;color:#fff;font-size:14px;font-weight:600;text-decoration:none;border:1px solid rgba(255,255,255,.75);border-radius:999px !important;padding:5px 14px}
.hc-in{padding:clamp(18px,3vw,34px)}
.hc-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 30px}
.hc-head .lead{max-width:46ch;margin:0}
.hc-tabs{margin-top:18px;display:flex;flex-wrap:wrap}
.hc-panel{margin-top:16px}
.hc-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hc-card{display:flex;flex-direction:column;border:1px solid #E4EEF8;border-radius:20px !important;overflow:hidden;background:#fff;text-decoration:none;color:#000;transition:transform .35s var(--spring),box-shadow .3s}
.hc-card:hover{transform:translateY(-4px);box-shadow:0 18px 34px -22px rgba(0,114,243,.6)}
.hc-th{aspect-ratio:16/9;background:#E4EEF8;overflow:hidden;display:block}.hc-th img{width:100%;height:100%;object-fit:cover;display:block}
.hc-th-sm{display:grid;place-content:center;text-align:center;background:linear-gradient(135deg,#0072F3,#00A2FF);color:#fff;gap:4px;font-size:18px}.hc-th-sm small{color:#fff!important;font-size:13px}
.hc-bd{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px;flex:1}
.hc-bd b{font-size:15px;line-height:1.45;color:#000}
.hc-new{align-self:flex-start;font-style:normal;font-size:11px;font-weight:700;color:#fff;background:#FF6100;border-radius:999px !important;padding:1px 9px}
.hc-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:auto}
.hc-tags i{font-style:normal;font-size:11px;font-weight:600;color:#008CFF;background:#E4EEF8;border-radius:999px !important;padding:2px 9px}
.hc-tags time{margin-left:auto;font-size:12px;color:#000}
.hc-panel .more{display:inline-block;margin-top:12px}
.hc-more{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:center;margin-top:18px}
.hc-tile{align-self:stretch;border:1px solid #E4EEF8;border-radius:18px !important;padding:14px 16px;text-decoration:none;color:#000;background:#E4EEF8;display:flex;flex-direction:column;gap:4px}
.hc-tile b{color:#008CFF}.hc-tile span{font-size:13px}
@media (max-width:900px){.hc-cards{grid-template-columns:1fr 1fr}.hc-more{grid-template-columns:1fr}}
@media (max-width:560px){.hc-cards{grid-template-columns:1fr}.hc-cards .hc-card:nth-child(n+3){display:none}.hc-login{display:none}}
@media (max-width:760px){.hc-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%}.hc-tabs::-webkit-scrollbar{display:none}.hc-tabs button{flex:none;white-space:nowrap}}
/* Help Center: compact version (smaller heading, horizontal cards, one-line footer row) */
.hm-hcx .wrap{max-width:1080px}
.hc-bar{padding:8px 18px;font-size:14px}.hc-bar img{height:15px}.hc-login{font-size:13px;padding:3px 12px}
.hc-in{padding:clamp(14px,2vw,22px)}
.hm-hcx .hc-head .kick{display:none}
.hm-page .hm-hcx .h-sec{font-size:clamp(22px,2.2vw,30px)!important;margin:0}
.hc-head{align-items:center}.hc-head .lead{font-size:14px;max-width:52ch}
.hc-tabs{margin-top:12px}.hc-tabs button{min-height:36px;font-size:14px;padding-block:6px}
.hc-panel{margin-top:12px}
.hc-cards{gap:10px}
.hc-card{flex-direction:row;border-radius:16px !important}
.hc-th{flex:none;width:132px;aspect-ratio:auto;align-self:stretch}
.hc-th-sm{font-size:13px;padding:6px}.hc-th-sm small{font-size:11px}
.hc-bd{padding:9px 11px;gap:4px;min-width:0}
.hc-bd b{font-size:13px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hc-new{font-size:10px;padding:0 7px}
.hc-tags i{font-size:10px;padding:1px 7px}.hc-tags time{font-size:11px}
.hc-panel .more{margin-top:8px;font-size:14px}
.hc-more{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.hc-tile{flex-direction:row;padding:7px 14px;border-radius:999px !important;align-self:auto}
.hc-tile span{display:none}.hc-tile b{font-size:14px}
.hc-cta{margin-left:auto;min-height:40px;padding:8px 18px;font-size:14px}
@media (max-width:900px){.hc-cards{grid-template-columns:1fr}.hc-more{display:flex}}
@media (max-width:560px){.hc-th{width:108px}.hc-cards .hc-card:nth-child(n+3){display:flex}.hc-cta{margin-left:0;width:100%}}
/* Payroll Outsourcing card: orange theme (Marketing request 25/10/2026) */
.hm-page .hm-po.glass{background:linear-gradient(135deg,#FF6100 0%,#FF8100 100%)!important;border-color:#FF8100!important;box-shadow:0 30px 60px -34px rgba(255,97,0,.7)!important;color:#fff}
.hm-po.glass::after{display:none}
.hm-po .kick{background:rgba(255,255,255,.18)!important;border-color:rgba(255,255,255,.5)!important;color:#fff!important}
.hm-po .kick b{background:#fff!important;color:#FF6100!important}
.hm-po-h{color:#fff}
.hm-po-h > span{color:#FF6100;background:#fff;border-radius:.25em !important;padding:0 .18em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.hm-po-h small,.hm-po-list span{color:#fff}
.hm-po-list > div.glass{background:rgba(255,255,255,.16)!important;border-color:rgba(255,255,255,.4)!important;box-shadow:none!important;color:#fff}
.hm-po-list > div.glass::after{display:none}
.hm-po-list b{color:#fff}
.hm-po-list img{background:#fff;border-radius:50% !important;padding:2px;box-sizing:content-box;width:20px!important;height:20px!important}
.hm-po .more{color:#fff!important}
.hm-page .hm-po .po-art .disc{background:linear-gradient(160deg,rgba(255,255,255,.34),rgba(255,255,255,.12))}
.hm-po .hm-tag.glass{background:#fff!important;color:#000}
@media (max-width:760px){.hm-po-list > div.glass{background:none!important;border:0!important}}
/* ===== 3 steps + no-risk switch ===== */
.st-list{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;counter-reset:none}
.st-list li{display:flex;gap:14px;align-items:flex-start;padding:18px;border-radius:24px !important}
.st-n{flex:none;width:40px;height:40px;border-radius:50% !important;display:grid;place-items:center;background:linear-gradient(135deg,#0072F3,#00A2FF);color:#fff;font-size:18px}
.st-list li div b{display:block;font-size:16px;color:#008CFF}.st-list li div span{font-size:14px}
.st-risk{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.st-risk > div{background:#E4EEF8;border-radius:18px !important;padding:14px 16px}
.st-risk b{display:block;font-size:15px}.st-risk span{font-size:13px}
.st-act{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
@media (max-width:900px){.st-list{grid-template-columns:1fr}.st-risk{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.st-risk{grid-template-columns:1fr}}
.hm-pr .h-sec em,.hm-steps .h-sec em{white-space:nowrap}
/* secondary "นัดเดโม" buttons: visible blue outline on light backgrounds */
.hero-ctas .btn:not(.primary),.st-act .btn:not(.primary){background:#fff!important;border:1.5px solid #008CFF!important;color:#008CFF!important}
.st-act .btn:not(.primary):hover,.hero-ctas .btn:not(.primary):hover{background:#E4EEF8!important}
/* ===== Help Center as a full-width CI blue band (stands out between Payroll Outsourcing and the blog) ===== */
.hm-hcx.night{position:relative;overflow:hidden}
.hm-hcx.night::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(40% 60% at 90% 10%,rgba(255,255,255,.22),transparent 70%),radial-gradient(30% 50% at 0% 100%,rgba(255,129,0,.22),transparent 70%)}
.hm-hcx.night .wrap{position:relative;max-width:1200px}
.hm-hcx.night .hc-box{background:transparent;border:0;box-shadow:none;border-radius:0 !important;overflow:visible}
.hm-hcx.night .hc-bar{background:none;padding:0 0 12px;border-bottom:1px solid rgba(255,255,255,.35);font-size:15px}
.hm-hcx.night .hc-bar img{height:18px}
.hm-hcx.night .hc-in{padding:18px 0 0}
.hm-hcx.night .h-sec,.hm-hcx.night .h-sec em{color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important}
.hm-page .hm-hcx.night .h-sec{font-size:clamp(26px,2.8vw,38px)!important}
.hm-hcx.night .hc-head .lead{font-size:15px}
.hm-hcx.night .hc-card{border-color:transparent;box-shadow:0 18px 40px -28px rgba(0,40,110,.6)}
.hm-hcx.night .hc-card:hover{box-shadow:0 24px 44px -24px rgba(0,40,110,.75)}
.hm-hcx.night .more{color:#fff!important}
.hm-hcx.night .hc-tile{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.4);color:#fff}
.hm-hcx.night .hc-tile b{color:#fff}
.hm-hcx.night .hc-tabs button{color:#fff}
.hm-hcx.night .hc-tabs button[aria-selected=true]{color:#008CFF}

#payroll,#steps{padding-top:clamp(36px,4vw,60px)!important;padding-bottom:clamp(36px,4vw,60px)!important}
/* ===== "ลูกค้าถามบ่อย" ticket hotspots (every section) ===== */
.hm-tq{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 4px;max-width:100%}
.hm-tq-l{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{from{transform:scale(.5);opacity:1}to{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-l,.hm-po .hm-tq-l{color:#fff}.night .hm-tq-l i,.hm-po .hm-tq-l i{background:#fff}.night .hm-tq-l i::after,.hm-po .hm-tq-l i::after{border-color:#fff}
.night .hm-tq-q,.hm-po .hm-tq-q{border-color:transparent}
.sec-head .hm-tq{margin-bottom:0}
.center .hm-tq,.hm-scene .hm-tq{justify-content:center}
@media (prefers-reduced-motion:reduce){.hm-tq-l i::after{animation:none}}
@media (max-width:560px){.hm-tq{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}}
/* ===== price: employee count ===== */
.hm-emp{margin-top:22px;padding:16px 20px;border-radius:24px !important}
.hm-emp .plabel{display:block;font-weight:700;margin-bottom:8px}
.hm-emp-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px 22px;align-items:center}
.hm-emp-in{display:flex;align-items:center;gap:8px}
.hm-emp-in button{width:44px;height:44px;border-radius:50% !important;border:1.5px solid #008CFF;background:#fff;color:#008CFF;font:700 20px/1 var(--f);cursor:pointer}
.hm-emp-num{display:flex;align-items:center;gap:6px;height:48px;padding:0 14px;border-radius:14px !important;border:1px solid #E4EEF8;background:#fff}
.hm-emp-num input{width:76px;border:0;font:700 22px var(--f);color:#000;text-align:right;background:transparent;-moz-appearance:textfield}
.hm-emp-num input::-webkit-outer-spin-button,.hm-emp-num input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.hm-emp-num input:focus{outline:none}.hm-emp-num:focus-within{outline:2px solid #008CFF;outline-offset:2px}
.hm-emp-ticks{position:relative;height:16px;font-size:11.5px;margin-top:-2px}.hm-emp-ticks span{position:absolute;left:calc(17px + (100% - 34px) * var(--i) / 11);transform:translateX(-50%)}
.hm-emp-band{margin:0;font-weight:700;color:#008CFF;white-space:nowrap}
@media (max-width:760px){.hm-emp-row{grid-template-columns:1fr}.hm-emp-band{white-space:normal}}
.hm-tq-l{flex:none;white-space:nowrap}
/* "ลูกค้าถามบ่อย" now closes each section */
.hm-tq{justify-content:center;margin:clamp(20px,2.4vw,32px) auto 0;padding-top:16px;border-top:1px dashed #E4EEF8;width:100%}
.night .hm-tq{border-top-color:rgba(255,255,255,.35)}
@media (max-width:560px){.hm-tq{justify-content:flex-start}}
.hm-tq-wrap{position:relative}
#top > .hm-tq-wrap,#scene > .hm-tq-wrap,#rail > .hm-tq-wrap{padding-bottom:clamp(24px,3vw,40px)}
.hm-page .hm-rail{margin-bottom:0!important}   /* rail no longer pins, so the old negative overlap would cover its "ลูกค้าถามบ่อย" row */

/* ===== Payroll replica (#payroll) — layout of HRS › คำนวณเงินเดือน, CI colours ===== */
.hp{display:grid;grid-template-columns:250px minmax(0,1fr);gap:clamp(16px,2.2vw,28px);margin-top:22px;align-items:start}
.hpr-steps{list-style:none;margin:0;padding:0;display:grid;gap:10px;position:sticky;top:96px}
.hpr-steps button{width:100%;display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:20px !important;background:rgba(255,255,255,.6);border:1.5px solid transparent;text-align:left;font:inherit;color:#000;cursor:pointer;transition:background .3s,border-color .3s,transform .4s var(--spring)}
.hpr-steps button:hover{background:#fff}
.hpr-steps i{flex:none;width:32px;height:32px;border-radius:50% !important;display:grid;place-items:center;font-style:normal;font-weight:700;background:#E4EEF8;color:#008CFF}
.hpr-steps b{display:block;font-size:15px}.hpr-steps small{display:block;font-size:12.5px;line-height:1.5;margin-top:2px}
.hpr-steps li.on button{background:#fff;border-color:#008CFF;transform:translateX(6px);box-shadow:0 14px 30px -20px rgba(0,114,243,.6)}
.hpr-steps li.on i{background:#FF6100;color:#fff}.hpr-steps li.done i{background:#008CFF;color:#fff}
.hp-app{position:relative;border-radius:22px !important;overflow:hidden;background:#E4EEF8;border:1px solid #E4EEF8;box-shadow:0 30px 60px -36px rgba(0,114,243,.5);color:#000;font-size:13.5px;min-height:560px}
.hp-top{display:flex;align-items:center;gap:12px;padding:8px 16px;background:#fff;border-bottom:1px solid #E4EEF8}
.hp-co b{display:block;font-size:13.5px}.hp-co small{font-size:11px;color:#FF6100;font-weight:600}
.hp-ai{margin-left:auto;font-size:12px;font-weight:600;color:#008CFF;border:1px solid #E4EEF8;border-radius:999px !important;padding:3px 10px}
.hp-user{display:flex;align-items:center;gap:6px;font-size:12px}.hp-user i{width:24px;height:24px;border-radius:50% !important;background:#E4EEF8}
.hp-band{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px 16px;padding:14px 18px 22px;background:linear-gradient(135deg,#0072F3,#00A2FF);color:#fff}
.hp-crumb{display:block;font-size:11.5px;opacity:.9;color:#fff}.hp-title{display:block;font-size:20px;margin-top:2px}
.hp-notice{flex:1;min-width:220px;margin:0;padding:8px 12px;border-radius:10px !important;background:#FFF1E8;color:#000;font-size:12.5px;line-height:1.5}
.hp-notice button{border:0;background:none;padding:0;color:#008CFF;font:600 12.5px var(--f);text-decoration:underline;cursor:pointer}
.hp-notice.done{background:#fff;color:#008CFF;font-weight:600}
.hp-period{text-align:right}.hp-month{display:inline-block;background:#fff;color:#000;border-radius:8px !important;padding:4px 12px;font-weight:600}.hp-period small{display:block;color:#fff;font-size:11.5px;margin-top:4px}
.hp-tabs{display:flex;gap:4px;padding:0 14px;margin-top:-12px;overflow-x:auto;scrollbar-width:none}
.hp-tabs::-webkit-scrollbar{display:none}
.hp-tabs button{flex:none;border:0;border-radius:10px 10px 0 0 !important;padding:10px 14px;background:#E4EEF8;color:#000;font:600 13px var(--f);cursor:pointer}
.hp-tabs button.on{background:#008CFF;color:#fff}
.hp-view{padding:14px;background:#fff;min-height:430px;border-top:3px solid #008CFF}
.hp-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.hp-btn{min-height:34px;padding:0 14px;border-radius:8px !important;border:1px solid #E4EEF8;background:#fff;color:#000;font:600 13px var(--f);cursor:pointer;white-space:nowrap}
.hp-btn:hover:not(:disabled){border-color:#008CFF}
.hp-btn:disabled{opacity:.4;cursor:default}
.hp-btn.blue{background:#008CFF;border-color:#008CFF;color:#fff}.hp-btn.dark{background:#000;border-color:#000;color:#fff}.hp-btn.xls{color:#008CFF}
.hp-acts{display:flex;flex-wrap:wrap;gap:6px}
.hp-filters{display:flex;flex-wrap:wrap;gap:6px}.hp-filters span{border:1px solid #E4EEF8;border-radius:999px !important;padding:5px 12px;font-size:12.5px}
.hp-cards{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:10px}
.hp-card{border:1px solid #E4EEF8;border-radius:14px !important;padding:12px;background:#fff}
.hp-card > small,.hp-row > small{font-weight:700;font-size:13px}.hp-card i{font-style:normal;font-weight:400;font-size:11.5px}
.hp-eq{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;text-align:center}
.hp-eq b{font-size:30px;line-height:1}.hp-eq span{font-size:12px}.hp-eq em{font-style:normal;font-size:24px}
.hp-mix > div{display:flex;align-items:center;gap:12px;margin-top:6px}
.hp-pie{flex:none;width:74px;height:74px;border-radius:50% !important;background:conic-gradient(#008CFF 0 var(--deg),#FF8100 var(--deg) 360deg)}
.hp-mix ul{list-style:none;margin:0;padding:0;display:grid;gap:3px;font-size:12px}.hp-mix li{display:flex;align-items:center;gap:6px}.hp-mix li b{margin-left:auto}
.hp-mix li i{width:9px;height:9px;border-radius:50% !important;background:#E4EEF8}.hp-mix li i.m{background:#008CFF}.hp-mix li i.d{background:#FF8100}
.hp-nums{display:grid;grid-template-columns:repeat(3,1fr);text-align:center}.hp-nums small{display:block;font-size:11.5px}.hp-nums b{display:block;font-size:30px;line-height:1.2}.hp-nums span{font-size:12px}
.hp-advice{margin-top:10px}
.hp-chips{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 10px}
.hp-chip{padding:5px 12px;border-radius:8px !important;background:#E4EEF8;font-size:12px}.hp-chip.on{background:#008CFF;color:#fff}
.hp-tbl{overflow:auto;border:1px solid #E4EEF8;border-radius:10px !important;max-height:300px}
.hp-tbl table{border-collapse:collapse;width:100%;min-width:560px;font-size:12.5px}
.hp-tbl th{position:sticky;top:0;background:#008CFF;color:#fff;font-weight:600;padding:8px 10px;text-align:left;white-space:nowrap}
.hp-tbl td{padding:7px 10px;border-bottom:1px solid #E4EEF8;vertical-align:top}
.hp-tbl td small{display:block;font-size:11px}
.hp-tbl tr.hp-grp td{background:#E4EEF8;font-weight:600}
.hp-tbl tr.hp-subt td,.hp-tbl tr.hp-tot td{background:#E4EEF8;font-weight:700}.hp-tbl tr.hp-tot td{background:#E4EEF8;color:#008CFF}
.hp-tbl tr.warn td{background:#FFF1E8}.hp-tbl tr.hol td{background:#F2F2F2}
.hp-tbl td.m{color:#FF6100}
.hp-sum td:nth-child(n+3),.hp-sum th:nth-child(n+3){text-align:right}
.hp-fix{white-space:nowrap}
.hp-fix button{display:block;width:100%;margin:2px 0;border:1px solid #E4EEF8;background:#fff;border-radius:6px !important;padding:4px 10px;font:500 12px var(--f);cursor:pointer;text-align:left}
.hp-fix button.rec{border-color:#008CFF;color:#008CFF;font-weight:700}
.hp-fix button:hover{background:#E4EEF8}
.hp-ok{margin:8px 0 0;padding:10px 12px;border-radius:10px !important;background:#E4EEF8;color:#008CFF;font-weight:600}
.hp-note{font-size:12px;margin:8px 0 0}
.hp-warn{color:#FF6100;font-weight:600;font-size:12.5px}
.hp-pill{display:inline-block;padding:2px 10px;border-radius:999px !important;background:#E4EEF8;color:#008CFF;font-size:11.5px;font-weight:600}.hp-pill.w{background:#FFF1E8;color:#FF6100}
.hp-miss{font-style:normal;color:#FF6100;font-weight:600}
.hp-subs{display:flex;gap:2px;border-bottom:1px solid #E4EEF8;margin:4px 0 10px;overflow-x:auto;scrollbar-width:none}
.hp-subs button{flex:none;border:0;background:none;padding:8px 12px;font:600 12.5px var(--f);color:#000;border-bottom:3px solid transparent;cursor:pointer}
.hp-subs button.on{color:#008CFF;border-bottom-color:#008CFF}
.hp-check{display:grid;grid-template-columns:200px minmax(0,1fr);gap:12px}
.hp-check aside{border:1px solid #E4EEF8;border-radius:12px !important;padding:10px;display:flex;flex-direction:column;gap:8px}
.hp-check aside small{font-size:11px}
.hp-tog{display:flex;align-items:center;gap:8px;font-size:12px;padding:6px 8px;border:1px solid #E4EEF8;border-radius:8px !important;cursor:pointer}
.hp-tog input{position:absolute;opacity:0}.hp-tog i{flex:none;width:30px;height:18px;border-radius:999px !important;background:#E4EEF8;position:relative;transition:background .2s}
.hp-tog i::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50% !important;background:#fff;transition:transform .2s}
.hp-tog input:checked + i{background:#008CFF}.hp-tog input:checked + i::after{transform:translateX(12px)}
.hp-tog input:focus-visible + i{outline:2px solid #008CFF;outline-offset:2px}
.hp-empty{display:flex;flex-direction:column;align-items:center;gap:4px;padding:40px 10px;text-align:center}
.hp-empty i{font-style:normal;width:56px;height:56px;border-radius:50% !important;background:#E4EEF8;display:grid;place-items:center;font-size:24px;filter:grayscale(1)}
.hp-empty small{font-size:12px}
.hp-emp{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;align-items:center;border:1px solid #E4EEF8;border-radius:14px !important;padding:12px;margin-bottom:8px}
.hp-ava{width:48px;height:48px;border-radius:50% !important;display:grid;place-items:center;background:linear-gradient(135deg,#0072F3,#00A2FF);color:#fff;font-weight:700;font-size:18px;grid-row:span 2}
.hp-emp b{font-size:15px}.hp-emp small{display:block;font-size:11.5px}
.hp-emp dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 14px;font-size:11.5px}
.hp-emp dl div{display:flex;gap:6px}.hp-emp dt{font-weight:400;white-space:nowrap}.hp-emp dd{margin:0;font-weight:600}
.hp-money{display:grid;gap:8px;max-width:440px}
.hp-money label{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border:1px solid #E4EEF8;border-radius:10px !important}
.hp-step{display:inline-flex;align-items:center;gap:6px}.hp-step i{font-style:normal;font-size:11.5px}
.hp-step button{width:28px;height:28px;border-radius:50% !important;border:1px solid #E4EEF8;background:#fff;cursor:pointer;font:600 15px/1 var(--f)}
.hp-step b{min-width:46px;text-align:right}
.hp-res{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hp-res table{width:100%;border-collapse:collapse;margin:6px 0 10px;font-size:12.5px}.hp-res td{padding:6px 8px;border-bottom:1px solid #E4EEF8}.hp-res td:last-child{text-align:right}
.hp-res td.m{color:#FF6100}.hp-res tr.net td{font-weight:700;color:#008CFF;font-size:15px}
.hp-closebar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 14px;margin-bottom:10px}
.hp-closebar label{display:grid;gap:3px;font-size:12px;font-weight:600}
.hp-inp{border:1px solid #E4EEF8;border-radius:8px !important;padding:6px 12px;font-weight:400;min-width:120px}
.hp-lock{display:block;font-size:11px;color:#FF6100}
.hp-dl{white-space:nowrap;text-align:right}
.hp-dl button{margin-left:4px;border:1px solid #E4EEF8;background:#fff;border-radius:6px !important;padding:3px 10px;font:600 11.5px var(--f);cursor:pointer;color:#FF6100}
.hp-dl button.excel{color:#008CFF}.hp-dl button.text{color:#000}
.hp-dl button:disabled{opacity:.35;cursor:default}
.hp-busy{position:absolute;inset:0;z-index:5;display:grid;place-content:center;justify-items:center;gap:10px;background:rgba(255,255,255,.82);font-weight:600}
.hp-busy i{width:40px;height:40px;border-radius:50% !important;border:4px solid #E4EEF8;border-top-color:#008CFF;animation:hpSpin .8s linear infinite}
@keyframes hpSpin{to{transform:rotate(360deg)}}
.hp-modal{position:absolute;inset:0;z-index:6;background:rgba(0,40,110,.28);display:flex;align-items:center;justify-content:center;padding:14px}
.hp-modal[hidden]{display:none!important}
.hp-slip,.hp-tree{width:min(340px,100%);max-height:100%;overflow:auto;background:#fff;border-radius:16px !important;padding:14px 16px;box-shadow:0 24px 50px -20px rgba(0,40,110,.5);animation:hprIn .3s var(--spring)}
@keyframes hprIn{from{opacity:0;transform:translateY(8px)}}
.hp-tree{align-self:stretch;margin-right:auto;border-radius:0 16px 16px 0 !important}
.hp-slip-h{display:flex;justify-content:space-between;align-items:center;color:#008CFF;margin-bottom:6px}
.hp-slip-h button{width:30px;height:30px;border-radius:50% !important;border:0;background:#E4EEF8;cursor:pointer;font-size:18px}
.hp-slip p small{display:block;font-size:11.5px}
.hp-slip dl{margin:8px 0;display:grid;gap:4px}.hp-slip dl div{display:flex;justify-content:space-between}.hp-slip dt{font-weight:400}.hp-slip dd{margin:0}.hp-slip dl .m dd{color:#FF6100}
.hp-slip-net{display:flex;justify-content:space-between;align-items:baseline;padding-top:8px;border-top:1px dashed #E4EEF8}.hp-slip-net b{font-size:20px;color:#008CFF}
.hp-slip > small{display:block;margin-top:6px;font-size:11.5px;color:#008CFF}
.hp-tree ul{list-style:none;margin:0;padding-left:14px;border-left:1px dashed #E4EEF8}.hp-tree > ul{padding-left:0;border:0}
.hp-node{display:inline-block;margin:6px 0 4px;padding:3px 10px;border:1px solid #E4EEF8;border-radius:8px !important;font-size:12px;font-weight:600}
.hp-leaf{display:block;width:100%;text-align:left;margin:3px 0;padding:6px 10px;border:1px solid #E4EEF8;border-left:3px solid #008CFF;border-radius:8px !important;background:#fff;font:inherit;cursor:pointer}
.hp-leaf:hover{background:#E4EEF8}.hp-leaf b{display:block;font-size:12.5px}.hp-leaf small{font-size:11px;color:#008CFF}
@media (max-width:1100px){.hp-cards{grid-template-columns:1fr 1fr}.hp-nums{grid-column:1/-1}}
@media (max-width:900px){.hp{grid-template-columns:1fr}.hpr-steps{position:static;grid-template-columns:repeat(2,1fr)}.hpr-steps li.on button{transform:none}}
@media (max-width:620px){.hp-cards,.hp-res,.hp-check{grid-template-columns:1fr}.hp-band{padding:12px 12px 20px}.hp-period{text-align:left}.hp-ai,.hp-user{display:none}
  .hpr-steps small{display:none}.hpr-steps button{padding:10px}.hp-emp dl{grid-template-columns:1fr}.hp-view{padding:10px}}
/* ===== Dashboard replica (#hd2) — widget grid of HRS › Dashboard ===== */
.hd2{position:relative;background:#E4EEF8;color:#000;font-size:12.5px;text-align:left}
/* the scene is a .night band (white text): everything inside the app frame is dark text on light surfaces */
.night .hd2,.night .hd2 :is(small,p,li,span,b,em,label,text){color:#000}
.hd2-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:10px 16px;background:#fff;border-bottom:1px solid #E4EEF8}
.hd2-brand b{display:block;font-size:20px;letter-spacing:-.02em;color:#FF6100}.hd2-brand b span{color:#008CFF}.hd2-brand small{font-size:10px}
.hd2-cs{display:flex;align-items:center;gap:6px}.hd2-cs i{width:28px;height:28px;border-radius:50% !important;display:grid;place-items:center;background:#008CFF;color:#fff;font-style:normal;font-weight:700}
.hd2-cs.hd2-cs-line i{background:#008CFF}.hd2-cs b{display:block;font-size:11px;color:#008CFF}.hd2-cs small{font-size:11px}
.hd2-tools{margin-left:auto;text-align:right}.hd2-tools small{display:block;font-size:10.5px}
.hd2-wbtn{border:0;background:none;font:700 13px var(--f);color:#000;cursor:pointer;padding:2px 0}
.hd2-wbtn:hover{color:#008CFF}
.hd2-bar{display:flex;justify-content:space-between;align-items:center;padding:8px 16px}
.hd2-co{font-weight:700}.hd2-co i{font-style:normal;font-weight:600;font-size:11px;color:#FF6100;margin-left:6px}
.hd2-month{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #E4EEF8;border-radius:999px !important;padding:2px}
.hd2-month b{min-width:74px;text-align:center}
.hd2-month button{width:28px;height:28px;border-radius:50% !important;border:0;background:#E4EEF8;color:#008CFF;font:700 16px/1 var(--f);cursor:pointer}
.hd2-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 12px 14px;height:clamp(380px,46vw,520px);overflow:auto;overscroll-behavior:contain;align-content:start}
.hd2-w{background:#fff;border:1px solid #E4EEF8;border-radius:14px !important;padding:10px 12px;min-width:0}
.hd2-w.w2{grid-column:span 2}
.hd2-w header{display:flex;align-items:center;gap:6px;margin-bottom:6px}
.hd2-w header b{font-size:13.5px;margin-right:auto}
.hd2-chip{font-size:10.5px;border:1px solid #E4EEF8;border-radius:6px !important;padding:1px 7px}
.hd2-x{width:26px;height:26px;border-radius:8px !important;border:1px solid #E4EEF8;background:#fff;cursor:pointer;font-size:13px;color:#008CFF}
.hd2-x:hover{background:#E4EEF8}
.hd2-wtools{display:flex;gap:6px;justify-content:flex-end;margin:-2px 0 2px}
.hd2-wtools select{font:12px var(--f);border:1px solid #E4EEF8;border-radius:6px !important;padding:2px 6px;background:#fff}
.hd2-line{width:100%;height:auto;display:block}
.hd2-line line{stroke:#E4EEF8}.hd2-line polygon{fill:rgba(0,140,255,.12)}.hd2-line polyline{fill:none;stroke:#008CFF;stroke-width:2.2}
.hd2-line circle{fill:#008CFF;cursor:pointer}.hd2-line circle.on{fill:#FF6100}.hd2-line circle:hover{r:6}
.hd2-line text{font-size:10px;text-anchor:middle;fill:#000}
.hd2-tip{margin:2px 0 0;font-size:11.5px;color:#008CFF!important;font-weight:600}
.hd2-gender{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;font-size:15px}
.hd2-gender span{color:#000}.hd2-gender .m{color:#008CFF}.hd2-gender .w{color:#FF6100}.hd2-gender b{margin-left:3px}
.hd2-gender .t{margin-left:auto;font-size:12px}
.hd2-hbars{display:grid;gap:4px;margin-top:6px}
.hd2-hbars div{display:grid;grid-template-columns:80px 1fr;gap:6px;align-items:center}
.hd2-hbars small{font-size:10.5px;text-align:right}
.hd2-hbars span{display:flex;height:9px;background:#E4EEF8;border-radius:4px !important;overflow:hidden}
.hd2-hbars i{display:block;height:100%}.hd2-hbars i.m,.hd2-leg i.m{background:#008CFF}.hd2-hbars i.w,.hd2-leg i.w{background:#FF8100}.hd2-leg i.o{background:#FF6100}
.hd2-leg{margin:6px 0 0;font-size:11px}.hd2-leg i{display:inline-block;width:9px;height:9px;border-radius:2px !important;margin:0 3px 0 8px;vertical-align:-1px}
.hd2-donut{display:flex;align-items:center;gap:10px}
.hd2-donut .ring{flex:none;position:relative;width:96px;height:96px;border-radius:50% !important;display:grid;place-content:center;text-align:center}
.hd2-donut .ring::before{content:"";position:absolute;inset:16px;border-radius:50% !important;background:#fff}
.hd2-donut .ring b,.hd2-donut .ring small{position:relative;font-size:13px}.hd2-donut .ring small{font-size:10px;display:block}
.hd2-donut ul{list-style:none;margin:0;padding:0;display:grid;gap:3px;flex:1;min-width:0}
.hd2-donut li{display:flex;align-items:center;gap:5px;font-size:11px}.hd2-donut li i{flex:none;width:9px;height:9px;border-radius:50% !important}.hd2-donut li b{margin-left:auto;white-space:nowrap;font-weight:600}
.hd2-vbars{display:flex;justify-content:space-around;align-items:flex-end;gap:10px;height:150px}
.hd2-vbars div{display:flex;flex-direction:column;align-items:center;gap:3px;height:100%;flex:1}
.hd2-vbars span{flex:1;width:34px;display:flex;align-items:flex-end;background:#E4EEF8;border-radius:6px 6px 0 0 !important}
.hd2-vbars i{display:block;width:100%;background:linear-gradient(#289FFF,#008CFF);border-radius:6px 6px 0 0 !important;transition:height .5s var(--ease)}
.hd2-vbars b{font-size:11px}.hd2-vbars small{font-size:10.5px;text-align:center}
.hd2-io,.hd2-stack{display:grid;grid-template-columns:repeat(12,1fr);gap:3px;height:130px;align-items:stretch}
.hd2-io div{display:grid;grid-template-rows:1fr 1fr auto;gap:1px}
.hd2-io .up{display:flex;align-items:flex-end;justify-content:center}.hd2-io .dn{display:flex;align-items:flex-start;justify-content:center;border-top:1px solid #E4EEF8}
.hd2-io i{display:block;width:60%;background:#008CFF;border-radius:3px 3px 0 0 !important}.hd2-io .dn i{background:#FF6100;border-radius:0 0 3px 3px !important}
.hd2-io small,.hd2-stack small{font-size:9px;text-align:center}
.hd2-io div.on small,.hd2-stack div.on small{color:#FF6100;font-weight:700}
.hd2-stack div{display:flex;flex-direction:column;gap:2px}
.hd2-stack span{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center}
.hd2-stack i{display:block;width:62%;background:#289FFF}.hd2-stack i.o{background:#FF6100;border-radius:3px 3px 0 0 !important}
.hd2-stack div.on i:not(.o){background:#008CFF}
.hd2-pair{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:6px}
.hd2-pair div{border:1px solid #E4EEF8;border-radius:10px !important;padding:6px 8px;text-align:center}.hd2-pair small{display:block;font-size:10.5px}.hd2-pair b{display:block;font-size:13.5px;color:#008CFF}.hd2-pair span{font-size:10px}
.hd2-docs{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start}
.hd2-docs > div > small{display:block;font-weight:700;margin-bottom:4px}
.hd2-pend{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.hd2-pend button{border:1px solid #E4EEF8;border-radius:10px !important;background:#fff;padding:6px 4px;text-align:center;font:inherit;cursor:pointer;transition:transform .3s var(--spring),border-color .2s}
.hd2-pend button.has{border-color:#FF8100}.hd2-pend button.has:hover{transform:translateY(-2px);border-color:#FF6100}
.hd2-pend button:disabled{opacity:.55;cursor:default}
.hd2-pend small{display:block;font-size:10px;line-height:1.25;min-height:2.5em}.hd2-pend b{display:block;font-size:19px}.hd2-pend button.has b{color:#FF6100}.hd2-pend span{font-size:10px}
.hd2-money{display:grid;gap:8px;text-align:center}
.hd2-money div{padding:6px 0;border-bottom:1px solid #E4EEF8}.hd2-money div:last-child{border-bottom:0}
.hd2-money b{display:block;font-size:14px}.hd2-money small{display:block;font-size:11px}.hd2-money em{display:block;font-style:normal;font-weight:700;font-size:16px;color:#008CFF}
.hd2-empty{grid-column:1/-1;text-align:center;padding:40px 10px}
.hd2-modal{position:absolute;inset:0;z-index:5;background:rgba(0,40,110,.3);display:flex;align-items:center;justify-content:center;padding:16px}
.hd2-modal[hidden]{display:none!important}
.hd2-mbox{position:relative;width:min(640px,100%);max-height:100%;overflow:auto;background:#fff;border-radius:16px !important;padding:16px;box-shadow:0 24px 60px -20px rgba(0,40,110,.5);animation:hprIn .3s var(--spring)}
.hd2-mclose{position:absolute;top:10px;right:10px;z-index:2}
.hd2-mbox .hd2-w{border:0;padding:0}.hd2-w.big .hd2-donut .ring{width:140px;height:140px}.hd2-w.big .hd2-donut .ring::before{inset:22px}
.hd2-w.big .hd2-vbars,.hd2-w.big .hd2-io,.hd2-w.big .hd2-stack{height:220px}
.hd2-mt{display:block;font-size:15px;margin-bottom:6px}.hd2-mnote{margin:0 0 10px;font-size:12px}
.hd2-wlist{display:grid;grid-template-columns:1fr 1fr;gap:6px}.hd2-wlist label{display:flex;gap:8px;align-items:center;padding:6px 8px;border:1px solid #E4EEF8;border-radius:8px !important;cursor:pointer}
.hd2-wlist input{accent-color:#008CFF;width:16px;height:16px}
.hd2-plist{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.hd2-plist li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;border:1px solid #E4EEF8;border-radius:10px !important}
.hd2-plist b{display:block}.hd2-plist small{font-size:11px}
.hd2-ok{border:0;border-radius:8px !important;background:#008CFF;color:#fff;padding:6px 14px;font:600 12px var(--f);cursor:pointer}
@media (max-width:900px){.hd2-grid{grid-template-columns:1fr 1fr}.hd2-w.w2{grid-column:1/-1}}
@media (max-width:620px){.hd2-grid{grid-template-columns:1fr;height:520px}.hd2-cs{display:none}.hd2-docs,.hd2-wlist{grid-template-columns:1fr}.hd2-tools{margin-left:0;text-align:left}}
/* accents inside the dashboard (beat the dark-text rule above) */
:is(#hd2,.dv-dash) .hd2-brand b{color:#FF6100}:is(#hd2,.dv-dash) .hd2-brand b span{color:#008CFF}
:is(#hd2,.dv-dash) .hd2-cs b,:is(#hd2,.dv-dash) .hd2-pair b,:is(#hd2,.dv-dash) .hd2-money em,:is(#hd2,.dv-dash) .hd2-tip,:is(#hd2,.dv-dash) .hd2-gender .m,:is(#hd2,.dv-dash) .hd2-gender .m b{color:#008CFF}
:is(#hd2,.dv-dash) .hd2-co i,:is(#hd2,.dv-dash) .hd2-gender .w,:is(#hd2,.dv-dash) .hd2-gender .w b,:is(#hd2,.dv-dash) .hd2-pend button.has b,:is(#hd2,.dv-dash) .hd2-io div.on small,:is(#hd2,.dv-dash) .hd2-stack div.on small{color:#FF6100}
:is(#hd2,.dv-dash) .hd2-cs i{color:#fff}:is(#hd2,.dv-dash) .hd2-ok{color:#fff}
/* ===== Playground replicas (.pgx) — reuse the .hp-* app frame from the payroll replica ===== */
.hm-pg .pg-tabs{flex-wrap:wrap}
.pgx{min-height:520px;margin-top:14px}
.pgx-band{align-items:center;padding-bottom:16px}
.pgx-right{margin-left:auto;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hp-btn.light{background:#fff;border-color:#fff;color:#008CFF}
.pgx .hp-view{min-height:440px}
.pgx-intro{margin:0 0 8px;padding:8px 10px;background:#E4EEF8;border-radius:8px !important}
.pgx-search{margin-bottom:10px}.pgx-search > b{display:block;font-size:14px;margin-bottom:6px}
.pgx-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 10px}
.pgx-form.two{grid-template-columns:repeat(2,minmax(0,1fr))}.pgx-form.one{grid-template-columns:1fr}
.pgx-form label{display:grid;gap:3px;font-size:11.5px;font-weight:600}
.pgx-form :is(input,select),.pgx-filter :is(input,select),.pgx-sch,.pgx-flow select,.hp-tbl select{font:13px var(--f);border:1px solid #E4EEF8;border-radius:8px !important;padding:6px 9px;background:#fff;color:#000;min-width:0}
.pgx-form :is(input,select):disabled{background:#E4EEF8;color:#000;opacity:1}
.pgx-acts{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px;margin:8px 0}
.pgx-live{margin-right:auto;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#008CFF}
.pgx-live i{width:8px;height:8px;border-radius:50% !important;background:#008CFF;animation:tqPulse 1.6s ease-out infinite;box-shadow:0 0 0 0 #008CFF}
.pgx-new td{animation:pgxNew 2.4s ease}
@keyframes pgxNew{0%,30%{background:#E4EEF8}}
.pgx-none{text-align:center;padding:24px!important}
.pgx-ck{width:34px;text-align:center}.pgx-ck input,.pgx-matrix input{width:16px;height:16px;accent-color:#008CFF}
.pgx-r{float:right;font-weight:400}
.pgx-bulk{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px;margin-top:8px;padding:8px 10px;border-radius:10px !important;background:#E4EEF8}
.pgx-bulk > span:first-child{margin-right:auto;font-size:12px}.pgx-bulk > span:empty{flex:1}
.hp-tbl td > small{display:block;font-size:11px}
.pgx-q{position:relative;display:inline-block;min-width:54px;padding-bottom:5px}.pgx-q i{position:absolute;left:0;bottom:0;height:3px;border-radius:3px !important;background:#008CFF}
.pgx-pal{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px}.pgx-pal > b{font-size:12.5px;margin-right:4px}
.pgx-pal button{display:inline-flex;align-items:center;gap:6px;border:1px solid #E4EEF8;background:#fff;border-radius:8px !important;padding:5px 10px;font:600 12px var(--f);cursor:pointer}
.pgx-pal button i{width:12px;height:12px;border-radius:3px !important;background:var(--c)}.pgx-pal button small{font-weight:400;font-size:11px}
.pgx-pal button.on{border-color:#008CFF;box-shadow:0 0 0 2px #008CFF inset}
.pgx-grid td{padding:4px!important}
.pgx-cell{width:100%;min-width:64px;border:0;border-radius:6px !important;padding:7px 4px;background:var(--c);color:#fff;font:700 11.5px var(--f);cursor:pointer;transition:transform .2s}
.pgx-cell.off{color:#000}.pgx-cell:hover{transform:scale(1.05)}
.pgx-cell.dirty{box-shadow:0 0 0 2px #FF6100}
.pgx-side{display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px}
.pgx-menu{display:flex;flex-direction:column;gap:4px;border:1px solid #E4EEF8;border-radius:12px !important;padding:8px;align-self:start}
.pgx-menu > b{font-size:13px;margin:2px 4px 4px}
.pgx-menu button{border:1px solid #E4EEF8;background:#fff;border-radius:8px !important;padding:7px 8px;font:600 12px var(--f);cursor:pointer;text-align:center}
.pgx-menu button.on{background:#008CFF;border-color:#008CFF;color:#fff}.pgx-menu small{font-size:10.5px;margin:4px}
.pgx-main{min-width:0}
.pgx-sp{margin-top:10px}.pgx-sp > small{display:block;font-weight:700;margin-bottom:6px}
.pgx-kv{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:4px;font-size:12.5px}.pgx-kv li{display:flex;justify-content:space-between}
.pgx-gen{margin-top:10px}
.pgx-quota{position:relative;display:inline-block;width:120px;height:22px;border-radius:999px !important;background:rgba(255,255,255,.3);color:#fff;font-size:11.5px;font-weight:700;text-align:center;line-height:22px;overflow:hidden}
.pgx-quota i{position:absolute;inset:0 auto 0 0;background:#FF8100;z-index:0}.pgx-quota{isolation:isolate}.pgx-quota i{z-index:-1}
.pgx-prof{display:flex;align-items:center;gap:10px;margin-bottom:10px}.pgx-prof > div{margin-right:auto}.pgx-prof b{display:block}.pgx-prof small{font-size:11.5px}
.pgx-prof .hp-ava{grid-row:auto}
.pgx-flow{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin:6px 0 12px}.pgx-flow label{display:grid;gap:3px;font-size:11.5px;font-weight:600}.pgx-flow i{font-style:normal;color:#008CFF;padding-bottom:7px}
.pgx-tree,.pgx-tree ul{list-style:none;margin:0;padding-left:22px;border-left:1px dashed #E4EEF8}.pgx-tree{padding-left:0;border:0}
.pgx-tree li{margin:6px 0}
.pgx-node{display:inline-flex;align-items:center;gap:8px;padding:6px 8px 6px 10px;border:1px solid #E4EEF8;border-radius:10px !important;background:#fff}
.pgx-node small{font-size:10.5px;color:#008CFF;font-weight:600}.pgx-node b{font-size:12.5px}.pgx-node em{font-style:normal;font-size:10.5px}
.pgx-node span{display:inline-flex;gap:4px}.pgx-node button{width:24px;height:24px;border-radius:50% !important;border:0;background:#008CFF;color:#fff;font:700 14px/1 var(--f);cursor:pointer}
.pgx-node button.del{background:#FFF1E8;font-size:11px}
.pgx-picklist{display:grid;gap:4px;max-height:320px;overflow:auto}
.pgx-pdpa{margin-top:12px}.pgx-pdpa label{font-size:12px;font-weight:600;display:flex;gap:6px;align-items:center}
.pgx-rec{margin:8px 0;display:grid;gap:0;border:1px solid #E4EEF8;border-radius:10px !important;overflow:hidden}
.pgx-rec div{display:grid;grid-template-columns:150px 1fr;border-bottom:1px solid #E4EEF8}.pgx-rec div:last-child{border:0}
.pgx-rec dt{padding:7px 10px;background:#E4EEF8;font-weight:600;font-size:12px}.pgx-rec dd{margin:0;padding:7px 10px}
.pgx-rec dd.mask{color:#FF6100;letter-spacing:.06em;font-weight:600}
.pgx-box{width:min(560px,100%)}
.pgx-matrix{max-height:340px}.pgx-matrix td:last-child,.pgx-matrix th:last-child{text-align:center;width:60px}
.pgx-foot{display:flex;justify-content:flex-end;gap:6px;margin-top:10px}
.pgx-filter{justify-content:flex-start}.pgx-filter input{min-width:160px}
.pgx-link{text-decoration:underline;color:#008CFF;border:0;background:none;padding:0;font:600 12.5px var(--f);cursor:pointer}
.pgx-sch{border-color:#fff;min-width:160px}
.pgx-ev{display:grid;grid-template-columns:220px minmax(0,1fr);gap:12px}
.pgx-evlist{display:grid;gap:6px;align-content:start}
.pgx-evlist button{text-align:left;border:1px solid #E4EEF8;border-left:3px solid #E4EEF8;background:#fff;border-radius:8px !important;padding:8px 10px;font:inherit;cursor:pointer}
.pgx-evlist button.on{border-left-color:#FF6100;background:#E4EEF8}.pgx-evlist b{display:block;font-size:12.5px}.pgx-evlist small{font-size:11px}
.pgx-evf > b{display:block;font-size:15px}.pgx-evf > small{display:block;margin-bottom:8px;font-size:11.5px}
.pgx-crit{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #E4EEF8}.pgx-crit small{display:block;font-size:11px}
.pgx-rate{display:flex;gap:4px}.pgx-rate button{width:32px;height:32px;border-radius:8px !important;border:1px solid #E4EEF8;background:#fff;font:700 13px var(--f);cursor:pointer}
.pgx-rate button.on{background:#008CFF;border-color:#008CFF;color:#fff}
.pgx-total{display:flex;align-items:baseline;gap:10px;margin:12px 0}.pgx-total b{font-size:28px;color:#008CFF}.pgx-total em{font-style:normal;font-weight:700;color:#FF6100}
@media (max-width:900px){.pgx-form{grid-template-columns:1fr 1fr}.pgx-side,.pgx-ev{grid-template-columns:1fr}.pgx-menu{flex-direction:row;flex-wrap:wrap}.pgx-menu small{display:none}}
@media (max-width:560px){.pgx-form,.pgx-form.two{grid-template-columns:1fr}.pgx-right{margin-left:0}.pgx-rec div{grid-template-columns:110px 1fr}}
.pgx-mode{margin:14px 0 10px;display:inline-flex}
#tmHr .pgx{margin-top:0}
/* ===== Clock-in phone = replica of the HumanSoft app "ลงเวลาการทำงาน" (#taScr) ===== */
.ta-demo{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(18px,3vw,40px);align-items:start;margin-top:14px}
.ta-col{display:flex;flex-direction:column;align-items:center;gap:10px}
.ta-phone{width:300px;height:620px;border-radius:44px !important;padding:10px;background:#000000;box-shadow:0 40px 70px -30px rgba(0,30,80,.7),inset 0 0 0 2px #008CFF}
.ta-scr{position:relative;height:100%;border-radius:34px !important;overflow:hidden;background:#E4EEF8;display:flex;flex-direction:column;font-size:12px}
#taScr :is(p,small,span,b,li,label){color:#000}
.ta-sb{position:absolute;top:0;left:0;right:0;z-index:3;display:flex;justify-content:space-between;padding:8px 18px 0;font-size:10px;font-weight:600}
#taScr .ta-sb span{color:#fff}
.ta-head{display:flex;align-items:center;gap:6px;padding:30px 14px 12px;background:linear-gradient(120deg,#0072F3,#008CFF);color:#fff;flex:none}
.ta-head.c{justify-content:center;border-radius:0 0 18px 18px !important}
#taScr .ta-head b{color:#fff;font-size:14px;flex:1;text-align:center;margin-right:26px}#taScr .ta-head.c b{margin:0;flex:none}
.ta-head button{border:0;background:none;color:#fff;padding:2px;cursor:pointer}
.ta-ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ta-home{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;padding-top:12px;background:radial-gradient(closest-side at 50% 58%,rgba(0,140,255,.18),transparent 70%)}
#taScr .ta-date{margin:0;font-weight:600;font-size:12.5px}
.ta-clock{margin:2px 0 0;line-height:1}#taScr .ta-clock b{font-size:44px;color:#008CFF;letter-spacing:-.02em}#taScr .ta-clock small{font-size:14px;color:#008CFF;font-weight:600}
#taScr .ta-pick{margin:6px 0 0;color:#008CFF;font-weight:700;font-size:13px}
.ta-ring{position:relative;width:260px;height:280px;margin-top:6px}
.ta-opt{position:absolute;width:74px;height:74px;border-radius:50% !important;border:0;background:#fff;box-shadow:0 8px 20px -12px rgba(0,60,140,.5);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;color:#008CFF;transition:transform .3s var(--spring)}
.ta-opt:hover{transform:scale(1.07)}
#taScr .ta-opt span{font-size:8.5px;line-height:1.15;color:#008CFF;font-weight:600;max-width:64px}
.ta-opt.p0{left:46px;top:6px}.ta-opt.p1{right:46px;top:6px}.ta-opt.p2{left:0;top:103px}.ta-opt.p3{right:0;top:103px}.ta-opt.p4{left:46px;bottom:6px}.ta-opt.p5{right:46px;bottom:6px}
.ta-fp{position:absolute;left:50%;top:50%;width:92px;height:92px;margin:-46px 0 0 -46px;border:0;border-radius:50% !important;background:linear-gradient(160deg,#289FFF,#0072F3);color:#fff;cursor:pointer;box-shadow:0 0 0 14px rgba(0,140,255,.12),0 16px 30px -12px rgba(0,90,200,.7)}
.ta-fp .ta-ic{width:52px;height:52px;stroke-width:1.5}
.ta-hist{position:absolute;right:12px;bottom:12px;width:40px;height:40px;border-radius:50% !important;border:0;background:#008CFF;color:#fff;display:grid;place-items:center;cursor:pointer}
.ta-nav{flex:none;display:flex;justify-content:space-around;align-items:center;height:58px;background:#fff;border-radius:18px 18px 0 0 !important;color:#008CFF;position:relative}
.ta-nav span{position:relative;display:grid;place-items:center}
.ta-nav .o{width:54px;height:54px;margin-top:-26px;border-radius:50% !important;background:linear-gradient(160deg,#FF8100,#FF6100);color:#fff}
.ta-nav .b i{position:absolute;top:-6px;right:-10px;font-style:normal;font-size:8px;font-weight:700;color:#fff;background:#FF6100;border-radius:999px !important;padding:1px 4px}
.ta-body{flex:1;display:flex;flex-direction:column;padding:12px;overflow:auto}
.ta-ttl{text-align:center}#taScr .ta-ttl b{font-size:14px}#taScr .ta-ttl small{display:block;font-size:9.5px;margin-top:2px}
.ta-big{font-size:38px;font-weight:700;letter-spacing:-.02em;margin:6px 0 10px}
#taScr .ta-big.ok{color:#008CFF}#taScr .ta-big.bad{color:#FF6100}#taScr .ta-big{color:#008CFF}
.ta-card{display:flex;align-items:center;gap:8px;background:#fff;border-radius:12px !important;padding:10px;box-shadow:0 4px 12px -8px rgba(0,40,100,.4)}
.ta-card > div{flex:1;display:flex;flex-direction:column;gap:2px}
#taScr .ta-card > div > b{font-size:12.5px}#taScr .ta-card.ok > div > b,#taScr .ta-card.info > div > b{color:#008CFF}#taScr .ta-card.bad > div > b{color:#FF6100}
#taScr .ta-card span{font-size:10.5px}#taScr .ta-card small{font-size:8.5px;opacity:.7}
.ta-mini{flex:none;width:34px;height:34px;border:1px solid #E4EEF8;border-radius:10px !important;display:grid;place-items:center;color:#008CFF}.ta-mini .ta-ic{width:18px;height:18px}
.ta-round{flex:none;width:36px;height:36px;border-radius:50% !important;display:grid;place-items:center;color:#fff}.ta-round.ok{background:#008CFF}.ta-round.bad{background:#FF6100}
.ta-round .ta-ic{width:20px;height:20px;stroke-width:2.6}.ta-round.big{width:64px;height:64px}.ta-round.big .ta-ic{width:34px;height:34px}
#taScr .ta-lbl{margin:10px 0 4px;font-size:11px;font-weight:600}
.ta-shift{display:flex;align-items:center;background:#fff;border:2px solid #008CFF;border-radius:12px !important;padding:8px 10px}.ta-shift div{flex:1}
#taScr .ta-shift b{display:block;color:#008CFF;font-size:12px}#taScr .ta-shift span{color:#008CFF;font-size:10.5px}
.ta-shift i{width:16px;height:16px;border-radius:50% !important;border:2px solid #008CFF;box-shadow:inset 0 0 0 3px #fff;background:#008CFF}
.ta-inp{border:1px solid #E4EEF8;border-radius:10px !important;padding:8px 10px;font:11.5px var(--f);background:#fff}
#taScr .ta-cnt{align-self:flex-end;font-size:9px;margin:2px 0 6px}
.ta-go{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;border:0;border-radius:12px !important;background:#008CFF;color:#fff;font:700 13px var(--f);cursor:pointer}
.ta-go .ta-ic{width:18px;height:18px}.ta-go:disabled{background:rgba(70,85,100,.32);color:#fff;cursor:default}
.ta-cta{margin-top:auto;min-height:42px;border:0;border-radius:12px !important;background:#FF6100;color:#fff;font:700 13px var(--f);cursor:pointer}
.ta-fill{flex:1}
.ta-spin{width:26px;height:26px;border-radius:50% !important;border:3px solid #E4EEF8;border-top-color:#008CFF;animation:hpSpin .8s linear infinite}
.ta-bt{position:relative;color:#008CFF;display:flex;align-items:center}.ta-bt i{width:8px;height:8px;border-radius:50% !important;margin-left:3px;background:#008CFF;animation:tqPulse 1.4s ease-out infinite}
.ta-cam{flex:1;background:#000000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
#taScr .ta-cam p{color:#fff;font-size:11px}
.ta-frame{position:relative;width:170px;height:170px;border:2px solid #FF6100;display:grid;place-items:center;overflow:hidden}
.ta-frame.rd{border-radius:16px !important;border-width:3px}.ta-frame .ta-qr{width:120px;height:120px;background:#fff;padding:4px}
.ta-frame i{position:absolute;left:6px;right:6px;top:8px;height:2px;background:#FF8100;box-shadow:0 0 10px #FF8100;opacity:0}
.ta-frame.scan i{opacity:1;animation:taScan 1.1s ease-in-out infinite alternate}
@keyframes taScan{to{top:calc(100% - 10px)}}
.ta-cambar{flex:none;display:flex;justify-content:center;align-items:center;gap:40px;height:84px;background:linear-gradient(120deg,#008CFF,#0072F3);color:#fff;position:relative}
.ta-cambar.dark{background:#000000}.ta-cambar.dark span{width:44px;height:44px;border-radius:50% !important;border:2px solid #fff;display:grid;place-items:center}
.ta-shut{width:58px;height:58px;border-radius:50% !important;border:0;background:#fff;color:#000;display:grid;place-items:center;cursor:pointer}.ta-shut .ta-ic{width:30px;height:30px}
.ta-tip{background:#fff;border-radius:10px !important;padding:8px 10px}#taScr .ta-tip b{display:block;font-size:12px}#taScr .ta-tip span{font-size:10.5px}
.ta-qrbox{margin:12px auto 4px;background:#fff;padding:8px}.ta-qr{width:190px;height:190px;display:block}.ta-qr rect{fill:#000}
.ta-count{margin:4px 0 0;text-align:center}#taScr .ta-count b{font-size:14px}#taScr .ta-note{text-align:center;font-size:9.5px;margin:6px 0 0}
.ta-bio{margin-top:10px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.ta-bio button{width:96px;height:96px;border-radius:50% !important;border:0;background:#fff;color:#008CFF;cursor:pointer;box-shadow:0 0 0 10px rgba(0,140,255,.12)}
.ta-bio button .ta-ic{width:56px;height:56px;stroke-width:1.5}.ta-bio button.scan{animation:taPulse 1s ease-in-out infinite}
@keyframes taPulse{50%{box-shadow:0 0 0 18px rgba(0,140,255,.18)}}
.ta-done{display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:16px;text-align:center}#taScr .ta-done > b{font-size:16px;color:#008CFF}#taScr .ta-done small{font-size:10.5px}
.ta-hl{list-style:none;margin:0;padding:0;display:grid;gap:6px}.ta-hl li{display:flex;gap:10px;background:#fff;border-radius:10px !important;padding:8px 10px}
#taScr .ta-hl b{color:#008CFF}.ta-hl li.e{justify-content:center}
.ta-sim{display:flex;flex-direction:column;gap:4px}
.ta-side{display:flex;flex-direction:column;gap:12px;min-width:0}
.ta-more{border-radius:20px !important;padding:14px 16px;display:grid;gap:4px}.ta-more b{font-size:14px}.ta-more span{font-size:13px;line-height:1.6;margin-bottom:6px}
@media (max-width:760px){.ta-demo{grid-template-columns:1fr}.ta-phone{width:280px;height:590px}.ta-ring{transform:scale(.93)}}
@media (prefers-reduced-motion:reduce){.ta-frame.scan i,.ta-bio button.scan,.ta-bt i,.ta-spin{animation:none}}
/* ===== ลงเวลา › วิธีอื่นนอกแอป (#ofDev): fingerprint terminal · Kiosk tablet · LINE OA · Offline · file import · HR · team lead ===== */
.of-demo{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:clamp(18px,3vw,36px);align-items:start}
.of-dev{min-height:400px;display:grid;place-items:center;font-size:13px}
#ofDev :is(p,small,span,b,li,label,h4){color:#000}
.of-dev .ta-go{margin-top:12px;width:100%}
.of-card{width:100%;max-width:380px;background:#fff;border-radius:22px !important;padding:18px;display:flex;flex-direction:column;gap:8px;box-shadow:0 30px 60px -30px rgba(0,30,80,.7)}
#ofDev .of-h{font-size:15px}
.of-card label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;font-weight:600}
.of-card .ta-inp{font-size:14px;color:#000}
.of-row{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:12px !important;background:#E4EEF8}
.of-net{border:0;border-radius:999px !important;padding:6px 12px;font:700 12.5px var(--f);background:#008CFF;color:#fff;cursor:pointer}.of-net.off{background:#FF6100}
#ofDev .of-q{font-size:20px;color:#008CFF}
#ofDev .of-hint{margin:2px 0 0;font-size:12.5px;line-height:1.5}#ofDev .of-hint b{color:#008CFF}
/* fingerprint terminal */
.of-term{width:230px;padding:18px 18px 14px;border-radius:28px !important;background:linear-gradient(170deg,#008CFF,#000000);display:flex;flex-direction:column;align-items:center;gap:14px;box-shadow:0 30px 60px -24px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.15)}
.of-lcd{width:100%;border-radius:10px !important;padding:10px;background:#E4EEF8;text-align:center;display:flex;flex-direction:column;gap:2px;min-height:64px}
#ofDev .of-lcd b{font-size:24px;color:#008CFF;font-variant-numeric:tabular-nums}#ofDev .of-lcd span{font-size:12px}
.of-pad{width:100px;height:100px;border-radius:24px !important;border:2px solid #008CFF;background:#000000;color:#289FFF;display:grid;place-items:center;cursor:pointer;transition:transform .3s var(--spring)}
.of-pad:hover{transform:scale(1.04)}.of-pad .ta-ic{width:56px;height:56px;stroke-width:1.4}.of-pad.scan{animation:taPulse 1s ease-in-out infinite;color:#FF8100}
#ofDev .of-term small{color:#fff;opacity:.6;font-size:11px}
/* Kiosk tablet (landscape) */
.of-tab{width:100%;max-width:420px;aspect-ratio:4/3;display:grid;grid-template-columns:1.2fr 1fr;border-radius:26px !important;padding:12px;gap:12px;background:#000000;box-shadow:0 30px 60px -24px rgba(0,0,0,.8)}
.of-cam{border-radius:16px !important;background:#000000;display:grid;place-items:center}
.of-cam .ta-frame{width:150px;height:150px}.of-face{width:90px;height:90px;color:#fff;opacity:.5;stroke-width:1.2}
#ofDev .of-name{color:#fff;font-size:14px;text-align:center;padding:0 8px}
.of-tab-side{border-radius:16px !important;background:#E4EEF8;padding:14px;display:flex;flex-direction:column;justify-content:center;gap:6px}
#ofDev .of-tab-side b{font-size:26px;color:#008CFF;font-variant-numeric:tabular-nums}
#ofDev .of-pill{font-size:12px;font-weight:700;color:#008CFF}
/* LINE OA */
.of-line{width:280px;height:400px;border-radius:30px !important;overflow:hidden;background:#289FFF;display:flex;flex-direction:column;box-shadow:0 30px 60px -24px rgba(0,0,0,.8);border:8px solid #000000}
.of-line-h{background:#fff;padding:12px 14px}#ofDev .of-line-h b{display:block;font-size:14px}#ofDev .of-line-h small{font-size:11px;color:#008CFF;font-weight:600}
.of-chat{flex:1;padding:12px;display:flex;flex-direction:column;gap:8px;overflow:auto}
.of-chat p{margin:0;max-width:82%;padding:8px 11px;border-radius:16px !important;font-size:12.5px;line-height:1.45;animation:aiIn .3s var(--ease)}
#ofDev .of-chat .bot{align-self:flex-start;background:#fff}#ofDev .of-chat .me{align-self:flex-end;background:#008CFF;color:#fff}
.of-typing{display:flex;gap:4px}.of-typing i{width:6px;height:6px;border-radius:50% !important;background:#289FFF;animation:aiDot 1s infinite}.of-typing i:nth-child(2){animation-delay:.15s}.of-typing i:nth-child(3){animation-delay:.3s}
.of-rich{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#E4EEF8}
.of-rich button{border:0;background:#fff;min-height:48px;font:600 12.5px var(--f);color:#008CFF;cursor:pointer}.of-rich button:nth-child(-n+2){background:#008CFF;color:#fff}
/* file import + team lead lists */
.of-file{display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:12px !important;background:#E4EEF8;color:#008CFF}
.of-file div{display:flex;flex-direction:column}#ofDev .of-file small{font-size:11.5px}
.of-steps{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:6px}
.of-steps li{position:relative;padding-left:26px;font-size:13px;opacity:.55}
.of-steps li::before{content:"";position:absolute;left:0;top:1px;width:16px;height:16px;border-radius:50% !important;border:2px solid #289FFF}
.of-steps li.w{opacity:1}.of-steps li.w::before{border-color:#E4EEF8;border-top-color:#008CFF;animation:hpSpin .8s linear infinite}
.of-steps li.d{opacity:1}.of-steps li.d::before{content:"✓";border:0;background:#008CFF;color:#fff;font-size:10px;display:grid;place-items:center;font-weight:700}
.of-team{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.of-team li{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border-radius:10px !important;background:#E4EEF8}
.of-team label{flex-direction:row;align-items:center;gap:8px;font-weight:600}.of-team input{accent-color:#008CFF;width:16px;height:16px}
#ofDev .of-team small{font-size:11.5px;color:#008CFF}
@media (max-width:760px){.of-demo{grid-template-columns:1fr}.of-dev{min-height:0}.of-tab{grid-template-columns:1fr;aspect-ratio:auto}.of-cam{min-height:190px}}
@media (prefers-reduced-motion:reduce){.of-pad.scan,.of-steps li.w::before,.of-typing i{animation:none}}
/* ===== ทุกช่องทาง: real-screen replicas — HumanSoft App (login · home) and HumanSoft LINE (line.humansoft.co.th) ===== */
.ap-ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dv-phone.ap .dv-scr,.dv-phone.ln .dv-scr{background:#E4EEF8;font-size:12px}
.dv-phone.ap .dv-bk{background:linear-gradient(120deg,#0072F3,#008CFF);border:0}.dv-phone.ap .dv-bk b{color:#fff}.dv-phone.ap .dv-bk button{background:rgba(255,255,255,.2);color:#fff}
.ap-av{flex:none;width:40px;height:40px;border-radius:50% !important;display:grid;place-items:center;font-weight:700;font-size:16px;color:#fff;background:linear-gradient(135deg,#FF8100,#FF6100);box-shadow:0 0 0 2px #fff}
.ap-av.b{background:linear-gradient(135deg,#289FFF,#0072F3)}
/* login */
.ap-login{flex:1;display:flex;flex-direction:column;align-items:center;padding:44px 16px 16px;gap:6px;text-align:center}
.ap-lang{align-self:flex-end;background:#fff;border-radius:999px !important;padding:4px 10px;font-size:11px}
.ap-logo{margin:22px 0 10px;font-size:32px;font-weight:800;letter-spacing:-.02em;color:#FF6100;line-height:1}.ap-logo span{color:#008CFF}.ap-logo sup{font-size:11px;color:#008CFF;margin-left:2px}
.ap-lt{font-size:16px}.ap-login > small{font-size:11px;opacity:.65;margin-bottom:12px}
.ap-hid{width:100%;display:flex;align-items:center;gap:16px;min-height:44px;border:0;border-radius:12px !important;background:#008CFF;color:#fff;font:600 12px var(--f);padding:0 16px;cursor:pointer}.ap-hid b{font-size:20px;font-weight:900}
.ap-or{width:100%;margin:12px 0 6px;font-size:10.5px;opacity:.7;display:flex;align-items:center;gap:8px}.ap-or::before,.ap-or::after{content:"";flex:1;height:1px;background:#E4EEF8}
.ap-alt{width:100%;display:flex;align-items:center;gap:16px;min-height:42px;border:1px solid #E4EEF8;border-radius:12px !important;background:#fff;color:#000;font:500 12px var(--f);padding:0 16px;cursor:pointer;text-align:left}
.ap-alt .ap-ic{width:20px;height:20px}.ap-g{font-weight:800;font-size:17px;color:#008CFF;width:20px;text-align:center}
.ap-ln{width:22px;height:22px;border-radius:50% !important;background:#008CFF;color:#fff;font-size:5.5px;font-weight:800;display:grid;place-items:center}
/* home */
.ap-top{flex:none;padding:40px 10px 8px;background:linear-gradient(120deg,#0072F3,#008CFF);border-radius:0 0 50% 50%/0 0 22px 22px !important;color:#fff;position:relative}
.ap-me{display:flex;align-items:center;gap:10px;padding:0 4px}.ap-me > span:not(.ap-av){flex:1;display:flex;flex-direction:column;min-width:0}
.dv-scr .ap-me b{color:#fff;font-size:14px}.dv-scr .ap-me small{color:#fff;font-size:11px;opacity:.9}
.ap-me button{border:0;background:none;color:#fff;padding:2px;cursor:pointer;position:relative}.ap-dot::after{content:"";position:absolute;top:2px;right:2px;width:7px;height:7px;border-radius:50% !important;background:#FF6100}
.ap-menu{display:grid;grid-template-columns:repeat(5,1fr);margin-top:12px}
.ap-menu button{position:relative;border:0;background:none;color:#fff;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;padding:0}
.ap-menu button .ap-ic{width:24px;height:24px}.dv-scr .ap-menu small{color:#fff;font-size:8.5px;white-space:nowrap}
.ap-menu em{position:absolute;top:-4px;right:10px;font-style:normal;font-size:8px;font-weight:700;background:#FF6100;color:#fff;border-radius:999px !important;min-width:14px;height:14px;display:grid;place-items:center}
.ap-more{display:block;text-align:center;font-size:12px;line-height:1;margin-top:2px;color:#fff}
.ap-body,.ln-body{flex:1;overflow:auto;padding:10px 10px 74px;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain}
.ap-sec,.ln-sec{display:flex;justify-content:space-between;align-items:center;gap:6px}.dv-scr .ap-sec b,.dv-scr .ln-sec b{font-size:13px}.dv-scr .ap-sec small{font-size:10.5px}
.ap-today{background:#fff;border-radius:12px !important;padding:10px;text-align:center;display:flex;flex-direction:column;gap:3px}
.dv-scr .ap-today > b{color:#008CFF;font-size:13px}.dv-scr .ap-today > span{font-size:11.5px}
.ap-today div{display:flex;justify-content:space-around;align-items:center;margin-top:4px;color:#008CFF;font-size:11.5px}.ap-today div i{width:1px;height:18px;background:#9AA6B2}.dv-scr .ap-today div b{color:#008CFF}
.ap-feed{background:#fff;border-radius:12px !important;padding:10px;display:flex;flex-direction:column;gap:6px}
.ap-feed header{display:flex;align-items:center;gap:8px;padding-bottom:6px;border-bottom:1px solid #E4EEF8}.ap-feed header > span:nth-child(2){flex:1;display:flex;flex-direction:column}
.dv-scr .ap-feed header b{font-size:12px}.dv-scr .ap-feed header small{font-size:9.5px;opacity:.7}.ap-feed header em{font-style:normal;font-size:9px;font-weight:700;color:#008CFF}
.ap-st{width:26px;height:26px;border-radius:50% !important;display:grid;place-items:center;color:#fff;background:#008CFF;font-weight:700;flex:none}.ap-st.w{background:#FF8100}.ap-st.c{background:none;font-size:18px}
.ap-feed p{margin:0;display:flex;gap:8px;font-size:10.5px;line-height:1.5}.ap-feed p .ap-av{width:32px;height:32px;font-size:13px}
.ap-feed p i{font-style:normal;color:#008CFF;font-weight:600}.ap-feed p i.w{color:#FF6100}
.ap-nav,.ln-nav{position:absolute;left:0;right:0;bottom:0;height:58px;background:#fff;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;border-radius:18px 18px 0 0 !important;box-shadow:0 -6px 16px -10px rgba(0,40,100,.3)}
.ap-nav button,.ln-nav button{position:relative;border:0;background:none;color:#008CFF;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;padding:0}
.ap-nav button.on::after{content:"";position:absolute;bottom:-8px;width:26px;height:4px;border-radius:4px !important;background:#FF6100}
.ap-nav .fp,.ln-nav .fp .ap-ic{width:56px;height:56px;margin-top:-30px;border-radius:50% !important;background:#008CFF;color:#fff;display:grid;place-items:center;box-shadow:0 0 0 5px #fff}
.ap-nav .fp .ap-ic{width:32px;height:32px}.ln-nav .fp .ap-ic{padding:12px}
.ap-nav em{position:absolute;top:-8px;left:52%;font-style:normal;font-size:8px;font-weight:700;background:#FF6100;color:#fff;border-radius:999px !important;padding:1px 4px}
/* LINE (LIFF) */
.ln-bar{flex:none;display:flex;align-items:center;padding:40px 14px 8px;background:#fff}.ln-bar span{flex:1;display:flex;flex-direction:column}
.dv-scr .ln-bar b{font-size:14px}.dv-scr .ln-bar small{font-size:10px;opacity:.55}
.ln-bar button{border:0;background:none;color:#000;font-size:22px;cursor:pointer;padding:2px}
.ln-me{flex:none;display:flex;align-items:center;gap:10px;padding:6px 14px;background:#fff}.ln-me > span:not(.ap-av){flex:1;display:flex;flex-direction:column}.dv-scr .ln-me b{font-size:12.5px}.dv-scr .ln-me small{font-size:11px;opacity:.65}
.ln-menu{flex:none;display:grid;grid-template-columns:repeat(5,1fr);padding:8px 4px 10px;background:#fff}
.ln-menu button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;color:#000;padding:0}.dv-scr .ln-menu small{font-size:8px;white-space:nowrap}
.ln-body{padding-top:12px;background:#E4EEF8}.ln-body.p{padding:12px}.ln-sec i{font-style:normal;font-size:10px;font-weight:700;color:#008CFF;border:1.5px solid #008CFF;border-radius:50% !important;width:15px;height:15px;display:grid;place-items:center;margin-right:auto}
.ln-day{display:flex;align-items:center;gap:10px;border:0;background:#fff;border-radius:12px !important;padding:8px 10px;cursor:pointer;text-align:left;font-family:var(--f)}
.ln-day .d{display:flex;flex-direction:column;align-items:center;padding-right:10px;border-right:1px solid #E4EEF8}.dv-scr .ln-day .d b{font-size:22px;line-height:1.1}.dv-scr .ln-day .d small{font-size:9.5px;opacity:.75}
.ln-day .r{flex:1;display:flex;flex-direction:column;gap:3px;align-items:flex-start}.ln-day em{font-style:normal;font-size:10px;font-weight:700;color:rgb(22,150,60);background:rgb(222,246,226);border-radius:999px !important;padding:2px 8px}.dv-scr .ln-day .r > span{font-size:11px;font-weight:600}
.ln-day > .ap-ic{width:16px;height:16px;color:#000}
.ln-band{margin:4px -10px -18px;padding:12px 14px 26px;background:#008CFF;border-radius:20px 20px 0 0 !important;display:flex;justify-content:space-between;align-items:center;gap:6px}
.dv-scr .ln-band b{color:#fff;font-size:11.5px}.dv-scr .ln-band small{color:#fff;font-size:9.5px;opacity:.9;white-space:nowrap}
.ln-sum{margin:0 -10px;padding:12px 10px 4px;background:#fff;border-radius:18px 18px 0 0 !important;display:flex;flex-direction:column;gap:8px}.dv-scr .ln-sum .ln-sec small{font-size:8px;opacity:.6;text-align:right}
.ln-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.ln-cards div{border:1.5px solid;border-radius:10px !important;padding:6px 2px;display:flex;flex-direction:column;align-items:center;gap:1px;text-align:center}
.dv-scr .ln-cards b{font-size:9px}.dv-scr .ln-cards span{font-size:9.5px}.dv-scr .ln-cards strong{font-size:15px}.dv-scr .ln-cards small{font-size:7.5px;opacity:.65}
.ln-cards .r{border-color:rgb(240,120,120);background:rgb(255,244,244)}.dv-scr .ln-cards .r b{color:rgb(220,60,60)}
.ln-cards .o{border-color:#FF8100;background:#FFF1E8}.dv-scr .ln-cards .o b{color:#FF6100}
.ln-cards .y{border-color:rgb(245,200,70);background:rgb(255,251,234)}.dv-scr .ln-cards .y b{color:rgb(214,160,0)}
.ln-cards .b{border-color:#289FFF;background:#E4EEF8}.dv-scr .ln-cards .b b{color:#008CFF}
.ln-docs{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ln-docs div{border-left:3px solid #008CFF;border-radius:4px 10px 10px 4px !important;background:#fff;box-shadow:0 4px 12px -8px rgba(0,40,100,.4);padding:6px 8px;font-size:10px}.ln-docs div.o{border-color:#FF6100}
.dv-scr .ln-docs small{display:block;font-size:9.5px}.dv-scr .ln-docs small b{color:#008CFF}.dv-scr .ln-docs .o small b{color:#FF6100}.dv-scr .ln-docs strong{font-size:16px}
.ln-nav button small{font-size:8px}.dv-scr .ln-nav .on small{color:#008CFF}.ln-nav button{color:#008CFF}.ln-nav button.on{color:#008CFF}.dv-scr .ln-nav small{color:#008CFF}
.ln-nav .fp{gap:0}.ln-nav .fp .ap-ic{box-sizing:border-box}
/* Web tab: Dashboard inside a browser window */
.dv-web .dv-dash{border-radius:0 !important}.dv-web .dv-dash .hd2-grid{height:clamp(340px,40vw,470px)}
.dv-web .dv-dash .hd2-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dv-web .dv-dash .hd2-head .hd2-brand small{display:none}
@media (max-width:620px){.dv-web .dv-dash .hd2-grid{grid-template-columns:1fr}}
/* ===== ทุกช่องทาง › Employee app ⇄ HR app (#fx) ===== */
.hm-fx{margin-top:clamp(48px,7vw,88px)}
.hm-fx-head{max-width:760px}.hm-fx-h{font-size:clamp(24px,3.2vw,38px);font-weight:700;letter-spacing:-.02em;line-height:1.2}
.hm-fx-h em{font-style:normal;color:#008CFF}.hm-fx-head .lead{margin-top:10px}
.hm-fx-row{display:grid;grid-template-columns:auto minmax(140px,260px) auto;align-items:center;gap:clamp(12px,2vw,28px);margin-top:28px;justify-content:center}
.hm-fx-col{margin:0;display:flex;flex-direction:column;align-items:center;gap:10px}
.hm-fx-col figcaption{text-align:center;display:flex;flex-direction:column}.hm-fx-col figcaption b{font-size:17px}.hm-fx-col figcaption small{font-size:13px;opacity:.65}
.hm-fx-mid{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;max-width:240px;justify-self:center;width:100%}
.hm-fx-mid p{margin:0;font-size:14px;font-weight:600;color:#008CFF;min-height:3em}
.hm-fx-wire{position:relative;width:100%;height:4px;border-radius:4px !important;background:repeating-linear-gradient(90deg,#289FFF 0 8px,transparent 8px 14px)}
.hm-fx-wire i{position:absolute;top:50%;left:0;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50% !important;background:#008CFF;box-shadow:0 0 0 6px rgba(0,140,255,.18);opacity:0}
.hm-fx-wire i.r{animation:fxR .9s var(--ease) forwards}.hm-fx-wire i.l{background:#FF6100;box-shadow:0 0 0 6px rgba(255,97,0,.18);animation:fxL .9s var(--ease) forwards}
@keyframes fxR{0%{left:0;opacity:1}90%{opacity:1}100%{left:100%;opacity:0}}
@keyframes fxL{0%{left:100%;opacity:1}90%{opacity:1}100%{left:0;opacity:0}}
.hm-fx-foot{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px}
.hm-fx-foot .toggle{color:#000;margin:0}.hm-fx-foot .dv-btn{margin:0}
#fx .dv-scr{font-size:12px;background:#E4EEF8}
#fx .dv-scr :is(b,small,span,p,li){color:#000}
.fx-top{flex:none;display:flex;align-items:center;gap:10px;padding:42px 12px 14px;background:linear-gradient(120deg,#0072F3,#008CFF);border-radius:0 0 22px 22px !important}
.fx-top.hr{background:linear-gradient(120deg,#000000,#0072F3)}
.fx-who{flex:1;display:flex;flex-direction:column;min-width:0}#fx .fx-who b{color:#fff;font-size:13px}#fx .fx-who small{color:#fff;opacity:.85;font-size:10.5px}
.fx-bell{position:relative;color:#fff}.fx-bell em{position:absolute;top:-6px;right:-8px;font-style:normal;font-size:9px;font-weight:700;color:#fff;background:#FF6100;border-radius:999px !important;min-width:16px;height:16px;display:grid;place-items:center;padding:0 4px;animation:tqPulse 1.4s ease-out 2}
.fx-body{flex:1;overflow:auto;padding:10px;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain}
.fx-card{background:#fff;border-radius:14px !important;padding:10px;display:flex;flex-direction:column;gap:6px}#fx .fx-card > b{font-size:12.5px}
.fx-row{display:flex;justify-content:space-between;align-items:baseline;gap:6px}#fx .fx-row small{font-size:9.5px;opacity:.7}
.fx-times{display:grid;grid-template-columns:1fr 1fr;gap:6px}.fx-times span{background:#E4EEF8;border-radius:10px !important;padding:6px 8px;display:flex;flex-direction:column}
#fx .fx-times small{font-size:9.5px}#fx .fx-times b{font-size:18px;color:#008CFF;font-variant-numeric:tabular-nums}#fx .fx-times b.l{color:#FF6100}
.fx-clock{display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;border:0;border-radius:12px !important;background:#008CFF;color:#fff;font:700 12.5px var(--f);cursor:pointer}
.fx-clock:disabled{background:rgba(70,85,100,.32);cursor:default}.fx-clock .ap-ic{width:20px;height:20px}
.fx-chips{display:flex;flex-wrap:wrap;gap:6px}
.fx-chips button{border:1px solid #289FFF;background:#fff;color:#008CFF;border-radius:999px !important;padding:6px 10px;font:600 11px var(--f);cursor:pointer}
.fx-chips button:hover:not(:disabled){background:#E4EEF8}.fx-chips button:disabled{opacity:.4;cursor:default}
#fx .fx-q{font-size:10px}#fx .fx-q b{color:#008CFF}
.fx-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.fx-list li{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:10px !important;background:#E4EEF8;transition:background-color .6s}
.fx-list li > span{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0;font-size:11px;line-height:1.4}#fx .fx-list small{font-size:9.5px;opacity:.65}
.fx-list li.fresh{background:#FFF1E8;animation:fxIn .45s var(--spring)}
@keyframes fxIn{from{transform:translateY(-6px) scale(.97);opacity:0}}
.fx-list em{flex:none;font-style:normal;font-size:9.5px;font-weight:700;border-radius:999px !important;padding:3px 8px;color:#fff}
.fx-list em.w{background:#FF8100}.fx-list em.o{background:#008CFF}.fx-list em.n{background:rgba(70,85,100,.55)}
.fx-list.n i{flex:none;width:26px;height:26px;border-radius:50% !important;display:grid;place-items:center;background:#008CFF;color:#fff}
.fx-list.n i.o,.fx-list.n i.w{background:#FF6100}.fx-list.n i.n{background:rgba(70,85,100,.55)}.fx-list.n i .ap-ic{width:15px;height:15px;stroke-width:2.2}
.fx-mini{align-self:flex-start;margin-top:4px;border:0;border-radius:999px !important;background:#FF6100;color:#fff;font:600 10px var(--f);padding:5px 10px;cursor:pointer}
.fx-empty{margin:0;font-size:11px;opacity:.6;text-align:center;padding:10px 0}
.fx-kpi{flex:none;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:10px 10px 0}
.fx-kpi div{background:#fff;border-radius:12px !important;padding:8px 4px;text-align:center;display:flex;flex-direction:column}
#fx .fx-kpi b{font-size:18px;color:#008CFF}#fx .fx-kpi .o b{color:#FF6100}#fx .fx-kpi .w b{color:#FF8100}#fx .fx-kpi small{font-size:9.5px}
.fx-kpi .w{box-shadow:0 0 0 2px #FF8100}
.fx-tabs{flex:none;display:grid;grid-template-columns:1fr 1fr;margin:10px 10px 0;padding:3px;border-radius:999px !important;background:#fff}
.fx-tabs button{border:0;border-radius:999px !important;background:none;min-height:30px;font:600 11.5px var(--f);color:#000;cursor:pointer}
.fx-tabs button[aria-selected=true]{background:#008CFF;color:#fff}
.fx-req{background:#fff;border-radius:12px !important;padding:10px;display:flex;flex-direction:column;gap:8px}.fx-req.fresh{box-shadow:0 0 0 2px #FF8100;animation:fxIn .45s var(--spring)}
.fx-req > div:first-child{display:flex;gap:8px;align-items:center}.fx-req > div:first-child > span:last-child{display:flex;flex-direction:column}#fx .fx-req small{font-size:10px}
.fx-req .ap-av{width:32px;height:32px;font-size:13px}
.fx-act{display:grid;grid-template-columns:1fr 1fr;gap:6px}.fx-act button{min-height:34px;border-radius:10px !important;font:700 12px var(--f);cursor:pointer}
.fx-act .ok{border:0;background:#008CFF;color:#fff}.fx-act .no{border:1px solid #E4EEF8;background:#fff;color:#000}.fx-act button:disabled{opacity:.5}
.fx-ban{position:absolute;z-index:3;top:40px;left:8px;right:8px;background:rgba(255,255,255,.97);border-radius:14px !important;padding:8px 10px;box-shadow:0 14px 30px -12px rgba(0,30,80,.55);display:flex;flex-direction:column;animation:fxBan .5s var(--spring)}
#fx .fx-ban b{font-size:10px;color:#008CFF}#fx .fx-ban span{font-size:11.5px;font-weight:600}
@keyframes fxBan{from{transform:translateY(-120%);opacity:0}}
@media (max-width:900px){.hm-fx-row{grid-template-columns:1fr;justify-items:center}.hm-fx-mid{max-width:300px}.hm-fx-wire{width:4px;height:60px;background:repeating-linear-gradient(180deg,#289FFF 0 8px,transparent 8px 14px)}
 .hm-fx-wire i{left:50%!important;margin:-8px 0 0 -8px}.hm-fx-wire i.r{animation-name:fxD}.hm-fx-wire i.l{animation-name:fxU}}
@keyframes fxD{0%{top:0;opacity:1}100%{top:100%;opacity:0}}
@keyframes fxU{0%{top:100%;opacity:1}100%{top:0;opacity:0}}
@media (prefers-reduced-motion:reduce){.hm-fx-wire i,.fx-ban,.fx-list li.fresh,.fx-req.fresh,.fx-bell em{animation:none!important}}
/* ===== Payroll Outsourcing = full-bleed orange band · videos are their own section ===== */
.hm-page .hm-po-sec{background:#FF6100;padding-block:clamp(56px,7vw,104px);color:#fff}
.hm-page .hm-po.glass{background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-radius:0 !important;padding:0;overflow:visible}
.hm-po-sec .hm-tq-l{color:#fff}.hm-po-sec .hm-tq-l i{background:#fff}.hm-po-sec .hm-tq-l i::after{border-color:#fff}
.hm-po-sec .hm-tq-q{border-color:transparent}.hm-po-sec .hm-tq{border-top-color:rgba(255,255,255,.45)}
.hm-vid-sec .hm-vids{margin-top:clamp(20px,3vw,32px)}
.hm-page .hm-po.glass::before,.hm-page .hm-po.glass::after{display:none!important}
/* "คุณสงสัยไหม" label: larger, with an arrow nudging toward the questions (MKT 2026-10-30) */
.hm-tq-l{font-size:clamp(16px,1.5vw,20px)}
.hm-tq-l b{display:inline-block;font-weight:700;animation:tqNudge 1.4s var(--ease) infinite}
@keyframes tqNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}
@media (prefers-reduced-motion:reduce){.hm-tq-l b{animation:none}}
/* ===== #fx v3: autoplay story — topics + steps on the left, HR web window + employee phone on a scaled stage ===== */
.hm-fx3{display:grid;grid-template-columns:minmax(230px,270px) 1fr;gap:clamp(16px,2.6vw,36px);align-items:start;margin-top:28px}
.fx-side{display:flex;flex-direction:column;gap:12px;min-width:0}
.fx-topics{display:flex;flex-direction:column;gap:6px}
.fx-tp{position:relative;display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px 10px;border:1px solid rgba(0,140,255,.14);border-radius:16px !important;background:rgba(255,255,255,.7);text-align:left;font:inherit;color:#000;cursor:pointer;overflow:hidden;transition:background-color .25s,border-color .25s,box-shadow .25s}
.fx-tp img{flex:none;width:30px;height:30px}
.fx-tp > span{display:flex;flex-direction:column;gap:1px;min-width:0}.fx-tp b{font-size:14.5px;line-height:1.3}.fx-tp small{display:none;font-size:12px;line-height:1.4;opacity:.65}.fx-tp[aria-selected=true] small{display:block}
.fx-tp:hover{background:#fff}
.fx-tp[aria-selected=true]{background:#fff;border-color:#008CFF;box-shadow:0 14px 30px -18px rgba(0,140,255,.6)}.fx-tp[aria-selected=true] b{color:#008CFF}
.fx-tp:focus-visible{outline:2px solid #008CFF;outline-offset:2px}
.fx-bar{position:absolute;left:14px;right:14px;bottom:5px;height:3px;border-radius:3px !important;background:rgba(0,140,255,.12);opacity:0}
.fx-bar b{display:block;height:100%;width:100%;border-radius:inherit !important;background:linear-gradient(90deg,#008CFF,#FF6100);transform-origin:0 50%;transform:scaleX(0)}
.fx-tp.run .fx-bar{opacity:1}.fx-tp.run .fx-bar b{animation:fxBar var(--d,10s) linear forwards}
@keyframes fxBar{to{transform:scaleX(1)}}
.fx-info{background:rgba(255,255,255,.8);border-radius:16px !important;padding:14px;display:flex;flex-direction:column;gap:4px}
.fx-k{font-size:11.5px;font-weight:700;color:#FF6100;letter-spacing:.02em}.fx-k ~ .fx-k{margin-top:10px}
.fx-do{font-size:15px;line-height:1.4}.fx-path{font-size:11.5px;opacity:.6}
.fx-info ol{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:8px}
.fx-info li{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:1.45;color:rgba(0,0,0,.42);transition:color .35s}
.fx-info li i{flex:none;width:22px;height:22px;border-radius:50% !important;display:grid;place-items:center;font-style:normal;font-size:11px;font-weight:700;background:#E4EEF8;color:#008CFF;transition:background-color .35s,color .35s}
.fx-info li i .ap-ic{width:13px;height:13px;stroke-width:2.6}
.fx-info li.on{color:#000}.fx-info li.on i{background:#008CFF;color:#fff;animation:fxIn .45s var(--spring)}
.fx-play{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border:1px solid rgba(0,140,255,.3);border-radius:999px !important;background:#fff;color:#008CFF;font:600 13px var(--f);cursor:pointer}
.fx-play span{font-size:10px}.fx-play:focus-visible{outline:2px solid #008CFF;outline-offset:2px}
/* stage */
.fx-stagew{position:relative;min-width:0}
.fx-sc{position:absolute;left:0;top:0;width:860px;height:560px;transform-origin:0 0}
.fx-lbl{position:absolute;font-size:12.5px;color:#008CFF;white-space:nowrap}.fx-lbl b{color:#000}.fx-lbl small{font-size:11px;opacity:.7}
/* three compositions (class on the stage), the devices glide between them */
.fx-web,.fx-ph,.fx-glow{transition:transform .8s cubic-bezier(.65,0,.25,1)}.fx-lbl{transition:left .8s cubic-bezier(.65,0,.25,1),top .8s cubic-bezier(.65,0,.25,1)}
.l1 .fx-web{transform:translate(0,28px)}.l1 .fx-ph{transform:translate(596px,26px)}.l1 .fx-lbl.w{left:4px;top:0}.l1 .fx-lbl.p{left:600px;top:0}
.l2 .fx-web{transform:translate(262px,28px)}.l2 .fx-ph{transform:translate(0,26px)}.l2 .fx-lbl.w{left:266px;top:0}.l2 .fx-lbl.p{left:4px;top:0}
.l3 .fx-web{transform:translate(262px,110px)}.l3 .fx-ph{transform:translate(34px,16px) rotate(-3deg)}.l3 .fx-lbl.w{left:330px;top:84px}.l3 .fx-lbl.p{left:324px;top:24px}
.l3 .fx-ph .dv-phone{box-shadow:0 50px 90px -30px rgba(0,60,140,.65)}
/* glow behind the phone (blue / orange by story), floating icon badges, result pill */
.fx-glow{position:absolute;left:0;top:0;width:460px;height:460px;margin:-230px 0 0 -230px;border-radius:50% !important;background:radial-gradient(circle,rgba(0,140,255,.3),rgba(0,140,255,0) 65%);pointer-events:none;transition:transform .8s cubic-bezier(.65,0,.25,1),background .8s}
.fx-sc.to .fx-glow{background:radial-gradient(circle,rgba(255,97,0,.24),rgba(255,97,0,0) 65%)}
.l1 .fx-glow{transform:translate(727px,286px)}.l2 .fx-glow{transform:translate(131px,286px)}.l3 .fx-glow{transform:translate(165px,276px)}
.fx-deco{position:absolute;inset:0;pointer-events:none}
.fx-bdg{position:absolute;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50% !important;display:grid;place-items:center;background:#fff;color:#008CFF;box-shadow:0 14px 28px -12px rgba(0,60,140,.55),0 0 0 1px rgba(0,140,255,.12);animation:fxPop .55s var(--spring) backwards,fxFloat 4s ease-in-out infinite}
.fx-bdg.o{color:#FF6100;box-shadow:0 14px 28px -12px rgba(255,97,0,.5),0 0 0 1px rgba(255,97,0,.14)}
.fx-bdg .ap-ic{width:22px;height:22px;stroke-width:2}
@keyframes fxPop{from{opacity:0;scale:.3}}
@keyframes fxFloat{50%{transform:translateY(-7px)}}
.fx-res{position:absolute;left:0;top:0;z-index:7;display:flex;align-items:center;gap:7px;padding:8px 16px 8px 9px;border-radius:999px !important;background:#000000;color:#fff;font-size:13.5px;font-weight:700;white-space:nowrap;box-shadow:0 16px 30px -12px rgba(0,30,80,.6);opacity:0;scale:.6;pointer-events:none;transition:opacity .3s,scale .5s var(--spring)}
.fx-res .ap-ic{width:20px;height:20px;padding:3px;border-radius:50% !important;background:#008CFF;color:#fff;stroke-width:3;box-sizing:border-box}
.fx-res.on{opacity:1;scale:1}
.l1 .fx-res{transform:translate(727px,534px) translate(-50%,-50%)}.l2 .fx-res{transform:translate(131px,534px) translate(-50%,-50%)}.l3 .fx-res{transform:translate(175px,530px) translate(-50%,-50%)}
.fx-web{position:absolute;left:0;top:0;width:598px;height:430px;border-radius:14px !important;background:#fff;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 40px 80px -40px rgba(0,60,140,.55),0 0 0 1px rgba(0,40,90,.08);font-size:10.5px;color:#008CFF}
.fx-ph{position:absolute;left:0;top:0;z-index:2}
.fx-ph .dv-phone{width:262px;height:520px;border-radius:40px !important;padding:9px}.fx-ph .dv-scr{border-radius:31px !important}
.fx-wbar{flex:none;height:28px;display:flex;align-items:center;gap:6px;padding:0 12px;background:#EEF3F8;border-bottom:1px solid #E1E9F2}
.fx-wbar i{width:9px;height:9px;border-radius:50% !important;background:#FF6100}.fx-wbar i+i{background:#FF8100}.fx-wbar i+i+i{background:#008CFF}
.fx-wbar span{margin:0 auto;padding:3px 40px;border-radius:6px !important;background:#fff;font-size:9.5px;color:#000000}
.fx-app{flex:1;position:relative;display:grid;grid-template-columns:56px 1fr;min-height:0;transform-origin:var(--zx,50%) var(--zy,50%);transition:transform .8s cubic-bezier(.65,0,.25,1),transform-origin .8s cubic-bezier(.65,0,.25,1)}
/* camera zoom into the spot HR is working on (focus ring on the browser while zoomed) */
.fx-web.zoom .fx-app{transform:scale(var(--zs,1.5))}
.fx-web{transition:transform .8s cubic-bezier(.65,0,.25,1),box-shadow .5s}.fx-web.zoom{box-shadow:0 40px 80px -40px rgba(0,60,140,.55),0 0 0 3px rgba(0,140,255,.45)}
/* lens: the employee's new card magnified beside the phone */
.fx-lens{position:absolute;left:0;top:0;z-index:9;pointer-events:none;font-size:12px;color:#000;border-radius:14px !important;box-shadow:0 30px 60px -18px rgba(0,40,100,.6),0 0 0 2px #008CFF;will-change:transform,opacity}
.fx-lens > .fx-card,.fx-lens > .fx-list{margin:0;border-radius:14px !important}.fx-lens > .fx-list li{border-radius:14px !important}
.fx-lens-ic{position:absolute;top:-12px;right:-12px;width:28px;height:28px;border-radius:50% !important;display:grid;place-items:center;background:#008CFF;color:#fff;box-shadow:0 6px 14px -6px rgba(0,60,140,.7)}
.fx-lens-ic .ap-ic{width:15px;height:15px;stroke-width:2.6}
.fx-sb{background:linear-gradient(180deg,#008CFF,#008CFF);display:flex;flex-direction:column;align-items:center;gap:1px;padding:8px 3px;color:#fff;overflow:hidden}
.fx-sb .lg{font:800 22px/1 var(--f);margin:2px 0 8px}
.fx-sb span{display:flex;flex-direction:column;align-items:center;gap:2px;width:50px;padding:4px 0;border-radius:8px !important;font-size:7px;white-space:nowrap;overflow:hidden}
.fx-sb span.on{background:#fff;color:#008CFF;font-weight:700}
.fx-sb .ap-ic{width:15px;height:15px}
.fx-main{display:flex;flex-direction:column;min-width:0;background:#F2F6FA}
.fx-tb{flex:none;display:flex;align-items:center;gap:8px;padding:6px 12px;background:#fff;border-bottom:1px solid #E4EEF8}
.fx-tb .co{display:flex;flex-direction:column;line-height:1.2}.fx-tb .co b{font-size:10px}.fx-tb .co small{font-size:8.5px;opacity:.6}
.fx-tb .ai{margin-left:6px;border:1px solid #E4EEF8;border-radius:999px !important;padding:3px 9px;font-weight:700;font-size:9.5px;color:#008CFF}
.fx-tb .ics{margin-left:auto;display:flex;align-items:center;gap:6px}.fx-tb .ics i{width:17px;height:17px;border-radius:50% !important;background:#008CFF;color:#fff;font:700 9px/17px var(--f);text-align:center;font-style:normal}
.fx-tb .ics .ap-ic{width:16px;height:16px;color:#008CFF}
.fx-tb .av{width:22px;height:22px;border-radius:50% !important;display:grid;place-items:center;background:linear-gradient(135deg,#289FFF,#0072F3);color:#fff;font-weight:700;font-size:10px}
.fx-pg{flex:1;position:relative;padding:10px 12px;overflow:hidden}
.fx-pgh{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-bottom:8px}
.fx-crumb{display:block;font-size:8.5px;color:#000000}.fx-h{display:block;font-size:14px;line-height:1.3}
.fx-btn{display:inline-flex;align-items:center;gap:4px;padding:5px 11px;border-radius:7px !important;background:#008CFF;color:#fff;font-weight:700;font-size:10px;white-space:nowrap}
.fx-btn.sm{padding:3px 8px;font-size:9px}.fx-btn.g{background:#fff;color:#008CFF;border:1px solid #E4EEF8}.fx-btn.wide{justify-content:center;margin-top:8px;padding:7px}
.fx-filter{display:flex;gap:6px;align-items:center;margin-bottom:8px}
.fx-in{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid #E4EEF8;border-radius:6px !important;background:#fff;font-size:9px;color:#000000}.fx-in .ap-ic{width:11px;height:11px}
.fx-tbl{width:100%;border-collapse:collapse;background:#fff;border-radius:10px !important;overflow:hidden;box-shadow:0 0 0 1px #E4EEF8}
.fx-tbl th{background:#E4EEF8;text-align:left;padding:6px 7px;font-weight:600;color:#008CFF;font-size:9px;white-space:nowrap}
.fx-tbl td{padding:6px 7px;border-top:1px solid #EEF3F8;font-size:9.5px;white-space:nowrap}
.fx-tbl td small{display:block;font-size:8.5px;opacity:.6}
.fx-tbl tr.new td{background:#FFF1E8;animation:fxRow .6s var(--spring)}
@keyframes fxRow{from{opacity:0;transform:translateY(-6px)}}
.fx-tbl .late{color:#FF6100}
.fx-chip{display:inline-block;padding:2px 7px;border-radius:999px !important;font-size:8.5px;font-weight:700;background:#E4EEF8;color:#008CFF}
.fx-chip.w{background:#FFF1E8;color:#FF6100}.fx-chip.n{background:#EEF1F4;color:#000000}
.fx-acts{display:inline-flex;gap:4px}
.fx-count{display:block;margin-top:6px;font-size:9px;color:#000000}
.fx-drawer{position:absolute;top:0;right:0;bottom:0;width:240px;background:#fff;padding:10px 12px;display:flex;flex-direction:column;gap:4px;box-shadow:-24px 0 40px -24px rgba(0,40,90,.45);animation:fxSlide .45s var(--ease)}
@keyframes fxSlide{from{transform:translateX(100%)}}
.fx-drawer .fx-h{margin-bottom:2px}
.fx-g2{display:grid;grid-template-columns:1fr 1fr;gap:4px 6px}.fx-g2 .v{white-space:nowrap;overflow:hidden}
.fx-fld{display:flex;flex-direction:column;gap:1px}.fx-fld small{font-size:8.5px;color:#000000}
.fx-fld .v{border:1px solid #E4EEF8;border-radius:6px !important;padding:4px 7px;font-size:10px;min-height:22px}
.fx-fld .v.typing{border-color:#008CFF;box-shadow:0 0 0 2px rgba(0,140,255,.15)}.fx-fld .v.typing::after{content:"";display:inline-block;width:1px;height:11px;margin-left:1px;background:#008CFF;vertical-align:-1px;animation:fxBlink .8s steps(1) infinite}
@keyframes fxBlink{50%{opacity:0}}
.fx-ck{display:flex;align-items:center;gap:5px;font-size:9.5px;margin-top:3px}.fx-ck .ap-ic{width:13px;height:13px;padding:1px;border-radius:3px !important;background:#008CFF;color:#fff;stroke-width:3}
.fx-wk td,.fx-wk th{text-align:center}.fx-wk td:first-child,.fx-wk th:first-child{text-align:left}.fx-wk td.x{position:relative}
.fx-sh{display:inline-block;min-width:38px;padding:3px 0;border-radius:5px !important;background:#E4EEF8;color:#008CFF;font-weight:700;font-size:9px;text-align:center}
.fx-sh.b{background:#FFF1E8;color:#FF6100}.fx-sh.off{background:#EEF1F4;color:#000000;font-weight:600}
.fx-sh.sel{box-shadow:0 0 0 2px #008CFF}.fx-sh.chg{background:#FF6100;color:#fff;animation:fxRow .5s var(--spring)}
.fx-leg{margin-left:auto;display:flex;gap:4px}.fx-leg .fx-sh{min-width:0;padding:2px 6px}
.fx-pop{position:absolute;z-index:2;top:100%;left:50%;transform:translateX(-50%);margin-top:2px;display:flex;flex-direction:column;width:150px;padding:4px;border-radius:8px !important;background:#fff;box-shadow:0 14px 30px -10px rgba(0,30,80,.45);text-align:left;animation:fxIn .3s var(--spring)}
.fx-pop span{padding:5px 7px;border-radius:5px !important;font-size:9px}.fx-pop span[data-c]{background:#FFF1E8;color:#FF6100;font-weight:700}
.fx-toast{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);padding:6px 14px;border-radius:8px !important;background:#000000;color:#fff;font-size:9.5px;font-weight:600;white-space:nowrap;animation:fxRow .4s var(--spring)}
.fx-tabs2{display:flex;gap:4px;margin-bottom:8px}.fx-tabs2 span{padding:4px 10px;border-radius:999px !important;font-size:9.5px;font-weight:600;color:#008CFF;background:#fff;border:1px solid #E4EEF8}.fx-tabs2 .on{background:#008CFF;border-color:#008CFF;color:#fff}
.fx-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:8px}
.fx-kpis span{background:#fff;border-radius:9px !important;padding:7px 8px;display:flex;flex-direction:column;box-shadow:0 0 0 1px #E4EEF8}
.fx-kpis b{font-size:17px;color:#008CFF;line-height:1.1}.fx-kpis .o b{color:#FF6100}.fx-kpis .w b{color:#FF8100}.fx-kpis small{font-size:8.5px;color:#000000}
/* phone bits used by v3 (spans instead of buttons: the stage is a picture, not controls) */
#fx .fx-clock{pointer-events:none}.fx-clock.off{background:rgba(70,85,100,.32)}
.fx-chips span{border:1px solid #289FFF;background:#fff;color:#008CFF;border-radius:999px !important;padding:5px 10px;font:600 11px var(--f)}
#fx .fx-kv{margin:0}.fx-kv div{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px solid #EEF3F8;font-size:11px}.fx-kv div:last-child{border-bottom:0}
.fx-kv dt{opacity:.6}.fx-kv dd{margin:0;font-weight:600;text-align:right}
.fx-wait{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:20px;text-align:center;background:linear-gradient(180deg,#E4EEF8,#E4EEF8)}
.fx-wait .ap-ic{width:44px;height:44px;color:#289FFF}#fx .fx-wait b{font-size:13px}#fx .fx-wait small{font-size:11px;opacity:.6}
.fx-hello{background:linear-gradient(120deg,#E4EEF8,#fff)}#fx .fx-hello small{font-size:10px;opacity:.7}
.fx-quota{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.fx-quota span{background:#E4EEF8;border-radius:10px !important;padding:6px;text-align:center;display:flex;flex-direction:column;transition:background-color .4s}
#fx .fx-quota b{font-size:17px;color:#008CFF}#fx .fx-quota small{font-size:9.5px;opacity:.7}
.fx-quota .chg{background:#FFF1E8}#fx .fx-quota .chg b{color:#FF6100}
/* cursor, tap, flight path, packet, label */
.fx-cur{position:absolute;left:0;top:0;z-index:8;will-change:transform;width:22px;height:22px;margin:-2px 0 0 -4px;opacity:0;pointer-events:none;transform:translate(330px,420px);transition:transform .85s cubic-bezier(.45,0,.2,1),opacity .3s}
.fx-cur svg{width:22px;height:22px;fill:#000000;stroke:#fff;stroke-width:1.6;stroke-linejoin:round;filter:drop-shadow(0 3px 4px rgba(0,0,0,.3));transition:transform .15s}
.fx-cur.on{opacity:1}.fx-cur.dn svg{transform:scale(.82)}
.fx-cur::after{content:"";position:absolute;left:-10px;top:-10px;width:28px;height:28px;border-radius:50% !important;background:rgba(0,140,255,.35);opacity:0;transform:scale(.3)}
.fx-cur.dn::after{animation:fxRip .5s ease-out}
@keyframes fxRip{0%{opacity:1;transform:scale(.3)}100%{opacity:0;transform:scale(1.6)}}
.fx-tapdot{position:absolute;left:0;top:0;z-index:8;width:40px;height:40px;margin:-20px 0 0 -20px;border-radius:50% !important;background:rgba(255,97,0,.35);box-shadow:0 0 0 2px rgba(255,97,0,.6);opacity:0;pointer-events:none}
.fx-tapdot.on{animation:fxTapA .6s ease-out}
@keyframes fxTapA{0%{opacity:1;scale:.5}100%{opacity:0;scale:1.5}}
.fx-path{position:absolute;left:0;top:0;width:100%;height:100%;z-index:6;pointer-events:none;overflow:visible}
.fx-path path{fill:none;stroke:#008CFF;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:2 9;opacity:0;transition:opacity .3s}
.fx-path.on path{opacity:.75;animation:fxDash 1.15s linear}.fx-path.l path{stroke:#FF6100}
@keyframes fxDash{from{stroke-dashoffset:120}to{stroke-dashoffset:0}}
.fx-pkt{position:absolute;left:0;top:0;z-index:7;will-change:transform,opacity;width:36px;height:36px;margin:-18px 0 0 -18px;display:grid;place-items:center;color:#fff;border-radius:50% !important;background:#008CFF;box-shadow:0 0 0 6px rgba(0,140,255,.2),0 0 22px 4px rgba(0,140,255,.55);opacity:0;pointer-events:none}
/* the packet carries the story's icon */
.fx-pkt .ap-ic{width:18px;height:18px;stroke-width:2.3}
.fx-pkt.l{background:#FF6100;box-shadow:0 0 0 6px rgba(255,97,0,.2),0 0 22px 4px rgba(255,97,0,.5)}
.fx-tag{position:absolute;left:0;top:0;z-index:7;padding:7px 14px;border-radius:999px !important;background:#fff;color:#008CFF;font-size:13px;font-weight:700;white-space:nowrap;box-shadow:0 12px 28px -12px rgba(0,40,90,.5);opacity:0;pointer-events:none;transition:opacity .3s}
.fx-tag.l{color:#FF6100}.fx-tag.on{opacity:1}
/* stacked stage on narrow columns: web on top, phone overlapping below */
.fx-sc.nar{width:640px;height:830px}.fx-sc.nar .fx-web{width:640px;height:440px;transform:translate(0,28px)!important}
.fx-sc.nar .fx-ph{transform:translate(378px,290px)!important}.fx-sc.nar .fx-lbl.p{left:150px!important;top:500px!important;font-size:20px}.fx-sc.nar .fx-lbl.w{left:4px!important;top:0!important;font-size:18px}
.fx-sc.nar .fx-deco,.fx-sc.nar .fx-glow{display:none}.fx-sc.nar .fx-res{transform:translate(509px,802px) translate(-50%,-50%)!important;font-size:18px}
/* stories 5–8: slip, certificate, news, evaluation */
.fx-chk{display:grid;gap:5px;margin:2px 0 8px;padding:9px 10px;background:#fff;border-radius:10px !important;box-shadow:0 0 0 1px #E4EEF8}
.fx-chk span{display:flex;align-items:center;gap:6px;font-size:10px}.fx-chk .ap-ic{width:14px;height:14px;padding:2px;border-radius:50% !important;background:#008CFF;color:#fff;stroke-width:3}
.fx-okbar{display:flex;gap:8px;align-items:center;padding:9px 10px;border-radius:10px !important;background:#E4EEF8;animation:fxRow .5s var(--spring)}
.fx-okbar > .ap-ic{flex:none;width:24px;height:24px;padding:4px;border-radius:50% !important;background:#008CFF;color:#fff;stroke-width:3;box-sizing:border-box}
.fx-okbar span{display:flex;flex-direction:column}.fx-okbar b{font-size:11px}.fx-okbar small{font-size:9px;color:#008CFF}
.fx-modal{position:absolute;inset:0;display:grid;place-items:center;background:rgba(11,27,46,.35);animation:fxFade .25s}
.fx-modal > div{display:flex;flex-direction:column;gap:6px;width:250px;padding:14px;border-radius:12px !important;background:#fff;box-shadow:0 20px 40px -16px rgba(0,30,80,.5);animation:fxIn .35s var(--spring)}
.fx-modal b{font-size:12px}.fx-modal small{font-size:9.5px;color:#008CFF}.fx-modal .fx-acts{justify-content:flex-end;margin-top:4px}
@keyframes fxFade{from{opacity:0}}
.fx-slip{box-shadow:0 0 0 2px #008CFF}.fx-net{display:flex;flex-direction:column;align-items:center;padding:6px;border-radius:10px !important;background:linear-gradient(120deg,#0072F3,#008CFF);color:#fff}
#fx .fx-net small{font-size:9.5px;opacity:.85}#fx .fx-net b{font-size:20px;color:#fff;font-variant-numeric:tabular-nums}
.fx-letter{gap:6px;background:#EEF3F8}.fx-letter > small{font-size:8.5px;color:#000000}
.fx-letter .pg{flex:1;display:flex;flex-direction:column;gap:6px;padding:14px 12px;background:#fff;border-radius:4px !important;box-shadow:0 8px 20px -10px rgba(0,30,80,.35)}
.fx-letter .pg b{font-size:10px;text-align:center}.fx-letter .pg .lh{color:#008CFF;font-size:9px;text-align:left}
.fx-letter .pg i{height:5px;border-radius:3px !important;background:#E4EEF8}.fx-letter .pg i.s{width:70%}
.fx-letter .sig{margin-top:auto;align-self:flex-end;display:flex;flex-direction:column;align-items:center}.fx-letter .sig em{font:italic 700 16px/1 Georgia,serif;color:#008CFF}.fx-letter .sig small{font-size:7.5px;color:#000000;border-top:1px solid #289FFF;padding-top:2px}
.fx-pdf{flex-direction:row;align-items:center;gap:8px;box-shadow:0 0 0 2px #008CFF}.fx-pdf .f{flex:none;width:30px;height:36px;border-radius:5px !important;background:#FF6100;color:#fff;font-size:8.5px;font-weight:800;display:grid;place-items:center}
.fx-pdf > span:nth-child(2){flex:1;display:flex;flex-direction:column;min-width:0}#fx .fx-pdf b{font-size:11px}#fx .fx-pdf small{font-size:9.5px;opacity:.65}
.fx-clock.sm{min-height:30px;padding:0 9px;font-size:10.5px;border-radius:9px !important}.fx-clock.sm .ap-ic{width:15px;height:15px}
.fx-card2{display:flex;flex-direction:column;gap:5px;margin-bottom:8px;padding:9px 10px;background:#fff;border-radius:10px !important;box-shadow:0 0 0 1px #E4EEF8}
.fx-read{display:inline-block;width:46px;height:5px;margin-right:6px;border-radius:3px !important;background:#E4EEF8;vertical-align:middle;overflow:hidden}.fx-read i{display:block;height:100%;border-radius:inherit !important;background:#008CFF;transition:width .3s}
.fx-read.big{width:100%;height:7px;margin:2px 0}
.fx-prog .fx-row b{font-size:10.5px}.fx-prog .fx-row small{font-size:9px;color:#008CFF}
.fx-g3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.fx-g3 span{display:flex;flex-direction:column;padding:5px 8px;border-radius:8px !important;background:#F2F6FA}.fx-g3 b{font-size:14px;color:#008CFF}.fx-g3 small{font-size:8.5px;color:#000000}
.fx-post .img{display:grid;place-items:center;height:70px;border-radius:10px !important;background:linear-gradient(120deg,#0072F3,#FF6100);color:#fff;font-weight:800;font-size:15px}
#fx .fx-post > small{font-size:10px;opacity:.75;line-height:1.5}#fx .fx-post .fx-row small{font-size:9.5px;opacity:.6}.fx-post{box-shadow:0 0 0 2px #008CFF}
.fx-kpi2{list-style:none;margin:0;padding:0;display:grid;gap:5px}.fx-kpi2 li{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:6px 8px;border-radius:9px !important;background:#E4EEF8;font-size:10.5px}
.fx-kpi2 .st i{font-style:normal;color:#289FFF;font-size:12px;transition:color .3s}.fx-kpi2 .st i.on{color:#FF8100}
@media (max-width:1100px){.hm-fx3{grid-template-columns:minmax(0,1fr)}.fx-topics{flex-direction:row;overflow-x:auto;scrollbar-width:none;padding:2px}.fx-topics::-webkit-scrollbar{display:none}.fx-tp{flex:none;width:230px}}
@media (prefers-reduced-motion:reduce){.fx-app{transition:none}.fx-bdg{animation:none}.fx-web,.fx-ph,.fx-glow,.fx-lbl{transition:none}.fx-info li.on i,.fx-tbl tr.new td,.fx-sh.chg,.fx-drawer,.fx-pop,.fx-toast{animation:none!important}.fx-cur{transition:none}}
/* ===== tighter rhythm around the "คุณสงสัยไหม" rows (MKT 30/10/2026): less air above the row, below it and on top of the next section ===== */
.hm-tq{margin-top:clamp(10px,1.2vw,16px);padding-top:12px}
.hm-hero-in{padding-bottom:clamp(14px,1.8vw,24px)}
.hm-rail-pin{padding-bottom:clamp(24px,2.6vw,36px)}
#top > .hm-tq-wrap,#scene > .hm-tq-wrap,#rail > .hm-tq-wrap{padding-bottom:clamp(12px,1.4vw,20px)}
/* section padding is forced with !important by id further up, so these carry ids too */
:is(#trust-num,#payroll,#channels,#playground,#testimonial,#standard,#price,#steps,#support,#outsourcing,#videos,#help,#blog,#faq):has(> .hm-tq-wrap){padding-bottom:clamp(12px,1.4vw,20px)!important}
:is(.sec,.hm-hero,.hm-scene,.hm-rail):has(> .hm-tq-wrap) + :is(#trust-num,#payroll,#channels,#playground,#testimonial,#standard,#price,#steps,#support,#outsourcing,#videos,#help,#blog,#faq){padding-top:clamp(28px,3.2vw,44px)!important}

/* ===== small motion across the page (all off with reduced motion) ===== */
/* card groups rise in one after another when they scroll into view (page.js adds .hm-stg/.in and --i) */
.hm-stg:not(.in) > *{opacity:0}
.hm-stg.in > *{animation:stgIn .75s var(--ease) backwards;animation-delay:calc(var(--i,0) * 90ms)}
@keyframes stgIn{from{opacity:0;transform:translateY(26px) scale(.98)}}
/* hero: all three floating chips drift, the main CTA catches a light sweep now and then */
.hm-f1{animation:bob 7s ease-in-out -2s infinite}.hm-f3{animation:bob 6.5s ease-in-out -4s infinite}
.hm-hero .btn.primary::before{animation:btnShine 5s var(--ease) 1.5s infinite}
@keyframes btnShine{0%,62%{transform:translateX(-120%)}82%,100%{transform:translateX(120%)}}
/* section labels: a soft shine passes once when the heading reveals */
.sec-head .kick{position:relative;overflow:hidden}
.sec-head .kick::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.75) 50%,transparent 65%);transform:translateX(-120%);pointer-events:none}
.sec-head:has(.rv.in) .kick::after{animation:kickShine 1.4s var(--ease) .3s 1}
@keyframes kickShine{to{transform:translateX(120%)}}
/* cards that had no hover response lift a little */
.hp-card,.st-list > .glass,.stat{transition:transform .45s var(--spring),box-shadow .45s}
.hp-card:hover,.st-list > .glass:hover,.stat:hover{transform:translateY(-5px);box-shadow:0 22px 40px -26px rgba(0,90,180,.55)}
/* icons inside stat / standard / support cards wiggle on hover */
:is(.stat,.hm-bt,.sup-item) img{transition:transform .5s var(--spring)}
:is(.stat,.hm-bt,.sup-item):hover img{transform:translateY(-3px) rotate(-6deg) scale(1.06)}
/* the "?" on question chips turns on hover */
.hm-tq-q span{transition:transform .5s var(--spring)}.hm-tq-q:hover span{transform:rotate(360deg)}
@media (prefers-reduced-motion:reduce){
  .hm-stg:not(.in) > *{opacity:1}.hm-stg.in > *{animation:none}
  .hm-f1,.hm-f3,.hm-hero .btn.primary::before,.sec-head .kick::after{animation:none!important}
  .hp-card:hover,.st-list > .glass:hover,.stat:hover,:is(.stat,.hm-bt,.sup-item):hover img,.hm-tq-q:hover span{transform:none}
}

/* ===== ถาม AI in the home price finder (same buttons as /th/price, pages/price/page.css) ===== */
.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}
.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}
.hm-plans .pr-fit{margin-top:8px}
.hm-needs + .pr-aipick{margin-top:12px}
/* ===== 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))}
}
/* หน้าแรก · ชุดปุ่มที่ MKT เรียง 2×2 บนมือถือ/แท็บเล็ต (≤900px): (1) ขั้นตอน 4 ข้อของ mockup คำนวณเงินเดือน #hpSteps · (2) ตัวเลือกช่องทาง App/HR/LINE/Web #chTabs
   ก่อนถึงจุดปักค้าง = ใช้ดีไซน์เดิมของ MKT (2×2 ไม่แตะ)
   พอเลื่อนถึงใต้แถบเมนู = div เดิมปักค้าง (position:sticky · top ตั้งจาก JS = ขอบล่างของ header.nav + 10px) แล้วเปลี่ยนเป็นแถบย่อ 1 แถว 4 คอลัมน์ด้วย .is-stuck (มติ ผู้ใช้ 4 พ.ย. 2026)
   RedesignRuntime (setupStickyMorph) สลับ .is-stuck และชดเชยความสูงที่หายไปด้วย margin-bottom (เนื้อหาข้างล่างไม่กระโดด) · ปล่อยเองเมื่อสุดกล่องของมัน
   ใช้ html นำหน้าเพื่อชนะกฎ @media (max-width:900px) ของ MKT */
@media (max-width:900px){
  html .hpr-steps,html .hm-ch-tabs{position:sticky;top:calc(env(safe-area-inset-top,0px) + 82px);z-index:40}
  html .hpr-steps.is-stuck,html .hm-ch-tabs.is-stuck{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:6px;border-radius:24px !important;
    background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 12px 30px -18px rgba(0,58,140,.5)}
  html .hpr-steps.is-stuck button,html .hm-ch-tabs.is-stuck button{flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:6px 3px;text-align:center;border-radius:18px !important;height:100%}
  html .hpr-steps.is-stuck button:hover,html .hm-ch-tabs.is-stuck button:hover,html .hpr-steps.is-stuck li.on button{transform:none}
  html .hpr-steps.is-stuck i{width:20px;height:20px;font-size:12px}
  html .hpr-steps.is-stuck b,html .hm-ch-tabs.is-stuck b{font-size:11.5px;line-height:1.25;text-align:center}
  html .hpr-steps.is-stuck small,html .hm-ch-tabs.is-stuck small{display:none}
  /* ตัวเลือกช่องทาง: ไอคอน (svg) แทนตัวเลข */
  html .hm-ch-tabs.is-stuck i{width:28px;height:28px;border-radius:10px !important}
  html .hm-ch-tabs.is-stuck i svg{width:16px;height:16px}
}
/* เปลี่ยนดีไซน์แบบนุ่ม: พื้นหลัง/เงา/มุมโค้ง/ระยะขอบของกล่องเลื่อนด้วย transition (ความสูง + ปุ่มเฟด ทำใน setupStickyMorph) · ผู้ใช้ตั้ง "ลดการเคลื่อนไหว" = สลับทันที */
@media (max-width:900px) and (prefers-reduced-motion:no-preference){
  html .hpr-steps,html .hm-ch-tabs{transition:background-color .28s,box-shadow .28s,padding .28s,gap .28s,border-radius .28s}
}
/* หน้าแรก · ส่วนลองเล่น (#playground): แถบเลือกเมนู 7 ข้อ (#pgTabs) บนมือถือ (≤620px) เรียงแถวเดียวเลื่อนแนวนอน + ปักค้างใต้แถบเมนู (มติ ผู้ใช้ 4 พ.ย. 2026)
   ของ MKT ตัดขึ้นบรรทัดใหม่ 3 แถวเพื่อให้เห็นครบ — เปลี่ยนเป็นแถวเดียวแบบเดียวกับแถบ .pgx-mode ด้านล่าง · แท็บที่เลือกถูกเลื่อนเข้ากลางแถบโดย RedesignRuntime (setupTabScroll)
   ปักค้างด้วย setupStickyMorph (maxWidth 620 · ความสูงไม่เปลี่ยน แค่เพิ่มพื้นหลังทึบขึ้นและเงาตอนปัก) · ปักค้างอยู่ในกล่อง .wrap ของส่วนนี้จนพ้นหน้าจอจำลอง */
@media (max-width:620px){
  html .hm-pg .pg-tabs{position:sticky;top:calc(env(safe-area-inset-top,0px) + 82px);z-index:40;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;border-radius:999px !important}
  html .hm-pg .pg-tabs::-webkit-scrollbar{display:none}
  html .hm-pg .pg-tabs [role=tab]{flex:none;white-space:nowrap}
  html .hm-pg .pg-tabs.is-stuck{background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 12px 30px -18px rgba(0,58,140,.5)}
}
@media (max-width:620px) and (prefers-reduced-motion:no-preference){
  html .hm-pg .pg-tabs{transition:background-color .28s,box-shadow .28s}
}
/* แถวการ์ดที่ปัดแนวนอนบนมือถือ (บทความ #blogRow · รีวิว #tmRow · แพ็กเกจ #plans): overflow-x:auto ทำให้ overflow-y กลายเป็น auto ไปด้วย
   การ์ดเงา/ขยับขึ้นของ MKT ทำให้เนื้อในสูงเกินกล่อง (วัดได้ 436 > 433px) → แถวเลื่อนแนวตั้งได้เอง นิ้วที่ปัดขึ้นลงบนการ์ดเลยไปเลื่อนแถวแทนหน้า หน้าค้าง (แจ้งโดย ผู้ใช้ 5 พ.ย. 2026)
   ปิดแกนตั้งของแถว → ปัดขึ้นลงบนการ์ดเลื่อนหน้าได้ตามปกติ ปัดซ้ายขวายังเลื่อนการ์ด */
@media (max-width:900px){
  html .hm-page .wrap .hm-snap{overflow-y:hidden;touch-action:pan-x pan-y}
}
/* ลดภาระเครื่อง (ไม่ลดเอฟเฟกต์): 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}
#rd-root :is(#trust-num,#payroll,#channels,#playground,#testimonial,#standard,#price,#steps,#support,#outsourcing,#videos,#help,#blog,#faq){content-visibility:auto;contain-intrinsic-size:auto 900px}
/* แถบคุกกี้ (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}
/* แถบล่างของกล้องสแกน QR (.ta-cambar.dark): ทำให้เหมือนแอปจริง — แถบเทาไล่สี · ปุ่มแฟลช/รูปภาพเป็นวงกลมเทาเข้มไม่มีขอบ · ไอคอนเทา
   (เดิมไอคอนรับสีดำจากสไตล์อื่นบนพื้นดำ จึงเห็นแค่วงขอบขาวเปล่า ๆ) */
#rd-root .ta-cambar.dark{background:linear-gradient(180deg,#3b3b3d,#58585b)}
#rd-root .ta-cambar.dark span{width:46px;height:46px;border:0;background:rgba(20,20,22,.55);color:#9a9a9e}
#rd-root .ta-cambar.dark .ta-ic{width:22px;height:22px;stroke:currentColor}
/* 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))}
}
