/* Guided Partnership: logged-out account access, registration and recovery only.
   Layout law: panes live on the plugin-owned .tv-b2b-access wrapper with explicit
   grid areas. The Woo-owned .woocommerce wrapper is never a layout grid, and every
   grid container owned here neutralizes inherited clearfix pseudo elements.
   The importance-flagged declarations below are an audited, enumerated
   exception: they exist only to beat the live header partial's own
   importance-flagged chrome styling, and they are gated one-by-one by
   tests/rest/test_b2b_account_lifecycle_styles.py. */
body:not(.logged-in).woocommerce-account {
  --tv-access-deep:linear-gradient(150deg,#0b2439 12%,#0f5155);
  --tv-access-shadow:0 24px 56px rgba(21,53,77,.12);
  overflow-x:hidden;
}
body:not(.logged-in).woocommerce-account h1,
body:not(.logged-in).woocommerce-account h2,
body:not(.logged-in).woocommerce-account h3 {
  color:var(--tv-ink);
  font-weight:650;
  line-height:1.18;
}
body:not(.logged-in).woocommerce-account .woocommerce {
  width:100%;
  padding:clamp(4px,1.5vw,20px) 0 56px;
}

/* Preserve Linker identity and locale access; remove only non-task navigation.
   The live header partial styles its chrome with importance-flagged rules, so
   these audited hides must carry the same flag to actually apply on production markup. */
body:not(.logged-in).woocommerce-account #tv-header-v2 .tv-desktop-nav { display:none !important; }
body:not(.logged-in).woocommerce-account #tv-header-v2 .tv-desktop-actions > :not(.lnk-lang-toggle) { display:none !important; }
body:not(.logged-in).woocommerce-account #tv-header-v2 .tv-header-cta { display:none !important; }
body:not(.logged-in).woocommerce-account #tv-header-v2 #tv-mobile-toggle { display:none !important; }
body:not(.logged-in).woocommerce-account #tv-header-v2 .tv-mobile-panel { display:none !important; }

/* The LiveCanvas page banner repeats "My account" above the task shell; the
   access shell carries the single page heading, so the banner is retired on
   guest access routes only. */
body:not(.logged-in).woocommerce-account .bg-light-subtle:has(> .container > h1.display-4) { display:none; }
/* Release the page-shell column so the access shell centers on the viewport. */
body:not(.logged-in).woocommerce-account #container-content-page.container { max-width:none;padding:0; }
body:not(.logged-in).woocommerce-account #container-content-page > .row { margin:0;--bs-gutter-x:0; }
body:not(.logged-in).woocommerce-account #container-content-page > .row > [class*="col-"] { width:100%;margin:0;padding:0;flex:none;max-width:100%; }
body:not(.logged-in).woocommerce-account .woocommerce-notices-wrapper { width:min(760px,calc(100% - 40px));margin:0 auto; }

/* Keep legal and business identity while omitting the marketing link matrix. */
body:not(.logged-in).woocommerce-account #tv-footer-v2 .tv-footer-main-grid { display:none; }
body:not(.logged-in).woocommerce-account #tv-footer-v2 .tv-footer-container { padding-top:28px;padding-bottom:28px; }
body:not(.logged-in).woocommerce-account #tv-footer-v2 .tv-footer-bar { padding-top:0; }
body:not(.logged-in).woocommerce-account #tv-footer-v2 .tv-footer-bar-legal a { min-height:44px; }

/* The access shell: explicit areas, no auto-placement, no dependence on JS. */
body:not(.logged-in).woocommerce-account .tv-b2b-access {
  --tv-access-w:min(1240px,100vw - 48px);
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,6fr);
  grid-template-areas:"story task";
  align-items:stretch;
  width:var(--tv-access-w);
  min-height:560px;
  margin:0 auto;
  overflow:hidden;
  border-radius:18px;
  background:var(--tv-paper);
  box-shadow:var(--tv-access-shadow);
}
body:not(.logged-in).woocommerce-account .tv-b2b-access::before,
body:not(.logged-in).woocommerce-account .tv-b2b-access::after { content:none; }

