/* T12 specialty evidence and data reports (remaining-168, 2026-09-15).
 * Scoped under body.ev-page. A restrained left-aligned opening with its method
 * note, the evidence (tables, charts, searches) at a readable width with each
 * source line under its table, and the one-page guides for that evidence in a
 * rail beside it. Renderers, counts and wording are untouched.
 */
body.ev-page main .container { max-width: 1180px; }
body.ev-page .back-link { margin-bottom: .75rem; }

/* Opening */
body.ev-page .ev-head { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: .5rem 2rem; align-items: start; text-align: left; margin: .25rem 0 1.25rem; padding: 0; background: none; }
body.ev-page .ev-eyebrow { color: var(--color-accent); font-family: var(--font-sans); font-size: .78rem; font-weight: 800; letter-spacing: .11em; margin: 0 0 .3rem; text-transform: uppercase; }
body.ev-page .ev-head h1 { margin: 0 0 .5rem; text-align: left; }
body.ev-page .ev-head-copy > p:not(.ev-eyebrow) { margin: 0 0 1rem; max-width: 72ch; text-align: left; color: var(--color-text); }
body.ev-page .ev-head .bva-method { margin: 0; max-width: none; padding: .85rem 1.05rem; background: var(--color-surface); border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent); border-radius: var(--radius-md); text-align: left; }
body.ev-page .ev-head .bva-method p { margin: 0 0 .45rem; max-width: none; font-size: .9rem; line-height: 1.6; text-align: left; }
body.ev-page .ev-head .bva-method .bva-meta { margin: 0; font-weight: 600; color: var(--color-text); }
body.ev-page .ev-head-art { margin: 0; grid-column: 2; grid-row: 1; }
body.ev-page .ev-head-art img { border: 1px solid var(--color-border); border-radius: 10px; display: block; height: auto; width: 160px; }
body.ev-page .ev-head > .ev-head-copy { grid-column: 1; grid-row: 1; }
body.ev-page .ev-head > .rmv-share-mount { grid-column: 1 / -1; }
@media (max-width: 640px) {
  body.ev-page .ev-head { grid-template-columns: minmax(0, 1fr) 80px; gap: .3rem .9rem; }
  body.ev-page .ev-head-copy { display: contents; }
  body.ev-page .ev-head-copy > * { grid-column: 1; }
  body.ev-page .ev-head-copy > :not(.ev-eyebrow):not(h1) { grid-column: 1 / -1; }
  body.ev-page .ev-head-art { grid-row: 1 / span 2; }
  body.ev-page .ev-head-art img { width: 80px; }
}
/* The injected Share control lands after the opening; keep it with the left-aligned copy. */
body.ev-page .rmv-share-mount.rmv-share-centered { text-align: left; margin: 0; }
body.ev-page #ask-guide-mount { margin: 0 0 1rem; }
body.ev-page .tera-crosslinks { margin: 0 0 1.5rem; }

/* Evidence beside its one-page guides */
body.ev-page .ev-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 2.25rem; align-items: start; }
body.ev-page .ev-main { min-width: 0; }
@media (min-width: 1100px) {
  body.ev-page .ev-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
body.ev-page .ev-h2 { font-size: 1.35rem; color: var(--color-text); text-align: left; margin: 2.25rem 0 .5rem; padding: 0 0 .45rem; border-bottom: 1px solid var(--color-border); }
body.ev-page .ev-main section > .ev-h2:first-child, body.ev-page .ev-main section > :first-child + .ev-h2 { margin-top: 0; }
body.ev-page .ev-h3 { font-size: 1.1rem; color: var(--color-text); text-align: left; margin: 1.6rem 0 .35rem; }
body.ev-page .ev-main p { text-align: left; }

body.ev-page .ev-rail { display: grid; gap: .75rem; min-width: 0; }
body.ev-page .ev-rail-h { font-family: var(--font-sans); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); margin: 0; text-align: left; }
body.ev-page .ev-rail .vg-mini-preview { margin: 0; align-items: flex-start; gap: .8rem; padding: .75rem .85rem; background: var(--color-surface); border: 1px solid var(--color-border); border-left: 3px solid var(--color-accent); border-radius: var(--radius-md); }
body.ev-page .ev-rail .vg-mini-preview img { width: 52px; height: auto; flex: none; border: 1px solid var(--color-border); border-radius: 4px; }
body.ev-page .ev-rail .vg-mini-preview__copy { font-size: .85rem; line-height: 1.45; }
body.ev-page .ev-rail .vg-mini-preview__copy strong { display: block; color: var(--color-primary); margin-bottom: .15rem; }
body.ev-page .ev-rail .vg-links { margin: 0; font-size: .9rem; text-align: left; }
@media (min-width: 640px) and (max-width: 1099px) {
  body.ev-page .ev-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ev-page .ev-rail > .ev-rail-h, body.ev-page .ev-rail > .vg-links { grid-column: 1 / -1; }
}

/* Calm callouts, left disclaimer */
body.ev-page .ev-decisions { background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; margin: 2rem 0 0; }
body.ev-page .ev-decisions h2 { color: var(--color-text); font-size: 1.2rem; text-align: left; }
body.ev-page .ev-decisions p { max-width: none; }
body.ev-page .ev-decisions .bva-crosslink-cta { color: var(--color-primary); }
body.ev-page .bva-crosslink-tag { font-size: .75rem; }
body.ev-page .disclaimer { margin-top: 2rem; }
body.ev-page .disclaimer p { text-align: left; max-width: none; }

