/* The researched ingredient page (ui/ingredient-page.js): plain editorial layout. Uses the site's tokens. */
.rp-head { max-width: 760px; padding: 8px 0 26px; border-bottom: 1px solid var(--rule); }
.rp-title { margin: 0; font-size: clamp(34px, 4.2vw, 48px); font-weight: 760; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
.rp-dek { margin: 12px 0 0; font-family: var(--f-read); font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
.rp-meta { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-3); }
.rp-layout { display: grid; grid-template-columns: minmax(0, 700px) minmax(220px, 280px); gap: 64px; justify-content: space-between; margin-top: 30px; }
@media (max-width: 960px) { .rp-layout { grid-template-columns: 1fr; gap: 28px; } .rp-rail { order: -1; } .rp-toc { display: none; } }
.rp-body { font-family: var(--f-read); font-size: 18.5px; line-height: 1.7; }
.rp-body p { margin: 0 0 16px; text-wrap: pretty; }
.rp-body h2 { font-family: var(--f-ui); font-size: 26px; font-weight: 720; letter-spacing: -.01em; line-height: 1.2; margin: 44px 0 10px; scroll-margin-top: calc(var(--header-h) + 16px); }
.rp-body h3 { font-family: var(--f-ui); font-size: 19px; font-weight: 680; margin: 26px 0 4px; }
.rp-body section { scroll-margin-top: calc(var(--header-h) + 16px); }
.rp-takeaways { margin: 0 0 30px; padding: 18px 22px 16px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; }
.rp-takeaways h2 { margin: 0 0 8px; font-size: 18px; }
.rp-takeaways ul { margin: 0; padding-left: 20px; font-size: 17px; line-height: 1.6; }
.rp-takeaways li + li { margin-top: 6px; }
.rp-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; margin-top: 12px; font-family: var(--f-ui); }
.rp-pick { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; color: var(--ink); }
.rp-pick:hover { border-color: var(--ink-3); color: var(--ink); }
.rp-pick-img { width: 100%; height: 140px; object-fit: contain; background: #fff; border-radius: 4px; margin-bottom: 8px; }
.rp-pick-label { font-size: 13px; font-weight: 700; color: var(--good); }
.rp-pick-name { font-size: 15.5px; font-weight: 650; line-height: 1.3; flex: 1; }
.rp-pick-brand { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.rp-pick-foot { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: 8px; font-size: 12.5px; }
.rp-faq { border-top: 1px solid var(--rule); }
.rp-faq:last-child { border-bottom: 1px solid var(--rule); }
.rp-faq summary { cursor: pointer; padding: 14px 0; font-family: var(--f-ui); font-size: 17.5px; font-weight: 650; }
.rp-faq p { margin: 0 0 16px; }
.rp-sources { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--rule); font-family: var(--f-ui); font-size: 13.5px; color: var(--ink-2); }
.rp-sources h2 { font-size: 16px; margin: 0 0 6px; }
.rp-sources ol { padding-left: 22px; margin: 0; line-height: 1.7; }
.rp-sources li { scroll-margin-top: calc(var(--header-h) + 16px); }
.rp-sources li:target { background: var(--ok-wash); }
.rp-rail { position: relative; }
.rp-glance { padding: 18px 20px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px; }
.rp-glance h2, .rp-toc h2 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.rp-glance dl { margin: 0; }
.rp-glance dt { font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.rp-glance dt:first-child { margin-top: 0; }
.rp-glance dd { margin: 1px 0 0; font-weight: 600; font-size: 15px; line-height: 1.4; }
.rp-btn { display: block; text-align: center; margin-top: 16px; padding: 9px 14px; border-radius: 6px; background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 650; }
.rp-btn:hover { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.rp-toc { position: sticky; top: calc(var(--header-h) + 24px); margin-top: 24px; display: flex; flex-direction: column; }
.rp-toc a { font-size: 14px; padding: 5px 0 5px 12px; border-left: 1px solid var(--rule); color: var(--ink-2); }
.rp-toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.rp-cite { font-size: 11.5px; margin-left: 1px; letter-spacing: 0; }
.rp-cite a { text-decoration: none; }

.rp-cite { white-space: nowrap; }
.rp-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.rp-faq summary::-webkit-details-marker { display: none; }
.rp-faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 20px; line-height: 1; }
.rp-faq[open] summary::after { content: "\2212"; }
/* "See all N products" under the picks: a clear secondary button, not plain text */
.rp-body .rp-all { display: flex; justify-content: center; align-items: center; margin-top: 12px; padding: 12px 16px;
  border: 1.5px solid var(--cobalt); border-radius: 6px; color: var(--cobalt); font-family: var(--f-ui); font-size: 15.5px; font-weight: 650;
  text-decoration: none; transition: background .15s, color .15s; }
.rp-body .rp-all:hover { background: var(--cobalt); color: #fff; }
.rp-body .rp-all:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.rp-draft { display: inline-block; vertical-align: middle; font: 650 10.5px/1 var(--f-ui); letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 6px; border-radius: 4px; background: var(--ok-wash); color: var(--ok); margin-left: 6px; }
.rp-list { margin: -4px 0 18px; padding-left: 22px; }
.rp-list li { margin: 6px 0; }
.rp-more-src summary { cursor: pointer; color: var(--cobalt); font-weight: 650; margin: 6px 0; }
.rp-more-src ol { margin-top: 4px; }
.rp-index { columns: 3 220px; padding-left: 20px; font-size: 16px; line-height: 1.9; }
.rp-cite { font-family: var(--f-ui); }
.rp-cite a { color: var(--cobalt); }
