/* ─── chapters.css: ภาษาภาพของบทที่ใช้ร่วมกันหลายหน้า ─── */
/* ดึงจาก home.css (หัวเรื่อง+ภาพประกอบต่อบท, กระจก, bento, วงแหวน, การ์ดข้อเท็จจริง) แต่ไม่ผูก id ของบท
   ต้องโหลดคู่กับ site.css เสมอ (ใช้ token/ตัวแปรร่วมจากที่นั่น) เอนจิน [data-active] มาจาก site.js ที่ตั้งกับ .chapter
   ทุกใบอยู่แล้ว (ดู site.js) จึงใช้ selector .chapter[data-active] แทน #ch-N[data-active] ของ home.css ได้ตรงๆ
   หน้าแรกยังไม่ย้ายมาใช้ไฟล์นี้ (รูปแบบของหน้าแรกยังอยู่ใน home.css ตามเดิม ห้ามแตะ) */

/* ─── หมวด 1: หัวบท (ch-lead) + การจัดตำแหน่งตาม data-spot ───────
   แทนที่ .ch-day .head / .ch-bento .head / .ch-who .head ของหน้าแรกที่ผูกกับคลาสบทเฉพาะ
   ด้วย .head ตัวเดียวที่รับ modifier ตำแหน่งอิสระจากคลาสบท ใช้ค่าตัวเลขเดียวกับหน้าแรกทุกจุด */
.head { margin: 0 0 var(--rhy-3); }
.head .lede { margin: var(--rhy-3) 0 0; max-width: 34em; }
.head.lead-center { text-align: center; margin-left: auto; margin-right: auto; }
.head.lead-center .lede { margin-left: auto; margin-right: auto; }
.head.lead-left { text-align: left; }
.head.lead-right { text-align: right; margin-left: auto; margin-right: 0; }
.head.lead-right .lede { margin-left: auto; }
@media (max-width: 719.98px) {
  .head.lead-right { text-align: right; margin-left: auto; margin-right: 0; }
}

/* ─── หมวด 2: โครงบทสามแบบ (สืบจากบท 3/4/5/7 ของหน้าแรก แยกโครงออกจากเนื้อหาเฉพาะบท) ─── */
/* ch-split: สองคอลัมน์กึ่งกลางจอแนวตั้ง (แนวคิด/สำหรับใคร ของหน้าแรก) */
.ch-split { display: grid; place-items: center; padding: calc(var(--nav-h) + var(--rhy-6)) 0 var(--rhy-6); }
/* ch-showcase: บทที่แน่นเนื้อหาที่สุด (bento ของหน้าแรก) หัวเรื่องกลางบนแคบกว่าปกติ */
.ch-showcase { padding: calc(var(--nav-h) + var(--rhy-3)) 0 var(--rhy-4); }
.ch-showcase .head { text-align: center; margin-bottom: var(--rhy-3); }
.ch-showcase .head .lede { margin-top: var(--rhy-1); max-width: 32em; }
.ch-showcase .head h2 { font-size: clamp(22px, 1.8vw + 1.2svh, 60px); }
/* ch-focus: คอลัมน์เดียวกลางจอทั้งสองแกน (CTA ของหน้าแรก) */
.ch-focus { display: grid; justify-items: center; align-items: center; text-align: center; padding: var(--nav-h) 0 clamp(24px, var(--rhy-10), 64px); }
.ch-focus .lede { max-width: 30em; margin-top: var(--rhy-4); margin-bottom: var(--rhy-6); }
.ch-focus .contact-alt { margin-top: var(--rhy-4); font-size: var(--cs-size-thai-dense); color: var(--cs-content-secondary); }
.ch-focus .contact-alt a { color: var(--cs-content-secondary); text-underline-offset: 4px; }
.ch-focus .contact-alt a:hover { color: var(--cs-content-primary); }

