/* ============================================================
   หน้า /services-ai-biometric-voice · วางระบบ PDPA สำหรับข้อมูลชีวมิติ ใบหน้า กล้อง AI และเสียง (16 พ.ย. 2026)
   ธีม "สมุดสตูดิโอบนกระดาษงาช้าง" จากแบบอ้างอิงที่เจ้าของส่ง (styles.refero.design · ElevenLabs)
   แปลงเป็นของเว็บเรา: พื้นกระดาษ #FBF1E9 (สีเดียวกับพื้นภาพเส้นหมึก ภาพจึงกลืนกับหน้า) · หมึกกรมท่า #0E2240 · ทองเป็นเส้นและจุดเน้น
   · หัวข้อ Anuphan น้ำหนักเบา · การ์ดสีกระดาษเข้มขึ้นหนึ่งขั้น ไม่มีเงา · ปุ่มแคปซูล · ป้ายตัวพิมพ์ดีด (monospace) แบบสมุดวิศวกร
   ไม่ใช้ลูกกลมเสียงไล่สีม่วง-ส้มของต้นแบบ · กล่องกรมท่าทึบมีเฉพาะจุดที่เป็น "ผล" (ฝั่งข้อมูลชีวภาพ ผลเครื่องมือ ปิดท้าย)
   ใช้คู่กับ css/svc-notice.css (โครง dn-*) · ทุกกฎจำกัดใต้ body.aibio-page หรือคลาส bm-* จึงไม่กระทบหน้าอื่น
   ============================================================ */
body.aibio-page {
  --b-canvas: #FBF1E9;           /* กระดาษงาช้าง = พื้นภาพ */
  --b-paper: #FFFCF8;            /* กระดาษแผ่นบน (ตัวอย่างเอกสาร ช่องกรอก) */
  --b-taupe: #F3E6D8;            /* พื้นผิวชั้นที่สอง การ์ด */
  --b-stone: #E4D3C1;            /* เส้นบาง */
  --b-ink: #0E2240;              /* หมึกกรมท่า (สีเส้นในภาพ) */
  --b-ink-2: #1A3158;
  --b-graphite: #3A3936;         /* เนื้อความ */
  --b-smoke: #6B6359;            /* ข้อความรอง */
  --b-gold: #C9A24A;             /* เส้นทอง */
  --b-gold-ink: #7A5A12;         /* ทองสำหรับตัวอักษรบนพื้นสว่าง (≥4.5:1) */
  --b-gold-hi: #E7CB80;
  --b-font: 'Anuphan', var(--sans-th);
  --b-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, var(--b-font);
  --b-r: 20px;
  background: var(--b-canvas);
  color: var(--b-graphite);
}
body.aibio-page ::selection { background: var(--b-ink); color: var(--b-canvas); }
body.aibio-page [hidden] { display: none !important; }
.nowrap { white-space: nowrap; }

/* ---------- ตัวอักษร ---------- */
body.aibio-page main, body.aibio-page .breadcrumb { font-family: var(--b-font); font-weight: 400; }
body.aibio-page .breadcrumb { background: var(--b-canvas); border-bottom-color: var(--b-stone); }
body.aibio-page main h1, body.aibio-page main h2, body.aibio-page main h3 { font-family: var(--b-font); color: var(--b-ink); text-wrap: balance; }
/* หัวข้อไทย: วลีสั้นครอบ .nowrap ไว้ในไฟล์หน้า ($nw) · ถ้าวลียาวเกินกรอบให้ตัดได้ กันล้นจอ */
body.aibio-page main h2, body.aibio-page main h3 { overflow-wrap: break-word; }
body.aibio-page main h2 { font-weight: 300; letter-spacing: -0.01em; }
body.aibio-page main h3 { font-weight: 500; letter-spacing: -0.005em; }
body.aibio-page main b, body.aibio-page main strong { font-weight: 600; color: var(--b-ink); }
body.aibio-page main a:not(.btn):not(.related-card):not(.bm-btn):not(.bm-ghost):not(.bm-fact):not(.bm-src-a):not(.dn-more) { color: var(--b-ink); text-decoration: underline; text-decoration-color: var(--b-gold); text-underline-offset: 3px; }
body.aibio-page main a:not(.btn):not(.related-card):not(.bm-btn):not(.bm-ghost):not(.bm-fact):not(.bm-src-a):not(.dn-more):hover { color: var(--b-gold-ink); }
body.aibio-page .section { background: var(--b-canvas); padding-block: clamp(64px, 8vw, 120px); }
body.aibio-page .u-ivory-deep { background: var(--b-taupe); }

