/* =====================================================================
   resume.gs: theme-bridge.css v2  (TEMPORARY; generated by tools/build_bridge.py, do not hand-edit the generated parts)
   Points the existing live stylesheets at theme.css tokens until the plugin CSS is replaced by patches/.
   Load order: theme.css first (handle rb-theme), every plugin/landing stylesheet, then this file LAST.

   P0 — rb-light-header MUST BE REMOVED IN THE SAME RELEASE.
   mu-plugins/rb-header-style.php prints <style id="rb-light-header"> at the END of <head>, after every stylesheet,
   with !important rules. Anything this bridge sets with the same or lower specificity loses. It sets:
     1. page background   html{background:#d9cdfb!important} · body:not(.rb-welcome-template){background:linear-gradient(135deg,#bfcbff,#d9cdfb) fixed!important; background-color:#d9cdfb!important}
     2. legal/other text  body:not(.rb-welcome-template) main :is(h1…h6,p,li,td,th,dt,dd,strong,em,span):not(.rb-app *), footer :is(p,li,span,h2,h3){color:#191635!important}
     3. legal links       body:not(.rb-welcome-template) main a:not(.rb-app *), footer a{color:#4c37c9!important}
     4. logo filter       header.wp-block-template-part .wp-block-site-logo img{filter:…hue-rotate(230deg)!important; width:40px!important}
     5. header button     header … .is-style-outline .wp-block-button__link{background:#5b45e0!important…} (then .wp-block-buttons{display:none!important})
     6. site title        header … .wp-block-site-title(, a), .rbc-brand-name{font:700 24px Inter!important;color:#191635!important} — visible "resume.gs" text
     7. builder           .rbc-ch-title colour, .rbc-logo-img 40px, .rbc-brand-name span hidden, phone rules for .rbc-topbar/.rbc-actions/.rbc-main (≤600/≤480px)
     8. legal footer      body:not(.rb-welcome-template) .rb-legal-footer(, a){color:#191635!important}
   Remove: the whole print in rb-header-style.php (or return early for every public page, as staging does with
   rb_theme_is_public()). Rule 7's phone layout rules are moved into patches/resume-builder/css/chat.css (end of file); the builder sim passes without rb-light-header.

   FALLBACK if rb-light-header cannot be removed in time: every rule below that fights it is prefixed with
   :root:not(#gs-bridge) — that adds one ID to the specificity (1,1,0), which beats every rb-light-header selector
   (at most 0,3,3). Both sides use !important, so the higher specificity wins regardless of print order.
   !important is used only where the live rule is itself !important, inline, or more specific.
   ===================================================================== */

/* ---------- 1. Home (mu-plugins/rb-landing/landing-p.css, scope .rbp) ---------- */
.rbp{
  --bg:var(--gs-bg);--panel:var(--gs-surface);--warm:var(--gs-surface-warm);--warm2:var(--gs-surface-warm-2);
  --line:var(--gs-line);--line2:var(--gs-line-2);--tx:var(--gs-text);--tx2:var(--gs-text-2);
  --or:var(--gs-accent);--or-d:var(--gs-accent-hover);--or-t:var(--gs-accent-text);--or-s:var(--gs-accent-soft);--or-m:var(--gs-accent-deco);
  --pu:var(--gs-highlight);--pu-s:var(--gs-highlight-soft);--pu-l:var(--gs-highlight-line);
  --sans:var(--gs-font-sans);
}
.rbp :focus-visible{outline-color:var(--gs-focus)!important}  /* live rule is .rbp :focus-visible */
.rbp-tag--beta{display:none!important}                    /* v2: no Beta pill on home either */
.rbp-banner{background:var(--gs-accent-soft);border-color:var(--gs-accent-soft-line);color:var(--gs-accent-hover)}
.rbp .rbp-hero{background:var(--gs-bg)}                   /* flat: no white-to-cream gradient */
.rbp .rbp-head{background:var(--gs-surface)}              /* solid header */
/* v2.1 one header pattern: full-width header, logo image left edge at the page gutter (28/20/16) on every page. */
.rbp .rbp-head-in{max-width:none;padding:0 var(--gs-gutter) 0 calc(var(--gs-gutter) - 6px)}
/* v2.1 phones: landing-p.css line 313 (@media max-width:700px) sets .rbp-head{display:none} and line 373 shows a fixed
   bottom bar .rbp-bar (logo, Sign in, Join). Every other page has a top header, so: top header at all widths
   (logo + "Sign in" 44px), no bottom bar, no padding reserved for it. Developer: delete those two rules and the
   .rbp{padding-bottom:calc(76px + …)} line in the same block, and stop printing nav.rbp-bar in style-p.php (line ~359). */
@media (max-width:700px){
  .rbp .rbp-head{display:block}
  .rbp .rbp-head-in{gap:var(--gs-space-3);height:var(--gs-header-h)}
  .rbp .rbp-nav{display:none}
  .rbp .rbp-bar{display:none!important}
  .rbp.rbp{padding-bottom:0}
  .rbp .rbp-head-cta{margin-left:auto}
  .rbp .rbp-head-cta [data-rbh="signup"]{display:none}
  .rbp .rbp-head-cta .rbp-btn{min-height:var(--gs-control-h-sm)}
}
/* v2.1 phones: hero buttons stacked, full width, equal 48px height. */
@media (max-width:640px){
  .rbp .rbp-hero :has(> .rbp-btn + .rbp-btn){display:flex;flex-direction:column;align-items:stretch;gap:var(--gs-space-3)}
  .rbp .rbp-hero :has(> .rbp-btn + .rbp-btn) > .rbp-btn{width:100%;min-height:var(--gs-control-h);height:var(--gs-control-h);flex:none;justify-content:center;margin:0}
}
/* v2.1 feature cards: no "Live" pills (filler); cards in the grid share one row height. */
.rbp .rbp-card .rbp-tag--live,.rbp .rbp-hub-c .rbp-tag--live{display:none}
.rbp .rbp-hub--plain{grid-template-areas:none;grid-auto-rows:1fr}
.rbp .rbp-card{height:100%}
/* v2.1: hero h1 = display size from the scale: 46px desktop, 36px phones (two lines). Beats the generated font map
   (which mapped the live 31px phone size to 28px) by specificity and !important. */