/* ─── หมวด 3: การ์ดกระจกใช้ร่วมกัน (recipe เดียวกับ .tile/.ui-panel/.trust-fact ของหน้าแรกทุกค่า) ─── */
.glass-card {
  position: relative; border: 1px solid transparent; border-radius: var(--cs-radius-lg);
  background-image:
    linear-gradient(color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent), color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  background-origin: border-box; background-clip: padding-box, border-box;
  -webkit-backdrop-filter: blur(3px) saturate(160%); backdrop-filter: blur(3px) saturate(160%);
  box-shadow: var(--cs-elevation-2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-card { background-image: none; background-color: var(--cs-surface-elevated); }
}

/* ui-panel: แผงลอยแบบแจ้งเตือนแอป (badge+ข้อความสองบรรทัด) ค่าเหมือน home.css ทุกจุด */
.ui-panel {
  position: relative; border: 1px solid transparent;
  display: flex; align-items: center; gap: var(--rhy-4);
  padding: var(--rhy-3) var(--rhy-5) var(--rhy-3) var(--rhy-3);
  border-radius: var(--cs-radius-lg);
  background-image:
    linear-gradient(color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent), color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  background-origin: border-box; background-clip: padding-box, border-box;
  -webkit-backdrop-filter: blur(3px) saturate(160%); backdrop-filter: blur(3px) saturate(160%);
  box-shadow: var(--cs-shadow-glass), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  width: max-content; max-width: 320px;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ui-panel { background-image: none; background-color: var(--cs-surface-elevated); }
}
.ui-panel .badge {
  width: clamp(28px, 2.4svh + 12px, 40px); height: clamp(28px, 2.4svh + 12px, 40px); border-radius: var(--cs-radius-md); flex: none;
  display: grid; place-items: center;
  background: var(--cs-status-success-surface); color: var(--cs-content-brand);
}
.ui-panel .badge .ic { color: inherit; width: var(--cs-icon-sm); height: var(--cs-icon-sm); }
.ui-panel .app { display: block; font-family: var(--cs-font-ui); font-size: var(--cs-size-eyebrow); letter-spacing: var(--cs-tracking-eyebrow); text-transform: uppercase; color: var(--cs-content-primary); }
.ui-panel .msg { display: block; font-size: var(--cs-size-thai); font-weight: var(--cs-weight-semibold); color: var(--cs-content-primary); }

/* ─── หมวด 4: icon-list (สืบจาก .concept-bullets ของหน้าแรก ค่าตัวเลขเดิมทุกจุด) ─── */
.icon-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--rhy-3); }
.icon-item { display: flex; align-items: flex-start; gap: var(--cs-space-4); }
.icon-item-icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--cs-action-primary) 16%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cs-action-primary) 30%, transparent);
  color: var(--cs-content-brand);
}
.icon-item-icon .ic { width: var(--cs-icon-md); height: var(--cs-icon-md); }
.icon-item strong { display: block; font-family: var(--cs-font-thai); font-weight: var(--cs-weight-semibold); font-size: var(--cs-size-thai); color: var(--cs-content-primary); }
.icon-item p { margin: var(--cs-space-1) 0 0; font-size: var(--cs-size-thai-dense); line-height: var(--cs-leading-relaxed); color: var(--cs-content-secondary); max-width: 32em; }
.icon-item a { text-decoration: none; }
.icon-item a strong { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color var(--cs-duration-slow) var(--cs-ease-standard); }
.icon-item a:hover strong, .icon-item a:focus-visible strong { text-decoration-color: currentColor; }
html.js:not([data-motion="still"]) .icon-item {
  opacity: 0; translate: 0 12px;
  transition: opacity 400ms var(--cs-ease-decelerate), translate 400ms var(--cs-ease-decelerate);
}
html.js:not([data-motion="still"]) .chapter[data-active] .icon-list .icon-item:nth-child(1) { transition-delay: 120ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .icon-list .icon-item:nth-child(2) { transition-delay: 180ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .icon-list .icon-item:nth-child(3) { transition-delay: 240ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .icon-list .icon-item:nth-child(4) { transition-delay: 300ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .icon-list .icon-item:nth-child(5) { transition-delay: 360ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .icon-item { opacity: 1; translate: 0 0; }

/* ─── หมวด 5: bento + tile (สืบจาก home.css ค่าตัวเลขเดิมทุกจุด ยกเว้น trigger ที่เปลี่ยนเป็น .chapter[data-active]) ─── */
.bento-list { display: contents; }
.bento { display: grid; gap: var(--rhy-1); grid-template-columns: repeat(12, minmax(0, 1fr)); position: relative; }
.bento::before, .bento::after {
  content: ""; position: absolute; top: 5%; bottom: 5%; width: 52%; z-index: 0; pointer-events: none;
  border-radius: 50%; filter: blur(60px); opacity: 0.35;
}
.bento::before { left: -4%; background: radial-gradient(closest-side, var(--cs-gold-300), transparent); }
.bento::after { right: -4%; background: radial-gradient(closest-side, var(--cs-action-primary), transparent); }
.tile {
  position: relative; z-index: 1; margin: 0; border: 1px solid transparent;
  background-image:
    linear-gradient(color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent), color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  background-origin: border-box; background-clip: padding-box, border-box;
  -webkit-backdrop-filter: blur(3px) saturate(160%); backdrop-filter: blur(3px) saturate(160%);
  box-shadow: var(--cs-elevation-2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: var(--cs-radius-lg); padding: clamp(16px, 1vw + 1.6svh, 28px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  overflow: hidden; transition: box-shadow var(--cs-duration-slow) var(--cs-ease-standard);
}
.tile-inner { transition: transform 560ms var(--cs-ease-decelerate); transform-origin: center center; }
.tile[data-link-hover] .tile-inner, .tile[data-link-focus] .tile-inner { transform: scale(1.03); will-change: transform; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tile { background-image: none; background-color: var(--cs-surface-elevated); }
}
.tile h3 {
  font-family: var(--cs-font-thai); font-size: var(--cs-size-thai); font-weight: var(--cs-weight-semibold);
  line-height: var(--cs-leading-tight); color: var(--cs-content-primary); margin: 0 0 var(--rhy-1);
}
.tile h3 a { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.tile p { margin: 0; color: var(--cs-content-primary); font-size: var(--cs-size-thai-dense); line-height: var(--cs-leading-relaxed); max-width: 36em; text-wrap: balance; }
.tile .ic { color: var(--cs-content-accent); }
.tile h3 .tile-icon { width: 20px; height: 20px; flex: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile h3 a:focus-visible { outline: none; }
.tile[data-link-hover] { box-shadow: var(--cs-elevation-3); }
.tile[data-link-focus] { box-shadow: var(--cs-elevation-2), var(--cs-focus-ring); }
.tile-lead[data-link-hover] { box-shadow: var(--cs-elevation-2), 0 0 0 1px var(--cs-border-subtle); }
.tile-lead[data-link-focus] { box-shadow: var(--cs-elevation-3), var(--cs-focus-ring); }
html.js:not([data-motion="still"]) .tile {
  opacity: 0; translate: 0 12px;
  transition: opacity var(--cs-duration-slower) var(--cs-ease-decelerate), translate var(--cs-duration-slower) var(--cs-ease-decelerate);
}
html.js:not([data-motion="still"]) .chapter[data-active] .tile-lead { transition-delay: 0ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .tile-a { transition-delay: 90ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .tile-b { transition-delay: 180ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .tile-c { transition-delay: 270ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .tile { opacity: 1; translate: 0 0; }
html.js:not([data-motion="still"]) .mini-status, html.js:not([data-motion="still"]) .mini-progress, html.js:not([data-motion="still"]) .mini-compare {
  opacity: 0; transition: opacity var(--cs-duration-slower) var(--cs-ease-decelerate); transition-delay: 320ms;
}
html.js:not([data-motion="still"]) .chapter[data-active] .mini-status,
html.js:not([data-motion="still"]) .chapter[data-active] .mini-progress,
html.js:not([data-motion="still"]) .chapter[data-active] .mini-compare { opacity: 1; }
html.js:not([data-motion="still"]) .mini-progress .bar i { width: 0; transition: width 700ms var(--cs-ease-decelerate); transition-delay: 380ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .mini-progress .bar i { width: 80%; }
.bento-3 { grid-template-areas: "lead lead lead lead lead lead a a a a a a" "lead lead lead lead lead lead b b b b b b"; }
.tile-a { grid-area: a; } .tile-b { grid-area: b; } .tile-c { grid-area: c; }
@media (max-width: 1023.98px) { .bento-3 { grid-template-areas: "lead lead" "a b"; } }
.tile-lead {
  grid-area: lead; border-radius: var(--cs-radius-xl);
  padding: var(--rhy-6) var(--rhy-6) var(--rhy-4);
  display: flex; flex-direction: column; box-shadow: var(--cs-elevation-3);
}
.tile-lead .tile-inner { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.tile-lead .display { font-size: clamp(22px, 1.6vw + 1.4svh, 36px); margin: var(--rhy-6) 0 var(--rhy-3); }
.tile-lead .tile-inner > p { font-size: var(--cs-size-thai); }
.tile-lead .tile-lead-icon {
  width: 48px; height: 48px; border-radius: var(--cs-radius-md); display: grid; place-items: center;
  background: color-mix(in srgb, var(--cs-action-primary) 16%, transparent); color: var(--cs-content-brand);
}
.tile-lead .tile-lead-icon .ic { width: var(--cs-icon-lg); height: var(--cs-icon-lg); }
.tile-lead > p + .ui-panel, .tile-lead .tile-inner > .mini-status:last-child { margin-top: auto; }

.mini-status {
  margin-top: var(--rhy-1); display: flex; align-items: center; gap: var(--cs-space-3);
  padding: var(--rhy-1) var(--cs-space-4); border-radius: var(--cs-radius-xl);
  background: var(--cs-status-success-surface); color: var(--cs-status-success-content);
}
.mini-status .ic { width: var(--cs-icon-sm); height: var(--cs-icon-sm); flex: none; color: inherit; }
.mini-status span { font-size: var(--cs-size-thai-dense); font-weight: var(--cs-weight-medium); line-height: var(--cs-leading-default); }
.mini-progress { margin-top: var(--rhy-1); padding: var(--rhy-1) var(--cs-space-4); border-radius: var(--cs-radius-xl); background: var(--cs-surface-default); }
.mini-progress .row { display: flex; align-items: center; gap: var(--cs-space-2); }
.mini-progress .ic { width: var(--cs-icon-sm); height: var(--cs-icon-sm); flex: none; color: var(--cs-content-accent); }
.mini-progress span { font-size: var(--cs-size-thai-dense); font-weight: var(--cs-weight-medium); color: var(--cs-content-primary); }
.mini-progress .bar { margin-top: var(--rhy-1); height: 4px; border-radius: var(--cs-radius-full); background: var(--cs-border-subtle); overflow: hidden; }
.mini-progress .bar i { display: block; height: 100%; width: 80%; border-radius: var(--cs-radius-full); background: var(--cs-content-accent); }

@media (max-width: 1023.98px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719.98px) {
  .bento {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    gap: var(--cs-space-3); margin: 0 calc(-1 * var(--cs-space-4)); padding: 0 var(--cs-space-4) var(--cs-space-2);
    scrollbar-width: none;
  }
  .bento::-webkit-scrollbar { display: none; }
  .bento-list { display: contents; }
  .bento article.tile { flex: 0 0 85%; scroll-snap-align: center; min-width: 0; }
  .tile-lead { padding: var(--cs-space-5); border-radius: var(--cs-radius-xl); }
  .tile-lead .display { margin-top: var(--cs-space-6); font-size: clamp(20px, 5vw, 28px); }
  .ui-panel { align-self: stretch; }
  .bento-dots {
    display: flex; align-items: center; justify-content: center; gap: 2px; margin: var(--cs-space-4) auto 0;
    width: fit-content; padding: var(--cs-space-2); border-radius: var(--cs-radius-full);
    background: color-mix(in srgb, white 4.5%, transparent);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .bento-dot {
    width: 6px; height: 6px; border-radius: 50%; flex: none; box-sizing: border-box;
    background: radial-gradient(circle, var(--cs-action-primary) 0 2.5px, transparent 3px);
    background-color: var(--cs-action-primary); border: 0 solid var(--cs-action-primary); opacity: 0.4;
    transition: width var(--cs-duration-base) var(--cs-ease-standard), height var(--cs-duration-base) var(--cs-ease-standard), opacity var(--cs-duration-base) var(--cs-ease-standard);
  }
  .bento-dot[data-active="true"] { width: 14px; height: 14px; border-width: 1.5px; background-color: transparent; opacity: 1; }
}
@media (min-width: 720px) { .bento-dots { display: none; } }

/* ─── หมวด 6: วงแหวนเชื่อม (สืบจาก .who-ring ของหน้าแรก ค่าตัวเลขเดิมทุกจุด) ─── */
.ring-diagram { position: relative; width: 100%; max-width: min(100%, 64svh, 580px); aspect-ratio: 1 / 1; margin: 0 auto; }
.ring {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translate(-50%, -50%) scale(0.9); opacity: 0;
  transition: transform 700ms var(--cs-ease-decelerate), opacity 700ms var(--cs-ease-decelerate);
}
html:not(.js) .ring, html[data-motion="still"] .ring, html.js:not([data-motion="still"]) .chapter[data-active] .ring {
  transform: translate(-50%, -50%) scale(1); opacity: 1;
}
html.js:not([data-motion="still"]) .chapter[data-active] .ring { transition-delay: calc(var(--ri, 0) * 200ms + 80ms); }
.ring-3 { width: 95%; height: 95%; background: color-mix(in srgb, var(--cs-action-primary) 5%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cs-action-primary) 25%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.ring-2 { width: 70%; height: 70%; background: color-mix(in srgb, var(--cs-action-primary) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cs-action-primary) 30%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.ring-1 { width: 40%; height: 40%; background: color-mix(in srgb, var(--cs-action-primary) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cs-action-primary) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.ring-dot {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--cs-action-primary); box-shadow: 0 0 12px 2px color-mix(in srgb, var(--cs-action-primary) 55%, transparent);
  opacity: 0; transition: opacity 420ms var(--cs-ease-decelerate);
}
html:not(.js) .ring-dot, html[data-motion="still"] .ring-dot, html.js:not([data-motion="still"]) .chapter[data-active] .ring-dot { opacity: 1; }
/* ป้ายรอบวง: ชิปไอคอน+ข้อความวางรอบขอบวงนอกสุดสามตำแหน่ง (บน/ล่างซ้าย/ล่างขวา) แทน textPath โค้งของหน้าแรก
   เพราะจำนวนป้าย 3 ป้ายเท่ากันแต่ไม่ได้อยู่ในบริบทวงแหวนสามระดับซ้อน label เดียวต่อวงแบบหน้าแรก */
.ring-node {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: var(--cs-space-2);
  transform: translate(-50%, -50%); opacity: 0; transition: opacity 420ms var(--cs-ease-decelerate);
  transition-delay: 680ms;
}
html:not(.js) .ring-node, html[data-motion="still"] .ring-node, html.js:not([data-motion="still"]) .chapter[data-active] .ring-node { opacity: 1; }
.ring-node-icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--cs-surface-canvas); color: var(--cs-content-brand);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cs-action-primary) 40%, transparent), 0 0 16px 2px color-mix(in srgb, var(--cs-action-primary) 25%, transparent);
}
.ring-node-icon .ic { width: var(--cs-icon-md); height: var(--cs-icon-md); }
.ring-node span:last-child { font-family: var(--cs-font-thai); font-weight: var(--cs-weight-medium); font-size: var(--cs-size-thai-dense); color: var(--cs-content-primary); white-space: nowrap; }
.ring-node-top { left: 50%; top: 2%; }
.ring-node-left { left: 6%; top: 78%; }
.ring-node-right { left: 94%; top: 78%; }
@media (max-width: 719.98px) {
  .ring-node span:last-child { font-size: 12px; }
  .ring-node-icon { width: 36px; height: 36px; }
}

/* ─── หมวด 6b: วงแหวนเดี่ยว (สำหรับบท "ฐานเดียวกัน" ของ /solutions เท่านั้น) เจ้าของงานสั่งจากภาพหน้าจอ ≥1440
   ให้ตัดวงซ้อนสามชั้นของ .ring-diagram ทิ้งเพราะพื้นเขียวทึบซ้อนกันดูเหมือนเป้า ไม่หรู
   คลาสใหม่ทั้งหมด (ring-solo-*) ไม่แตะ .ring-diagram/.ring/.ring-node เดิม เพราะ web-solutions-building-reference.html ใช้ชุดเดิมอยู่
   ผลลัพธ์: เส้นบาง (hairline) เดียว เรืองแสงนุ่มรอบขอบ ไม่มีพื้นทึบ จุดศูนย์กลางเป็นจุดเล็กเรืองแสง ไอคอนสามจุดเกาะอยู่บนเส้นวงพอดี ป้ายอยู่นอกวง ระยะว่างรอบวงมาก */
.ring-solo { position: relative; width: 100%; max-width: min(100%, 58svh, 520px); aspect-ratio: 1; margin: 0 auto; }
.ring-solo-ring {
  position: absolute; inset: 14%; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--cs-content-brand) 50%, transparent);
  box-shadow:
    0 0 32px 4px color-mix(in srgb, var(--cs-content-brand) 18%, transparent),
    inset 0 0 32px 4px color-mix(in srgb, var(--cs-content-brand) 8%, transparent);
  opacity: 0; transform: scale(0.94);
  transition: opacity 700ms var(--cs-ease-decelerate), transform 700ms var(--cs-ease-decelerate);
}
html:not(.js) .ring-solo-ring, html[data-motion="still"] .ring-solo-ring, html.js:not([data-motion="still"]) .chapter[data-active] .ring-solo-ring {
  opacity: 1; transform: scale(1);
}
.ring-solo-core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cs-action-primary);
  box-shadow: 0 0 20px 5px color-mix(in srgb, var(--cs-action-primary) 60%, transparent);
  opacity: 0; transition: opacity 500ms var(--cs-ease-decelerate); transition-delay: 200ms;
}
html:not(.js) .ring-solo-core, html[data-motion="still"] .ring-solo-core, html.js:not([data-motion="still"]) .chapter[data-active] .ring-solo-core { opacity: 1; }
.ring-solo-node {
  position: absolute; display: block;
  transform: translate(-50%, -50%); opacity: 0; transition: opacity 420ms var(--cs-ease-decelerate); transition-delay: 560ms;
}
html:not(.js) .ring-solo-node, html[data-motion="still"] .ring-solo-node, html.js:not([data-motion="still"]) .chapter[data-active] .ring-solo-node { opacity: 1; }
.ring-solo-node-icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--cs-surface-canvas); color: var(--cs-content-brand);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cs-content-brand) 55%, transparent), 0 0 18px 3px color-mix(in srgb, var(--cs-content-brand) 22%, transparent);
}
.ring-solo-node-icon .ic { width: var(--cs-icon-md); height: var(--cs-icon-md); }
/* ป้ายลอยออกนอก flow ของ node: node จึงมีขนาดเท่าไอคอนพอดี translate(-50%,-50%) วางกึ่งกลางไอคอนลงบนเส้นวง
   เส้นวงจึงผ่านกลางวงกลมของไอคอนทุกจุด (เจ้าของงานสั่ง 2026-09-28) */
.ring-solo-node > span:last-child { position: absolute; left: 50%; top: calc(100% + var(--cs-space-2)); translate: -50% 0; }
.ring-solo-node-top > span:last-child { top: auto; bottom: calc(100% + var(--cs-space-2)); }
.ring-solo-node span:last-child { font-family: var(--cs-font-thai); font-weight: var(--cs-weight-medium); font-size: var(--cs-size-thai-dense); color: var(--cs-content-primary); white-space: nowrap; }
/* จุดบนเส้นวง (inset 14% แปลว่ารัศมีวง = 36% ของกล่อง): คำนวณจากตรีโกณมิติให้ไอคอนเกาะขอบวงพอดีจริง ไม่ใช่ตำแหน่งกะด้วยตา
   บน = มุม -90 องศา, ล่างขวา = 30 องศา, ล่างซ้าย = 150 องศา (ห่างกันจุดละ 120 องศา) ป้ายอยู่นอกวง: บนป้ายอยู่เหนือไอคอน ล่างสองจุดป้ายอยู่ใต้ไอคอน */
.ring-solo-node-top { left: 50%; top: 14%; }
.ring-solo-node-right { left: 81.2%; top: 68%; }
.ring-solo-node-left { left: 18.8%; top: 68%; }
@media (max-width: 719.98px) {
  .ring-solo-node span:last-child { font-size: 12px; }
  .ring-solo-node-icon { width: 36px; height: 36px; }
}

/* ─── หมวด 6c: วงแหวนเดี่ยวแบบวาดเส้น (เจ้าของงานสั่ง 2026-09-29)
   chapters.js ใส่ data-anim และ SVG .ring-solo-draw ให้เองเมื่อมี JS และไม่ได้ลดการเคลื่อนไหว: เส้นวงวาดออกจากบ้าน (บนสุด)
   วนทวนเข็มไปอาคาร (ล่างซ้าย) การเดินทาง (ล่างขวา) แล้วกลับบ้าน จุดแสงเขียวนำหน้าปลายเส้น ถึงจุดไหนวงกลมจุดนั้นขยายจากจุดเล็กเป็นไอคอน
   จบแล้ว .ring-solo-ring (ชั้นแสงเดิม) สว่างขึ้นเป็นแสงรอบวง ไม่มี JS หรือ data-motion="still" ใช้หมวด 6b เดิมทั้งหมด (วงเต็มพร้อมไอคอน) */
.ring-solo-draw { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
/* stroke-width เป็นหน่วย viewBox (100 = กว้างวง) ไม่ใช้ vector-effect: non-scaling-stroke เพราะทำให้ dasharray ถูกตีความเป็นพิกเซลจอ เส้นจึงกลายเป็นเส้นประซ้ำ */
.ring-solo-draw .draw-line { fill: none; stroke: color-mix(in srgb, var(--cs-content-brand) 60%, transparent); stroke-width: 0.32; stroke-linecap: round; }
.ring-solo-draw .draw-halo { fill: color-mix(in srgb, var(--cs-action-primary) 35%, transparent); filter: blur(1.4px); }
.ring-solo-draw .draw-dot { fill: var(--cs-action-primary); }
.ring-solo-draw .draw-spark { opacity: 0; transition: opacity 240ms var(--cs-ease-decelerate); }
.ring-solo[data-anim="run"] .ring-solo-draw .draw-spark { opacity: 1; }
/* ชั้นแสงเดิมเก็บไว้เป็นแสงตอนจบ: ระหว่างวาดซ่อนเส้นขอบ (SVG เป็นเส้นแทน) พอจบค่อยเรืองขึ้นกว้างกว่าเดิม */
.ring-solo[data-anim] .ring-solo-ring { border-color: transparent; opacity: 0; transform: none; transition: opacity 900ms var(--cs-ease-decelerate), box-shadow 1200ms var(--cs-ease-decelerate); box-shadow: 0 0 20px 2px color-mix(in srgb, var(--cs-content-brand) 10%, transparent); }
.ring-solo[data-anim="done"] .ring-solo-ring {
  opacity: 1;
  box-shadow:
    0 0 48px 8px color-mix(in srgb, var(--cs-content-brand) 28%, transparent),
    inset 0 0 40px 6px color-mix(in srgb, var(--cs-content-brand) 12%, transparent);
}
.ring-solo[data-anim="done"] .draw-line { stroke: color-mix(in srgb, var(--cs-content-brand) 80%, transparent); transition: stroke 900ms var(--cs-ease-decelerate); }
/* จุดปลายทางก่อนแสงมาถึง: วงเล็กจางบนเส้น ยังไม่เห็นไอคอนและป้าย, ถึงแล้วขยายเป็นวงเต็มแบบเด้งเล็กน้อย */
.ring-solo[data-anim] .ring-solo-node { opacity: 1; transition: none; }
.ring-solo[data-anim] .ring-solo-node-icon { transform: scale(0.28); opacity: 0.55; transition: transform 520ms cubic-bezier(0.34, 1.4, 0.64, 1), opacity 300ms var(--cs-ease-decelerate); }
.ring-solo[data-anim] .ring-solo-node-icon .ic { opacity: 0; transition: opacity 320ms var(--cs-ease-decelerate) 160ms; }
.ring-solo[data-anim] .ring-solo-node > span:last-child { opacity: 0; transition: opacity 400ms var(--cs-ease-decelerate) 180ms; }
.ring-solo[data-anim] .ring-solo-node.is-lit .ring-solo-node-icon { transform: scale(1); opacity: 1; }
.ring-solo[data-anim] .ring-solo-node.is-lit .ring-solo-node-icon .ic,
.ring-solo[data-anim] .ring-solo-node.is-lit > span:last-child { opacity: 1; }

/* ─── หมวด 7: การ์ดข้อเท็จจริง (สืบจาก .trust-fact ของหน้าแรก ค่าตัวเลขเดิมทุกจุด) ─── */
.fact-list { list-style: none; margin: var(--rhy-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--cs-space-4); text-align: left; }
.fact-list.fact-list-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 719.98px) {
  .fact-list { display: block; columns: 2; column-gap: var(--cs-space-3); }
  .fact-list > li { break-inside: avoid; margin-bottom: var(--cs-space-3); }
  .fact-list > li .fact { height: auto; }
}
.fact {
  position: relative; border: 1px solid transparent; border-radius: var(--cs-radius-lg);
  padding: var(--rhy-5) var(--rhy-5);
  background-image:
    linear-gradient(color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent), color-mix(in srgb, var(--cs-surface-elevated) 5%, transparent)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  background-origin: border-box; background-clip: padding-box, border-box;
  -webkit-backdrop-filter: blur(3px) saturate(160%); backdrop-filter: blur(3px) saturate(160%);
  box-shadow: var(--cs-elevation-2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .fact { background-image: none; background-color: var(--cs-surface-elevated); }
}
.fact-icon {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; margin-bottom: var(--rhy-3);
  background: color-mix(in srgb, var(--cs-action-primary) 16%, transparent); color: var(--cs-content-brand);
}
.fact-icon .ic { width: var(--cs-icon-md); height: var(--cs-icon-md); }
.fact strong { display: block; font-family: var(--cs-font-thai); font-weight: var(--cs-weight-semibold); font-size: var(--cs-size-thai); color: var(--cs-content-primary); }
.fact p { margin: var(--cs-space-1) 0 0; font-size: var(--cs-size-thai-dense); line-height: var(--cs-leading-relaxed); color: var(--cs-content-primary); }
.fact-link { display: inline-flex; align-items: center; margin-top: var(--rhy-3); font-size: var(--cs-size-thai-dense); font-weight: var(--cs-weight-medium); color: var(--cs-content-brand); text-decoration: none; }
.fact-link:hover { text-decoration: underline; text-underline-offset: 4px; }
/* ลิงก์กลางใต้การ์ด fact ทั้งชุด (/platform): แถวเดียวจัดกึ่งกลาง ห่างจากการ์ดหนึ่งจังหวะ rhythm */
p.fact-more { text-align: center; margin-top: var(--rhy-5); }
html.js:not([data-motion="still"]) .fact {
  opacity: 0; translate: 0 12px;
  transition: opacity var(--cs-duration-slower) var(--cs-ease-decelerate), translate var(--cs-duration-slower) var(--cs-ease-decelerate);
}
html.js:not([data-motion="still"]) .chapter[data-active] .fact-list li:nth-child(1) .fact { transition-delay: 0ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .fact-list li:nth-child(2) .fact { transition-delay: 80ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .fact-list li:nth-child(3) .fact { transition-delay: 160ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .fact-list li:nth-child(4) .fact { transition-delay: 240ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .fact { opacity: 1; translate: 0 0; }
@media (max-width: 900px) { .fact-list:not(.fact-list-3) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 719.98px) {
  .fact-list, .fact-list.fact-list-3 { grid-template-columns: repeat(2, 1fr); gap: var(--cs-space-3); }
  .fact { padding: var(--cs-space-4); }
  .fact-icon { width: 32px; height: 32px; margin-bottom: var(--cs-space-2); }
  .fact-icon .ic { width: var(--cs-icon-sm); height: var(--cs-icon-sm); }
  .fact strong { font-size: var(--cs-size-thai-dense); }
}

/* ─── หมวด 7b: กริดสองคอลัมน์ของบท ch-split (สืบจาก .who-body/.concept-grid ของหน้าแรก ค่าตัวเลขเดิม) ─── */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--cs-space-10); align-items: center; }
.split-grid.split-grid-uneven { grid-template-columns: 1.1fr 0.9fr; gap: var(--cs-space-12); }
@media (max-width: 719.98px) {
  .split-grid, .split-grid.split-grid-uneven { grid-template-columns: 1fr; gap: var(--rhy-4); }
}

/* ─── หมวด 8: คำถามที่พบบ่อย (ใหม่: การ์ดกระจกเดี่ยวพับ/กาง ใช้ recipe .glass-card) ───
   component FAQ มาตรฐานของทั้งเว็บ (เจ้าของงานกำหนด 2026-09-28): ทุกหน้าที่มีบทคำถามใช้โครงเดียวกันเป๊ะ
   .chapter.ch-split > .split-grid > .head.lead-left (หัวข้อ display + em ชิดซ้าย) + .faq-list (accordion กระจกฝั่งขวา)
   ต่างกันได้เฉพาะเนื้อหา (จำนวนข้อ, ข้อความ) ไม่ใช่โครงหรือ class, จำนวนข้อที่ต่างกันทำให้ความสูงสองฝั่งต่างกันได้ตามปกติ
   (align-items: center ของ .split-grid จะจัดให้กึ่งกลางแนวตั้งเอง ไม่ใช่บั๊ก) ถ้าต้องปรับหน้าตา FAQ ให้ปรับที่ .split-grid/.faq-list
   ในไฟล์นี้ที่เดียว ห้ามสร้างโครง FAQ ใหม่แยกต่อหน้า */
.faq-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--cs-space-3); }
.faq-item { overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--cs-space-4); width: 100%;
  min-height: 40px; /* เป้าแตะขั้นต่ำ 40: จอมือถือเตี้ย rhy-4 หดจนปุ่มเหลือ 32-38px */
  padding: var(--rhy-4) var(--rhy-5); margin: 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--cs-font-thai); font-weight: var(--cs-weight-semibold); font-size: var(--cs-size-thai); color: var(--cs-content-primary);
}
.faq-q:focus-visible { outline: none; box-shadow: var(--cs-focus-ring); border-radius: var(--cs-radius-sm); }
.faq-q .ic { flex: none; width: var(--cs-icon-sm); height: var(--cs-icon-sm); color: var(--cs-content-accent); transition: transform var(--cs-duration-slow) var(--cs-ease-standard); }
.faq-item[data-open="true"] .faq-q .ic { transform: rotate(180deg); }
/* ไม่มี JS คำตอบเปิดทุกข้อ (พับเฉพาะเมื่อ html.js เพราะปุ่มที่สลับสถานะเป็นของ JS) */
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--cs-duration-slow) var(--cs-ease-standard); }
html.js .faq-a { grid-template-rows: 0fr; }
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 var(--rhy-5) var(--rhy-5); font-size: var(--cs-size-thai-dense); line-height: var(--cs-leading-relaxed); color: var(--cs-content-secondary); max-width: 40em; }

/* ─── หมวด 9: แผงคอนโซล (สำหรับ hero ของ /platform) แทนที่ .layer-stack เดิม (ชิปสามใบลอยเยื้องกันบนฐาน ถูกเจ้าของงานตีว่าขัดกับบทอื่นในหน้าที่เป็นกระจก)
   กฎ CR234: ภาพ UI ในเว็บการตลาดต้องมาจากดีไซน์จริง จึงตัดมาจาก console-reference.html หัวข้อ 10 (Console shell) และ 8 (Property switcher):
   breadcrumb ของโครงการปัจจุบัน + สามหมวดของแถบเมนูซ้าย (ดูแลอาคาร, การเดินทาง, การเงิน) + แถวตัวตนผู้ใช้คนเดียวที่ถือทุกหมวดไว้ด้วยกัน
   สื่อ "หนึ่งแพลตฟอร์มรองรับทุกโซลูชัน" ด้วยแผงกระจกใบเดียว ไม่ใช่การ์ดลอยหลายใบเยื้องกัน ใช้ recipe .glass-card ตัวเดียวกับบทอื่น (ไม่สร้างพื้นผิวกระจกใหม่)
   รอบสอง (เจ้าของงานสั่งจากภาพหน้าจอ ≥1440): ย้ายจากใต้ปุ่ม (ครอป+fade แบบโทรศัพท์หน้าแรก) มาเป็นคอลัมน์ขวาคู่กับข้อความคอลัมน์ซ้าย
   (ดู .hero-console-grid ท้ายหมวดนี้) แผงแสดงเต็ม ไม่ครอปอีกต่อไป เพราะอยู่ข้างข้อความที่สั้นกว่าของ /solutions จึงมีที่พอเสมอ
   ทุกป้ายรายการชิดซ้ายถัดจากไอคอนแบบคอนโซลจริง (ไม่ใช่กึ่งกลาง) */
.platform-console { display: flex; justify-content: center; width: 100%; margin: clamp(12px, 2svh, var(--cs-space-6)) auto 0; text-align: left; }
.platform-console-crop {
  position: relative; z-index: 1; width: min(560px, 90vw);
  padding: var(--rhy-4) var(--rhy-5) var(--rhy-5);
}
.platform-console-bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--cs-space-3);
  padding-bottom: var(--rhy-3); margin-bottom: var(--rhy-3); border-bottom: var(--cs-border-hairline) solid var(--cs-border-subtle);
}
.platform-console-crumb { display: flex; align-items: center; gap: var(--cs-space-2); min-width: 0; font-family: var(--cs-font-thai); font-size: var(--cs-size-thai-dense); color: var(--cs-content-secondary); }
.platform-console-crumb .ic { width: var(--cs-icon-sm); height: var(--cs-icon-sm); flex: none; }
.platform-console-crumb-cur, .platform-console-crumb-here { color: var(--cs-content-primary); font-weight: var(--cs-weight-medium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.platform-console-bell {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: color-mix(in srgb, var(--cs-content-primary) 8%, transparent); color: var(--cs-content-secondary);
}
.platform-console-bell .ic { width: var(--cs-icon-sm); height: var(--cs-icon-sm); }
.platform-console-nav { display: flex; flex-direction: column; gap: var(--cs-space-1); }
.platform-console-row { display: flex; align-items: center; gap: var(--cs-space-3); padding: var(--cs-space-2); border-radius: var(--cs-radius-md); text-align: left; }
.platform-console-row-current { background: color-mix(in srgb, var(--cs-action-primary) 12%, transparent); }
.platform-console-row-icon {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: color-mix(in srgb, var(--cs-action-primary) 16%, transparent); color: var(--cs-content-brand);
}
.platform-console-row-icon .ic { width: var(--cs-icon-sm); height: var(--cs-icon-sm); }
/* ป้ายรายการชิดซ้ายถัดจากไอคอนเสมอ: ตั้ง text-align ตรงนี้เพราะ .ch-hero-top ตั้ง text-align:center ไว้ที่บททั้งใบ ค่านี้ไหลลงมาทับทุก descendant
   รวมถึงแผงคอนโซลที่ไม่ได้อยู่กลางจอแล้ว ถ้าไม่ตั้งใหม่ตรงนี้ป้ายจะกลางแถวผิดจากคอนโซลจริง */
.platform-console-row-label { flex: 1; min-width: 0; text-align: left; font-family: var(--cs-font-thai); font-size: var(--cs-size-thai-dense); font-weight: var(--cs-weight-medium); color: var(--cs-content-primary); }
.platform-console-row-badge {
  display: grid; place-items: center; flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--cs-radius-full);
  background: var(--cs-status-success-surface); color: var(--cs-content-brand); font-family: var(--cs-font-mono); font-size: 11px;
}
.platform-console-id {
  display: flex; align-items: center; gap: var(--cs-space-3);
  margin-top: var(--rhy-3); padding-top: var(--rhy-3); border-top: var(--cs-border-hairline) solid var(--cs-border-subtle);
}
.platform-console-avatar {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: color-mix(in srgb, var(--cs-content-primary) 10%, transparent); color: var(--cs-content-primary);
  font-family: var(--cs-font-thai); font-size: 12px; font-weight: var(--cs-weight-semibold);
}
.platform-console-avatar .ic { width: 16px; height: 16px; }
.platform-console-who { display: flex; flex-direction: column; min-width: 0; text-align: left; }
.platform-console-name { font-family: var(--cs-font-thai); font-size: var(--cs-size-thai-dense); font-weight: var(--cs-weight-medium); color: var(--cs-content-primary); }
.platform-console-role { font-size: 12px; color: var(--cs-content-secondary); }
html.js:not([data-motion="still"]) .platform-console { opacity: 0; translate: 0 28px; transition: opacity var(--cs-duration-slower) var(--cs-ease-decelerate), translate var(--cs-duration-slower) var(--cs-ease-decelerate); }
html.js:not([data-motion="still"]) .chapter[data-active] .platform-console { opacity: 1; translate: 0 0; }
html.js:not([data-motion="still"]) .platform-console-row { opacity: 0; translate: 0 10px; transition: opacity var(--cs-duration-slower) var(--cs-ease-decelerate), translate var(--cs-duration-slower) var(--cs-ease-decelerate); }
html.js:not([data-motion="still"]) .chapter[data-active] .platform-console-row:nth-child(1) { transition-delay: 220ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .platform-console-row:nth-child(2) { transition-delay: 280ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .platform-console-row:nth-child(3) { transition-delay: 340ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .platform-console-row { opacity: 1; translate: 0 0; }
@media (max-width: 719.98px) {
  .platform-console { margin-top: var(--cs-space-3); }
  .platform-console-crop { width: 100%; padding: var(--cs-space-3) var(--cs-space-4) var(--cs-space-4); }
  .platform-console-bar { padding-bottom: var(--cs-space-2); margin-bottom: var(--cs-space-2); }
  .platform-console-nav { gap: 0; }
  .platform-console-row { padding: var(--cs-space-1) var(--cs-space-2); }
  .platform-console-row-icon, .platform-console-bell, .platform-console-avatar { width: 26px; height: 26px; }
  .platform-console-id { margin-top: var(--cs-space-2); padding-top: var(--cs-space-2); }
  /* ตำแหน่ง (role) ใต้ชื่อซ่อนเฉพาะจอ <720 (เนื้อหายังอยู่ให้ screen reader อ่าน): เหลือชื่อคนเดียวพอในพื้นที่แคบ
     ตามรูปแบบเดียวกับ .mobile-sr ที่เจ้าของงานอนุมัติแล้วใน .icon-item (site.css) ป้องกันบทล้นใต้แถบจุดที่ 331x719 */
  .platform-console-role { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
/* .hero-console-grid: กล่องห่อ .hero-copy กับ .platform-console ของ hero /platform เท่านั้น (เทียบคู่กับ .hero-index-grid ของ /solutions ด้านล่าง)
   ค่าเริ่มต้น display:contents ไม่มีผลต่อ layout จนกว่าจะถึง 1024px: จอแคบกว่านั้นเรียงลงตามลำดับ DOM เดิม (ข้อความก่อน แผงตามหลัง)
   ตั้งแต่ 1024px ขึ้นไปเปลี่ยนเป็นสองคอลัมน์ ข้อความซ้ายชิดซ้าย แผงคอนโซลขวา (เจ้าของงานสั่งจากภาพหน้าจอ ≥1440) */
.hero-console-grid { display: contents; }
@media (min-width: 1024px) {
  .page-platform .ch-hero-top { text-align: left; }
  .page-platform .hero-console-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    column-gap: var(--cs-space-12); align-items: center;
  }
  .page-platform .hero-console-grid .hero-copy { margin: 0; max-width: 580px; }
  .page-platform .hero-console-grid .hero-copy .lede { margin: var(--rhy-3) 0 var(--rhy-6); }
  .page-platform .hero-console-grid .actions { justify-content: flex-start; }
  .page-platform .hero-console-grid .platform-console { margin: 0; justify-content: flex-start; }
}

/* ─── หมวด 9b: hero กลางจอของ /solutions และ /platform (ไม่มีภาพแอปจริงแบบหน้าแรก) ─── */
/* hero อยู่กึ่งกลางแนวตั้งของจอ (เจ้าของงานสั่ง 2026-09-29: "อยู่กลางจอ ไม่ชิดบนเกินไป") safe center: ถ้าสูงเกินจอให้ชิดบนแทนการล้นทั้งสองด้าน */
.ch-hero-top { display: flex; flex-direction: column; justify-content: safe center; text-align: center; padding: calc(var(--nav-h) + var(--rhy-3)) 0 var(--rhy-6); overflow: hidden; }
/* บทแบบ hero / split / showcase อยู่กึ่งกลางแนวตั้งของจอเสมอบนจอ ≥720 (เจ้าของงานสั่ง 2026-09-29 หลายรอบ: "ไม่ชิดขอบบน")
   ต้นเหตุเดิม: padding บน (nav-h + rhy) มากกว่าล่าง และ .ch-showcase ไม่มีการจัดกึ่งกลางเลย
   ระยะบนเท่าระยะล่าง = nav-h (บทที่มีตัวระบุหน้าย่อยบวกความสูงแถบนั้นทั้งบนและล่าง) safe center: สูงเกินให้ชิดบนแทนการล้นสองด้าน
   มือถือคงกฎเดิมของแต่ละหน้า (แถบจุดบทอยู่ล่าง ความสูงไม่พอให้สมมาตร) */
@media (min-width: 720px) {
  .chapter.ch-hero-top, .chapter.ch-split, .chapter.ch-showcase {
    --center-pad: var(--nav-h);
    display: flex; flex-direction: column; justify-content: safe center;
    padding-top: var(--center-pad); padding-bottom: var(--center-pad);
  }
  .chapter.ch-hero-top.has-crumb { --center-pad: calc(var(--nav-h) + 40px + var(--cs-space-4)); }
  .chapter:is(.ch-hero-top, .ch-split, .ch-showcase) > .chapter-body { width: 100%; }
  .chapter.ch-hero-top.has-crumb > .chapter-body { margin-top: 0; }
}
.hero-copy { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.hero-copy .eyebrow { margin-bottom: var(--rhy-4); }
.hero-copy h1 { margin-bottom: var(--rhy-5); }
.hero-copy .lede { max-width: 34em; margin: 0 auto var(--rhy-6); }
/* หนึ่งบท = หนึ่งจอเป๊ะ (กฎ site.css หัวข้อ layout): ระยะและขนาดแผงในกองนี้ต้องลื่นตาม svh เหมือน .device-crop ของหน้าแรก
   ไม่งั้นล้นจอที่ความสูงกลางๆ (720-750px) ซึ่ง overflow:hidden ของ .ch-hero-top จะตัดทิ้งเงียบๆ */
/* .hero-index-grid: กล่องห่อ .hero-copy กับ .path-index ของ hero /solutions เท่านั้น (ไม่ผูก id บท)
   ค่าเริ่มต้น display:contents คือไม่มีผลเลยต่อ layout (เหมือนไม่มีกล่องห่อ, พฤติกรรมเดิมทุกจอที่แคบกว่า 1024)
   ตั้งแต่ 1024px ขึ้นไปเปลี่ยนเป็นสองคอลัมน์ (ข้อความซ้าย ดัชนีขวา) ตามที่เจ้าของงานสั่ง เพราะวัดจริงแล้วพอดีจอทุกความสูงที่ตรวจตั้งแต่ 1024 ขึ้นไป
   scope ด้วย .page-solutions เพราะ .ch-hero-top ใช้ร่วมกับ /platform ด้วย */
.hero-index-grid { display: contents; }
@media (min-width: 1024px) {
  .page-solutions .ch-hero-top { text-align: left; }
  .page-solutions .hero-index-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    column-gap: var(--cs-space-12); align-items: center;
  }
  .page-solutions .hero-index-grid .hero-copy { margin: 0; max-width: 480px; }
  .page-solutions .hero-index-grid .hero-copy .lede { margin: var(--rhy-3) 0 var(--rhy-6); }
  .page-solutions .hero-index-grid .actions { justify-content: flex-start; }
  .page-solutions .hero-index-grid .path-index { margin: 0; }
}
/* หน้าต่างเตี้ยกว้าง 900-1023px (เช่น 1000x550): hero ของ /solutions และ /platform เป็นสองคอลัมน์เหมือน >= 1024px แทนเรียงลง
   เพราะเรียงลงสูงเกินจอเตี้ย บทต้องพอดีหนึ่งจอ (เจ้าของงาน 2026-09-30) ค่าเดียวกับกฎ >= 1024px ด้านบน */
@media (min-width: 900px) and (max-width: 1023.98px) and (max-height: 679.98px) {
  body.page-solutions .ch-hero-top, body.page-platform .ch-hero-top { text-align: left; }
  body.page-solutions .hero-index-grid, body.page-platform .hero-console-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: var(--cs-space-8); align-items: center;
  }
  body.page-solutions .hero-index-grid .hero-copy { margin: 0; max-width: 480px; }
  body.page-platform .hero-console-grid .hero-copy { margin: 0; max-width: 580px; }
  body.page-solutions .hero-index-grid .hero-copy .lede, body.page-platform .hero-console-grid .hero-copy .lede { margin: var(--rhy-3) 0 var(--rhy-6); }
  body.page-solutions .hero-index-grid .actions, body.page-platform .hero-console-grid .actions { justify-content: flex-start; }
  body.page-solutions .hero-index-grid .path-index { margin: 0; }
  body.page-platform .hero-console-grid .platform-console { margin: 0; justify-content: flex-start; }
}
/* 1024-1347px: คอลัมน์ข้อความเหลือราว 400px เพราะเว้นแถบจุดขวา หัวเรื่อง 6.4vw (65px ที่ 1024) ตัดสี่บรรทัดจนบทสูงเกินจอ ลดตามความกว้างเฉพาะช่วงนี้ */
@media (min-width: 1024px) and (max-width: 1347.98px) {
  .page-solutions .hero-index-grid h1 { font-size: clamp(34px, 5vw, 80px); }
}
/* .path-index (สำหรับ hero ของ /solutions): ดัชนีแบบ editorial แทน .path-select เดิม (แผงกระจกสามช่องที่เจ้าของงานเรียกว่า "ไม่หรู")
   สามแถวตัวอักษร display ขนาดใหญ่ + เลขกำกับ mono + เส้นคั่นบางเต็มความกว้าง ไม่มีกล่องทึบ ไม่มีการ์ด อ้างอิงหลักจาก Linear และ Bang & Olufsen
   (พื้นที่ว่างและตัวอักษรสื่อสารหลัก ไม่ใช่การ์ดตกแต่ง) ทั้งแถวเป็นลิงก์จริงไปหน้าโซลูชันนั้น */
.path-index { position: relative; width: 100%; max-width: 640px; margin: clamp(16px, 3svh, var(--cs-space-8)) auto clamp(16px, 3svh, var(--cs-space-10)); border-top: var(--cs-border-hairline) solid var(--cs-border-subtle); text-align: left; }
.path-index-item {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: var(--cs-space-4);
  min-height: 40px; padding: clamp(14px, 2.4svh, var(--rhy-5)) var(--cs-space-1);
  text-decoration: none; color: inherit; border-bottom: var(--cs-border-hairline) solid var(--cs-border-subtle);
  transition: border-color var(--cs-duration-slow) var(--cs-ease-standard);
}
.path-index-num { font-family: var(--cs-font-mono); font-size: var(--cs-size-mono); letter-spacing: 0.04em; color: var(--cs-content-secondary); }
.path-index-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.path-index-label {
  font-family: var(--cs-font-thai-display); font-weight: var(--cs-weight-semibold); font-style: normal;
  line-height: var(--cs-leading-thai-display); letter-spacing: var(--cs-tracking-thai-display);
  font-size: clamp(28px, 2.6vw + 2.2svh, 52px); color: var(--cs-content-primary);
  transition: color var(--cs-duration-slow) var(--cs-ease-standard);
}
.path-index-sub { font-size: var(--cs-size-thai-dense); color: var(--cs-content-secondary); }
.path-index-arrow { display: grid; place-items: center; flex: none; width: var(--cs-icon-lg); height: var(--cs-icon-lg); color: var(--cs-content-secondary); transition: transform var(--cs-duration-slow) var(--cs-ease-standard), color var(--cs-duration-slow) var(--cs-ease-standard); }
.path-index-arrow .ic { width: 100%; height: 100%; }
.path-index-item:hover, .path-index-item:focus-visible { border-bottom-color: var(--cs-border-brand); }
/* ป้ายดัชนีเป็นตัวเอียงตั้งแต่แรก (เจ้าของงานตัดสิน 2026-09-29: การสลับตั้งตรงเป็นเอียงตอน hover ดูแปลกทุกแบบที่ลอง)
   hover เปลี่ยนเฉพาะสี ซึ่งเปลี่ยนแบบต่อเนื่องได้จริง */
.path-index-label { font-style: italic; font-weight: var(--cs-weight-regular); transition: color var(--cs-duration-slow) var(--cs-ease-standard); }
.path-index-item:hover .path-index-label, .path-index-item:focus-visible .path-index-label { color: var(--cs-content-brand); }
.path-index-item:hover .path-index-arrow, .path-index-item:focus-visible .path-index-arrow { color: var(--cs-content-brand); transform: translate(3px, -3px); }
.path-index-item:focus-visible { outline: none; box-shadow: var(--cs-focus-ring); border-radius: var(--cs-radius-sm); }
html.js:not([data-motion="still"]) .path-index-item {
  opacity: 0; translate: 0 12px;
  transition: opacity 400ms var(--cs-ease-decelerate), translate 400ms var(--cs-ease-decelerate);
}
html.js:not([data-motion="still"]) .chapter[data-active] .path-index-item:nth-child(1) { transition-delay: 100ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .path-index-item:nth-child(2) { transition-delay: 180ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .path-index-item:nth-child(3) { transition-delay: 260ms; }
html.js:not([data-motion="still"]) .chapter[data-active] .path-index-item { opacity: 1; translate: 0 0; }
@media (max-width: 719.98px) {
  .ch-hero-top { padding-top: calc(var(--nav-h) + var(--cs-space-4)); padding-bottom: var(--cs-space-4); }
}
/* มือถือจอเตี้ย (360x640): ระยะบนของ hero ลดลงหน่อยให้ข้อความและปุ่มไม่ล้ำแถบจุดล่าง (เจ้าของงาน 2026-09-30 ทุกบทพอดีหนึ่งจอ) */
@media (max-width: 719.98px) and (max-height: 700px) {
  .ch-hero-top { padding-top: calc(var(--nav-h) + var(--cs-space-2)); }
}
@media (max-width: 719.98px) {
  .path-index { margin-top: var(--cs-space-3); margin-bottom: 0; max-width: none; }
  .path-index-item { padding: var(--cs-space-2) 0; column-gap: var(--cs-space-3); min-height: 0; }
  .path-index-label { font-size: clamp(22px, 7vw, 32px); }
  /* บรรทัดประโยชน์ซ่อนเฉพาะจอ <720 (เนื้อหายังอยู่ให้ screen reader อ่าน ไม่ใช่ display:none): สามแถวมีเลข+คำ+ลูกศรพอแล้วในพื้นที่แคบ
     ตามรูปแบบเดียวกับ .mobile-sr ที่เจ้าของงานอนุมัติแล้วใน .icon-item (site.css) ป้องกันบทล้นใต้แถบจุดที่ 331x719 และ 360x640 */
  .path-index-sub { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .path-index-main { gap: 0; }
  .path-index-arrow { width: 20px; height: 20px; }
}

/* ─── หมวด 10: มือถือ (<720px) จัดกลางบทที่ใช้ ch-split/ch-showcase ระหว่างแคปซูลนำทางกับแถบจุด
   สืบจาก home.css หัวข้อ บทมือถือ แต่ผูกกับคลาสหน้าแทน id ของบท (ต้อง scope ด้วยคลาสหน้า ตามกติกาที่ห้ามแก้ site.css) ─── */
@media (max-width: 719.98px) {
  .page-solutions .chapter.ch-split, .page-solutions .chapter.ch-showcase,
  .page-platform .chapter.ch-split, .page-platform .chapter.ch-showcase {
    display: grid; align-content: center; justify-items: stretch;
    padding-top: calc(env(safe-area-inset-top, 0px) + 52px + var(--cs-space-2)); padding-bottom: var(--mobile-dots-h);
  }
}