.bm-mono { font-family: var(--b-mono); }
.bm-k { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: .78rem; font-weight: 500; letter-spacing: .06em; color: var(--b-gold-ink); }
.bm-k::before { content: ""; width: 22px; height: 1px; background: var(--b-gold); }
.bm-sec-head { max-width: 960px; margin-bottom: clamp(32px, 4vw, 56px); }
.bm-sec-head h2 { margin-top: 16px; font-size: clamp(2rem, 1.1rem + 2.9vw, 3.6rem); line-height: 1.18; }
.bm-sec-head p:not(.bm-k) { margin-top: 18px; max-width: 66ch; font-size: clamp(1.04rem, .98rem + .3vw, 1.2rem); line-height: 1.85; color: var(--b-graphite); text-wrap: pretty; }
.bm-sec-head.center { margin-inline: auto; text-align: center; }
.bm-sec-head.center .bm-k { justify-content: center; }
.bm-sec-head.center .bm-k::before { display: none; }
.bm-sec-head.center p { margin-inline: auto; }

body.aibio-page .dn-ref { font-family: var(--b-font); font-size: .84rem; color: var(--b-smoke); line-height: 1.7; margin-top: 12px; }
body.aibio-page .dn-law { display: inline-block; background: none; border: 0; padding: 0; border-radius: 0; font-family: var(--b-mono); font-size: .74rem; font-weight: 500; letter-spacing: .02em; color: var(--b-gold-ink); white-space: normal; }

