/* Asurgo final build: the research pages, restyled with their words and tables unchanged (Wave 20 Run 97, 2026-11-02).
   Loaded after tokens.css, components.css and guide.css (+ hub.css on the two hubs), on <body class="f rs">.
   The pages keep their markup; the build adds the template's classes beside the old ones (gd-sec + band-*, f-in, f-answer,
   f-tcard / f-tscroll / f-table, f-faq, f-more, f-btn, f-card, f-close …). This file covers what the templates don't have:
   the old components (key facts, definitions, quote cards, bar charts, the disclosures dialog, report cards …) in the locked
   style, and it overrides the pages' own <style> blocks where they fight the template (tables as cards on phones, orange). */

/* ---------- 0. The pages' own <style> blocks use the old variables: point them at the locked tokens ---------- */
:root {
  --color-blue: #104975; --color-blue-hover: #0A2B45; --color-orange: #104975; --color-orange-hover: #0A2B45;
  --color-tan: #F7F5F0; --color-dark: #3E5266; --color-light: #EDF4F3; --color-white: #FFFFFF;
  --color-secondary-tan: #E3DDD2; --color-secondary-blue: #E6F1F7; --color-success: #1F7A4D; --color-error: #8A4612;
  --font-heading: "Azo Fallback", system-ui, sans-serif; --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --shadow-card: none; --shadow-card-hover: var(--shadow); --radius-sm: 12px; --radius-md: 16px; --radius-lg: 20px;
}

/* ---------- 1. Base ---------- */
body.rs { background: var(--white); }
.rs main { color: var(--body-c); font: 400 var(--fs-body)/1.6 var(--body); overflow-wrap: break-word; }
.rs .srcn li, .rs .f-sources li { overflow-wrap: anywhere; }
.rs main h1, .rs main h2 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: var(--track-h2); text-wrap: balance; }
.rs main h1 { letter-spacing: var(--track-h1); }
.rs main h1 em, .rs main h2 em, .rs .h1-accent { font-style: italic; color: inherit; font-weight: 500; }
.rs main h3 { font: 700 20px/1.35 var(--head); color: var(--ink); text-wrap: balance; }
.rs main strong { color: var(--ink); }
.rs .fade-in, .rs [class*="fade-in--"] { opacity: 1; transform: none; transition: none; animation: none; }
.rs .hero-bar, .rs .cta-closer__bar, .rs .dots, .rs .fb svg, .rs .allg > summary > svg, .rs .ge-discl > summary > svg { display: none; }

