/*
 * The Privacy Policy text (legal/privacy-policy.php): a calm reading column in the site's type, scoped to .sh-legal.
 * No motion, no web font of its own ("Sneaky Display" is declared by the footer), nothing from another host.
 */
body.sh-shell .sh-legal { --lg-ink: #122c3a; --lg-copy: #375568; --lg-muted: #587183; --lg-line: #d6e6ef; --lg-wash: #edf8fc; --lg-sky: #1d6f97;
	box-sizing: border-box; width: min(760px, 100%); margin: 0 auto 64px; color: var(--lg-copy); font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body.sh-shell .sh-legal * { box-sizing: border-box; }
/* the page title (printed by the theme) sits on the same reading column */
body.sh-shell.sh-legal-page .page-header { box-sizing: border-box; width: min(760px, 100%); margin: clamp(24px, 4vw, 48px) auto 6px; padding: 0; }
body.sh-shell.sh-legal-page .page-header .entry-title { margin: 0; padding: 0; color: #122c3a; font: 800 clamp(2.2rem, 1.3rem + 3vw, 3.4rem)/1.02 "Sneaky Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: -.03em; }
body.sh-shell .sh-legal p { margin: 0 0 14px; }
body.sh-shell .sh-legal h2 { margin: 40px 0 12px; color: var(--lg-ink); font: 800 clamp(1.35rem, 1.1rem + .8vw, 1.75rem)/1.15 "Sneaky Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: -.02em; scroll-margin-top: 110px; }
/* Reconciliation (1 Nov 2026): sub-headings inside a long section (records trainers keep, Trainer Pro terms) */
body.sh-shell .sh-legal h3 { margin: 24px 0 8px; color: var(--lg-ink); font: 800 1.08rem/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; }
body.sh-shell .sh-legal ul { margin: 0 0 16px; padding-inline-start: 1.2em; }
body.sh-shell .sh-legal li { margin: 0 0 8px; }
body.sh-shell .sh-legal a { color: var(--lg-ink); font-weight: 650; text-decoration: underline; text-decoration-color: #6ec4e8; text-decoration-thickness: 2px; text-underline-offset: 4px; }
body.sh-shell .sh-legal a:focus-visible { outline: 2px solid var(--lg-ink); outline-offset: 3px; }
body.sh-shell .sh-legal .sh-legal-updated { color: var(--lg-muted); font-size: 15px; font-weight: 600; }
body.sh-shell .sh-legal .sh-legal-short { margin: 8px 0 8px; padding: 18px 22px 8px; border: 1px solid var(--lg-line); border-inline-start: 4px solid var(--lg-sky); border-radius: 18px; background: var(--lg-wash); }
body.sh-shell .sh-legal .sh-legal-short-title { margin: 0 0 8px; color: var(--lg-ink); font: 800 13px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
body.sh-shell .sh-legal .sh-legal-table { margin: 0 0 18px; overflow-x: auto; border: 1px solid var(--lg-line); border-radius: 16px; }
body.sh-shell .sh-legal .sh-legal-table:focus-visible { outline: 2px solid var(--lg-ink); outline-offset: 3px; }
body.sh-shell .sh-legal table { width: 100%; min-width: 560px; margin: 0; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
body.sh-shell .sh-legal th, body.sh-shell .sh-legal td { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--lg-line); text-align: left; vertical-align: top; }
body.sh-shell .sh-legal th { background: var(--lg-wash); color: var(--lg-ink); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
body.sh-shell .sh-legal tr:last-child td { border-bottom: 0; }
body.sh-shell .sh-legal td:first-child { color: var(--lg-ink); font-weight: 600; }
/* Brand refinement (16 Oct 2026): a real side margin at every width (the column touched the screen edge at 768px), and
   tables that read on phones: the two-column price table fits as it is; the three-column privacy table stacks each row,
   with each cell named by its column. The rows keep explicit table roles in the markup. */
body.sh-shell .sh-legal, body.sh-shell.sh-legal-page .page-header { width: min(760px, 100% - 40px); }
@media (max-width: 599px) {
	body.sh-shell .sh-legal table { min-width: 0; }
	body.sh-shell .sh-legal .sh-legal-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	body.sh-shell .sh-legal .sh-legal-table--stack tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--lg-line); }
	body.sh-shell .sh-legal .sh-legal-table--stack tr:last-child { border-bottom: 0; }
	body.sh-shell .sh-legal .sh-legal-table--stack td { display: block; padding: 2px 0; border: 0; }
	body.sh-shell .sh-legal .sh-legal-table--stack td[data-label]::before { content: attr(data-label) ": "; color: var(--lg-ink); font-weight: 700; }
}
/* Legal identity and PAIA (2 Nov 2026): the business details as label/value rows, and the PAIA manual set apart at the
   end of the Privacy Policy. Long values (the address, the email) wrap inside the column, down to 320px. */
body.sh-shell .sh-legal .sh-legal-details { margin: 4px 0 18px; padding: 4px 18px; border: 1px solid var(--lg-line); border-radius: 16px; }
body.sh-shell .sh-legal .sh-legal-details > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 2px 16px; padding: 8px 0; border-bottom: 1px solid var(--lg-line); }
body.sh-shell .sh-legal .sh-legal-details > div:last-child { border-bottom: 0; }
body.sh-shell .sh-legal .sh-legal-details dt { margin: 0; color: var(--lg-ink); font-weight: 700; }
body.sh-shell .sh-legal .sh-legal-details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
body.sh-shell .sh-legal .sh-legal-paia { margin-top: 56px; padding-top: 4px; border-top: 2px solid var(--lg-line); }
/* A long address in a link (the Regulator's complaint emails) wraps instead of widening the page at 320px. */
body.sh-shell .sh-legal a { overflow-wrap: anywhere; }
@media (max-width: 599px) {
	body.sh-shell .sh-legal .sh-legal-details { padding: 4px 14px; }
	body.sh-shell .sh-legal .sh-legal-details > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
