:root {
  --ink: #2C2C2C;
  --ink-deep: #2C2C2C;
  --paper: #FAFAF7;
  --paper-2: #F5E8E4;
  --white: #FFFFFF;
  --coral: #B87C70;
  --coral-dark: #9B5F54;
  --gold: #B28C43;
  --mint: #9EAD9B;
  --sage-deep: #647A64;
  --near-white: #FCF7F5;
  --near-black: #2C2C2C;
  --charcoal: #2C2C2C;
  --grey: #6A6A6A;
  --line: rgba(44, 44, 44, .12);
  --shadow: 0 18px 45px rgba(44, 44, 44, .07);
  --radius-lg: 28px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-deep);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.nowrap { white-space: nowrap; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.dev-banner { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 34px; padding: 7px 20px; background: var(--coral); color: white; text-align: center; }
.dev-banner strong { font-size: 9px; letter-spacing: .2em; }
.dev-banner span { font-size: 10px; font-weight: 300; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 32px), 1280px);
  min-height: 82px;
  margin: 0 auto;
  padding: 14px 24px;
  background: rgba(250, 250, 247, .88);
  backdrop-filter: blur(18px);
}
.brand { display: flex; gap: 11px; align-items: center; text-decoration: none; width: max-content; }
.brand-mark { display: block; flex: 0 0 42px; width: 42px; height: 42px; object-fit: contain; }
.brand strong, .brand small { display: block; line-height: 1; }
.brand strong { font-family: "Cormorant Garamond", serif; font-size: 25px; font-weight: 500; letter-spacing: -.025em; }
.brand small { margin-top: 7px; color: var(--coral-dark); font-size: 9px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
nav { display: flex; gap: 28px; }
nav a { color: var(--grey); font-size: 13px; font-weight: 500; text-decoration: none; }
nav a:hover { color: var(--coral-dark); }
.selection-pill { justify-self: end; border: 1px solid rgba(44,44,44,.1); border-radius: 99px; padding: 9px 14px; background: rgba(255,255,255,.78); color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 600; }
.selection-pill span { display: inline-grid; place-items: center; width: 23px; height: 23px; margin-right: 5px; border-radius: 50%; background: var(--coral); color: white; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: clamp(35px, 6vw, 90px);
  align-items: center;
  min-height: 590px;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(34px, 4vw, 54px) 24px 32px;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -280px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(245,232,228,.58) 0%, rgba(245,232,228,0) 70%); }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: min(100%, 590px); margin-bottom: 34px; padding: 9px; border-radius: 28px; background: var(--paper-2); }
.hero-badges a { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid rgba(255,255,255,.9); border-radius: 99px; background: rgba(255,255,255,.5); color: var(--coral-dark); font-size: 10px; font-weight: 600; letter-spacing: .09em; line-height: 1.25; text-align: center; text-decoration: none; text-transform: uppercase; transition: transform .2s, background .2s; }
.hero-badges a:hover { transform: translateY(-2px); background: white; }
.eyebrow { margin: 0 0 18px; color: var(--coral-dark); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: "Cormorant Garamond", serif; font-weight: 500; letter-spacing: -.025em; }
h1 { color: var(--ink); font-size: clamp(54px, 6vw, 78px); line-height: 1.02; }
h1 em { color: var(--coral-dark); font-weight: 300; }
.hero-intro { max-width: 610px; margin: 30px 0 34px; color: var(--ink); font-size: clamp(17px, 1.25vw, 20px); font-weight: 500; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 16px 22px; border-radius: 99px; text-decoration: none; font-size: 13px; font-weight: 600; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { min-width: 220px; color: white; background: var(--coral); box-shadow: 0 10px 28px rgba(184,124,112,.22); }
.button.primary:hover { background: var(--coral-dark); }
.text-link { font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.hero-visual { position: relative; min-height: 500px; }
.hero-core { position: absolute; z-index: 5; left: 50%; top: 49%; width: 274px; height: 214px; transform: translate(-50%, -50%); color: white; text-align: center; }
.hero-example-label, .hero-example-note { position: absolute; z-index: 7; left: 50%; display: block; width: max-content; transform: translateX(-50%); border-radius: 99px; background: rgba(255,253,248,.94); color: var(--coral-dark); box-shadow: 0 8px 22px rgba(23,63,59,.08); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-example-label { top: 0; padding: 6px 10px; }
.hero-example-note { bottom: 0; padding: 6px 11px; color: var(--grey); letter-spacing: .06em; text-transform: none; }
.hero-example-bubbles { position: absolute; inset: 22px 0 20px; }
.hero-pathogen { position: absolute; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; color: white; font-family: "Cormorant Garamond", serif; font-size: 17px; font-weight: 600; line-height: .95; text-shadow: 0 1px 2px rgba(44,44,44,.18); box-shadow: 0 14px 32px rgba(44,44,44,.15); }
.hero-pathogen b { position: relative; z-index: 5; font: inherit; }
.hero-pathogen-borrelia { left: 5px; top: 34px; z-index: 2; width: 112px; height: 112px; background: rgba(63,119,66,.94); }
.hero-pathogen-bartonella { left: 110px; top: 10px; z-index: 3; width: 116px; height: 116px; background: rgba(130,69,63,.94); font-size: 16px; }
.hero-pathogen-cirs { right: -4px; top: 80px; z-index: 4; width: 84px; height: 84px; background: rgba(100,122,100,.95); font-size: 13px; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid; border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }
.orbit span { position: absolute; padding: 7px 12px; border-radius: 99px; background: var(--white); box-shadow: 0 8px 25px rgba(23,63,59,.1); font-size: 11px; font-weight: 700; }
.orbit-a { width: 340px; height: 210px; border-color: var(--coral); background: rgba(206, 147, 143, .12); }
.orbit-a span { right: -25px; top: 31px; color: var(--coral-dark); }
.orbit-b { width: 260px; height: 410px; border-color: var(--gold); background: rgba(175, 138, 56, .08); transform: translate(-50%, -50%) rotate(28deg); }
.orbit-b span { left: -23px; top: 45%; color: #906716; }
.orbit-c { width: 430px; height: 290px; border-color: var(--sage-deep); background: rgba(158, 173, 155, .12); transform: translate(-50%, -50%) rotate(-46deg); }
.orbit-c span { right: 23px; bottom: 4px; color: var(--ink); transform: rotate(46deg); }
.floating-tag { position: absolute; z-index: 6; padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,253,248,.9); font-size: 10px; font-weight: 700; box-shadow: 0 10px 30px rgba(23,63,59,.08); }
.tag-a { left: 12%; top: 13%; }
.tag-b { right: 7%; top: 25%; }
.tag-c { right: 10%; bottom: 9%; }

.how-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; width: min(calc(100% - 48px), 1180px); margin: 0 auto; padding: 10px; border-radius: 30px; background: var(--paper-2); color: var(--ink); }
.how-strip > div { display: flex; align-items: center; gap: 18px; padding: 28px 26px; border: 1px solid rgba(255,255,255,.85); border-radius: 22px; background: rgba(255,255,255,.48); }
.how-strip > div:last-child { border-color: rgba(255,255,255,.85); }
.how-strip > div > span { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid rgba(184,124,112,.35); border-radius: 50%; color: var(--coral-dark); font-family: "Cormorant Garamond", serif; }
.how-strip p, .how-strip small { margin: 0; display: block; }
.how-strip strong { font-family: "Cormorant Garamond", serif; font-size: 19px; font-weight: 400; }
.how-strip small { margin-top: 5px; color: var(--grey); font-size: 11px; }

.explorer { padding: 42px clamp(24px, 6vw, 96px) 120px; background: var(--white); }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 50px; align-items: end; max-width: 1250px; margin: auto; }
h2 { color: var(--ink); font-size: clamp(42px, 5vw, 68px); line-height: 1.03; }
.section-heading > p { max-width: 430px; margin: 0 0 7px; color: var(--grey); line-height: 1.6; }
.view-tabs { display: flex; width: max-content; max-width: 100%; margin: 50px auto 35px; padding: 5px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); }
.view-tab { min-width: 150px; border: 0; border-radius: 99px; padding: 12px 18px; background: transparent; color: var(--grey); cursor: pointer; font-size: 13px; font-weight: 700; }
.view-tab.active { background: var(--coral); color: white; box-shadow: none; }
.view-panel { max-width: 1250px; margin: auto; }
.hidden { display: none !important; }