/* text measure inside the wide wrappers */
.rs .gd-sec .f-in > :where(h2, h3, p, ul, ol, dl, figure, .faq-list, .methodology, .key-stats, .key-findings, .state-links, .cross-links, .checklist, details:not(.f-faq)),
.rs .gd-sec .stack > :where(h2, h3, p, ul, ol, dl, details), .rs .rs-cta > * { max-width: 820px; }
.rs .gd-sec .f-in > * + *, .rs .stack > * + * { margin-top: 18px; }
.rs .gd-sec h2 { font-size: var(--fs-h2-l); line-height: 1.13; margin-bottom: 26px; }
.rs .gd-sec h2 + * { margin-top: 0; }
.rs .gd-sec h3 + * { margin-top: 10px; }
.rs .gd-sec .f-in > h3, .rs .stack > h3 { margin-top: 32px; }
.rs main :where(p, li, dd) a:not([class*="btn"]):not(.f-btn):not(.cross-link) { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; padding: 12px 0; }
.rs main :where(ul:not([class]), .gd-dots, .ge-ul) { display: grid; gap: 10px; padding: 0; list-style: none; }
.rs main :where(ul:not([class]), .ge-ul) > li { position: relative; padding-left: 26px; }
.rs main :where(ul:not([class]), .ge-ul) > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.rs main :not(nav) > ol:not([class]) { padding-left: 24px; display: grid; gap: 10px; }
.rs main hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.rs .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 2. Heroes ---------- */
.rs .rs-crumbs { padding: 8px 0 0; }
.rs .rs-crumbs ol { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.rs .rs-crumbs li[aria-current] { display: inline-flex; align-items: center; min-height: var(--tap); }
.rs .rs-hero .f-in, .rs .fe-hero-txt { display: grid; gap: 14px; }
.rs .rs-hero .f-in > *, .rs .fe-hero-txt > * { max-width: 860px; }
.rs .rs-hero h1, .rs .sp-main h1 { font-size: var(--fs-h1-guide); line-height: 1.06; margin: 0; }
.rs .eyebrow, .rs .subpage-hero__eyebrow, .rs .hero-eyebrow { display: block; font: 600 16px/1.4 var(--body); color: var(--body-c); letter-spacing: 0; text-transform: none; }
.rs .f-byline { margin: 0; text-align: left; }
.rs .f-byline .who, .rs .f-byline .meta, .rs .byline__meta { margin: 0; font-size: 16px; color: var(--body-c); opacity: 1; }
.rs .f-byline a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }
.rs .byline__avatar, .rs .f-byline img { width: 44px; height: 44px; border: 0; border-radius: 50%; object-fit: cover; }
.rs .byline__text { font-size: 16px; line-height: 1.55; color: var(--body-c); }
.rs .rs-hero .f-answer, .rs .lead-answer { margin: 4px 0 0; border-left: 1px solid var(--line); border-radius: var(--r-l); }
.rs .lead-answer p, .rs .key-stats p { font: 600 18px/1.55 var(--head); color: var(--ink); }
.rs .rs-hero .f-btn { justify-self: start; margin: 0 !important; }
.rs .hero-sub { font-size: 19px; line-height: 1.55; color: var(--body-c); }
.rs .hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rs .f-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--white); font: 600 16px/1.2 var(--body); color: var(--ink); }
/* b1 photo hero: text, then the photo beside it on desktop; on phones the short answer comes first, so the photo waits for desktop */
.rs .fe-hero { padding: 16px 0 8px; }
.rs .fe-hero-pic { display: none; }
.rs .fe-hero-txt { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.rs .fe-hero-pic img { width: 100%; height: 100%; object-fit: cover; }
.rs .rs-sa { padding: 8px 0 40px; }
.rs .sa-in { display: grid; gap: 16px; }
.rs .sa-card p { font: 600 18px/1.55 var(--head); color: var(--ink); }
.rs .sa-card p + p { margin-top: 12px; }
.rs .ge-live { margin-top: 14px; font-size: 17px; line-height: 1.6; }
.rs .ge-keyfacts { margin: 0; }
.rs .ge-stats { display: grid; gap: 12px; margin: 0; }
.rs .ge-stat { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.rs .ge-stat:first-child { padding-top: 0; border-top: 0; }
.rs .ge-stat dt { font: 700 24px/1.2 var(--head); color: var(--ink); }
.rs .ge-stat dd { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body-c); }
.rs .ge-jump { margin-top: 12px; font-size: 17px; line-height: 1.6; }
.rs .ge-glance { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); }
.rs .ge-glance table { width: 100%; border-collapse: collapse; }
.rs .ge-glance th, .rs .ge-glance td { padding: 12px 16px; text-align: left; vertical-align: top; font-size: 16px; line-height: 1.5; border-top: 1px solid var(--line); }
.rs .ge-glance th { width: 44%; background: var(--mist); color: var(--ink); font-weight: 700; }
.rs .ge-glance td { color: var(--ink); }
/* hubs */
.rs .hb-hero { padding: 32px 0 48px; }
.rs .hero-inner { display: grid; gap: 14px; max-width: 860px; }