/* Story pane: dark, sized for the longest German strings. */
body:not(.logged-in).woocommerce-account .tv-b2b-access__story {
  position:relative;
  grid-area:story;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  overflow:hidden;
  padding:clamp(30px,4vw,56px);
  background:var(--tv-access-deep);
  color:#fff;
}
body:not(.logged-in).woocommerce-account .tv-b2b-access__story .tv-b2b-portal-eyebrow {
  display:block;
  margin:0 0 12px;
  color:#8ee5d9;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
body:not(.logged-in).woocommerce-account .tv-b2b-access__story h1 {
  margin:0 0 14px;
  color:#fff;
  font-size:clamp(1.6rem,1.05rem + 1.75vw,2.35rem);
  letter-spacing:-.02em;
  line-height:1.16;
  overflow-wrap:break-word;
  hyphens:manual;
}
body:not(.logged-in).woocommerce-account .tv-b2b-access__story p { max-width:52ch;margin:0;color:#cfdbdf;line-height:1.62; }
body:not(.logged-in).woocommerce-account .tv-b2b-access__points { display:grid;gap:11px;margin:24px 0 26px;padding:0;list-style:none; }
body:not(.logged-in).woocommerce-account .tv-b2b-access__points li { position:relative;padding-left:25px;color:#e0eaed;font-size:.92rem;line-height:1.5; }
body:not(.logged-in).woocommerce-account .tv-b2b-access__points li::before { content:"";position:absolute;top:.42em;left:0;width:9px;height:9px;border-radius:50%;background:var(--tv-accent); }
body:not(.logged-in).woocommerce-account .tv-b2b-access__actions { display:flex;flex-wrap:wrap;gap:10px; }
body:not(.logged-in).woocommerce-account .tv-b2b-portal-button { display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 16px;border:1px solid rgba(255,255,255,.42);border-radius:8px;color:#fff;text-decoration:none; }
body:not(.logged-in).woocommerce-account .tv-b2b-access__mark { position:absolute;right:-72px;bottom:-72px;width:320px;color:rgba(255,255,255,.055);pointer-events:none; }
body:not(.logged-in).woocommerce-account .tv-b2b-access-back { display:inline-flex;min-height:44px;align-items:center;margin:0 0 10px;color:#d8e6e8;text-decoration:none; }
body:not(.logged-in).woocommerce-account .tv-b2b-access-back::before { content:"←";margin-right:8px; }

/* Task pane: the bounded working column every form child inherits. */
body:not(.logged-in).woocommerce-account .tv-b2b-access__task {
  grid-area:task;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:clamp(24px,3.4vw,46px) clamp(18px,3vw,44px);
  background:#f4f7f8;
}
body:not(.logged-in).woocommerce-account .tv-b2b-access__task > * {
  width:min(560px,100%);
  margin-left:auto;
  margin-right:auto;
}
body:not(.logged-in).woocommerce-account .tv-b2b-access__task > .woocommerce-notices-wrapper { margin-bottom:14px; }
body:not(.logged-in).woocommerce-account .tv-b2b-access__task > .woocommerce-notices-wrapper:empty { margin:0; }

/* Sign-in / register switch (JS-injected; short single-line labels). */
body:not(.logged-in).woocommerce-account .tv-b2b-auth-tabs {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
  margin-bottom:16px;
  padding:5px;
  border:1px solid var(--tv-line);
  border-radius:10px;
  background:var(--tv-paper);
}
body:not(.logged-in).woocommerce-account .tv-b2b-auth-tab {
  min-width:0;
  min-height:42px;
  overflow:hidden;
  border:0;
  border-radius:7px;
  background:transparent;
  color:var(--tv-muted);
  font:inherit;
  font-size:.88rem;
  font-weight:700;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
  cursor:pointer;
}
body:not(.logged-in).woocommerce-account .tv-b2b-auth-tab.is-active { background:var(--tv-soft);color:var(--tv-ink);box-shadow:0 4px 14px rgba(21,53,77,.09); }

/* No-JS fallback: both authoritative Woo forms remain complete and visible,
   stacked with their own headings inside the task pane. */
body:not(.logged-in).woocommerce-account #customer_login {
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
}
body:not(.logged-in).woocommerce-account #customer_login::before,
body:not(.logged-in).woocommerce-account #customer_login::after { content:none; }
body:not(.logged-in).woocommerce-account #customer_login > div { float:none;width:auto;min-width:0;grid-column:auto; }
body:not(.logged-in).woocommerce-account #customer_login h2 { margin:0 0 12px;font-size:1.22rem; }

/* One form language across login, registration and recovery. */
body:not(.logged-in).woocommerce-account form.woocommerce-form-login,
body:not(.logged-in).woocommerce-account form.woocommerce-form-register,
body:not(.logged-in).woocommerce-account form.woocommerce-ResetPassword {
  width:100%;
  margin:0;
  padding:clamp(22px,2.6vw,32px);
  border:1px solid var(--tv-line);
  border-radius:14px;
  background:var(--tv-paper);
  box-shadow:0 12px 34px rgba(21,53,77,.07);
}
body:not(.logged-in).woocommerce-account .form-row { margin:0 0 17px; }
body:not(.logged-in).woocommerce-account form.woocommerce-ResetPassword .form-row { float:none;width:100%; }
body:not(.logged-in).woocommerce-account .form-row label { display:block;margin:0 0 6px;color:var(--tv-ink);font-size:.9rem;font-weight:650; }
body:not(.logged-in).woocommerce-account .form-row .required { color:var(--tv-danger);text-decoration:none; }
body:not(.logged-in).woocommerce-account input.input-text,
body:not(.logged-in).woocommerce-account input[type="email"],
body:not(.logged-in).woocommerce-account input[type="password"],
body:not(.logged-in).woocommerce-account input[type="tel"],
body:not(.logged-in).woocommerce-account input[type="text"],
body:not(.logged-in).woocommerce-account select,
body:not(.logged-in).woocommerce-account textarea {
  width:100%;
  min-height:46px;
  border:1px solid var(--tv-line);
  border-radius:8px;
  background:var(--tv-paper);
  padding:10px 13px;
  color:var(--tv-ink);
  font:inherit;
}
body:not(.logged-in).woocommerce-account textarea { min-height:120px;resize:vertical; }
body:not(.logged-in).woocommerce-account .woocommerce button.button,
body:not(.logged-in).woocommerce-account [data-tv-registration-actions] button {
  display:inline-flex;
  min-height:46px;
  align-items:center;
  justify-content:center;
  border:1px solid var(--tv-ink);
  border-radius:8px;
  background:var(--tv-ink);
  padding:10px 18px;
  color:#fff;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
body:not(.logged-in).woocommerce-account form.woocommerce-form-login .woocommerce-button,
body:not(.logged-in).woocommerce-account form.woocommerce-ResetPassword .woocommerce-Button { width:100%; }
body:not(.logged-in).woocommerce-account form.woocommerce-form-register button[type="submit"] { width:100%;margin-top:4px; }
body:not(.logged-in).woocommerce-account [data-tv-registration-step] h3:focus:not(:focus-visible) { outline:none; }
body:not(.logged-in).woocommerce-account .woocommerce-form-login__rememberme { display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0 0 10px;color:var(--tv-muted); }
body:not(.logged-in).woocommerce-account .woocommerce-LostPassword { margin:14px 0 0; }
body:not(.logged-in).woocommerce-account .woocommerce-error,
body:not(.logged-in).woocommerce-account .woocommerce-info,
body:not(.logged-in).woocommerce-account .woocommerce-message { margin:0;padding:14px 16px;border:1px solid var(--tv-line);border-left:3px solid var(--tv-accent);border-radius:8px;background:var(--tv-paper);color:var(--tv-ink); }
body:not(.logged-in).woocommerce-account .woocommerce-error a { color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px; }
body:not(.logged-in).woocommerce-account [aria-invalid="true"] { border-color:var(--tv-danger); }

/* Guided form, still one Woo form and one final submit. */
body:not(.logged-in).woocommerce-account .tv-b2b-register-intro { margin:0 0 20px;padding:14px 16px;border-left:3px solid var(--tv-accent);background:#f1f8f7;color:var(--tv-muted);font-size:.86rem; }
body:not(.logged-in).woocommerce-account .tv-b2b-register-intro p { margin:0; }
body:not(.logged-in).woocommerce-account .tv-b2b-register-intro p+p { margin-top:7px; }
body:not(.logged-in).woocommerce-account .tv-b2b-login-note { margin:20px 0 0;padding:16px;border:1px solid var(--tv-line);border-radius:10px;background:var(--tv-soft); }
body:not(.logged-in).woocommerce-account .tv-b2b-login-note h3 { margin:0 0 7px;font-size:.95rem; }
body:not(.logged-in).woocommerce-account .tv-b2b-login-note p { margin:0;color:var(--tv-muted);font-size:.86rem; }
body:not(.logged-in).woocommerce-account .tv-b2b-login-note p+p { margin-top:8px; }
body:not(.logged-in).woocommerce-account [data-tv-registration-current-step] { margin:0 0 8px;color:var(--tv-accent-text);font-size:.8rem;font-weight:750; }
body:not(.logged-in).woocommerce-account [data-tv-registration-steps] { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 24px;padding:0;list-style:none; }
body:not(.logged-in).woocommerce-account [data-tv-registration-step-label] { min-width:0;border-top:3px solid var(--tv-line);padding-top:7px;color:var(--tv-muted);font-size:.74rem; }
body:not(.logged-in).woocommerce-account [data-tv-registration-step-label][aria-current="step"] { border-color:var(--tv-accent);color:var(--tv-ink);font-weight:700; }
body:not(.logged-in).woocommerce-account [data-tv-registration-step] h3 { margin:0 0 7px;font-size:1.22rem; }
body:not(.logged-in).woocommerce-account [data-tv-registration-step] > p { margin:0 0 19px;color:var(--tv-muted);font-size:.88rem; }
body:not(.logged-in).woocommerce-account [data-tv-registration-actions] { display:flex;justify-content:space-between;gap:10px;margin-top:22px; }
body:not(.logged-in).woocommerce-account [data-tv-registration-actions] button[data-tv-registration-back] { border-color:var(--tv-line);background:var(--tv-paper);color:var(--tv-ink); }

/* Honest no-JS page: stepper chrome and inert step controls appear only once
   the controller has verified the structure and enhanced the form. */
body:not(.logged-in).woocommerce-account [data-tv-registration]:not(.tv-b2b-registration--enhanced) [data-tv-registration-steps],
body:not(.logged-in).woocommerce-account [data-tv-registration]:not(.tv-b2b-registration--enhanced) [data-tv-registration-current-step],
body:not(.logged-in).woocommerce-account [data-tv-registration]:not(.tv-b2b-registration--enhanced) [data-tv-registration-actions],
body:not(.logged-in).woocommerce-account [data-tv-registration]:not(.tv-b2b-registration--enhanced) [data-tv-registration-review] { display:none; }
body:not(.logged-in).woocommerce-account [data-tv-registration-review]:empty { display:none; }

/* Step 3 review summary (filled by the enhancement, one final submit stays). */
body:not(.logged-in).woocommerce-account [data-tv-registration-review] { margin:0 0 18px;padding:14px 16px;border:1px solid var(--tv-line);border-radius:10px;background:var(--tv-soft); }
body:not(.logged-in).woocommerce-account [data-tv-registration-review] h4 { margin:0 0 10px;font-size:.95rem; }
body:not(.logged-in).woocommerce-account [data-tv-registration-review] dl { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:6px 14px;margin:0; }
body:not(.logged-in).woocommerce-account [data-tv-registration-review] dt { color:var(--tv-muted);font-size:.8rem; }
body:not(.logged-in).woocommerce-account [data-tv-registration-review] dd { margin:0;font-size:.86rem;overflow-wrap:anywhere; }

/* Recovery keeps the same shell; the form is one bounded card. */
body:not(.logged-in).woocommerce-account .tv-b2b-access--recovery { min-height:440px; }
body:not(.logged-in).woocommerce-account .tv-b2b-access--recovery form.woocommerce-ResetPassword { max-width:520px; }

/* Shell-less recovery states (reset link sent, reset-key form): keep the task
   bounded and centered instead of a bare full-width form. */
body:not(.logged-in).woocommerce-account .woocommerce > form.woocommerce-ResetPassword { width:min(560px,calc(100% - 40px));margin:28px auto 0; }
body:not(.logged-in).woocommerce-account .woocommerce > .woocommerce-notices-wrapper { width:min(760px,calc(100% - 40px));margin:16px auto 0; }

/* Fixed Advisor and focused-control clearance stay outside the active task. */
body:not(.logged-in).woocommerce-account .woocommerce input,
body:not(.logged-in).woocommerce-account .woocommerce select,
body:not(.logged-in).woocommerce-account .woocommerce textarea,
body:not(.logged-in).woocommerce-account .woocommerce button {
  scroll-margin-block-end:calc(72px + env(safe-area-inset-bottom));
}

@media (max-width:900px) {
  body:not(.logged-in).woocommerce-account .woocommerce { padding:0 16px 36px; }
  body:not(.logged-in).woocommerce-account .tv-b2b-access {
    grid-template-columns:1fr;
    grid-template-areas:"task" "story";
    width:100%;
    min-height:0;
    margin:14px 0 0;
    border-radius:14px;
    box-shadow:none;
    border:1px solid var(--tv-line);
  }
  body:not(.logged-in).woocommerce-account .tv-b2b-access--recovery { grid-template-areas:"story" "task"; }
  body:not(.logged-in).woocommerce-account .tv-b2b-access__task { justify-content:flex-start;padding:16px 14px 24px; }
  body:not(.logged-in).woocommerce-account .tv-b2b-access__task > * { width:100%; }
  body:not(.logged-in).woocommerce-account .tv-b2b-access__story { justify-content:flex-start;padding:18px; }
  /* Entry story compresses to a compact trust strip after the form. */
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry .tv-b2b-access__story {
    background:#eef6f5;
    color:var(--tv-ink);
  }
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry .tv-b2b-access__story .tv-b2b-portal-eyebrow { margin:0 0 8px;color:var(--tv-accent-text); }
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry .tv-b2b-access__story h1,
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry .tv-b2b-access__story > p,
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry .tv-b2b-access__actions,
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry .tv-b2b-access__mark { display:none; }
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry .tv-b2b-access__points { margin:0; }
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry .tv-b2b-access__points li { color:var(--tv-ink); }
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry .tv-b2b-access__points li:not(:first-child) { display:none; }
  /* Recovery story stays the compact task heading above its form. */
  body:not(.logged-in).woocommerce-account .tv-b2b-access__story--recovery { padding:20px 18px; }
  body:not(.logged-in).woocommerce-account .tv-b2b-access__story--recovery h1 { font-size:1.45rem; }
  body:not(.logged-in).woocommerce-account .tv-b2b-access__story--recovery p { font-size:.88rem; }
  body:not(.logged-in).woocommerce-account form.woocommerce-form-login,
  body:not(.logged-in).woocommerce-account form.woocommerce-form-register,
  body:not(.logged-in).woocommerce-account form.woocommerce-ResetPassword { padding:18px 16px;box-shadow:none; }
  body:not(.logged-in).woocommerce-account .woocommerce-notices-wrapper { width:calc(100% - 52px); }
    body:not(.logged-in).woocommerce-account [data-tv-registration-actions] { max-width:none;align-items:stretch;flex-direction:column-reverse; }
  body:not(.logged-in).woocommerce-account .tv-b2b-access[data-tv-access-step="2"] .tv-b2b-register-intro,
  body:not(.logged-in).woocommerce-account .tv-b2b-access[data-tv-access-step="3"] .tv-b2b-register-intro { display:none; }
  body:not(.logged-in).woocommerce-account [data-tv-registration-actions] button { width:100%;max-width:none;font-size:.95rem; }
  body:not(.logged-in).woocommerce-account #tv-footer-v2 .tv-footer-bar { gap:8px;padding-right:52px; }
  body:not(.logged-in).woocommerce-account #tv-footer-v2 .tv-footer-bar-trust { display:none; }
  body:not(.logged-in).woocommerce-account .lia-launch {
    position:fixed;
    right:8px;
    bottom:calc(12px + env(safe-area-inset-bottom));
    width:44px;
    height:44px;
  }
}

@media (max-width:480px) {
  body:not(.logged-in).woocommerce-account .tv-b2b-auth-tabs { padding:4px; }
  body:not(.logged-in).woocommerce-account .tv-b2b-auth-tab { padding:0 7px;font-size:.8rem;white-space:nowrap; }
  body:not(.logged-in).woocommerce-account [data-tv-registration-steps] { gap:5px; }
  body:not(.logged-in).woocommerce-account [data-tv-registration-step-label] { font-size:.68rem; }
  body:not(.logged-in).woocommerce-account [data-tv-registration-actions] { align-items:stretch;flex-direction:column-reverse; }
  body:not(.logged-in).woocommerce-account [data-tv-registration-actions] button { width:100%; }
}

/* Programmatic focus targets (tabindex="-1") are not keyboard-reachable; no ring. */
body:not(.logged-in).woocommerce-account [tabindex="-1"]:focus { outline:none;box-shadow:none; }
/* The enhanced tab switch already names the active view; hide the duplicate panel heading. */
body.tv-b2b-auth-split.woocommerce-account #customer_login > div > h2 { display:none; }

/* Same WooCommerce appearance reset reaches the registration country select. */
body:not(.logged-in).woocommerce-account form.woocommerce-form-register select { background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23172636' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:12px 8px;padding-right:38px; }

/* Step guidance: the story pane narrates the active registration step on desktop. */
body:not(.logged-in).woocommerce-account .tv-b2b-access__guidance { display:none;max-width:52ch; }
body:not(.logged-in).woocommerce-account .tv-b2b-access__guidance h2 { color:#fff;font-size:1.3rem;margin:0 0 10px; }
body:not(.logged-in).woocommerce-account .tv-b2b-access__guidance p { color:#cfdbdf;font-size:.95rem;margin:0 0 10px; }
@media (min-width:901px) {
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry[data-tv-access-step]:has(.u-column2:not([hidden])) .tv-b2b-access__story { justify-content:flex-start; }
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry[data-tv-access-step]:has(.u-column2:not([hidden])) .tv-b2b-access__points,
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry[data-tv-access-step]:has(.u-column2:not([hidden])) .tv-b2b-access__actions,
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry[data-tv-access-step]:has(.u-column2:not([hidden])) .tv-b2b-access__story > p { display:none; }
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry[data-tv-access-step="1"]:has(.u-column2:not([hidden])) .tv-b2b-access__guidance[data-tv-access-guidance="1"],
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry[data-tv-access-step="2"]:has(.u-column2:not([hidden])) .tv-b2b-access__guidance[data-tv-access-guidance="2"],
  body:not(.logged-in).woocommerce-account .tv-b2b-access--entry[data-tv-access-step="3"]:has(.u-column2:not([hidden])) .tv-b2b-access__guidance[data-tv-access-guidance="3"] { display:block; }
}
/* Step 3 groups its decision: privacy text, then back beside the final submit. */
body:not(.logged-in).woocommerce-account section[data-tv-registration-step="3"] { display:flex;flex-direction:column; }
body:not(.logged-in).woocommerce-account section[data-tv-registration-step="3"] > .woocommerce-privacy-policy-text { order:1; }
body:not(.logged-in).woocommerce-account section[data-tv-registration-step="3"] > [data-tv-registration-actions] { order:2; }
body:not(.logged-in).woocommerce-account [data-tv-registration-actions] > .form-row { margin:0; }
@media (min-width:901px) {
  body:not(.logged-in).woocommerce-account form.woocommerce-form-register [data-tv-registration-actions] button[type="submit"] { width:auto;min-width:240px; }
}
body:not(.logged-in).woocommerce-account section[data-tv-registration-step="3"] > .form-row:has(button[type="submit"]) { order:3; }
body:not(.logged-in).woocommerce-account .tv-b2b-registration-note { color:#5c6b78;font-size:.85rem;margin:10px 0 0; }
/* Without JS the tall stacked form pairs with a top-aligned story pane. */
body:not(.logged-in).woocommerce-account .tv-b2b-access:has([data-tv-registration]:not(.tv-b2b-registration--enhanced)) .tv-b2b-access__story { justify-content:flex-start; }
/* The fixed Advisor pill needs clearance above the footer legal links. */
body:not(.logged-in).woocommerce-account #tv-footer-v2 .tv-footer-bar { padding-bottom:64px; }
body:not(.logged-in).woocommerce-account #tv-footer-v2 .tv-footer-bar-trust { margin-right:184px; }
