/* Discovery is an additive layout: existing detail pages retain their styles. */
body.discovery-page {
  --discovery-ink: #1d3b50;
  --discovery-muted: #536b7a;
  --discovery-line: #cddbe2;
  --discovery-wash: #eff5f7;
  background: #fbfcfd;
  color: var(--discovery-ink);
}
body.discovery-page.has-comparison-tray { padding-bottom: 138px; }
body.discovery-page :is(button, a, input, select, summary) { touch-action: manipulation; }
body.discovery-page :is(button, input, select) { min-height: 44px; }
body.discovery-page :is(a, button, input, select, summary):focus-visible {
  outline: 3px solid #2c5a78;
  outline-offset: 4px;
}
body.discovery-page :is(#directory, #candidate-title, #discovery-results, #comparison-section, #visual-map-view, #distribution-view) {
  scroll-margin-top: 126px;
}
body.discovery-page .discovery-hero {
  position: relative;
  isolation: isolate;
  min-height: 240px;
  overflow: hidden;
  background: #edf4f6;
}
body.discovery-page .discovery-hero .hero-image {
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  opacity: .73;
  mask-image: linear-gradient(90deg, transparent, #000 25%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%);
}
body.discovery-page .discovery-hero::after {
  position: absolute;
  content: "";
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, #eef5f7 0%, #eef5f7de 35%, #eef5f700 80%);
}
body.discovery-page .discovery-hero .hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 34px 36px;
}
body.discovery-page .discovery-hero .kicker { margin-bottom: 10px; font-size: 12px; }
body.discovery-page .discovery-hero h1 {
  font: 400 clamp(30px, 3.2vw, 44px)/1.5 var(--serif);
  letter-spacing: .035em;
  max-width: 700px;
}
body.discovery-page .discovery-hero h1 span { display: inline; padding: 0; }
body.discovery-page .discovery-hero .hero-description {
  max-width: 550px;
  margin-top: 13px;
  font-size: 14px;
  line-height: 1.9;
}
body.discovery-page .discovery-search-dock {
  position: sticky;
  top: 0;
  z-index: 35;
  background: #fcfdfdf5;
  border-block: 1px solid #d8e3e8;
  box-shadow: 0 5px 18px #233d5007;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.discovery-page .discovery-search-inner {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 14px var(--gutter);
}
body.discovery-page #discovery-search { margin: 0; flex: 1; min-width: 0; }
body.discovery-page .discovery-search-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 54px;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
body.discovery-page .discovery-search-dock .search-label {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 500;
}
body.discovery-page .discovery-search-dock .search-field {
  min-height: 54px;
  padding: 2px 6px 2px 17px;
  gap: 13px;
  border: 1px solid #a4bbc9;
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
}
body.discovery-page .discovery-search-dock .search-field:focus-within {
  border-color: #2e5973;
  box-shadow: 0 0 0 1px #2e5973;
}
body.discovery-page .discovery-search-dock input[type="search"] {
  min-width: 0;
  min-height: 46px;
  padding-block: 10px;
  font-size: 16px;
}
body.discovery-page .discovery-search-dock input::placeholder { font-size: 14px; color: #647985; }
body.discovery-page .discovery-search-dock .search-clear { font-size: 12px; padding-inline: 8px; }
body.discovery-page .discovery-search-dock .search-submit {
  flex: none;
  min-width: 68px;
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid #294b62;
  border-radius: 3px;
  background: #294b62;
  color: white;
  font-size: 13px;
}
body.discovery-page .directory { padding-top: 30px; padding-bottom: 64px; }
body.discovery-page .concern-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 18px;
}
body.discovery-page .concern-heading :is(h2, h3) {
  font: 400 27px/1.55 var(--serif);
  letter-spacing: .025em;
}
body.discovery-page .concern-heading p { color: var(--discovery-muted); font-size: 12px; }
body.discovery-page .concern-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
}
body.discovery-page .concern-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 155px;
  padding: 19px 17px 15px;
  border: 1px solid var(--discovery-line);
  border-radius: 5px;
  background: linear-gradient(155deg, #fff, #f4f8f9);
  text-align: left;
  color: var(--discovery-ink);
  font-family: var(--sans);
  box-shadow: none;
}
body.discovery-page .concern-tile:hover { border-color: #7595a8; background: #f0f6f8; }
body.discovery-page .concern-tile[aria-pressed="true"] {
  border-color: #335b74;
  background: #eaf2f6;
  box-shadow: inset 0 0 0 1px #335b74;
}
body.discovery-page .concern-tile-title {
  display: block;
  padding-right: 16px;
  font: 400 19px/1.55 var(--serif);
  overflow-wrap: anywhere;
}
body.discovery-page .concern-tile-description {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.8;
  color: #526d7e;
}
body.discovery-page .concern-tile-count {
  display: block;
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  line-height: 1.65;
  color: #4b6677;
}
body.discovery-page .concern-check {
  position: absolute;
  top: 17px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-size: 14px;
  visibility: hidden;
}
body.discovery-page .concern-tile[aria-pressed="true"] .concern-check { visibility: visible; }
body.discovery-page .discovery-options { margin-top: 20px; }
body.discovery-page .discovery-options details,
body.discovery-page details.discovery-options {
  border-block: 1px solid #d5e0e6;
  background: #f8fafb;
}
body.discovery-page .discovery-options summary {
  min-height: 52px;
  padding: 13px 17px;
  font-size: 13px;
  cursor: pointer;
}
body.discovery-page .discovery-options summary::marker { color: #53768b; }
body.discovery-page .discovery-options details[open] summary,
body.discovery-page details.discovery-options[open] summary { border-bottom: 1px solid #dce5ea; }
body.discovery-page .discovery-options summary > span { margin-left: 12px; font-size: 11px; color: #617b8b; }
body.discovery-page .optional-conditions-inner { display: grid; grid-template-columns: 1fr 1fr; }
body.discovery-page details.discovery-options > p { margin: 0; padding: 0 17px 14px; color: #607785; font-size: 12px; }
body.discovery-page .optional-condition {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 60px;
  padding: 14px 17px;
  cursor: pointer;
}
body.discovery-page .optional-condition + .optional-condition { border-left: 1px solid #e0e8ec; }
body.discovery-page .optional-condition input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 4px 0 0;
  accent-color: #294f69;
}
body.discovery-page .optional-condition > span { min-width: 0; }
body.discovery-page .optional-condition strong { display: block; font-weight: 500; font-size: 13px; }
body.discovery-page .optional-condition small { display: block; margin-top: 4px; color: #5c7281; font-size: 12px; line-height: 1.8; }
body.discovery-page #active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
body.discovery-page #active-filters:empty { display: none; }
body.discovery-page .discovery-guides { margin-top: 30px; scroll-margin-top: 126px; }
body.discovery-page .discovery-guides > h2 {
  margin-bottom: 12px;
  font: 400 20px/1.6 var(--serif);
  letter-spacing: .025em;
}
body.discovery-page .discovery-guide-list { display: grid; gap: 12px; }
body.discovery-page .discovery-guide-card {
  display: flex;
  align-items: center;
  gap: 20px 30px;
  padding: 22px 26px;
  border: 1px solid #c9d8df;
  border-radius: 6px;
  background: linear-gradient(115deg, #eff5f7, #fff 80%);
}
body.discovery-page .discovery-guide-copy { flex: 1; min-width: 0; }
body.discovery-page .discovery-guide-label { margin-bottom: 5px; color: #526f80; font-size: 11px; letter-spacing: .08em; }
body.discovery-page .discovery-guide-card h3 { font: 400 22px/1.65 var(--serif); overflow-wrap: anywhere; }
body.discovery-page .discovery-guide-card h3 a { text-decoration: underline; text-decoration-color: #a9bfcd; text-underline-offset: 5px; }
body.discovery-page .discovery-guide-lead { margin-top: 8px; color: #536b7a; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
body.discovery-page .discovery-guide-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid #92adbd;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
}
body.discovery-page .discovery-guide-link:hover { background: #f0f5f8; }
body.discovery-page .active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #adbfca;
  border-radius: 22px;
  background: #edf4f7;
  color: #294d65;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
body.discovery-page .discovery-results-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 30px;
  padding-bottom: 18px;
}
body.discovery-page .discovery-results-heading :is(h2, h3) { font: 400 27px/1.6 var(--serif); }
body.discovery-page .discovery-results-heading :is(p, #result-status) { font-size: 13px; color: #536c7c; }
body.discovery-page .discovery-results-heading .text-button { min-height: 44px; flex: none; }
body.discovery-page .compare-hint { font-size: 12px; line-height: 1.85; color: #566f80; margin: -3px 0 15px; }
body.discovery-page .attention-note { margin-top: 14px; padding: 12px 15px; border-left: 2px solid #a2baca; background: #f0f5f8; font-size: 12px; line-height: 1.9; color: #526b7d; }
body.discovery-page .discovery-view-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 18px;
  padding: 0 0 20px;
}
body.discovery-page .discovery-view-tools .view-control-buttons { gap: 5px; }
body.discovery-page .discovery-view-tools .view-control-buttons button {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 12px;
}
body.discovery-page .discovery-view-tools > p { max-width: none; font-size: 12px; margin: 0; }
body.discovery-page #ingredient-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  border: 0;
}
body.discovery-page #ingredient-grid .ingredient-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
  padding: 0;
  gap: 0;
  border: 1px solid var(--discovery-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  transition: none;
}
body.discovery-page #ingredient-grid .ingredient-card:hover { background: #fff; border-color: #b8cbd7; box-shadow: none; }
body.discovery-page #ingredient-grid .ingredient-card:hover h3 { text-decoration: none; }
body.discovery-page #ingredient-grid .scalable-thumb {
  flex: none;
  align-self: stretch;
  width: 100%;
  height: 160px;
  aspect-ratio: auto;
  border: 0;
  border-bottom: 1px solid #dbe4e9;
  border-radius: 5px 5px 0 0;
}
body.discovery-page #ingredient-grid .scalable-thumb__label {
  margin: 15px 20px 0;
  width: calc(100% - 40px);
  padding-bottom: 8px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .04em;
}
body.discovery-page #ingredient-grid .scalable-thumb__name {
  margin: 15px 20px 0;
  font-size: clamp(22px, 7.8cqw, 29px);
  line-height: 1.5;
  letter-spacing: .015em;
}
body.discovery-page #ingredient-grid .scalable-thumb__name > span { display: inline; }
body.discovery-page #ingredient-grid .scalable-thumb__name--long { font-size: clamp(20px, 7.2cqw, 27px); }
body.discovery-page #ingredient-grid .scalable-thumb__photo { object-position: 50% 65%; opacity: .6; }
body.discovery-page #ingredient-grid .card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 22px 21px 19px;
}
body.discovery-page #ingredient-grid h3 {
  order: 0;
  margin: 0;
  font: 400 24px/1.65 var(--serif);
  letter-spacing: .01em;
}
body.discovery-page #ingredient-grid h3 > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: #a9bfcd;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
body.discovery-page #ingredient-grid .card-alias {
  order: 1;
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: #5a7180;
}
body.discovery-page #ingredient-grid .card-summary {
  order: 2;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.95;
  color: #3e5666;
}
body.discovery-page #ingredient-grid .discovery-card-caution {
  order: 3;
  margin: 15px 0 0;
  padding: 11px 0 0;
  border-top: 1px solid #dce5ea;
  color: #556d7c;
  font-size: 12px;
  line-height: 1.85;
}
body.discovery-page #ingredient-grid .discovery-card-caution strong { font-weight: 500; color: #2f5065; }
body.discovery-page .is-attention-first #ingredient-grid .discovery-card-caution,
body.discovery-page.is-attention-first #ingredient-grid .discovery-card-caution,
body.discovery-page #ingredient-grid.is-attention-first .discovery-card-caution,
body.discovery-page #ingredient-grid .ingredient-card.is-attention-first .discovery-card-caution { order: 2; }
body.discovery-page .is-attention-first #ingredient-grid .card-summary,
body.discovery-page.is-attention-first #ingredient-grid .card-summary,
body.discovery-page #ingredient-grid.is-attention-first .card-summary,
body.discovery-page #ingredient-grid .ingredient-card.is-attention-first .card-summary { order: 3; }
body.discovery-page #ingredient-grid .card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  order: 4;
  margin-top: auto;
  padding-top: 20px;
}
body.discovery-page #ingredient-grid .card-actions > a,
body.discovery-page #ingredient-grid .compare-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #92adbd;
  border-radius: 4px;
  background: #fff;
  color: #294e68;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  flex: 1 1 100px;
}
body.discovery-page #ingredient-grid .card-actions > a { background: #f0f5f8; }
body.discovery-page #ingredient-grid .discovery-detail-link > span { margin-left: 6px; }
body.discovery-page #ingredient-grid .compare-toggle[aria-pressed="true"] {
  background: #284e67;
  border-color: #284e67;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.discovery-page #compare-tray {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 15px max(22px, calc((100vw - 1120px)/2)) calc(15px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #adc3d0;
  box-shadow: 0 -6px 28px #1f425312;
}
body.discovery-page #compare-tray-status { flex: none; margin: 0; font-size: 14px; font-weight: 500; }
body.discovery-page .compare-tray-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 18px; min-width: 0; }
body.discovery-page .compare-feedback { flex-basis: 100%; margin: 0; color: #4e697a; font-size: 12px; text-align: center; }
body.discovery-page .compare-feedback:empty { display: none; }
body.discovery-page #compare-selected-list { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
body.discovery-page .compare-selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid #c1d3de;
  border-radius: 22px;
  background: #f2f7f9;
  font-size: 12px;
  line-height: 1.65;
}
body.discovery-page .compare-tray-actions { display: flex; align-items: center; gap: 14px; flex: none; }
body.discovery-page #open-comparison {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid #294d65;
  border-radius: 4px;
  background: #294d65;
  color: white;
  font-size: 13px;
  line-height: 1.6;
}
body.discovery-page #open-comparison:disabled { background: #eaf0f3; color: #5f7482; border-color: #b6c9d5; }
body.discovery-page #clear-comparison,
body.discovery-page #close-comparison {
  min-height: 44px;
  padding: 7px 2px;
  border: 0;
  background: transparent;
  color: #375c74;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
