/*
 * Trainer Pro (stp-). Loaded only on Trainer Pro routes, after the Sneaky Line base (sl-base.css), whose tokens,
 * type, buttons, chips and focus ring it uses. Every rule is scoped to body.stp. No @font-face (the footer declares
 * "Sneaky Display"), no --sh-* or --sl-* definitions. The trainer's brand arrives only as --stp-a* colour tokens,
 * derived server-side so text stays readable. Motion: transform/opacity/stroke-dashoffset only, finite, and only
 * under prefers-reduced-motion: no-preference.
 */

body.stp .stp-root { --stp-a: #2b8fd6; --stp-a-ink: #1b6fae; --stp-a-wash: #eaf4fd; --stp-a-on: #fff; --stp-err: #7b244b; }

/* ---------- preview ribbon and private note ---------- */
body.stp .stp-ribbon, body.stp .stp-private { background: #fff8e1; border-bottom: 1px solid #f0dca0; color: #5c4705; font-size: 14.5px; line-height: 1.45; }
body.stp .stp-private { background: var(--sl-sky-soft); border-color: var(--sl-line); color: var(--sl-ink); }
body.stp :is(.stp-ribbon, .stp-private) .sl-wrap { display: flex; gap: 10px; align-items: flex-start; padding-block: 10px; }
body.stp :is(.stp-ribbon, .stp-private) .sl-i { width: 18px; height: 18px; margin-top: 2px; }
body.stp :is(.stp-ribbon, .stp-private) p { margin: 0; }

/* ---------- avatars ---------- */
body.stp .stp-avatar { position: relative; display: inline-grid; place-items: center; flex: none; width: var(--stp-av, 72px); height: var(--stp-av, 72px); border-radius: 50%;
	box-shadow: 0 0 0 calc(var(--stp-av, 72px) * .045 + 1px) #fff, 0 0 0 calc(var(--stp-av, 72px) * .08 + 2px) var(--stp-a-wash), 0 16px 30px -18px rgba(18, 44, 58, .65); background: var(--stp-a-wash); }
body.stp .stp-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
body.stp .stp-avatar--mono { background: var(--stp-a); color: var(--stp-a-on); }
body.stp .stp-avatar--mono span { font: 800 calc(var(--stp-av, 72px) * .36)/1 var(--sl-display); letter-spacing: -.03em; }
body.stp .stp-avatar--card { --stp-av: 72px; }
body.stp .stp-avatar--cast { --stp-av: 76px; }
body.stp .stp-avatar--hero { --stp-av: clamp(116px, 14vw, 160px); }
body.stp .stp-avatar--dash { --stp-av: 64px; }
body.stp .stp-avatar--preview { --stp-av: 56px; }

/* ---------- directory masthead ---------- */
body.stp .stp-dir-stage { position: relative; min-height: 220px; }
body.stp .stp-dir-line { position: absolute; inset: 10% 0 auto; width: 100%; height: 70%; }
body.stp .stp-cast { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 22px; margin: 0; padding: 40px 0 0; list-style: none; }
body.stp .stp-cast li { display: grid; justify-items: center; gap: 10px; }
body.stp .stp-cast li:nth-child(even) { transform: translateY(34px); }
body.stp .stp-cast-name { font: 700 14px/1 var(--sl-text); color: var(--sl-ink); background: #fff; padding: 6px 10px; border-radius: 999px; box-shadow: 0 8px 18px -12px rgba(18, 44, 58, .5); }
body.stp .stp-cast-empty { position: relative; display: flex; justify-content: center; gap: 48px; padding-top: 80px; }
body.stp .stp-cast-empty .sl-node { width: 60px; height: 60px; }
@media (max-width: 1023px) { body.stp .stp-dir-stage { display: none; } }

/* ---------- filters ---------- */
body.stp .stp-filters-band { padding-block: 18px 6px; }
body.stp .stp-filters { display: grid; gap: 16px; padding: clamp(16px, 2.4vw, 26px); border: 1px solid var(--sl-line-soft); border-radius: 24px; background: #fff; box-shadow: var(--sl-shadow-card); }
body.stp .stp-filter-grid { display: grid; gap: 12px 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
body.stp .stp-filter-grid .stp-field { margin: 0; }
body.stp .stp-filter-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
body.stp .stp-where, body.stp .stp-chips { margin: 0; padding: 0; border: 0; min-width: 0; }
body.stp .stp-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
body.stp .sl-chip .sl-i { width: 16px; height: 16px; }
/* HK-192: the long "Qualification checked by Sneaky" chip wraps on narrow screens instead of running past the edge */
body.stp .stp-filter-foot .sl-chip { max-width: 100%; }
body.stp .stp-filter-foot .sl-chip > span { white-space: normal; line-height: 1.25; padding-block: 10px; }

/* ---------- results and cards ---------- */
body.stp .stp-results { display: grid; gap: 20px; }
body.stp .stp-count { margin: 0; color: var(--sl-muted); font-size: 15.5px; }
body.stp .stp-count strong { color: var(--sl-ink); }
body.stp .stp-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
body.stp .stp-grid--one { grid-template-columns: minmax(0, 380px); }
body.stp .stp-card { position: relative; display: grid; align-content: start; gap: 10px; padding: 24px 22px 18px; background: #fff; border: 1px solid var(--sl-line-soft); border-radius: 24px; box-shadow: var(--sl-shadow-card); overflow: hidden; }
body.stp .stp-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--stp-a); }
body.stp .stp-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
body.stp .stp-card-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--sl-line-soft); padding: 3px; }
body.stp .stp-card-name a { color: var(--sl-ink); text-decoration: none; }
body.stp .stp-card-name a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
body.stp .stp-card-name a:focus-visible { outline: none !important; box-shadow: none !important; }
body.stp .stp-card:focus-within { outline: 2px solid var(--sl-ink); outline-offset: 3px; box-shadow: 0 0 0 5px #fff, var(--sl-shadow-card); }
body.stp .stp-card-biz { margin: -4px 0 0; font: 700 13px/1.3 var(--sl-text); letter-spacing: .06em; text-transform: uppercase; color: var(--stp-a-ink); }
body.stp .stp-card-line { margin: 0; color: var(--sl-copy); font-size: 15.5px; line-height: 1.5; }
body.stp .stp-card-facts { margin-top: 4px; }
body.stp .stp-card-facts .sl-i { color: var(--stp-a-ink); }
body.stp .stp-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--sl-line-soft); min-height: 44px; }
body.stp .stp-card-go { margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--stp-a-wash); color: var(--stp-a-ink); }
body.stp .stp-checked { display: inline-flex; align-items: center; gap: 6px; font: 700 14px/1.25 var(--sl-text); color: var(--sl-teal); }
body.stp .stp-checked .sl-i { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--sl-assess-wash); }
body.stp .stp-checked--sm { font-size: 13px; }
body.stp .stp-sample { font: 600 13px/1.3 var(--sl-text); color: #6b5208; }
body.stp .stp-empty { display: grid; justify-items: start; gap: 12px; padding: clamp(24px, 4vw, 44px); border: 1.5px dashed var(--sl-line); border-radius: 24px; background: #fff; }
body.stp .stp-empty p { margin: 0; color: var(--sl-copy); }
body.stp .stp-empty-line { color: var(--sl-muted); margin: 8px 0 18px; }

/* ---------- dark bands ---------- */
body.stp .stp-eyebrow-night { color: #8fd3ef; }
body.stp .stp-night-lead { color: #c3d4dd; font-size: clamp(1.05rem, .98rem + .32vw, 1.2rem); line-height: 1.58; max-width: 56ch; margin: 0; }
body.stp .stp-btn-night, body.stp .stp-btn-night:is(:hover, :focus, :visited, :active) { --sl-btn-bg: transparent; --sl-btn-fg: #f2f8fb; --sl-btn-bd: rgba(241, 237, 228, .55); --sl-btn-bg-on: rgba(255, 255, 255, .08); --sl-btn-fg-on: #fff; --sl-btn-bd-on: #f1ede4; }
body.stp .stp-btn-night .sl-i { color: #8fd3ef; }
body.stp .stp-btn-night[disabled] { opacity: .62; cursor: not-allowed; transform: none; }
body.stp .stp-can-night li { color: #e8f1f5; }
body.stp .stp-can-night .sl-i { color: #8fd3ef; }
/* HK-192: the profile's accent-ink eyebrow rule (.stp-profile .sl-eyebrow, later in this file) won over the night eyebrow: 3.1:1 on the night band */
body.stp .stp-profile .sl-eyebrow.stp-eyebrow-night { color: #8fd3ef; }
/* HK-192: on phones a long night button wraps instead of widening the contact column, whose band clips the text beside it */
@media (max-width: 479px) { body.stp .stp-btn-night { white-space: normal; max-width: 100%; overflow-wrap: anywhere; text-align: center; } }
body.stp .sl-band--night .sl-scope :focus-visible, body.stp .sl-band--night :focus-visible { outline-color: #ffcf33 !important; box-shadow: none !important; }
body.stp .stp-soon { display: grid; gap: 16px; padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .12); }
body.stp .stp-soon .sl-h3 { color: #f2f8fb; }
body.stp .stp-ways { display: flex; flex-wrap: wrap; gap: 10px; }
body.stp .stp-ways .sl-btn { white-space: normal; text-align: left; }

/* ---------- profile ---------- */
body.stp .stp-cover { position: relative; height: clamp(170px, 24vw, 340px); overflow: hidden; background: var(--stp-a-wash); }
body.stp .stp-cover-img, body.stp .stp-cover-art { display: block; width: 100%; height: 100%; object-fit: cover; }
body.stp .stp-hero { position: relative; padding-bottom: clamp(32px, 4vw, 56px); background: linear-gradient(180deg, #fff 0%, var(--stp-a-wash) 140%); border-bottom: 1px solid var(--sl-line-soft); }
body.stp .stp-hero-inner { display: grid; gap: 18px 40px; grid-template-columns: minmax(0, 1fr); }
body.stp .stp-id { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 14px; margin-top: calc(var(--stp-av-hero, 132px) * -.55); } /* above the cover band, which hid the logo's top half at ≤768 (brand refinement, 16 Oct 2026) */
body.stp .stp-id .stp-avatar--hero { --stp-av-hero: clamp(116px, 14vw, 160px); }
body.stp .stp-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 16px; background: #fff; border: 1px solid var(--sl-line-soft); padding: 6px; box-shadow: 0 14px 26px -18px rgba(18, 44, 58, .6); }
body.stp .stp-hero-copy { display: grid; gap: 14px; justify-items: start; min-width: 0; }
body.stp .stp-hero-copy .sl-crumbs { margin-bottom: -6px; }
body.stp .stp-kind { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 800 13px/1.3 var(--sl-text); letter-spacing: .12em; text-transform: uppercase; color: var(--stp-a-ink); }
body.stp .stp-kind .sl-i { width: 18px; height: 18px; }
body.stp .stp-marks { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 0; }
body.stp .stp-marks:empty { display: none; }
body.stp .stp-hero-facts .sl-i, body.stp .stp-profile .sl-can .sl-i { color: var(--stp-a-ink); }
body.stp .stp-profile .sl-eyebrow { color: var(--stp-a-ink); }
@media (min-width: 900px) {
	body.stp .stp-hero-inner { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
	body.stp .stp-id { flex-direction: column; align-items: center; }
	body.stp .stp-hero-copy { padding-top: 22px; }
}
body.stp .stp-about { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { body.stp .stp-about { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
body.stp .stp-about-main { display: grid; gap: 14px; align-content: start; }
body.stp .stp-prose { display: grid; gap: 1em; max-width: 66ch; font-size: 17.5px; line-height: 1.68; color: var(--sl-copy); }
body.stp .stp-prose p:first-child { font-size: 19.5px; color: var(--sl-ink); }
body.stp .stp-about-aside { display: grid; gap: 26px; align-content: start; padding: clamp(20px, 2.6vw, 30px); border-radius: 24px; background: var(--stp-a-wash); }
body.stp .stp-aside-block { display: grid; gap: 12px; }
body.stp .stp-creds { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
body.stp .stp-cred { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--sl-line-soft); }
body.stp .stp-cred-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sl-sky-soft); color: var(--sl-muted); }
body.stp .stp-cred.is-checked .stp-cred-icon { background: var(--sl-assess-wash); color: var(--sl-teal); }
body.stp .stp-cred p { margin: 0; }
body.stp .stp-cred-title { font: 700 17px/1.3 var(--sl-display); color: var(--sl-ink); }
body.stp .stp-cred-meta { font-size: 14.5px; color: var(--sl-muted); }
body.stp .stp-cred-state { margin-top: 6px !important; font-size: 14.5px; color: var(--sl-copy); }
body.stp .stp-cred.is-checked .stp-cred-state { color: var(--sl-teal); font-weight: 700; }
body.stp .stp-cred .sl-actions { margin-top: 10px; }
body.stp .stp-offers { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
body.stp .stp-offer { position: relative; display: grid; align-content: start; gap: 12px; padding: 26px 24px 22px; background: #fff; border: 1px solid var(--sl-line-soft); border-radius: 24px; box-shadow: var(--sl-shadow-card); }
body.stp .stp-offer::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--stp-a); }
body.stp .stp-offer-desc { display: grid; gap: .6em; color: var(--sl-copy); font-size: 16px; line-height: 1.55; }
body.stp .stp-offer-desc p, body.stp .stp-offer-elig, body.stp .stp-offer-price { margin: 0; }
body.stp .stp-offer-elig { font-size: 15px; color: var(--sl-copy); }
body.stp .stp-offer-price { display: flex; align-items: baseline; gap: 6px; padding-top: 6px; border-top: 1px solid var(--sl-line-soft); }
body.stp .stp-price { font: 800 26px/1.1 var(--sl-display); font-variant-numeric: tabular-nums; color: var(--sl-ink); letter-spacing: -.02em; }
body.stp .stp-unit { color: var(--sl-muted); font-size: 14.5px; }
body.stp .stp-offer .sl-btn { justify-self: start; }
body.stp .stp-pub { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }

/* ---------- dashboard ---------- */
body.stp .stp-dash-head { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-block: clamp(22px, 3vw, 40px) clamp(30px, 3.6vw, 48px); }
body.stp .stp-dash-who { display: flex; align-items: center; gap: 18px; min-width: 0; }
body.stp .stp-dash-who .sl-h2 { margin: 4px 0 4px; }
body.stp .stp-status-line { margin: 0; color: var(--sl-copy); font-size: 16px; }
body.stp .stp-tabs { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--sl-line-soft); }
body.stp .stp-tabs ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: thin; }
body.stp .stp-tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 14px; font: 700 15px/1 var(--sl-text); color: var(--sl-copy); text-decoration: none; white-space: nowrap; }
body.stp .stp-tabs a .sl-i { width: 18px; height: 18px; color: var(--sl-muted); }
body.stp .stp-tabs a:hover { color: var(--sl-ink); }
body.stp .stp-tabs a[aria-current="page"] { color: var(--sl-ink); }
body.stp .stp-tabs a[aria-current="page"] .sl-i { color: var(--sl-train-ink); }
body.stp .stp-tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--sl-train); }
body.stp .stp-dash-body { padding-top: 28px; }
body.stp .stp-overview { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { body.stp .stp-overview { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } body.stp .stp-complete { grid-row: span 3; } }
body.stp .stp-panel { display: grid; gap: 12px; align-content: start; padding: clamp(18px, 2.4vw, 28px); background: #fff; border: 1px solid var(--sl-line-soft); border-radius: 24px; box-shadow: var(--sl-shadow-card); }
body.stp .stp-panel p { margin: 0; }
body.stp .stp-panel > :is(.sl-btn, form) { justify-self: start; }
body.stp .stp-complete-head { display: flex; align-items: center; gap: 18px; }
body.stp .stp-ring { width: 108px; height: 108px; flex: none; }
body.stp .stp-ring-text { font: 800 26px/1 var(--sl-display); fill: var(--sl-ink); }
body.stp .stp-steps-list { display: grid; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; }
body.stp .stp-steps-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 40px; padding: 2px 0; border-bottom: 1px solid var(--sl-line-soft); color: var(--sl-ink); }
body.stp .stp-steps-list li:last-child { border-bottom: 0; }
body.stp .stp-steps-list .sl-i { width: 22px; height: 22px; color: var(--sl-train); }
body.stp .stp-steps-list li.is-done { color: var(--sl-muted); }
body.stp .stp-steps-list li.is-done .sl-i { color: var(--sl-teal); }
body.stp .stp-steps-list a { color: var(--sl-ink); font-weight: 650; text-decoration: underline; text-decoration-color: var(--sl-sky); text-decoration-thickness: 2px; text-underline-offset: 4px; }
body.stp .stp-tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
body.stp .stp-tile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 20px; border-radius: 22px; background: #fff; border: 1.5px dashed var(--sl-line); }
body.stp .stp-tile p { margin: 4px 0 0; }
body.stp .stp-tile-state { font: 800 12.5px/1.2 var(--sl-text) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--sl-muted); }
body.stp .stp-tile-text { color: var(--sl-copy); font-size: 15px; line-height: 1.5; }
body.stp .stp-tile .sl-btn { margin-top: 12px; }
body.stp .stp-note, body.stp .stp-flag { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--sl-sky-soft); color: var(--sl-ink); font-size: 15px; line-height: 1.45; }
body.stp .stp-flag { background: #fff6e0; }
body.stp :is(.stp-note, .stp-flag) .sl-i { width: 18px; height: 18px; margin-top: 2px; }
body.stp .stp-inline { display: inline; margin: 0; }
body.stp .stp-gap { margin-bottom: 18px !important; }
body.stp .stp-gap-top { margin-top: 30px !important; }

/* flash */
body.stp .stp-flash { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 22px; padding: 14px 16px; border-radius: 16px; font-size: 16px; line-height: 1.45; }
body.stp .stp-flash.is-ok { background: var(--sl-assess-wash); color: var(--sl-teal-deep); }
body.stp .stp-flash.is-warn { background: var(--sl-rose-soft); color: var(--sl-plum-deep); border: 1px solid var(--sl-rose-line); }
body.stp .stp-flash .sl-i { width: 20px; height: 20px; margin-top: 1px; }

/* ---------- forms ---------- */
body.stp .stp-editor { display: grid; gap: 18px; max-width: 880px; }
body.stp .stp-editor--split { max-width: none; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1024px) { body.stp .stp-editor--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; } body.stp .stp-brand-side { position: sticky; top: 76px; } }
body.stp .stp-editor-head { display: grid; gap: 6px; }
body.stp .stp-editor-head--row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 24px; }
@media (max-width: 767px) { body.stp .stp-editor-head--row { grid-template-columns: minmax(0, 1fr); } }
body.stp .stp-form, body.stp .stp-mod { display: grid; gap: 18px; margin: 0; }
body.stp .stp-field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
body.stp .stp-field > label, body.stp .stp-field > legend { padding: 0; font: 700 15.5px/1.3 var(--sl-text); color: var(--sl-ink); }
body.stp .stp-opt { font-weight: 500; color: var(--sl-muted); }
body.stp .stp-help { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--sl-muted); }
body.stp .stp-field :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"], select, textarea) {
	width: 100%; min-height: 50px; margin: 0; padding: 10px 14px; border: 1.5px solid var(--sl-line); border-radius: 14px; background: #fff; color: var(--sl-ink); font: 400 16.5px/1.4 var(--sl-text); box-shadow: none; }
body.stp .stp-field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
body.stp .stp-field select { appearance: auto; }
body.stp .stp-field :is(input, select, textarea):hover { border-color: #9fbfd2; }
body.stp .stp-field :is(input, select, textarea):focus { border-color: var(--sl-teal); }
body.stp .stp-field.has-error :is(input, select, textarea) { border-color: var(--stp-err); background: #fffafc; }
body.stp .stp-err { display: flex; gap: 6px; align-items: flex-start; margin: 2px 0 0; color: var(--stp-err); font: 650 14.5px/1.4 var(--sl-text); }
body.stp .stp-err .sl-i { width: 16px; height: 16px; margin-top: 2px; }
body.stp .stp-count-hint { justify-self: end; font-size: 13px; color: var(--sl-muted); font-variant-numeric: tabular-nums; }
body.stp .stp-two { display: grid; gap: 14px 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
body.stp .stp-toggle { grid-template-columns: 24px minmax(0, 1fr); align-items: start; column-gap: 12px; }
body.stp .stp-toggle input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--sl-teal); }
body.stp .stp-toggle label { display: grid; gap: 2px; font: 600 16px/1.45 var(--sl-text); color: var(--sl-ink); cursor: pointer; }
body.stp .stp-toggle .stp-err { grid-column: 2; }
body.stp .stp-consent { display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: var(--sl-sky-soft); }
body.stp .stp-image-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
body.stp .stp-image-now { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--sl-sky-soft); color: var(--sl-muted); border: 1px solid var(--sl-line-soft); }
body.stp .stp-image-now--logo { border-radius: 14px; }
body.stp .stp-image-now--cover { width: 160px; height: 64px; border-radius: 12px; }
body.stp .stp-image-now img { width: 100%; height: 100%; object-fit: cover; }
body.stp .stp-image-now .sl-i { width: 28px; height: 28px; }
body.stp .stp-image input[type="file"] { max-width: 100%; font: 500 15px/1.3 var(--sl-text); color: var(--sl-copy); }
body.stp .stp-accent-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
body.stp .stp-accent-row input[type="color"] { width: 64px; height: 50px; padding: 4px; border: 1.5px solid var(--sl-line); border-radius: 14px; background: #fff; cursor: pointer; }
body.stp .stp-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
body.stp .stp-swatch { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 3px solid #fff; background: var(--sw); box-shadow: 0 0 0 1.5px var(--sl-line); cursor: pointer; }
body.stp .stp-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--sl-ink); }
body.stp .stp-brand-preview { overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--sl-line-soft); box-shadow: var(--sl-shadow-lift); padding-bottom: 20px; }
body.stp .stp-brand-cover { height: 130px; background: var(--stp-a-wash); overflow: hidden; }
body.stp .stp-brand-cover :is(img, svg) { display: block; width: 100%; height: 100%; object-fit: cover; }
body.stp .stp-brand-id { display: flex; align-items: flex-end; gap: 12px; margin: -28px 20px 0; }
body.stp .stp-brand-id p { margin: 0; }
body.stp .stp-brand-name { font: 800 22px/1.1 var(--sl-display); color: var(--sl-ink); letter-spacing: -.02em; }
body.stp .stp-brand-eyebrow { margin: 18px 20px 10px; font: 800 12px/1 var(--sl-text); letter-spacing: .14em; text-transform: uppercase; color: var(--stp-a-ink); }
body.stp .stp-brand-preview .sl-btn { margin-left: 20px; pointer-events: none; }
body.stp .stp-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
body.stp .stp-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 18px; border-radius: 20px; background: rgba(255, 255, 255, .85); border: 1px solid var(--sl-line-soft); }
body.stp .stp-steps div { display: grid; gap: 2px; }
body.stp .stp-steps strong { font: 700 17px/1.2 var(--sl-display); color: var(--sl-ink); }
body.stp .stp-steps span { color: var(--sl-copy); font-size: 15px; }

/* services list */
body.stp .stp-svcs { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
body.stp .stp-svc { display: grid; gap: 12px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--sl-line-soft); }
@media (min-width: 900px) { body.stp .stp-svc { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
body.stp .stp-svc p { margin: 0; }
body.stp .stp-svc-meta { color: var(--sl-muted); font-size: 15px; }
body.stp .stp-svc-state { margin-top: 6px !important; font-weight: 650; color: var(--sl-ink); }
body.stp .stp-svc--rejected .stp-svc-state { color: var(--stp-err); }
body.stp .stp-svc--published .stp-svc-state { color: var(--sl-teal); }
body.stp .stp-svc--archived { opacity: .75; }
body.stp .stp-offer-form { margin-bottom: 8px; }

/* review */
body.stp .stp-mod-section { display: grid; gap: 12px; margin-top: 30px; }
body.stp .stp-mod-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
body.stp .stp-mod-who { font-size: 15px; color: var(--sl-copy); }
body.stp .stp-mod-offer .stp-offer { box-shadow: none; }
body.stp .stp-count-badge { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; margin-left: 6px; border-radius: 999px; background: var(--sl-sky-soft); font: 800 15px/1 var(--sl-text); color: var(--sl-ink); vertical-align: middle; }
body.stp .stp-table-wrap { overflow-x: auto; border: 1px solid var(--sl-line-soft); border-radius: 18px; background: #fff; }
body.stp .stp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
body.stp .stp-table :is(th, td) { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sl-line-soft); }
body.stp .stp-table thead th { font: 800 12.5px/1.2 var(--sl-text); letter-spacing: .08em; text-transform: uppercase; color: var(--sl-muted); }
body.stp .stp-table .stp-mod { gap: 8px; }

/* ---------- 1.1: directory filters on phones, active filters ---------- */
body.stp .stp-more { display: grid; gap: 16px; }
body.stp .stp-more > summary { display: none; list-style: none; justify-self: start; cursor: pointer; }
body.stp .stp-more > summary::-webkit-details-marker { display: none; }
body.stp .stp-more-n { font-weight: 600; color: var(--sl-muted); }
@media (max-width: 767px) { body.stp .stp-more > summary { display: inline-flex; } }
body.stp .stp-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
body.stp .stp-active p { margin: 0; font: 700 13px/1 var(--sl-text); letter-spacing: .1em; text-transform: uppercase; color: var(--sl-muted); }
body.stp .stp-active ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.stp .stp-active-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--sl-sky-soft); border: 1px solid var(--sl-line); color: var(--sl-ink); font: 650 14.5px/1 var(--sl-text); text-decoration: none; }
body.stp .stp-active-chip:hover { border-color: var(--sl-ink); }
body.stp .stp-x { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; font-size: 17px; line-height: 1; color: var(--sl-copy); }

/* ---------- 1.1: services ---------- */
body.stp .stp-svc-req { display: flex; gap: 6px; align-items: center; margin-top: 6px !important; font-size: 14.5px; color: var(--sl-copy); }
body.stp .stp-svc-req .sl-i { width: 16px; height: 16px; color: var(--sl-train-ink); }

/* ---------- 1.1: example view and connected panels ---------- */
body.stp .stp-example-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 22px; padding: 12px 16px; border-radius: 16px; border: 1.5px dashed var(--sl-line); background: #fff; color: var(--sl-copy); font-size: 15px; line-height: 1.45; }
body.stp .stp-example-bar p { flex: 1 1 260px; margin: 0; }
body.stp .stp-example-bar > .sl-i { width: 20px; height: 20px; color: var(--sl-train-ink); }
body.stp .stp-example-bar.is-on { border: 1px solid #f0dca0; background: #fff8e1; color: #5c4705; }
body.stp .stp-example-bar.is-on > .sl-i { color: #8a6a07; }
body.stp .is-example .stp-panel, body.stp .is-example .stp-content-item, body.stp .is-example .stp-client { background-image: repeating-linear-gradient(135deg, rgba(240, 220, 160, .14) 0 12px, transparent 12px 24px); }
body.stp .stp-editor--wide { max-width: 1040px; }
body.stp .stp-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
body.stp .stp-pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; font: 700 13px/1.2 var(--sl-text); white-space: nowrap; background: var(--sl-sky-soft); color: var(--sl-ink); }
body.stp .stp-pill--ok { background: var(--sl-assess-wash); color: var(--sl-teal-deep); }
body.stp .stp-pill--warn { background: #fff3d6; color: #6b5208; }
body.stp .stp-pill--bad { background: var(--sl-rose-soft); color: var(--sl-plum-deep); }
body.stp .stp-content-list, body.stp .stp-clients { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
body.stp .stp-content-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--sl-line-soft); }
@media (min-width: 768px) { body.stp .stp-content-item { grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; } }
body.stp .stp-content-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sl-train-wash, var(--sl-sky-soft)); color: var(--sl-train-ink); }
body.stp .stp-content-icon .sl-i { width: 24px; height: 24px; }
body.stp .stp-content-main { display: grid; gap: 4px; min-width: 0; }
body.stp .stp-content-main p { margin: 0; }
body.stp .stp-content-meta { color: var(--sl-copy); font-size: 15px; }
body.stp .stp-content-fits { color: var(--sl-muted); font-size: 14px; }
body.stp .stp-content-side { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 2; }
@media (min-width: 768px) { body.stp .stp-content-side { grid-column: auto; justify-content: flex-end; } }
body.stp .stp-table th .sl-i { width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; color: var(--sl-train-ink); }
body.stp .stp-clients { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
body.stp .stp-client { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--sl-line-soft); }
body.stp .stp-client p { margin: 6px 0 0; font-size: 15px; color: var(--sl-copy); }
body.stp .stp-client-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
body.stp .stp-avatar--client { --stp-av: 48px; }
body.stp .stp-shares li { align-items: flex-start; }
body.stp .stp-week { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 118px), 1fr)); }
body.stp .stp-day { display: grid; gap: 8px; align-content: start; padding: 12px; border-radius: 16px; background: var(--sl-sky-soft); }
body.stp .stp-day-name { font: 800 13px/1.2 var(--sl-text) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--sl-ink); }
body.stp .stp-day ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.stp .stp-slot { display: block; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--sl-line); font: 700 15px/1 var(--sl-text); font-variant-numeric: tabular-nums; color: var(--sl-ink); text-align: center; }
body.stp .stp-flow { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
@media (min-width: 900px) { body.stp .stp-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
body.stp .stp-flow li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--sl-line-soft); }
body.stp .stp-flow p { margin: 0; font-size: 14.5px; color: var(--sl-copy); line-height: 1.45; }
body.stp .stp-flow .stp-flow-t { font: 700 16px/1.25 var(--sl-display); color: var(--sl-ink); margin-bottom: 4px; }
body.stp .stp-flow-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sl-train); color: #fff; font: 800 14px/1 var(--sl-text); }