/* ---------- ปุ่ม: แคปซูลกรมท่าทึบ (ปุ่มหลักเดียวต่อจอ) · ปุ่มรองกรอบบาง ---------- */
.bm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--b-ink); color: #fff !important; text-decoration: none !important;
  font-family: var(--b-font); font-weight: 500; font-size: 1rem; line-height: 1.3; text-align: center;
  transition: background .25s, transform .3s var(--ease), box-shadow .3s;
}
.bm-btn svg { width: 20px; height: 20px; flex: none; color: #06C755; }
.bm-btn:hover { background: var(--b-ink-2); transform: translateY(-1px); box-shadow: 0 14px 28px -18px rgba(14,34,64,.7); }
.bm-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--b-stone); background: var(--b-paper);
  color: var(--b-ink) !important; text-decoration: none !important; font-family: var(--b-font); font-weight: 500; font-size: 1rem;
  transition: border-color .25s, background .25s;
}
.bm-ghost:hover { border-color: var(--b-gold); background: #fff; }
body.aibio-page .btn { font-family: var(--b-font); font-weight: 500; border-radius: 999px; letter-spacing: 0; }
body.aibio-page .btn-primary { background: var(--b-ink); color: #fff; box-shadow: none; }
body.aibio-page .btn-primary::after { display: none; }
body.aibio-page .btn-primary:hover { background: var(--b-ink-2); color: #fff; box-shadow: 0 14px 28px -18px rgba(14,34,64,.7); transform: translateY(-1px); }

/* ============================================================
   S1 · HERO · ภาพเส้นหมึกชิดขวา พื้นกระดาษสีเดียวกับภาพ ข้อความวางบนพื้นว่างฝั่งซ้ายของภาพ
   ============================================================ */
.bm-hero { position: relative; }
.bm-hero-stage { position: relative; display: flex; align-items: center; min-height: clamp(560px, 46vw, 740px); overflow: hidden; isolation: isolate; }
.bm-hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: min(74%, 1120px); margin: 0; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
.bm-hero-art picture, .bm-hero-art img { display: block; width: 100%; height: 100%; }
.bm-hero-art img { object-fit: cover; object-position: 100% 50%; }
.bm-hero-art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; opacity: 0; transition: opacity .9s ease; }
.bm-hero-art video.is-on { opacity: 1; }
.bm-hero-inner { position: relative; width: 100%; }
.bm-hero-copy { max-width: min(48%, 620px); padding-block: clamp(40px, 5vw, 72px); }
.bm-hero .bm-k { color: var(--b-gold-ink); }
.bm-hero h1 { margin-top: 18px; color: var(--b-ink); }
.bm-h1-main { display: block; font-weight: 300; font-size: clamp(2.3rem, 1.15rem + 3.3vw, 4.1rem); line-height: 1.12; letter-spacing: -0.015em; }
.bm-h1-sub { display: block; margin-top: 16px; font-weight: 400; font-size: clamp(1.1rem, .92rem + .75vw, 1.55rem); line-height: 1.55; color: var(--b-gold-ink); letter-spacing: 0; }
.bm-lead { margin-top: 22px; font-size: clamp(1.04rem, .98rem + .28vw, 1.16rem); line-height: 1.85; color: var(--b-graphite); text-wrap: pretty; }
.bm-hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.bm-facts { display: grid; grid-template-columns: 1fr 1fr 1.3fr; border-block: 1px solid var(--b-stone); }
.bm-fact { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; border-left: 1px solid var(--b-stone); color: inherit; text-decoration: none; transition: background .25s; }
.bm-fact:first-child { border-left: 0; padding-left: 4px; }
a.bm-fact:hover { background: var(--b-taupe); }
.bm-fact-big { font-size: 1.5rem; font-weight: 300; color: var(--b-ink); letter-spacing: -0.01em; }
.bm-fact-t { font-size: .92rem; color: var(--b-smoke); line-height: 1.6; }
.bm-chip { flex-direction: row; align-items: center; gap: 16px; }
.bm-chip img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; flex: none; box-shadow: 0 0 0 1px var(--b-gold); }
.bm-chip > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bm-chip-k { font-size: .8rem; color: var(--b-gold-ink); font-weight: 500; }
.bm-chip strong { font-weight: 600; color: var(--b-ink); font-size: 1.08rem; }
.bm-chip-sub { font-size: .8rem; color: var(--b-smoke); line-height: 1.5; }

/* ============================================================
   ฟอร์มด่วน
   ============================================================ */
.bm-quick-sec { padding-block: clamp(36px, 5vw, 64px) 0; }
.bm-quick-grid { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.bm-quick-copy h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); }
.bm-quick-copy p { margin-top: 8px; color: var(--b-smoke); line-height: 1.7; }
body.aibio-page .form-card { border-color: var(--b-stone); border-radius: var(--b-r); box-shadow: none; background: var(--b-paper); }
body.aibio-page .form-card::before { display: none; }
body.aibio-page .field input, body.aibio-page .field select, body.aibio-page .field textarea { background: #fff; border-color: var(--b-stone); border-radius: 10px; font-family: var(--b-font); }
body.aibio-page .field input:focus, body.aibio-page .field select:focus, body.aibio-page .field textarea:focus { border-color: var(--b-ink); box-shadow: 0 0 0 3px rgba(201,162,74,.25); }
.bm-quick-row { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; }
.bm-quick-row .field { margin: 0; }
.bm-quick-foot { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.bm-quick-foot .consent { flex: 1; margin: 0; }
body.aibio-page .form-card .bm-quick-foot .btn-primary { width: auto; flex: none; }

/* ============================================================
   S2 · คำตอบสั้น + นิยาม
   ============================================================ */
.bm-answer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.bm-answer h2 { margin-top: 14px; font-size: clamp(1.75rem, 1.1rem + 2.1vw, 2.8rem); line-height: 1.24; }
.bm-answer-p { margin-top: 20px; font-size: 1.12rem; line-height: 1.95; color: var(--b-graphite); text-wrap: pretty; }
.bm-points { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--b-stone); }
.bm-points li { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--b-stone); line-height: 1.75; color: var(--b-graphite); }
.bm-define { background: var(--b-taupe); border-radius: var(--b-r); padding: clamp(24px, 2.8vw, 34px); position: sticky; top: calc(var(--header-h, 76px) + 20px); }
.bm-define-h { margin-top: 12px; font-size: 1.5rem; font-weight: 500; line-height: 1.35; }
.bm-quote-law { margin: 16px 0 0; padding: 16px 18px; background: var(--b-paper); border-left: 2px solid var(--b-gold); border-radius: 0 12px 12px 0; }
.bm-quote-law p { font-size: 1rem; line-height: 1.85; color: var(--b-ink); }
.bm-quote-law footer { margin-top: 8px; font-family: var(--b-mono); font-size: .74rem; color: var(--b-gold-ink); }
.bm-define-q { margin-top: 22px; font-size: 1.06rem; }
.bm-define p:not(.dn-ref) { margin-top: 8px; line-height: 1.8; color: var(--b-graphite); }

