/* Register of Approved Trainers: public page, profiles, certificate, trainer portal and Bureau admin.
   Loaded only on these pages, after styles.css. */

/* ---------- Shared ---------- */
.tr-chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tr-chips li { background: #EEF2F8; color: var(--navy); border: 1px solid #DCE4F0; border-radius: 999px; padding: 5px 13px; font-size: .84rem; font-weight: 500; line-height: 1.4; }
.tr-chips li small { font-size: .7rem; color: var(--muted); margin-left: 4px; }
.tr-chips li.is-ok { background: #EEF5EF; border-color: #CFE3D3; }
.tr-chips li.is-wait { background: #FBF6EA; border-color: #EBDDB8; }
.tr-chips-sm li { font-size: .78rem; padding: 3px 10px; }
.tr-chips-dark li { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; }

/* ---------- Public page ---------- */
.tr-hero .vp-stage-photo { object-position: 88% 35%; }
.tr-hero-card { position: absolute; left: -30px; bottom: -34px; width: 320px; background: linear-gradient(160deg, #1C3563, #14284B 70%); border: 1px solid rgba(217,192,138,.35); border-radius: 18px; box-shadow: 0 26px 50px rgba(11,24,48,.38); padding: 20px; color: #fff; }
.tr-hc-ex { position: absolute; top: 14px; right: 16px; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #8E9BB5; font-weight: 600; }
.tr-hero-card-top { display: flex; gap: 14px; align-items: center; }
.tr-hero-avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; object-fit: cover; box-shadow: 0 0 0 3px #14284B, 0 0 0 5px #D9C08A; }
.tr-hero-card b { display: block; font-size: 1.05rem; line-height: 1.3; color: #fff; }
.tr-hero-card-top div span { display: block; font-size: .8rem; color: #C9D2E3; }
.tr-hero-card .tr-chips { margin-top: 14px; }
.tr-hero-card .tr-chips li { font-size: .72rem; padding: 3px 10px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.tr-hc-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; gap: 10px; }
.tr-hc-foot img { width: 34px; height: 34px; flex: none; }
.tr-hc-foot div { flex: 1; min-width: 0; }
.tr-hc-foot div span { display: block; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: #D9C08A; font-weight: 600; }
.tr-hc-foot div b { display: block; font-size: .95rem; letter-spacing: .06em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tr-hc-foot em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 600; color: #9FE0B8; background: rgba(46,125,79,.22); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.tr-hc-foot em svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 3; }

.vp main section.tr-means { background: #fff; padding: 84px 0; }
.tr-means .vp-steps-lead, .tr-reg .vp-steps-lead { color: var(--muted); }
.tr-means-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.tr-mean { background: #F7F9FC; border: 1px solid #E3E9F2; border-radius: 16px; padding: 22px; }
.tr-mean h3 { font-size: .95rem; text-transform: none; letter-spacing: 0; font-weight: 600; margin: 12px 0 8px; }
.tr-mean p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }
.tr-mean-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; }
.tr-mean-ic svg { stroke: #E6CC8E; }

.vp main section.tr-get { padding: 84px 0; background: #F3F6FA; }
.tr-get-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.tr-get-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.tr-get-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #E3E9F2; border-radius: 14px; padding: 14px 16px; }
.tr-get-list b { display: block; color: var(--navy); font-size: .95rem; }
.tr-get-list span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.55; }
.tr-get-list .tr-tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #EEF5EF; display: grid; place-items: center; }
.tr-get-grid.tr-get-grid { align-items: stretch; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 36px; }
.tr-get-grid > div:first-child h2 { margin-bottom: 0; }
.tr-frame-demo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: #fff; border: 1px solid #DCE4EF; border-radius: 18px; padding: 26px 22px; box-shadow: 0 18px 40px -28px rgba(20, 40, 75, .45); }
.tr-frame-h { margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #7A5F22; }
.tr-frame-note { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; max-width: 240px; line-height: 1.5; }
.tr-frame-demo figure { margin: 0; text-align: center; }
.tr-frame-demo figcaption { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.tr-frame-demo figcaption b { color: var(--navy); }
.tr-ring { width: 180px; height: 180px; border-radius: 50%; position: relative; display: grid; place-items: center; background: #DCE3EC; overflow: hidden; }
.tr-ring img.tr-ring-person { width: 100%; height: 100%; object-fit: cover; display: block; }
.tr-ring svg.tr-ring-band { position: absolute; inset: 0; width: 100%; height: 100%; }

.vp main section.tr-fees { padding: 84px 0; background: #fff; }
.tr-fee-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.tr-fee { border: 1px solid #E3E9F2; border-radius: 18px; padding: 26px 24px; background: #fff; }
.tr-fee.is-hl { background: radial-gradient(420px 220px at 100% 0%, rgba(176,141,60,.25), transparent 60%), var(--navy); border-color: var(--navy); color: #fff; }
.tr-fee p.tr-fee-k { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); margin: 0 0 10px; }
.tr-fee.is-hl p.tr-fee-k { color: #E6CC8E; }
.tr-fee p.tr-fee-big { font-size: 2.6rem; font-weight: 500; line-height: 1; margin: 0 0 10px; color: var(--navy); }
.tr-fee.is-hl p.tr-fee-big { color: #fff; }
.tr-fee p { font-size: .9rem; margin: 0; color: var(--muted); line-height: 1.6; }
.tr-fee.is-hl p { color: #C9D3E3; }
.tr-fee-note { text-align: center; font-size: .86rem; color: var(--muted); margin: 22px auto 0; max-width: 720px; }

.vp main section.tr-reg { padding: 84px 0; background: #F3F6FA; }
.tr-reg-tools { display: flex; gap: 12px; margin: 28px 0 22px; flex-wrap: wrap; }
.tr-reg-tools input, .tr-reg-tools select { height: 46px; border: 1px solid #CFD6E1; border-radius: 8px; padding: 0 13px; font: 400 .95rem var(--body); color: var(--navy); background: #fff; }
.tr-reg-tools input { flex: 1 1 280px; }
.tr-reg-tools select { flex: 0 1 220px; }
.tr-reg-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tr-reg-card { display: flex; gap: 14px; background: #fff; border: 1px solid #E3E9F2; border-radius: 16px; padding: 18px; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.tr-reg-card:hover { box-shadow: 0 14px 30px rgba(20,40,75,.12); transform: translateY(-2px); color: var(--ink); }
.tr-reg-photo { width: 64px; height: 64px; border-radius: 50%; flex: none; overflow: hidden; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 600; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #B08D3C; }
.tr-reg-photo img { width: 100%; height: 100%; object-fit: cover; }
.tr-reg-card b { display: block; color: var(--navy); font-size: 1rem; line-height: 1.3; }
.tr-reg-card .tr-reg-h { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.tr-reg-card .tr-chips { margin-top: 10px; }
.tr-reg-card .tr-chips li { font-size: .72rem; padding: 2px 9px; }
.tr-reg-meta { display: block; font-size: .74rem; color: var(--gold-text); margin-top: 8px; font-weight: 600; }
.tr-reg-empty { grid-column: 1 / -1; background: #fff; border: 1px dashed #C9D4E5; border-radius: 16px; padding: 28px; text-align: center; color: var(--muted); }
.tr-reg-empty p { margin: 0 0 6px; }

.vp main section.tr-code-sec { padding: 84px 0; background: #fff; }
.tr-code-list { counter-reset: c; list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 28px; }
.tr-code-list li { counter-increment: c; position: relative; padding: 4px 0 4px 46px; font-size: .94rem; line-height: 1.6; }
.tr-code-list li::before { content: counter(c); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #E6CC8E; font-weight: 600; font-size: .85rem; display: grid; place-items: center; }
.tr-code-list b { color: var(--navy); }

.vp main section.tr-faq { padding: 84px 0; background: #F3F6FA; }
.tr-faq-list { max-width: 820px; margin: 30px auto 0; }
.tr-faq-list details { background: #fff; border: 1px solid #E3E9F2; border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.tr-faq-list summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 14px 0; list-style: none; }
.tr-faq-list summary::-webkit-details-marker { display: none; }
.tr-faq-list summary::after { content: "+"; float: right; color: var(--gold-text); font-weight: 500; }
.tr-faq-list details[open] summary::after { content: "\2013"; }
.tr-faq-list details p { font-size: .92rem; color: var(--muted); margin: 0 0 16px; }

/* ---------- Public profile ---------- */
.tr-prof-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 46px 0 50px; }
.tr-prof-hero .crumbs { color: var(--muted); }
.tr-prof-hero .crumbs a { color: var(--gold-text); }
.tr-prof-top { display: flex; gap: 40px; align-items: center; }
.tr-prof-photo { width: 220px; height: 220px; border-radius: 50%; flex: none; overflow: hidden; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 3.4rem; font-weight: 600;
  box-shadow: 0 0 0 6px #fff, 0 0 0 11px #B08D3C, 0 22px 40px rgba(20,40,75,.18); }
.tr-prof-photo img { width: 100%; height: 100%; object-fit: cover; }
.tr-prof-main h1 { margin: 10px 0 6px; }
.tr-prof-headline { font-size: 1.1rem; color: var(--muted); margin: 0; }
.tr-prof-badge { display: inline-flex; gap: 10px; align-items: center; margin: 0; }
.tr-prof-badge strong { display: block; color: var(--navy); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.tr-prof-badge em { display: block; font-style: normal; font-size: .76rem; color: var(--gold-text); font-weight: 600; }
.tr-prof-main .hero-actions { margin-top: 22px; }
.tr-prof-body { background: #F7F9FC; }
.tr-prof-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.tr-prof-about h2 { margin-bottom: 16px; }
.tr-facts { margin: 26px 0 0; display: grid; gap: 0; border-top: 1px solid #E3E9F2; }
.tr-facts div { display: grid; grid-template-columns: 190px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid #E3E9F2; }
.tr-facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.tr-facts dd { margin: 0; color: var(--ink); }
.tr-prof-card { background: #fff; border: 1px solid #E3E9F2; border-radius: 18px; padding: 26px; text-align: center; box-shadow: 0 14px 30px rgba(20,40,75,.08); }
.tr-prof-card img { margin: 0 auto 10px; }
.tr-prof-card-k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin: 0; }
.tr-prof-card-no { font-size: 1.35rem; font-weight: 600; color: var(--navy); margin: 4px 0 14px; }
.tr-prof-card dl { margin: 0 0 18px; text-align: left; }
.tr-prof-card dl div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid #EEF2F8; font-size: .88rem; }
.tr-prof-card dt { color: var(--muted); }
.tr-prof-card dd { margin: 0; font-weight: 600; color: var(--navy); }
.tr-prof-card .small { margin: 16px 0 0; color: var(--muted); text-align: left; }
.tr-missing { text-align: center; }
.tr-missing img { margin: 0 auto 18px; }
.tr-missing p { max-width: 560px; margin: 16px auto 0; }

/* ---------- Certificate ---------- */
.tr-cert .tr-cert-mark b { font-size: 2.3rem; }
.tr-cert-founding { margin: 18px 0 0; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #E6CC8E; font-weight: 600; border: 1px solid rgba(230,204,142,.5); border-radius: 999px; padding: 6px 12px; }

/* ---------- Trainer portal ---------- */
.tr-banner { display: flex; gap: 18px; align-items: center; justify-content: space-between; background: #F3F6FA; border: 1px solid #DCE4F0; border-left: 4px solid var(--navy); border-radius: 12px; padding: 16px 20px; margin-bottom: 20px; }
.tr-banner b { color: var(--navy); }
.tr-banner p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.tr-banner .btn { flex: none; }
.tr-banner.is-ok { border-left-color: #2E7D5B; background: #F1F8F3; }
.tr-banner.is-warn { border-left-color: #B08D3C; background: #FBF7EC; }
.tr-banner.is-bad { border-left-color: #9B1C1C; background: #FBF1F1; }
.tr-pass .vp-pass-top > div:nth-child(2) { flex: 1; }
.tr-pass-photo { width: 76px; height: 76px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center; background: #2D4A7A; color: #fff; font-weight: 600; font-size: 1.4rem; box-shadow: 0 0 0 3px #14284B, 0 0 0 5px #E6CC8E; }
.tr-pass-photo img { width: 100%; height: 100%; object-fit: cover; }
.tr-founding { font-style: normal; margin-left: 8px; background: #E6CC8E; color: var(--navy); border-radius: 999px; padding: 2px 8px; font-size: .64rem; letter-spacing: .08em; }
.tr-pass .tr-chips { position: relative; z-index: 1; margin: 20px 0 0; }
.tr-pass-until { position: relative; z-index: 1; margin: 16px 0 0; font-size: .86rem; color: #E6CC8E; font-weight: 600; }
.tr-stat-date { font-size: 1.25rem !important; }
.tr-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 4px; }
.tr-quick-tile { display: block; background: #fff; border: 1px solid #DCE4F0; border-radius: 14px; padding: 18px; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.tr-quick-tile:hover { border-color: var(--gold); box-shadow: 0 10px 22px rgba(20,40,75,.08); color: var(--ink); }
.tr-quick-tile .pa-icon { width: 26px; height: 26px; stroke: var(--gold); }
.tr-quick-tile b { display: block; color: var(--navy); margin: 10px 0 4px; font-size: .95rem; }
.tr-quick-tile span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.tr-prog { background: #EEF2F8; margin: 4px 0 18px; }
.tr-checklist { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.tr-checklist li { position: relative; padding: 10px 14px 10px 44px; border: 1px solid #E3E9F2; border-radius: 10px; background: #fff; }
.tr-checklist li::before { content: ""; position: absolute; left: 14px; top: 12px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #C9D4E5; box-sizing: border-box; }
.tr-checklist li.is-done { background: #F4F9F5; border-color: #D4E6D8; }
.tr-checklist li.is-done::before { border-color: #2E7D5B; background: #2E7D5B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.tr-checklist a { color: var(--navy); font-weight: 500; text-decoration: none; }
.tr-checklist a:hover { text-decoration: underline; }
.tr-checklist span { display: block; font-size: .8rem; color: #8A2A22; margin-top: 2px; }
.tr-savebar { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.96); border: 1px solid #DCE4F0; border-radius: 12px; padding: 12px 16px; margin: 0 0 22px; box-shadow: 0 -6px 18px rgba(20,40,75,.06); }
.tr-savebar .vp-form-msg { margin: 0; }
.tr-send { border-color: #E6CC8E; }
.tr-doc-h { font-size: .78rem; letter-spacing: .1em; color: var(--muted); margin: 22px 0 8px; }
.tr-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tr-docs li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid #E3E9F2; border-radius: 10px; padding: 10px 14px; background: #fff; }
.tr-docs li a, .tr-docs li b { font-weight: 600; color: var(--navy); word-break: break-word; }
.tr-docs li span { font-size: .8rem; color: var(--muted); }
.tr-docs li .pa-mini { margin-left: auto; }
.tr-crop { position: relative; max-width: 420px; margin: 0 auto; border-radius: 14px; overflow: hidden; background: #EEF2F8; touch-action: none; }
.tr-crop canvas { display: block; width: 100%; height: auto; cursor: grab; }
.tr-crop canvas:active { cursor: grabbing; }
.tr-crop-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); font-size: .9rem; pointer-events: none; }
.tr-crop-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 16px 0 6px; }
.tr-file-btn { position: relative; overflow: hidden; cursor: pointer; }
.tr-file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tr-file-btn:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.tr-zoom { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); }
.tr-zoom input { width: 160px; accent-color: var(--navy); }
.tr-frame-wrap { max-width: 340px; margin: 0 auto 18px; }
.tr-frame-wrap canvas { display: block; width: 100%; height: auto; border-radius: 50%; box-shadow: 0 12px 28px rgba(20,40,75,.18); }
.tr-how { margin-top: 16px; font-size: .88rem; }
.tr-how summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.tr-how ol { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
.tr-li { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.tr-li:hover { background: #084F96; border-color: #084F96; color: #fff; }
.tr-badge-prev { max-width: 300px; margin: 6px 0 12px; }
.tr-badge-prev canvas { display: block; width: 100%; height: auto; }
.tr-code { background: #0B1830; color: #E9EEF6; border-radius: 10px; padding: 14px 16px; font-size: .8rem; line-height: 1.6; white-space: pre-wrap; word-break: break-all; margin: 0; }
.tr-pr { white-space: pre-wrap; max-height: 320px; overflow: auto; }
.tr-locked { text-align: center; padding: 34px 20px; }
.tr-cert-tile { display: flex; gap: 26px; align-items: center; background: radial-gradient(500px 260px at 100% 0%, rgba(176,141,60,.25), transparent 60%), var(--navy); color: #fff; border-radius: 18px; padding: 28px 30px; margin-bottom: 14px; }
.tr-cert-tile img { flex: none; }
.tr-cert-tile .small { color: #C9D3E3; margin: 0 0 18px; }
.tr-cert-name { font-size: 1.6rem; font-weight: 600; margin: 4px 0 6px; }
.tr-ref-qr { width: 140px; padding: 8px; background: #fff; border: 1px solid #E3E9F2; border-radius: 10px; margin: 6px 0 12px; }
.tr-ref-qr canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.tr-dl { margin: 0; }
.tr-dl div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #EEF2F8; font-size: .92rem; }
.tr-dl dt { color: var(--muted); }
.tr-dl dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.mk-canvas-wrap.is-banner canvas { width: 100%; }

/* ---------- Bureau admin ---------- */
.ta-filters { margin: 0 0 18px; }
.ta-card .va-card-head { align-items: center; }
.ta-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #B08D3C; }
.ta-mono { width: 52px; height: 52px; border-radius: 50%; flex: none; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 600; }
.ta-text { white-space: pre-wrap; font-size: .9rem; background: #F7F9FC; border: 1px solid #E3E9F2; border-radius: 8px; padding: 10px 12px; margin: 4px 0 0; }
.ta-subjects { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 8px 0 10px; }
.ta-subjects label { display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; }
.ta-subjects input { accent-color: var(--navy); }
.ta-add { display: flex; gap: 8px; margin-bottom: 10px; }
.ta-add input, .ta-note { border: 1px solid #CFD6E1; border-radius: 8px; padding: 8px 12px; font: 400 .92rem var(--body); color: var(--navy); background: #fff; }
.ta-add input { flex: 1; }
.ta-note { width: 100%; min-height: 70px; resize: vertical; margin: 6px 0 10px; }
.ta-files { list-style: none; margin: 4px 0 0; padding: 0; }
.ta-files li { font-size: .88rem; padding: 3px 0; }
.ta-files span { color: var(--muted); font-size: .78rem; margin-left: 6px; }
.ta-hist { list-style: none; margin: 6px 0 0; padding: 0; font-size: .8rem; color: var(--muted); }
.ta-hist li { padding: 2px 0; }
.ta-box { border-top: 1px solid #E3E9F2; margin-top: 14px; padding-top: 14px; }
.ta-box h4 { margin: 0 0 6px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Phones and tablets ---------- */
@media (max-width: 1000px) {
  .tr-means-grid, .tr-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-reg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-get-grid, .tr-prof-grid { grid-template-columns: minmax(0, 1fr); }
  .tr-hero-card { left: 12px; bottom: -24px; }
}
@media (max-width: 720px) {
  .tr-means-grid, .tr-quick, .tr-reg-list, .tr-fee-grid, .tr-code-list { grid-template-columns: minmax(0, 1fr); }
  .tr-prof-top { flex-direction: column; align-items: flex-start; gap: 26px; }
  .tr-prof-photo { width: 160px; height: 160px; font-size: 2.6rem; }
  .tr-facts div { grid-template-columns: 1fr; gap: 2px; }
  .tr-banner { flex-direction: column; align-items: flex-start; }
  .tr-cert-tile { flex-direction: column; align-items: flex-start; padding: 22px; }
  .tr-hero-card { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 14px 0; }
  .vp main section.tr-means, .vp main section.tr-get, .vp main section.tr-fees, .vp main section.tr-reg, .vp main section.tr-code-sec, .vp main section.tr-faq { padding: 60px 0; }
}
.tr-crop-empty[hidden] { display: none; }
.tr-checklist li::before { top: 13px; }
@media (max-width: 720px) { .tr-pass .vp-pass-qr { display: none; } }

/* ---------- Upgrades: Available for Bookings and Featured ---------- */
.tr-avail { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 5px 12px 5px 10px; border-radius: 999px; background: #EAF5EF; color: #1F5E43; font-size: .82rem; font-weight: 600; }
.tr-avail i { width: 9px; height: 9px; border-radius: 50%; background: #2E9E66; box-shadow: 0 0 0 3px rgba(46,158,102,.2); }
.vp main section.tr-book, .tr-book { background: #fff; border-top: 1px solid #E3E9F2; }
.tr-book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 56px; align-items: start; }
.tr-book h2 { margin: 14px 0 12px; }
.tr-book .vp-field textarea { width: 100%; border: 1px solid #CFD6E1; border-radius: 7px; padding: 10px 13px; font: 400 .95rem var(--body); color: var(--navy); resize: vertical; }
.tr-book .vp-done h3 { margin-bottom: 8px; }
.tr-reg-card.is-featured { border: 2px solid #B08D3C; background: linear-gradient(180deg, #FFFCF4, #fff 60%); }
.tr-reg-flags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tr-flag { font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; }
.tr-flag-feat { background: #B08D3C; color: #fff; }
.tr-flag-avail { background: #EAF5EF; color: #1F5E43; }
.tr-reg-check { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--navy); }
.tr-reg-check input { width: 18px; height: 18px; accent-color: var(--navy); }
.tr-up { display: flex; flex-direction: column; }
.tr-up.is-on { border-color: #CFE3D3; }
.tr-up-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.tr-up-k { margin: 0 0 4px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); }
.tr-up-list { margin: 0 0 18px; padding-left: 20px; font-size: .9rem; line-height: 1.6; }
.tr-up-list li { margin-bottom: 6px; }
.tr-up .btn { align-self: flex-start; margin-top: auto; }
.tr-enq li { align-items: flex-start; }
.tr-enq p { margin: 6px 0 0; font-size: .9rem; white-space: pre-wrap; }
.tr-addons-note { text-align: center; margin: 26px auto 0; max-width: 820px; }
.tr-addon-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.tr-addon { border: 1px dashed #D9C08A; border-radius: 16px; padding: 20px 22px; background: #FFFCF4; }
.tr-addon b { display: block; color: var(--navy); }
.tr-addon span { display: block; font-size: .88rem; color: var(--muted); margin-top: 4px; line-height: 1.55; }
@media (max-width: 720px) { .tr-book-grid, .tr-addon-row { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.tr-reg-card .tr-reg-flags { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tr-reg-card .tr-reg-flags .tr-flag { display: inline-block; }
.tr-reg-check { white-space: nowrap; height: 46px; }
.tr-frame-demo figure { width: 210px; }

/* ---------- Activation, upgrades spacing, articles ---------- */
.tr-activate { border: 2px solid #D9C08A; background: linear-gradient(180deg, #FFFCF4, #fff 70%); }
.tr-activate-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.tr-activate-box { background: #fff; border: 1px solid #E3E9F2; border-radius: 14px; padding: 18px; }
.tr-code-row { display: flex; gap: 8px; }
.tr-code-row input { flex: 1; text-transform: uppercase; }
.tr-ok { color: #1F5E43; font-weight: 600; }
.tr-up-grid { margin-bottom: 24px; }
.tr-up { padding-bottom: 26px; }
.tr-up-buy { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.tr-up-buy .btn small { font-size: .7rem; font-weight: 600; margin-left: 6px; opacity: .8; text-transform: none; letter-spacing: 0; }
.tr-up .tr-up-note { margin: 0; }
.tr-up-choose { border: 1px solid #E3E9F2; border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; }
.tr-up-choose legend { font-size: .8rem; font-weight: 600; color: var(--navy); padding: 0 4px; }
.tr-up-choose label { display: flex; gap: 8px; align-items: center; font-size: .9rem; margin: 6px 0; }
.tr-up-choose input { accent-color: var(--navy); }
.tr-enq-panel { margin-top: 0; }
.ar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ar-list li { border: 1px solid #E3E9F2; border-radius: 12px; padding: 14px 16px; background: #fff; display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; }
.ar-list b { color: var(--navy); }
.ar-list span { font-size: .8rem; color: var(--muted); }
.ar-form textarea { min-height: 120px; }
.ar-form #ar-body { min-height: 360px; font-size: .95rem; line-height: 1.6; }
.ar-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 4px; }
.ar-images label { position: relative; cursor: pointer; border-radius: 10px; overflow: hidden; border: 3px solid transparent; }
.ar-images input { position: absolute; opacity: 0; }
.ar-images img { display: block; width: 100%; height: 86px; object-fit: cover; }
.ar-images label:has(input:checked) { border-color: var(--gold); }
.ar-images label:has(input:focus-visible) { outline: 3px solid var(--navy); }
.ar-count { font-size: .8rem; color: var(--muted); text-align: right; margin-top: 4px; }
.ar-rules { margin: 0 0 16px; padding-left: 20px; font-size: .9rem; line-height: 1.6; }
.ar-note { background: #FBF7EC; border-left: 4px solid #B08D3C; border-radius: 8px; padding: 10px 14px; margin: 0 0 16px; font-size: .9rem; }
@media (max-width: 720px) { .tr-activate-grid { grid-template-columns: minmax(0, 1fr); } .ar-images { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ar-author { display: flex; gap: 18px; align-items: flex-start; border: 1px solid #E3E9F2; border-radius: 16px; padding: 20px; margin: 36px 0 14px; background: #F7F9FC; }
.ar-author img, .ar-author-mono { width: 84px; height: 84px; border-radius: 50%; flex: none; object-fit: cover; background: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #B08D3C; }
.ar-author-mono { display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 600; font-size: 1.4rem; }
.ar-author .kicker { margin: 0 0 4px; }
.ar-author-name { font-size: 1.15rem; font-weight: 600; color: var(--navy); margin: 0; }
.ar-author .small { margin: 2px 0 12px; color: var(--muted); }
.ar-disclaimer { color: var(--muted); }
.ar-members { margin-top: 56px; }
@media (max-width: 720px) { .ar-author { flex-direction: column; } }
.ar-form textarea, .ar-form input[type="text"], .ar-form input:not([type]) { width: 100%; border: 1px solid #CFD6E1; border-radius: 8px; padding: 10px 12px; font: 400 .95rem var(--body); color: var(--navy); background: #fff; }
.ar-form input:not([type]) { height: 44px; padding: 0 12px; }
.ar-form textarea { resize: vertical; line-height: 1.55; }
.ar-form .vp-legend { display: block; font-size: .84rem; font-weight: 500; color: var(--navy); margin-bottom: 6px; }

/* ---------- Find a trainer, Train the Trainer ---------- */
.vp main section.tr-find-hero { background: linear-gradient(180deg, #F3F6FA, #fff); padding: 64px 0 30px; }
.tr-find-hero h1 { margin-bottom: 12px; }
.tr-find-hero .vp-lead { max-width: 720px; }
.tr-find-tools { background: #fff; border: 1px solid #E3E9F2; border-radius: 16px; padding: 14px; box-shadow: 0 12px 28px rgba(20,40,75,.08); align-items: center; }
.vp main section.tr-find-list { padding: 30px 0 70px; background: #fff; }
.tr-find-count { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.vp main section.tr-find-cta { background: var(--navy); padding: 50px 0; }
.tr-find-cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.tr-find-cta h2 { color: #fff; margin-bottom: 6px; }
.tr-find-cta p { color: #C9D3E3; margin: 0; }
.tr-ttt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ttt-runs { display: grid; gap: 10px; margin: 22px 0 6px; }
.ttt-run { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #fff; border: 1px solid #E3E9F2; border-radius: 12px; padding: 14px 16px; }
.ttt-run b { display: block; color: var(--navy); }
.ttt-run span { display: block; font-size: .86rem; color: var(--muted); }
.ttt-run em { font-style: normal; font-size: .78rem; font-weight: 600; color: #1F5E43; background: #EAF5EF; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.ttt-run.is-full em { color: #8A2A22; background: #FBEDEC; }
.ttt-price { font-size: .95rem; margin: 2px 0 12px; }
.ttt-price .small { color: var(--muted); }
.ttt-wait { max-width: 820px; margin: 28px auto 0; }
@media (max-width: 1000px) { .tr-ttt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .tr-ttt-grid { grid-template-columns: minmax(0, 1fr); } .ttt-run { flex-direction: column; align-items: flex-start; } }
.post-body .ar-author a.btn:not(.btn-ghost) { color: #fff; text-decoration: none; }
.post-body .ar-author a.btn-ghost { text-decoration: none; }

/* ---------- Member article page: crisp white reading page ---------- */
body.ar-page { background: #fff; }
.ar-page main section.section { background: #fff; }
.ar-page .post-body { font-size: 1.05rem; line-height: 1.8; }
.ar-page .post-body h2 { font-size: 1.25rem; text-transform: none; letter-spacing: 0; font-weight: 600; margin: 34px 0 10px; }
.ar-page .post-body p { margin: 0 0 18px; }
.ar-page .post-body ul { margin: 0 0 20px; padding-left: 22px; }
.ar-page .post-body li { margin-bottom: 6px; }
.ar-lead { font-size: 1.2rem; line-height: 1.6; color: var(--navy); font-weight: 500; margin: 0 0 18px; }
.ar-byline { display: flex; align-items: center; gap: 12px; padding: 0 0 22px; margin: 0 0 26px; border-bottom: 1px solid #E3E9F2; }
.ar-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #B08D3C; }
.ar-byline b { display: block; color: var(--navy); font-size: .95rem; }
.ar-byline span { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.ar-page .side-card { background: #F7F9FC; border: 1px solid #E3E9F2; border-radius: 16px; }

/* ---------- Blog: Share your expertise (/blog/submit-an-article) ---------- */
body.sa-page { background: #fff; }
.sa-page main h2 { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; margin: 0 0 10px; color: var(--navy); letter-spacing: -0.01em; }
.sa-visually { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sa-hero { padding: 48px 0 44px; background: linear-gradient(180deg, #F4F6FA 0%, #fff 100%); border-bottom: 1px solid #E7EAF0; }
.sa-hero-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.sa-crumb { font-size: 0.85rem; margin: 0 0 14px; color: var(--muted); }
.sa-crumb a { color: var(--muted); }
.sa-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.02; margin: 0 0 16px; color: var(--navy); letter-spacing: -0.02em; }
.sa-hero h1 span { color: var(--gold); }
.sa-lead { font-size: 1.1rem; margin: 0 0 22px; max-width: 560px; color: var(--muted); }
.sa-who-q { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 8px; color: var(--navy); }
.sa-who { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1px solid #DCE1EA; border-radius: 999px; }
.sa-who-btn { white-space: nowrap; font: inherit; font-size: 0.88rem; font-weight: 600; border: 0; background: transparent; color: var(--navy); padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.sa-who-btn:hover { background: #EEF1F6; }
.sa-who-btn.is-on { background: var(--navy); color: #fff; }
.sa-who-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sa-who-panel { margin-top: 14px; min-height: 92px; }
.sa-who-panel > div[hidden] { display: none; }
.sa-who-panel > div { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; animation: saIn .3s ease; }
.sa-who-panel p { margin: 0; flex: 1 1 260px; font-size: 0.98rem; }
@keyframes saIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.sa-try { background: #fff; border: 1px solid #E3E7EE; border-radius: 14px; padding: 22px; box-shadow: 0 18px 40px -24px rgba(20, 40, 75, .35); }
.sa-try-h { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 10px; }
.sa-try input { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #CBD2DE; border-radius: 8px; }
.sa-try input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 40, 75, .12); }
.sa-card { margin: 16px 0 12px; background: var(--navy); color: #fff; border-radius: 10px; padding: 20px; transform: rotate(-1.2deg); transition: transform .3s; }
.sa-try:hover .sa-card { transform: rotate(0); }
.sa-card-top { display: flex; justify-content: space-between; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); }
.sa-card-title { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1.2; margin: 12px 0 18px; min-height: 2.4em; word-break: break-word; }
.sa-card-by { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; line-height: 1.3; }
.sa-card-by small { color: #B9C3D6; }
.sa-card-av { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; }
.sa-try-tip { margin: 0; font-size: 0.9rem; padding-left: 22px; position: relative; color: var(--muted); }
.sa-try-tip::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 10px; height: 10px; border-radius: 50%; background: #CBD2DE; }
.sa-try-tip.is-good::before { background: #2E7D4F; }
.sa-try-tip.is-ok::before { background: var(--gold); }
.sa-try-tip.is-warn::before { background: #C0602A; }

.sa-process { padding: 64px 0 48px; }
.sa-process h2 { text-align: center; }
.sa-track { height: 4px; background: #E7EAF0; border-radius: 4px; margin: 46px 12.5% 0; position: relative; }
.sa-track-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold); border-radius: 4px; transition: width .6s ease; }
.sa-steps { list-style: none; margin: -24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sa-step { text-align: center; }
.sa-step-btn { font: inherit; background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; color: var(--navy); padding: 0; }
.sa-step-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #fff; border: 2px solid #CBD2DE; transition: all .3s; position: relative; z-index: 1; }
.sa-step-ic { display: none; }
.sa-step-t { font-weight: 700; font-size: 1.02rem; }
.sa-step.is-done .sa-step-n { background: #fff; border-color: var(--gold); color: var(--gold-text); }
.sa-step.is-on .sa-step-n { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 6px rgba(176, 141, 60, .22); }
.sa-step-btn:focus-visible .sa-step-n { outline: 3px solid var(--gold); outline-offset: 3px; }
.sa-step-p { margin: 10px auto 0; max-width: 250px; font-size: 0.93rem; color: var(--muted); opacity: .45; transition: opacity .3s; }
.sa-step.is-on .sa-step-p, .sa-step.is-done .sa-step-p { opacity: 1; }

.sa-good { padding: 48px 0; background: #F6F8FB; border-top: 1px solid #E7EAF0; border-bottom: 1px solid #E7EAF0; }
.sa-good-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sa-check, .sa-titles { background: #fff; border: 1px solid #E3E7EE; border-radius: 14px; padding: 26px; }
.sa-check > p, .sa-titles > p { margin: 0 0 16px; color: var(--muted); font-size: 0.98rem; }
.sa-checks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.sa-checks label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid #E3E7EE; border-radius: 8px; cursor: pointer; font-size: 0.95rem; line-height: 1.45; transition: background .2s, border-color .2s; }
.sa-checks label:hover { border-color: #CBD2DE; }
.sa-checks input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.sa-checks li.is-on label { background: #EEF3FA; border-color: #B9C8DD; }
.sa-meter { display: flex; align-items: center; gap: 16px; }
.sa-meter p { margin: 0; font-weight: 700; color: var(--navy); }
.sa-meter-ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #E7EAF0; position: relative; flex: none; transition: transform .3s; }
.sa-meter-ring::before { content: ""; position: absolute; inset: 7px; background: #fff; border-radius: 50%; }
.sa-meter-ring b { position: relative; font-size: 0.95rem; color: var(--navy); }
.sa-meter-ring.is-full { transform: scale(1.08); }
.sa-titles ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sa-title-btn { font: inherit; text-align: left; width: 100%; cursor: pointer; background: #fff; border: 1px dashed #CBD2DE; border-radius: 10px; padding: 14px 16px; display: grid; gap: 4px; position: relative; transition: border-color .2s, background .2s; }
.sa-title-btn small { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-bottom: 2px; }
.sa-title-weak { color: #8A93A6; font-size: 0.98rem; }
.sa-title-weak small { color: #A0A8B8; }
.sa-title-strong { display: none; color: var(--navy); font-weight: 700; font-size: 1.05rem; animation: saIn .3s ease; }
.sa-title-strong small { color: var(--gold-text); }
.sa-title-cue { font-size: 0.8rem; font-weight: 600; color: var(--gold-text); }
.sa-title.is-on .sa-title-btn { border-style: solid; border-color: var(--gold); background: #FCFAF4; }
.sa-title.is-on .sa-title-weak { text-decoration: line-through; font-size: 0.85rem; }
.sa-title.is-on .sa-title-strong { display: block; }
.sa-title.is-on .sa-title-cue { display: none; }
.sa-title-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.sa-format { padding: 48px 0; }
.sa-sub { margin: 0 0 18px; color: var(--muted); max-width: 720px; }
.sa-sub code { background: #EEF1F6; padding: 1px 6px; border-radius: 4px; font-size: 0.92em; color: var(--navy); }
.sa-fmt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #E3E7EE; border-radius: 14px; overflow: hidden; }
.sa-fmt-grid > div { padding: 18px 20px; }
.sa-fmt-grid > div:first-child { background: #0F1F3D; }
.sa-fmt-lab { display: block; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 8px; color: var(--gold-text); }
.sa-fmt-grid > div:first-child .sa-fmt-lab { color: var(--gold-light); }
.sa-fmt-grid textarea { width: 100%; min-height: 220px; resize: vertical; background: transparent; border: 0; color: #E6EAF2; font: 0.92rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; outline: none; }
.sa-fmt-out { font-size: 0.98rem; line-height: 1.7; }
.sa-fmt-out h3 { font-family: var(--display); font-size: 1.2rem; color: var(--navy); margin: 0 0 6px; }
.sa-fmt-out p { margin: 0 0 12px; }
.sa-fmt-out ul { margin: 0 0 12px; padding-left: 20px; }
.sa-fmt-empty { color: #8A93A6; }

.sa-faq { padding: 44px 0; border-top: 1px solid #E7EAF0; }
.sa-faq-in { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 36px; }
.sa-faq-in > div > p { color: var(--muted); }
.sa-faq-list details { border-bottom: 1px solid #E3E7EE; }
.sa-faq-list summary { cursor: pointer; padding: 14px 28px 14px 0; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.sa-faq-list summary::-webkit-details-marker { display: none; }
.sa-faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 1.3rem; color: var(--gold); transition: transform .2s; }
.sa-faq-list details[open] summary::after { transform: rotate(45deg); }
.sa-faq-list details p { margin: 0 0 14px; color: var(--muted); }

.sa-end { background: var(--navy); color: #fff; padding: 30px 0; }
.sa-end-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.sa-end-in > p { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.35rem; }
.sa-end-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sa-end-link { color: var(--gold-light); font-weight: 600; }

/* Blog index strip and article side box */
.sa-strip { padding: 0 0 8px; }
.sa-strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-left: 4px solid var(--gold); background: #fff; padding: 18px 22px; }
.sa-strip-in p { margin: 0; flex: 1 1 380px; }
.sa-strip-in b { color: var(--navy); }

@media (max-width: 860px) {
  .sa-hero { padding: 32px 0; }
  .sa-hero-in, .sa-good-in, .sa-fmt-grid, .sa-faq-in { grid-template-columns: 1fr; gap: 22px; }
  .sa-track { display: none; }
  .sa-steps { margin: 18px 0 0; grid-template-columns: 1fr; gap: 10px; }
  .sa-step { text-align: left; }
  .sa-step-btn { flex-direction: row; gap: 14px; }
  .sa-step-p { margin: 6px 0 0 58px; max-width: none; opacity: 1; }
  .sa-process, .sa-good, .sa-format, .sa-faq { padding: 34px 0; }
  .sa-who { display: grid; border-radius: 14px; }
  .sa-who-btn { border-radius: 10px; text-align: left; }
  .sa-check, .sa-titles { padding: 20px; }
}

/* ---------- Train the Trainer page (tt-) ---------- */
.tt { background: #fff; }
.tt h2 { font-family: var(--display, "Montserrat", sans-serif); font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.15; color: #14284B; margin: 0 0 8px; letter-spacing: -0.01em; }
main.tt section.tt-hero { padding: 44px 0 40px; background: linear-gradient(180deg, #F4F6FA, #fff); }
.tt-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tt-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7A5F22; margin: 0 0 12px; }
.tt-hero h1 { font-family: var(--display, "Montserrat", sans-serif); font-weight: 800; font-size: clamp(2.4rem, 5.2vw, 3.8rem); line-height: 1.02; letter-spacing: -0.025em; color: #14284B; margin: 0 0 16px; }
.tt-hero h1 span { color: #B08D3C; }
.tt-lead { font-size: 1.1rem; color: #3A4256; margin: 0 0 18px; max-width: 520px; }
.tt-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.tt-chips li { font-size: .85rem; font-weight: 600; color: #14284B; background: #fff; border: 1px solid #DCE1EA; border-radius: 999px; padding: 6px 14px; }
.tt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.tt-link { font-weight: 700; color: #14284B; }
.tt-stage { position: relative; padding: 0 0 40px 40px; }
.tt-photo { width: 100%; height: auto; border-radius: 18px; display: block; box-shadow: 0 24px 50px -28px rgba(20, 40, 75, .5); }
.tt-live { position: absolute; left: 0; bottom: 0; width: min(300px, 62%); background: #0F1F3D; color: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55); }
.tt-live-top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: #B9C3D6; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.tt-live-dot { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.tt-live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E5484D; animation: ttPulse 1.6s infinite; }
@keyframes ttPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.tt-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.tt-tiles span { aspect-ratio: 16 / 10; border-radius: 6px; display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: #1F3560; color: #D9C08A; }
.tt-tiles span:nth-child(2) { outline: 2px solid #B08D3C; }
.tt-chat { display: grid; gap: 6px; min-height: 76px; align-content: end; }
.tt-msg { margin: 0; font-size: .8rem; line-height: 1.35; background: #fff; color: #14203A; border-radius: 10px 10px 10px 2px; padding: 6px 10px; animation: ttMsg .4s ease; }
.tt-msg b { color: #7A5F22; margin-right: 6px; font-size: .72rem; }
@keyframes ttMsg { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }

main.tt section.tt-band { background: #14284B; color: #fff; padding: 26px 0; }
.tt-band-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.tt-count b { display: block; font-family: var(--display, "Montserrat", sans-serif); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; color: #D9C08A; min-height: 1.1em; }
.tt-count span { color: #C9D2E3; }
.tt-price { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 16px 20px; }
main.tt .tt-switch { color: #fff; display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.tt-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tt-knob { flex: none; width: 46px; height: 26px; border-radius: 999px; background: #3A4E78; position: relative; transition: background .2s; }
.tt-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.tt-switch input:checked + .tt-knob { background: #B08D3C; }
.tt-switch input:checked + .tt-knob::after { transform: translateX(20px); }
.tt-switch input:focus-visible + .tt-knob { outline: 3px solid #D9C08A; outline-offset: 2px; }
.tt-price-big { margin: 0; text-align: right; font-family: var(--display, "Montserrat", sans-serif); font-weight: 800; font-size: 2.2rem; line-height: 1; white-space: nowrap; }
.tt-price-big s { font-size: 1.1rem; color: #8E9BB5; margin-right: 8px; font-weight: 600; }
.tt-pop { display: inline-block; animation: ttPop .35s ease; }
@keyframes ttPop { 0% { transform: scale(.8); opacity: .3; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
.tt-price-note { grid-column: 1 / -1; margin: 0; font-size: .86rem; color: #C9D2E3; }

main.tt section.tt-outline { padding: 52px 0 44px; }
.tt-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 6px 24px; margin-bottom: 18px; }
.tt-head p { margin: 0; color: #3A4256; }
.tt-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.tt-tab { font: inherit; text-align: left; cursor: pointer; border: 1.5px solid #DCE1EA; background: #fff; border-radius: 12px; padding: 12px 16px; font-weight: 700; color: #14284B; font-size: 1rem; transition: border-color .2s, background .2s, color .2s; }
.tt-tab span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #7A5F22; margin-bottom: 2px; }
.tt-tab:hover { border-color: #B08D3C; }
.tt-tab.is-on { background: #14284B; border-color: #14284B; color: #fff; }
.tt-tab.is-on span { color: #D9C08A; }
.tt-tab:focus-visible { outline: 3px solid #B08D3C; outline-offset: 2px; }
.tt-day { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; animation: ttMsg .35s ease; }
.tt-day[hidden] { display: none; }
.tt-day img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; border-radius: 16px; }
.tt-day-k { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7A5F22; }
.tt-day h3 { font-family: var(--display, "Montserrat", sans-serif); font-size: 1.6rem; color: #14284B; margin: 0 0 6px; }
.tt-day-lead { margin: 0 0 16px; color: #3A4256; }
.tt-blocks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tt-blocks li { display: grid; grid-template-columns: 58px 90px 1fr; gap: 12px; align-items: center; font-size: .96rem; }
.tt-min { font-weight: 700; color: #14284B; font-size: .85rem; font-variant-numeric: tabular-nums; }
.tt-bar { height: 8px; border-radius: 8px; background: #EEF1F6; overflow: hidden; }
.tt-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #B08D3C, #D9C08A); border-radius: 8px; transition: width .7s ease; }
.tt-what { color: #14203A; }

main.tt section.tt-leave { padding: 48px 0; background: #F6F8FB; border-top: 1px solid #E7EAF0; border-bottom: 1px solid #E7EAF0; }
.tt-leave-in { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.tt-cert { background: #fff; padding: 12px; border-radius: 6px; box-shadow: 0 24px 50px -30px rgba(20, 40, 75, .55); transform: rotate(-1.5deg); transition: transform .3s; }
.tt-cert:hover { transform: rotate(0); }
.tt-cert-in { border: 2px solid #B08D3C; outline: 1px solid #B08D3C; outline-offset: -8px; padding: 30px 24px; text-align: center; }
.tt-cert-in img { margin: 0 auto 10px; display: block; }
.tt-cert-k { margin: 0; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #7A5F22; font-weight: 700; }
.tt-cert-t { margin: 4px 0 14px; font-family: var(--display, "Montserrat", sans-serif); font-weight: 800; font-size: 1.5rem; color: #14284B; }
.tt-cert-n { margin: 0 auto 10px; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.7rem; color: #14203A; border-bottom: 1px solid #DCE1EA; padding-bottom: 6px; max-width: 80%; min-height: 1.4em; word-break: break-word; }
.tt-cert-s { margin: 0 0 14px; font-size: .8rem; color: #3A4256; }
.tt-cert-f { margin: 0; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #14284B; font-weight: 700; }
.tt-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 600; font-size: .92rem; color: #14284B; margin: 6px 0 18px; }
.tt-try input { flex: 1 1 200px; font: inherit; font-weight: 400; padding: 9px 12px; border: 1.5px solid #CBD2DE; border-radius: 8px; background: #fff; }
.tt-try input:focus { outline: none; border-color: #14284B; box-shadow: 0 0 0 3px rgba(20, 40, 75, .12); }
.tt-gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tt-gets li { position: relative; padding-left: 32px; color: #3A4256; font-size: .97rem; }
.tt-gets li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #14284B; }
.tt-gets li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid #D9C08A; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tt-gets b { display: block; color: #14284B; }

main.tt section.tt-book { padding: 52px 0; }
.tt-book-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tt-sub { color: #3A4256; margin: 0 0 6px; }
.tt-small { font-size: .88rem; margin-top: 14px; }
.tt .ttt-runs { margin: 16px 0 0; }

main.tt section.tt-faq { padding: 44px 0 52px; border-top: 1px solid #E7EAF0; }
.tt-faq-in { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.tt .ttt-wait { max-width: none; margin: 16px 0 0; }

@media (max-width: 900px) {
  .tt-hero { padding: 28px 0 32px; }
  .tt-hero-in, .tt-band-in, .tt-day, .tt-leave-in, .tt-book-in, .tt-faq-in { grid-template-columns: 1fr; gap: 24px; }
  .tt-stage { padding: 0; }
  .tt-live { position: relative; left: auto; bottom: auto; width: auto; margin: -36px 14px 0; }
  .tt-tiles { grid-template-columns: repeat(6, 1fr); gap: 4px; }
  .tt-tiles span { aspect-ratio: 1; font-size: .68rem; }
  .tt-tabs { grid-template-columns: 1fr; gap: 8px; }
  .tt-tab { display: flex; gap: 10px; align-items: baseline; padding: 10px 14px; }
  .tt-day img { display: none; }
  .tt-day { gap: 0; }
  .tt-blocks li { grid-template-columns: 52px 1fr; }
  .tt-bar { display: none; }
  main.tt section.tt-outline, main.tt section.tt-leave, main.tt section.tt-book, main.tt section.tt-faq { padding: 28px 0; }
  main.tt section.tt-band { padding: 20px 0; }
  .tt-chips { margin-bottom: 16px; }
  .tt-lead { font-size: 1rem; }
  .tt-cert { max-width: 300px; margin: 0 auto; }
  .tt-cert-in { padding: 18px 14px; }
  .tt-cert-in img { width: 40px; height: 40px; }
  .tt-cert-t { font-size: 1.2rem; margin-bottom: 8px; }
  .tt-cert-n { font-size: 1.3rem; }
  .tt-gets { gap: 8px; }
  .tt-gets li { font-size: .92rem; }
  .tt-blocks { gap: 6px; }
  .tt-blocks li { font-size: .92rem; }
  .tt-head { margin-bottom: 12px; }
  .tt .vp-form-card { padding: 20px; }
  .tt-book-in, .tt-faq-in { gap: 18px; }
  .tt-price { grid-template-columns: 1fr; }
  .tt-price-big { text-align: left; }
}

.tt-wait-btn { font: inherit; font-weight: 700; color: #14284B; background: #fff; border: 1.5px dashed #B08D3C; border-radius: 10px; padding: 12px 16px; cursor: pointer; width: 100%; text-align: left; margin-top: 14px; }
.tt-wait-btn:hover, .tt-wait-btn[aria-expanded="true"] { border-style: solid; background: #FCFAF4; }
.tt-wait-btn:focus-visible { outline: 3px solid #B08D3C; outline-offset: 2px; }
.tt .ttt-wait[hidden] { display: none; }
.tt .ttt-wait { margin-top: 10px; }


/* ---------- Approved Trainers page: tighter spacing and varied section colours ---------- */
.vp main section.vp-hero.tr-hero { padding-bottom: 70px; }
.vp main section.tr-means { padding: 36px 0 72px; }
.vp main section.tr-get { background: #EAF0F8; }
.vp main section.tr-reg { background: #F6F8FB; }
.vp main section.tr-faq { background: #fff; border-top: 1px solid #E3E9F2; }
.tr-btn-light { background: #fff; color: #14284B; border: 2px solid #fff; font-size: 1.05rem; padding: 16px 40px; min-height: 56px; }
.tr-btn-light:hover { background: #D9C08A; border-color: #D9C08A; color: #0B1830; }
.vp main section.vp-join.tr-apply { background: linear-gradient(160deg, #1C3563, #14284B 60%, #0F1F3D); padding: 60px 0 70px; }
.tr-apply .vp-join-inner { align-items: start; }
.tr-apply .vp-eyebrow { color: #D9C08A; }
.tr-apply h2, .tr-apply .vp-lead { color: #fff; }
.tr-apply .vp-lead { color: #C9D2E3; }
.tr-apply .vp-join-points li { color: #E6EAF2; }
.tr-apply > .wrap > div:first-child { padding-top: 24px; }
@media (max-width: 760px) {
  .vp main section.vp-hero.tr-hero { padding-bottom: 40px; }
  .vp main section.tr-means { padding: 44px 0 52px; }
  .vp main section.vp-join.tr-apply { padding: 44px 0 52px; }
  .tr-apply > .wrap > div:first-child { padding-top: 0; }
  .tr-btn-light { width: 100%; max-width: 360px; }
}
@media (max-width: 1000px) { .tr-get-grid.tr-get-grid { grid-template-columns: minmax(0, 1fr); } .tr-frame-demo { flex-direction: row; flex-wrap: wrap; } .tr-frame-h, .tr-frame-note { flex-basis: 100%; text-align: center; max-width: none; } }
@media (max-width: 480px) { .tr-ring { width: 140px; height: 140px; } .tr-frame-demo { gap: 14px; padding: 20px 14px; } }
/* Article editor: spacing between the top boxes and "Your articles" (provider and trainer portals) */
[data-author] > .pa-two { margin-bottom: 24px; align-items: stretch; }
[data-author] > .pa-two > .pa-panel { height: 100%; margin: 0; }
[data-author] > .pa-panel + .pa-panel { margin-top: 24px; }

/* Approved Trainers: free invitation code */
.tr-code-callout { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 6px; padding: 12px 16px; max-width: 470px; border-radius: 12px; background: #EEF3FA; border: 1px solid #D5E0EE; color: #14203A; text-decoration: none; font-size: .92rem; line-height: 1.45; transition: border-color .2s, box-shadow .2s; }
.tr-code-callout:hover { border-color: #B08D3C; box-shadow: 0 8px 20px -14px rgba(122, 95, 34, .6); }
.tr-code-callout b { display: block; color: #14284B; }
.tr-code-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #B08D3C; display: grid; place-items: center; color: #fff; }
.tr-code-ic svg { width: 18px; height: 18px; stroke: currentColor; }
.tr-code-field input { text-transform: uppercase; letter-spacing: .06em; }
.tr-code-field input::placeholder { text-transform: none; letter-spacing: 0; }
.tr-code-field.is-filled input { border-color: #B08D3C; background: #FCFAF4; }

/* Approved Trainers page: steps call to action, fees code banner, Code of Conduct and questions (24 Oct, 13:20) */
.tr-steps-cta { margin: 34px auto 0; max-width: 980px; display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 20px 24px; position: relative; z-index: 1; }
.tr-steps-cta p { margin: 0; flex: 1 1 420px; color: #C9D2E3; font-size: .98rem; line-height: 1.55; }
.tr-steps-cta p b { color: #fff; }
.tr-steps-cta .tr-btn-light { flex: none; min-width: 220px; font-size: 1rem; padding: 14px 34px; min-height: 52px; }
.tr-fee-code { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 26px auto 0; max-width: 980px; padding: 18px 22px; border-radius: 16px; background: #EEF3FA; border: 1px solid #D5E0EE; color: #14203A; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.tr-fee-code:hover { border-color: #B08D3C; box-shadow: 0 10px 24px -16px rgba(122,95,34,.6); }
.tr-fee-code > span:nth-child(2) { flex: 1 1 380px; font-size: .95rem; line-height: 1.5; }
.tr-fee-code b { color: #14284B; }
.tr-fee-code em { font-style: normal; flex: none; background: #14284B; color: #fff; font-weight: 600; font-size: .92rem; border-radius: 8px; padding: 12px 22px; }
.vp main section.tr-code-sec { background: linear-gradient(160deg, #1C3563, #14284B 65%, #0F1F3D); }
.tr-code-sec h2 { color: #fff; }
.tr-code-sec .vp-eyebrow { color: #D9C08A; }
.tr-code-sec .tr-code-list { gap: 14px; }
.tr-code-sec .tr-code-list li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 18px 16px 62px; color: #C9D2E3; }
.tr-code-sec .tr-code-list li::before { left: 16px; top: 16px; background: #D9C08A; color: #14284B; }
.tr-code-sec .tr-code-list b { color: #fff; }
.tr-code-sec .tr-fee-note, .tr-code-sec p { color: #C9D2E3; }
.tr-code-sec a { color: #D9C08A; }
.vp main section.tr-faq { background: #fff; border-top: 0; }
.tr-faq .tr-faq-list details { background: #F4F7FB; border-color: #E3E9F2; }
.tr-faq .tr-faq-list details[open] { background: #fff; border-color: #CBD6E6; box-shadow: 0 10px 26px -18px rgba(20,40,75,.45); }
@media (max-width: 600px) {
  .tr-steps-cta { padding: 18px; }
  .tr-steps-cta .tr-btn-light { width: 100%; }
  .tr-fee-code em { width: 100%; text-align: center; }
}

/* Train the Trainer: livelier live card, new certificate, waiting list under the dates (24 Oct, 13:40) */
.tt-live { width: min(340px, 70%); padding: 12px; }
.tt-live-top { gap: 10px; margin-bottom: 8px; }
.tt-live-title { flex: 1; color: #fff; font-weight: 600; font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-screen { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; max-height: 170px; width: 100%; background: #0B1830; }
.tt-screen img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; display: block; }
.tt-tag { position: absolute; left: 8px; bottom: 8px; font-size: .66rem; font-weight: 600; background: rgba(11,24,48,.78); color: #fff; padding: 3px 8px; border-radius: 6px; }
.tt-wave { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 2px; align-items: flex-end; height: 14px; background: rgba(11,24,48,.78); padding: 3px 6px; border-radius: 6px; }
.tt-wave i { width: 3px; background: #9FE0B8; border-radius: 2px; animation: ttWave 1s ease-in-out infinite; }
.tt-wave i:nth-child(2) { animation-delay: .15s; } .tt-wave i:nth-child(3) { animation-delay: .3s; } .tt-wave i:nth-child(4) { animation-delay: .45s; }
@keyframes ttWave { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.tt-people { display: flex; align-items: center; gap: 6px; margin: 8px 0; position: relative; }
.tt-people img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; border: 2px solid #1F3560; }
.tt-people img:first-child { border-color: #D9C08A; }
.tt-people > span { width: 34px; height: 34px; border-radius: 8px; background: #1F3560; color: #D9C08A; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.tt-people em { margin-left: auto; font-style: normal; font-size: .68rem; color: #fff; background: rgba(176,141,60,.3); border: 1px solid rgba(217,192,138,.5); padding: 3px 8px; border-radius: 999px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; white-space: nowrap; }
.tt-people em.is-on { opacity: 1; transform: none; }
.tt-poll { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; }
.tt-poll p { margin: 0 0 6px; font-size: .72rem; font-weight: 600; color: #fff; }
.tt-opt { display: grid; grid-template-columns: 1fr 70px 30px; gap: 6px; align-items: center; font-size: .68rem; color: #C9D2E3; margin-top: 4px; }
.tt-opt b { height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; display: block; }
.tt-opt b i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #B08D3C, #D9C08A); border-radius: 6px; transition: width .8s ease; }
.tt-opt em { font-style: normal; text-align: right; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.tt-chat { min-height: 62px; }
.tt-msg b { color: #7A5F22; }

/* Certificate sample */
main.tt .tt-cert { position: relative; display: grid; grid-template-columns: 110px 1fr; background: #fff; border-radius: 8px; overflow: hidden; padding: 0; box-shadow: 0 30px 60px -32px rgba(20,40,75,.6); transform: rotate(-1.2deg); border: 1px solid #E3E9F2; }
main.tt .tt-cert:hover { transform: rotate(0); }
.tt-cert-sample { position: absolute; top: 10px; right: 12px; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #8E9BB5; border: 1px solid #DCE1EA; border-radius: 999px; padding: 2px 8px; }
.tt-cert-side { background: linear-gradient(170deg, #1C3563, #0F1F3D); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px 10px; text-align: center; }
.tt-cert-side img { width: 64px; height: 64px; }
.tt-cert-side p { margin: 0; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: #D9C08A; font-weight: 700; line-height: 1.4; }
.tt-cert-seal { width: 64px; height: 64px; border-radius: 50%; border: 2px solid #D9C08A; display: grid; place-content: center; font-size: .5rem; letter-spacing: .08em; text-transform: uppercase; color: #D9C08A; line-height: 1.1; }
.tt-cert-seal b { font-size: 1.15rem; color: #fff; letter-spacing: 0; }
.tt-cert-main { padding: 22px 22px 18px; }
main.tt .tt-cert-k { margin: 0; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: #7A5F22; font-weight: 700; }
main.tt .tt-cert-t { margin: 4px 0 10px; font-size: 1.25rem; font-weight: 800; color: #14284B; text-align: left; }
.tt-cert-pre { margin: 0; font-size: .72rem; color: #4A5368; }
main.tt .tt-cert-n { margin: 2px 0 8px; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.45rem; color: #14203A; border-bottom: 1px solid #DCE1EA; padding-bottom: 4px; max-width: none; text-align: left; }
main.tt .tt-cert-s { margin: 0 0 12px; font-size: .7rem; line-height: 1.5; color: #4A5368; text-align: left; }
.tt-cert-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.tt-cert-meta span { display: block; font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: #8E9BB5; font-weight: 700; }
.tt-cert-meta b { font-size: .74rem; color: #14284B; white-space: nowrap; }
.tt-cert-foot { display: flex; align-items: center; gap: 12px; border-top: 1px solid #E3E9F2; padding-top: 10px; }
.tt-cert-foot p { margin: 0; flex: 1; font-size: .62rem; color: #4A5368; line-height: 1.45; }
.tt-cert-qr { width: 58px; height: 58px; flex: none; }
.tt-cert-qr svg { width: 100%; height: 100%; display: block; }

/* Dates and waiting list */
.ttt-run em.is-open { color: #1F5E43; background: #EAF5EF; }
.ttt-run em.is-soon { color: #7A5F22; background: #F6F1E4; }
.ttt-run.is-soon { background: #FAFBFD; border-style: dashed; }
.tt-wait { margin-top: 14px; }
.tt-wait-row { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; border: 1px solid #E3E9F2; border-radius: 12px; padding: 12px 14px; background: #fff; }
.tt-wait-row p { margin: 0; flex: 1 1 260px; font-size: .9rem; color: #3A4256; line-height: 1.45; }
.tt-wait-row p b { color: #14284B; }
main.tt .tt-wait-btn { width: auto; margin: 0; flex: none; text-align: center; border-style: solid; border-color: #14284B; background: #fff; color: #14284B; padding: 10px 16px; font-size: .9rem; }
main.tt .tt-wait-btn:hover, main.tt .tt-wait-btn[aria-expanded="true"] { background: #14284B; color: #fff; }
.tt-wait .ttt-wait { margin-top: 10px; }
@media (max-width: 900px) {
  .tt-live { width: auto; }
  .tt-screen { max-height: 150px; }
  main.tt .tt-cert { grid-template-columns: 84px 1fr; max-width: 420px; margin: 0 auto; }
  .tt-cert-side img, .tt-cert-seal { width: 52px; height: 52px; }
  .tt-cert-main { padding: 16px 14px 14px; }
  main.tt .tt-wait-btn { width: 100%; }
}
/* Hero: the live session card is the picture */
.tt-stage { padding: 0; display: flex; justify-content: center; position: relative; }
.tt-stage::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #EAF0F8, #DCE6F3 60%, transparent 61%); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.tt-live { position: relative; left: auto; bottom: auto; width: min(420px, 100%); padding: 14px; transform: rotate(-1deg); }
.tt-screen { max-height: 210px; }
.tt-people img, .tt-people > span { width: 40px; height: 40px; }
.ttt-run em.is-soon { color: #14284B; background: #EAF0F8; }
main.tt .tt-cert { max-width: 100%; }
@media (max-width: 900px) {
  .tt-stage::before { width: 100%; }
  .tt-live { transform: none; }
  main.tt .tt-cert { transform: none; }
}
/* Approved Trainers page: Train the Trainer promotion */
.vp main section.tr-ttt-promo { padding: 0 0 56px; background: #fff; }
.tr-ttt-card { display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px 22px; align-items: center; padding: 18px 22px; border-radius: 16px; background: linear-gradient(120deg, #14284B, #1C3563); color: #C9D2E3; text-decoration: none; box-shadow: 0 20px 40px -26px rgba(11,24,48,.7); transition: transform .2s; }
.tr-ttt-card:hover { transform: translateY(-2px); color: #C9D2E3; }
.tr-ttt-k { color: #D9C08A; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.tr-ttt-t { font-size: .95rem; line-height: 1.5; }
.tr-ttt-t b { color: #fff; }
.tr-ttt-price { color: #fff; font-weight: 700; white-space: nowrap; }
.tr-ttt-price s { color: #8E9BB5; font-weight: 500; margin-right: 6px; }
.tr-ttt-go { background: #fff; color: #14284B; font-weight: 700; font-size: .9rem; border-radius: 8px; padding: 11px 18px; white-space: nowrap; }
@media (max-width: 900px) { .tr-ttt-card { grid-template-columns: 1fr; } .tr-ttt-go { text-align: center; } }
.tr-ttt-nudge { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; background: linear-gradient(120deg, #EEF3FA, #fff); border-left: 4px solid #B08D3C; }
.tr-ttt-nudge > div { flex: 1 1 380px; }
.tr-ttt-nudge p { margin: 6px 0 0; }
/* Buttons: more padding, no navy on gold */
.tr-btn-light:hover { background: #EAF0F8; border-color: #EAF0F8; color: #14284B; }
main.tt .tt-wait-btn { padding: 12px 22px; }
.tr-ttt-go, .tr-fee-code em { padding: 13px 24px; }
.tp-strip-btns .btn { padding: 10px 22px; }
.sa-who-btn { padding: 10px 18px; }
.tt-acct { background: #EEF3FA; border: 1px solid #D5E0EE; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; }
.tt-acct b { color: #14284B; }
.tt-acct[hidden] { display: none; }
/* Train the Trainer banner on the Approved Trainers page (reworked) */
.tr-ttt-card { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 20px 32px; padding: 26px 30px; border-radius: 18px; }
.tr-ttt-ic { width: 56px; height: 56px; border-radius: 50%; background: rgba(217,192,138,.16); border: 1px solid rgba(217,192,138,.45); display: grid; place-items: center; color: #D9C08A; }
.tr-ttt-ic svg { width: 26px; height: 26px; stroke: currentColor; }
.tr-ttt-body { display: flex; flex-direction: column; gap: 4px; }
.tr-ttt-k { font-size: .72rem; }
.tr-ttt-h { color: #fff; font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.tr-ttt-t { font-size: .92rem; color: #C9D2E3; }
.tr-ttt-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.16); }
.tr-ttt-price s { font-size: .9rem; margin: 0 0 2px; }
.tr-ttt-price b { font-size: 2rem; font-weight: 800; color: #fff; }
.tr-ttt-price small { font-size: .74rem; color: #D9C08A; font-weight: 600; margin-top: 4px; white-space: nowrap; }
.tr-ttt-go { padding: 14px 26px; font-size: .95rem; }
.tr-ttt-card:hover .tr-ttt-go { background: #EAF0F8; }
@media (max-width: 900px) {
  .tr-ttt-card { grid-template-columns: auto minmax(0, 1fr); padding: 22px; }
  .tr-ttt-price { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 10px; padding-left: 0; border-left: 0; }
  .tr-ttt-go { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .tr-ttt-ic { align-self: start; width: 46px; height: 46px; } }

/* Ask for a Free Code: first 100 trainers (25 Oct 2026) */
.tr-free100 { flex-wrap: wrap; max-width: 540px; }
.tr-free100 .tr-free-txt { flex: 1 1 260px; }
.tr-code-callout b.tr-in { display: inline; color: inherit; }
.tr-free100-btn { margin-left: 46px; border: 0; cursor: pointer; background: #14284B; color: #fff; font: inherit; font-weight: 600; font-size: .92rem; border-radius: 8px; padding: 12px 24px; white-space: nowrap; transition: background .2s; }
.tr-free100-btn:hover, .tr-free100-btn:focus-visible { background: #1C3563; }
.tr-free-gone { display: none; }
.tr-free-full .tr-free-open { display: none; }
.tr-free-full span.tr-free-gone { display: inline; }
.tr-free-full em.tr-free-gone { display: block; }
.tr-free-full [data-free-code], .tr-has-code [data-free-code] { display: none; }
.tr-free-dlg { border: 0; padding: 0; border-radius: 18px; width: min(470px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 30px 80px -20px rgba(10, 20, 40, .55); }
.tr-free-dlg::backdrop { background: rgba(10, 20, 40, .55); }
.tr-free-dlg .vp-form-card { margin: 0; box-shadow: none; position: relative; }
.tr-free-dlg h3 { padding-right: 44px; }
.tr-free-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #EEF3FA; color: #14284B; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.tr-free-x:hover { background: #D5E0EE; }
.tr-free-small { font-size: .82rem; line-height: 1.5; color: #5A6478; margin: 4px 0 14px; }
@media (max-width: 560px) { .tr-free100-btn { margin-left: 0; width: 100%; } }

/* Free code box: shorter, even padding (25 Oct 2026, 07:00) */
.tr-free100 { align-items: center; gap: 12px; padding: 16px; max-width: 360px; }
.tr-free100 .tr-free-txt { flex: 1 1 160px; }
.tr-free100 .tr-free-txt b { display: inline; font-size: 1rem; }
.tr-free100-btn { margin-left: 0; width: 100%; }

/* "No code?" line under the code box in the application form (25 Oct 2026) */
.tr-nocode { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin: 10px 0 0; padding: 12px 14px; border-radius: 10px; background: #FCFAF4; border: 1px solid #E8DCC0; font-size: .88rem; line-height: 1.45; color: #14203A; }
.tr-nocode b { color: #14284B; }
.tr-nocode-btn { border: 0; cursor: pointer; background: #14284B; color: #fff; font: inherit; font-weight: 600; font-size: .86rem; border-radius: 8px; padding: 10px 18px; white-space: nowrap; }
.tr-nocode-btn:hover, .tr-nocode-btn:focus-visible { background: #1C3563; }
.tr-free-full .tr-nocode, .tr-has-code .tr-nocode { display: none; }

/* Trainer referrals: money panel (25 Oct 2026) */
.tr-ref-sub { margin: 30px 0 14px; }
.tr-pay-form { margin-top: 18px; padding-top: 16px; border-top: 1px solid #E3E8F0; }
.tr-pay-form .pa-h3 { margin: 0 0 12px; font-size: 1rem; }
.tr-pay-form .btn, .tr-pay-or .btn { padding: 12px 22px; }
.tr-pay-or { margin: 14px 0 0; }

/* Public profile: long bios with "Read more"; admin text editor (25 Oct 2026) */
.tr-more > summary { display: inline-block; cursor: pointer; color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; margin: 2px 0 10px; list-style: none; }
.tr-more > summary::-webkit-details-marker { display: none; }
.tr-more[open] > summary { display: none; }
.ta-edit { margin-top: 12px; }
.ta-edit-form { display: grid; gap: 10px; margin-top: 10px; }
.ta-edit-f { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: #14284B; }
.ta-edit-f input, .ta-edit-f textarea, .ta-edit-file select { font: inherit; font-weight: 400; padding: 8px 10px; border: 1px solid #D5E0EE; border-radius: 8px; }
.ta-edit-files { display: grid; gap: 6px; margin-top: 6px; }
.ta-edit-file { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: .85rem; }

/* Admin trainer cards: space between and inside the action buttons (25 Oct 2026) */
.ta-card .ta-box > .btn, .ta-card .ta-box > button { margin: 0 10px 10px 0; padding: 12px 22px; }
.ta-card .ta-box > .btn:last-of-type { margin-right: 0; }
.ta-card .ta-add .btn { padding: 10px 18px; }

/* Register cards: the trainer number line always sits at the bottom of the card (25 Oct 2026) */
.tr-reg-card .tr-reg-photo { align-self: flex-start; }
.tr-reg-card > span:last-child { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.tr-reg-card .tr-reg-meta { margin-top: auto; padding-top: 12px; }
/* Phones (29 Oct 2026): space between the hero buttons and the live card, and keep the raised-hand note inside the card. */
@media (max-width: 900px) {
  .tt-hero .tt-stage { margin-top: 24px; }
  .tt-people em { white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 420px) {
  .tt-people img, .tt-people > span { width: 34px; height: 34px; }
  .tt-people img:nth-of-type(3) { display: none; }
}