/* ---------- 3. Contents (b1 button disclosure, shown on every width as the compact box) ---------- */
.rs .toc-m { margin: 8px 0 0; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--cream-2); max-width: 820px; }
.rs .toc-m > button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 0 20px; border: 0; background: none; cursor: pointer; font: 700 18px/1.3 var(--head); color: var(--ink); text-align: left; }
.rs .toc-m > button svg { width: 22px; height: 22px; color: var(--navy); transition: transform .15s; }
.rs .toc-m > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.rs .toc-m .toc { display: grid; margin: 0; padding: 0 20px 12px 42px; }
.rs .toc-m .toc[hidden] { display: none; }
.rs .toc-m .toc a { display: flex; align-items: center; min-height: var(--tap); color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }
.rs .jump-nav { font-size: 17px; line-height: 1.6; }

/* ---------- 4. Definitions, steps, quotes ---------- */
.rs .ge-defs-w { padding: 40px 0; }
.rs .ge-defs { display: grid; gap: 12px; margin: 0; max-width: 820px; }
.rs .ge-defs > div { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); }
.rs .ge-defs dt { font: 700 18px/1.35 var(--head); color: var(--ink); }
.rs .ge-defs dd { margin: 4px 0 0; font-size: 17px; line-height: 1.55; }
.rs .nrows { display: grid; gap: 10px; padding: 0; list-style: none; max-width: 820px; }
.rs .nrows li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); color: var(--body-c); font-size: 17px; line-height: 1.6; }
.rs .nr-n, .rs .checklist > li::before { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); font: 700 17px/1 var(--head); }
.rs .checklist { display: grid; gap: 10px; padding: 0; list-style: none; counter-reset: rs-step; }
.rs .checklist > li { counter-increment: rs-step; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); color: var(--ink); }
.rs .checklist > li::before { content: counter(rs-step); }
.rs .ge-qcard { display: grid; gap: 12px; padding: 22px 22px 24px; max-width: 820px; background: var(--white); }
.rs .ge-qcard h3 { font-size: 20px; }
.rs .pq { margin: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--navy); }
.rs .pq blockquote { margin: 0; }
.rs .pq blockquote p { font: 500 20px/1.45 var(--serif); color: var(--ink); }
.rs .pq figcaption, .rs .pq cite { margin-top: 6px; font-size: 16px; font-style: normal; color: var(--body-c); }
.rs .f-card-line.methodology { padding: 24px 24px 22px; background: var(--white); }
.rs .methodology ol { margin: 0; padding-left: 22px; display: grid; gap: 12px; }
.rs .methodology li { margin: 0; line-height: 1.6; }
.rs .f-caveat { padding: 18px 20px; border-radius: var(--r-m); background: var(--amber-bg); color: var(--amber); font-size: 17px; line-height: 1.55; max-width: 820px; }