:root:not(#gs-bridge) .rbp .rbp-h1{font-size:var(--gs-fs-display)!important;line-height:1.1}
/* v2.2: the two hero buttons are the same width on desktop too (the wider label sets both). */
@media (min-width:641px){.rbp .rbp-hero :has(> .rbp-btn + .rbp-btn){display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr}}
/* v2.2: WordPress presets are purple (#4A3AFD …); point them at the brand (also in theme.css). */
:root:not(#gs-bridge){--wp--preset--color--primary:var(--gs-accent);--wp--preset--color--secondary:var(--gs-accent);--wp--preset--color--primary-shade-one:var(--gs-accent-hover);--wp--preset--color--primary-shade-2:var(--gs-text);--wp--preset--color--secondary-shade-1:var(--gs-accent-hover);--wp--preset--color--secondary-shade-2:var(--gs-text);--wp--preset--color--vivid-purple:var(--gs-accent)}
/* v2.2: same values as the Developer's staging addendum (stg-theme-v21 layers/ours/theme-bridge.addendum.css), which this rule supersedes */
.rb-app .rbc-root a.rbc-brand{color:var(--gs-text);text-decoration:none}
@media (max-width:560px){.rbp .rbp-foot nav{display:grid;grid-template-columns:repeat(2,max-content);gap:0 var(--gs-space-4)}} /* footer links 2x2 */
.rbp .rbp-card,.rbp .rbp-acard,.rbp .rbp-pcard{background:var(--gs-surface)}  /* one card shading */
.rbp .rbp-feat .rbp-card,.rbp .rbp-feat .rbp-acard,.rbp .rbp-feat .rbp-pcard{background:var(--gs-bg)}
.rbp .rbp-btn--sm{min-height:var(--gs-control-h-sm)}
.rbp .rbp-brand img{content:url("logo-terracotta.svg");width:36px;height:36px}  /* relative to this file in rb-landing/ */

/* Font sizes -> v2 scale (14px floor; nothing shrinks on phones). Generated from the live landing-p.css. */
.rbp{font-size:16px} /* was 15px */
.rbp-banner{font-size:14px} /* was 12px */
.rbp-ex{font-size:14px} /* was 10.5px */
.rbp-tag{font-size:14px} /* was 11.5px */
.rbp-av--xs{font-size:14px} /* was 10px */
.rbp-av--m{font-size:14px} /* was 13px */
.rbp-av--l{font-size:16px} /* was 15px */
.rbp .rbp-btn{font-size:16px} /* was 14.5px */
.rbp .rbp-btn--sm{font-size:14px} /* was 13.5px */
.rbp-eye{font-size:14px} /* was 12.5px */
.rbp-sub{font-size:16px} /* was 14.5px */
.rbp-kicker{font-size:14px} /* was 13.5px */
.rbp-lede{font-size:16px} /* was 16.5px */
.rbp-chips li{font-size:14px} /* was 13px */
.rbp-join-k{font-size:14px} /* was 12.5px */
.rbp-join-t{font-size:22px} /* was 21px */
.rbp-fine{font-size:14px} /* was 12.5px */
.rbp .rbp-join-cv{font-size:14px} /* was 13.5px */
.rbp-sb-t em{font-size:14px} /* was 12.5px */
.rbp-end{font-size:14px} /* was 12.5px */
.rbp-tb-n b{font-size:14px} /* was 13.5px */
.rbp-tb-n em{font-size:14px} /* was 12px */
.rbp-tb-h time{font-size:14px} /* was 12px */
.rbp-tile--short .rbp-tb-t{font-size:16px} /* was 15px */
.rbp-tb-f{font-size:14px} /* was 12.5px */
.rbp-tb-e{font-size:14px} /* was 12px */
.rbp-mlab{font-size:14px} /* was 10.5px */
.rbp-dur{font-size:14px} /* was 11.5px */
.rbp-zk{font-size:14px} /* was 12px */
.rbp-nh-s{font-size:14px} /* was 12.5px */
.rbp-nt{font-size:16px} /* was 15px */
.rbp-nf p{font-size:14px} /* was 13px */
.rbp-quiz-k{font-size:14px} /* was 12.5px */
.rbp-quiz-r{font-size:14px} /* was 13.5px */
.rbp-acard b{font-size:16px} /* was 15px */
.rbp-acard p{font-size:14px} /* was 13.5px */
.rbp-pcard p b{font-size:16px} /* was 15px */
.rbp-pcard p span:not(.rbp-ex){font-size:14px} /* was 13px */
.rbp-pcard p em{font-size:14px} /* was 12.5px */
.rbp-hub-c h3{font-size:22px} /* was 20px */
.rbp-gauge span{font-size:14px} /* was 13px */
.rbp-stats span{font-size:14px} /* was 13px */
.rbp-stats em{font-size:14px} /* was 12px */
.rbp-events li{font-size:14px} /* was 13.5px */
.rbp-facts b{font-size:22px} /* was 20px */
.rbp-facts p{font-size:14px} /* was 13.5px */
.rbp-foot p{font-size:14px} /* was 13px */
.rbp .rbp-foot nav a{font-size:14px} /* was 13px */
@media(max-width:700px){
  .rbp{font-size:16px} /* was 14.5px */
  .rbp-kicker{font-size:14px} /* was 12.5px */
  .rbp-lede{font-size:16px} /* was 15px */
  .rbp-usp{font-size:14px} /* was 13.5px */
  .rbp-chips li{font-size:14px} /* was 12.5px */
  .rbp-tb-t{font-size:14px} /* was 13.5px */
  .rbp-facts b{font-size:16px} /* was 17px */
  .rbp .rbp-bar-b{font-size:16px} /* was 15px */
}
@media(max-width:380px){
  .rbp .rbp-bar-b{font-size:16px} /* was 14.5px */
}

/* ---------- 2. Shared WordPress header + footer (non-home pages) ---------- */
:root:not(#gs-bridge) body:not(.rb-landing-page){background:var(--gs-bg)!important;background-image:none!important;color:var(--gs-text)!important}
:root:not(#gs-bridge){background:var(--gs-bg)!important}
:root:not(#gs-bridge) body.gs-page{margin:0}
:root:not(#gs-bridge) body:not(.rb-landing-page) header.wp-block-template-part{display:flex;align-items:center;justify-content:space-between;gap:var(--gs-space-4);
  min-height:var(--gs-header-h);padding:0 var(--gs-gutter)!important;background:var(--gs-surface)!important;border-bottom:1px solid var(--gs-line)!important;box-sizing:border-box}
:root:not(#gs-bridge) body:not(.rb-landing-page) header.wp-block-template-part :is(.has-black-color-background-color,.wp-block-group){background:transparent!important;color:var(--gs-text)!important;padding-inline:0!important;box-shadow:none!important;border:0!important}
:root:not(#gs-bridge) header.wp-block-template-part .wp-block-site-logo img{filter:none!important;width:36px!important;height:36px!important;object-fit:contain;content:url("logo-terracotta.svg")}
:root:not(#gs-bridge) header.wp-block-template-part .wp-block-site-logo a{margin-left:-6px;display:inline-grid;place-items:center;width:var(--gs-control-h);height:var(--gs-control-h);border-radius:var(--gs-radius-md)}
:root:not(#gs-bridge) header.wp-block-template-part .wp-block-site-logo a:hover{background:var(--gs-surface-warm)}
:root:not(#gs-bridge) header.wp-block-template-part .wp-block-buttons{display:none!important}  /* no theme buttons */
/* v2.2: hide the "resume.gs" site-title text only where the logo icon is actually in the header (the logo then names the
   link). If a header has no logo image, the title stays, so the site is never left without a name. */
:root:not(#gs-bridge) header.wp-block-template-part:has(.wp-block-site-logo img) .wp-block-site-title{display:none!important}
:root:not(#gs-bridge) body:not(.rb-landing-page) :focus-visible{outline:var(--gs-focus-width) solid var(--gs-focus)!important;outline-offset:var(--gs-focus-offset)!important}
/* The focus ring is 2px #A65A33 with a 2px offset (tokens --gs-focus-width / --gs-focus-offset).
   SaasLauncher assets/css/blocks.css sets `a, button, img, .wp-block-group, .wp-block-columns, .wp-block-column { transition: all ease 0.23s }`,
   which animates outline-offset from 0px to 2px (and outline-color / outline-width) when :focus-visible applies.
   A measurement mid-transition therefore reads outline-offset as 1px, and the colour as a blend short of #A65A33.
   Keep colour / fill / border transitions; do not animate the ring. */
:root:not(#gs-bridge) body:not(.rb-landing-page) :is(a,button,input,select,textarea,[tabindex]),
:root:not(#gs-bridge) body:not(.rb-landing-page) :is(a,button,input,select,textarea,[tabindex]):focus-visible{
  transition-property:color,background-color,border-color,text-decoration,text-decoration-color,text-decoration-thickness,box-shadow,transform,filter,opacity!important;
}
:root:not(#gs-bridge) body:not(.rb-landing-page) .gs-backhome{color:var(--gs-accent-text)!important}
:root:not(#gs-bridge) body:not(.rb-landing-page) .gs-backhome:not(.gs-backhome--inline){text-decoration:none!important}
:root:not(#gs-bridge) body:not(.rb-landing-page) footer :is(p,li,span,h2,h3),
:root:not(#gs-bridge) body:not(.rb-landing-page) .rb-legal-footer{color:var(--gs-text-2)!important}
:root:not(#gs-bridge) body:not(.rb-landing-page) footer a,
:root:not(#gs-bridge) body:not(.rb-landing-page) .rb-legal-footer a{color:var(--gs-text)!important} /* v2.2.2: colour only; link height is the Developer's footer rule */

/* ---------- 3. Accounts: sign-in, sign-up, account, reset (rb plugin css/site.css + account.css) ----------
   Interim only: patches/resume-builder/css/{site,account}.css replace these files. */
:root:not(#gs-bridge) body.rb-site-page{background:var(--gs-bg)!important;background-image:none!important}
.rbw::before{display:none!important}
.rbw{--rbw-accent:var(--gs-accent);--rbw-accent-2:var(--gs-accent);--rbw-ink:var(--gs-text);--rbw-ink-2:var(--gs-text);--rbw-ink-3:var(--gs-text-2);
  --rbw-glass:var(--gs-surface);--rbw-stroke:var(--gs-line-2);--rbw-shadow:none;font-family:var(--gs-font-sans)!important;color:var(--gs-text)}
.rbw a:not(.rb-acc-btn),.rbw-page .rb-acc a:not(.rb-acc-btn){color:var(--gs-accent-text)!important}
/* v2.2: "Sign in" on the used-link / bad-link cards is <a class="rb-acc-btn rb-acc-btn--primary"> inside <p>; the link colour
   rule above made its text accent-text on the accent fill (1.1:1). Buttons keep the primary button colours in every state. */
:root:not(#gs-bridge) :is(.rbw,.rb-acc) a.rb-acc-btn--primary,
:root:not(#gs-bridge) :is(.rbw,.rb-acc) a.rb-acc-btn--primary:is(:link,:visited,:hover,:focus,:focus-visible,:active){color:var(--gs-surface)!important;background:var(--gs-accent);text-decoration:none}
:root:not(#gs-bridge) :is(.rbw,.rb-acc) a.rb-acc-btn--primary:is(:hover,:active){background:var(--gs-accent-hover)}
.rbw-foot{border-top-color:var(--gs-line)!important;color:var(--gs-text-2)!important}
/* v2.1: one footer on sign-in/sign-up/reset/account. Both .rbw-foot (org line + links) and the site footer's links print.
   Interim: keep .rbw-foot, hide the duplicate site-wide nav.rb-legal-footer (printed at the end of body). Final (SPEC 6.6): drop .rbw-foot once the site footer has the org line. */
:root:not(#gs-bridge) body:has(.rbw-foot) .rb-legal-footer{display:none!important}
.rbw-page .rb-acc{--rb-accent:var(--gs-accent);--rb-accent-rgb:var(--gs-accent-rgb);--rb-ink:var(--gs-text);--rb-ink-2:var(--gs-text);--rb-muted:var(--gs-text-2);--rb-danger:var(--gs-danger);
  --radius:var(--gs-radius-xl);--radius-sm:var(--gs-radius-lg);--radius-btn:var(--gs-radius-pill)}
.rbw-page .rb-acc-card{background:var(--gs-surface)!important;border:1px solid var(--gs-line-2)!important;border-radius:var(--gs-radius-xl)!important;
  box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:var(--gs-space-8)!important}
@media (max-width:700px){.rbw-page .rb-acc-card{padding:var(--gs-space-6) var(--gs-space-5)!important;border-radius:var(--gs-radius-lg)!important}}
.rbw-page .rb-acc .rb-acc-title{display:block!important;font-size:var(--gs-fs-3xl)!important;font-weight:var(--gs-fw-bold)!important;letter-spacing:var(--gs-ls-heading)!important;margin:0 0 var(--gs-space-3)!important;color:var(--gs-text)!important}
.rbw-page .rb-acc-lead{font-size:var(--gs-fs-lg)!important;color:var(--gs-text-2)!important}
.rb-beta-pill{display:none!important}                    /* v2: no Beta pill on account pages */
.rbw-page .rb-acc-section{background:var(--gs-bg)!important;border:1px solid var(--gs-line)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important}
.rb-acc :is(input[type=email],input[type=password],input[type=text],select,textarea){min-height:var(--gs-control-h);border:1px solid var(--gs-line-strong)!important;border-radius:var(--gs-radius-md)!important;
  background:var(--gs-surface)!important;font-size:var(--gs-fs-md)!important;color:var(--gs-text)!important;box-shadow:none!important}
.rb-acc-btn{border-radius:var(--gs-radius-pill)!important;background:var(--gs-surface)!important;border:1px solid var(--gs-line-strong)!important;color:var(--gs-accent-text)!important;box-shadow:none!important;font-weight:var(--gs-fw-semibold)!important;min-height:var(--gs-control-h)}
.rb-acc-btn:hover{background:var(--gs-accent-soft)!important}
.rb-acc-bar .rb-acc-btn{display:inline-flex!important;align-items:center;gap:var(--gs-space-2);white-space:nowrap;min-height:var(--gs-control-h-sm)!important;padding:0 var(--gs-space-4)!important;font-size:var(--gs-fs-sm)!important}  /* builder top bar "Sign in" */
.rb-acc-nojs-l{display:none}  /* second guest CTA label; shown only by the boot noscript style */
.rb-acc-btn--primary,.rb-acc-btn--primary:hover{background:var(--gs-accent)!important;border-color:var(--gs-accent)!important;color:var(--gs-surface)!important;box-shadow:none!important}
.rb-acc-btn--primary:hover{background:var(--gs-accent-hover)!important}
.rb-acc-btn--block{min-height:var(--gs-control-h)!important;font-size:var(--gs-fs-md)!important}
.rb-acc-btn[disabled]{opacity:1!important;background:var(--gs-surface-warm-2)!important;border-color:var(--gs-surface-warm-2)!important;color:var(--gs-text-2)!important}
/* v2.2.2 P0: every .rb-acc-btn variant keeps readable text on its real background. The white-pill rule above (background
   !important) met account.css `.rb-acc-section.rb-acc-danger .rb-acc-btn--danger{color:#fff!important}` = white on white
   ("Delete my account", disabled until the box is ticked). Danger = error tokens; disabled = warm-2 + text-2, in every state. */
:root:not(#gs-bridge) .rb-acc .rb-acc-btn--danger{background:var(--gs-surface)!important;border-color:var(--gs-danger)!important;color:var(--gs-danger)!important}
:root:not(#gs-bridge) .rb-acc .rb-acc-btn--danger:is(:hover,:focus-visible,:active){background:var(--gs-danger-soft)!important;color:var(--gs-danger-hover)!important}
:root:not(#gs-bridge) .rb-acc .rb-acc-section.rb-acc-danger .rb-acc-btn--danger{background:var(--gs-danger)!important;border-color:var(--gs-danger)!important;color:var(--gs-surface)!important}
:root:not(#gs-bridge) .rb-acc .rb-acc-section.rb-acc-danger .rb-acc-btn--danger:is(:hover,:focus-visible,:active){background:var(--gs-danger-hover)!important;border-color:var(--gs-danger-hover)!important;color:var(--gs-surface)!important}
:root:not(#gs-bridge) .rb-acc :is(.rb-acc-btn,.rb-acc-section.rb-acc-danger .rb-acc-btn--danger):is([disabled],[aria-disabled=true]),:root:not(#gs-bridge) .rb-acc :is(.rb-acc-btn,.rb-acc-section.rb-acc-danger .rb-acc-btn--danger):is([disabled],[aria-disabled=true]):is(:hover,:focus,:active){opacity:1!important;background:var(--gs-surface-warm-2)!important;border-color:var(--gs-surface-warm-2)!important;color:var(--gs-text-2)!important;transform:none!important}
.rb-acc .rb-acc-pw-toggle{min-height:var(--gs-control-h)!important;padding:0 var(--gs-space-5)!important;border-radius:var(--gs-radius-pill)!important;border:1px solid var(--gs-line-strong)!important;
  background:var(--gs-surface)!important;color:var(--gs-accent-text)!important;font:var(--gs-fw-semibold) var(--gs-fs-sm)/1 var(--gs-font-sans)!important;box-shadow:none!important} /* "Show" = 48px like the field */
.rb-acc :is(.rb-acc-hint,.rb-acc-help,.rb-acc-err,.rb-acc-error,[role=alert]){font-size:var(--gs-fs-sm)!important;line-height:var(--gs-lh-ui)}
.rb-acc-check{grid-template-columns:var(--gs-check-size) 1fr!important;gap:var(--gs-space-1) var(--gs-space-3)!important;align-items:start;min-height:var(--gs-control-h-sm);padding:2px var(--gs-space-3);margin:0 calc(-1 * var(--gs-space-3)) 0!important;border-radius:var(--gs-radius-md)} /* v2.2.1: rows 52px apart (was 72px); label row stays 44px */
.rb-acc-check:hover{background:var(--gs-surface-warm)}
.rb-acc-check input[type=checkbox]{width:var(--gs-check-size)!important;height:var(--gs-check-size)!important;margin:12px 0 0!important;accent-color:var(--gs-accent)} /* v2.2: centred on the label's first line (10px padding + 24px line) */
.rb-acc-check label{display:block;min-height:var(--gs-control-h-sm)!important;padding:10px 0!important;line-height:24px;font-size:var(--gs-fs-md)}

/* ---------- 4. CV builder (scope .rb-app). Interim only: patches/resume-builder/css/{chat,flow,inline,glass}.css + js/{chatui,inline}.js replace these. ---------- */
:root:not(#gs-bridge) body.rb-builder-page{background:var(--gs-bg)!important;background-image:none!important}
.rb-app{--rb-accent:var(--gs-accent);--rb-accent-rgb:var(--gs-accent-rgb);--rb-ink:var(--gs-text);--rb-ink-2:var(--gs-text);--rb-muted:var(--gs-text-2);
  --glass-bg:var(--gs-surface);--glass-bg-strong:var(--gs-surface);--glass-border:var(--gs-line-2);--glass-blur:0px;--glass-shadow:none;
  --radius:var(--gs-radius-lg);--radius-sm:var(--gs-radius-md);--radius-btn:var(--gs-radius-pill);--fs-sm:14px;--fs-md:14px;--fs-lg:16px;--fs-xl:22px}
/* chat.css custom properties (.rb-app .rbc-root, line 4) */
.rb-app .rbc-root.rbc-root{--accent:var(--gs-accent);--accent-2:var(--gs-accent);--accent-soft:rgba(var(--gs-accent-rgb),.10);
  --ink:var(--gs-text);--ink-2:var(--gs-text-2);--ink-3:var(--gs-text-2);--glass:var(--gs-surface);--stroke:var(--gs-line);--shadow:none;--font:var(--gs-font-sans)}
/* shadows: none, except the three tokens */
.rb-app .rbc-root *,.rb-app .rb-ie *,.rb-app .rb-f-gate *{box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.rb-app .rbc-root .rbc-page,.rb-app .page-sheet{box-shadow:var(--gs-shadow-sheet)!important}
.rb-app .rbc-root .rbc-toast,.rb-app .rb-f-toast,.rb-app .rb-ie-toast,.rb-app .rb-ie-pop{box-shadow:var(--gs-shadow-pop)!important}
.rb-app .rbc-root .rbc-modal,.rb-app .rb-f-gate .rb-f-gatecard{box-shadow:var(--gs-shadow-modal)!important;background:var(--gs-surface)!important}
.rb-app :is(button,[role=button],a,input,select,textarea):focus-visible{outline-color:var(--gs-focus)!important}
/* gradients -> flat */
.rb-app .rbc-root :is(.rbc-btn.rbc-primary,.rbc-send,.rbc-user-b,.rbc-bar span){background:var(--gs-accent)!important}
.rb-app .rbc-root .rbc-user-b{color:var(--gs-surface)!important;border:1px solid var(--gs-accent)} /* v2.2.2: white on accent (5.08:1); was dark text on the accent fill (2.76:1) */
.rb-app .rbc-root .rbc-user-b :is(a,a:visited,.rbc-pol){color:inherit!important}
:root:not(#gs-bridge) .rb-app .rbc-root .rbc-user-b.rbc-skipped{background:var(--gs-surface)!important;color:var(--gs-text-2)!important;border:1px dashed var(--gs-line-strong)}
.rb-app .rbc-root :is(.rbc-logo,.rbc-avatar),.rb-app .rb-ie-logo{background:var(--gs-accent)!important}     /* #4f6bff -> #7a4ff0 tile */
.rb-app .rb-ie-top .rb-f-btn--primary,.rb-app .rb-ie-top .rb-f-btn--primary:hover{background:var(--gs-accent)!important;border-color:var(--gs-accent)!important;color:var(--gs-surface)!important} /* inline.css:150-151 Studio button */
.rb-app .rb-ie-top .rb-f-btn--primary:hover{background:var(--gs-accent-hover)!important}
/* flow.css:70 + :75 blue */
.rb-app .rb-f-gate .rb-f-gate-age input{accent-color:var(--gs-accent)!important}
.rb-app .rb-f-gate .rb-f-gate-more a{color:var(--gs-accent-text)!important}
/* hard-coded purple text in chat.css */
.rb-app .rbc-root :is(.rbc-link,.rbc-aot){color:var(--gs-accent-text)}
/* logo: icon only, no filter, no visible "resume.gs" text (inline style in chatui.js:153 is beaten by !important) */
:root:not(#gs-bridge) .rb-app .rbc-root .rbc-logo-img{filter:none!important;width:36px!important;height:36px!important;content:url("logo-terracotta.svg")}
:root:not(#gs-bridge) .rb-app .rbc-root .rbc-brand-name{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
:root:not(#gs-bridge) .rb-app .rbc-root :is(h1,h2,h3,.rbc-ch-title){color:var(--gs-text)!important}  /* incl. the Start over dialog title */
/* Start over: destructive */
.rb-app .rbc-root .rbc-link[data-act="reset"]{display:inline-flex;align-items:center;min-height:var(--gs-control-h-sm);padding:0 var(--gs-space-4)!important;color:var(--gs-danger)!important;border:1px solid var(--gs-danger)!important;border-radius:var(--gs-radius-pill)!important;background:var(--gs-surface)!important;text-decoration:none!important}
.rb-app .rbc-root .rbc-link[data-act="reset"]:hover{background:var(--gs-danger-soft)!important}
.rb-app .rbc-root .rbc-actions .rbc-link{min-height:var(--gs-control-h-sm);display:inline-flex;align-items:center}
.rb-app .rbc-btn[data-act="doReset"]{background:var(--gs-danger)!important;border-color:var(--gs-danger)!important;color:var(--gs-surface)!important}
.rb-app .rbc-btn[data-act="doReset"]:hover{background:var(--gs-danger-hover)!important}
.rb-app .rb-ie-btn--danger{background:var(--gs-danger)!important;color:var(--gs-surface)!important}
/* toggles + switched-off rows */
.rb-app .rb-ie-switch span{background:var(--gs-line-strong)!important}
.rb-app .rb-ie-switch[aria-checked=true] span{background:var(--gs-accent)!important}
.rb-app .rb-ie-secrow.is-off .rb-ie-sec{opacity:1!important;color:var(--gs-text-2)!important}  /* was opacity:.6 (3.94:1); now 5.83:1 */
/* AI marks are the one place purple stays */
.rb-app :is(.rb-ai-tag,.rbc-ai-badge){background:var(--gs-highlight-soft)!important;color:var(--gs-highlight)!important;border-color:var(--gs-highlight-line)!important}

/* Font sizes -> v2 scale. Generated from the live builder/account CSS (same map as patches/fontmap.md). */
/* chat.css */
.rb-app .rbc-root .rbc-logo{font-size:18px} /* was 19px */
.rb-app .rbc-root .rbc-brand-name{font-size:18px} /* was 19px */
.rb-app .rbc-root .rbc-tag{font-size:14px} /* was 12.5px */
.rb-app .rbc-root .rbc-btn{font-size:16px} /* was 15px */
.rb-app .rbc-root .rbc-ai-pill{font-size:14px} /* was 13px */
.rb-app .rbc-root .rbc-steps button{font-size:14px} /* was 13px */
.rb-app .rbc-root .rbc-steps .rbc-done button::before{font-size:12px} /* was 10px */
.rb-app .rbc-root .rbc-bubble{font-size:16px} /* was 16.5px */
.rb-app .rbc-root .rbc-user-b .rbc-pol{font-size:14px} /* was 12px */
.rb-app .rbc-root .rbc-guide{font-size:16px} /* was 14.5px */
.rb-app .rbc-root .rbc-dd div{font-size:14px} /* was 13.5px */
.rb-app .rbc-root .rbc-dd strong{font-size:14px} /* was 11.5px */
.rb-app .rbc-root details.rbc-helper summary{font-size:16px} /* was 14.5px */
.rb-app .rbc-root .rbc-use span:last-child{font-size:14px} /* was 13px */
.rb-app .rbc-root .rbc-ai blockquote{font-size:16px} /* was 15.5px */
.rb-app .rbc-root .rbc-ai-foot{font-size:14px} /* was 13px */
.rb-app .rbc-root .rbc-badge{font-size:14px} /* was 12.5px */
.rb-app .rbc-root .rbc-pw-title{font-size:16px} /* was 17px */
.rb-app .rbc-root .rbc-pw-kicker{font-size:14px} /* was 13px */
.rb-app .rbc-root .rbc-modal h2{font-size:22px} /* was 20px */
.rb-app .rbc-root .rbc-modal p{font-size:16px} /* was 15px */
.rb-app .rbc-root .rbc-small{font-size:14px} /* was 13px */
.rb-app .rbc-root .rbc-finish p{font-size:16px} /* was 15px */
.rb-app .rbc-root .rbc-gal-hint{font-size:14px} /* was 13px */
.rb-app .rbc-root .rbc-chip{font-size:16px} /* was 14.5px */
.rb-app .rbc-root .rbc-inputbar textarea{font-size:16px} /* was 16.5px */
.rb-app .rbc-root .rbc-ctrl{font-size:14px} /* was 13px */
.rb-app .rbc-root .rbc-seg button{font-size:14px} /* was 13.5px */
.rb-app .rbc-root .rbc-sheet-note{font-size:14px} /* was 13.5px */
.rb-app .rbc-root .rbc-sec-row .rbc-empty{font-size:14px} /* was 12px */
.rb-app .rbc-root .rbc-aot{font-size:14px} /* was 12px */
.rb-app .rbc-root .rbc-grp-h{font-size:14px} /* was 13px */
.rb-app .rbc-root .rbc-finish .rbc-thumb-meta{font-size:14px} /* was 13.5px */
.rb-app .rbc-root .rbc-sec-sum{font-size:16px} /* was 14.5px */
.rb-app .rbc-root .rbc-ptag{font-size:14px} /* was 11px */
.rb-app .rbc-root .rbc-ainote{font-size:14px} /* was 12.5px */
.rb-app .rbc-root .rbc-ai-badge{font-size:14px} /* was 11.5px */
.rb-app .rbc-root .rbc-ai-disclose{font-size:14px} /* was 12.5px */
@media(max-width:900px){
  .rb-app .rbc-root .rbc-pv-pill{font-size:16px} /* was 15px */
  .rb-app .rbc-root .rbc-pv-pill .rbc-cnt{font-size:14px} /* was 12px */
}
@media(max-width:480px){
  .rb-app .rbc-root .rbc-logo{font-size:16px} /* was 17px */
  .rb-app .rbc-root .rbc-actions .rbc-btn{font-size:14px} /* was 13.5px */
  .rb-app .rbc-root .rbc-actions .rbc-link{font-size:14px} /* was 13.5px */
  .rb-app .rbc-root .rbc-ch-title{font-size:16px} /* was 16.5px */
  .rb-app .rbc-root .rbc-ai-pill{font-size:14px} /* was 12px */
}
/* flow.css */
.rb-app .rb-f-h3{font-size:22px} /* was 20px */
.rb-app .rb-f-ainote{font-size:14px} /* was 13px */
.rb-app .rb-f-gate .rb-f-gatecard{font-size:16px} /* was 15px */
/* inline.css */
.rb-app .rb-ie-poptitle{font-size:22px} /* was 20px */
.rb-app .rb-ie-tpl{font-size:14px} /* was 12px */
.rb-app .rb-ie-name{font-size:18px} /* was 19px */
.rb-app .rb-ie-logo{font-size:18px} /* was 19px */
.rb-app .rb-ie-top .rb-f-btn{font-size:16px} /* was 15px */
@media(max-width:599px){
  .rb-app .rb-ie-seg button{font-size:14px} /* was 12px */
}
@media(max-width:400px){
  .rb-app .rb-ie-top .rb-ie-dl{font-size:16px} /* was 15px */
}
/* account.css */
.rb-acc-title{font-size:22px} /* was 24px */
.rb-acc-field>label{font-size:16px} /* was 15px */
.rb-acc-fieldset legend{font-size:16px} /* was 15px */
.rb-acc-btn{font-size:16px} /* was 15px */
.rb-acc-auto{font-size:16px} /* was 15px */
.rb-app .rbc-root .rbc-app>.rb-acc-banner{font-size:16px} /* was 15px */
/* site.css */
.rbw-page .rb-acc-section h2,.rbw-page .rb-acc-section h3{font-size:18px} /* was 19px */
.rbw-page .rb-acc-field>label,.rbw-page .rb-acc-fieldset legend{font-size:16px} /* was 15px */
.rbw-page .rb-acc-btn--block{font-size:16px} /* was 17px */
@media(max-width:640px){
  .rbw-page .rb-acc .rb-acc-title{font-size:28px} /* was 30px */
  .rbw-page .rb-acc-lead{font-size:16px} /* was 17px */
}

/* CV builder loading state (markup: mu-plugins/rb-theme.php on staging — main#rb-cv-boot.rb-cv-boot > h1.gs-h1#rb-cv-boot-h,
   .rb-cv-boot-msg[role=status] > .rb-cv-boot-spin + [data-rb-boot-text], p.rb-cv-boot-slow[hidden] > a.gs-link, <noscript>). */
.rb-cv-boot{display:grid;place-items:center;align-content:center;gap:var(--gs-space-4);min-height:60vh;padding:var(--gs-space-8) var(--gs-gutter);text-align:center;color:var(--gs-text);font-family:var(--gs-font-sans)}
:root:not(#gs-bridge) .rb-cv-boot .gs-h1{color:var(--gs-text)!important;margin:0}
.rb-cv-boot-msg{display:inline-flex;align-items:center;gap:var(--gs-space-3);font-size:var(--gs-fs-md);color:var(--gs-text-2)}
.rb-cv-boot-spin{flex:none;width:20px;height:20px;border-radius:50%;border:3px solid var(--gs-accent-soft-line);border-top-color:var(--gs-accent);animation:rb-cv-spin .9s linear infinite}
@keyframes rb-cv-spin{to{transform:rotate(360deg)}}
.rb-cv-boot-slow{margin:0;font-size:var(--gs-fs-md);color:var(--gs-text)}
.rb-cv-boot-slow[hidden]{display:none}
:root:not(#gs-bridge) .rb-cv-boot-slow a{display:inline-flex;align-items:center;min-height:var(--gs-control-h-sm);color:var(--gs-accent-text)!important;text-decoration:none!important} /* v2.2.3: pill, theme.css */
:root:not(#gs-bridge) .rb-cv-boot-slow a:hover{color:var(--gs-accent-hover)!important}
.rb-cv-boot-noscript{max-width:44ch;width:100%;margin:0;padding:var(--gs-space-3) var(--gs-space-4);border:1px solid var(--gs-line-2);border-left:4px solid var(--gs-text-2);border-radius:var(--gs-radius-md);background:var(--gs-surface);font-size:var(--gs-fs-md);color:var(--gs-text);text-align:left;box-sizing:border-box}
@media (prefers-reduced-motion:reduce){.rb-cv-boot-spin{animation:none;border-color:var(--gs-accent)}}  /* static ring; the text still says it is loading */
/* builder-fix: #builder reserves min-height so the out-of-flow boot message sits inside it
   and never covers the in-flow account bar or footer.gs-footer (JS off or a slow load).
   Removing the boot does not change that height, so the footer does not move. The builder itself is position:fixed.
   #builder's box model matches 065851Z (no padding, no gap) so the JS-on bar and .rb-app keep the
   same left edge as staging. margin-block-start:0 is the only bar change. The page gutters and the
   8px gap under the bar live on #rb-cv-boot, which is out of flow, so they do not shift the JS-on layout.
   left and right are the page gutter, equally, so the boot box lines up with the header padding. */
body.rb-builder-page #builder{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(16rem,1fr);min-height:60vh;box-sizing:border-box}
body.rb-builder-page #builder>.rb-acc-bar{grid-area:1/1;position:relative;z-index:3;margin-block-start:0}
body.rb-builder-page #builder>#rb-cv-boot{grid-area:2/1;position:absolute;top:0;bottom:0;left:var(--gs-gutter);right:var(--gs-gutter);width:auto;min-height:0;z-index:2;pointer-events:none;box-sizing:border-box;align-content:start;padding:var(--gs-space-2) 0}
body.rb-builder-page #builder>#rb-cv-boot a{pointer-events:auto}
body.rb-builder-page #builder>#rb-cv-boot .rb-cv-boot-noscript{width:auto;max-width:44ch;justify-self:stretch;box-sizing:border-box;margin-inline:0}
/* The plugin noscript lives in .rb-app and would paint above the heading; the message is in #rb-cv-boot instead. */
body.rb-builder-page #builder .rb-app .rb-noscript{display:none}

@media (forced-colors:active){.rb-cv-boot-spin{border-color:CanvasText;border-top-color:Highlight}}

/* ---------- 5. Legal pages (template "legal-page": privacy, terms, community rules). Legal text is not changed:
   the staging render_block filter only adds ids to h2s and wraps the content.
   Markup: main.wp-block-group > h1.wp-block-post-title#legal-top + .wp-block-post-content > .gs-legal-body > nav.gs-toc + (legal text) + p.gs-legal-top
   Phones/tablets: h1, then the contents list (collapsed <details>), then the text.
   >=1100px: sticky 240px contents column; h1 and text share ONE 45rem column (same left edge). ---------- */
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page main.wp-block-group{max-width:calc(var(--gs-maxw-prose) + 2 * var(--gs-gutter))!important;margin:0 auto!important;padding:var(--gs-space-8) var(--gs-gutter) var(--gs-space-10)!important;box-sizing:border-box;font-size:var(--gs-fs-md)}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page main.wp-block-group > *,
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-legal-body > *{max-width:none!important;margin-left:0!important;margin-right:0!important}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-title{font:var(--gs-fw-bold) var(--gs-fs-3xl)/var(--gs-lh-heading) var(--gs-font-sans)!important;letter-spacing:var(--gs-ls-heading);color:var(--gs-text)!important;margin:0 0 var(--gs-space-6)!important}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-title:focus{outline:none}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-content{font-size:var(--gs-fs-md)!important;line-height:var(--gs-lh-prose)!important;color:var(--gs-text)!important}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page main :is(p,li,td,th,dt,dd,strong,em,span,h2,h3,h4){color:var(--gs-text)!important;font-family:var(--gs-font-sans)!important}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-content h2{font-size:var(--gs-fs-xl)!important;line-height:1.3!important;font-weight:var(--gs-fw-bold)!important;margin-top:2.2em!important;scroll-margin-top:calc(var(--gs-header-h) + var(--gs-space-4))}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-content h3{font-size:var(--gs-fs-lg)!important;font-weight:var(--gs-fw-bold)!important;scroll-margin-top:calc(var(--gs-header-h) + var(--gs-space-4))}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page main a{color:var(--gs-accent-text)!important;text-decoration:underline!important;text-underline-offset:3px;text-decoration-color:var(--gs-accent-deco)!important}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page main nav.rb-legal-footer a{color:var(--gs-text)!important;text-decoration:none!important} /* v2.2.2: one footer pattern */
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page main nav.rb-legal-footer a:hover{text-decoration:underline!important}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page main a:hover{color:var(--gs-accent-hover)!important}
/* first paragraph = version line (e.g. "Version 1.1 · 27 October 2026"): 14px everywhere */
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-legal-body > .gs-toc + p:first-of-type,
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-content > p:first-child{font-size:var(--gs-fs-sm)!important;color:var(--gs-text-2)!important}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-legal-body > .gs-toc + p:first-of-type *,
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-content > p:first-child *{color:inherit!important;font-size:inherit!important}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-content :is(table){display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;font-size:var(--gs-fs-sm)}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-content :is(th,td){padding:var(--gs-space-3);border-bottom:1px solid var(--gs-line);text-align:left;vertical-align:top}
/* TOC */
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-toc{margin:0 0 var(--gs-space-7)}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-toc a{color:var(--gs-text-2)!important;text-decoration:none!important}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-toc a[aria-current]{color:var(--gs-accent-hover)!important}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-legal-top{margin-top:var(--gs-space-8)}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-legal-top a{display:inline-flex;align-items:center;min-height:var(--gs-control-h-sm)}
@media (min-width:1100px){
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page main.wp-block-group{display:grid!important;grid-template-columns:240px minmax(0,var(--gs-maxw-prose));column-gap:var(--gs-space-9);justify-content:center;
    max-width:calc(240px + var(--gs-space-9) + var(--gs-maxw-prose) + 2 * var(--gs-gutter))!important}
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-title{grid-column:2;grid-row:1}
  /* post-content and .gs-legal-body become display:contents, so the TOC and every legal block are grid items of <main>.
     Inherited type still flows through. Grid margins do not collapse, so block spacing is reset to one 1em gap. */
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page :is(.wp-block-post-content,.gs-legal-body){display:contents!important}
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-legal-body > *{grid-column:2;margin-block:0!important}
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-legal-body > * + *{margin-top:1em!important}
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-legal-body > h2{margin-top:2.2em!important}
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-legal-body > .gs-toc + *{margin-top:0!important}
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-legal-body > .gs-legal-top{margin-top:var(--gs-space-8)!important}
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-toc{grid-column:1;grid-row:1 / span 400;align-self:start;position:static;max-height:none;overflow:visible;margin:0!important}
}
/* v2.1: the contents box is never cut off. A height-limited sticky box hid the end of the Terms list at 1280×900, so the
   list is shown whole and scrolls with the page; it sticks only where the whole list fits (tall screens). */
@media (min-width:1100px) and (min-height:1200px){
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .gs-toc{position:sticky;top:calc(var(--gs-header-h) + var(--gs-space-6))}
}
/* v2.1: everything in the one 720px column is left-aligned (WordPress constrained-layout auto margins and
   has-text-align-center centred the version line, "Email / Based in" and lists on staging). Text is not changed. */
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page :is(.wp-block-post-content,.gs-legal-body) > :not(.gs-toc){margin-left:0!important;margin-right:0!important;max-width:var(--gs-maxw-prose)!important}
:root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-content :is(p,ul,ol,li,dl,dt,dd,h2,h3,h4,figure,figcaption,table,th,td,div){text-align:start!important}
/* v2.1: phones: tables keep readable columns and scroll sideways inside themselves (14px floor). */
/* v2.2.6 (Designer, theme-footer pre-check 173700Z §5 + Reviewer): the 10rem/8rem
   minimums plus overflow-wrap:normal let "Lawful basis (GDPR Article 6)" run 11.1px
   past the viewport at 360 and clip the header text (page scrollWidth stayed 360
   because body.gs-page has overflow-x:clip). Let cells wrap. At max-width:600px the
   v2.2.5 stacked cards in theme.css still apply. */
/* v2.2.7 (Reviewer: prefer CSS-only wrap in the 601–699 band, no sideways
   scroll and no markup). Drop the mid-band scrollport. Cells wrap in a real
   table (display:table; overflow-x:visible; table-layout:fixed). This also
   overrides the all-widths legal table{display:block;overflow-x:auto} rule
   in that band. */
@media (max-width:699px){
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-content :is(th,td){min-width:0;font-size:var(--gs-fs-sm);vertical-align:top;overflow-wrap:anywhere;word-break:break-word}
}
@media (min-width:601px) and (max-width:699px){
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-content table{display:table;width:100%;max-width:100%;min-width:0;overflow-x:visible;table-layout:fixed;box-sizing:border-box}
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-content table > thead{display:table-header-group}
  :root:not(#gs-bridge) body.page-template-wp-custom-template-legal-page .wp-block-post-content table > tbody{display:table-row-group}
}
@media print{body.page-template-wp-custom-template-legal-page :is(.gs-toc,.gs-legal-top,header.wp-block-template-part,.rb-legal-footer){display:none!important}}

/* ---------- 6. 404: staging mu-plugins/rb-landing/rb-404.php is a standalone document on theme.css (.gs-404, .gs-404-code, .gs-404-links). Nothing to bridge. ---------- */

/* ---------- 7. One font: theme.json presets point at the theme font ---------- */
body.gs-page{--wp--preset--font-family--inter:var(--gs-font-sans);--wp--preset--font-family--archivo:var(--gs-font-sans);font-family:var(--gs-font-sans)}

/* ---------- 8. Forced colours (Windows High Contrast) for live controls ---------- */
@media (forced-colors:active){
  .rb-app .rb-ie-switch span{forced-color-adjust:none;background:Canvas!important;border:2px solid CanvasText}
  .rb-app .rb-ie-switch span::after{background:CanvasText}
  .rb-app .rb-ie-switch[aria-checked=true] span{background:Highlight!important;border-color:Highlight}
  .rb-app .rb-ie-switch[aria-checked=true] span::after{background:HighlightText}
  :is(.rbp-btn,.rb-acc-btn,.rbc-btn,.rb-f-btn,.rbc-link[data-act="reset"]){border:2px solid ButtonText!important}
  :root:not(#gs-bridge) :focus-visible{outline:3px solid Highlight!important}
}

/* ---- v2.2.3 ---- */
/* Turnstile room on phones (beats the 700px card padding !important above): see site.css v2.2.3 */
@media (max-width:420px){:root:not(#gs-bridge) .rbw-page .rb-acc-card .rb-acc-section{padding:16px 0 0!important;border-width:1px 0 0!important;border-radius:0!important;background:transparent!important}}
@media (max-width:380px){:root:not(#gs-bridge) .rbw-page .rb-acc-card{padding-left:12px!important;padding-right:12px!important}}
/* Script-focused alerts (tabindex=-1): no ring; beats the site-wide :focus-visible ring */
:root:not(#gs-bridge) body:not(.rb-landing-page) .rb-acc :is(.rb-acc-alert,.rb-acc-notice)[tabindex="-1"]:is(:focus,:focus-visible){outline:none!important;box-shadow:none!important}
/* Home hero sub-line: balanced lines (no orphan "PDF."), readable measure */
.rbp .rbp-hero .rbp-lede{text-wrap:balance;max-width:min(52ch,100%)}

/* feed-polish9c: home header Sign in (.gs-btn--secondary.gs-btn--sm) is
   36.5px tall at phone widths. Keep the look; a transparent ::before with
   inset:-4px 0 grows only the hit box to 44.5. .gs-btn is already
   position:relative; it is repeated here. No existing ::before (the
   mockup-match hit box is ::after). Vertical only, so the 8px gap to
   Create a free account is unchanged. Header height unchanged. Desktop
   unchanged. */
@media (max-width:1023px){
  .gs-header .gs-header-actions a.gs-btn.gs-btn--secondary.gs-btn--sm:not([hidden]){
    position:relative;
  }
  .gs-header .gs-header-actions a.gs-btn.gs-btn--secondary.gs-btn--sm:not([hidden])::before{
    content:"";
    position:absolute;
    inset:-4px 0;
    background:transparent;
  }
}
