/* คู่มือร้าน POMPKINS — ใช้ร่วมทุกหน้าใน /manual/
   แนวทางหน้าตาแบบ Stripe Guides (owner สั่ง 23 พ.ย. 69): หัวเอียงไล่สี · การ์ดสีทึบมีลายเส้น ·
   สารบัญซ้ายติดจอ · เนื้อหากว้าง ~760px · รูปวางบน "เวที" สีอ่อน · รูปมือถืออยู่ในกรอบโทรศัพท์
   เว็บนี้เป็นธีมสว่างทั้งเว็บ ⇒ ไม่ทำโหมดมืด
   แก้ไฟล์นี้แล้วต้อง bump ?v= ในทุกหน้า /manual/*.html (HTML no-cache แต่ CSS แคช 7 วัน) */
:root {
  --navy: #0A2540;
  --text: #425466;
  --mute: #6B7C93;
  --line: #E3E8EE;
  --bg-soft: #F6F9FC;
  --pumpkin: #F08A2C;
  --pumpkin-deep: #C2560A;
  --link: #C2560A;
  --merchant: #06C755;
  --font: "IBM Plex Sans Thai", -apple-system, "Segoe UI", system-ui, sans-serif;
  --shadow-card: 0 13px 27px -5px rgba(50,50,93,.18), 0 8px 16px -8px rgba(0,0,0,.2);
  --shadow-shot: 0 30px 60px -12px rgba(50,50,93,.22), 0 18px 36px -18px rgba(0,0,0,.25);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font); color: var(--text); background: #fff;
  font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--navy); line-height: 1.3; }
