:root {
    --soft-2: #edf6f2;
    --blue-soft: #eaf2f8;
    --warning-soft: #fff8e8;
    --danger-soft: #f8ecec;
    --radius: 22px;
    --radius-sm: 14px;
}

/* Shared patient and healthcare provider page styles extracted from exact duplicate CSS rules. */

html {
    scroll-behavior: smooth;
}

a {
    color: var(--accent-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.top-strip {
    background: var(--ink);
    color: #fff;
    font-size: 14px;
}

.top-strip .inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 9px;
    padding-bottom: 9px;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

nav a.button {
    margin-left: 8px;
    padding: 8px 18px;
}

@media (min-width: 921px) {
    body.providers-page header nav a.button {
        margin-left: clamp(40px, 4vw, 56px);
        margin-right: clamp(4px, 1vw, 10px);
    }
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 750;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.button.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 24px rgba(47, 141, 100, 0.25);
}

.button.secondary {
    border-color: var(--line);
    color: var(--accent-dark);
    background: #fff;
}


.hero {
    background: linear-gradient(180deg, #f8fbfa 0%, #ffffff 74%);
    border-bottom: 1px solid var(--line);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-dark);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hero-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: translateY(18px);
}

.hero-card .card-head {
    padding: 24px 24px 14px;
    border-bottom: 1px solid var(--line);
    background: #fbfcfd;
}

.hero-card h3 {
    margin: 0 0 8px;
    font-size: 23px;
    letter-spacing: -0.025em;
}

.section {
    padding: 78px 0;
    border-bottom: 1px solid var(--line);
}

.section.soft {
    background: var(--soft);
}

.section.tint {
    background: var(--soft-2);
}

h2 {
    font-size: 43px;
    font-size: clamp(33px, 4vw, 49px);
    line-height: 1.06;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

h3 {
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.section-heading p {
    color: var(--muted);
    font-size: 19px;
}

.small {
    font-size: 14px;
    color: var(--muted);
}

.muted {
    color: var(--muted);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 10px 26px rgba(23, 32, 42, 0.04);
}

.card h3 {
    margin-bottom: 10px;
}

.card p:last-child {
    margin-bottom: 0;
}


.access-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0;
    overflow: hidden;
}

summary {
    cursor: pointer;
    padding: 18px 20px;
    font-weight: 800;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

details p {
    color: var(--muted);
    padding: 0 20px;
    margin: 0;
}

#faq details p::after {
    content: "";
    display: block;
    height: 18px;
}

#faq.faq-enhanced details p {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 160ms ease, opacity 110ms ease;
}

#faq.faq-enhanced details.faq-open p {
    max-height: none !important;
    opacity: 1;
}

.footer p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.footer h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.motion-card {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
    will-change: transform;
}

.motion-card:hover {
    transform: none !important;
    transition-property: background-color, border-color, box-shadow !important;
    transition-duration: 120ms !important;
    transition-timing-function: ease !important;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 320ms ease, transform 320ms ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Shared patient/HCP component declarations. */

.microcopy {
    color: var(--muted);
    font-size: 15px;
}

.step-num {
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 850;
}


.report-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fbfcfd;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

/* Remaining exact duplicate patient/HCP rules. */

@media (max-width: 920px) {
    .hero .inner {
        padding-top: 56px;
    }
}

/* Shared FAQ styles. */

@media (max-width: 920px) {
    .hero .inner, .explain-layout, .eligibility-grid, .grid-2, .grid-3, .layer-grid, .inputs-row, .process-box, .result-layout, .study-layout, .report-layout, .questions-grid, .faq-list, .resource-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .hero .inner, .problem-grid, .workflow, .workflow-flow, .split-options, .workflow-branches, .evidence-layout, .report-layout, .footer-grid, .problem-line, .why-layout, .comparison-blocks, .timepoint-values, .faq-list {
        grid-template-columns: 1fr;
    }
}

#faq details.motion-card:hover {
    box-shadow: 0 10px 24px rgba(23, 32, 42, 0.055);
}

/* Shared patient/HCP layout declarations. */

body {
    background: var(--paper);
}

.hero .inner {
    display: grid;
    align-items: center;
    gap: 48px;
    padding-top: 86px;
    padding-bottom: 78px;
}

h1 {
    line-height: 0.99;
    letter-spacing: -0.055em;
    margin: 20px 0 18px;
}

.lead {
    margin-bottom: 28px;
}

.section-heading {
    margin-bottom: 34px;
}

@media (max-width: 920px) {
    nav {
        display: none;
    }

    .top-strip .inner {
        display: block;
    }
}

@media (max-width: 640px) {
    .hero-actions .button {
        width: 100%;
    }
}

/* Shared low-risk primitives used alongside semantic component classes. */

.surface-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.soft-panel {
    background: #fbfcfd;
    border: 1px solid var(--line);
}

.pill-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Shared report marker styling and sample-report positions. */
#report .report-marker {
    --report-marker-scale: 1;
    --report-marker-bg: var(--accent);
    --report-marker-shadow: 0 6px 14px rgba(47, 141, 100, 0.28), 0 0 0 3px rgba(255, 255, 255, 0.95);
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 850;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    z-index: 2;
    isolation: isolate;
    cursor: pointer;
    background: transparent !important;
    box-shadow: none !important;
    transform: translate(-50%, -50%) !important;
}