/* ============================================================
   S3 · 4 ระบบ 4 เส้นแบ่ง · คอม: ภาพซ้ายติดจอ สลับตามแถว · มือถือ: ภาพในแถว
   ============================================================ */
.bm-sys-sec { border-top: 1px solid var(--b-stone); }
.bm-sys { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4.5vw, 80px); align-items: start; }
.bm-sys-stage { position: sticky; top: calc(var(--header-h, 76px) + 28px); }
.bm-sys-frame { position: relative; aspect-ratio: 756 / 500; border-radius: 24px; background: var(--b-canvas); box-shadow: inset 0 0 0 1px var(--b-stone); overflow: hidden; }
.bm-sys-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform 1.1s var(--ease-out-quint); }
.bm-sys-pic.is-on { opacity: 1; transform: none; }
.bm-sys-count { position: absolute; left: 18px; bottom: 14px; font-size: .78rem; color: var(--b-smoke); letter-spacing: .08em; }
.bm-sys-count b { color: var(--b-ink); font-weight: 600; }
.bm-sys-row { padding-block: clamp(34px, 4vw, 56px); border-top: 1px solid var(--b-stone); transition: opacity .4s; }
.bm-sys-row:first-child { border-top: 0; padding-top: 0; }
.bm-sys-inline { display: none; margin: 0 0 18px; }
.bm-sys-inline img { width: 100%; height: auto; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--b-stone); }
.bm-sys-en { display: flex; align-items: center; gap: 12px; font-size: .78rem; letter-spacing: .06em; color: var(--b-gold-ink); }
.bm-sys-en span { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--b-ink); color: var(--b-gold-hi); font-size: .74rem; }
.bm-sys-row h3 { margin-top: 14px; font-size: clamp(1.45rem, 1.05rem + 1.2vw, 2rem); font-weight: 400; line-height: 1.3; }
.bm-sys-who { margin-top: 8px; color: var(--b-smoke); font-size: .95rem; line-height: 1.7; }
.bm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.bm-side { border-radius: 16px; padding: 18px 18px 20px; }
.bm-side--gen { background: var(--b-paper); box-shadow: inset 0 0 0 1px var(--b-stone); }
.bm-side--bio { background: var(--b-ink); color: #EDE6DA; }
.bm-side p { margin-top: 10px; font-size: .96rem; line-height: 1.75; }
.bm-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--b-mono); font-size: .72rem; letter-spacing: .02em; color: var(--b-smoke); }
.bm-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--b-stone); }
.bm-side--bio .bm-tag { color: var(--b-gold-hi); }
.bm-side--bio .bm-tag::before { background: var(--b-gold); box-shadow: 0 0 0 3px rgba(201,162,74,.25); }
.bm-sys-dl { margin: 20px 0 0; display: grid; gap: 16px; }
.bm-sys-dl dt { font-family: var(--b-mono); font-size: .74rem; color: var(--b-gold-ink); letter-spacing: .02em; }
.bm-sys-dl dd { margin: 6px 0 0; line-height: 1.8; color: var(--b-graphite); }
.bm-dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bm-dots li { position: relative; padding-left: 18px; line-height: 1.7; }
.bm-dots li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--b-gold); }
.bm-sys-more { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--b-stone); font-size: .95rem; line-height: 1.8; color: var(--b-smoke); }