b, strong { color: var(--navy); font-weight: 600; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ── แถบบน ── */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(227,232,238,.8); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.nav .brand { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 600; font-size: 16px; text-decoration: none; }
.nav .brand img { height: 28px; width: 90px; object-fit: cover; object-position: left center; } /* โลโก้เป็นรูปยาวมี Order with Google ต่อท้าย ⇒ ตัดเอาแค่ส่วน POMPKINS */
.nav .brand span { padding-left: 12px; border-left: 1px solid var(--line); line-height: 22px; }
.nav .right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.nav .lk { color: var(--navy); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav .lk:hover { background: var(--bg-soft); text-decoration: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; background: var(--navy); color: #fff; }
.pill:hover { background: #1b3a5c; text-decoration: none; }
.pill::after { content: "›"; font-size: 18px; line-height: 1; transition: transform .15s; }
.pill:hover::after { transform: translateX(2px); }
.pill.light { background: var(--bg-soft); color: var(--navy); }
.pill.light:hover { background: #E9EEF4; }

/* ── หัวหน้าสารบัญ (แบบ Stripe Guides: ข้อความซ้าย + การ์ดเรียงเหลื่อมขวา + พื้นเทา ตัดเอียงขาว) ── */
.ghero { position: relative; overflow: hidden; background: var(--bg-soft); padding: 0 0 96px; }
.ghero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: #fff; clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 100%); }
.ghero .wrap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 24px; }
.ghero .htext { grid-column: 1 / span 2; grid-row: 1; padding-top: 120px; position: relative; z-index: 1; }
.ghero h1 { font-size: clamp(44px, 6.2vw, 78px); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 32px; }
.ghero .htext p { font-size: 21px; line-height: 1.65; max-width: 520px; margin: 0; }
.ghero .hcol { grid-row: 1; display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 2; }
.ghero .hcol.c2 { grid-column: 2; padding-top: 470px; }
.ghero .hcol.c3 { grid-column: 3; padding-top: 220px; }
.ghero .hcol.c4 { grid-column: 4; padding-top: 24px; }
.gridlines { position: absolute; inset: 0; pointer-events: none; }
.gridlines .wrap { height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 24px; }
.gridlines .wrap span { border-left: 1px dashed rgba(10,37,64,.08); }
.gridlines .wrap span:last-child { border-right: 1px dashed rgba(10,37,64,.08); }

/* ── การ์ดบท (สีทึบ + ลายเส้นครึ่งล่าง) ── */
.gc {
  position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 30px 28px;
  border-radius: 8px; color: #fff; overflow: hidden;
  background: var(--pat) no-repeat 100% 100% / 135% auto, var(--c, #0A84F5);
  box-shadow: 0 30px 50px -24px rgba(50,50,93,.3), 0 18px 36px -24px rgba(0,0,0,.25);
}
a.gc { transition: transform .18s, box-shadow .18s; }
a.gc:hover { transform: translateY(-4px); text-decoration: none; box-shadow: 0 40px 60px -24px rgba(50,50,93,.4), 0 22px 40px -24px rgba(0,0,0,.3); }
.gc .cat { font-size: 15px; font-weight: 500; opacity: .78; }
.gc .t { font-size: 25px; font-weight: 600; line-height: 1.3; margin-top: 14px; }
.gc .go { margin-top: auto; font-weight: 600; font-size: 16px; }
.gc .go::after { content: " ›"; }
.gc .soon { margin-top: auto; align-self: flex-start; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.2); padding: 2px 10px; border-radius: 999px; }
.c-orange { --c: #FF7A1A; } .c-pink { --c: #FF5A93; } .c-blue { --c: #0A84F5; } .c-purple { --c: #9F6BFF; }
.c-navy { --c: #2B2E6B; } .c-green { --c: #00A982; } .c-red { --c: #EF5350; } .c-sky { --c: #1FA6D6; }
.pa { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.42' stroke-width='1.4'%3E%3Crect x='-40' y='110' width='330' height='84' rx='42'/%3E%3Crect x='15' y='144' width='330' height='84' rx='42'/%3E%3Crect x='70' y='178' width='330' height='84' rx='42'/%3E%3Crect x='125' y='212' width='330' height='84' rx='42'/%3E%3Crect x='180' y='246' width='330' height='84' rx='42'/%3E%3Crect x='235' y='280' width='330' height='84' rx='42'/%3E%3Cpath d='M220 110v190M330 110v190'/%3E%3C/g%3E%3C/svg%3E"); }
.pb { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.42' stroke-width='1.4'%3E%3Ccircle cx='90' cy='300' r='24'/%3E%3Ccircle cx='90' cy='300' r='48'/%3E%3Ccircle cx='90' cy='300' r='72'/%3E%3Ccircle cx='90' cy='300' r='96'/%3E%3Ccircle cx='90' cy='300' r='120'/%3E%3Ccircle cx='90' cy='300' r='144'/%3E%3Ccircle cx='330' cy='190' r='18'/%3E%3Ccircle cx='330' cy='190' r='36'/%3E%3Ccircle cx='330' cy='190' r='54'/%3E%3Ccircle cx='330' cy='190' r='72'/%3E%3Ccircle cx='330' cy='190' r='90'/%3E%3Ccircle cx='330' cy='190' r='108'/%3E%3Cpath d='M0 150h400M200 150v150M260 230h140'/%3E%3C/g%3E%3C/svg%3E"); }
.pc { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.42' stroke-width='1.4'%3E%3Cpath d='M0 130h400M0 215h400M100 130v170M200 130v170M300 130v170'/%3E%3Ccircle cx='150' cy='172' r='26'/%3E%3Ccircle cx='150' cy='257' r='26'/%3E%3Cpath d='M200 300L400 100M300 300L400 200M200 215L300 130'/%3E%3Cpath d='M0 300a100 100 0 0 1 100-100M0 260a60 60 0 0 1 60-60'/%3E%3C/g%3E%3C/svg%3E"); }
.pd { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.42' stroke-width='1.4'%3E%3Cpath d='M-170 300L0 130'/%3E%3Cpath d='M-158 300L12 130'/%3E%3Cpath d='M-146 300L24 130'/%3E%3Cpath d='M-134 300L36 130'/%3E%3Cpath d='M-122 300L48 130'/%3E%3Cpath d='M-110 300L60 130'/%3E%3Cpath d='M-98 300L72 130'/%3E%3Cpath d='M-86 300L84 130'/%3E%3Cpath d='M-74 300L96 130'/%3E%3Cpath d='M-62 300L108 130'/%3E%3Cpath d='M-50 300L120 130'/%3E%3Cpath d='M-38 300L132 130'/%3E%3Cpath d='M-26 300L144 130'/%3E%3Cpath d='M-14 300L156 130'/%3E%3Cpath d='M-2 300L168 130'/%3E%3Cpath d='M10 300L180 130'/%3E%3Cpath d='M22 300L192 130'/%3E%3Cpath d='M34 300L204 130'/%3E%3Cpath d='M46 300L216 130'/%3E%3Cpath d='M58 300L228 130'/%3E%3Cpath d='M70 300L240 130'/%3E%3Cpath d='M82 300L252 130'/%3E%3Cpath d='M94 300L264 130'/%3E%3Cpath d='M106 300L276 130'/%3E%3Cpath d='M118 300L288 130'/%3E%3Cpath d='M150 300a125 125 0 0 1 250 0M210 300a65 65 0 0 1 130 0M240 160a40 40 0 0 1 80 0'/%3E%3C/g%3E%3C/svg%3E"); }
.pe { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.42' stroke-width='1.4'%3E%3Cpath d='M40 120h200l160 180M40 120v180M40 120l180 180M240 120v180'/%3E%3Cpath d='M300 300.0V300'/%3E%3Cpath d='M309 291.9V300'/%3E%3Cpath d='M318 283.8V300'/%3E%3Cpath d='M327 275.7V300'/%3E%3Cpath d='M336 267.6V300'/%3E%3Cpath d='M345 259.5V300'/%3E%3Cpath d='M354 251.4V300'/%3E%3Cpath d='M363 243.3V300'/%3E%3Cpath d='M372 235.2V300'/%3E%3Cpath d='M381 227.1V300'/%3E%3Cpath d='M390 219.0V300'/%3E%3Cpath d='M399 210.89999999999998V300'/%3E%3Cpath d='M240 210h160'/%3E%3C/g%3E%3C/svg%3E"); }
.pf { --pat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.42' stroke-width='1.4'%3E%3Crect x='40' y='140' width='120' height='120' rx='14'/%3E%3Crect x='70' y='170' width='60' height='60' rx='8'/%3E%3Ccircle cx='290' cy='220' r='16'/%3E%3Ccircle cx='290' cy='220' r='32'/%3E%3Ccircle cx='290' cy='220' r='48'/%3E%3Ccircle cx='290' cy='220' r='64'/%3E%3Ccircle cx='290' cy='220' r='80'/%3E%3Ccircle cx='290' cy='220' r='96'/%3E%3Ccircle cx='290' cy='220' r='112'/%3E%3Cpath d='M0 300h400M160 200h40'/%3E%3C/g%3E%3C/svg%3E"); }

/* ── กลุ่มบทบนหน้าแรก ── */
.group { padding: 64px 0 8px; }
.group header { margin-bottom: 24px; }
.group h2 { font-size: 30px; font-weight: 600; margin: 0 0 4px; }
.group header p { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards .gc { min-height: 300px; }

/* ช่องทาง 3 แบบ */
.chan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.chan > div { background: var(--bg-soft); border-radius: 12px; padding: 22px 24px; }
.chan h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.chan p { margin: 0; font-size: 15px; line-height: 1.65; }

/* ── หัวบทความ ── */
.ahero { position: relative; overflow: hidden; padding: 56px 0 64px; background: var(--bg-soft); }
.ahero .wrap { position: relative; display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: end; }
.crumb { font-size: 15px; color: var(--mute); margin-bottom: 14px; }
.crumb a { color: var(--navy); font-weight: 500; }
.ahero h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 600; margin: 0 0 14px; letter-spacing: -.01em; }
.ahero .sub { font-size: 20px; line-height: 1.6; color: var(--text); margin: 0; max-width: 680px; }
.meta { background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); padding: 22px 24px; font-size: 15px; }
.meta dl { margin: 0 0 16px; display: grid; gap: 12px; }
.meta dt { font-size: 13px; font-weight: 600; color: var(--mute); }
.meta dd { margin: 2px 0 0; color: var(--navy); line-height: 1.55; }
.meta .pill { width: 100%; justify-content: center; }

/* ── เนื้อหา + สารบัญซ้าย ── */
.body { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 64px; padding-top: 56px; padding-bottom: 40px; }
.toc { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; font-size: 14px; }
.toc summary { list-style: none; font-weight: 600; color: var(--navy); font-size: 14px; margin-bottom: 10px; cursor: default; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 5px 0 5px 16px; margin-left: -1px; color: var(--mute); line-height: 1.45; border-left: 2px solid transparent; }
.toc li a:hover { color: var(--navy); text-decoration: none; }
.toc li a.on { color: var(--pumpkin-deep); border-left-color: var(--pumpkin); font-weight: 600; }

.doc > :first-child { margin-top: 0; }
.doc h2 { font-size: 32px; font-weight: 600; margin: 72px 0 16px; letter-spacing: -.005em; }
.doc h3 { font-size: 21px; font-weight: 600; margin: 36px 0 10px; }
.doc p { margin: 0 0 18px; }
.doc ul { padding-left: 22px; margin: 0 0 22px; }
.doc ul li { margin: 6px 0; }
.doc ul li::marker { color: var(--pumpkin); }
.ui { display: inline-block; padding: 0 8px; border-radius: 6px; background: #EEF2F7; color: var(--navy); font-weight: 500; font-size: .92em; line-height: 1.6; }
.path { color: var(--navy); font-weight: 600; }

/* ขั้นตอน */
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 28px; }
ol.steps > li { position: relative; counter-increment: s; padding: 0 0 30px 52px; }
ol.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; display: grid; place-items: center; line-height: 1;
}
ol.steps > li::after { content: ""; position: absolute; left: 15.5px; top: 40px; bottom: 6px; width: 1px; background: var(--line); }
ol.steps > li:last-child::after { display: none; }
ol.steps > li > b:first-child { display: block; font-size: 19px; line-height: 32px; margin-bottom: 4px; }
ol.steps > li > p { margin-bottom: 10px; }

/* รูปบนเวที */
.shot { margin: 18px 0 30px; }
.shot .stage {
  display: flex; justify-content: center; align-items: center; padding: 36px; border-radius: 14px; overflow: hidden;
  background: radial-gradient(80% 120% at 0% 0%, #FFF1DE 0%, transparent 60%), radial-gradient(80% 120% at 100% 100%, #EFE9FF 0%, transparent 60%), var(--bg-soft);
}
.shot .stage a { display: block; }
.shot .stage img { border-radius: 10px; box-shadow: var(--shadow-shot); background: #fff; }
.shot.narrow .stage img { max-width: 480px; }
.shot.mid .stage img { max-width: 560px; }
.shot.bleed .stage { padding: 36px 0 0 36px; justify-content: flex-start; align-items: flex-end; }
.shot.bleed .stage img { border-radius: 10px 0 0 0; }
.shot figcaption { font-size: 14px; color: var(--mute); margin-top: 12px; line-height: 1.6; text-align: center; }
/* กรอบมือถือ */
.phone { width: 260px; flex: none; border-radius: 40px; padding: 10px; background: #0A2540; box-shadow: var(--shadow-shot); }
.phone img { border-radius: 30px !important; box-shadow: none !important; width: 100%; }
.shot .stage.duo { gap: 36px; flex-wrap: wrap; }
.shot .stage.duo .ph { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shot .stage.duo .ph span { font-size: 14px; font-weight: 600; color: var(--navy); }

/* กล่องหมายเหตุ */
.note { border-radius: 10px; padding: 16px 20px 16px 52px; margin: 22px 0 28px; position: relative; font-size: 16px; line-height: 1.65; background: var(--bg-soft); }
.note::before { position: absolute; left: 18px; top: 16px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; }
.note b { display: block; margin-bottom: 2px; }
.note p { margin: 0; }
.note.info { background: #EEF4FF; } .note.info::before { content: "i"; background: #0073E6; }
.note.tip { background: #E9F8F1; } .note.tip::before { content: "✓"; background: #00A37A; }
.note.warn { background: #FFF5E6; } .note.warn::before { content: "!"; background: #E07B00; }

/* ตาราง */
.tbl { width: 100%; border-collapse: collapse; margin: 10px 0 30px; font-size: 15.5px; line-height: 1.6; }
.tbl th { text-align: left; font-size: 13px; font-weight: 600; color: var(--mute); padding: 0 14px 10px 0; border-bottom: 1px solid var(--line); }
.tbl td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl td:first-child { color: var(--navy); font-weight: 600; min-width: 150px; }
.tbl td.def { white-space: nowrap; color: var(--navy); }

/* ป้ายสถานะ */
.st { display: inline-block; padding: 0 10px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 24px; white-space: nowrap; }
.st.pending { background: #FFF1C2; color: #7A5200; }
.st.confirmed { background: #DDEBFF; color: #0B4FA8; }
.st.seated { background: #D9F5E6; color: #0B6B3A; }
.st.late { background: #FFE2D1; color: #9A3A00; }
.st.end { background: #EEF2F7; color: #5B6B7E; }

/* คำถามที่พบบ่อย */
.doc details { border-bottom: 1px solid var(--line); }
.doc details summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; color: var(--navy); font-weight: 600; font-size: 17px; }
.doc details summary::-webkit-details-marker { display: none; }
.doc details summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--mute); }
.doc details[open] summary::after { content: "–"; }
.doc details p { margin: 0 0 18px; }

/* บทอื่น */
.more { background: var(--bg-soft); padding: 64px 0 72px; margin-top: 40px; }
.more h2 { font-size: 26px; font-weight: 600; margin: 0 0 22px; }
.more .cards .gc { min-height: 240px; }

/* ท้ายหน้า */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--mute); }
.foot .wrap { display: flex; gap: 12px 24px; justify-content: space-between; flex-wrap: wrap; }
.foot a { color: var(--navy); }

/* ── จอแคบ ── */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .ghero .hcol.c2 { padding-top: 520px; }
  .body { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  .ahero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .body { display: block; padding-top: 28px; }
  .toc { position: static; max-height: none; margin-bottom: 8px; background: var(--bg-soft); border-radius: 10px; padding: 14px 18px; }
  .toc summary { margin: 0; cursor: pointer; }
  .toc summary::after { content: " ▾"; color: var(--mute); }
  .toc details[open] summary { margin-bottom: 10px; }
  .ghero .wrap { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .ghero .htext { grid-column: 1 / -1; padding: 72px 0 40px; }
  .ghero .hcol { display: contents; }
  .ghero .gc { min-height: 260px; }
  .ghero::before { height: 30%; }
  .gridlines { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .chan { grid-template-columns: 1fr; }
  .group header { display: block; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav .lk { display: none; }
  .nav .brand span { display: none; }
  .ghero .htext { padding-top: 56px; }
  .ghero .htext p, .ahero .sub { font-size: 18px; }
  .ghero .wrap { column-gap: 12px; }
  .ghero .hcol { gap: 12px; }
  .ghero .wrap > .hcol, .ghero .gc { margin-bottom: 0; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gc, .cards .gc, .ghero .gc, .more .cards .gc { min-height: 200px; padding: 18px 16px; }
  .gc .cat { font-size: 12.5px; }
  .gc .t { font-size: 19px; margin-top: 6px; }
  .doc h2 { font-size: 26px; margin-top: 56px; }
  .shot .stage { padding: 20px; margin: 0 -18px; border-radius: 0; }
  .shot.bleed .stage { padding: 20px 0 0 20px; }
  .phone { width: 230px; border-radius: 34px; padding: 8px; }
  .phone img { border-radius: 26px !important; }
  .shot .stage.duo { gap: 24px; }
  ol.steps > li { padding-left: 44px; }
  ol.steps .shot .stage { margin-left: -62px; } /* ออกจากระยะเยื้องของขั้นตอน ให้เวทีเต็มจอ */
  ol.steps .shot figcaption { margin-left: -44px; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .tbl td { border: 0; padding: 2px 0; }
  .tbl td[data-h]::before { content: attr(data-h) " · "; color: var(--mute); font-size: 13px; font-weight: 600; }
}
.shot.slim .stage img { max-width: 320px; }
@media (max-width: 600px) { .shot.slim .stage img { max-width: 260px; } }

/* ── แท็บช่องทาง (Portal · แอปร้าน 4.0 · LINE OA) — ทุกบทต้องมีครบ 3 แท็บ (owner 23 พ.ย. 69)
   แท็บไหนทำไม่ได้ ใช้กล่อง .gap บอกตรง ๆ + แจ้งสายที่ดูแลให้ทำเพิ่ม ── */
.tabs { margin: 8px 0 24px; }
.tablist { position: sticky; top: 64px; z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; margin: 0 0 8px; background: rgba(246,249,252,.94); backdrop-filter: blur(10px); border-radius: 12px; border: 1px solid var(--line); }
.tablist button { font: inherit; cursor: pointer; border: 0; background: transparent; border-radius: 8px; padding: 9px 10px; color: var(--mute); display: flex; flex-direction: column; align-items: center; line-height: 1.3; }
.tablist button span { font-size: 16px; font-weight: 600; }
.tablist button small { font-size: 12.5px; }
.tablist button:hover { color: var(--navy); }
.tablist button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 6px rgba(50,50,93,.12), 0 1px 2px rgba(0,0,0,.06); }
.tablist button[aria-selected="true"] span { color: var(--pumpkin-deep); }
.js-tabs .panel[hidden] { display: none; }
.panel { padding-top: 8px; }
.panel + .panel { border-top: 1px dashed var(--line); margin-top: 32px; } /* ไม่มี JS = เห็นทุกช่องทางต่อกัน */
.js-tabs .panel + .panel { border: 0; margin: 0; }
.panel-where { font-size: 15px; color: var(--mute); margin: 10px 0 4px !important; }
.panel > h3:first-of-type { margin-top: 20px; }
.gap { border: 1px dashed #F0B37E; background: #FFF8F0; border-radius: 12px; padding: 22px 24px; margin: 18px 0 22px; }
.gap b { display: block; font-size: 18px; margin-bottom: 4px; }
.gap p { margin: 0 0 14px; }
.gap-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.gap-btns button { font: inherit; border: 0; cursor: pointer; }
@media (max-width: 600px) {
  .tablist { top: 64px; margin-left: -18px; margin-right: -18px; border-radius: 0; border-left: 0; border-right: 0; }
  .tablist button span { font-size: 14.5px; }
  .tablist button small { font-size: 11px; }
}

/* ── ค้นหาในคู่มือ (owner 23 พ.ย. 69 "ต้องมี search") · .sdlg z-index ต้องสูงกว่าปุ่มลอยปอมปอม #pk-chat-fab (120) ไม่งั้นบังกล่องค้นหา — ดัชนีอยู่ /manual/search.json สร้างตอน build ── */
.sbtn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--mute); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.sbtn:hover { border-color: #C9D2DD; color: var(--navy); }
.sbtn svg { width: 16px; height: 16px; flex: none; }
.sbtn kbd { font: 600 11px/1 inherit; padding: 4px 6px; border-radius: 6px; background: var(--bg-soft); color: var(--mute); }
.sbtn.big { width: 100%; max-width: 520px; height: 56px; padding: 0 18px; margin-top: 28px; font-size: 17px; border-radius: 14px; box-shadow: 0 6px 20px rgba(10,37,64,.06); }
.sbtn.big span { flex: 1; text-align: left; }
.sdlg { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(10,37,64,.32); padding: 10vh 16px 16px; }
.sdlg.open { display: block; }
.sdlg .box { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(10,37,64,.25); overflow: hidden; display: flex; flex-direction: column; max-height: 80vh; }
.sdlg .inp { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.sdlg .inp svg { width: 20px; height: 20px; color: var(--mute); flex: none; }
.sdlg input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 18px; padding: 18px 0; color: var(--navy); background: transparent; min-width: 0; }
.sdlg .x { border: 0; background: var(--bg-soft); color: var(--mute); border-radius: 8px; font: inherit; font-size: 13px; padding: 6px 10px; cursor: pointer; }
.sdlg ul { list-style: none; margin: 0; padding: 8px; overflow-y: auto; }
.sdlg li a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; }
.sdlg li a:hover, .sdlg li a.on { background: var(--bg-soft); }
.sdlg .r-t { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; color: var(--navy); font-weight: 600; font-size: 16px; }
.sdlg .r-c { font-size: 12px; font-weight: 600; color: var(--mute); padding: 2px 8px; border-radius: 999px; background: #EEF2F7; }
.sdlg .r-s { font-size: 14px; color: var(--mute); margin-top: 4px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sdlg mark { background: #FFE3C4; color: inherit; border-radius: 3px; padding: 0 1px; }
.sdlg .empty { padding: 28px 22px 26px; color: var(--text); }
.sdlg .empty p { margin: 0 0 16px; }
.sdlg .empty .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sdlg .hint { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute); }
.sdlg .hint a { color: var(--navy); font-weight: 600; }
@media (max-width: 600px) {
  .sdlg { padding: 0; }
  .sdlg .box { max-height: 100vh; height: 100%; border-radius: 0; }
  .nav .sbtn kbd, .nav .sbtn .lbl { display: none; }
  .nav .sbtn { width: 38px; padding: 0; justify-content: center; }
  .sbtn.big { height: 52px; font-size: 16px; }
}
.nav .brand span { white-space: nowrap; }
@media (max-width: 900px) { .nav .sbtn kbd { display: none; } .nav .right .lk:first-of-type { display: none; } }