.summary-extractor { max-width: 1050px; margin: 0 auto; padding: 20px 0 35px; }
.summary-intro, .summary-review-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: end; margin-bottom: 28px; }
.summary-intro h3, .summary-review-head h3 { max-width: 720px; margin: 0; color: var(--ink); font-family: "Cormorant Garamond", serif; font-size: clamp(38px,4.5vw,58px); font-weight: 500; letter-spacing: -.025em; line-height: 1.03; }
.summary-intro > p, .summary-review-head > p { margin: 0 0 5px; color: var(--grey); font-size: 13px; line-height: 1.65; }
.summary-form, .summary-review { padding: clamp(20px,3vw,34px); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, var(--paper-2), white 70%); box-shadow: var(--shadow); }
.summary-profile { display: grid; grid-template-columns: auto 1fr 1fr; gap: 18px; align-items: end; margin-bottom: 20px; padding: 18px; border: 1px solid rgba(184,124,112,.25); border-radius: 20px; background: rgba(255,255,255,.66); }
.summary-profile > p { align-self: center; max-width: 130px; margin: 0; color: var(--ink); font-family: "Cormorant Garamond",serif; font-size: 19px; line-height: 1.05; }
.summary-profile fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.summary-profile legend { margin-bottom: 8px; color: var(--ink); font-size: 9px; font-weight: 700; }
.summary-privacy { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; margin-bottom: 24px; padding: 17px 18px; border: 1px solid rgba(184,124,112,.32); border-radius: 18px; background: rgba(255,255,255,.72); }
.summary-privacy > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: white; font-family: "Cormorant Garamond",serif; font-size: 21px; }
.summary-retention { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; margin: -8px 0 24px; padding: 17px 18px; border: 1px solid rgba(100,122,100,.3); border-radius: 18px; background: rgba(244,247,241,.78); }
.summary-retention > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-deep); color: white; font-size: 16px; font-weight: 700; }
.summary-privacy strong, .summary-retention strong, .summary-disclaimer strong { display: block; color: var(--ink); font-size: 12px; }
.summary-privacy p, .summary-retention p, .summary-disclaimer p { margin: 5px 0 0; color: var(--grey); font-size: 10px; line-height: 1.55; }
.summary-field { display: block; }
.summary-field > span { display: block; margin: 0 0 9px; color: var(--ink); font-size: 11px; font-weight: 700; }
.summary-field textarea { display: block; width: 100%; min-height: 240px; resize: vertical; border: 1px solid rgba(44,44,44,.16); border-radius: 18px; padding: 18px; background: white; color: var(--ink); font-size: 13px; line-height: 1.65; outline: none; transition: border-color .2s, box-shadow .2s; }
.summary-field textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(184,124,112,.12); }
.summary-field textarea::placeholder { color: #98918c; }
.summary-field-meta { display: flex; justify-content: space-between; gap: 20px; margin: 8px 3px 22px; color: var(--grey); font-size: 9px; line-height: 1.45; }
.summary-field-meta strong { color: var(--coral-dark); white-space: nowrap; }
.summary-disclaimer { padding: 16px 18px; border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; background: rgba(255,253,248,.82); }
.summary-consent { display: flex; gap: 11px; align-items: flex-start; margin: 18px 3px; color: var(--ink); cursor: pointer; font-size: 10px; line-height: 1.55; }
.summary-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--coral-dark); }
.summary-submit-row { display: flex; gap: 18px; align-items: center; }
.summary-submit { min-width: 230px; border: 0; cursor: pointer; text-transform: uppercase; letter-spacing: .04em; }
.summary-submit:disabled { cursor: not-allowed; opacity: .45; transform: none; box-shadow: none; }
#summaryStatus { margin: 0; color: var(--grey); font-size: 10px; line-height: 1.45; }
#summaryStatus.error { color: #914b42; }
.summary-review { margin-top: 28px; background: white; }
.summary-review-head { margin-bottom: 22px; }
.summary-review-head h3 { font-size: clamp(34px,4vw,50px); }
.summary-match-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.summary-match { display: grid; grid-template-columns: 24px 1fr; gap: 11px; align-items: start; min-height: 84px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); cursor: pointer; }
.summary-match:has(input:checked) { border-color: rgba(184,124,112,.55); background: var(--paper-2); }
.summary-match input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--coral-dark); }
.summary-match strong, .summary-match small { display: block; }
.summary-match strong { color: var(--ink); font-size: 11px; line-height: 1.35; }
.summary-match small { margin-top: 5px; color: var(--grey); font-size: 9px; line-height: 1.4; }
.summary-match em { display: block; margin-top: 7px; color: var(--coral-dark); font-size: 8px; font-style: normal; line-height: 1.4; }
.summary-unmatched { margin-top: 18px; padding: 18px; border: 1px dashed rgba(44,44,44,.2); border-radius: 16px; background: var(--near-white); }
.summary-unmatched > strong { color: var(--ink); font-size: 11px; }
.summary-unmatched > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.summary-unmatched span { padding: 7px 10px; border-radius: 99px; background: white; color: var(--grey); font-size: 9px; }
.summary-unmatched small { display: block; margin-top: 11px; color: var(--grey); font-size: 9px; }
.summary-review-actions { display: flex; gap: 22px; align-items: center; margin-top: 24px; }
.summary-review-actions .button { border: 0; cursor: pointer; }
.summary-review-actions .button:disabled { cursor: not-allowed; opacity: .45; }
.text-button { border: 0; border-bottom: 1px solid rgba(155,95,84,.45); padding: 3px 0; background: transparent; color: var(--coral-dark); cursor: pointer; font-size: 10px; font-weight: 700; }

