/*
 * Shared guide-article look (values from live /guides/sleep).
 * Scoped to body.guide-article only. Sleep also carries that class so its
 * appearance stays the same; batch pages get the class too. No other page does.
 *
 * Panel surface tokens live ONCE below. Guide .gs-block and site batch panels
 * (/services, /how-it-works, /pricing, /employers, clinical service pages)
 * both consume them — change a value here to change every panel.
 */


body.guide-article {
  /* --- panel surface (single source) --- */
  --gs-panel-grad: linear-gradient(160deg, #223075, #141c4a 60%, #351a63);
  --gs-panel-fill: #141c4a;
  --gs-panel-radius: 24px;
  --gs-panel-border: 1px solid rgba(255, 255, 255, 0.1);
  --gs-panel-pad: 26px 22px;
  --gs-panel-top-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --gs-panel-ring: 0 0 0 1px rgba(255, 255, 255, 0.08);
  --gs-panel-shadow:
    0 18px 28px -10px rgba(0, 0, 0, 0.6),
    0 6px 12px -4px rgba(0, 0, 0, 0.45);
  --gs-panel-glow: 0 18px 48px -22px rgba(255, 77, 184, 0.42);
  --gs-panel-elev:
    var(--gs-panel-top-highlight),
    var(--gs-panel-ring),
    var(--gs-panel-shadow),
    var(--gs-panel-glow);
  --gs-panel-edge-pink: #ff4db8;
  --gs-panel-edge-gold: #e2c89a;

  /* aliases used by existing guide rules */
  --gs-grad: var(--gs-panel-grad);
  --gs-glow: var(--gs-panel-elev);
  --gs-btn: linear-gradient(135deg, #d81088, #642eae);
  --gs-btn-hover: linear-gradient(135deg, #b80e74, #52248f);
}

/* ---------- layout ---------- */
body.guide-article .gs-container {
  max-width: 760px;
  padding-bottom: 64px;
}

/* ---------- article column behind the panels = page colour (this page only) ---------- */
html body.guide-article.siya-h2-surface:not(.page-home) main article.gs-article {
  background: #050816 !important;
  background-image: none !important;
}

/* ---------- gradient panels (dark brand range + soft pink glow) ---------- */
html body.guide-article.siya-h2-surface:not(.page-home) .gs-block {
  position: relative;
  margin: 0 0 24px;
  padding: var(--gs-panel-pad);
  border-radius: var(--gs-panel-radius);
  border: var(--gs-panel-border) !important;
  background: var(--gs-panel-fill) !important;
  background-image: var(--gs-panel-grad) !important;
  box-shadow: var(--gs-panel-elev) !important;
}
body.guide-article .gs-block > :first-child { margin-top: 0 !important; }
body.guide-article .gs-block > :last-child { margin-bottom: 0 !important; }
body.guide-article .gs-block.blog-content h2 { margin-top: 0; }

/* opening: header keeps its rule, disclaimer + review block sit on the panel */
body.guide-article .gs-opening .blog-header { margin-bottom: 24px; padding-bottom: 20px; }
html body.guide-article.siya-h2-surface:not(.page-home) .gs-opening .blog-disclaimer,
html body.guide-article.siya-h2-surface:not(.page-home) .gs-opening .clinical-review {
  background: rgba(255, 255, 255, 0.06) !important;
  background-image: none !important;
  border: 1px solid rgba(226, 200, 154, 0.3) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}
html body.guide-article.siya-h2-surface:not(.page-home) .gs-opening .clinical-review {
  border-left: 4px solid #e2c89a !important;
  margin-bottom: 0 !important;
}

/* ---------- "What people ask" ---------- */
body.guide-article .gs-ask h2 { margin-bottom: 16px; }
body.guide-article .gs-ask ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
body.guide-article .gs-ask li { margin: 0; }
html body.guide-article.siya-h2-surface:not(.page-home) main .gs-ask li a:not(.ds-button):not(.button):not(.btn):not(.skiplink) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(226, 200, 154, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  line-height: 1.35;
}
body.guide-article .gs-ask a::after {
  content: "\2193";
  flex: none;
  color: #e2c89a;
  font-size: 1.1rem;
}
html body.guide-article.siya-h2-surface:not(.page-home) main .gs-ask li a:not(.ds-button):not(.button):not(.btn):not(.skiplink):hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: #e2c89a;
}
body.guide-article .gs-ask a:focus-visible { outline: 3px solid #e2c89a; outline-offset: 3px; }

@media (min-width: 600px) {
  /* cards only as wide as their text, so the floating guide launcher never sits on top of one */
  body.guide-article .gs-ask li { width: fit-content; max-width: 100%; }
}

/* ---------- diagram: what clinicians look at ---------- */
body.guide-article .gs-diagram { margin: 0; }
body.guide-article .gs-figure-title {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
body.guide-article .gs-diagram__grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
body.guide-article .gs-dg {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(226, 200, 154, 0.35);
}
body.guide-article .gs-dg > p { margin: 0 0 12px; }
body.guide-article .gs-dg > p:last-child { margin-bottom: 0; }
body.guide-article .gs-dg--strain { border-style: dashed; }
body.guide-article .gs-dg__label {
  font-weight: 700;
  color: #e2c89a;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
body.guide-article .gs-dg__note { color: rgba(255, 255, 255, 0.84); }
body.guide-article .gs-dg__boxes {
  position: relative;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
/* decorative rail joining the five boxes (reads as "all of these together") */
body.guide-article .gs-dg__boxes::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, #e2c89a, #ff4db8);
  opacity: 0.8;
  border-radius: 2px;
}
body.guide-article .gs-dg__boxes li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(226, 200, 154, 0.35);
  line-height: 1.45;
}
body.guide-article .gs-dg__boxes li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: #e2c89a;
  box-shadow: 0 0 0 4px rgba(226, 200, 154, 0.18);
}
body.guide-article .gs-figure-caption {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.84);
}
@media (min-width: 820px) {
  body.guide-article .gs-diagram__grid { grid-template-columns: 0.85fr 1.15fr; gap: 20px; align-items: start; }
  html body.guide-article.siya-h2-surface:not(.page-home) .gs-block { padding: 36px 36px; }
}

/* ---------- close + buttons ---------- */
body.guide-article .gs-close__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
body.guide-article .gs-close__buttons .button { flex: 1 1 240px; justify-content: center; text-align: center; }

/* Primary: solid #c8168c (white text 5.32:1). Crispier than the gradient's lightest stop (4.83:1). */
html body.guide-article.siya-h2-surface:not(.page-home) a.button.ds-button.ds-button--primary {
  background-color: #c8168c !important;
  background-image: none !important;
  border-color: #c8168c !important;
  color: #fff !important;
}
html body.guide-article.siya-h2-surface:not(.page-home) a.button.ds-button.ds-button--primary:hover,
html body.guide-article.siya-h2-surface:not(.page-home) a.button.ds-button.ds-button--primary:focus-visible {
  background-color: #a81474 !important;
  background-image: none !important;
  border-color: #a81474 !important;
}

/* ---------- scroll effect on the blocks below the opening (added by guide-sleep-motion.js; absent without JS).
   The opening block (headline, lead, disclaimer, review) is never touched: fully sharp at load.
   Blur is scaled by viewport: 5px ≤768, 2px 769–1200, none above 1200. Fade + rise stay at every width.
   .is-sharp removes the filter entirely (filter:none, not blur(0px)) — Chromium keeps blur(0px) soft. ---------- */
html.gs-motion body.guide-article [data-gs="block"]:not(.is-sharp) {
  opacity: calc(0.55 + 0.45 * var(--gs-p, 1));
  filter: blur(calc((1 - var(--gs-p, 1)) * 5px));
  transform: translateY(calc((1 - var(--gs-p, 1)) * 16px));
  will-change: opacity, filter, transform;
}
@media (min-width: 769px) and (max-width: 1200px) {
  html.gs-motion body.guide-article [data-gs="block"]:not(.is-sharp) {
    filter: blur(calc((1 - var(--gs-p, 1)) * 2px));
  }
}
@media (min-width: 1201px) {
  html.gs-motion body.guide-article [data-gs="block"]:not(.is-sharp) {
    filter: none;
  }
}
html.gs-motion body.guide-article [data-gs="block"].is-sharp {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
  will-change: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  html body.guide-article [data-gs="block"] {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}


/* ---------- In short ---------- */
body.guide-article .gs-in-short__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
body.guide-article .gs-in-short__list li {
  margin: 0;
  padding: 12px 14px 12px 40px;
  position: relative;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(226, 200, 154, 0.3);
  line-height: 1.45;
}
body.guide-article .gs-in-short__list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 1.1em;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #e2c89a;
}

/* ---------- comparison table ---------- */
body.guide-article .gs-compare {
  margin: 20px 0 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
body.guide-article .gs-compare__table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 0.95rem;
  line-height: 1.45;
}
body.guide-article .gs-compare__caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  font-size: 1.05rem;
}
body.guide-article .gs-compare__table th,
body.guide-article .gs-compare__table td {
  vertical-align: top;
  padding: 12px 14px;
  border: 1px solid rgba(226, 200, 154, 0.35);
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
body.guide-article .gs-compare__table th {
  background: rgba(255, 255, 255, 0.08);
  color: #e2c89a;
  font-weight: 700;
  text-align: left;
}
body.guide-article .gs-compare__table td {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.84);
}
body.guide-article .gs-compare__table th:first-child,
body.guide-article .gs-compare__table td:first-child {
  border-right-width: 0;
}
body.guide-article .gs-compare__table tr:first-child th:first-child { border-radius: 14px 0 0 0; }
body.guide-article .gs-compare__table tr:first-child th:last-child { border-radius: 0 14px 0 0; }
body.guide-article .gs-compare__table tr:last-child td:first-child { border-radius: 0 0 0 14px; }
body.guide-article .gs-compare__table tr:last-child td:last-child { border-radius: 0 0 14px 0; }
@media (max-width: 430px) {
  body.guide-article .gs-compare__table { font-size: 0.88rem; }
  body.guide-article .gs-compare__table th,
  body.guide-article .gs-compare__table td { padding: 10px 10px; }
}

/* ---------- SVG + photo figures ---------- */
body.guide-article .gs-svg-figure,
body.guide-article .gs-photo {
  margin: 0;
}
body.guide-article .gs-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
body.guide-article .gs-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
body.guide-article .gs-photo .siya-scene-caption,
body.guide-article .gs-figure-caption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.84);
}
body.guide-article .gs-takeaway {
  margin-top: 20px;
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 200, 154, 0.28);
  color: #fff;
}