#report .report-marker::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--report-marker-bg);
    box-shadow: var(--report-marker-shadow);
    transform: scale(var(--report-marker-scale));
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

#report .report-marker.is-highlighted {
    --report-marker-scale: 1.08;
    --report-marker-bg: var(--accent-dark);
    --report-marker-shadow: 0 10px 14px -8px rgba(23, 97, 62, 0.30), 0 0 0 3px rgba(255, 255, 255, 0.96);
    background: transparent !important;
    box-shadow: none !important;
    transform: translate(-50%, -50%) !important;
}

#report .report-marker.pin-result {
    left: 12%;
    top: 37.5%;
}

#report .report-marker.pin-rates {
    left: 55%;
    top: 37.5%;
}

#report .report-marker.pin-patient {
    left: 20%;
    top: 20%;
}

#report .report-marker.pin-specimen {
    left: 53%;
    top: 20%;
}

#report .report-marker.pin-inputs {
    left: 85%;
    top: 26%;
}

/* Shared sample report component. */
#report .report-sample-layout {
    display: grid;
    gap: 30px;
    align-items: start;
}

#report .report-sample-document {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

#report .report-sample-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: #fbfcfd;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

#report .report-image-wrap {
    position: relative;
    background: #fff;
}

#report .report-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}

#report .report-sample-callouts {
    display: grid;
}

#report .report-sample-callout {
    position: relative;
    line-height: 1.42;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

#report .report-sample-callout p {
    margin: 0;
}

#report .report-sample-callout.is-linked {
    border-color: #bfe3d0;
    background: #f7fbf9;
}

#report .report-sample-num {
    position: absolute;
    left: 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-weight: 850;
    font-size: 13px;
}

#report .report-sample-num {
    box-shadow: 0 4px 10px rgba(47, 141, 100, 0.22);
}

@media (max-width: 900px) {
    #report .report-sample-layout {
        grid-template-columns: 1fr;
    }
}

#report .report-marker:focus-visible::before {
  box-shadow: var(--report-marker-shadow), 0 0 0 5px rgba(47, 141, 100, 0.22);
}

.header-audience-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  gap: 6px;
}

.header-audience-switch:hover {
  border-color: #bfe3d0;
  background: var(--accent-soft);
  text-decoration: none;
}