.guided-explorer { margin-bottom: 0; }
.guided-intro { display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; align-items: end; margin-bottom: 34px; }
.guided-intro h3, .all-symptoms-heading h3, .guided-symptoms h3 { margin: 0; color: var(--ink); font-family: "Cormorant Garamond", serif; font-weight: 500; letter-spacing: -.025em; }
.guided-intro h3 { max-width: 720px; font-size: clamp(36px, 4vw, 56px); line-height: 1.04; }
.guided-intro > p { max-width: 440px; margin: 0 0 5px; color: var(--grey); font-size: 14px; line-height: 1.65; }

.purpose-chooser { margin: 0 0 14px; padding: 20px; border: 1px solid rgba(184,124,112,.38); border-radius: 24px; background: linear-gradient(135deg, var(--paper-2), rgba(255,255,255,.82)); }
.purpose-legend { margin: 0 0 14px; color: var(--ink); font-size: 12px; font-weight: 700; }
.purpose-legend span { margin-right: 3px; color: var(--coral-dark); }
.purpose-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.purpose-option { min-height: 92px; padding: 16px 18px; border: 1px solid rgba(184,124,112,.2); border-radius: 18px; background: rgba(255,255,255,.68); color: var(--ink); cursor: pointer; text-align: left; transition: transform .2s, border-color .2s, background .2s; }
.purpose-option:hover { transform: translateY(-2px); border-color: var(--coral); }
.purpose-option.active { border-color: var(--coral-dark); background: white; box-shadow: inset 0 -3px 0 var(--coral-dark), 0 8px 22px rgba(44,44,44,.06); }
.purpose-option strong, .purpose-option span { display: block; }
.purpose-option strong { font-family: "Cormorant Garamond", serif; font-size: 22px; font-weight: 500; }
.purpose-option span { margin-top: 5px; color: var(--grey); font-size: 10px; line-height: 1.45; }
.purpose-chooser > p { margin: 12px 3px 0; color: var(--grey); font-size: 9px; line-height: 1.5; }

.person-chooser { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; align-items: end; margin-bottom: 22px; padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.person-chooser fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.person-chooser legend { margin-bottom: 10px; color: var(--ink); font-size: 11px; font-weight: 600; }
.segmented-control { display: flex; padding: 4px; border-radius: 99px; background: var(--paper-2); }
.profile-option { flex: 1; min-height: 38px; padding: 8px 18px; border: 0; border-radius: 99px; background: transparent; color: var(--grey); cursor: pointer; font-size: 12px; font-weight: 600; transition: background .2s, color .2s, transform .2s; }
.profile-option:hover { color: var(--coral-dark); }
.profile-option.active { background: var(--white); color: var(--coral-dark); box-shadow: 0 5px 16px rgba(44,44,44,.06); }
.profile-summary { min-width: 205px; margin: 0 0 10px; color: var(--coral-dark); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-align: right; text-transform: uppercase; }

.body-explorer { display: grid; grid-template-columns: 220px minmax(300px, .8fr) minmax(360px, 1.2fr); min-height: 700px; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: var(--paper); box-shadow: var(--shadow); }
.body-region-rail { display: flex; flex-direction: column; gap: 5px; padding: 18px; border-right: 1px solid var(--line); background: rgba(255,255,255,.72); overflow-y: auto; }
.body-region-button { display: grid; grid-template-columns: 28px 1fr auto; gap: 9px; align-items: center; width: 100%; min-height: 58px; padding: 9px 11px; border: 0; border-radius: 15px; background: transparent; color: var(--grey); cursor: pointer; text-align: left; transition: background .2s, color .2s, transform .2s; }
.body-region-button:hover { background: var(--near-white); color: var(--ink); transform: translateX(2px); }
.body-region-button.active { background: var(--paper-2); color: var(--coral-dark); }
.body-region-button > span { font-family: "Cormorant Garamond", serif; font-size: 17px; }
.body-region-button strong { font-size: 10px; font-weight: 600; line-height: 1.3; }
.body-region-button small { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.75); font-size: 9px; }

.body-figure-card { position: relative; padding: 24px 14px 20px; border-right: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-2), rgba(245,232,228,.3)); text-align: center; }
.figure-kicker { margin: 0; color: var(--coral-dark); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.figure-stage { position: relative; width: min(100%, 390px); height: 520px; margin: 8px auto 0; }
.person-figure { position: relative; width: 100%; height: 100%; overflow: hidden; transition: transform .35s ease; }
.figure-sprite { position: absolute; top: 0; left: 50%; display: block; width: 175px; height: 100%; transform: translateX(-50%); background-image: url('/symptoms/assets/approved-body-profiles.png'); background-repeat: no-repeat; mix-blend-mode: multiply; }
.person-figure.adult .figure-sprite { background-size: 768px 512px; }
.person-figure.adult.female .figure-sprite { background-position: -21px 0; }
.person-figure.adult.male .figure-sprite { background-position: -206px 0; }
.person-figure.child .figure-sprite { background-size: 952px 635px; }
.person-figure.child.female .figure-sprite { background-position: -517px -145px; }
.person-figure.child.male .figure-sprite { background-position: -724px -145px; }
.figure-hotspots { position: absolute; inset: 0; pointer-events: none; }
.figure-hotspot { position: absolute; z-index: 3; display: flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--grey); cursor: pointer; font-size: 9px; font-weight: 600; pointer-events: auto; white-space: nowrap; transition: color .2s, transform .2s; }
.figure-hotspot > span { width: 13px; height: 13px; border: 3px solid white; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 1px rgba(155,95,84,.3), 0 4px 12px rgba(44,44,44,.12); }
.figure-hotspot b { padding: 5px 8px; border: 1px solid rgba(255,255,255,.9); border-radius: 99px; background: rgba(255,255,255,.78); font: inherit; box-shadow: 0 5px 16px rgba(44,44,44,.05); }
.figure-hotspot:hover, .figure-hotspot.active { color: var(--coral-dark); transform: translateY(-2px); }
.figure-hotspot.active > span { background: var(--ink); transform: scale(1.2); }
.hotspot-head { left: 51%; top: 7%; }
.hotspot-mind { right: 63%; top: 14%; flex-direction: row-reverse; }
.hotspot-fever { left: 66%; top: 22%; }
.hotspot-chest { left: 51%; top: 31%; }
.hotspot-sleep { right: 64%; top: 30%; flex-direction: row-reverse; }
.hotspot-gut { left: 53%; top: 46%; }
.hotspot-skin { left: 68%; top: 53%; }
.hotspot-urinary { right: 61%; top: 55%; flex-direction: row-reverse; }
.hotspot-reproductive { left: 52%; top: 62%; }
.hotspot-hormonal { left: 58%; top: 42%; }
.hotspot-fertility { right: 61%; top: 64%; flex-direction: row-reverse; }
.hotspot-limbs { right: 68%; top: 69%; flex-direction: row-reverse; }
.figure-note { max-width: 300px; margin: -3px auto 0; color: var(--grey); font-size: 9px; line-height: 1.5; }
.figure-map-button { width: min(100%, 290px); margin: 18px auto 0; padding: 14px 20px; box-shadow: 0 10px 24px rgba(184,124,112,.18); }