/* ---------- /services + /how-it-works: same panel surface, existing layout ---------- */
html body.guide-article.page-services.siya-h2-surface .svc-group > .container,
html body.guide-article.page-services.siya-h2-surface .svc-included > .container,
html body.guide-article.page-services.siya-h2-surface .section[aria-label="Next steps"] > .container {
  position: relative;
  padding: var(--gs-panel-pad);
  border-radius: var(--gs-panel-radius);
  border: var(--gs-panel-border) !important;
  background: var(--gs-panel-fill) !important;
  background-image: var(--gs-panel-grad) !important;
  box-shadow: var(--gs-panel-elev) !important;
}

/* ---------- /pricing: same panel surface, existing layout + motion in pricing-v2.css ---------- */
html body.guide-article.page-pricing.siya-h2-surface .prc-price-chip,
html body.guide-article.page-pricing.siya-h2-surface .prc-plan,
html body.guide-article.page-pricing.siya-h2-surface .prc-panel,
html body.guide-article.page-pricing.siya-h2-surface .prc-card,
html body.guide-article.page-pricing.siya-h2-surface .prc-path-step {
  position: relative;
  padding: var(--gs-panel-pad);
  border-radius: var(--gs-panel-radius);
  border: var(--gs-panel-border) !important;
  background: var(--gs-panel-fill) !important;
  background-image: var(--gs-panel-grad) !important;
  box-shadow: var(--gs-panel-elev) !important;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

html body.guide-article.page-pricing.siya-h2-surface .prc-plan--feature {
  border-color: var(--gs-panel-edge-gold) !important;
}

/* ---------- /employers: same panel surface, existing layout + motion in employers-v2.css ---------- */
html body.guide-article.page-employer.siya-h2-surface .emp-proof-item,
html body.guide-article.page-employer.siya-h2-surface .emp-card,
html body.guide-article.page-employer.siya-h2-surface .emp-chat,
html body.guide-article.page-employer.siya-h2-surface .emp-chip,
html body.guide-article.page-employer.siya-h2-surface .emp-steps .emp-step,
html body.guide-article.page-employer.siya-h2-surface .emp-priv-panel,
html body.guide-article.page-employer.siya-h2-surface .emp-person,
html body.guide-article.page-employer.siya-h2-surface .emp-inquiry-panel {
  position: relative;
  padding: var(--gs-panel-pad);
  border-radius: var(--gs-panel-radius);
  border: var(--gs-panel-border) !important;
  background: var(--gs-panel-fill) !important;
  background-image: var(--gs-panel-grad) !important;
  box-shadow: var(--gs-panel-elev) !important;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/*
 * Clinical service pages load guide-article.css for --gs-panel-* tokens but do NOT
 * take body.guide-article (that class also restyles primary buttons and .gs-* chrome).
 * Same token values as body.guide-article — not new values.
 */
html body.page-focus.siya-h2-surface,
html body.page-primary.siya-h2-surface,
html body.page-cognitive-assessment.siya-h2-surface,
html body.page-brain-fog.siya-h2-surface,
html body.page-preventive-care.siya-h2-surface,
html body.page-labs.siya-h2-surface,
html body.page-weight-loss.siya-h2-surface,
html body.page-womens-health.siya-h2-surface,
html body.page-mens-health.siya-h2-surface,
html body.page-fatigue.siya-h2-surface,
html body.page-headache.siya-h2-surface,
html body.page-womens-midlife-health.siya-h2-surface {
  --gs-panel-grad: linear-gradient(160deg, #223075, #141c4a 60%, #351a63);
  --gs-panel-fill: #141c4a;
  --gs-panel-radius: 24px;
  --gs-panel-border: 1px solid rgba(255, 255, 255, 0.1);
  --gs-panel-pad: 26px 22px;
  --gs-panel-top-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --gs-panel-ring: 0 0 0 1px rgba(255, 255, 255, 0.08);
  --gs-panel-shadow:
    0 18px 28px -10px rgba(0, 0, 0, 0.6),
    0 6px 12px -4px rgba(0, 0, 0, 0.45);
  --gs-panel-glow: 0 18px 48px -22px rgba(255, 77, 184, 0.42);
  --gs-panel-elev:
    var(--gs-panel-top-highlight),
    var(--gs-panel-ring),
    var(--gs-panel-shadow),
    var(--gs-panel-glow);
  --gs-panel-edge-pink: #ff4db8;
  --gs-panel-edge-gold: #e2c89a;
}

/*
 * Details FAQs = Home's #faq .faq treatment (Home keeps its own rule above/below).
 * One large gradient panel on the wrapper; plain hairline rows inside (no per-row box).
 */
html body.guide-article.page-employer.siya-h2-surface .emp-faq,
html body.guide-article.page-pricing.siya-h2-surface .prc-faq,
html body.page-focus.siya-h2-surface .foc-faq,
html body.page-primary.siya-h2-surface .pri-faq {
  position: relative;
  padding: var(--gs-panel-pad);
  border-radius: var(--gs-panel-radius);
  border: var(--gs-panel-border) !important;
  background: var(--gs-panel-fill) !important;
  background-image: var(--gs-panel-grad) !important;
  box-shadow: var(--gs-panel-elev) !important;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Rows: strip any panel chrome — Home hairline only (page CSS owns the 18px/0 + rule) */
html body.guide-article.page-employer.siya-h2-surface .emp-faq details,
html body.guide-article.page-pricing.siya-h2-surface .prc-faq details,
html body.page-focus.siya-h2-surface .foc-faq details,
html body.page-primary.siya-h2-surface .pri-faq details {
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
}

@media (min-width: 820px) {
  html body.guide-article.page-employer.siya-h2-surface .emp-faq,
  html body.guide-article.page-pricing.siya-h2-surface .prc-faq,
  html body.page-focus.siya-h2-surface .foc-faq,
  html body.page-primary.siya-h2-surface .pri-faq {
    padding: 36px 36px;
  }
}

/* ---------- /focus + /primary: finish Layer A (match /pricing panel set; page-scoped, no body.guide-article) ---------- */
/* Large single panels — gradient */
html body.page-focus.siya-h2-surface .foc-panel,
html body.page-primary.siya-h2-surface .pri-panel {
  position: relative;
  padding: var(--gs-panel-pad);
  border-radius: var(--gs-panel-radius);
  border: var(--gs-panel-border) !important;
  background: var(--gs-panel-fill) !important;
  background-image: var(--gs-panel-grad) !important;
  box-shadow: var(--gs-panel-elev) !important;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Repeated items — flat fill, same border/radius/elev (no stacked gradients) */
html body.page-focus.siya-h2-surface .foc-price-chip,
html body.page-focus.siya-h2-surface .foc-plan,
html body.page-focus.siya-h2-surface .foc-card,
html body.page-focus.siya-h2-surface .foc-path-step,
html body.page-focus.siya-h2-surface .foc-step,
html body.page-focus.siya-h2-surface .foc-sign,
html body.page-primary.siya-h2-surface .pri-price-chip,
html body.page-primary.siya-h2-surface .pri-plan,
html body.page-primary.siya-h2-surface .pri-card,
html body.page-primary.siya-h2-surface .pri-path-step,
html body.page-primary.siya-h2-surface .pri-step,
html body.page-primary.siya-h2-surface .pri-sign {
  position: relative;
  padding: var(--gs-panel-pad);
  border-radius: var(--gs-panel-radius);
  border: var(--gs-panel-border) !important;
  background: var(--gs-panel-fill) !important;
  background-image: none !important;
  box-shadow: var(--gs-panel-elev) !important;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

html body.page-focus.siya-h2-surface .foc-plan--feature,
html body.page-primary.siya-h2-surface .pri-plan--feature {
  border-color: var(--gs-panel-edge-gold) !important;
}

/* ---------- Clinical service pages: shared Layer A surfaces (tokens only; no body.guide-article) ---------- */
/* Large single panels — gradient */
html body.page-cognitive-assessment.siya-h2-surface main .why-siya-quote-card,
html body.page-brain-fog.siya-h2-surface main .why-siya-quote-card,
html body.page-preventive-care.siya-h2-surface main .why-siya-quote-card,
html body.page-labs.siya-h2-surface main .why-siya-quote-card,
html body.page-weight-loss.siya-h2-surface main .why-siya-quote-card,
html body.page-womens-health.siya-h2-surface main .why-siya-quote-card,
html body.page-mens-health.siya-h2-surface main .why-siya-quote-card {
  position: relative;
  border-radius: var(--gs-panel-radius);
  border: var(--gs-panel-border) !important;
  background: var(--gs-panel-fill) !important;
  background-image: var(--gs-panel-grad) !important;
  box-shadow: var(--gs-panel-elev) !important;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Repeated list/grid items — flat fill (padding left to page layout CSS) */
html body.page-cognitive-assessment.siya-h2-surface main .symptoms-card,
html body.page-cognitive-assessment.siya-h2-surface main .why-choose-card,
html body.page-cognitive-assessment.siya-h2-surface main .flow-card,
html body.page-cognitive-assessment.siya-h2-surface main .faq-accordion-card,
html body.page-cognitive-assessment.siya-h2-surface main .cog-card,
html body.page-cognitive-assessment.siya-h2-surface main .cog-task-card,
html body.page-brain-fog.siya-h2-surface main .symptoms-card,
html body.page-brain-fog.siya-h2-surface main .why-choose-card,
html body.page-brain-fog.siya-h2-surface main .flow-card,
html body.page-brain-fog.siya-h2-surface main .faq-accordion-card,
html body.page-preventive-care.siya-h2-surface main .symptoms-card,
html body.page-preventive-care.siya-h2-surface main .why-choose-card,
html body.page-preventive-care.siya-h2-surface main .flow-card,
html body.page-preventive-care.siya-h2-surface main .faq-accordion-card,
html body.page-labs.siya-h2-surface main .symptoms-card,
html body.page-labs.siya-h2-surface main .why-choose-card,
html body.page-labs.siya-h2-surface main .flow-card,
html body.page-labs.siya-h2-surface main .faq-accordion-card,
html body.page-labs.siya-h2-surface main .labs-care-funnel__step,
html body.page-weight-loss.siya-h2-surface main .symptoms-card,
html body.page-weight-loss.siya-h2-surface main .why-choose-card,
html body.page-weight-loss.siya-h2-surface main .flow-card,
html body.page-weight-loss.siya-h2-surface main .faq-accordion-card,
html body.page-weight-loss.siya-h2-surface main .evaluation-model-card,
html body.page-weight-loss.siya-h2-surface main .adhd-reading-card,
html body.page-weight-loss.siya-h2-surface main .about-team-card,
html body.page-weight-loss.siya-h2-surface main .ds-provider-card,
html body.page-womens-health.siya-h2-surface main .symptoms-card,
html body.page-womens-health.siya-h2-surface main .why-choose-card,
html body.page-womens-health.siya-h2-surface main .flow-card,
html body.page-womens-health.siya-h2-surface main .faq-accordion-card,
html body.page-womens-health.siya-h2-surface main .about-team-card,
html body.page-womens-health.siya-h2-surface main .ds-provider-card,
html body.page-mens-health.siya-h2-surface main .symptoms-card,
html body.page-mens-health.siya-h2-surface main .why-choose-card,
html body.page-mens-health.siya-h2-surface main .flow-card,
html body.page-mens-health.siya-h2-surface main .faq-accordion-card,
html body.page-mens-health.siya-h2-surface main .adhd-reading-card,
html body.page-mens-health.siya-h2-surface main .about-team-card,
html body.page-mens-health.siya-h2-surface main .ds-provider-card {
  position: relative;
  border-radius: var(--gs-panel-radius);
  border: var(--gs-panel-border) !important;
  background: var(--gs-panel-fill) !important;
  background-image: none !important;
  box-shadow: var(--gs-panel-elev) !important;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

html body.guide-article.page-employer.siya-h2-surface a.emp-step:hover {
  border-color: var(--gs-panel-edge-gold) !important;
}

html body.guide-article.page-how-it-works.siya-h2-surface main li.hiw-step,
html body.guide-article.page-how-it-works.siya-h2-surface .hero-ctas {
  position: relative;
  border-radius: var(--gs-panel-radius) !important;
  border: var(--gs-panel-border) !important;
  background: var(--gs-panel-fill) !important;
  background-color: var(--gs-panel-fill) !important;
  background-image: var(--gs-panel-grad) !important;
  box-shadow: var(--gs-panel-elev) !important;
}

html body.guide-article.page-how-it-works.siya-h2-surface .hero-ctas {
  padding: var(--gs-panel-pad);
}

@media (min-width: 820px) {
  html body.guide-article.page-services.siya-h2-surface .svc-group > .container,
  html body.guide-article.page-services.siya-h2-surface .svc-included > .container,
  html body.guide-article.page-services.siya-h2-surface .section[aria-label="Next steps"] > .container,
  html body.guide-article.page-how-it-works.siya-h2-surface .hero-ctas {
    padding: 36px 36px;
  }
}

/* ---------- Home calm surfaces only (hero / proof / marquee / game / reviews untouched) ---------- */
html body.guide-article.page-home.siya-h2-surface #how .card,
html body.guide-article.page-home.siya-h2-surface #care .tile,
html body.guide-article.page-home.siya-h2-surface #founders .person,
html body.guide-article.page-home.siya-h2-surface #faq .faq,
html body.guide-article.page-home.siya-h2-surface #close .close-panel {
  position: relative;
  padding: var(--gs-panel-pad);
  border-radius: var(--gs-panel-radius);
  border: var(--gs-panel-border) !important;
  background: var(--gs-panel-fill) !important;
  background-image: var(--gs-panel-grad) !important;
  box-shadow: var(--gs-panel-elev) !important;
  /* Fit grid track; do not force content min-size past the container. */
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

html body.guide-article.page-home.siya-h2-surface #close .close-panels {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-width: 0;
  max-width: 100%;
}

/* Match h2-home-v2 ≤860px single column; this selector otherwise keeps two crushed tracks on phone. */
@media (max-width: 860px) {
  html body.guide-article.page-home.siya-h2-surface #close .close-panels {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Close panels keep accent edge colours via tokens. */
html body.guide-article.page-home.siya-h2-surface #close .close-panel--patient {
  border-color: var(--gs-panel-edge-pink) !important;
}

html body.guide-article.page-home.siya-h2-surface #close .close-panel--employer {
  border-color: var(--gs-panel-edge-gold) !important;
}

@media (min-width: 820px) {
  html body.guide-article.page-home.siya-h2-surface #how .card,
  html body.guide-article.page-home.siya-h2-surface #care .tile,
  html body.guide-article.page-home.siya-h2-surface #founders .person,
  html body.guide-article.page-home.siya-h2-surface #faq .faq,
  html body.guide-article.page-home.siya-h2-surface #close .close-panel {
    padding: 36px 36px;
  }
}

/* ---------- Symptom pages: Layer A (tokens only; no body.guide-article) ---------- */
/* Large single panels — gradient */
html body.page-fatigue.siya-h2-surface main .differential-recognition > .container,
html body.page-womens-midlife-health.siya-h2-surface main .key-takeaways,
html body.page-fatigue.siya-h2-surface main .faq-accordion,
html body.page-headache.siya-h2-surface main .faq-accordion,
html body.page-womens-midlife-health.siya-h2-surface main .faq-accordion,
html body.page-labs.page-labs-topic.siya-h2-surface main .faq-accordion {
  position: relative;
  padding: var(--gs-panel-pad);
  border-radius: var(--gs-panel-radius);
  border: var(--gs-panel-border) !important;
  background: var(--gs-panel-fill) !important;
  background-image: var(--gs-panel-grad) !important;
  box-shadow: var(--gs-panel-elev) !important;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* FAQ rows — Home hairline treatment (no per-row box / no fill behind question text) */
html body.page-fatigue.siya-h2-surface main .faq-accordion-list,
html body.page-headache.siya-h2-surface main .faq-accordion-list,
html body.page-womens-midlife-health.siya-h2-surface main .faq-accordion-list,
html body.page-labs.page-labs-topic.siya-h2-surface main .faq-accordion-list {
  gap: 0 !important;
}

html body.page-fatigue.siya-h2-surface main .faq-accordion-card,
html body.page-headache.siya-h2-surface main .faq-accordion-card,
html body.page-womens-midlife-health.siya-h2-surface main .faq-accordion-card,
html body.page-labs.page-labs-topic.siya-h2-surface main .faq-accordion-card {
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  border-bottom: var(--gs-panel-border) !important;
  overflow: visible !important;
}

html body.page-fatigue.siya-h2-surface main .faq-accordion-card:hover,
html body.page-headache.siya-h2-surface main .faq-accordion-card:hover,
html body.page-womens-midlife-health.siya-h2-surface main .faq-accordion-card:hover,
html body.page-labs.page-labs-topic.siya-h2-surface main .faq-accordion-card:hover,
html body.page-fatigue.siya-h2-surface main .faq-accordion-card.is-open,
html body.page-headache.siya-h2-surface main .faq-accordion-card.is-open,
html body.page-womens-midlife-health.siya-h2-surface main .faq-accordion-card.is-open,
html body.page-labs.page-labs-topic.siya-h2-surface main .faq-accordion-card.is-open {
  box-shadow: none !important;
  border-color: transparent !important;
  border-bottom: var(--gs-panel-border) !important;
}

html body.page-fatigue.siya-h2-surface main .faq-accordion-trigger,
html body.page-headache.siya-h2-surface main .faq-accordion-trigger,
html body.page-womens-midlife-health.siya-h2-surface main .faq-accordion-trigger,
html body.page-labs.page-labs-topic.siya-h2-surface main .faq-accordion-trigger {
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
}

html body.page-fatigue.siya-h2-surface main .faq-accordion-icon,
html body.page-headache.siya-h2-surface main .faq-accordion-icon,
html body.page-womens-midlife-health.siya-h2-surface main .faq-accordion-icon,
html body.page-labs.page-labs-topic.siya-h2-surface main .faq-accordion-icon {
  color: var(--gs-panel-edge-gold) !important;
  -webkit-text-fill-color: var(--gs-panel-edge-gold) !important;
}

/* Repeated list/grid items — flat fill (labs topic why-choose already in page-labs block) */
html body.page-labs.page-labs-topic.siya-h2-surface main .why-choose-card {
  position: relative;
  border-radius: var(--gs-panel-radius);
  border: var(--gs-panel-border) !important;
  background: var(--gs-panel-fill) !important;
  background-image: none !important;
  box-shadow: var(--gs-panel-elev) !important;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 820px) {
  html body.page-fatigue.siya-h2-surface main .differential-recognition > .container,
  html body.page-womens-midlife-health.siya-h2-surface main .key-takeaways,
  html body.page-fatigue.siya-h2-surface main .faq-accordion,
  html body.page-headache.siya-h2-surface main .faq-accordion,
  html body.page-womens-midlife-health.siya-h2-surface main .faq-accordion,
  html body.page-labs.page-labs-topic.siya-h2-surface main .faq-accordion {
    padding: 36px 36px;
  }
}
