
/* ===== page ===== */
/* ================= ORGANIZATION PAGE (prefix .og-) =================
   Sections: local nav · hero · sticky chapters (3) · security (night) · playground (org chart / profile / permission)
   · other features · FAQ · CTA. Shared pieces come from kit/core.css (glass, seg, chap, rec, roles, pill, faq, o-cta…).
   A few rules adjust shell parts (header bar, floating dock, primary button) for this page only — see "shell on this page"
   below; they are listed in NOTES.md as candidates for kit/core. */

/* page tokens (light + dark). --og-orange-t / --og-muted are text-safe variants (AA on white and ice-blue). */
:root{--og-panel:linear-gradient(160deg,#FFFFFF 0%,#E4EEF8 100%);--og-panel-sh:0 30px 60px -34px rgba(0,58,114,.45);--og-orange-t:#FF6100;--og-muted:#000000;--og-halo:rgba(0,140,255,.20);--og-bar:rgba(255,255,255,.92)}

/* the shell header slides away once the local nav reaches it, so only the 56px local-nav pill sits on top */
html{scroll-padding-top:88px}
.og-sprite{position:absolute;width:0;height:0;overflow:hidden}
main svg:has(> use){fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
main p,main li,main dd,main small,main .lead{text-wrap:pretty}
main h1,main h2,main h3,main summary,main .h-sec{text-wrap:balance}
/* Thai has no capitals: no tracking on Thai labels (core .kick/.plabel are letter-spaced — kit request filed) */
main .kick,main .kick b,main .plabel{letter-spacing:0}
.og-tag{display:inline-flex;vertical-align:middle;font-size:13px;font-weight:700;line-height:1.5;padding:0 8px;border-radius:999px !important;background:var(--orange-l);color:var(--og-orange-t);margin-left:6px;letter-spacing:0;text-transform:none}
.btn.og-sm{min-height:44px;padding:0 18px;font-size:14px}
.btn.og-sm svg{width:18px;height:18px}
.og-hero .crumb,main .plabel{color:var(--og-muted)}

/* ---------- shell on this page (candidates for core: see NOTES.md) ---------- */
/* AA primary button (white text ≥4.7:1) — same colours as contact-us; kit request: promote into core .btn.primary */
.btn.primary{background:linear-gradient(135deg,#FF6100,#FF6100);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 14px 34px -14px rgba(196,72,0,.75)}
main .kick b{background:#FF6100}
/* header: near-opaque so links keep AA contrast over night bands; slides away once the local nav reaches it */
.nav .nav-in.glass{--glass-bg:var(--og-bar);--glass-bg-2:var(--og-bar)}
.nav{transition:transform .45s var(--ease)}
html.og-hd-hide:not(.sheet-open) .nav:not(:focus-within){transform:translateY(calc(-100% - 24px))}
/* 1021–1180px: the shell's right group overflowed by ~15px (CTA clipped at 1024) — tighten logo, menu and CTA */
@media (min-width:1021px) and (max-width:1180px){.nav .logo{width:118px}.nav .menu > li > a,.nav .menu > li > button{padding-inline:6px}.nav .nav-r .btn{padding:0 14px}}
/* phones: phone + hours already sit in the dock and footer; the empty top bar stays as the #site-top anchor */
@media (max-width:560px){.topbar{height:10px}.topbar .wrap{display:none}}
/* dock: this page has its own CTA bar, so the dock keeps only chat + contact; between 621 and 1360px it becomes the
   bottom pill (the side gutter is too narrow for the vertical stack) and steps aside over the hero, while scrolling down
   and while a [data-dock-away] block (chapters, playground, password checker) is on screen */
.dock .try-free{display:none}
@media (min-width:621px) and (max-width:1360px){
  .dock{flex-direction:row;align-items:center;right:50%;transform:translateX(50%);gap:6px;padding:6px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}
  .dock a{width:44px;height:44px}
  .dock a img{width:24px;height:24px}
  .dock a span.tip{display:none}
  .dock.away:not(:focus-within),.dock.kb,html.sheet-open .dock{transform:translate(50%,calc(100% + 24px))}
}
@media (max-width:1360px){
  .dock.og-dk-hide:not(:focus-within){transform:translate(50%,calc(100% + 24px));opacity:0;visibility:hidden;pointer-events:none;transition:transform .4s var(--ease),opacity .3s,visibility 0s .4s}
}

/* ---------- local product nav: a second glass pill with the header pill's box (same max-width, inset and padding,
   so the title starts at the logo's x and the CTA ends at the header CTA's x) ---------- */
.og-lsent{height:0}
.og-lnav{position:sticky;top:calc(env(safe-area-inset-top,0px) + 10px);z-index:55;margin-top:10px;padding-inline:12px;transition:transform .45s var(--ease),opacity .3s,visibility 0s}
.og-lnav.og-off{transform:translateY(-130%);opacity:0;visibility:hidden;pointer-events:none;transition:transform .45s var(--ease),opacity .3s,visibility 0s .45s}
.og-lnav-in.glass{--glass-bg:var(--og-bar);--glass-bg-2:var(--og-bar)}
.og-lnav-in{position:relative;max-width:1240px;margin-inline:auto;display:flex;align-items:center;gap:14px;height:56px;padding:0 8px 0 20px;border-radius:999px !important}
/* one trial CTA in the top chrome: on wide screens the local-nav CTA appears only once the header (and its CTA) has gone */
.og-lcta{gap:0;transition:opacity .3s,visibility 0s}
.og-l30{white-space:pre}
@media (min-width:1021px){html:not(.og-hd-hide) .og-lcta{visibility:hidden;opacity:0;transition:opacity .2s,visibility 0s .2s}}
@media (max-width:480px){.og-l30{display:none}}
.og-lnav-t{min-height:44px;display:flex;align-items:center;gap:10px;font-weight:700;white-space:nowrap;text-decoration:none;color:var(--ink)}
.og-lnav-t img{width:26px;height:26px}
.og-lseg{margin-inline:auto;padding:3px;background:transparent}
.og-lseg a{font-size:14px;padding:7px 14px;color:var(--mid)}
.og-lseg a:hover{color:var(--ink)}
.og-lseg .og-ltop{display:none}
.og-lseg:not(:has([aria-current=true])) .thumb{opacity:0}
.og-lnav .btn{min-height:44px;padding:0 18px;font-size:14px}
.og-lnav .btn:hover{transform:none}
.og-lnav-tg{display:none;align-items:center;gap:8px;margin-right:auto;min-height:44px;padding:0 6px 0 0;border:0;background:transparent;font-size:16px;font-weight:700;color:var(--ink);white-space:nowrap}
.og-lnav-tg img{width:24px;height:24px}
.og-lnav-tg svg{width:20px;height:20px;color:var(--mid);transition:transform .35s var(--spring)}
.og-lnav-tg[aria-expanded=true] svg{transform:rotate(180deg)}
@media (max-width:900px){
  .og-lnav-t{display:none}
  .og-lnav-tg{display:inline-flex}
  .og-lnav-in{padding-left:14px}
  .og-lseg{position:absolute;top:calc(100% + 8px);left:0;right:0;display:none;flex-direction:column;gap:2px;padding:8px;border-radius:24px !important;background:var(--card);border:1px solid var(--line);box-shadow:var(--glass-shadow)}
  .og-lseg.open{display:flex;animation:sheetIn .35s var(--ease)}
  .og-lseg .thumb{display:none}
  .og-lseg a,.og-lseg .og-ltop{display:flex;align-items:center;min-height:46px;padding:0 16px;font-size:16px;border-radius:16px !important}
  .og-lseg .og-ltop{color:var(--og-muted);font-size:15px}
  .og-lseg a[aria-current=true]{background:var(--blue-l);color:var(--blue-2)}
}
@media (max-width:420px){.og-lnav-tg{font-size:15px;gap:6px}.og-lnav .btn{padding:0 14px;font-size:13px}}

/* ---------- hero ---------- */
.og-hero{padding-block:clamp(24px,4vw,56px) clamp(48px,6vw,80px)}
.og-hero .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px) clamp(24px,4vw,64px);align-items:center}
.og-kick{margin-top:22px}
.og-hero h1{font-size:clamp(40px,4.5vw,60px);font-weight:700;letter-spacing:-.04em;line-height:1.12;margin-top:16px}
/* every gradient stop stays ≥3:1 on the ice-blue ground; the sheen plays once */
.og-hero h1 em{font-style:normal;background:linear-gradient(90deg,var(--blue-2),var(--blue) 50%,var(--blue-2));background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:sheen 1.8s var(--ease) .4s 1 both}
.og-hero .lead b{color:var(--ink)}
.og-art{position:relative;isolation:isolate;max-width:520px;width:100%;margin-inline:auto}
.og-art::before{content:"";position:absolute;z-index:-1;inset:-8% -6%;border-radius:50% !important;background:radial-gradient(closest-side,var(--og-halo),transparent 74%)}
/* illustration panel: the official art carries baked white glows and dark labels, so it always sits on a light panel
   (an intentional "product tile" in dark mode) */
.og-shot,.og-mimg{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;padding:3%;border-radius:32px !important;background:var(--og-panel);box-shadow:var(--og-panel-sh),inset 0 0 0 1px rgba(0,58,114,.06)}
.og-shot{animation:rise 1.2s var(--ease) both}
.og-art .o-chip{--glass-bg:var(--card);--glass-bg-2:var(--card);animation:none}
.og-ci{width:28px;height:28px;border-radius:50% !important;display:grid;place-items:center;flex:none;background:linear-gradient(135deg,var(--blue),#008CFF);color:#fff}
.og-ci.o{background:linear-gradient(135deg,var(--orange-2),var(--orange-3))}
.og-ci svg{width:16px;height:16px}
.og-c2{left:-4%;bottom:6%}
/* fact cards: eyebrow · number + unit · label — one colour, same structure in all four */
.og-facts{grid-column:1/-1;list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.og-facts li{display:flex;flex-direction:column;gap:2px;padding:18px 22px;border-radius:var(--r) !important}
.og-fn{display:flex;align-items:baseline;gap:8px;font-weight:600;color:var(--ink)}
.og-facts b{font-size:clamp(30px,3.4vw,44px);font-weight:700;letter-spacing:-.03em;line-height:1.1;color:var(--blue-2)}
.og-facts .og-up{font-size:14px;font-weight:600;color:var(--mid)}
.og-facts small:last-child{font-size:14px;color:var(--mid);margin-top:4px}
@media (max-width:900px){
  .og-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .og-c2{left:-2%;bottom:-18px}
}
/* tablets keep two columns; below 700px the art moves up under the H1 so the first screen has a visual */
@media (min-width:701px) and (max-width:900px){
  .og-hero .wrap{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
}
@media (max-width:700px){
  .og-hero .wrap{grid-template-columns:minmax(0,1fr);row-gap:0}
  .og-hero-copy{display:contents}
  .og-hero .crumb{order:1}
  .og-kick{order:2;justify-self:start}
  .og-hero h1{order:3}
  .og-art{order:4;max-width:320px;margin-top:22px}
  .og-hero .lead{order:5;margin-top:36px}
  .og-hero .hero-ctas{order:6;margin-top:20px}
  .og-facts{order:7;margin-top:28px}
}
@media (max-width:560px){
  .og-br{display:none}
  .og-hero h1{font-size:34px}
  .og-facts{gap:10px}
  .og-facts li{padding:14px 16px}
  .og-facts small:last-child{font-size:13px;min-height:2.9em}
  .og-c2{left:0;bottom:-16px}
}

/* ---------- sticky chapters (the page's one choreographed scroll scene) ---------- */
.og-chaps{position:relative;padding-top:clamp(40px,6vw,80px)}
@media (max-width:900px),(max-height:680px){.og-chaps{padding-bottom:clamp(28px,5vw,48px)}}
.og-chaps-head .h-sec{max-width:none}
.og-track{height:225vh}
.og-pin{position:sticky;top:76px;height:calc(100vh - 84px);display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(24px,4vw,56px);align-items:start;max-width:var(--maxw);margin-inline:auto;padding:clamp(20px,4vh,44px) clamp(16px,4vw,40px) 0}
.og-list{display:grid;gap:10px}
.og-chap{padding:18px 24px;border-radius:28px !important;cursor:pointer;transition:border-color .4s,box-shadow .4s}
/* active card: blue rim instead of scaling, so all three cards keep the same left edge */
.og-chap.on{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue),var(--glass-shadow)}
.og-chap h2{font-size:clamp(22px,2.5vw,32px);font-weight:700;transition:color .4s}
.og-chap:not(.on) h2{color:var(--mid)}
.og-chap:not(.on):hover h2{color:var(--ink)}
.og-chap h2:focus{outline:none}
.og-chap p{color:var(--mid);margin:8px 0 0;font-size:16px}
.og-pts{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:6px}
.og-pts li{position:relative;padding-left:26px;font-size:15px;font-weight:500;color:var(--ink)}
.og-pts li::before{content:"";position:absolute;left:4px;top:.62em;width:8px;height:8px;border-radius:50% !important;background:var(--blue);box-shadow:0 0 0 4px var(--blue-l)}
/* two extra facts per feature (were overlay chips on the art) */
.og-mfacts{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.og-mfacts li{display:flex;flex-direction:column;padding:10px 14px;border-radius:16px !important;background:var(--ground-2);border:1px solid var(--line);font-size:14px;line-height:1.4;color:var(--mid)}
.og-mfacts b{font-size:15px;color:var(--blue-2)}
.og-mfacts li:nth-child(2) b{color:var(--og-orange-t)}
.og-chap .more{margin-top:12px}
.og-chap .bar{height:3px;border-radius:3px !important;background:var(--line);margin-top:14px;overflow:hidden}
.og-mimg{display:none}
.og-dots{display:none}
/* the scene: one light panel, three images cross-fading inside it */
.og-stage{position:relative;isolation:isolate;aspect-ratio:1;width:min(100%,calc(100vh - 190px));justify-self:center}
.og-stage::before,.og-stage::after{content:"";position:absolute;z-index:-1;pointer-events:none}
.og-stage::before{inset:-8%;border-radius:50% !important;filter:blur(30px);background:radial-gradient(closest-side,var(--og-halo),transparent 75%)}
.og-stage::after{inset:0;border-radius:36px !important;background:var(--og-panel);box-shadow:var(--og-panel-sh),inset 0 0 0 1px rgba(0,58,114,.06)}
.og-scene{position:absolute;inset:0;margin:0;pointer-events:none}
.og-scene img{position:absolute;inset:4%;width:92%;height:92%;object-fit:contain;opacity:0;transform:translateY(34px) scale(.94);transition:opacity .6s var(--ease),transform .9s var(--ease)}
.og-scene.on img{opacity:1;transform:none}
.og-count{position:absolute;right:16px;bottom:16px;z-index:3;font-size:14px;color:var(--mid);padding:6px 14px;border-radius:999px !important;font-variant-numeric:tabular-nums;--glass-bg:var(--card);--glass-bg-2:var(--card)}
.og-count b{color:var(--ink)}
/* short laptop screens: keep the bullets and facts, drop the longer paragraph */
@media (min-width:901px) and (max-height:760px){.og-pin .og-chap p{display:none}.og-pin .og-pts{margin-top:8px}.og-chap{padding:14px 22px}.og-chap h2{font-size:clamp(20px,2.2vw,28px)}}
/* tablets and short screens: the scene becomes a swipeable row of cards (image on top) with dots */
@media (max-width:900px),(max-height:680px){
  .og-track{height:auto}
  .og-pin{position:relative;top:0;height:auto;display:block;padding:12px 0 0}
  .og-stage{display:none}
  .og-list{--og-gut:clamp(16px,4vw,40px);position:relative;display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:8px var(--og-gut) 16px;scroll-padding-inline:var(--og-gut)}
  .og-list::-webkit-scrollbar{display:none}
  .og-chap{flex:0 0 min(86vw,420px);scroll-snap-align:start;display:flex;flex-direction:column;cursor:auto;padding:18px 20px 20px}
  .og-chap.on{border-color:var(--glass-edge);box-shadow:inset 0 1px 0 var(--spec),inset 0 -1px 1px var(--glass-rim),inset 0 0 22px -8px var(--spec),var(--glass-shadow)}
  .og-chap:not(.on) h2{color:var(--ink)}
  .og-chap .body{grid-template-rows:1fr}
  .og-chap .bar{display:none}
  .og-mimg{display:block;aspect-ratio:4/3;margin:0 0 14px;border-radius:22px !important;box-shadow:inset 0 0 0 1px rgba(0,58,114,.06)}
  .og-dots{display:flex;justify-content:center;gap:2px}
  .og-dots button{width:44px;height:44px;padding:0;border:0;background:none;display:grid;place-items:center}
  .og-dots button::before{content:"";width:8px;height:8px;border-radius:99px !important;background:var(--og-muted);opacity:.45;transition:width .4s var(--spring),opacity .3s,background-color .3s}
  .og-dots button[aria-current=true]::before{width:26px;opacity:1;background:var(--blue)}
}
/* phones: no sideways carousel — the three cards stack, image 16:10, paragraph left to the feature pages */
@media (max-width:640px){
  .og-list{display:grid;overflow:visible;padding:8px var(--og-gut) 0;gap:14px}
  .og-chap{flex:none}
  .og-dots{display:none}
  .og-mimg{aspect-ratio:16/10}
  .og-chap p{display:none}
  .og-pts{margin-top:10px}
}

/* ---------- security (night band) ---------- */
.og-safe-top{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(28px,5vw,64px);align-items:start}
.og-safe .lead{max-width:52ch}
.og-safe .more{color:#289FFF}
/* the card's top lines up with the H2 (kick height + its 16px gap) */
@media (min-width:901px){.og-pw{margin-top:52px}}
.og-pw{border-radius:var(--r-l) !important;padding:clamp(22px,3vw,32px)}
.og-pw-head{display:flex;gap:14px;align-items:flex-start}
.og-pw-ic{width:48px;height:48px;border-radius:16px !important;flex:none;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--orange-2),var(--orange-3));box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 20px -8px rgba(255,97,0,.6)}
.og-pw-ic svg{width:24px;height:24px}
.og-pw h3{font-size:clamp(19px,2vw,22px)}
.og-pw-res .nw + .nw{margin-left:2px}
.og-pw-head p{margin:4px 0 0;font-size:14px;color:var(--on-night-2)}
.og-pw-field{margin-top:20px}
.og-pw-field .plabel{display:block;margin-bottom:8px;color:var(--on-night-2)}
.og-pw-row{display:flex;gap:8px}
.og-pw-in{position:relative;flex:1;min-width:0;display:flex}
.og-pw-in input{flex:1;min-width:0;min-height:48px;padding:0 48px 0 16px;border-radius:16px !important;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);color:var(--on-night);font:600 17px/1 var(--f);letter-spacing:.04em}
.og-pw-in input::placeholder{color:#289FFF;font-weight:400;letter-spacing:0}
.og-pw-in input:focus-visible{outline:2px solid #289FFF;outline-offset:2px}
.og-pw-clr{position:absolute;right:2px;top:2px;width:44px;height:44px;border:0;border-radius:14px !important;background:transparent;color:var(--on-night-2);font-size:22px;line-height:1;display:grid;place-items:center}
.og-pw-clr:hover{color:var(--on-night)}
.og-meter{height:6px;border-radius:6px !important;background:rgba(255,255,255,.1);margin-top:16px;overflow:hidden}
.og-meter i{display:block;height:100%;border-radius:inherit !important;transform-origin:0 50%;transform:scaleX(0);background:#FF6100;transition:transform .5s var(--spring),background-color .3s}
.og-pw[data-lv="3"] .og-meter i,.og-pw[data-lv="4"] .og-meter i{background:#FF6100}
.og-pw[data-lv="5"] .og-meter i{background:#008CFF}
.og-rules{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:8px}
.og-rules li{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--on-night-2);transition:color .3s}
.og-rules i{width:24px;height:24px;border-radius:50% !important;flex:none;display:grid;place-items:center;border:1.5px solid rgba(255,255,255,.28);color:transparent;transition:background-color .3s,border-color .3s,transform .45s var(--spring)}
.og-rules i svg{width:14px;height:14px;stroke-width:3}
.og-rules li.ok{color:var(--on-night)}
.og-rules li.ok i{background:#008CFF;border-color:#008CFF;color:#fff;transform:scale(1.08)}
.og-pw-res{margin:16px 0 0;padding:12px 16px;border-radius:16px !important;background:rgba(255,255,255,.06);font-size:15px;color:var(--on-night-2)}
.og-pw[data-lv="5"] .og-pw-res{background:rgba(76,208,125,.14);color:#289FFF}
.og-pw-note{margin:10px 0 0;font-size:13px;color:var(--on-night-2)}
/* ISO card (closes the copy column) + one row of compact proof chips */
.og-sg-iso{display:flex;align-items:center;gap:20px;padding:22px;border-radius:28px !important;margin-top:28px;max-width:560px}
.og-sg-iso h3{font-size:clamp(20px,2vw,24px)}
.og-sg-iso p{font-size:15px;color:var(--on-night-2);margin:4px 0 0}
.og-seal{width:120px;height:92px;flex:none;border-radius:24px !important;background:#fff;display:grid;place-items:center;box-shadow:0 14px 30px -14px rgba(0,0,0,.6)}
.og-seal img{width:100px;height:auto}
.og-chips{list-style:none;margin:clamp(28px,4vw,48px) 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.og-chips li{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:22px !important;font-size:16px;font-weight:600;line-height:1.35;color:var(--on-night)}
.og-ico{width:42px;height:42px;border-radius:14px !important;flex:none;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--blue),#008CFF);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 20px -8px rgba(0,140,255,.6)}
.og-ico.o{background:linear-gradient(135deg,var(--orange-2),var(--orange-3));box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 20px -8px rgba(255,97,0,.6)}
.og-ico svg{width:22px;height:22px}
@media (max-width:1100px){.og-chips{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){.og-safe-top{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){
  .og-chips{gap:8px}
  .og-chips li{padding:12px;gap:10px;font-size:14px;border-radius:18px !important}
  .og-ico{width:36px;height:36px;border-radius:12px !important}.og-ico svg{width:19px;height:19px}
  .og-sg-iso{flex-direction:column;align-items:flex-start;gap:14px;padding:18px}
  .og-pw-row .btn{padding:0 14px}
}
.og-safe{--og-fade:clamp(40px,7vw,96px)}

/* ---------- playground ---------- */
/* the ice-blue tint fades in instead of starting at a hard edge under the night band */
.og-try.tint{background:linear-gradient(180deg,transparent 0,var(--blue-xl) clamp(40px,7vw,96px),transparent 85%)}
.og-try-head .h-sec{max-width:none}
.og-try-note{margin:10px 0 0;color:var(--mid)}
.og-try-note b{display:inline-flex;padding:1px 10px;margin:0 0 0 4px;border-radius:999px !important;background:var(--orange-l);color:var(--og-orange-t);font-weight:700}
.og-try .pg-tabs{margin-top:22px}
.pg-panel:focus-visible{outline-offset:6px;border-radius:var(--r-l) !important}
/* org chart */
.og-org{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:18px;align-items:start}
.og-tree-box{border-radius:var(--r-l) !important;padding:clamp(16px,2.4vw,24px);min-width:0}
.og-tree-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.og-find{flex:1 1 240px}
.og-find input{padding:8px 0}
.og-find .clr{position:relative}
.og-find .clr::before{content:"";position:absolute;inset:-5px}
.og-tree-btns{display:flex;gap:8px;flex-wrap:wrap}
.og-tot{margin:14px 0 6px;font-size:14px;color:var(--mid)}
.og-tot b{font-size:20px;color:var(--ink)}
.og-dot{font-style:normal}
.og-tree,.og-tree ul{list-style:none;margin:0;padding:0}
.og-tree{padding:4px 2px 6px}
.og-tree ul{margin-left:21px;padding-left:16px;border-left:2px solid var(--line)}
.og-tree li{position:relative;padding-top:8px}
/* connector: from the parent's vertical line through the toggle column to the node card */
.og-tree ul > li::before{content:"";position:absolute;left:-16px;top:34px;width:63px;height:2px;background:var(--line)}
.og-row{display:flex;align-items:center;gap:4px}
.og-tg{position:relative;width:44px;height:44px;flex:none;border:0;background:transparent;display:grid;place-items:center;border-radius:50% !important;color:var(--blue-2)}
.og-tg::before{content:"";position:absolute;width:28px;height:28px;border-radius:50% !important;background:var(--blue-l);box-shadow:0 0 0 3px var(--card);transition:transform .3s var(--spring)}
.og-tg svg{position:relative;width:18px;height:18px;transition:transform .35s var(--spring)}
.og-tg[aria-expanded=false] svg{transform:rotate(-90deg)}
.og-tg:hover::before{transform:scale(1.15)}
.og-tg[disabled]{cursor:default}
.og-leaf{width:44px;flex:none}
/* full-width rows: the orange headcounts line up in one column; flat rows, only the selection lifts */
.og-node{position:relative;flex:1;display:flex;align-items:center;gap:12px;min-width:0;padding:9px 14px;border-radius:18px !important;border:1px solid var(--line);background:var(--card);color:var(--ink);text-align:left;scroll-margin-top:96px;transition:transform .35s var(--spring),box-shadow .3s,border-color .3s,background-color .3s}
.og-node:hover{transform:translateX(4px)}
.og-node > span:first-child{min-width:0}
.og-node b{display:block;font-weight:600;font-size:15px;line-height:1.3}
.og-node small{display:block;font-size:13px;color:var(--og-muted);line-height:1.4}
.og-node .og-hc{margin-left:auto;padding-left:6px;font-size:14px;font-weight:700;color:var(--og-orange-t);font-variant-numeric:tabular-nums;white-space:nowrap}
/* root: quiet card with an ink spine; the selected unit is the strongest state (solid blue, AA white text in both themes) */
.og-node.lv0{box-shadow:inset 4px 0 0 var(--ink)}
.og-node.lv0 b{font-weight:700}
.og-node[aria-current=true]{background:linear-gradient(135deg,#008CFF,#008CFF);border-color:#008CFF;color:#fff;box-shadow:0 12px 26px -14px rgba(0,99,189,.8)}
.og-node[aria-current=true] small,.og-node[aria-current=true] .og-hc{color:#fff}
.og-node[aria-current=true] mark{background:rgba(255,255,255,.3)}
.og-node mark{background:var(--orange-l);color:inherit;border-radius:3px !important}
.og-new > .og-row .og-node{animation:og-pop .6s var(--spring)}
@keyframes og-pop{from{transform:scale(.6);opacity:0}}
.og-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:36px 16px;color:var(--mid)}
.og-empty svg{width:40px;height:40px;color:var(--og-muted);margin-bottom:6px}
.og-empty b{color:var(--ink)}
.og-empty .btn{margin-top:10px}
.og-side{border-radius:var(--r-l) !important;padding:22px;position:sticky;top:84px}
.og-side h3{font-size:20px;margin-top:4px}
.og-path{margin:6px 0 0;font-size:13px;color:var(--og-muted)}
.og-path b{color:var(--blue-2);font-weight:600}
.og-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.og-meta div{padding:12px 14px;border-radius:16px !important;background:var(--ground-2);border:1px solid var(--line)}
.og-meta b{display:block;font-size:26px;line-height:1.1;font-variant-numeric:tabular-nums}
.og-meta span{font-size:13px;color:var(--og-muted)}
.og-mt{margin-top:16px}
.og-mt2{margin-top:26px}
.og-head{margin:4px 0 0;font-weight:600}
.og-pos{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.og-pos span{font-size:13px;padding:4px 10px;border-radius:999px !important;background:var(--blue-l);color:var(--blue-2)}
.og-add{margin-top:18px;padding-top:16px;border-top:1px dashed var(--line)}
.og-add .plabel{display:block;margin-bottom:8px}
.og-add-row{display:flex;gap:8px}
.og-add-row input{flex:1;min-width:0;min-height:44px;border:1px solid var(--line);background:var(--card);color:var(--ink);padding:0 14px;border-radius:14px !important;font:16px var(--f)}
.og-add-row input:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.og-add-row input.bad,.og-add-row input.bad:focus-visible{border-color:var(--red);outline-color:var(--red);box-shadow:0 0 0 3px var(--red-l)}
.og-add .btn.blue{background:linear-gradient(135deg,#008CFF,#008CFF)}
.og-msg{display:flex;align-items:flex-start;gap:8px;margin:8px 0 0;font-size:14px;color:var(--og-muted)}
.og-msg:empty{display:none}
.og-msg.bad{color:var(--red)}
.og-msg.bad::before{content:"!";flex:none;display:grid;place-items:center;width:20px;height:20px;margin-top:1px;border-radius:50% !important;background:var(--red);color:var(--card);font-size:13px;font-weight:700;line-height:1}
.og-msg.ok{color:var(--green)}
/* footer row: delete (only for units the visitor added) left, quiet reset right */
.og-side-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.og-txtbtn{margin-left:auto;min-height:44px;padding:0 4px;border:0;background:none;font:600 14px var(--f);color:var(--blue-2);text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 35%,transparent)}
.og-txtbtn:hover{text-decoration-color:currentColor}
@media (max-width:900px){
  .og-org{grid-template-columns:1fr}
  .og-side{position:relative;top:0}
  /* details card opened inline under the tapped unit */
  .og-tree .og-side{margin:10px 0 4px;padding:18px;border-radius:24px !important;animation:swapIn .45s var(--ease)}
}
@media (max-width:560px){
  /* compact indent: each level starts on its parent's line (23px per level) */
  .og-tree ul{margin-left:21px;padding-left:0}
  .og-tree ul > li::before{left:0;width:47px}
  .og-tot .nw{display:block}.og-tot .og-dot{display:none}
  .og-node{padding:8px 10px;gap:8px;border-radius:14px !important}
  .og-node b{font-size:14px}
  .og-tree-btns{width:100%}.og-tree-btns .btn{flex:1}
}
/* employee profile */
.og-prof{border-radius:var(--r-l) !important;overflow:hidden}
.og-prof-top{display:flex;gap:16px;align-items:center;padding:22px;background:linear-gradient(135deg,#008CFF,#008CFF);color:#fff}
.og-prof-top b{font-size:20px;display:block}
.og-prof-top small{color:#fff}
.og-prof-top .og-tag{background:rgba(255,255,255,.22);color:#fff}
.og-av{width:60px;height:60px;border-radius:50% !important;background:rgba(255,255,255,.22);display:grid;place-items:center;font-size:21px;font-weight:700;flex:none;border:2px solid rgba(255,255,255,.6)}
.og-ptabs-wrap{padding:16px 18px 0}
.og-pbody{padding:6px 22px 22px;min-height:360px}
.og-pp{animation:swapIn .45s var(--ease)}
.og-dl{margin:0}
.og-dl div{display:grid;grid-template-columns:minmax(100px,38%) minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px dashed var(--line);font-size:15px}
.og-dl dt{color:var(--og-muted)}
.og-dl dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.og-soft{color:var(--og-muted);font-weight:400}
.og-pnote{display:flex;gap:10px;align-items:flex-start;margin:14px 0 0;padding:10px 14px;border-radius:14px !important;background:var(--blue-xl);border:1px solid var(--line);font-size:14px;color:var(--mid)}
.og-pnote svg{width:18px;height:18px;flex:none;margin-top:3px;color:var(--blue-2)}
.og-docs{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.og-docs li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border-radius:16px !important;background:var(--ground-2);border:1px solid var(--line);font-size:15px;font-weight:600}
.og-docs i{width:38px;height:38px;border-radius:12px !important;background:var(--card);display:grid;place-items:center;color:var(--blue-2)}
.og-docs i svg{width:20px;height:20px}
.og-docs small{display:block;color:var(--og-muted);font-size:13px;font-weight:400}
.og-tl{list-style:none;margin:14px 0 0 6px;padding:0 0 0 20px;border-left:2px solid var(--line);display:grid;gap:16px}
.og-tl li{position:relative;font-size:15px}
.og-tl li::before{content:"";position:absolute;left:-27px;top:6px;width:12px;height:12px;border-radius:50% !important;background:var(--blue);box-shadow:0 0 0 4px var(--blue-l)}
.og-tl li:first-child::before{background:var(--orange);box-shadow:0 0 0 4px var(--orange-l)}
.og-tl b{font-weight:600}
.og-tl small{display:block;color:var(--og-muted)}
.og-exp{border-radius:var(--r-l) !important;padding:20px;margin-top:18px}
.og-exp-head{display:flex;gap:14px;align-items:center}
.og-exp-head b{display:block}
.og-exp-head b + span{font-size:14px;color:var(--mid)}
.og-bell{width:46px;height:46px;border-radius:15px !important;flex:none;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--orange-2),var(--orange-3));box-shadow:0 10px 20px -8px rgba(255,97,0,.6)}
.og-bell svg{width:24px;height:24px}
.og-exp-seg{margin-top:14px}
.og-exp-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
.og-exp-list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-radius:16px !important;background:var(--card);border:1px solid var(--line);animation:slidein .45s var(--spring)}
.og-exp-list .og-mini{width:36px;height:36px;border-radius:50% !important;display:grid;place-items:center;font-size:13px;font-weight:700;background:var(--blue-l);color:var(--blue-2)}
.og-exp-list b{display:block;font-size:14px;font-weight:600}
.og-exp-list small{display:block;font-size:13px;color:var(--og-muted)}
.og-exp-empty{margin:12px 0 0;padding:18px;border-radius:16px !important;border:1px dashed var(--line);text-align:center;font-size:14px;color:var(--mid);display:flex;flex-direction:column;align-items:center;gap:10px}
.og-cats-sum{display:none;margin:16px 0 0;font-size:14px;color:var(--mid)}
.og-cats{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
@media (max-width:900px){.og-cats-sum{display:block}.og-cats-h,.og-cats{display:none}}
.og-cats li{font-size:13px;padding:5px 12px;border-radius:999px !important;background:var(--card);border:1px solid var(--line);color:var(--mid)}
@media (max-width:560px){
  .og-pbody{padding:4px 16px 18px;min-height:0}.og-ptabs-wrap{padding:14px 10px 0}.og-prof-top{padding:18px}.og-dl div{font-size:14px}
  /* the 5 profile tabs scroll sideways (44px targets, 14px text) with a fade on the right edge */
  .og-ptabs-wrap{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
  .og-ptabs{scroll-snap-type:x proximity}
  .og-ptabs button{font-size:14px;min-height:44px;padding:0 14px;scroll-snap-align:start}
}
/* permission */
/* Thai role name first, system code as a small tag; two columns, the 7th role spans the last row */
.og-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.og-roles button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:56px;padding:9px 14px;border-radius:16px !important;text-align:left;line-height:1.3;border:1px solid var(--line);font-size:15px;font-weight:600;letter-spacing:0;color:var(--ink)}
.og-roles button:last-child:nth-child(odd){grid-column:1/-1}
.og-roles button small{font-size:12px;font-weight:600;letter-spacing:0;color:var(--og-muted);font-variant-numeric:tabular-nums}
.og-roles button[aria-pressed=true]{background:var(--blue-l);border-color:var(--blue);color:var(--blue-2);box-shadow:0 0 0 1px var(--blue)}
.og-roles button[aria-pressed=true] small{color:var(--blue-2);opacity:1}
.og-role-card{margin-top:16px;padding:16px 18px;border-radius:22px !important}
.og-role-card .role-desc{margin-top:4px;min-height:0}
.og-fine{margin:12px 0 0;font-size:13px;color:var(--og-muted)}
.og-rec dt,.og-rec .rec-top small,.og-rec dd.mask{color:var(--og-muted)}
.og-rec dd.mask::after{font-size:12px;color:var(--mid)}
.og-rec-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:14px 20px 0}
.og-score{margin:0;font-size:14px;color:var(--mid)}
.og-score b{color:var(--ink);font-variant-numeric:tabular-nums}
.og-rec dl{min-height:330px}
.og-mx-wrap{overflow-x:auto;padding:10px 20px 20px;min-height:330px}
.og-mx{width:100%;border-collapse:collapse;font-size:14px;min-width:420px}
.og-mx th{font-size:13px;font-weight:600;color:var(--og-muted);padding:8px 6px;text-align:center;border-bottom:1px solid var(--line)}
.og-mx th:first-child,.og-mx td:first-child{text-align:left;padding-left:0}
.og-mx td{padding:12px 6px;text-align:center;border-bottom:1px dashed var(--line);font-weight:600}
.og-ths{display:none}
.og-mx-wrap:focus-visible{outline:2px solid var(--blue);outline-offset:-2px;border-radius:0 0 var(--r-l) var(--r-l) !important}
.og-mx .y,.og-mx .n{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50% !important}
.og-mx .y{background:var(--green-l);color:var(--green)}
.og-mx .n{color:var(--og-muted)}
.og-mx svg{width:15px;height:15px;stroke-width:3}
@media (max-width:640px){
  /* role picker becomes one swipeable row right above the record */
  .og-roles-wrap{margin-inline:-16px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 16px,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,transparent,#000 16px,#000 calc(100% - 36px),transparent)}
  .og-roles{display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline:16px;padding:4px 16px 8px;margin-top:14px;scrollbar-width:none}
  .og-roles::-webkit-scrollbar{display:none}
  .og-roles button{flex:none;scroll-snap-align:start}
  .og-rdemo{gap:14px}
}
@media (max-width:560px){
  .og-rec dl,.og-mx-wrap{min-height:0}.og-rec-bar{padding:14px 16px 0}
  /* the 5 rights fit the card: short headers (full name stays for screen readers and as a tooltip) */
  .og-mx-wrap{padding:10px 16px 18px}
  .og-mx{min-width:0;table-layout:fixed}
  .og-mx th:first-child{width:38%}
  .og-mx th{padding:8px 2px}
  .og-thl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .og-ths{display:inline}
}

/* ---------- other features ---------- */
.og-others{padding-block:clamp(32px,4vw,56px)}
.og-of-nav{display:flex;align-items:center;gap:10px}
.og-of-nav .more{margin:0 8px 0 0}
.og-arw{width:44px;height:44px;border-radius:50% !important;border:1px solid var(--line);background:var(--card);color:var(--ink);display:grid;place-items:center;transition:transform .35s var(--spring),opacity .3s}
.og-arw:hover{transform:scale(1.08)}
.og-arw[aria-disabled=true]{opacity:.35;cursor:default;transform:none}
.og-arw svg{width:20px;height:20px}
#ofPrev svg{transform:rotate(180deg)}
/* the track runs to the right screen edge */
.og-of-track{list-style:none;display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-padding-inline:16px;padding:10px 16px 40px;margin:18px calc(50% - 50vw) -24px -16px;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 16px,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(90deg,transparent,#000 16px,#000 calc(100% - 48px),transparent)}
.og-of-track::-webkit-scrollbar{display:none}
.og-of-track li{flex:none;scroll-snap-align:start;display:grid}
.og-of{width:clamp(220px,20vw,260px);border-radius:28px !important;padding:22px;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;gap:10px;transition:transform .45s var(--spring)}
.og-of:hover{transform:translateY(-6px)}
.og-of b{font-size:17px;line-height:1.3}
.og-of small{font-size:14px;color:var(--mid);margin-top:-4px;line-height:1.5}
.og-of-ic{width:56px;height:56px;border-radius:18px !important;background:#fff;display:grid;place-items:center;box-shadow:0 8px 20px -12px rgba(0,58,114,.4)}
.og-of-ic img{width:32px;height:32px}
@media (max-width:760px){.og-arw{display:none}.og-of{width:210px;padding:18px}}

/* ---------- FAQ ---------- */
.og-faq{padding-top:clamp(32px,4vw,56px)}
.og-faq .h-sec{font-size:clamp(28px,3.4vw,44px)}
.og-faq .lead{margin-top:10px}

/* ---------- CTA band + footer read as one night surface ---------- */
.og-cta h2{margin-top:14px}
.og-cta .o-cta img{animation:none}
footer.site{background:var(--night)}

/* headings: the blue sheen runs once when the heading is revealed (no endless loops on this page) */
main .h-sec em{animation:none}
section:not(.night) .h-sec em{background-image:linear-gradient(90deg,var(--blue-2),var(--blue),var(--blue-2))}
main .h-sec.in em{animation:sheen 1.8s var(--ease) .2s 1}

/* phones: tighter rhythm between sections */
@media (max-width:560px){
  .og-try{padding-bottom:48px}
  .og-others{padding-block:40px 24px}
  .og-faq{padding-top:48px}
  .og-faq .faq-links{flex-direction:row;flex-wrap:wrap;gap:0 20px;margin-top:8px}
  .og-faq .faq-links .more{margin-top:0}
  .og-try .pg-tabs{display:flex;width:100%}
  .og-try .pg-tabs button{flex:1 0 auto;font-size:14px;padding:9px 10px}
}

@media (prefers-reduced-motion: reduce){
  .og-scene img,.og-chap,.og-meter i,.og-lnav,.og-lcta,.nav{transition:none}
  .og-shot{animation:none}
  .og-hero h1 em,main .h-sec.in em{animation:none}
}
/* ===== Shared CTA bar (every page): slim bar floats above the bottom of the screen while scrolling,
   then docks as a full-width band just above the footer. Markup: kit/COMPONENTS.md §15 ===== */
.hm-cb-wrap{position:sticky;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:60;margin:48px 0 40px;padding-inline:16px;pointer-events:none;transition:transform .5s var(--spring),opacity .35s}
.hm-cb-wrap.is-hidden{transform:translateY(calc(100% + 40px));opacity:0}
.hm-cb{pointer-events:auto;max-width:min(1080px,calc(100vw - 200px));margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 12px 12px 28px;border-radius:999px !important;
  background:linear-gradient(135deg,#0072F3,#00A2FF)!important;border:0;box-shadow:0 20px 44px -18px rgba(0,114,243,.7);color:#fff;transition:box-shadow .4s,max-width .5s var(--ease)}
.hm-cb-wrap.is-docked .hm-cb{box-shadow:0 10px 28px -20px rgba(0,114,243,.6);max-width:min(1200px,calc(100vw - 32px))}
.hm-cb-txt{display:flex;flex-direction:column;min-width:0}
.hm-cb-txt h2{font-size:clamp(17px,1.7vw,22px);line-height:1.3;font-weight:600;color:#fff;margin:0}
.hm-cb-txt h2 b{font-weight:700}
.hm-cb-txt > span{font-size:13px;color:#fff;opacity:.9}
.hm-cb-act{display:flex;gap:8px;flex:none}
.hm-cb .btn{min-height:46px;padding:0 22px}
.hm-cb .btn.primary{background:#fff!important;border-color:#fff!important;color:#008CFF!important}
.hm-cb .hm-cb-sales{background:transparent!important;border:1.5px solid rgba(255,255,255,.8)!important;color:#fff!important;box-shadow:none!important}
.hm-cb-end{height:1px}
@media (max-width:1100px){.hm-cb{max-width:calc(100vw - 112px)}}
@media (max-width:760px){
  .hm-cb-wrap{bottom:calc(80px + env(safe-area-inset-bottom,0px));padding-inline:10px}
  .hm-cb{max-width:none;padding:8px 8px 8px 18px;gap:10px}
  .hm-cb-txt > span,.hm-cb-sales,.hm-cb-pre{display:none}
  .hm-cb-txt h2{font-size:15px}
  .hm-cb .btn{min-height:44px;padding:0 16px;font-size:14px}
}

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

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

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

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

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

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

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

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

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

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

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

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

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