.guided-symptoms { min-width: 0; padding: 28px; background: var(--white); }
.guided-symptoms-head { display: grid; grid-template-columns: 42px 1fr auto; gap: 13px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.region-marker { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--paper-2); color: var(--coral-dark); font-family: "Cormorant Garamond", serif; font-size: 18px; }
.guided-symptoms h3 { font-size: 28px; line-height: 1.05; }
.guided-symptoms .mini-label { margin-bottom: 4px; }
.region-count { color: var(--grey); font-size: 9px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.region-description { margin: 18px 0; color: var(--grey); font-size: 12px; line-height: 1.55; }
.guided-pill-list { display: flex; flex-direction: column; gap: 8px; max-height: 560px; padding-right: 5px; overflow: auto; }
.guided-subsection-heading { margin: 18px 0 3px; padding: 14px 4px 9px; border-top: 1px solid var(--coral); }
.guided-subsection-heading strong, .guided-subsection-heading small { display: block; }
.guided-subsection-heading strong { color: var(--ink); font-family: "Cormorant Garamond",serif; font-size: 20px; font-weight: 500; }
.guided-subsection-heading small { margin-top: 3px; color: var(--grey); font-size: 8px; line-height: 1.4; }
.guided-clinical-block { margin-top: 18px; border-top: 1px solid var(--coral); }
.guided-clinical-block summary { padding: 14px 5px 11px; color: var(--ink); cursor: pointer; list-style-position: outside; }
.guided-clinical-block summary strong, .guided-clinical-block summary small { display: block; }
.guided-clinical-block summary strong { font-family: "Cormorant Garamond",serif; font-size: 20px; font-weight: 500; }
.guided-clinical-block summary small { margin-top: 3px; color: var(--grey); font-size: 8px; }
.guided-clinical-block > div { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.guided-symptom { display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 11px; line-height: 1.4; text-align: left; transition: background .2s, border-color .2s, transform .2s; }
.guided-symptom:hover { border-color: rgba(184,124,112,.65); transform: translateX(2px); }
.guided-symptom.selected { border-color: var(--coral); background: var(--paper-2); }

.all-symptoms-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; align-items: end; margin: 0 0 30px; padding-top: 42px; border-top: 1px solid var(--line); }
.all-symptoms-heading h3 { font-size: clamp(36px, 4vw, 52px); }
.all-symptoms-heading > p { max-width: 430px; margin: 0 0 5px; color: var(--grey); font-size: 13px; line-height: 1.6; }
.source-key { display: flex; flex-wrap: wrap; gap: 9px 20px; color: var(--grey); font-size: 10px; }
.source-key-bottom { margin: 28px 0 0; padding: 16px 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.source-key span { display: inline-flex; align-items: center; gap: 7px; }
.source-key b, .source-badge { color: var(--coral-dark); font-weight: 700; }
.source-key a { color: inherit; text-underline-offset: 2px; }
.source-badge { display: inline-block; margin-left: 3px; font-family: Arial, sans-serif; font-size: 8px; line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.source-badge.aonm { color: #6f6246; }

.search-row { display: flex; gap: 14px; }
.search-box { display: flex; align-items: center; gap: 12px; flex: 1; min-height: 54px; padding: 0 20px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.search-box span { font-size: 26px; color: #6a7b77; transform: rotate(-20deg); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; }
.quiet-button { border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; background: var(--paper); color: #5e716d; cursor: pointer; font-size: 12px; font-weight: 700; }
.index-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0 26px; color: var(--grey); font-size: 10px; }
.selected-only-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; background: white; color: #536b66; cursor: pointer; font-size: 11px; font-weight: 700; }
.selected-only-toggle span { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--paper-2); color: var(--coral-dark); }
.selected-only-toggle.active { border-color: var(--coral-dark); background: var(--paper-2); color: var(--coral-dark); }
.guided-empty { margin: auto; padding: 36px 20px; color: var(--grey); font-size: 12px; line-height: 1.6; text-align: center; }
.guided-subsection { margin: 0 0 16px; }
.guided-subsection h4 { margin: 0 0 8px; color: var(--coral-dark); font-family: "Cormorant Garamond", serif; font-size: 20px; font-weight: 500; }
.guided-subsection > div { display: grid; gap: 8px; }
.guided-history-block summary, .history-findings-block summary { background: rgba(244,237,225,.55); }
.symptom-layout { display: grid; grid-template-columns: minmax(0,1fr) 315px; gap: 36px; align-items: start; }
.result-meta { display: flex; justify-content: space-between; margin-bottom: 13px; color: #778580; font-size: 11px; }
.symptom-grid { display: flex; flex-direction: column; gap: 9px; }
.symptom-accordion { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; transition: border-color .18s, box-shadow .18s; }
.symptom-accordion.open { border-color: rgba(184,124,112,.55); box-shadow: 0 12px 32px rgba(83,72,62,.06); }
.symptom-accordion-header { display: grid; grid-template-columns: minmax(0,1fr) auto 30px; gap: 14px; align-items: center; width: 100%; min-height: 68px; padding: 13px 16px 13px 20px; border: 0; background: transparent; color: var(--ink-deep); cursor: pointer; text-align: left; }
.symptom-accordion-header > span:first-child strong, .symptom-accordion-header > span:first-child small { display: block; }
.symptom-accordion-header strong { font-family: "Cormorant Garamond",serif; font-size: 23px; font-weight: 500; }
.symptom-accordion-header small { margin-top: 2px; color: var(--grey); font-size: 9px; }
.accordion-selection { min-width: 74px; color: var(--coral-dark); font-size: 9px; font-weight: 800; letter-spacing: .04em; text-align: right; text-transform: uppercase; }
.accordion-selection.has-selection::before { content: '✓'; margin-right: 5px; }
.accordion-icon { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; color: var(--coral-dark); font-size: 20px; font-weight: 300; }
.symptom-accordion.open .accordion-icon { border-color: var(--coral-dark); background: var(--paper-2); }
.symptom-accordion-content { display: flex; flex-wrap: wrap; gap: 9px; padding: 2px 12px 14px; border-top: 1px solid rgba(226,221,211,.75); }
.symptom-accordion-content[hidden] { display: none; }
.symptom-accordion-content .symptom-card { margin-top: 9px; }
.index-empty { min-height: 160px; }
.symptom-subsection-heading { flex: 0 0 100%; margin: 30px 0 3px; padding: 17px 18px; border-top: 1px solid var(--coral); border-radius: 14px; background: var(--paper-2); }
.symptom-subsection-heading span, .symptom-subsection-heading small { display: block; }
.symptom-subsection-heading span { color: var(--ink); font-family: "Cormorant Garamond",serif; font-size: 24px; }
.symptom-subsection-heading small { margin-top: 3px; color: var(--grey); font-size: 9px; }
.clinical-findings-block { flex: 0 0 100%; margin-top: 26px; border-top: 1px solid var(--coral); border-radius: 14px; background: var(--paper-2); }
.clinical-findings-block summary { padding: 17px 20px; cursor: pointer; }
.clinical-findings-block summary span, .clinical-findings-block summary small { display: block; }
.clinical-findings-block summary span { color: var(--ink); font-family: "Cormorant Garamond",serif; font-size: 24px; }
.clinical-findings-block summary small { margin-top: 3px; color: var(--grey); font-size: 9px; }
.clinical-findings-grid { display: flex; flex-wrap: wrap; gap: 9px; padding: 0 12px 12px; }
.clinical-findings-grid .symptom-card { background: rgba(255,255,255,.82); }
.symptom-card { position: relative; display: flex; flex: 1 1 270px; gap: 10px; align-items: flex-start; min-height: 58px; padding: 12px 34px 12px 13px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink-deep); cursor: pointer; text-align: left; transition: transform .18s, border .18s, background .18s; }
.symptom-card:hover { transform: translateY(-2px); border-color: rgba(206,147,143,.8); }
.symptom-card.selected { border-color: var(--coral-dark); background: var(--paper-2); box-shadow: inset 4px 0 0 var(--coral-dark); }
.check { display: grid; place-items: center; flex: 0 0 21px; width: 21px; height: 21px; margin-top: 1px; border: 1px solid #9ca9a5; border-radius: 50%; color: white; font-size: 12px; }
.selected .check { border-color: var(--coral); background: var(--coral); }
.symptom-card strong { display: block; font-size: 13px; line-height: 1.4; font-weight: 600; }
.symptom-card small { display: block; margin-top: 5px; color: #83908c; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.association-dots { position: absolute; right: 11px; bottom: 9px; display: flex; gap: 3px; }
.association-dots i { width: 5px; height: 5px; border-radius: 50%; }
.selection-panel { position: sticky; top: 102px; padding: 22px; border-radius: 24px; background: var(--paper-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.85); }
.selection-heading { display: flex; align-items: end; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.mini-label { display: block; margin-bottom: 5px; color: var(--coral-dark); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.selection-heading strong { font-family: "Cormorant Garamond", serif; font-size: 24px; font-weight: 400; }
.selection-heading button { border: 0; background: transparent; color: #6a7d78; cursor: pointer; font-size: 10px; text-decoration: underline; }
.selection-heading-actions { display: flex; align-items: center; gap: 9px; }
.close-mobile-selection, .mobile-selection-bar { display: none; }
.selection-purpose { margin: 12px 0 0; color: var(--coral-dark); font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.selected-list { display: flex; flex-direction: column; gap: 7px; min-height: 150px; max-height: 345px; margin: 15px 0; overflow: auto; }
.empty-state { margin: auto 10px; color: #82908c; font-size: 12px; line-height: 1.6; text-align: center; }
.selected-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 10px; background: white; font-size: 10px; line-height: 1.35; }
.selected-item button { flex: 0 0 20px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: #eee9df; color: #6f7a77; cursor: pointer; }
.map-button { width: 100%; background: var(--coral); color: white; }
.map-button.disabled { opacity: .35; pointer-events: none; }
.selection-map-button { border: 0; cursor: pointer; box-shadow: 0 10px 24px rgba(184,124,112,.18); }
.selection-map-button:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }

.pathogen-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.pathogen-group { padding: 18px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg,var(--gt),white 80%); }
.pathogen-group-head { display: flex; gap: 10px; align-items: center; padding: 2px 2px 14px; }
.pathogen-group-head > span { width: 14px; height: 14px; border: 3px solid var(--gc); border-radius: 50%; }
.pathogen-group-head strong, .pathogen-group-head small { display: block; }
.pathogen-group-head strong { color: var(--ink); font-family: "Cormorant Garamond",serif; font-size: 24px; font-weight: 500; }
.pathogen-group-head small { color: var(--grey); font-size: 9px; }
.pathogen-group-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.pathogen-card { min-height: 170px; padding: 19px; border: 1px solid transparent; border-radius: 20px; cursor: pointer; text-align: left; transition: transform .2s; }
.pathogen-card:hover { transform: translateY(-3px); }
.pathogen-card.active { outline: 2px solid var(--pc); outline-offset: 2px; }
.pathogen-card .pathogen-orb { display: grid; place-items: center; width: 51px; height: 51px; margin-bottom: 25px; border-radius: 50%; color: white; background: var(--pc); font-family: "Cormorant Garamond", serif; font-size: 23px; }
.pathogen-card strong, .pathogen-card small { display: block; }
.pathogen-card strong { font-family: "Cormorant Garamond", serif; font-size: 24px; font-weight: 400; }
.pathogen-card small { margin-top: 3px; color: #61716e; font-size: 10px; }
.pathogen-card.developing { border-style: dashed; border-color: rgba(100,115,110,.25); }
.pathogen-card.developing .pathogen-orb { background: transparent; border: 1px solid var(--pc); color: var(--pc); }
.pathogen-detail { margin-top: 18px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.pathogen-detail-head { display: flex; justify-content: space-between; gap: 25px; align-items: flex-end; margin-bottom: 22px; }
.pathogen-detail h3 { margin: 0; font-family: "Cormorant Garamond", serif; color: var(--ink); font-size: 38px; font-weight: 400; }
.pathogen-detail p { margin: 5px 0 0; color: #6c7d79; font-size: 12px; }
.pathogen-explainer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.pathogen-explainer > div { padding: 17px 18px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, var(--paper), white); }
.pathogen-explainer p { color: var(--ink-deep); font-size: 11px; line-height: 1.6; }
.pathogen-purpose-note { display: flex; gap: 12px; margin: 0 0 18px; padding: 13px 15px; border-left: 3px solid #aaa19a; background: var(--paper); color: var(--grey); font-size: 10px; line-height: 1.5; }
.pathogen-purpose-note.has-context { border-color: var(--coral-dark); background: var(--paper-2); }
.pathogen-purpose-note strong { color: var(--ink); white-space: nowrap; }
.detail-symptoms { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.detail-symptom { display: flex; gap: 9px; align-items: center; padding: 10px; border-radius: 10px; background: var(--paper); color: #314d49; font-size: 10px; line-height: 1.35; }
.detail-symptom i { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--pc); }
.detail-symptom.partial i { background: transparent; border: 1px solid var(--pc); }
.pathogen-info-note { display: flex; gap: 12px; margin: 0 0 18px; padding: 13px 15px; border-left: 3px solid var(--gold); background: var(--paper); color: var(--grey); font-size: 10px; line-height: 1.5; }
.pathogen-info-note strong { color: var(--ink); white-space: nowrap; }
.associated-conditions { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-2); }
.associated-conditions > div { display: flex; flex-wrap: wrap; gap: 7px; }
.associated-conditions span { padding: 7px 10px; border-radius: 999px; background: white; color: var(--ink); font-size: 10px; }
.associated-conditions small { display: block; margin-top: 10px; color: var(--grey); font-size: 9px; }

.cirs-calculator { padding: 10px 0 20px; }
.cirs-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: end; margin-bottom: 25px; }
.cirs-intro h3 { margin: 0; color: var(--ink); font-family: "Cormorant Garamond", serif; font-size: clamp(38px, 4vw, 56px); font-weight: 500; line-height: 1; }
.cirs-intro > p { margin: 0 0 4px; color: var(--grey); font-size: 13px; line-height: 1.6; }
.cirs-score-card { display: grid; grid-template-columns: auto 1fr; gap: 4px 24px; align-items: center; margin-bottom: 22px; padding: 22px 25px; border: 1px solid rgba(206,147,143,.45); border-radius: 20px; background: linear-gradient(135deg, var(--paper-2), white); }
.cirs-score-card .mini-label { grid-column: 1; }
.cirs-score-card strong { grid-column: 1; grid-row: 2 / span 2; color: var(--coral-dark); font-family: "Cormorant Garamond", serif; font-size: 35px; font-weight: 500; }
.cirs-score-card p, .cirs-score-card small { grid-column: 2; margin: 0; }
.cirs-score-card p { color: var(--ink); font-size: 12px; font-weight: 700; }
.cirs-score-card small { color: var(--grey); font-size: 10px; line-height: 1.5; }
.cirs-cluster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cirs-cluster { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; }
.cirs-cluster.active { border-color: var(--coral); box-shadow: inset 0 3px 0 var(--coral); }
.cirs-cluster header { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 13px 14px; border-bottom: 1px solid var(--line); background: rgba(245,232,228,.38); }
.cirs-cluster header span { color: var(--coral-dark); font-family: "Cormorant Garamond", serif; font-size: 21px; }
.cirs-cluster header strong { color: var(--ink); font-size: 11px; }
.cirs-cluster header small { color: var(--grey); font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.cirs-cluster > div { display: grid; gap: 1px; padding: 7px; }
.cirs-symptom { display: flex; gap: 8px; align-items: flex-start; width: 100%; padding: 8px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-deep); cursor: pointer; text-align: left; font-size: 10px; line-height: 1.35; }
.cirs-symptom:hover, .cirs-symptom.selected { background: var(--paper-2); }
.cirs-symptom .check { flex-basis: 18px; width: 18px; height: 18px; font-size: 10px; }
.cirs-notice { margin-top: 20px; }
.source-link { margin: 12px 0 0; color: var(--grey); font-size: 10px; }
.source-link a { color: var(--coral-dark); }

.pattern-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px,7vw,110px); align-items: center; min-height: 820px; padding: 110px clamp(24px,7vw,112px); background: var(--paper-2); }
.pattern-copy > p:not(.eyebrow) { color: #5e726d; line-height: 1.7; }
.cirs-map-prompt { display: grid; grid-template-columns: 38px 1fr; gap: 13px; margin: 24px 0 0; padding: 18px; border: 1px solid rgba(184,124,112,.32); border-radius: 18px; background: rgba(255,255,255,.72); }
.cirs-prompt-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--paper-2); color: var(--coral-dark); font-size: 17px; }
.cirs-map-prompt .mini-label { margin: 0 0 6px; }
.cirs-map-prompt strong { display: block; color: var(--ink); font-size: 13px; line-height: 1.45; }
.cirs-map-prompt p:not(.mini-label) { margin: 7px 0 12px; color: #64736f; font-size: 10px; line-height: 1.55; }
.cirs-map-prompt button { display: inline-flex; gap: 18px; align-items: center; border: 0; border-bottom: 1px solid rgba(184,124,112,.42); padding: 0 0 3px; background: transparent; color: var(--coral-dark); cursor: pointer; font-size: 10px; font-weight: 800; }
.pattern-legend { display: grid; gap: 12px; margin: 30px 0; }
.pattern-legend > div { display: flex; gap: 12px; align-items: center; }
.legend-dot { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--coral); }
.legend-dot.partial { background: transparent; border: 2px solid var(--coral); }
.pattern-legend p, .pattern-legend small { display: block; margin: 0; }
.pattern-legend strong { font-size: 12px; }
.pattern-legend small { margin-top: 2px; color: #7a8783; font-size: 9px; }
.notice { padding: 17px; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(255,253,248,.7); color: #64736f; font-size: 10px; line-height: 1.55; }
.notice strong { display: block; color: var(--ink); font-size: 11px; }
.map-card { min-width: 0; padding: 18px; border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.map-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 2px 8px 14px; color: #6d7d79; font-size: 10px; }
.map-toolbar button { border: 0; background: transparent; color: var(--coral-dark); cursor: pointer; font-size: 10px; font-weight: 700; }
.bubble-map { position: relative; min-height: 520px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--near-white); }
.bubble-map::before { content: ""; position: absolute; inset: 24px; border: 1px dashed rgba(23,63,59,.1); border-radius: 50%; pointer-events: none; }
.map-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; color: #93a09c; font-size: 12px; }
.map-empty span { font-size: 28px; color: var(--gold); }
.bubble { position: absolute; display: grid; place-content: center; padding: 4px; border: 0; border-radius: 50%; color: white; cursor: pointer; text-align: center; transform: translate(-50%,-50%) scale(.8); opacity: 0; animation: bubbleIn .55s forwards; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 7px 18px rgba(42,42,42,.13); transition: filter .18s ease; }
.bubble:hover { filter: brightness(1.06); }
.bubble strong { display: block; max-width: 90%; margin: auto; font-family: "Cormorant Garamond", serif; font-size: clamp(12px,1.35vw,19px); font-weight: 600; line-height: 1.05; }
.bubble small { display: block; max-width: 86%; margin: 5px auto 0; font-size: 7px; line-height: 1.05; opacity: .75; }
@keyframes bubbleIn { to { transform: translate(-50%,-50%) scale(1); opacity: .9; } }
.family-key { position: absolute; top: 10px; left: 12px; right: 12px; z-index: 30; display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 10px; pointer-events: none; }
.family-key span { display: inline-flex; gap: 5px; align-items: center; padding: 4px 7px; border-radius: 999px; background: rgba(255,255,255,.82); color: var(--grey); font-size: 7px; box-shadow: 0 2px 8px rgba(42,42,42,.05); }
.family-key i { width: 7px; height: 7px; border: 2px solid var(--gc); border-radius: 50%; }
.bubble-group { position: relative; z-index: 1; min-height: 190px; padding: 16px; border: 2px solid var(--gc); border-radius: 50%; background: color-mix(in srgb,var(--gt) 75%,white); animation: groupIn .5s both; animation-delay: var(--delay); }
.bubble-group header { text-align: center; }
.bubble-group header strong, .bubble-group header small { display: block; }
.bubble-group header strong { color: var(--gc); font-family: "Cormorant Garamond",serif; font-size: 18px; line-height: 1; }
.bubble-group header small { margin-top: 3px; color: var(--grey); font-size: 8px; }
.bubble-children { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px; margin-top: 9px; }
.child-bubble { display: grid; place-content: center; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: white; cursor: pointer; text-align: center; box-shadow: 0 4px 10px rgba(42,42,42,.1); transition: transform .18s; }
.child-bubble:hover { transform: scale(1.06); }
.child-bubble strong { display: block; max-width: 90px; padding: 0 4px; font-family: "Cormorant Garamond",serif; font-size: 11px; font-weight: 600; line-height: .95; }
.child-bubble small { font-size: 7px; opacity: .82; }
@keyframes groupIn { from { opacity:0; transform:scale(.92); } to { opacity:1; transform:scale(1); } }
.ranking { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-top: 13px; }
.rank-item { position: relative; width: 100%; padding: 9px 28px 9px 10px; border: 1px solid transparent; border-radius: 10px; background: var(--paper); color: var(--near-black); cursor: pointer; font-size: 9px; text-align: left; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.rank-item:hover { transform: translateY(-2px); border-color: var(--coral); background: var(--near-white); }
.rank-item:focus-visible { outline: 2px solid var(--coral-dark); outline-offset: 2px; }
.rank-item:active { transform: translateY(0); }
.rank-item strong { display: block; margin-bottom: 2px; font-size: 10px; }
.rank-arrow { position: absolute; top: 8px; right: 10px; color: var(--coral-dark); font-size: 12px; opacity: 0; transform: translate(-3px, 3px); transition: opacity .18s ease, transform .18s ease; }
.rank-item:hover .rank-arrow, .rank-item:focus-visible .rank-arrow { opacity: 1; transform: translate(0, 0); }
.rank-bar { height: 3px; margin-top: 6px; border-radius: 4px; background: #ddd8cc; overflow: hidden; }
.rank-bar i { display: block; height: 100%; border-radius: 4px; }

.about-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px 80px; padding: 110px clamp(24px,7vw,112px); background: var(--ink); color: white; }
.about-section h2 { color: white; max-width: 650px; }
.about-copy { color: rgba(255,255,255,.7); line-height: 1.7; }
.principle-card { position: relative; padding: 30px; border-top: 1px solid rgba(255,255,255,.25); }
.principle-card:nth-of-type(3) { grid-column: 1; }
.principle-card:nth-of-type(4) { grid-column: 2; grid-row: 3; }
.principle-card:nth-of-type(5) { grid-column: 1 / -1; }
.principle-card span { color: var(--gold); font-size: 10px; }
.principle-card strong { display: block; margin-top: 25px; font-family: "Cormorant Garamond", serif; font-size: 27px; font-weight: 400; }
.principle-card p { max-width: 480px; color: rgba(255,255,255,.65); font-size: 12px; }
.references-section { padding: 110px clamp(24px,7vw,112px); background: var(--white); color: var(--ink); }
.references-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; max-width: 1250px; margin: 0 auto 45px; }
.references-heading h2 { margin: 0; }
.references-heading > p { max-width: 520px; margin: 0 0 8px; color: var(--grey); font-size: 13px; line-height: 1.65; }
.reference-groups { display: grid; grid-template-columns: .72fr 1.28fr; gap: 18px; max-width: 1250px; margin: auto; }
.reference-group { padding: 27px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.reference-group-wide { background: linear-gradient(145deg, var(--paper-2), white 65%); }
.reference-group-full { grid-column: 1 / -1; background: linear-gradient(145deg, white, var(--paper) 75%); }
.reference-group-head { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.reference-group-head > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: white; color: var(--coral-dark); font-family: "Cormorant Garamond", serif; font-size: 18px; }
.reference-group h3 { margin: 0; color: var(--ink); font-family: "Cormorant Garamond", serif; font-size: 28px; font-weight: 500; }
.reference-list { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: references; }
.reference-list-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.reference-list-grid-three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.reference-list li { counter-increment: references; }
.reference-list a { position: relative; display: block; min-height: 76px; padding: 13px 38px 13px 14px; border: 1px solid rgba(216,209,199,.8); border-radius: 14px; background: rgba(255,255,255,.78); color: var(--ink); text-decoration: none; transition: transform .18s, border-color .18s; }
.reference-list a::after { content: '↗'; position: absolute; top: 13px; right: 14px; color: var(--coral-dark); }
.reference-list a:hover { transform: translateY(-2px); border-color: var(--coral); }
.supplied-reference-list > li > div { display: block; min-height: 76px; padding: 13px 14px; border: 1px solid rgba(216,209,199,.8); border-radius: 14px; background: rgba(255,255,255,.78); color: var(--ink); }
.reference-list strong, .reference-list small { display: block; }
.reference-list strong { padding-right: 8px; font-size: 11px; line-height: 1.35; }
.reference-list small { margin-top: 6px; color: var(--grey); font-size: 9px; line-height: 1.45; }
.references-note { max-width: 1250px; margin: 20px auto 0; padding: 15px 18px; border-left: 3px solid var(--gold); background: var(--paper); color: var(--grey); font-size: 10px; line-height: 1.55; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 42px clamp(24px,7vw,112px); background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
footer strong, footer small { display: block; }
footer strong { font-family: "Cormorant Garamond", serif; font-size: 25px; font-weight: 300; }
footer small, footer p, footer span { color: var(--grey); font-size: 9px; }
footer span { display: block; margin-top: 5px; letter-spacing: .08em; }
footer p { max-width: 470px; text-align: right; line-height: 1.5; }
footer p a { color: var(--coral-dark); text-underline-offset: 2px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; width: min(calc(100% - 24px), 900px); }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 85px; }
  .hero-visual { min-height: 510px; margin-top: 60px; }
  .how-strip { padding: 10px; }
  .how-strip > div { padding: 22px 16px; }
  .guided-intro, .all-symptoms-heading { grid-template-columns: 1fr; gap: 18px; }
  .cirs-intro { grid-template-columns: 1fr; gap: 18px; }
  .cirs-cluster-grid { grid-template-columns: repeat(2, 1fr); }
  .person-chooser { grid-template-columns: 1fr 1fr; }
  .profile-summary { grid-column: 1 / -1; min-width: 0; margin: 0; text-align: left; }
  .body-explorer { grid-template-columns: 190px 1fr; }
  .guided-symptoms { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .guided-pill-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; }
  .symptom-layout { grid-template-columns: 1fr; }
  .selection-panel { position: fixed; z-index: 80; right: 16px; bottom: 16px; left: 16px; top: auto; max-height: min(78vh, 680px); overflow: auto; transform: translateY(calc(100% + 34px)); transition: transform .25s ease; box-shadow: 0 24px 70px rgba(48,41,36,.22), inset 0 0 0 1px rgba(255,255,255,.85); }
  .selection-panel.mobile-open { transform: translateY(0); }
  .close-mobile-selection { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: white !important; font-size: 18px !important; text-decoration: none !important; }
  .mobile-selection-bar { position: fixed; z-index: 70; right: 18px; bottom: 16px; left: 18px; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 10px 16px; border: 0; border-radius: 16px; background: var(--coral); color: white; box-shadow: 0 12px 34px rgba(98,67,61,.25); font-size: 11px; }
  .mobile-selection-bar strong { font-size: 15px; }
  .pathogen-grid { grid-template-columns: repeat(2,1fr); }
  .detail-symptoms { grid-template-columns: repeat(2,1fr); }
  .pattern-section { grid-template-columns: 1fr; }
  .references-heading { grid-template-columns: 1fr; gap: 18px; }
  .summary-intro, .summary-review-head { grid-template-columns: 1fr; gap: 16px; }
  .summary-profile { grid-template-columns: 1fr 1fr; }
  .summary-profile > p { grid-column: 1 / -1; max-width: none; }
  .reference-groups { grid-template-columns: 1fr; }
  .reference-group-full { grid-column: 1; }
  .reference-list-grid-three { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .dev-banner { align-items: flex-start; flex-direction: column; gap: 2px; padding: 8px 16px; text-align: left; }
  .site-header { min-height: 68px; width: 100%; padding: 10px 16px; }
  .brand-mark { flex-basis: 36px; width: 36px; height: 36px; }
  .brand strong { font-size: 21px; }
  .brand small { display: none; }
  .selection-pill { padding: 6px 9px; }
  .hero { min-height: auto; padding: 48px 20px 50px; }
  .hero-badges { margin-bottom: 28px; padding: 7px; border-radius: 22px; }
  .hero-badges a { min-height: 44px; padding: 8px; font-size: 9px; letter-spacing: .06em; }
  h1 { font-size: clamp(50px,15vw,72px); }
  .hero-intro { margin: 25px 0; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-visual { min-height: 400px; transform: scale(.82); margin: 20px -50px -30px; }
  .how-strip { grid-template-columns: 1fr; width: calc(100% - 34px); margin-bottom: 0; padding: 8px; }
  .how-strip > div, .how-strip > div:last-child { border: 1px solid rgba(255,255,255,.85); }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .explorer { padding: 42px 17px 75px; }
  .guided-explorer { margin-bottom: 0; }
  .guided-intro h3 { font-size: 39px; }
  .purpose-options { grid-template-columns: 1fr; }
  .purpose-option { min-height: 0; }
  .person-chooser { grid-template-columns: 1fr; padding: 16px; }
  .profile-summary { grid-column: 1; }
  .body-explorer { display: flex; flex-direction: column; border-radius: 24px; }
  .body-region-rail { order: 1; flex-direction: row; gap: 7px; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .body-region-button { flex: 0 0 150px; min-height: 52px; }
  .body-figure-card { order: 2; border-right: 0; border-bottom: 1px solid var(--line); }
  .figure-stage { height: 520px; }
  .figure-hotspot b { display: none; }
  .guided-symptoms { order: 3; padding: 22px 16px; border-top: 0; }
  .guided-symptoms-head { grid-template-columns: 38px 1fr; }
  .region-marker { width: 38px; height: 38px; }
  .region-count { grid-column: 2; }
  .guided-pill-list { display: flex; }
  .all-symptoms-heading { padding-top: 42px; }
  .view-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 24px; }
  .view-tab { min-width: 0; padding: 11px 8px; font-size: 10px; }
  .summary-extractor { padding-top: 4px; }
  .summary-form, .summary-review { padding: 18px 15px; border-radius: 22px; }
  .summary-profile { grid-template-columns: 1fr; padding: 15px; }
  .summary-profile > p { grid-column: 1; }
  .summary-field textarea { min-height: 220px; padding: 14px; }
  .summary-field-meta, .summary-submit-row, .summary-review-actions { align-items: stretch; flex-direction: column; }
  .summary-field-meta { gap: 4px; }
  .summary-match-list { grid-template-columns: 1fr; }
  .summary-submit, .summary-review-actions .button { width: 100%; min-width: 0; }
  .cirs-score-card { grid-template-columns: 1fr; }
  .cirs-score-card strong, .cirs-score-card p, .cirs-score-card small { grid-column: 1; grid-row: auto; }
  .cirs-cluster-grid { grid-template-columns: 1fr; }
  .quiet-button { display: none; }
  .index-actions { align-items: flex-start; flex-direction: column; }
  .symptom-accordion-header { grid-template-columns: minmax(0,1fr) auto 30px; padding-left: 15px; }
  .symptom-accordion-header strong { font-size: 20px; }
  .accordion-selection { min-width: 0; }
  .symptom-card { flex-basis: 100%; }
  .pathogen-grid { grid-template-columns: 1fr; }
  .pathogen-group-cards { grid-template-columns: 1fr 1fr; }
  .pathogen-card { min-height: 145px; }
  .detail-symptoms { grid-template-columns: 1fr; }
  .pathogen-detail { padding: 20px; }
  .pathogen-detail-head { align-items: flex-start; flex-direction: column; }
  .pathogen-explainer { grid-template-columns: 1fr; }
  .pathogen-purpose-note { flex-direction: column; gap: 4px; }
  .pattern-section { padding: 80px 17px; }
  .bubble-map { min-height: 430px; }
  .bubble strong { font-size: 11px; }
  .bubble small { font-size: 6px; }
  .ranking { grid-template-columns: repeat(2,1fr); }
  .about-section { grid-template-columns: 1fr; padding: 80px 20px; gap: 30px; }
  .references-section { padding: 80px 20px; }
  .reference-list-grid { grid-template-columns: 1fr; }
  .principle-card, .principle-card:nth-of-type(3), .principle-card:nth-of-type(4), .principle-card:nth-of-type(5) { grid-column: 1; grid-row: auto; }
  footer { align-items: flex-start; flex-direction: column; }
  footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


