/* Canonical A1 shell. Loaded after retained route assets; every selector is
 * bounded to the explicit shell body and header/footer/bottom navigation.
 * Reference: supplied Stage30 core shell; WordPress copy, media and contracts win.
 */
body.bs-shared-shell > header.site-header {
  position: sticky; inset-block-start: 0; z-index: 100;
  display: block; border: 0; border-block-end: 1px solid var(--bs-shell-line);
  background: var(--bs-shell-canvas); box-shadow: 0 6px 24px #2f0d450b;
}
body.bs-shared-shell.single-myboldspace > header.site-header { border-block-start: 3px solid var(--bs-shell-purple); }
body.bs-shared-shell > header.site-header .site-header__identity-inner,
body.bs-shared-shell > header.site-header .site-header__nav-inner { inline-size: var(--bs-shell-header-width); margin-inline: auto; }
body.bs-shared-shell > header.site-header .site-header__identity-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-block-size: 6rem;
}
body.bs-shared-shell > header.site-header .site-brand {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  inline-size: min(100%, 12.75rem); min-inline-size: 0; min-block-size: 0; margin: 0;
  color: var(--bs-shell-purple); text-decoration: none;
}
body.bs-shared-shell > header.site-header .site-brand__fallback { visibility: hidden; grid-area: 1 / 1; }
body.bs-shared-shell > header.site-header .site-brand img {
  position: relative; grid-area: 1 / 1; display: block; inline-size: 100%; max-inline-size: 100%;
  block-size: auto; max-block-size: none; object-fit: contain; object-position: left center; background: transparent;
}
body.bs-shared-shell > header.site-header .site-header__utilities { display: flex; align-items: center; gap: .75rem; }
body.bs-shared-shell > header.site-header :is(.site-header__cta, .site-nav__engage) {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-block-size: 2.75rem; padding: .75rem 1.75rem; border: 1px solid var(--bs-shell-purple); border-radius: 999px;
  background: var(--bs-shell-purple); color: var(--bs-shell-paper); font: 800 .75rem/1.5 var(--bs-shell-body);
  text-decoration: none; white-space: nowrap;
}
body.bs-shared-shell > header.site-header :is(.site-header__cta, .site-nav__engage):hover { background: #2f0d45; }
body.bs-shared-shell > header.site-header :is(.site-search__toggle, .site-toggle, .site-drawer__close) {
  display: inline-flex; align-items: center; justify-content: center; gap: 0; flex: none;
  inline-size: 3.125rem; block-size: 3.125rem; min-inline-size: 3rem; min-block-size: 3rem;
  margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--bs-shell-ink); cursor: pointer;
}
body.bs-shared-shell > header.site-header :is(.site-search__toggle, .site-toggle, .site-drawer__close):hover,
body.bs-shared-shell > header.site-header .site-search[open] .site-search__toggle { background: var(--bs-shell-lilac); color: var(--bs-shell-purple); }
body.bs-shared-shell > header.site-header .site-search { position: relative; }
body.bs-shared-shell > header.site-header .site-search__toggle { list-style: none; }
body.bs-shared-shell > header.site-header .site-search__toggle::-webkit-details-marker { display: none; }
body.bs-shared-shell > header.site-header .site-search__toggle svg { inline-size: 1.5rem; block-size: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
body.bs-shared-shell > header.site-header .site-toggle { display: none; }
body.bs-shared-shell > header.site-header[data-enhanced='true'] .site-toggle { display: inline-flex; }
body.bs-shared-shell > header.site-header .site-toggle__icon { position: relative; inline-size: 1.5rem; block-size: .75rem; border-block: 1px solid currentColor; }
body.bs-shared-shell > header.site-header .site-toggle[aria-expanded='true'] .site-toggle__icon { border-block-end-color: transparent; transform: translateY(.25rem) rotate(45deg); }
body.bs-shared-shell > header.site-header .site-toggle[aria-expanded='true'] .site-toggle__icon::after { content: ''; position: absolute; inset: -1px 0 auto; border-block-start: 1px solid currentColor; transform: rotate(-90deg); }
body.bs-shared-shell > header.site-header .site-search__panel {
  position: absolute; z-index: 110; inset: calc(100% + 1rem) 0 auto auto; inline-size: min(28rem, calc(100vw - 2rem));
  max-inline-size: none; border: 1px solid var(--bs-shell-line); border-radius: 1.375rem; overflow: hidden;
  background: var(--bs-shell-paper); color: var(--bs-shell-ink); box-shadow: 0 14px 36px #42106520;
}
body.bs-shared-shell > header.site-header .site-search__panel-inner { display: grid; gap: 1rem; padding: 1.75rem; }
body.bs-shared-shell > header.site-header .site-search__panel-inner p { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--bs-shell-muted); }
body.bs-shared-shell > header.site-header .bs-label { margin: 0; font: 800 .75rem/1.5 var(--bs-shell-body); color: var(--bs-shell-purple); }
body.bs-shared-shell > header.site-header .site-search-form { display: grid; gap: .5rem; }
body.bs-shared-shell > header.site-header .site-search-form > label { color: var(--bs-shell-ink); font: 800 .75rem/1.5 var(--bs-shell-body); }
body.bs-shared-shell > header.site-header .site-search-form__controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
body.bs-shared-shell > header.site-header .site-search-form :is(input, button) { min-inline-size: 0; min-block-size: 3rem; border: 1px solid var(--bs-shell-line); border-radius: 999px; padding: .75rem 1rem; font: 600 .875rem/1.5 var(--bs-shell-body); }
body.bs-shared-shell > header.site-header .site-search-form input { inline-size: 100%; background: white; color: var(--bs-shell-ink); }
body.bs-shared-shell > header.site-header .site-search-form button { background: var(--bs-shell-purple); color: var(--bs-shell-paper); cursor: pointer; }
/* Unenhanced navigation is visible, with all current public destinations. */
body.bs-shared-shell > header.site-header .site-header__nav-row { background: var(--bs-shell-paper); border: 0; }
body.bs-shared-shell > header.site-header .site-header__nav-inner { padding-block: 1.75rem; }
body.bs-shared-shell > header.site-header :is(.site-drawer__heading, .site-drawer__searchbar, .site-drawer__backdrop) { display: none; }
body.bs-shared-shell > header.site-header .site-nav { margin: 0; inline-size: auto; }
body.bs-shared-shell > header.site-header .site-nav__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem 1rem; padding: 0; margin: 0; list-style: none; }
body.bs-shared-shell > header.site-header .site-nav a { display: flex; align-items: center; min-inline-size: 0; min-block-size: 3rem; color: var(--bs-shell-ink); font: 500 1.5rem/1.25 var(--bs-shell-display); text-decoration: none; letter-spacing: -.014em; }
body.bs-shared-shell > header.site-header .site-nav a[aria-current='page'] { color: var(--bs-shell-purple); font-style: italic; text-decoration: underline; text-decoration-color: var(--bs-shell-gold); text-underline-offset: .35em; }
body.bs-shared-shell > header.site-header .site-nav a:hover { color: var(--bs-shell-purple); }
body.bs-shared-shell > header.site-header .site-nav__engage { margin-block-start: 1.75rem; }
/* One drawer layout at both breakpoints, matched to unchanged site.js state. */
body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-header__nav-row {
  position: fixed; z-index: 120; inset: 0; display: block; visibility: visible; pointer-events: auto; background: transparent; border: 0;
}
body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-drawer__backdrop {
  position: absolute; inset: 0; display: block; inline-size: 100%; block-size: 100%; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: #42106547; opacity: 1; cursor: pointer;
}
body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-header__nav-inner {
  position: absolute; inset: 0 0 0 auto; display: flex; flex-direction: column; align-items: stretch; align-content: start;
  inline-size: min(calc(100% - 1rem), 31rem); block-size: 100dvh; margin: 0; padding: 1.25rem 1.5rem 3rem;
  overflow-y: auto; overscroll-behavior: contain; transform: none; border: 0;
  background: #fffaf3e8; -webkit-backdrop-filter: blur(22px) saturate(1.15); backdrop-filter: blur(22px) saturate(1.15);
  box-shadow: -24px 0 64px #4210652e, inset 1px 0 0 #fffaf3cc;
}
body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-drawer__heading {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; order: 1; flex: none;
  min-block-size: 4rem; margin: 0 0 .75rem; padding: 0 0 .75rem; border-block-end: 1px solid var(--bs-shell-line);
}
body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-drawer__heading h2 { margin: 0; color: var(--bs-shell-purple); font: 800 .75rem/1.5 var(--bs-shell-body); letter-spacing: .08em; text-transform: uppercase; }
body.bs-shared-shell > header.site-header .site-drawer__close { background: var(--bs-shell-lilac); color: var(--bs-shell-purple); }
body.bs-shared-shell > header.site-header .site-drawer__close-icon { position: relative; inline-size: 1.25rem; block-size: 1.25rem; transform: rotate(45deg); }
body.bs-shared-shell > header.site-header .site-drawer__close-icon::before,
body.bs-shared-shell > header.site-header .site-drawer__close-icon::after { content: ''; position: absolute; inset: calc(50% - .5px) 0 auto; border-block-start: 1px solid currentColor; }
body.bs-shared-shell > header.site-header .site-drawer__close-icon::after { transform: rotate(90deg); }
body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-drawer__searchbar {
  display: flex; align-items: center; gap: .75rem; order: 2; flex: none; min-block-size: 2.875rem; margin: 0 0 1rem; padding: 0 1.25rem;
  border: 1px solid #42106538; border-radius: 999px; background: #fffaf3ad; color: var(--bs-shell-purple); box-shadow: 0 1px 2px #4210651a;
}
body.bs-shared-shell > header.site-header .site-drawer__searchbar svg { display: block; flex: none; inline-size: 1.25rem; block-size: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
body.bs-shared-shell > header.site-header .site-drawer__searchbar input { flex: 1; inline-size: 100%; min-inline-size: 0; min-block-size: 2.75rem; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--bs-shell-ink); font: 400 1rem/1.5 var(--bs-shell-body); }
body.bs-shared-shell > header.site-header .site-drawer__searchbar button { display: grid; place-items: center; flex: none; min-inline-size: 2rem; min-block-size: 2.75rem; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--bs-shell-purple); cursor: pointer; }
body.bs-shared-shell > header.site-header .site-drawer__searchbar:focus-within { outline: 2px solid var(--bs-shell-purple); outline-offset: 2px; }
body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-nav { display: block; order: 3; flex: none; inline-size: 100%; margin: 0; }
body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-nav__items { display: grid; grid-template-columns: 1fr; gap: 0; }
body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-nav__items li { display: list-item; }
body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-nav a { display: flex; inline-size: 100%; min-block-size: 2.95rem; padding: .35rem 1rem; border: 0; border-block-end: 1px solid #4210651f; border-radius: 999px; font: 500 clamp(1.22rem, 2.1vw, 1.46rem)/1.25 var(--bs-shell-display); letter-spacing: -.014em; }
body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-nav a:is(:hover, :focus-visible) { background: var(--bs-shell-lilac); }
body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-nav__engage { display: inline-flex; order: 4; flex: none; inline-size: 100%; margin-block-start: 1.75rem; }
body.bs-shared-shell[data-site-drawer-open] { overflow: hidden; }
@media (max-width: 73.75rem) {
  body.bs-shared-shell > header.site-header .site-header__cta { display: none; }
  body.bs-shared-shell > header.site-header[data-enhanced='true']:not([data-open='true']) .site-header__nav-row { position: fixed; inset: 0; display: none; visibility: hidden; pointer-events: none; }
  body.bs-shared-shell > header.site-header:not([data-enhanced='true']) { position: relative; }
}
@media (min-width: 73.751rem) {
  body.bs-shared-shell > header.site-header { display: grid; grid-template-columns: minmax(0, var(--bs-shell-header-width)); justify-content: center; }
  body.bs-shared-shell > header.site-header :is(.site-header__identity, .site-header__identity-inner, .site-header__nav-row, .site-header__nav-inner) { display: contents; }
  body.bs-shared-shell > header.site-header :is(.site-brand, .site-nav, .site-header__utilities) { grid-row: 1; grid-column: 1; align-self: center; }
  body.bs-shared-shell > header.site-header .site-brand { justify-self: start; z-index: 1; }
  body.bs-shared-shell > header.site-header .site-header__utilities { justify-self: end; z-index: 1; }
  body.bs-shared-shell > header.site-header .site-nav { justify-self: center; margin-inline: 2.5rem 0; }
  body.bs-shared-shell > header.site-header .site-nav__items { display: flex; align-items: center; justify-content: center; gap: 1.5rem; }
  body.bs-shared-shell > header.site-header .site-nav a { min-block-size: 3rem; font: 500 .875rem/1.5 var(--bs-shell-body); letter-spacing: 0; }
  body.bs-shared-shell > header.site-header .site-nav a[aria-current='page'] { font-style: normal; }
  body.bs-shared-shell > header.site-header[data-enhanced='true']:not([data-open='true']) .site-nav__items > li:not(.site-nav__item--priority) { display: none; }
  body.bs-shared-shell > header.site-header .site-nav__engage { display: none; }
  body.bs-shared-shell > header.site-header:not([data-enhanced='true']) .site-nav { margin-inline: 14rem 17rem; }
  body.bs-shared-shell > header.site-header:not([data-enhanced='true']) #primary-navigation .site-nav__items > li { display: list-item; }
}
/* Footer: current three public link groups, not the prototype's hidden links. */
body.bs-shared-shell > footer.bs-footer-v9 { margin: 0; padding: 0; border: 0; background: var(--bs-shell-ink); }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__newsletter { background: var(--bs-shell-lilac); color: var(--bs-shell-ink); border: 0; border-block-end: 2px solid var(--bs-shell-gold); }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__newsletter-inner {
  inline-size: var(--bs-shell-width); max-inline-size: 1280px; margin-inline: auto; display: grid;
  grid-template-columns: minmax(0, 1.19fr) minmax(0, 1fr); align-items: center; gap: clamp(1.75rem, 4vw, 5rem); padding-block: clamp(3rem, 5.5vw, 5.25rem);
}
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__newsletter-copy { display: grid; gap: 0; min-inline-size: 0; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__newsletter-copy .bs-label { margin: 0; color: var(--bs-shell-purple); font: 800 .75rem/1.5 var(--bs-shell-body); letter-spacing: 0; text-transform: uppercase; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__newsletter-copy h2 { display: block; margin: .35rem 0 1rem; max-inline-size: 19ch; color: var(--bs-shell-purple); font: 500 clamp(2.1rem, 4vw, 3.5rem)/1.07 var(--bs-shell-display); letter-spacing: -.035em; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__newsletter-copy p:last-child { max-inline-size: 47ch; margin: 0; color: var(--bs-shell-muted); font: 400 clamp(.98rem, 1.15vw, 1.075rem)/1.66 var(--bs-shell-body); }
body.bs-shared-shell > footer.bs-footer-v9 .bs-footer-signup { min-inline-size: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-form { display: grid; gap: .65rem; min-inline-size: 0; margin: 0; padding: 2rem; border: 0; border-radius: 1.375rem 1.375rem 1.375rem .25rem; background: #fffaf3eb; box-shadow: 0 16px 36px #4210650b; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-form > label:not(.bs-newsletter-consent) { color: var(--bs-shell-purple); font: 800 .8125rem/1.5 var(--bs-shell-body); }
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-fields { display: flex; align-items: stretch; gap: .5rem; min-inline-size: 0; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-fields :is(input, button) { min-inline-size: 0; min-block-size: 3.375rem; padding: .8rem 1rem; border: 1px solid #4210654d; border-radius: 999px; font: 400 1rem/1.5 var(--bs-shell-body); }
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-fields input { flex: 1 1 11rem; inline-size: 100%; background: white; color: var(--bs-shell-ink); }
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-fields button { display: inline-flex; align-items: center; justify-content: center; gap: .25rem; flex: none; background: var(--bs-shell-purple); color: var(--bs-shell-paper); font: 800 .8125rem/1.5 var(--bs-shell-body); cursor: pointer; white-space: nowrap; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-fields button span { display: inline-flex; align-items: center; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-consent { display: flex; align-items: flex-start; gap: .7rem; margin: .35rem 0 0; color: var(--bs-shell-ink); font: 400 .75rem/1.55 var(--bs-shell-body); }
/* V-06: WCAG 2.2 target size — a 24×24 native checkbox (reference override). */
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-consent input[type='checkbox'] { box-sizing: border-box; flex: 0 0 1.5rem; inline-size: 1.5rem; block-size: 1.5rem; min-inline-size: 1.5rem; min-block-size: 1.5rem; margin: .22em 0 0; accent-color: var(--bs-shell-purple); }
body.bs-shared-shell > footer.bs-footer-v9 :is(.bs-newsletter-status, .bs-newsletter-privacy) { margin: 0; color: var(--bs-shell-purple); font: 400 .8125rem/1.6 var(--bs-shell-body); }
/* V-06: reserve one status line so enabling collection does not shift the card. */
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-status { min-block-size: 1.6em; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-status[data-state='error'] { color: #8a2636; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-status[data-state='success'] { color: #27573b; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-privacy :is(a, .premium-footer__pending-link) { display: inline; min-block-size: 0; margin: 0; color: var(--bs-shell-muted); font: inherit; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-form :is(input, button):disabled { opacity: 1; color: #625c67; border-color: #2220262e; background: #22202612; cursor: not-allowed; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__details { position: relative; isolation: isolate; overflow: clip; background: var(--bs-shell-ink); color: var(--bs-shell-paper); }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__main { position: relative; z-index: 1; inline-size: var(--bs-shell-width); max-inline-size: none; margin-inline: auto; display: grid; grid-template-columns: minmax(12rem, 1.04fr) minmax(0, 3.36fr); align-items: start; gap: clamp(2.5rem, 5vw, 5rem); padding-block: clamp(3.5rem, 5.3vw, 5rem) clamp(2.8rem, 4.5vw, 4rem); }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; min-inline-size: 0; max-inline-size: 21rem; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__brand a.bs-footer-mark { display: inline-flex; align-items: center; inline-size: min(100%, 17rem); max-inline-size: 100%; min-block-size: 0; margin: 0; padding: 0; border: 0; background: transparent; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__brand a.bs-footer-mark img { display: block; inline-size: 100%; max-inline-size: 100%; block-size: auto; max-block-size: 6.5rem; object-fit: contain; object-position: left center; background: transparent; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__brand p { margin: 0; max-inline-size: 32ch; color: #fffaf3b8; font: 400 clamp(.9rem, 1vw, .98rem)/1.72 var(--bs-shell-body); }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__nav { grid-column: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: clamp(1.2rem, 2.3vw, 2.75rem); min-inline-size: 0; }
/* V-04: the legacy migration sheet forces this group to grid-column 2, which
   wrapped Connect & share onto a second row and left the fourth column empty.
   The footer nav is a four-column grid, so let this group auto-place. */
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__connect { grid-column: auto; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__nav > div { min-inline-size: 0; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__nav h2 { margin: 0 0 .85rem; color: var(--bs-shell-gold); font: 800 .75rem/1.45 var(--bs-shell-body); letter-spacing: .085em; text-transform: uppercase; overflow-wrap: normal; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__nav ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__nav a { display: inline-flex; align-items: center; gap: .35rem; min-block-size: 2rem; max-inline-size: 100%; padding-block: .1rem; color: var(--bs-shell-paper); font: 400 .89rem/1.55 var(--bs-shell-body); text-decoration: none; text-underline-offset: .24em; overflow-wrap: break-word; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__nav a:is(:hover, :focus-visible) { color: var(--bs-shell-gold); text-decoration: underline; }
body.bs-shared-shell > footer.bs-footer-v9 a .bs-vector-icon { display: inline-block; flex: none; inline-size: 1em; block-size: 1em; max-inline-size: none; vertical-align: -.12em; }
/* Connect & share column (slice N): intro + external/social links. */
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__connect .bs-footer-connect__intro { margin: 0 0 .95rem; color: #fffaf3b8; font: 400 .83rem/1.55 var(--bs-shell-body); }
/* V-06/V-07: reference social-link rhythm (grid icon + label, 2.7rem rows,
   1.35 line-height) keeps the Connect & share column compact and aligned. */
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__nav .bs-footer-social-link { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); align-items: center; column-gap: .7rem; justify-content: start; text-align: start; inline-size: 100%; max-inline-size: 100%; min-inline-size: 0; min-block-size: 2.7rem; padding-block: .4rem; color: var(--bs-shell-paper); font: 400 .84rem/1.35 var(--bs-shell-body); text-decoration: none; overflow-wrap: anywhere; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-footer-social-link svg { display: block; justify-self: center; align-self: center; flex: none; inline-size: 1.13rem; block-size: 1.13rem; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-footer-social-link span { display: block; align-self: center; min-inline-size: 0; min-block-size: 1.5em; line-height: 1.35; overflow-wrap: break-word; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__nav .bs-footer-share { border-block-start: 1px solid #fffaf33d; margin-block-start: 0; padding-block-start: 0; }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__base { position: relative; z-index: 1; inline-size: var(--bs-shell-width); max-inline-size: none; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; border-block-start: 1px solid #fffaf33d; padding-block: 1.55rem calc(2rem + env(safe-area-inset-bottom)); }
body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__base p { margin: 0; max-inline-size: none; color: #fffaf3b8; font: 400 .78rem/1.6 var(--bs-shell-body); }
body.bs-shared-shell > footer.bs-footer-v9 .bs-footer-base-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: .55rem 1.35rem; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-footer-base-links :is(a, .premium-footer__pending-link) { display: inline; min-block-size: 0; margin: 0; color: var(--bs-shell-paper); font: 400 .8rem/1.6 var(--bs-shell-body); text-decoration: none; text-underline-offset: .24em; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-footer-base-links .premium-footer__pending-link { color: #fffaf3b8; }
body.bs-shared-shell > footer.bs-footer-v9 .bs-footer-base-links a:is(:hover, :focus-visible) { color: var(--bs-shell-gold); text-decoration: underline; }
/* Bottom navigation remains the existing PHP helper, including its route state. */
body.bs-shared-shell > nav.mobile-bottom-nav { display: none; }
@media (max-width: 73.75rem) {
  body.bs-shared-shell > nav.mobile-bottom-nav { position: fixed; z-index: 90; inset: auto 0 0; display: block; padding-block-end: env(safe-area-inset-bottom); border-block-start: 1px solid var(--bs-shell-line); background: var(--bs-shell-canvas); }
  body.bs-shared-shell > nav.mobile-bottom-nav > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
  body.bs-shared-shell > nav.mobile-bottom-nav a { position: relative; display: grid; justify-items: center; align-content: center; gap: .2rem; min-block-size: 4.25rem; padding: .4375rem .25rem; color: var(--bs-shell-ink); font: 800 .6875rem/1.15 var(--bs-shell-body); text-align: center; text-decoration: none; overflow-wrap: anywhere; }
  body.bs-shared-shell > nav.mobile-bottom-nav a[aria-current='page'] { color: var(--bs-shell-purple); background: #e9d9ed8c; border-radius: 0; }
  body.bs-shared-shell > nav.mobile-bottom-nav a[aria-current='page']::before { border: 0; }
  body.bs-shared-shell > nav.mobile-bottom-nav a:focus-visible { outline-offset: -3px; }
  body.bs-shared-shell > nav.mobile-bottom-nav svg { inline-size: 1.5rem; block-size: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
  body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__base { padding-block-end: calc(6rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 1130px) {
  body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__main { grid-template-columns: minmax(0, 1fr); }
  body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__brand { max-inline-size: 35rem; }
  body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__nav { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__newsletter-inner { grid-template-columns: minmax(0, 1fr); }
}
/* V-07: at tablet/mobile widths the reference lays the profile and share lists
   out as two compact columns under a divider, instead of one long stack. */
@media (max-width: 48rem) {
  body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__connect {
    grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem 1rem; border-block-start: 1px solid #fffaf33d; padding-block-start: 1.5rem;
  }
  body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__connect :is(h2, .bs-footer-connect__intro) { grid-column: 1 / -1; }
  body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__connect .bs-footer-share { border-block-start: 0; margin-block-start: 0; padding-block-start: 0; }
}
@media (max-width: 38.75rem) {
  body.bs-shared-shell > header.site-header .site-header__identity-inner { min-block-size: 4.875rem; }
  body.bs-shared-shell > header.site-header .site-brand { inline-size: min(100%, 11.25rem); }
  body.bs-shared-shell > header.site-header .site-header__utilities { gap: .5rem; }
  body.bs-shared-shell > header.site-header :is(.site-search__toggle, .site-toggle) { inline-size: 2.75rem; block-size: 2.75rem; min-inline-size: 2.75rem; min-block-size: 2.75rem; }
  body.bs-shared-shell > header.site-header .site-search__panel { position: fixed; inset: 4.875rem 0 auto; inline-size: auto; max-block-size: calc(100dvh - 9.125rem - env(safe-area-inset-bottom)); overflow-y: auto; }
  body.bs-shared-shell > header.site-header .site-search__panel-inner { inline-size: var(--bs-shell-header-width); margin-inline: auto; padding: 1.75rem 0; }
  body.bs-shared-shell > header.site-header .site-nav__items { grid-template-columns: 1fr; }
  body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__newsletter-inner { padding-block: 3rem 3.4rem; gap: 1.75rem; }
  /* V-06: reference block form at mobile — no padded card, reference consent rhythm. */
  body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-form { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; gap: .6rem; }
  body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-fields :is(input, button) { min-block-size: 2.75rem; }
  body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-consent { margin: 1rem 0 .6rem; }
  body.bs-shared-shell > footer.bs-footer-v9 .bs-newsletter-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__main { padding-block: 3rem 2.8rem; gap: 2.4rem; }
  body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem .95rem; }
  body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__nav > div:last-child { grid-column: 1 / -1; }
  body.bs-shared-shell > footer.bs-footer-v9 .premium-footer__base { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-header__nav-inner { background: var(--bs-shell-paper); }
}
@media (prefers-reduced-transparency: reduce) {
  body.bs-shared-shell > header.site-header[data-enhanced='true'][data-open='true'] .site-header__nav-inner { background: var(--bs-shell-paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.bs-shared-shell > :is(header.site-header, footer.premium-footer, nav.mobile-bottom-nav) *,
  body.bs-shared-shell > :is(header.site-header, footer.premium-footer, nav.mobile-bottom-nav) *::before,
  body.bs-shared-shell > :is(header.site-header, footer.premium-footer, nav.mobile-bottom-nav) *::after { transition: none; animation: none; }
}
@media (forced-colors: active) {
  body.bs-shared-shell > :is(header.site-header, footer.premium-footer, nav.mobile-bottom-nav) :is(a, button, input, summary):focus-visible { outline-color: Highlight; }
  body.bs-shared-shell > footer.bs-footer-v9 :is(.premium-footer__newsletter, .premium-footer__details) { background: Canvas; color: CanvasText; }
  body.bs-shared-shell > footer.bs-footer-v9 :is(a, p, h2, label) { color: CanvasText; }
  body.bs-shared-shell > header.site-header .site-drawer__backdrop { background: Canvas; opacity: .75; }
}