/* ============================================================
   S4 · ทางเข้า 2 ช่อง (ภาพชิดขวา ข้อความบนพื้นว่างฝั่งซ้ายของภาพ)
   ============================================================ */
.bm-choice-sec { background: var(--b-canvas); border-top: 1px solid var(--b-stone); }
.bm-choice { position: relative; display: flex; align-items: center; min-height: clamp(560px, 48vw, 760px); overflow: hidden; isolation: isolate; }
.bm-choice-art { position: absolute; top: 0; right: 0; bottom: 0; width: min(72%, 1100px); margin: 0; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
.bm-choice-art picture, .bm-choice-art img { display: block; width: 100%; height: 100%; }
.bm-choice-art img { object-fit: cover; object-position: 100% 50%; }
.bm-choice .container { width: 100%; }
.bm-choice-copy { max-width: min(44%, 560px); padding-block: clamp(56px, 7vw, 100px); }
.bm-choice-h { margin-top: 16px; font-size: clamp(2.1rem, 1.1rem + 3vw, 3.8rem); line-height: 1.15; font-weight: 300; }
.bm-choice-t { margin-top: 18px; font-size: 1.08rem; line-height: 1.9; color: var(--b-graphite); }

/* ============================================================
   S5 · โทษตามตัวบท
   ============================================================ */
.bm-pen-sec { background: var(--b-taupe); }
.bm-pen { overflow-x: auto; border-radius: var(--b-r); background: var(--b-paper); box-shadow: inset 0 0 0 1px var(--b-stone); }
.bm-pen:focus-visible { outline: 2px solid var(--b-gold); outline-offset: 3px; }
.bm-pen-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.bm-pen-table th, .bm-pen-table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--b-stone); line-height: 1.7; }
.bm-pen-table thead th { font-family: var(--b-mono); font-size: .74rem; font-weight: 500; letter-spacing: .04em; color: var(--b-gold-ink); background: transparent; }
.bm-pen-table tbody th { font-weight: 400; color: var(--b-ink); width: 48%; }
.bm-pen-table tbody td:nth-child(2) { font-family: var(--b-mono); font-size: .8rem; color: var(--b-smoke); width: 18%; }
.bm-pen-table tbody td:last-child { color: var(--b-ink); font-weight: 500; }
.bm-pen-table tbody tr:last-child th, .bm-pen-table tbody tr:last-child td { border-bottom: 0; }
.bm-pen-kind { display: inline-block; margin-right: 10px; padding: 1px 10px; border-radius: 999px; font-family: var(--b-mono); font-size: .7rem; font-weight: 500; vertical-align: 2px; }
.bm-pen-admin .bm-pen-kind { background: var(--b-taupe); color: var(--b-ink); }
.bm-pen-crim .bm-pen-kind { background: var(--b-ink); color: var(--b-gold-hi); }
.bm-pen-civil .bm-pen-kind { background: transparent; color: var(--b-gold-ink); box-shadow: inset 0 0 0 1px var(--b-gold); }
.bm-pen-note { margin-top: 18px; max-width: 90ch; font-size: .9rem; line-height: 1.8; color: var(--b-smoke); }

/* ============================================================
   S6 · สิ่งที่ส่งมอบ
   ============================================================ */
.bm-deliv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.bm-dcard { position: relative; background: var(--b-taupe); border-radius: var(--b-r); padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h, 76px) + 24px); }
.bm-dn { font-size: 2.6rem; font-weight: 200; line-height: 1; color: var(--b-gold); }
.bm-den { margin-top: 18px; font-size: .74rem; letter-spacing: .04em; color: var(--b-gold-ink); }
.bm-dcard h3 { margin-top: 8px; font-size: 1.2rem; line-height: 1.45; }
.bm-dcard p:not(.bm-den):not(.bm-dlaw) { margin-top: 12px; line-height: 1.8; color: var(--b-graphite); font-size: .98rem; }
.bm-dlaw { margin-top: auto; padding-top: 16px; font-family: var(--b-mono); font-size: .74rem; color: var(--b-smoke); }
.bm-deliv-more { margin-top: 24px; font-size: .95rem; line-height: 1.8; color: var(--b-smoke); }