@media (max-width: 980px) {
  .header-audience-switch {
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .header-audience-switch {
    max-width: 46vw;
    padding: 9px 11px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Shared audience-page sticky header navigation behavior. */
nav a {
  color: var(--muted);
  font-weight: 650;
  padding: 9px 12px;
  border-radius: 999px;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

nav a:hover {
  color: var(--accent-dark);
  background: var(--accent-soft);
  text-decoration: none;
  transform: none;
}

nav a.button:hover,
.button.primary:hover,
button.button.primary:hover {
  transform: none;
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 10px 20px rgba(23, 97, 62, 0.22);
}

.header-audience-switch span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 0.15s ease;
}

.header-audience-switch:hover span[aria-hidden="true"] {
  transform: translateX(3px);
}

/* Normalize sticky-header action sizing across nav links and audience switch. */
header nav a.button,
.header-audience-switch {
  min-height: 38px;
  padding: 9px 12px;
  border: 0;
  box-shadow: none;
}

header nav a.button:hover,
.header-audience-switch:hover {
  box-shadow: none;
}


/* Keep filled sticky-header CTAs visually aligned with regular nav items. */
header nav a,
header nav a.button,
.header-audience-switch {
  box-sizing: border-box;
  min-height: 38px;
  padding: 9px 12px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 650;
}

header nav a.button {
  border: 0;
  box-shadow: none;
}

header nav a.button:hover {
  box-shadow: none;
}

/* Align all sticky-header nav labels on the same vertical center. */
header nav a,
header nav a.button,
.header-audience-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-height: 38px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
  vertical-align: middle;
}

/* Mobile audience hero correction: prevent desktop two-column grids from squeezing text. */
@media (max-width: 820px) {
  .top-strip .inner {
    display: grid;
    gap: 4px;
  }

  .top-strip .inner span {
    display: block;
  }

  .hero .inner {
    grid-template-columns: 1fr !important;
  }

  .hero .inner > * {
    min-width: 0;
  }

  .hero-card,
  .hero-visual-card {
    width: 100%;
    max-width: 100%;
  }
}

/* Mobile report marker alignment for the scaled sample report image. */
@media (max-width: 820px) {
  #report .report-marker.pin-result {
    left: 11.8%;
    top: 38.3%;
  }

  #report .report-marker.pin-rates {
    left: 56.8%;
    top: 38.3%;
  }

  #report .report-marker.pin-patient {
    left: 19.9%;
    top: 20.8%;
  }

  #report .report-marker.pin-specimen {
    left: 53.1%;
    top: 20.8%;
  }

  #report .report-marker.pin-inputs {
    left: 90.0%;
    top: 25.8%;
  }
}

