/* TKB Engineering — shared look for every calculator. */
:root {
  --ink: #172a25; --ink-2: #40524b; --muted: #6c7a74; --line: #e3e8e5; --line-2: #dfe6e2;
  --bg: #f3f5f3; --card: #fff; --field: #fbfdfb;
  --brand: #1e7654; --brand-ink: #14563f; --brand-soft: #e9f4ed;
  --side: #10231f; --side-ink: #9caea7; --side-active: #1b3930;
  --ok: #3f9a63; --warn: #d38a22; --bad: #c8371e; --bad-soft: #fbe5e2; --info: #2f4f86;
  --note-bg: #fff7e6; --note-line: #f0d79a; --note-ink: #7a5216;
  --radius: 12px;
  --font: 'IBM Plex Sans Thai', system-ui, sans-serif;
  --num: 'Manrope', 'IBM Plex Sans Thai', system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 var(--font); }
a { color: var(--brand); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #4b9a6b; outline-offset: 2px; }

.tkb-shell { display: flex; min-height: 100vh; }
.tkb-side { flex: 0 0 236px; background: var(--side); color: #d6e1dc; padding: 22px 14px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.tkb-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 14px; color: #fff; text-decoration: none; }
.tkb-brand-mark { width: 36px; height: 36px; border: 1px solid #59726a; border-radius: 10px; display: grid; place-items: center; background: #1a3830; }
.tkb-brand b { display: block; font: 800 18px var(--num); letter-spacing: -.5px; }
.tkb-brand b span { color: #66b588; }
.tkb-brand small { font-size: 10px; color: #7f9890; }
.tkb-side-group { padding: 12px 12px 4px; font: 700 10px var(--num); letter-spacing: 1px; color: #5f7a70; }
.tkb-side a.tkb-link { display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 34px; padding: 0 12px; border-radius: 8px; color: var(--side-ink); text-decoration: none; font-size: 13px; }
.tkb-side a.tkb-link:hover { background: #17302a; color: #e3efe9; }
.tkb-side a.tkb-link[aria-current="page"] { background: var(--side-active); color: #eaf7ef; font-weight: 600; }
.tkb-side a.tkb-link.soon { opacity: .55; }
.tkb-side a.tkb-link small { font-size: 10px; color: #6f8a80; margin-left: auto; }
.tkb-tile { display: inline-grid; place-items: center; flex: none; }
.tkb-tile svg { display: block; }
.tkb-side a.tkb-link .tkb-tile { box-shadow: 0 0 0 1px rgb(255 255 255 / .08); }
.tkb-side a.tkb-link:hover .tkb-tile, .tkb-side a.tkb-link[aria-current="page"] .tkb-tile { opacity: 1; }
.tkb-side a.tkb-link > span { line-height: 1.3; padding: 7px 0; }

.tkb-main { flex: 1; min-width: 0; padding: 22px 30px 48px; display: flex; flex-direction: column; gap: 16px; }
.tkb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.tkb-eyebrow { font: 700 11px var(--num); letter-spacing: 1px; color: #5a8f6c; }
.tkb-head h1 { margin: 4px 0 2px; font-size: 26px; font-weight: 600; }
.tkb-head p { margin: 0; font-size: 13px; color: #75817d; }
/* ส่วนหัวค้างไว้ด้านบนทุกหน้า · เงาขึ้นเมื่อเลื่อนลง (scroll-driven, ไม่ต้องใช้ JS) */
.tkb-main > .tkb-head, .tkb-main > .sticky-top { position: sticky; top: 0; z-index: 20; background: var(--bg); margin: -22px -30px 0; padding: 14px 30px 10px; border-bottom: 1px solid transparent; }
@keyframes tkb-stuck { to { box-shadow: 0 6px 16px -10px rgba(20, 40, 30, .35); border-bottom-color: var(--line); } }
@supports (animation-timeline: scroll()) {
  .tkb-main > .tkb-head, .tkb-main > .sticky-top { animation: tkb-stuck linear both; animation-timeline: scroll(root); animation-range: 0 24px; }
}
/* รูปประกอบในหน้าจอ: ย่อให้สมส่วน ไม่ล้นจอ (รายการคำนวณ A4 ใช้ขนาดของตัวเอง) */
.tkb-main .card svg[viewBox] { display: block; max-width: min(100%, 940px); max-height: min(58vh, 520px); height: auto; margin-inline: auto; }
.tkb-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.btn { height: 40px; padding: 0 14px; border: 1px solid #dce4df; background: #fff; border-radius: 8px; font-weight: 500; font-size: 13px; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.btn:hover { border-color: #b9d3c1; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.btn-primary:hover { background: var(--brand-ink); }
.seg { display: inline-flex; background: #fff; border: 1px solid #dce4df; border-radius: 9px; padding: 3px; gap: 2px; }
.seg button { border: 0; border-radius: 7px; height: 34px; padding: 0 12px; font-weight: 600; font-size: 13px; background: transparent; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--brand); color: #fff; }

.tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.tab { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #dce4df; background: #fff; border-radius: 10px; font-weight: 600; font-size: 13px; color: var(--ink-2); text-align: left; cursor: pointer; }
.tab svg { flex: none; }
.tab[aria-selected="true"] { border: 2px solid var(--brand); background: var(--brand-soft); color: var(--brand-ink); padding: 9px 11px; }

.note { margin: 0; padding: 10px 14px; border-radius: 9px; background: var(--note-bg); border: 1px solid var(--note-line); color: var(--note-ink); font-size: 13px; }
.note.bad { background: var(--bad-soft); border-color: #f1b8ae; color: #8a2c22; }
.note.info { background: #eef3fb; border-color: #c9d8ee; color: var(--info); }

.grid { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .grid { grid-template-columns: 1fr; } }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card h2 { margin: 0; font-size: 15px; font-weight: 600; }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }

fieldset.fs { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
fieldset.fs legend { font-size: 12px; font-weight: 600; color: #5a8f6c; padding: 0 0 4px; }
.fld { display: grid; grid-template-columns: minmax(0, 1fr) 128px; align-items: center; gap: 10px; font-size: 13px; color: #4b5b55; }
.fld .box { display: flex; align-items: center; height: 34px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--field); padding: 0 8px; gap: 4px; }
.fld .box:focus-within { border-color: #4b9a6b; }
.fld input, .fld select { width: 100%; min-width: 0; border: 0; background: transparent; font: 600 14px var(--num); color: #1f332b; text-align: right; outline: none; }
.fld select { text-align: left; cursor: pointer; }
.fld small { font-size: 11px; color: #8a978f; white-space: nowrap; }
.fld .sym { color: #8a978f; font-size: 12px; }
.fld.auto input { color: #7a8a83; }
/* ข้อความแนะนำใต้ช่อง + ค่าตั้งต้นที่แนะนำ */
.fld .fld-help { grid-column: 1 / -1; margin-top: -6px; font-size: 11.5px; line-height: 1.45; color: #6f7d77; white-space: normal; }
.fld .rec-btn { font: 600 11px var(--font); color: #7a4d00; background: #fff4dc; border: 1px solid #ecd29a; border-radius: 10px; padding: 0 7px; height: 19px; cursor: pointer; margin-right: 2px; }
.fld .rec-btn:hover { background: #ffe9b8; }
.fld.dflt .box { border-color: #e7c27a; background: #fffaf0; }
.fld.dflt > span:first-child::after { content: ' · ค่าตั้งต้น'; color: #a36a00; font-size: 11px; font-weight: 600; }
.fld.dflt .rec-btn { display: none; }
.fld.bad .box { border-color: #d0453a; background: #fdeeee; }
.fld.bad > span:first-child::after { content: ' · ค่าน้อยเกินไป'; color: #b3392f; font-size: 11px; font-weight: 600; }
details.more summary { cursor: pointer; font-size: 12px; font-weight: 600; color: #5a8f6c; }
details.more[open] summary { margin-bottom: 8px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.tile { padding: 9px 12px; border-radius: 9px; background: #f4f7f5; }
.tile small { display: block; font-size: 12px; color: var(--muted); }
.tile b { font: 800 17px var(--num); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.pill.ok { background: var(--brand-soft); color: var(--brand-ink); }
.pill.bad { background: var(--bad-soft); color: #b3392f; }

.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 4px 26px; }
.chk { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 9px 0; border-bottom: 1px solid #eef1ef; }
.chk span { font-size: 13px; font-weight: 600; color: #2c3f37; }
.chk b { font: 800 14px var(--num); }
.chk i { grid-column: 1 / -1; height: 7px; border-radius: 6px; background: #edf1ee; overflow: hidden; display: block; }
.chk i em { display: block; height: 100%; border-radius: 6px; }
.chk small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }

table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: right; padding: 7px 6px; font-weight: 500; color: var(--muted); font-size: 12px; border-bottom: 1.5px solid var(--line-2); white-space: nowrap; }
table.t th:first-child, table.t td:first-child { text-align: left; }
table.t td { padding: 7px 6px; text-align: right; font-family: var(--num); border-bottom: 1px solid #eef1ef; white-space: nowrap; }
table.t td.ok { color: var(--ok); font-weight: 700; } table.t td.bad { color: var(--bad); font-weight: 700; }
.scroll-x { overflow-x: auto; }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #10231f; color: #fff; padding: 10px 16px; border-radius: 9px; font-size: 13px; z-index: 50; box-shadow: 0 6px 20px rgb(0 0 0 / .2); }

/* ---------- A4 calculation report ---------- */
.report-wrap { display: none; }
body.show-report .tkb-shell { display: none; }
body.show-report .report-wrap { display: block; background: #e8ece9; min-height: 100vh; padding: 20px 0 40px; }
.report-bar { max-width: 210mm; margin: 0 auto 12px; display: flex; gap: 8px; justify-content: flex-end; }
.a4 { width: 210mm; min-height: 297mm; margin: 0 auto 14px; background: #fff; padding: 14mm 14mm 16mm; box-shadow: 0 2px 10px rgb(0 0 0 / .12); font-size: 10.5pt; line-height: 1.45; color: #111; }
.a4 h1 { font-size: 14pt; margin: 0 0 2mm; }
.a4 { position: relative; }
.a4 .rp-disclaimer { position: absolute; left: 14mm; right: 14mm; bottom: 6mm; border-top: 1px solid #bbb; padding-top: 1mm; font-size: 8pt; line-height: 1.3; color: #444; text-align: center; }
.a4 .rp-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1mm 8mm; font-size: 9.5pt; border: 1px solid #999; padding: 2mm 3mm; margin-bottom: 4mm; }
.a4 h2 { font-size: 11pt; margin: 4mm 0 1.5mm; padding-bottom: 1mm; border-bottom: 1px solid #333; break-after: avoid; }
.a4 table { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
.a4 td { padding: .8mm 1.5mm; vertical-align: top; border-bottom: 1px dotted #ccc; }
.a4 td.v { text-align: right; font-family: var(--num); white-space: nowrap; }
.a4 td.u { width: 16mm; color: #444; white-space: nowrap; }
.a4 td.s { width: 16mm; text-align: center; font-weight: 700; }
.a4 td.s.bad { color: #b3261e; }
.a4 td.s.warn { color: #9a5b00; white-space: nowrap; width: auto; }
.a4 .rp-fig { margin: 2mm 0; text-align: center; }
.a4 .rp-fig svg { max-width: 100%; height: auto; max-height: 75mm; }
.a4 .rp-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 10mm; margin-top: 10mm; font-size: 9.5pt; text-align: center; }
.a4 .rp-sign div { border-top: 1px solid #333; padding-top: 1.5mm; }
.a4 .rp-summary { border: 1.5px solid #333; padding: 2mm 3mm; margin-top: 4mm; }
.a4 .rp-summary td:first-child { width: 58mm; }
.a4 .rp-summary td.v { white-space: normal; }
.a4 .rp-summary tr.em td { font-weight: 700; background: #f1f6f3; border-top: 1.5px solid #333; }
.a4 p { margin: 1.2mm 0; font-size: 9.8pt; }
.a4 ul { margin: 0.5mm 0 1.5mm 5mm; padding: 0; font-size: 9.5pt; }
.a4 .rp-rec { border-left: 3px solid #1e7654; padding-left: 2.5mm; }
.a4.rp-detail .rp-fig svg { max-height: 74mm; }
.a4.rp-detail .rp-marks, .a4.rp-detail .rp-notes { font-size: 8.6pt; } .a4.rp-detail .rp-marks td { padding: .5mm 1.5mm; } .a4.rp-detail .rp-fig { margin: 1mm 0; }
.a4.rp-detail.n3 .rp-fig svg { max-height: 52mm; }
.a4.rp-detail .rp-fig[style] svg { max-height: var(--fh); }
.a4.rp-detail.n1 .rp-fig svg { max-height: 120mm; }
.a4 .rp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; align-items: end; break-inside: avoid; }
.a4 .rp-row .rp-fig svg { width: 100%; }
.a4 .rp-marks { margin-top: 2mm; } .a4 .rp-marks td.mk { width: 18mm; font-weight: 800; font-family: var(--num); color: #1e7654; }
.a4 .rp-notes { margin-top: 3mm; border: 1px solid #999; padding: 1.5mm 3mm; font-size: 9pt; } .a4 .rp-notes ol { margin: 1mm 0 0 5mm; padding: 0; }
.detail-figs { display: grid; gap: 10px; } .detail-figs .draw-cap { margin-top: -4px; }
.rp-cap { font-size: 8.5pt; color: #555; text-align: center; margin-top: -1mm; }
.draw-cap { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
@media print {
  @page { size: A4; margin: 0; }
  body.show-report .report-wrap { padding: 0; background: #fff; }
  .report-bar { display: none; }
  /* หนึ่งหน้า A4 = หนึ่งแผ่นพอดี (จัดหน้าจากความสูงจริงไว้แล้ว) · ไม่ให้เกิดแผ่นว่างท้าย */
  .a4 { box-shadow: none; margin: 0; height: 297mm; min-height: 0; overflow: hidden; break-after: page; break-inside: avoid; }
  .a4:last-child { break-after: auto; }
  .a4 tr, .a4 .rp-fig, .a4 .rp-summary, .a4 .rp-sign { break-inside: avoid; }
}

.rebar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; align-items: start; padding: 6px 0; border-top: 1px solid #eef1ef; }
h3.sub { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: #5a8f6c; }
table.t.sched td { vertical-align: middle; }
table.t.sched td:nth-child(2) { text-align: center; padding: 2px 6px; }

/* central project values (shared/project.js) */
.fld.ovr .box { border-color: #e0a64b; background: #fff8ec; }
.fld.ovr > span:first-child::after { content: ' · แก้ทับ'; color: #b26b00; font-size: 11px; }
.gnote { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); padding: 6px 10px; border: 1px dashed var(--line-2); border-radius: 8px; }
.gnote.has { color: #8a5300; border-color: #e0a64b; background: #fff8ec; }
.gnote a { color: var(--brand-ink); font-weight: 600; }
.gnote .btn { height: 26px; font-size: 12px; padding: 0 10px; flex: none; }
.pjline { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fafcfb; }
.pjline .btn { height: 28px; font-size: 12px; flex: none; }
.seg a.seg-a { display: inline-flex; align-items: center; border-radius: 7px; height: 34px; padding: 0 12px; font-weight: 600; font-size: 13px; color: var(--ink-2); text-decoration: none; }
.seg a.seg-a:hover { background: #f1f5f2; }
.seg a.seg-a[aria-current="page"] { background: var(--brand); color: #fff; }

/* narrow screens: the sidebar becomes a scrolling strip of icon links across the top */
@media (max-width: 800px) {
  .tkb-shell { flex-direction: column; }
  .tkb-side { position: sticky; top: 0; z-index: 20; height: auto; flex: none; flex-direction: row; align-items: center; gap: 4px; padding: 8px 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .tkb-side::-webkit-scrollbar { display: none; }
  .tkb-brand { padding: 0 8px 0 0; flex: none; }
  .tkb-brand small, .tkb-side-group { display: none; }
  .tkb-brand b { font-size: 15px; }
  .tkb-brand-mark { width: 30px; height: 30px; }
  .tkb-side a.tkb-link { flex: none; min-height: 34px; padding: 0 10px; white-space: nowrap; }
  .tkb-side a.tkb-link > span { padding: 0; }
  .tkb-main { padding: 16px 14px 40px; }
  .tkb-main > .tkb-head, .tkb-main > .sticky-top { margin: -16px -14px 0; padding: 10px 14px 8px; position: static; }
  .tkb-main .card svg[viewBox] { max-height: none; }
}

/* สิทธิ์ตามแพ็กเกจ */
.tkb-side a.tkb-link.locked { opacity: .4; cursor: not-allowed; }
.tkb-side a.tkb-link.locked:hover { background: transparent; color: var(--side-ink); }
.tkb-acct { margin-top: auto; padding: 12px 0 2px; border-top: 1px solid #22403a; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: #d6e1dc; }
.tkb-acct-card { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.tkb-acct-card:hover, .tkb-acct-card[aria-expanded="true"] { background: #17302a; }
.tkb-acct-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.35; }
.tkb-acct-txt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #eef5f1; }
.tkb-acct-txt small { color: #8aa69b; font-size: 11.5px; }
.tkb-acct-txt .q-trial { color: #8fc1ff; } .tkb-acct-txt .q-low { color: #f0b35a; } .tkb-acct-txt .q-out { color: #f08a7e; }
.tkb-acct-chev { margin-left: auto; color: #8aa69b; font-size: 16px; }
.tkb-acct-btn { margin: 0 10px; align-self: flex-start; font: inherit; font-size: 12px; padding: 5px 10px; border-radius: 7px; border: 1px solid #36574d; background: transparent; color: #d6e1dc; cursor: pointer; text-decoration: none; }
.tkb-acct-btn:hover { background: #17302a; }
.tkb-av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #2f74d0; color: #fff; font: 700 14px var(--num, inherit); }
.tkb-av.big { width: 40px; height: 40px; font-size: 17px; }

/* ป๊อปอัปเมนูบัญชี */
.tkb-menu { position: fixed; z-index: 9000; background: #fff; color: #1f2a27; border-radius: 16px; padding: 8px; box-shadow: 0 16px 40px rgb(15 23 20 / .22), 0 0 0 1px rgb(15 23 20 / .06); font-size: 14px; }
.tkb-menu[hidden] { display: none; }
.tkb-menu hr { border: 0; border-top: 1px solid #eceff0; margin: 6px 4px; }
.tkb-menu-head { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; background: #f3f5f6; }
.tkb-menu-head > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.tkb-menu-head b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tkb-menu-head small { color: #6b7280; font-size: 12px; }
.tkb-menu-head small.q-trial { color: #1d4ed8; } .tkb-menu-head small.q-wait { color: #b45309; } .tkb-menu-head small.q-bad { color: #b91c1c; } .tkb-menu-head small.q-ok { color: #047857; } .tkb-menu-head small.q-low { color: #b45309; } .tkb-menu-head small.q-out { color: #b91c1c; }
.tkb-quota { display: block; height: 6px; margin-top: 4px; border-radius: 4px; background: #e2e8e5; overflow: hidden; }
.tkb-quota i { display: block; height: 100%; background: #2f9e62; border-radius: 4px; }
.tkb-quota.q-low i { background: #f59e0b; } .tkb-quota.q-out i { background: #dc2626; }
.tkb-menu .tkb-mi { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: inherit; font: 600 14px inherit; font-family: inherit; text-decoration: none; text-align: left; cursor: pointer; }
.tkb-menu .tkb-mi:hover, .tkb-menu .tkb-mi:focus-visible, .tkb-submenu a:hover, .tkb-submenu a:focus-visible { background: #f1f4f6; outline: none; }
.tkb-menu .tkb-mi.up svg { color: #f59e0b; }
.tkb-menu .tkb-mi[aria-expanded="true"] .tkb-acct-chev { transform: rotate(90deg); }
.tkb-submenu { display: flex; flex-direction: column; padding: 2px 0 4px 41px; }
.tkb-submenu[hidden] { display: none; }
.tkb-submenu a { padding: 8px 10px; border-radius: 8px; color: #374151; text-decoration: none; font-size: 13.5px; }
@media (max-width: 800px) {
  .tkb-acct { margin: 0 0 0 auto; padding: 0; border: 0; flex: none; flex-direction: row; align-items: center; }
  .tkb-acct-card { width: auto; padding: 4px; }
  .tkb-acct-txt, .tkb-acct-card .tkb-acct-chev { display: none; }
  .tkb-acct-btn { margin: 0; white-space: nowrap; }
}
.tkb-gate { max-width: 560px; margin: 60px auto; padding: 28px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.tkb-gate h2 { margin: 0 0 8px; font-size: 20px; color: var(--ink); }
.tkb-gate p { color: var(--muted); }
.tkb-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 10px; background: #2f74d0; color: #fff; font-weight: 600; text-decoration: none; margin-right: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