/* ============================================================
   S7 · ตัวอย่างแบบขอความยินยอม
   ============================================================ */
.bm-sample-sec { border-top: 1px solid var(--b-stone); }
.bm-sample-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.bm-sample-copy h2 { margin-top: 14px; font-size: clamp(1.8rem, 1.1rem + 2.2vw, 2.9rem); line-height: 1.22; }
.bm-sample-copy > p:not(.bm-k):not(.dn-ref) { margin-top: 16px; line-height: 1.85; }
.bm-legend { list-style: none; counter-reset: lg; margin: 22px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--b-stone); }
.bm-legend li { counter-increment: lg; position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--b-stone); line-height: 1.7; }
.bm-legend li::before { content: counter(lg); position: absolute; left: 0; top: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--b-ink); color: var(--b-gold-hi); font-family: var(--b-mono); font-size: .8rem; }
body.aibio-page .bm-legend .dn-law { display: block; margin-top: 2px; }
.bm-doc { margin: 0; position: sticky; top: calc(var(--header-h, 76px) + 24px); }
.bm-doc-paper { background: var(--b-paper); border-radius: 6px; padding: clamp(26px, 3vw, 40px); box-shadow: 0 1px 0 var(--b-stone), 0 30px 60px -40px rgba(14,34,64,.45); transform: rotate(-.6deg); }
.bm-doc-paper p { position: relative; padding-left: 36px; font-size: .96rem; line-height: 1.85; color: #2C2A26; }
.bm-doc-paper p + p { margin-top: 12px; }
.bm-doc-paper i { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--b-mono); font-size: .72rem; color: var(--b-gold-ink); box-shadow: inset 0 0 0 1px var(--b-gold); }
.bm-doc-k { padding-left: 0 !important; font-size: .72rem !important; color: var(--b-smoke) !important; letter-spacing: .04em; }
.bm-doc-h { font-weight: 600; color: var(--b-ink) !important; }
.bm-doc-tick { display: flex; align-items: center; gap: 10px; }
.bm-box { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--b-ink); border-radius: 3px; background: #fff; }
.bm-doc-sign { padding-left: 0 !important; margin-top: 22px !important; color: var(--b-smoke) !important; }
.bm-doc-sign span { display: inline-block; width: 30%; border-bottom: 1px dotted var(--b-smoke); margin-inline: 6px; }
.bm-doc figcaption { margin-top: 16px; font-size: .82rem; color: var(--b-smoke); line-height: 1.7; text-align: center; }

/* ============================================================
   S8 · เครื่องมือ (โครง dn-tool) · S9 แหล่งอ้างอิง
   ============================================================ */