/* ---------- 5. Tables: real tables everywhere, sticky first column on phones (the pages' own phone rules turned them into cards) ---------- */
.rs .f-tcard { margin-top: 24px; max-width: 1000px; background: var(--white); }
.rs .f-tcard.f-tscroll { padding: 8px 0; }
.rs .f-tcard > h3, .rs .tbl-h { padding: 0 20px 12px; font: 700 20px/1.3 var(--head); color: var(--ink); }
.rs .f-tcard .f-cap { padding: 0 20px; }
body.rs table.f-table { display: table; border: 0; background: var(--white); font-size: var(--fs-cell); }
body.rs .f-table thead { display: table-header-group; }
body.rs .f-table tbody { display: table-row-group; }
body.rs .f-table tr { display: table-row; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
body.rs .f-table th, body.rs .f-table td { display: table-cell; padding: 14px 16px; font-size: var(--fs-cell); line-height: 1.4; color: var(--ink); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
body.rs .f-table thead th { position: static; background: var(--mist); font: 700 var(--fs-cell)/1.35 var(--body); color: var(--ink); white-space: normal; border-bottom: 0; }
body.rs .f-table tbody tr:hover { background: none; }
body.rs .f-table td::before { content: none; }
body.rs .f-table th:first-child, body.rs .f-table td:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: 1px 0 0 var(--line); }
body.rs .f-table thead th:first-child { background: var(--mist); }
body.rs .f-table th:first-child, body.rs .f-table td:first-child { white-space: normal; min-width: 150px; max-width: 46vw; }
@media (min-width: 768px) { body.rs .f-table th:first-child, body.rs .f-table td:first-child { max-width: 340px; } }
body.rs .f-table tbody tr:last-child > * { border-bottom: 0; }
.rs .f-cap { max-width: 1000px; }
.rs .state-table-toggle { margin-top: 20px; max-width: 1000px; }
.rs .state-table-toggle > .f-tscroll { margin: 0 12px 16px; }
/* the b1 bar table */
.rs .ge-bars { margin: 0; }
.rs .ge-bars-t { width: 100%; border-collapse: collapse; color: var(--ink); font-size: var(--fs-cell); line-height: 1.4; }
.rs .ge-bars-t caption { padding: 0 20px 12px; text-align: left; font: 700 20px/1.3 var(--head); color: var(--ink); }
.rs .ge-bars-t th, .rs .ge-bars-t td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.rs .ge-bars-t thead th { background: var(--mist); color: var(--ink); font-weight: 700; border-bottom: 0; }
.rs .ge-bars-t tbody th { font-weight: 700; position: sticky; left: 0; z-index: 1; background: var(--white); }
.rs .ge-bar-v, .rs .ge-bars-plain { display: block; font-weight: 700; color: var(--ink); }
.rs .ge-bar { display: block; height: 10px; width: var(--w); min-width: 2px; margin-top: 8px; border-radius: 0 5px 5px 0; background: var(--navy); }

/* ---------- 6. FAQ ---------- */
.rs .f-faq > summary { font: 600 18px/1.4 var(--body); color: var(--ink); }
.rs .f-faq > summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--navy); font: 600 22px/1 var(--body); }
.rs .f-faq[open] > summary::after { content: "\2212"; background: var(--white); }
.rs .f-faq > summary::marker, .rs .faq-q::marker { content: ""; }
.rs .f-faq .faq-a, .rs .f-faq .pe-faq-ans, .rs .f-faq > p { margin: 0; padding-bottom: 24px; color: var(--body-c); font-size: var(--fs-body); line-height: 1.6; }
.rs .faq-list, .rs .qa, .rs .pe-faq { display: grid; max-width: 820px; }
.rs .faq-side h2 { margin-bottom: 0; }
.rs .railcall { margin-top: 24px; padding: 24px; display: grid; gap: 10px; justify-items: start; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); }
.rs .railcall h3 { font-size: 20px; }
.rs .hours { font-size: 16px; line-height: 1.5; color: var(--body-c); }
.rs .d-only-block { display: none; }