/* Phone typography tolerance: reduce heading fragmentation without changing desktop/tablet layouts. */
@media (max-width: 520px) {
  .hero h1 {
    font-size: 38px;
    font-size: clamp(35px, 9.6vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.055em;
  }

  .section-heading h2,
  .section h2 {
    font-size: 31px;
    font-size: clamp(29px, 8vw, 32px);
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .card,
  .access-card,
  .hero-card .card-head {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 35px;
  }

  .section-heading h2,
  .section h2 {
    font-size: 28px;
  }
}

/* Expanded hard-device responsive fixes. */
@media (max-width: 640px) {
  header .inner {
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .header-audience-switch {
    max-width: none;
    padding-left: 9px;
    padding-right: 9px;
    font-size: 14px;
    flex-shrink: 0;
  }
}

/* Narrow-phone typography guardrails for WebKit/Safari text wrapping. */
@media (max-width: 420px) {
  .hero h1 {
    font-size: 35px;
    font-size: clamp(33px, 8.8vw, 36px);
    line-height: 1.05;
  }

  .section-heading h2,
  .section h2 {
    font-size: 29px;
    font-size: clamp(28px, 7.2vw, 30px);
    line-height: 1.09;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 32px;
    font-size: clamp(31px, 9.5vw, 33px);
  }

  .section-heading h2,
  .section h2 {
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -0.04em;
  }
}

/* Ultra-narrow header switch copy: prevents 320px overflow under text scaling. */
.audience-switch-short {
  display: none;
}

@media (max-width: 340px) {
  .audience-switch-full {
    display: none;
  }

  .audience-switch-short {
    display: inline;
  }
}

/* Phone landscape audit hardening.
   These devices are wider than portrait phones but too short for the desktop hero/header density. */
@media (max-width: 960px) and (max-height: 520px) {
    header .inner {
        gap: 12px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    nav {
        gap: 5px;
        min-width: 0;
    }

    nav a {
        padding-left: 9px;
        padding-right: 9px;
    }

    nav a.button {
        margin-left: 4px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .header-audience-switch {
        flex: 0 0 auto;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px;
        line-height: 1;
    }

    .audience-switch-full {
        display: none;
    }

    .audience-switch-short {
        display: inline;
    }

    .hero .inner {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px;
    }

    .hero h1 {
        max-width: 760px;
        font-size: 41px !important;
        font-size: clamp(35px, 5.6vw, 45px) !important;
        line-height: 1.05;
    }

    .hero .lead {
        max-width: 720px;
    }

    .hero-validation-column,
    .hero-card,
    .hero-visual-card {
        width: 100%;
        max-width: 680px;
    }
}

/* Strong text scaling: avoid excessive heading fragmentation on 320px-class phones. */
@media (max-width: 340px) {
    .section-heading h2 {
        font-size: 23px;
        line-height: 1.1;
    }
}

/* Compact-phone stress: reduce hero-title fragmentation on 280px-class screens. */
@media (max-width: 300px) {
    .hero h1 {
        font-size: 28px !important;
        line-height: 1.06;
    }
}

/* Compact-phone + older flex-gap fallback: keep the audience switch inside 280px headers. */
@media (max-width: 300px) {
    .no-flex-gap header .inner > * + * {
        margin-left: 4px;
    }

    .header-audience-switch {
        padding-left: 7px;
        padding-right: 7px;
        font-size: 13px;
    }
}

/* Compact-phone + text scaling: keep audience switch inside 280px headers. */
@media (max-width: 300px) {
    .header-audience-switch {
        padding-left: 4px;
        padding-right: 4px;
        font-size: 12px !important;
    }
}

/* 280px-class final guard: text-scaled audience switch must not overflow. */
@media (max-width: 300px) {
    header .inner {
        gap: 4px;
    }

    .header-audience-switch {
        padding-left: 2px;
        padding-right: 2px;
        font-size: 11px !important;
    }
}

/* 280px-class text scaling: use shortest audience labels while preserving direction. */
@media (max-width: 300px) {
    .audience-switch-short {
        font-size: 0;
    }

    .header-audience-switch[href="professionals.html"] .audience-switch-short::before {
        content: "Provider";
        font-size: 11px;
    }

    .header-audience-switch[href="patients.html"] .audience-switch-short::before {
        content: "Patient";
        font-size: 11px;
    }
}

/* 280px-class 125% scaling: keep audience hero titles within four lines. */
@media (max-width: 300px) {
    .hero h1 {
        font-size: 24px !important;
        line-height: 1.06;
    }
}

/* Normalize audience-page top stack height across patient/provider nav content. */
.top-strip .inner {
    min-height: 39px;
    align-items: center;
}

header .inner {
    min-height: 74px;
    align-items: center;
}

.brand,
header nav a,
.header-audience-switch {
    line-height: 1;
}

@media (max-width: 820px) {
    .top-strip .inner,
    header .inner {
        min-height: 0;
    }
}

/* Desktop header polish: clearer zones, quieter CTA, consistent nav hover states. */
@media (min-width: 921px) {
    header .inner {
        gap: clamp(28px, 3vw, 44px);
    }

    header nav {
        flex: 1 1 auto;
        justify-content: center;
        gap: clamp(12px, 1.45vw, 22px);
    }

    header nav a:not(.button) {
        border-radius: 999px;
        padding: 8px 10px;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

    header nav a:not(.button):hover {
        background: var(--accent-soft);
        color: var(--accent-dark);
        text-decoration: none;
    }

    header nav a.button,
    body.providers-page header nav a.button {
        margin-left: clamp(30px, 3vw, 44px);
        margin-right: 0;
        box-shadow: 0 8px 18px rgba(47, 141, 100, 0.18);
    }

    header nav a.button:hover {
        transform: none;
        background: var(--accent-dark);
        box-shadow: 0 10px 22px rgba(23, 97, 62, 0.2);
    }

    .header-audience-switch {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        border-radius: 999px;
        padding: 8px 10px;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

    .header-audience-switch:hover {
        background: var(--soft-2);
        color: var(--accent-dark);
        text-decoration: none;
    }

    .header-audience-switch span[aria-hidden="true"] {
        display: inline-block;
        margin-left: 4px;
        transition: transform 0.15s ease;
    }

    .header-audience-switch:hover span[aria-hidden="true"] {
        transform: translateX(3px);
    }
}

/* Header action group: separate page navigation from conversion/audience actions. */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    white-space: nowrap;
}

@media (min-width: 921px) {
    header nav {
        flex: 1 1 auto;
        justify-content: center;
    }

    header nav a.button,
    body.providers-page header nav a.button {
        margin-left: 0;
        margin-right: 0;
    }

    .header-actions .button.primary {
        min-height: 38px;
        padding: 8px 15px;
        box-shadow: 0 6px 16px rgba(47, 141, 100, 0.16);
    }

    .header-actions .button.primary:hover {
        transform: none;
        background: var(--accent-dark);
        box-shadow: 0 8px 18px rgba(23, 97, 62, 0.2);
    }
}

@media (max-width: 920px) {
    .header-actions {
        margin-left: 0;
    }
}

/* Desktop top-strip balance: audience label left, regulatory/educational message centered. */
@media (min-width: 921px) {
    .top-strip .inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .top-strip .inner span:first-child {
        justify-self: start;
    }

    .top-strip .inner span:last-child {
        grid-column: 2;
        justify-self: center;
        text-align: center;
    }
}

/* Normalize desktop header control heights across nav links, CTA and audience switch. */
@media (min-width: 921px) {
    header nav a:not(.button),
    .header-actions .button.primary,
    .header-audience-switch {
        height: 38px;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    header nav a:not(.button) {
        padding-top: 0;
        padding-bottom: 0;
    }

    .header-actions .button.primary,
    .header-audience-switch {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Final header action normalization: make CTA and audience switch visually equal-height. */
@media (min-width: 921px) {
    .header-actions .button.primary,
    .header-actions .header-audience-switch {
        box-sizing: border-box;
        height: 38px;
        min-height: 38px;
        border: 1px solid transparent;
        padding: 0 15px;
        line-height: 1;
        font-size: 15px;
        font-weight: 750;
    }

    .header-actions .button.primary {
        box-shadow: 0 4px 12px rgba(47, 141, 100, 0.14);
    }
}

/* Pixel-align audience headers across patient/provider pages regardless of CTA presence. */
.top-strip .inner {
    min-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
}

header .inner {
    height: 74px;
    min-height: 74px;
    align-items: center;
}

header nav,
.header-actions {
    height: 38px;
    align-items: center;
}

header nav a:not(.button),
.header-actions .button.primary,
.header-actions .header-audience-switch,
.header-audience-switch {
    height: 38px;
    min-height: 38px;
    line-height: 38px;
    padding-top: 0;
    padding-bottom: 0;
}

.header-actions .button.primary,
.header-actions .header-audience-switch {
    display: inline-flex;
    align-items: center;
}

/* Hero CTA calibration after Source Sans 3: slightly larger text, slimmer vertical padding. */
.hero-actions .button {
    font-size: 18px;
    padding-top: 11px;
    padding-bottom: 11px;
}

.header-audience-switch {
    font-weight: 600;
}

@media (min-width: 921px) {
    .header-actions .header-audience-switch {
        font-weight: 600;
    }
}

/* Compact desktop header height after typography calibration. */
@media (min-width: 921px) {
    header .inner {
        height: 64px;
        min-height: 64px;
    }

    header nav,
    .header-actions {
        height: 36px;
    }

    header nav a:not(.button),
    .header-actions .button.primary,
    .header-actions .header-audience-switch,
    .header-audience-switch {
        height: 36px;
        min-height: 36px;
        line-height: 36px;
    }
}

/* Mobile header containment: provider actions must not create horizontal scroll. */
@media (max-width: 920px) {
    header .inner {
        height: auto;
        min-height: 0;
    }

    header nav {
        min-width: 0;
    }

    .header-actions {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        white-space: normal;
    }

    .header-actions .button.primary,
    .header-actions .header-audience-switch {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-left: 12px;
        padding-right: 12px;
        white-space: nowrap;
    }

    .header-actions .button.primary {
        font-size: 14px;
    }

    .header-actions .header-audience-switch {
        width: auto;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .header-actions {
        grid-template-columns: 1fr;
    }

    .header-actions .header-audience-switch {
        width: 100%;
    }
}


/* Resumed responsive QA: shared mobile audience/report behavior. */
#report .mobile-report-panel {
    display: none;
}

@media (max-width: 820px) {
    .top-strip .inner {
        display: flex;
        justify-content: center;
        text-align: center;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .top-strip .inner span:first-child {
        display: none;
    }

    body.providers-page .header-actions .button.primary {
        display: none !important;
    }

    body.providers-page .header-actions {
        grid-template-columns: 1fr;
        justify-items: end;
    }

    body.providers-page .header-actions .header-audience-switch {
        width: auto;
        max-width: 100%;
    }

    .js-enabled #report .report-sample-callouts {
        display: none !important;
    }

    #report .mobile-report-panel:not([hidden]) {
        display: block;
        margin-top: 14px;
        padding: 15px 16px 16px;
        border-color: #bfe3d0;
        background: #f7fbf9;
        box-shadow: 0 12px 26px rgba(23, 32, 42, 0.075);
    }

    #report .mobile-report-panel-head {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        margin-bottom: 7px;
    }

    #report .mobile-report-panel-num {
        width: 25px;
        height: 25px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--accent);
        color: #fff;
        font-size: 13px;
        font-weight: 850;
        line-height: 1;
    }

    #report .mobile-report-panel strong {
        color: var(--ink);
        font-size: 18px;
        line-height: 1.15;
    }

    #report .mobile-report-panel button {
        width: 30px;
        height: 30px;
        border: 0;
        border-radius: 999px;
        background: rgba(15, 32, 46, 0.08);
        color: var(--ink-2);
        font: inherit;
        font-size: 15px;
        font-weight: 850;
        line-height: 1;
        cursor: pointer;
    }

    #report .mobile-report-panel p {
        margin: 0;
        color: var(--muted);
        font-size: 15.5px;
        line-height: 1.42;
    }
}

@media (min-width: 921px) and (max-width: 1100px) {
    header nav {
        gap: 7px;
    }

    header nav a:not(.button),
    .header-actions .button.primary,
    .header-actions .header-audience-switch {
        font-size: 14px;
    }

    .header-actions .button.primary {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Final responsive QA: keep in-page navigation targets clear of the sticky header. */
.section {
    scroll-margin-top: 88px;
}

@media (max-width: 820px) {
    .section {
        scroll-margin-top: 76px;
    }
}

/* Final tablet provider header: center Request information while keeping audience switch right-aligned. */
@media (min-width: 700px) and (max-width: 920px) {
    body.providers-page header .inner {
        position: relative;
    }

    body.providers-page .header-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-width: 0;
    }

    body.providers-page .header-actions .button.primary {
        position: absolute;
        left: 50%;
        top: 50%;
        display: inline-flex !important;
        width: auto;
        min-width: 0;
        max-width: 210px;
        transform: translate(-50%, -50%);
        white-space: nowrap;
    }

    body.providers-page .header-actions .button.primary:hover {
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 699px) {
    body.providers-page .header-actions .button.primary {
        display: none !important;
    }
}

/* Shared report hover/focus feedback: make the associated explanatory card visibly active. */
#report .report-sample-callout.is-linked,
#report .report-sample-callout.is-highlighted,
#report .report-callout-card.report-sample-callout.is-linked,
#report .report-callout-card.report-sample-callout.is-highlighted,
#report .report-explainer-card.report-sample-callout.is-linked,
#report .report-explainer-card.report-sample-callout.is-highlighted {
    background: #f3fbf7 !important;
    border-color: #8dcfac !important;
    box-shadow: 0 18px 38px rgba(47, 141, 100, .12) !important;
    transform: none !important;
    transition-property: background-color, border-color, box-shadow !important;
    transition-duration: 120ms !important;
    transition-timing-function: ease !important;
}

#report .report-sample-callout.is-linked .report-sample-num,
#report .report-sample-callout.is-highlighted .report-sample-num,
#report .report-sample-callout.is-linked .callout-num,
#report .report-sample-callout.is-highlighted .callout-num,
#report .report-sample-callout.is-linked .num,
#report .report-sample-callout.is-highlighted .num {
    color: #fff !important;
}

/* Report marker-linked cards: keep numbered badges white on active state. */

/* Report callouts should not move on marker hover or direct hover. */
#report .report-sample-callout,
#report .report-sample-callout:hover,
#report .report-sample-callout.is-linked,
#report .report-sample-callout.is-highlighted {
    transform: none !important;
}

#report .report-sample-callout.is-linked h3,
#report .report-sample-callout.is-highlighted h3 {
    color: var(--ink) !important;
}