/* ---------- 1.1: brand kit ---------- */
body.stp .stp-kit { display: grid; gap: 12px; margin-top: 22px; }
body.stp .stp-kit p { margin: 0; }
body.stp .stp-kit-email { overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--sl-line-soft); box-shadow: var(--sl-shadow-card); }
body.stp .stp-kit-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--stp-a); color: var(--stp-a-on); font: 700 14.5px/1.2 var(--sl-text); }
body.stp .stp-kit-mark { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; overflow: hidden; background: #fff; color: var(--stp-a-ink); font: 800 14px/1 var(--sl-display); }
body.stp .stp-kit-mark img { width: 100%; height: 100%; object-fit: contain; }
body.stp .stp-kit-body { display: grid; gap: 8px; padding: 16px; }
body.stp .stp-kit-h { font: 800 17px/1.2 var(--sl-display); color: var(--sl-ink); }
body.stp .stp-kit-line { height: 8px; border-radius: 4px; background: var(--sl-line-soft); }
body.stp .stp-kit-line--short { width: 60%; }
body.stp .stp-kit-trust { font-size: 12.5px; color: var(--sl-muted); line-height: 1.4; }
body.stp .stp-kit-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
body.stp .stp-kit-pdf { display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: 14px; background: var(--stp-a-wash); border-top: 6px solid var(--stp-a-ink); }
body.stp .stp-kit-sub { font-size: 14px; color: var(--stp-a-ink); font-weight: 700; }
body.stp .stp-kit-foot { font-size: 12px; color: var(--sl-copy); margin-top: 8px !important; }
body.stp .stp-kit-ics { display: flex; gap: 10px; align-items: flex-start; padding: 16px; border-radius: 14px; background: #fff; border: 1px dashed var(--sl-line); }
body.stp .stp-kit-ics .sl-i { width: 22px; height: 22px; color: var(--sl-train-ink); flex: none; }
body.stp .stp-kit-ics p { display: grid; gap: 4px; font-size: 14.5px; color: var(--sl-ink); }
body.stp .stp-kit-ics span { color: var(--sl-muted); font-size: 13px; }

/* pending state (contract §9) */
body.stp .sl-btn.is-pending { opacity: .78; cursor: progress; }

/* ---------- mobile ---------- */
@media (max-width: 479px) {
	body.stp .stp-card { padding: 22px 18px 16px; }
	body.stp .stp-complete-head { flex-direction: column; align-items: flex-start; }
	body.stp .stp-tabs a { padding: 0 12px; }
	body.stp .stp-dash-who { align-items: flex-start; }
}
body.stp .stp-root { padding-bottom: 88px; } /* clearance for the floating Ask a Helper launcher */

/* ---------- motion (gated, finite) ---------- */
@media (prefers-reduced-motion: no-preference) {
	body.stp .stp-card-go { transition: transform .2s var(--sl-ease); }
	body.stp .stp-card:hover .stp-card-go, body.stp .stp-card:focus-within .stp-card-go { transform: translateX(4px); background: var(--stp-a); color: var(--stp-a-on); }
	body.stp .stp-card .stp-avatar { transition: transform .25s var(--sl-spring); }
	body.stp .stp-card:hover .stp-avatar { transform: scale(1.04) rotate(-2deg); }
	body.stp .stp-swatch { transition: transform .16s var(--sl-ease); }
	body.stp .stp-swatch:hover { transform: scale(1.08); }
	body.stp .stp-tabs a::after { transition: transform .2s var(--sl-ease); }
	html.sl-armed body.stp .stp-cast.is-in li { animation: stp-pop .6s var(--sl-spring) both; animation-delay: calc(var(--d, 0) * 110ms + 300ms); }
	html.sl-armed body.stp .stp-steps.is-in li { animation: stp-rise .6s var(--sl-ease) both; }
	html.sl-armed body.stp .stp-steps.is-in li:nth-child(2) { animation-delay: .12s; }
	html.sl-armed body.stp .stp-steps.is-in li:nth-child(3) { animation-delay: .24s; }
	html.sl-armed body.stp .stp-steps.is-in li:nth-child(4) { animation-delay: .36s; }
	html.sl-armed body.stp .stp-ring-arc { animation: stp-ring 1.1s var(--sl-ease) both; }
	html.sl-armed body.stp .stp-cover-line { stroke-dasharray: 1; animation: stp-draw 1.3s var(--sl-ease) .15s both; }
	html.sl-armed body.stp .stp-flash { animation: stp-rise .45s var(--sl-ease) both; }
	@keyframes stp-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
	@keyframes stp-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
	@keyframes stp-ring { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
	@keyframes stp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: no-preference) {
	html.sl-armed body.stp .stp-cast.is-in li:nth-child(even) { animation-name: stp-pop-even; }
	@keyframes stp-pop-even { from { opacity: 0; transform: translateY(34px) scale(.6); } to { opacity: 1; transform: translateY(34px); } }
}
@media (prefers-reduced-motion: reduce) {
	body.stp *, body.stp *::before, body.stp *::after { animation: none !important; transition: none !important; }
}
@media print {
	body.stp :is(.stp-ribbon, .stp-tabs, .stp-filters-band, .stp-for-trainers, .stp-dir-stage) { display: none; }
}

/* ==========================================================================
   Brand & UX refinement (16 Oct 2026, batch 8): trainer surfaces in the homepage language.
   Presentation only: the panels, forms, field names and ?tab= keys are unchanged.
   ========================================================================== */

/* Owner bar on one's own listed profile (same note style as "Not listed"). */
body.stp .stp-private--owner { background: var(--sl-train-wash, #eaf4fc); }
body.stp .stp-private--owner .sl-in-text { font-weight: 700; }

/* Without an uploaded cover the drawn pattern takes less of the first screen, so the name and the action rise. */
body.stp .stp-cover:not(:has(.stp-cover-img)) { height: clamp(140px, 18vw, 260px); }

/* Directory: one teal primary per section ("Search"); the filter form's "Show trainers" is a ghost (directory.php). */
/* The sample label in an AA-safe ink (it was an off-token amber). */
body.stp .stp-sample { color: var(--sl-muted); }

/* Directory on phones: compact rows (avatar left, name, line and place); specialities and languages live on the profile. */
@media (max-width: 767px) {
	/* the avatar floats left and every other line (name, business, headline, place, truth labels) keeps the text column,
	   however many lines a card has (a spanned grid row left labels squeezed under the avatar) */
	body.stp .stp-grid:not(.stp-grid--one) .stp-card { display: flow-root; padding: 16px; }
	body.stp .stp-grid:not(.stp-grid--one) .stp-card .stp-card-top { float: left; width: 56px; margin: 0 14px 4px 0; }
	body.stp .stp-grid:not(.stp-grid--one) .stp-card > :not(.stp-card-top) { margin-left: 70px; }
	body.stp .stp-grid:not(.stp-grid--one) .stp-card > :not(.stp-card-top) + :not(.stp-card-top) { margin-top: 6px; }
	body.stp .stp-grid:not(.stp-grid--one) .stp-card .stp-avatar--card { width: 56px; height: 56px; }
	body.stp .stp-grid:not(.stp-grid--one) .stp-card .stp-card-facts li:not(:first-child) { display: none; }
	body.stp .stp-grid:not(.stp-grid--one) .stp-card .stp-card-logo { display: none; }
}

/* Dashboard tab bar: five places; a fade shows when the row scrolls sideways. */
body.stp .stp-tabs .sl-wrap { position: relative; }
@media (max-width: 767px) {
	body.stp .stp-tabs .sl-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 1px; width: 28px; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); }
}
/* The second row under "Your page" and "Coming later". */
body.stp .stp-subtabs { margin: 0 0 clamp(18px, 2.4vw, 26px); }
body.stp .stp-subtabs ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.stp .stp-subtabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--sl-line); border-radius: 999px; background: #fff; color: var(--sl-ink); font: 700 15px/1 var(--sl-text); text-decoration: none; }
body.stp .stp-subtabs a:hover { border-color: var(--sl-ink); }
body.stp .stp-subtabs a[aria-current="page"] { background: var(--sl-train-ink, #1b6fae); border-color: var(--sl-train-ink, #1b6fae); color: #fff; }
body.stp .stp-subtabs a:focus-visible { outline: 2px solid var(--sl-ink); outline-offset: 3px; box-shadow: 0 0 0 5px #fff; }

/* Overview: the one next step. */
body.stp .stp-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 28px; margin: 0 0 clamp(18px, 2.4vw, 28px); padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: var(--sl-train-wash, #eaf4fc); border: 1px solid var(--sl-line-soft); }
body.stp .stp-next .sl-eyebrow { margin: 0 0 6px; }
body.stp .stp-next h2 { margin: 0 0 6px; }
body.stp .stp-next p:not(.sl-eyebrow) { margin: 0; color: var(--sl-copy); }
@media (max-width: 640px) {
	body.stp .stp-next { grid-template-columns: minmax(0, 1fr); }
	body.stp .stp-next .sl-btn { width: 100%; }
}

/* "Coming to Trainer Pro": one calm list behind a disclosure instead of a grid of dashed "Not connected yet" tiles. */
body.stp .stp-later { border: 1px solid var(--sl-line-soft); border-radius: 22px; background: #fff; padding: 0 20px; }
body.stp .stp-later > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; min-height: 56px; padding: 14px 0; cursor: pointer; list-style: none; }
body.stp .stp-later > summary::-webkit-details-marker { display: none; }
body.stp .stp-later > summary::after { content: "Show"; margin-left: auto; font: 700 14px/1 var(--sl-text); color: var(--sl-ink); text-decoration: underline; text-decoration-color: var(--sl-sky); text-underline-offset: 4px; }
body.stp .stp-later[open] > summary::after { content: "Hide"; }
body.stp .stp-later > summary .sl-h3 { margin: 0; }
body.stp .stp-later-n { color: var(--sl-muted); font-size: 15px; }
body.stp .stp-later > :not(summary) { margin-bottom: 18px; }
body.stp .stp-later > summary:focus-visible { outline: 2px solid var(--sl-ink); outline-offset: 2px; border-radius: 12px; }

/* "Your path to clients": a ready-but-incomplete profile shows its percentage instead of a plain tick. */
body.stp .stp-path-step.is-partial .stp-path-mark { background: #fff; color: var(--sl-train-ink, #1b6fae); box-shadow: inset 0 0 0 3px var(--sl-train, #2b8fd6); font-size: 12px; letter-spacing: -.02em; }
/* No text under 12px in the new pieces (the shared small eyebrow is 11.5px). */
body.stp :is(.stp-empty-example, .stp-editor-side) .sl-eyebrow--sm { font-size: 12px; }
body.stp .stp-path-done { margin-bottom: clamp(18px, 2.4vw, 28px); }
body.stp .stp-path-done > summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 18px; border-radius: 18px; background: var(--sl-assess-wash, #eaf6f3); color: var(--sl-ink); cursor: pointer; list-style: none; }
body.stp .stp-path-done > summary::-webkit-details-marker { display: none; }
body.stp .stp-path-done > summary .sl-i { width: 20px; height: 20px; color: var(--sl-teal); }
body.stp .stp-path-done > summary:focus-visible { outline: 2px solid var(--sl-ink); outline-offset: 2px; }
body.stp .stp-path-done[open] > summary { margin-bottom: 14px; }

/* Status facts read as a dot and words, not a pill (contract §11: facts are never pills). */
body.stp .stp-pill { min-height: 0; padding: 0; border-radius: 0; background: none !important; color: var(--sl-ink); gap: 8px; }
body.stp .stp-pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sl-muted); flex: none; }
body.stp .stp-pill--ok::before { background: var(--sl-teal, #246b5f); }
body.stp .stp-pill--warn::before { background: #b8740a; }
body.stp .stp-pill--bad::before { background: var(--sl-plum, #7b244b); }

/* Empty states: one pattern (sentence, labelled example, steps, one action). */
/* the Services empty state is one calm block, not an outline around a card */
body.stp .stp-empty:has(.stp-empty-example) { padding: 0; border: 0; background: none; }
body.stp .stp-empty-example { position: relative; width: min(100%, 440px); padding: 18px 20px; border-radius: 18px; background: var(--sl-train-wash, #eaf4fd); border: 0; }
body.stp .stp-empty-example p { margin: 0; }
body.stp .stp-empty-example .sl-t-card { margin: 4px 0; }
body.stp .stp-example-tag { position: absolute; top: 12px; right: 14px; font: 800 12px/1 var(--sl-text); letter-spacing: .1em; text-transform: uppercase; color: var(--sl-muted); }
body.stp .stp-empty-steps { display: grid; gap: 6px; margin: 4px 0 0; padding-left: 1.3em; color: var(--sl-copy); }
body.stp .stp-empty-act { display: grid; gap: 12px; margin: -6px 0 18px; padding: 18px 20px; border-radius: 18px; background: var(--sl-train-wash, #eaf4fc); }
body.stp .stp-empty-act p { margin: 0; color: var(--sl-copy); }
body.stp [data-stp-copy].is-copied { background: var(--sl-teal-deep, #173d39); border-color: var(--sl-teal-deep, #173d39); }

/* Services: the add button is a full-size primary. */
body.stp .stp-editor-head--row .sl-btn--primary { flex: none; }

/* Profile editor: four labelled groups, a save bar that stays in view, the directory card beside it. */
body.stp .stp-group { display: grid; gap: 18px; padding: 22px 0 6px; border-top: 1px solid var(--sl-line-soft); }
body.stp .stp-group:first-of-type { border-top: 0; padding-top: 0; }
body.stp .stp-group > .sl-h3 { margin: 0; }
body.stp .stp-editor--profile .stp-editor-side .stp-card { pointer-events: none; }
body.stp .stp-savebar { position: sticky; bottom: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; padding: 14px 0; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--sl-line-soft); }
body.stp .stp-savebar-note { color: var(--sl-muted); font-size: 15px; }
/* The sticky bar must never hide the field that has focus (WCAG 2.4.11): scrolling a field into view leaves room for it. */
body.stp .stp-editor--profile form :is(input, select, textarea, .sl-chip) { scroll-margin-bottom: 96px; }
body.stp .stp-path-show { text-decoration: underline; text-decoration-color: var(--sl-sky); text-underline-offset: 4px; font-weight: 650; }
body.stp .stp-savebar.is-dirty .stp-savebar-note { color: var(--sl-ink); font-weight: 700; }
@media (max-width: 1023px) { body.stp .stp-editor--profile .stp-editor-side { order: 0; } }
@media (max-width: 767px) { body.stp .stp-savebar { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); } body.stp .stp-savebar .sl-btn { flex: 1 1 auto; } }

/* Image picker: a Sneaky button instead of "Choose File / No file chosen"; the input stays focusable and named. */
body.stp .stp-file { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
body.stp .stp-file-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0; }
body.stp .stp-file-input:focus-visible + .stp-file-btn { outline: 2px solid var(--sl-ink); outline-offset: 3px; box-shadow: 0 0 0 5px #fff; }
body.stp .stp-file-btn { cursor: pointer; }
body.stp .stp-file-name { color: var(--sl-muted); font-size: 15px; overflow-wrap: anywhere; }

/* Apply: four numbered steps on one line, all Train blue. */
body.stp .stp-steps--line { position: relative; }
body.stp .stp-steps--line::before { content: ""; position: absolute; left: 41px; top: 34px; bottom: 34px; width: 3px; border-radius: 3px; background: linear-gradient(var(--sl-train, #2b8fd6), var(--sl-teal, #246b5f)); opacity: .45; }
body.stp .stp-steps--line li { position: relative; }
body.stp .stp-steps .stp-step-n { font: 800 12px/1 var(--sl-text); letter-spacing: .1em; text-transform: uppercase; color: var(--sl-train-ink, #1b6fae); }

/* Selected chips use Train's darker blue (contract §6), as Eat does with its own pillar. */
body.stp .sl-chip input:checked + span { background: var(--sl-train-ink, #1b6fae); border-color: var(--sl-train-ink, #1b6fae); color: #fff; }

/* Forms: single-line fields no wider than they need to be (the whole field, so its counter and error stay with it). */
body.stp .stp-field:has(> :is(input[type="text"], input:not([type]), input[type="url"], input[type="email"], input[type="tel"], select)) { max-width: 640px; }