/* ---------- 7. Buttons and calls ---------- */
.rs .f-btn { min-height: 56px; max-width: 100%; padding: 12px 28px; font: 700 18px/1.25 var(--body); text-align: center; white-space: normal; text-decoration: none; width: auto; }
.rs .f-tscroll { overflow-x: auto !important; max-width: 100%; }
.rs .acts, .rs .ctabox { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rs .f-callrow, .rs .cta-closer__phone, .rs .product-card__link, .rs .report-card__link, .rs .report-grid-card__link {
  display: inline-flex; align-items: center; min-height: var(--tap); color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
.rs .f-in[style*="text-align:center"] > div[style] { align-items: stretch !important; }
.rs .ge-navy-ch .f-cap { padding: 0; }

/* ---------- 8. Closing CTA (b1: photo + frosted panel) and the old "cta-closer" bands ---------- */
.rs .gd-close { padding: 48px 0; }
.rs .f-close .f-panel h2 { color: var(--white); font-size: var(--fs-h2); line-height: 1.15; margin: 0; }
.rs .f-close .f-panel p, .rs .f-close .f-panel .hours { color: var(--white); }
.rs .f-close-pic picture, .rs .f-close-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rs .f-panel .f-btn-navy { background: var(--white); color: var(--navy); }
.rs .f-panel .f-btn-line { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.rs .f-panel :focus-visible { outline: var(--ring-on-dark); }
.rs .rs-cta { display: grid; gap: 16px; justify-items: start; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 48px auto; padding: 32px 24px; border-radius: var(--r-2xl); background: var(--mist); }
.rs .rs-cta > .f-in { display: grid; gap: 16px; justify-items: start; padding: 0; margin: 0; }
.rs .rs-cta h2 { font-size: var(--fs-h2); line-height: 1.15; margin: 0; }
.rs .rs-cta p { color: var(--body-c); max-width: 640px; }
.rs .inline-cta { display: grid; gap: 14px; justify-items: start; padding: 24px; border-radius: var(--r-xl); background: var(--mist); max-width: 820px; }

/* ---------- 9. Cards: keep reading, report and product cards, key facts, stats ---------- */
.rs .gd-kr h2 { margin-bottom: 24px; }
.rs .kr-row { display: grid; gap: 14px; }
.rs .kr-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; border-radius: var(--r-l); background: var(--white); color: inherit; text-decoration: none; }
.rs .kr-card picture, .rs .kr-card img { display: block; width: 100%; height: 180px; object-fit: cover; }
.rs .kr-b { display: grid; gap: 6px; padding: 18px 20px 22px; }
.rs .kr-t { font: 700 20px/1.35 var(--head); color: var(--navy); text-decoration: underline; text-underline-offset: .18em; }
.rs .kr-d { font-size: 17px; line-height: 1.55; color: var(--body-c); }
.rs .allg { margin-top: 20px; max-width: 820px; }
.rs .f-more > summary { font: 700 18px/1.3 var(--head); color: var(--ink); }
.rs .f-more > summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--navy); font: 600 22px/1 var(--body); flex: none; }
.rs .f-more[open] > summary::after { content: "\2212"; }
.rs .f-more > ul, .rs .f-more > p, .rs .f-more > code { padding: 0 24px 16px; }
.rs .f-more > ul { display: grid; list-style: none; }
.rs .f-more > ul > li { padding: 0; }
.rs .f-more > ul > li::before { content: none; }
.rs .f-more a { display: inline-flex; align-items: center; min-height: var(--tap); }
.rs .embed-snippet code { display: block; overflow-x: auto; font: 16px/1.5 ui-monospace, Menlo, monospace; color: var(--ink); white-space: pre-wrap; word-break: break-all; }
.rs .hb-card, .rs .report-card { display: grid; gap: 10px; align-content: start; padding: 24px 24px 22px; border-radius: var(--r-xl); background: var(--white); color: inherit; text-decoration: none; }
.rs .hb-card h3, .rs .report-card h3 { font: 700 21px/1.3 var(--head); color: var(--navy); text-decoration: underline; text-underline-offset: .18em; }
.rs .hb-card p, .rs .report-card p { color: var(--body-c); font-size: 17px; line-height: 1.55; }
.rs .report-grid-card__eyebrow, .rs .report-card__eyebrow, .rs .product-card__eyebrow, .rs .pe-section-eyebrow { font: 600 16px/1.3 var(--body); color: var(--body-c); letter-spacing: 0; text-transform: none; }
.rs .report-card { margin-top: 24px; max-width: 1000px; }
.rs .report-card__body { display: grid; gap: 10px; }
.rs .report-card__stats { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.rs .report-stat__value, .rs .stat-item__value { font: 500 34px/1.1 var(--serif); color: var(--ink); }
.rs .report-stat__label, .rs .stat-item__label { font-size: 16px; line-height: 1.4; color: var(--body-c); }
.rs .hb-grid { margin-top: 24px; }
.rs .product-card__icon, .rs .key-fact__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mist); font-size: 24px; line-height: 1; }
.rs .product-card__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rs .product-card__chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: var(--mist); font: 600 16px/1.2 var(--body); color: var(--ink); }
.rs .stats-strip { padding: 40px 0; }
.rs .stats-strip__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.rs .stat-item { display: grid; gap: 4px; }
.rs .key-facts { display: grid; gap: 14px; margin-top: 24px; }
.rs .key-fact { display: grid; gap: 6px; padding: 22px; background: var(--white); }
.rs .key-fact__value { font: 700 21px/1.3 var(--head); color: var(--ink); }
.rs .key-fact__label { font-size: 17px; color: var(--body-c); }