body.aibio-page .dn-tool-sec { background: var(--b-taupe); }
body.aibio-page .dn-q { background: var(--b-paper); border-color: var(--b-stone); border-radius: 16px; }
body.aibio-page .dn-q legend { font-family: var(--b-font); font-weight: 500; color: var(--b-ink); }
body.aibio-page .dn-qn { background: var(--b-ink); color: var(--b-gold-hi); }
body.aibio-page .dn-opt span { font-family: var(--b-font); border-radius: 12px; background: #fff; }
body.aibio-page .dn-opt input:checked + span { border-color: var(--b-ink); background: #fff; box-shadow: 0 0 0 1px var(--b-ink); }
body.aibio-page .dn-opt input:checked + span::before { border-color: var(--b-ink); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 9px var(--b-ink); }
.bm-chk span::before { border-radius: 4px !important; }
.bm-opts--1 { grid-template-columns: 1fr; }
.bm-opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bm-opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bm-multi { margin-left: 6px; font-size: .78rem; font-weight: 400; color: var(--b-smoke); }
body.aibio-page .dn-result { background: radial-gradient(120% 90% at 100% 0%, #213A66 0%, var(--b-ink-2) 45%, var(--b-ink) 100%); border-radius: var(--b-r); font-family: var(--b-font); position: sticky; top: calc(var(--header-h, 76px) + 20px); }
body.aibio-page .dn-result .dn-r-h { font-family: var(--b-font); font-weight: 400; }
body.aibio-page .dn-result .btn-primary { background: var(--b-canvas); color: var(--b-ink); }
body.aibio-page .dn-result .btn-primary svg { color: #06C755; }
body.aibio-page .dn-result .btn-primary:hover { background: #fff; color: var(--b-ink); }
.bm-gap { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.06); }
.bm-gap b { font-family: var(--b-mono); font-size: 1.6rem; font-weight: 500; color: var(--b-gold-hi); }
.bm-gap span { font-size: .88rem; color: var(--on-navy-muted); line-height: 1.6; }
.bm-r-msg { margin-top: 12px; font-size: .86rem; line-height: 1.7; color: var(--b-gold-hi); }

.bm-src { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.bm-src li { background: var(--b-taupe); border-radius: var(--b-r); padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; }
.bm-src-short { align-self: flex-start; font-family: var(--b-mono); font-size: .74rem; color: var(--b-gold-hi); background: var(--b-ink); border-radius: 999px; padding: 3px 12px; }
.bm-src-name { margin-top: 14px; color: var(--b-ink); font-size: 1.06rem; line-height: 1.6; }
.bm-src-meta { margin-top: 8px; font-family: var(--b-mono); font-size: .76rem; color: var(--b-smoke); }
.bm-src-use { margin-top: 10px; font-size: .94rem; line-height: 1.7; }
.bm-src-a { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--b-gold-ink); font-weight: 500; font-size: .94rem; text-decoration: none; }
.bm-src-a svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.bm-src-a:hover svg { transform: translateX(3px); }

/* ============================================================
   ขั้นตอน ค่าบริการ ทนาย FAQ ปิดท้าย บทความ ให้เข้าธีมกระดาษ
   ============================================================ */
body.aibio-page .dn-steps-sec { background: var(--b-canvas); border-top: 1px solid var(--b-stone); }
body.aibio-page .dn-steps[start="3"] { counter-reset: st 2; }
body.aibio-page .dn-phase-h, body.aibio-page .dn-steps b, body.aibio-page .dn-fcol h3 { font-family: var(--b-font); }
body.aibio-page .dn-fees-sec { background: var(--b-taupe); }
body.aibio-page .dn-fees-copy h2, body.aibio-page .dn-lawyer-body h2 { font-family: var(--b-font); font-weight: 300; letter-spacing: -0.01em; color: var(--b-ink); }
.bm-plans { margin-top: 20px; display: grid; gap: 10px; }
.bm-plans div { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-radius: 14px; background: var(--b-paper); box-shadow: inset 0 0 0 1px var(--b-stone); }
.bm-plans b { color: var(--b-ink); }
.bm-plans span { font-size: .94rem; line-height: 1.7; color: var(--b-graphite); }
body.aibio-page .dn-lawyer-sec { background: var(--b-canvas); }
body.aibio-page .dn-faq-sec { background: var(--b-taupe); }
body.aibio-page .faq-item { border-color: var(--b-stone); }
body.aibio-page .faq-q { font-family: var(--b-font); font-weight: 500; color: var(--b-ink); }
.bm-close { background: radial-gradient(70% 90% at 0% 0%, #1E3762 0%, var(--b-ink) 62%); }
.bm-close .dn-close-copy h2 { font-family: var(--b-font); font-weight: 300; letter-spacing: -0.01em; }
.bm-close .dn-quote { border-radius: var(--b-r); }
.bm-related-sec { border-top: 1px solid var(--b-stone); }
body.aibio-page .related-card { border-color: var(--b-stone); border-radius: 16px; background: var(--b-paper); }
.bm-rel-svc { background: var(--b-ink) !important; border-color: var(--b-ink) !important; }
.bm-rel-svc .rc-t { color: #fff; }
.bm-rel-svc .rc-d { color: var(--on-navy-muted); }
.bm-rel-svc .rc-ic, .bm-rel-svc .rc-arrow { color: var(--b-gold-hi); }

/* ============================================================
   จอเล็ก
   ============================================================ */
@media (max-width: 1080px) {
  .bm-facts { grid-template-columns: 1fr 1fr; }
  .bm-chip { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--b-stone); padding-left: 4px; }
  .bm-deliv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-hero-copy { max-width: min(52%, 600px); }
}
@media (max-width: 920px) {
  .bm-quick-grid, .bm-answer-grid, .bm-sample-grid { grid-template-columns: 1fr; }
  .bm-define, .bm-doc, body.aibio-page .dn-result { position: static; }
  .bm-src { grid-template-columns: 1fr; }
  /* 4 ระบบ: เลิกภาพติดจอ ใช้ภาพในแต่ละแถว */
  .bm-sys { grid-template-columns: 1fr; }
  .bm-sys-stage { display: none; }
  .bm-sys-inline { display: block; }
  .bm-sys-row:first-child { padding-top: 0; }
  /* ภาพเต็มกว้าง ข้อความต่อลงมา (จอแท็บเล็ตแนวตั้งข้อความทับภาพถ้าวางข้างกัน) */
  .bm-hero-stage, .bm-choice { display: block; min-height: 0; }
  .bm-hero-art, .bm-choice-art { position: relative; width: 100%; aspect-ratio: 3 / 2; -webkit-mask-image: none; mask-image: none; }
  .bm-hero-copy, .bm-choice-copy { max-width: none; }
  .bm-hero-copy { padding-block: 8px 34px; }
  .bm-choice-copy { padding-block: 10px clamp(48px, 8vw, 72px); }
}
@media (max-width: 760px) {
  .bm-hero-art { aspect-ratio: 4 / 3; }
  /* มือถือ: ปุ่ม LINE ขึ้นก่อนย่อหน้านำ ให้อยู่ในจอแรก */
  .bm-hero-copy { display: flex; flex-direction: column; }
  .bm-hero-actions { order: 3; margin-top: 22px; }
  .bm-lead { order: 4; margin-top: 22px; }
  .bm-hero-art img, .bm-hero-art video { object-position: 50% 50%; }
  .bm-choice-art { aspect-ratio: 800 / 667; }
  .bm-choice-art img { object-position: 50% 50%; }
  .bm-h1-main { font-size: clamp(2rem, 1.2rem + 4vw, 2.6rem); }
  .bm-hero-actions .bm-btn, .bm-hero-actions .bm-ghost { width: 100%; }
  .bm-facts { grid-template-columns: 1fr; border-block: 0; }
  .bm-fact, .bm-fact:first-child { border-left: 0; border-bottom: 1px solid var(--b-stone); padding: 16px 4px; }
  .bm-chip { border-top: 0; }
  .bm-quick-row { grid-template-columns: 1fr; gap: 0; }
  .bm-quick-foot { flex-direction: column; align-items: stretch; }
  body.aibio-page .form-card .bm-quick-foot .btn-primary { width: 100%; }
  .bm-split { grid-template-columns: 1fr; }
  .bm-deliv { grid-template-columns: 1fr; }
  .bm-opts--2, .bm-opts--3 { grid-template-columns: 1fr; }
  .bm-doc-paper { transform: none; padding: 22px 18px; }
  .bm-pen-table { min-width: 0; }
  .bm-pen-table thead { display: none; }
  .bm-pen-table tr { display: block; padding: 16px 18px; border-bottom: 1px solid var(--b-stone); }
  .bm-pen-table tbody tr:last-child { border-bottom: 0; }
  .bm-pen-table th, .bm-pen-table td { display: block; width: auto !important; padding: 0; border: 0; }
  .bm-pen-table tbody td:nth-child(2) { margin-top: 8px; }
  .bm-pen-table tbody td:last-child { margin-top: 6px; }
}
@media (max-width: 420px) {
  .bm-sec-head h2 .nowrap, .bm-choice-h .nowrap, .bm-sample-copy h2 .nowrap { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-btn, .bm-ghost, .bm-src-a svg, .bm-sys-pic, .bm-hero-art video { transition: none; }
  .bm-doc-paper { transform: none; }
}