body.discovery-page #comparison-section {
  min-width: 0;
  margin-top: 38px;
  padding: 28px 0 0;
  border-top: 1px solid #b7ccd8;
}
body.discovery-page #comparison-title { display: inline-block; margin: 0 20px 14px 0; font: 400 29px/1.6 var(--serif); }
body.discovery-page #close-comparison { vertical-align: top; }
body.discovery-page .comparison-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
body.discovery-page .comparison-eyebrow { margin: 0 0 7px; font-size: 12px; color: #5b7384; }
body.discovery-page #comparison-note { font-size: 13px; line-height: 1.95; color: #506b7d; }
body.discovery-page .comparison-scope-note { font-size: 12px; line-height: 1.9; color: #566f80; margin-top: 17px; }
body.discovery-page .comparison-facets {
  display: none;
  flex-wrap: wrap;
  gap: 7px;
  margin: 13px 0 20px;
}
body.discovery-page [data-comparison-facet] {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid #a8c0ce;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  line-height: 1.7;
}
body.discovery-page [data-comparison-facet][aria-pressed="true"] {
  background: #eaf2f6;
  border-color: #365f79;
  box-shadow: inset 0 0 0 1px #365f79;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.discovery-page #comparison-desktop { max-width: 100%; }
body.discovery-page #comparison-desktop {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid #c4d5df;
  background: #fff;
  text-align: left;
  font-size: 13px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
body.discovery-page #comparison-desktop :is(th, td) {
  padding: 17px 18px;
  vertical-align: top;
  border: 1px solid #d4e0e6;
  font-weight: 400;
}
body.discovery-page #comparison-desktop thead th { background: #edf4f7; font-size: 17px; }
body.discovery-page #comparison-desktop tr > :first-child { width: 146px; }
body.discovery-page .comparison-row-label { background: #f6f9fa; color: #3e5f74; font-size: 12px; }
body.discovery-page .comparison-caption { padding-bottom: 13px; text-align: left; color: #5b7383; font-size: 12px; }
body.discovery-page .comparison-cell-summary { margin: 0; }
body.discovery-page :is(.comparison-evidence-links, .comparison-related-articles) { padding: 0; margin: 0; list-style: none; }
body.discovery-page .comparison-evidence-links { display: grid; gap: 8px; margin-top: 12px; }
body.discovery-page .comparison-evidence-links > button { text-align: left; line-height: 1.75; font-size: 12px; min-height: 44px; }
body.discovery-page .comparison-related-label { font-size: 12px; color: #5d7787; margin-top: 16px; }
body.discovery-page details.comparison-related { margin-top: 12px; }
body.discovery-page details.comparison-related > summary {
  min-height: 44px;
  padding: 10px 0;
  border-top: 1px solid #d8e3e9;
  color: #365d76;
  font-size: 13px;
  line-height: 1.8;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}
body.discovery-page details.comparison-related[open] > summary { margin-bottom: 5px; }
body.discovery-page .comparison-empty-guide { padding: 19px; background: #eff5f8; border: 1px solid #c9dae4; font-size: 13px; line-height: 1.9; }
body.discovery-page :is(.comparison-evidence-links, .comparison-related-articles) > li + li { margin-top: 9px; }
body.discovery-page #comparison-section :is(.comparison-evidence-links a, .comparison-related-articles a, th a, .comparison-mobile-name a) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: #9bb6c7;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
body.discovery-page #comparison-mobile { display: none; }
body.discovery-page #visual-map-view,
body.discovery-page #distribution-view { margin-top: 18px; }
body.discovery-page .empty-state { padding-block: 32px; }
body.discovery-page .empty-state button { min-height: 44px; }
body.discovery-page #empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 19px; }
body.discovery-page #empty-actions button { padding: 9px 14px; border: 1px solid #9ab6c8; border-radius: 4px; background: white; font-size: 13px; }

@media (max-width: 1050px) {
  body.discovery-page .concern-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.discovery-page .concern-tile { min-height: 135px; }
  body.discovery-page #ingredient-grid { gap: 14px; }
  body.discovery-page #ingredient-grid .card-content { padding-inline: 16px; }
  body.discovery-page #ingredient-grid h3 { font-size: 22px; }
  body.discovery-page #compare-tray { gap: 8px 18px; padding-inline: 22px; }
  body.discovery-page #compare-selected-list { flex: 1 1 280px; }
}
@media (max-width: 760px) {
  body.discovery-page .comparison-facets { display: flex; }
  body.discovery-page #ingredient-grid { grid-template-columns: 1fr; gap: 18px; }
  body.discovery-page #ingredient-grid .ingredient-card { max-width: none; }
  body.discovery-page #ingredient-grid .scalable-thumb { height: 128px; }
  body.discovery-page #ingredient-grid .scalable-thumb__label { margin-top: 12px; padding-bottom: 6px; }
  body.discovery-page #ingredient-grid .scalable-thumb__name { margin-top: 9px; font-size: 27px; }
  body.discovery-page #ingredient-grid .card-content { padding: 17px 20px 19px; }
  body.discovery-page #ingredient-grid h3 { font-size: 25px; }
  body.discovery-page #ingredient-grid .card-summary { margin-top: 12px; }
  body.discovery-page #ingredient-grid .card-actions { padding-top: 16px; }
  body.discovery-page #comparison-desktop { display: none; }
  body.discovery-page #comparison-mobile { display: grid; gap: 16px; }
  body.discovery-page .comparison-mobile-card {
    min-width: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #c6d8e2;
    border-top: 2px solid #89a9bd;
    border-radius: 3px;
  }
  body.discovery-page .comparison-mobile-name { margin: 0; font: 400 24px/1.65 var(--serif); overflow-wrap: anywhere; }
  body.discovery-page .comparison-mobile-facet { font-size: 12px; color: #496b80; margin: 13px 0 8px; }
  body.discovery-page .comparison-mobile-content { font-size: 14px; color: #3e5868; line-height: 1.95; overflow-wrap: anywhere; }
  body.discovery-page .comparison-mobile-content .cell-evidence { font-size: 13px; min-height: 44px; }
  body.discovery-page.has-comparison-tray { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
  body.discovery-page #compare-tray { justify-content: space-between; gap: 6px 12px; padding: 11px 22px calc(11px + env(safe-area-inset-bottom)); }
  body.discovery-page #compare-selected-list { display: flex; }
  body.discovery-page #compare-tray-status { font-size: 13px; }
  body.discovery-page .compare-tray-actions { gap: 12px; }
  body.discovery-page #open-comparison { padding: 10px 16px; font-size: 13px; }
}
@media (max-width: 650px) {
  body.discovery-page { --gutter: 22px; }
  body.discovery-page .masthead { min-height: 75px; padding-block: 11px; }
  body.discovery-page .discovery-hero { min-height: 180px; }
  body.discovery-page .discovery-hero .hero-copy { padding-block: 18px; }
  body.discovery-page .discovery-hero .hero-image { width: 77%; top: 0; height: 100%; object-position: 65% 42%; opacity: .48; }
  body.discovery-page .discovery-hero::after { background: linear-gradient(90deg, #eef5f7 0%, #eef5f7b8 51%, #eef5f700 100%); }
  body.discovery-page .discovery-hero .kicker { font-size: 11px; line-height: 1.5; margin-bottom: 6px; }
  body.discovery-page .discovery-hero h1 { font-size: 28px; line-height: 1.4; }
  body.discovery-page .discovery-hero h1 span { display: block; }
  body.discovery-page .discovery-hero .hero-description { font-size: 12px; margin-top: 8px; line-height: 1.8; max-width: 320px; }
  body.discovery-page .discovery-search-inner { position: relative; display: block; padding-block: 10px; }
  body.discovery-page .discovery-search-jump { position: absolute; top: 4px; right: var(--gutter); min-height: 44px; font-size: 11px; }
  body.discovery-page .discovery-search-dock .search-label { font-size: 11px; }
  body.discovery-page .discovery-search-dock .search-label { display: flex; align-items: center; min-height: 36px; margin-bottom: 4px; padding-right: 85px; }
  body.discovery-page .discovery-search-dock .search-field { gap: 10px; padding-left: 13px; }
  body.discovery-page .discovery-search-dock input::placeholder { font-size: 12px; }
  body.discovery-page .discovery-search-dock .search-submit { min-width: 49px; padding-inline: 10px; font-size: 12px; }
  body.discovery-page .discovery-search-dock .search-clear { min-width: 44px; padding-inline: 3px; font-size: 11px; }
  body.discovery-page .directory { padding-top: 25px; padding-bottom: 44px; }
  body.discovery-page .concern-heading { gap: 6px; margin-bottom: 15px; }
  body.discovery-page .concern-heading :is(h2, h3) { font-size: 24px; }
  body.discovery-page .concern-heading p { width: 100%; font-size: 12px; }
  body.discovery-page .concern-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  body.discovery-page .concern-tile { min-height: 125px; padding: 15px 13px 12px; }
  body.discovery-page .concern-tile-title { font-size: 19px; padding-right: 12px; }
  body.discovery-page .concern-tile-description { font-size: 11px; margin-top: 6px; }
  body.discovery-page .concern-tile-count { padding-top: 8px; font-size: 12px; }
  body.discovery-page .concern-check { top: 13px; right: 7px; width: 17px; }
  body.discovery-page .discovery-options { margin-top: 17px; }
  body.discovery-page .discovery-options summary { font-size: 12px; padding-inline: 13px; }
  body.discovery-page .optional-conditions-inner { grid-template-columns: 1fr; }
  body.discovery-page .optional-condition + .optional-condition { border-left: 0; border-top: 1px solid #e0e8ec; }
  body.discovery-page .optional-condition { padding-inline: 13px; }
  body.discovery-page .optional-condition strong { font-size: 13px; }
  body.discovery-page .optional-condition small { font-size: 12px; }
  body.discovery-page .discovery-results-heading { margin-top: 26px; gap: 8px; }
  body.discovery-page .discovery-guides { margin-top: 26px; }
  body.discovery-page .discovery-guides > h2 { font-size: 19px; }
  body.discovery-page .discovery-guide-card { align-items: flex-start; flex-direction: column; gap: 15px; padding: 19px; }
  body.discovery-page .discovery-guide-card h3 { font-size: 21px; }
  body.discovery-page .discovery-guide-lead { font-size: 12px; }
  body.discovery-page .discovery-guide-link { align-self: stretch; font-size: 13px; }
  body.discovery-page .discovery-results-heading :is(h2, h3) { font-size: 25px; }
  body.discovery-page .discovery-results-heading :is(p, #result-status) { font-size: 12px; }
  body.discovery-page .discovery-view-tools { display: block; padding-bottom: 18px; }
  body.discovery-page .discovery-view-tools .view-control-buttons { width: 100%; gap: 6px; }
  body.discovery-page .discovery-view-tools .view-control-buttons button { padding: 9px 7px; font-size: 12px; }
  body.discovery-page .discovery-view-tools > p { margin-top: 9px; font-size: 11px; }
  body.discovery-page #ingredient-grid .card-alias { font-size: 12px; }
  body.discovery-page #ingredient-grid .discovery-card-caution { font-size: 12px; margin-top: 13px; }
  body.discovery-page #ingredient-grid .card-actions > a,
  body.discovery-page #ingredient-grid .compare-toggle { font-size: 13px; }
  body.discovery-page #comparison-section { margin-top: 28px; padding-top: 22px; }
  body.discovery-page #comparison-title { font-size: 25px; margin-right: 14px; }
  body.discovery-page .comparison-heading { align-items: flex-start; }
  body.discovery-page #close-comparison { flex: none; font-size: 11px; }
  body.discovery-page #comparison-note { font-size: 12px; }
  body.discovery-page .comparison-facets { gap: 6px; margin: 9px 0 16px; }
  body.discovery-page [data-comparison-facet] { flex: 1 1 auto; padding-inline: 11px; font-size: 12px; }
  body.discovery-page .comparison-mobile-card { padding: 18px; }
}
@media (max-width: 360px) {
  body.discovery-page { --gutter: 16px; }
  body.discovery-page .discovery-hero h1 { font-size: 27px; }
  body.discovery-page .concern-tile-title { font-size: 18px; }
  body.discovery-page #ingredient-grid .card-content { padding-inline: 17px; }
  body.discovery-page #ingredient-grid h3 { font-size: 23px; }
  body.discovery-page #ingredient-grid .scalable-thumb__name { font-size: 25px; }
  body.discovery-page #compare-tray { padding-inline: 16px; gap: 3px 8px; }
  body.discovery-page #compare-tray-status { font-size: 12px; }
  body.discovery-page .compare-tray-actions { gap: 9px; }
  body.discovery-page #open-comparison { padding-inline: 11px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body.discovery-page *, body.discovery-page *::before, body.discovery-page *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  body.discovery-page :is(.concern-tile[aria-pressed="true"], .compare-toggle[aria-pressed="true"], [data-comparison-facet][aria-pressed="true"]) {
    outline: 2px solid Highlight;
    outline-offset: -4px;
  }
  body.discovery-page .discovery-search-dock,
  body.discovery-page #compare-tray { background: Canvas; border-color: CanvasText; }
}
/* Keep selected ingredients removable when their cards are outside the current search. */
body.discovery-page .compare-selection-details { min-width: 0; }
body.discovery-page .compare-selection-details > summary { display: none; }
@media (max-width: 760px) {
  body.discovery-page .compare-tray-summary { width: 100%; display: block; }
  body.discovery-page .compare-selection-details > summary { display: list-item; min-height: 44px; padding: 10px 0; font-size: 12px; color: #355a72; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
  body.discovery-page .compare-selection-details[open] { padding-bottom: 9px; }
  body.discovery-page .compare-selection-details #compare-selected-list { gap: 7px; }
  body.discovery-page .compare-selection-details .compare-selected-chip { min-height: 44px; font-size: 12px; }
  body.discovery-page.has-comparison-tray { padding-bottom: calc(205px + env(safe-area-inset-bottom)); }
  body.discovery-page.has-comparison-tray:has(.compare-selection-details[open]) { padding-bottom: calc(330px + env(safe-area-inset-bottom)); }
  body.discovery-page #compare-feedback { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

.comparison-family-note{font-size:11px;line-height:1.7;color:#586b7b}.map-catalog-notice{font-size:12px;line-height:1.9;color:#586b7b;margin:14px 0}