/* ---------- 10. Report: findings, bar charts, charts, cite box, cross-links ---------- */
.rs .key-stats { display: grid; gap: 10px; margin-top: 20px; }
.rs .f-takeaways.key-findings { margin-top: 18px; max-width: 820px; }
.rs .key-findings__lead { font: 600 18px/1.55 var(--head); color: var(--ink); }
.rs .key-findings ul { display: grid; gap: 10px; margin-top: 12px; }
.rs .f-tcard.bar-chart { padding: 24px 20px; max-width: 1000px; }
.rs .bar-chart__title { margin: 0 0 16px !important; font: 700 21px/1.3 var(--head) !important; color: var(--ink); }
.rs .bar-label, .rs .bar-value { font-size: 16px !important; color: var(--ink) !important; }
.rs .bar-track { background: var(--mist) !important; border-radius: 6px; }
.rs .bar-fill { background: var(--navy) !important; border-radius: 6px; }
.rs .bar-fill--light { background: #5294BA !important; }
.rs .chart-img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-m); }
.rs .f-card-line.cite-box { padding: 22px 24px; max-width: 820px; background: var(--white); }
.rs .cite-box__line, .rs .cite-box__text { font-size: 17px; color: var(--body-c); }
.rs .cite-box__copy, .rs .license-badge { min-height: var(--tap); }
.rs .state-links, .rs .cross-links { display: flex; flex-wrap: wrap; gap: 10px; }
.rs .state-links a, .rs .cross-link { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--white); color: var(--navy) !important; font: 600 17px/1.2 var(--body); text-decoration: none; }
.rs .state-links a:hover, .rs .cross-link:hover { border-color: var(--navy); }