/* The automatic Related rail: five cards lay out 3 + 2. */
@media (min-width: 900px) {
  body.ev-page .rel-cards:has(> .rel-card:nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  body.ev-page .rel-cards:has(> .rel-card:nth-child(5):last-child) > .rel-card { grid-column: span 2; }
  body.ev-page .rel-cards:has(> .rel-card:nth-child(5):last-child) > .rel-card:nth-child(n+4) { grid-column: span 3; }
}
body.ev-page .guide-section h2 { text-align: left; }

/* Opening without an illustration (no art exists yet for these pages). */
body.ev-page .ev-head.ev-head-noart { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) { body.ev-page .ev-head.ev-head-noart { grid-template-columns: minmax(0, 1fr); } }

/* Short explanations as even cards (DIC pathways). */
body.ev-page .ev-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: .75rem 0 1rem; }
@media (min-width: 900px) { body.ev-page .ev-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.ev-page .ev-card { background: var(--color-surface); border: 1px solid var(--color-border); border-top: 3px solid var(--color-accent); border-radius: var(--radius-md); padding: 1rem 1.1rem; }
body.ev-page .ev-card p { margin: 0; max-width: none; text-align: left; font-size: .95rem; line-height: 1.6; }
body.ev-page .ev-card p strong:first-child { display: block; color: var(--color-text); font-size: 1.02rem; margin-bottom: .3rem; }
body.ev-page .ev-pathways > p { text-align: left; max-width: none; }
body.ev-page .ev-pathways > h2, body.ev-page #dic-live-stats h2 { text-align: left; }

/* Shared Board renderers (TERA): headings and callouts left-aligned on this page only. */
body.ev-page .bva-insights-section h2, body.ev-page .bva-insights-section h3 { text-align: left; }
body.ev-page .bva-insights-section > h2 { font-size: 1.35rem; color: var(--color-text); margin: 2.25rem 0 .5rem; padding-bottom: .45rem; border-bottom: 1px solid var(--color-border); }
body.ev-page .ev-main > #tera-content .bva-insights-section > h2 { margin-top: 0; }
body.ev-page .bva-insights-section p { text-align: left; max-width: none; }
body.ev-page [data-presumption-panel] summary h2 { color: var(--color-text) !important; font-size: 1.35rem !important; }
body.ev-page .ev-rail .visual-guide-card { margin: 0; max-width: none; }
body.ev-page .ev-rail .visual-guide-card img { width: 100%; height: auto; }
body.ev-page .ev-rail-links { display: grid; gap: .35rem; margin: 0; padding: .35rem; }
body.ev-page .ev-rail-links .tera-crosslink-pill { justify-content: flex-start; text-align: left; }
@media (min-width: 640px) and (max-width: 1099px) {
  body.ev-page .ev-rail > .visual-guide-card, body.ev-page .ev-rail > .ev-rail-links { grid-column: auto; }
}

/* PFAS: search results and the comparison scroll inside their panels; counts in one strip. */
body.ev-page .ev-scroll { max-height: 640px; overflow: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
body.ev-page .ev-scroll:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
body.ev-page .pfas-hist.ev-scroll .pfas-hist-row.header { position: sticky; top: 0; z-index: 1; background: var(--color-surface); }
body.pfas-page .pfas-section h2 { text-align: left; color: var(--color-text); font-size: 1.35rem; }
body.pfas-page .pfas-section > p { text-align: left; max-width: 80ch; }
body.pfas-page .pfas-search-card { margin: 1rem 0; }
body.pfas-page .pfas-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; background: var(--color-border); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
body.pfas-page .pfas-stat { border: 0; border-radius: 0; background: var(--color-surface); text-align: left; margin-left: 1px; }
body.pfas-page .pfas-stat:first-child { margin-left: 0; }
body.pfas-page .pfas-stat-label { font-size: .8rem; }
body.pfas-page .pfas-badge { font-size: .75rem; }
body.pfas-page .pfas-condition-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  body.pfas-page .pfas-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
  body.pfas-page .pfas-stat { margin: 0; }
  body.pfas-page .pfas-stat:last-child { grid-column: 1 / -1; }
  body.pfas-page .pfas-condition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.ev-page .ev-scroll { max-height: 70vh; }
  body.pfas-page .pfas-condition-grid { grid-template-columns: minmax(0, 1fr); }
  body.pfas-page .pfas-search-row input[type="search"], body.pfas-page .pfas-search-row select { min-width: 0; flex-basis: 100%; }
}
body.pfas-page .tera-crosslinks { margin: 2rem 0 0; }
body.ev-page .ev-pathways > h2 { font-size: 1.35rem; color: var(--color-text); margin: 0 0 .5rem; padding: 0 0 .45rem; border-bottom: 1px solid var(--color-border); }
body.pfas-page .pfas-section p, body.pfas-page .pfas-section ol { margin-left: 0; margin-right: 0; text-align: left; max-width: 80ch; }
body.pfas-page .disclaimer p { max-width: none; }
