/* Dated research evidence uses the existing document-page reading column. */
.evidence-figure { width: 100%; min-width: 0; max-width: 72ch; margin: 28px 0 34px; }
.evidence-figure > a { display: block; }
.evidence-figure img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid rgba(27,16,36,.12); border-radius: 12px; background: #fff; }
.evidence-figure figcaption { max-width: none; text-align: left; overflow-wrap: anywhere; }
.evidence-compact img { width: auto; max-width: 100%; margin-inline: auto; }
.evidence-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 72ch; align-items: start; }
.evidence-pair .evidence-figure { margin: 16px 0 28px; }
.anchor-alias { display: block; scroll-margin-top: 110px; }
.prose .assay-boundary { margin-bottom: .8em; }
.cyc .dbtl-row h3 { margin: 0 0 7px; font: 500 11px/1.5 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: #5a1faf; }
.cyc .dbtl-row p { margin: 0; }
.cycle-links { margin-top: 18px !important; font: 12px/1.7 'Open Sans', sans-serif !important; }
.dbtl-phase { display: flex; align-items: center; gap: 12px; max-width: 72ch; padding: 15px 0 10px; border-top: 1px solid rgba(90,31,175,.18); }
.dbtl-phase > span { display: inline-grid; place-items: center; flex: 0 0 34px; min-height: 34px; border: 1px solid rgba(90,31,175,.25); border-radius: 50%; font: 13px/1 'IBM Plex Mono', monospace; color: #5a1faf; }
.prose .dbtl-summary { font: 15px/1.7 'Open Sans', sans-serif; color: #4a4155; }
.protein-model { min-width: 0; }
.protein-model code { overflow-wrap: anywhere; }
.protein-model .model-figure { width: 100%; max-width: 72ch; }
.protein-model .model-figure figcaption { max-width: none; text-align: left; }
.model-animation button { display: inline-block; margin-top: 12px; padding: 10px 15px; border: 1px solid #5a1faf; border-radius: 20px; background: #fffcf6; color: #5a1faf; font: 12px/1.5 'Open Sans', sans-serif; cursor: pointer; }
.model-animation button[aria-pressed="true"] { background: #5a1faf; color: #fff; }
.model-animation button:focus-visible { outline: 2px solid #5a1faf; outline-offset: 4px; }
.safety-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.safety-gallery img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.safety-gallery .evidence-figure { margin: 0; }
.safety-list { padding-left: 1.25em; max-width: 66ch; }
.safety-list li { margin-bottom: 12px; font: 17px/1.7 'Open Sans', sans-serif; }
/* Engineering: a readable diagram and native anchor navigation, without hiding records. */
.engineering-method { list-style: none; padding: 0; margin: 28px 0; max-width: 82ch; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.engineering-method li { position: relative; display: grid; align-content: start; justify-items: start; gap: 8px; padding: 16px; background: #f3ebff; border-radius: 12px; min-width: 0; }
.engineering-method li:not(:last-child)::after { content: '→'; position: absolute; right: -16px; top: 21px; color: #5a1faf; }
.engineering-method b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #5a1faf; color: #fffcf6; font: 15px/1 'IBM Plex Mono', monospace; }
.engineering-method strong { font: 500 13px/1.5 'Open Sans', sans-serif; color: #472175; }
.engineering-method span { font: 13px/1.6 'Open Sans', sans-serif; color: #4a4155; }
.engineering-roadmap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 82ch; margin: 24px 0; }
.engineering-roadmap a { display: grid; align-content: start; gap: 11px; padding: 20px; border: 1px solid rgba(90,31,175,.25); border-radius: 14px; text-decoration: none; background: #fffdfa; min-width: 0; }
.engineering-roadmap a:hover { background: #f3ebff; }
.engineering-roadmap span { font: 10px/1.6 'IBM Plex Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: #5a1faf; }
.engineering-roadmap strong { font: 400 25px/1.15 'Arapey', serif; color: #472175; }
.engineering-roadmap small { font: 13px/1.7 'Open Sans', sans-serif; color: #4a4155; }
.engineering-roadmap a:focus-visible, .engineering-cycle-index a:focus-visible { outline: 2px solid #5a1faf; outline-offset: 4px; }
.engineering-cycle-index { margin: 32px 0 48px; padding: 24px; border: 1px solid rgba(90,31,175,.2); border-radius: 16px; scroll-margin-top: 110px; }
.engineering-cycle-index h2 { margin: 0 0 20px; font: 400 clamp(28px, 3vw, 38px)/1.2 'Arapey', serif; color: #472175; }
.engineering-cycle-index ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.engineering-cycle-index a { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; font: 14px/1.6 'Open Sans', sans-serif; color: #472175; text-decoration: none; border-bottom: 1px solid rgba(90,31,175,.12); }
.engineering-cycle-index a:hover { text-decoration: underline; }
.engineering-cycle-index a span { flex: 0 0 24px; font: 11px/1.6 'IBM Plex Mono', monospace; color: #5a1faf; }
@media (max-width: 700px) {
  .evidence-pair, .safety-gallery { grid-template-columns: minmax(0, 1fr); }
  .evidence-pair { gap: 0; }
  .safety-gallery { gap: 24px; }
  .dbtl-phase { scroll-margin-top: 100px; }
  .engineering-method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engineering-method li::after { display: none; }
  .engineering-cycle-index { padding: 18px; }
}
@media (max-width: 480px) {
  .engineering-roadmap, .engineering-cycle-index ol { grid-template-columns: minmax(0, 1fr); }
  .engineering-method { gap: 10px; }
  .engineering-method li { padding: 12px; }
}