/* ---------- 11. Author, sources, disclosures ---------- */
.rs .rs-band { padding: 40px 0; }
.rs .ge-author { display: flex; align-items: center; gap: 14px; max-width: 820px; font-size: 17px; line-height: 1.55; }
.rs .ge-author img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.rs .author-block { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 820px; margin: 0 auto; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); text-align: left; }
.rs .gd-sec > .author-block { width: calc(100% - 2 * var(--gutter)); }
.rs .author-block img { width: 88px; height: 88px; margin: 0; border-radius: 50%; object-fit: cover; }
.rs .author-block h3 { margin: 0; }
.rs .author-block p, .rs .author-block__meta { margin: 0; font-size: 17px; color: var(--body-c); opacity: 1; }
.rs .author-block__links a { display: inline-flex; align-items: center; min-height: var(--tap); }
.rs .gd-src .caps, .rs .gd-sec .f-in > h3.fade-in { font: 700 20px/1.3 var(--head); color: var(--ink); }
.rs .gd-src .caps { font-size: 17px; }   /* the Sources heading, as .f-sources-h (Wave 23, Run 111) */
.rs .srcn { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.55; color: var(--body-c); max-width: 1000px; }
.rs .sn { color: var(--ink); font-weight: 700; }
.rs .f-sources { padding-left: 22px; font-size: 13px; }
.rs .ge-discl { max-width: 1000px; }
.rs .ge-discl > p { font-size: 16px; line-height: 1.6; }
.rs .disclosures-link-wrap { max-width: 820px; margin: 0 auto; padding: 24px var(--gutter) 40px; border-top: 0; text-align: left; }
.rs .disclosures-link { min-height: var(--tap); padding: 0; border: 0; background: none; font: 600 17px/1.3 var(--body); font-style: normal; color: var(--navy); opacity: 1; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.rs .disclosures-link:focus-visible { outline: var(--ring); outline-offset: 2px; }
.rs .disclosures-modal { border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); color: var(--body-c); }
.rs .disclosures-modal::backdrop { background: rgba(14, 34, 51, .55); }
.rs .disclosures-modal__inner h3 { font: 700 21px/1.3 var(--head); color: var(--ink); }
.rs .disclosures-modal__inner p { font-size: 16px; line-height: 1.6; color: var(--body-c); }
.rs .disclosures-modal__close { width: 48px; height: 48px; color: var(--ink); }
.rs .parent { display: flex; align-items: center; gap: 16px; padding: 18px 20px; max-width: 820px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); }
.rs .parent-pic { flex: none; width: 72px; height: 72px; overflow: hidden; border-radius: 50%; }
.rs .parent-pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 12. Wider screens ---------- */
@media (min-width: 768px) {
  .rs .kr-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rs .hb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs .stats-strip__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rs .key-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rs .key-facts .f-caveat { grid-column: 1 / -1; order: 9; }
  .rs .author-block { grid-template-columns: 88px minmax(0, 1fr); gap: 24px; }
  .rs .report-card { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
  .rs .report-card__stats { padding: 0 0 0 24px; border-top: 0; border-left: 1px solid var(--line); }
  .rs .rs-cta { padding: 48px; }
}
@media (min-width: 1024px) {
  .rs .fe-hero { display: grid; grid-template-columns: minmax(0, 620fr) minmax(0, 524fr); column-gap: 56px; align-items: center; padding: 32px max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))) 16px; }
  .rs .fe-hero-pic { display: block; grid-column: 2; grid-row: 1; height: 336px; overflow: hidden; border-radius: var(--r-2xl); }
  .rs .fe-hero-pic picture { display: block; height: 100%; }
  .rs .fe-hero-txt { grid-column: 1; grid-row: 1; padding: 0; }
  .rs .sa-in { grid-template-columns: minmax(0, 620fr) minmax(0, 524fr); column-gap: 56px; align-items: start; }
  .rs .d-only-block { display: block; }
  .rs .m-only-block { display: none; }
  .rs .hb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rs .rs-hero h1, .rs .sp-main h1 { line-height: 1.04; }
}
@media (prefers-reduced-motion: reduce) { .rs .toc-m > button svg { transition: none; } }
.rs .srcn.f-sources { padding-left: 0; }
.rs .lead-answer { background: var(--white); }

/* ---------- 13. The two hubs (their old <style> blocks are gone; everything is here) ---------- */
:root { --max-width: 1248px; --side-padding: 20px; }
.rs .hb-hero .f-in { display: block; }
.rs .hb-hero h1 { font-size: var(--fs-h1-guide); line-height: 1.06; margin: 0; }
.rs .hero-chip::before { content: "\2713"; margin-right: 6px; color: var(--green); font-weight: 700; }
.rs .pe-section .f-in > *, .rs .pe-section .f-in > p { margin-left: 0; margin-right: 0; }
.rs .pe-section [style*="text-align"] { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; }
.rs .pe-section .f-in + .f-in { margin-top: 24px; }
.rs .pe-section-eyebrow { margin-bottom: 8px; }
.rs .pe-section-eyebrow + h2 { margin-top: 0; }
.rs .report-card { grid-template-columns: 1fr; }
.rs .report-card h3, .rs .report-grid-card h3 { margin: 0; }
.rs .report-card__stats { background: none; text-align: left; }
.rs .report-stat { display: grid; gap: 2px; padding: 4px 0; }
.rs .cost-table-wrap { margin-top: 24px; }
.rs .pe-faq-item > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--tap); padding: 16px 0; cursor: pointer; }
.rs .pe-faq-item[open] > summary { padding: 20px 0 10px; }
.rs .pe-faq-ans { padding-bottom: 24px; color: var(--body-c); line-height: 1.6; }
.rs .inline-cta__text { display: grid; gap: 6px; }
.rs .inline-cta h3 { margin: 0; }
.rs .cta-closer__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.rs .rs-cta h2 + p { margin-top: 0; }
@media (min-width: 768px) {
  .rs .report-card { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .rs .inline-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}
.rs .f-byline > a, .rs .f-byline > img { flex: none; }
.rs .sa-col > * + *, .rs .sa-k > * + * { margin-top: 16px; }
.rs .ge-disclose { font-size: 17px; line-height: 1.6; color: var(--body-c); }
/* report: the page's own cards had an orange-side panel look */
.rs .key-stats, .rs .key-findings { padding: 24px 24px 22px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--white); box-shadow: var(--shadow); max-width: 820px; }
.rs .key-stats p, .rs .key-findings li { font-size: 17px; color: var(--ink); }
.rs .key-findings__lead { font: 500 20px/1.45 var(--serif); color: var(--ink); }
.rs .key-findings ul { padding: 0; list-style: none; }
.rs .key-findings li strong { color: var(--ink); }
.rs .embed-snippet { padding: 0; background: var(--white); border-radius: var(--r-m); max-width: 820px; }
.rs .embed-snippet > summary { font-size: 17px; color: var(--ink); }
.rs .embed-snippet code { margin: 0 24px 16px; width: auto; font-size: 16px; }
.rs .f-byline.report-byline { margin: 4px 0 16px; font-size: 16px; }
.rs .report-byline time { opacity: 1; }
.rs .cross-link::after { content: none; }
body.rs .rs-cta { text-align: left; }
body.rs .rs-cta h2 { font-family: var(--serif); font-style: normal; color: var(--ink); margin: 0; }
body.rs .rs-cta p { margin: 0; }
body.rs .rs-cta .f-btn { display: inline-flex; min-height: 56px; padding: 12px 28px; border-radius: var(--r-pill); background: var(--navy); font: 700 18px/1.25 var(--body); transform: none; }
body.rs .rs-cta .f-btn-line { background: var(--white); color: var(--navy); }
body.rs .rs-cta .cta-closer__phone { margin: 0; text-decoration: underline; }
body.rs .bar-row { grid-template-columns: 124px minmax(0, 1fr) 72px; gap: 8px; }
body.rs .bar-label { font-size: 16px; text-align: left; overflow-wrap: normal; }
body.rs .bar-chart__title { font-family: var(--head); }
@media (min-width: 768px) { body.rs .bar-row { grid-template-columns: 150px minmax(0, 1fr) 84px; } }
body.rs .rs-cta .f-btn { box-shadow: none; } body.rs .rs-cta .f-btn-line { box-shadow: inset 0 0 0 2px var(--navy); }
/* the two b1 count tables carry no table class the template knows: same look as f-table */
.rs table.ge-tbl { width: 100%; border-collapse: collapse; background: var(--white); color: var(--ink); font-size: var(--fs-cell); line-height: 1.4; }
.rs .ge-tbl th, .rs .ge-tbl td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: var(--fs-cell); }
.rs .ge-tbl thead th { background: var(--mist); font-weight: 700; border-bottom: 0; }
.rs .ge-tbl tbody th { font-weight: 700; }
.rs .ge-tbl tbody tr:last-child > * { border-bottom: 0; }
.rs .ge-bars-t tbody th { min-width: 120px; max-width: 46vw; }
/* table disclosures are 13 px (components.css .f-cap): their links keep a 48 px tap height */
.rs main .f-cap a:not([class*="btn"]):not(.f-btn):not(.cross-link) { padding: 16px 0; }

/* Wave 26: the licence and citation line flows as text on small phones, so its long asurgo.com path wraps (/research/funeral-cost-report/) */
@media (max-width: 479px) { .rs .license-badge { display: block; } }
