/* EndoLore Wet Lab documentation — scoped scientific figures, DBTL, evidence tables. */
.wet-disclaimer,.wet-record-note {max-width:68ch;margin:20px 0 26px;padding:16px 19px;background:#f3ebff;border-left:3px solid #5a1faf;border-radius:0 12px 12px 0;font:14px/1.7 'Open Sans',sans-serif;color:#352940}
.wet-record-note a {overflow-wrap:anywhere}
.wet-choice-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:25px 0 30px;max-width:82ch}
.wet-choice-grid article {min-width:0;border:1px solid rgba(90,31,175,.19);border-radius:14px;padding:17px;background:#fffefa}
.wet-choice-grid h3 {margin:0 0 12px;color:#5a1faf;font:12px/1.55 'IBM Plex Mono',monospace;overflow-wrap:anywhere}
.prose .wet-choice-grid p {margin:0;font:14px/1.6 'Open Sans',sans-serif;overflow-wrap:anywhere}
.wet-dbtl {display:grid;gap:0;max-width:72ch;border-top:1px solid rgba(27,16,36,.2);margin:22px 0 38px}
.wet-dbtl-row {display:grid;grid-template-columns:40px minmax(0,1fr);gap:18px;border-bottom:1px solid rgba(27,16,36,.14);padding:21px 0;align-items:start}
.wet-dbtl-key {font:42px/.9 'Arapey',serif;color:#9959d1}
.wet-dbtl-row strong {display:block;margin:0 0 8px;color:#5a1faf;font:11px/1.5 'IBM Plex Mono',monospace;letter-spacing:.11em;text-transform:uppercase}
.prose .wet-dbtl p {margin:0;font:16.5px/1.65 'Arapey',serif;max-width:68ch}
.wet-disclosure {max-width:82ch;margin:24px 0 36px;border:1px solid rgba(90,31,175,.24);border-radius:14px;background:#fffdfa;padding:0 18px}
.wet-disclosure > summary {cursor:pointer;list-style-position:inside;padding:20px 0;font:12px/1.6 'IBM Plex Mono',monospace;color:#5a1faf;letter-spacing:.04em;overflow-wrap:anywhere}
.wet-disclosure > summary:focus-visible {outline:2px solid #5a1faf;outline-offset:3px}
.wet-disclosure[open] > summary {border-bottom:1px solid rgba(90,31,175,.17);margin-bottom:18px}
.wet-disclosure [data-eng-cycles] > section {display:block;padding:32px 0;max-width:100%;border-top:1px solid rgba(90,31,175,.15)}
.wet-disclosure [data-eng-cycles] > section:first-child {border-top:0}
.wet-disclosure .cyc .sec-side {margin:0 0 15px}
.wet-disclosure .cyc .stick {position:static;display:flex;flex-direction:row;align-items:baseline;gap:10px}
.wet-disclosure .cyc .sec-no {font-size:42px}
.wet-disclosure .cyc h2 {font-size:clamp(24px,2.8vw,34px);max-width:none}
.wet-disclosure .cyc .dbtl {max-width:100%}
.wet-disclosure .cyc .dbtl-row {grid-template-columns:34px minmax(0,1fr)}
.wet-disclosure .cyc .dbtl-key {font-size:32px}
.wet-disclosure .cyc .dbtl-row p {font-size:16px;max-width:none}
.wet-disclosure .logweek {grid-template-columns:minmax(0,1fr)}
.wet-disclosure .logweek .wk {position:static;display:flex;flex-direction:row;align-items:baseline;gap:12px;margin:0 0 18px}
.wet-metrics {max-width:74ch;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0 30px}
.wet-metrics > div {border:1px solid rgba(90,31,175,.16);border-radius:12px;padding:17px 15px}
.wet-metrics strong {display:block;color:#5a1faf;font:clamp(26px,3.2vw,40px)/1.05 'Arapey',serif}
.wet-metrics span {display:block;margin-top:10px;color:#4a4155;font:11px/1.5 'IBM Plex Mono',monospace}
.wet-evidence {margin:14px 0 28px;padding-left:23px;max-width:72ch}
.wet-evidence li {padding:0 0 12px;color:#32243d;font:15px/1.7 'Open Sans',sans-serif;overflow-wrap:anywhere}
.wet-assay-table {width:100%;max-width:75ch;border-collapse:collapse;margin:22px 0;font:14px/1.6 'Open Sans',sans-serif}
.wet-assay-table th,.wet-assay-table td {padding:13px 12px;border-bottom:1px solid rgba(27,16,36,.12);text-align:left;vertical-align:top;overflow-wrap:anywhere}
.wet-assay-table thead th {font:10px/1.5 'IBM Plex Mono',monospace;color:#5a1faf;text-transform:uppercase;letter-spacing:.11em}
.collection-wide > .sec-side {grid-column:1/-1;grid-row:1}
.collection-wide > .prose {grid-column:1/-1;grid-row:2;min-width:0}
.collection-wide .parts-wrap {max-width:none;width:100%;overflow-x:visible}
.collection-wide table.parts {width:100%;min-width:0;table-layout:fixed}
.collection-wide table.parts th,.collection-wide table.parts td {overflow-wrap:anywhere;word-break:normal;white-space:normal}
.collection-wide table.parts tbody th {width:23%}
.collection-wide table.parts td.role {width:42%}
.collection-wide table.parts td.reg {width:17%}
@media (max-width:700px) {
 .wet-choice-grid,.wet-metrics {grid-template-columns:1fr}
 .wet-dbtl-row {grid-template-columns:27px minmax(0,1fr);gap:12px}
 .wet-dbtl-key {font-size:34px}
 .wet-disclosure {padding:0 12px}
 .collection-wide table.parts,.collection-wide table.parts tbody,.collection-wide table.parts tr,.collection-wide table.parts td,.collection-wide table.parts tbody th {display:block;width:100%;min-width:0}
 .collection-wide table.parts thead {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .collection-wide table.parts tbody tr {border:1px solid rgba(90,31,175,.19);border-radius:14px;padding:15px;margin:0 0 13px;background:#fffdfa}
 .collection-wide table.parts tbody th {font-size:14px;padding:2px 0 12px;border-bottom:1px solid rgba(90,31,175,.15)}
 .collection-wide table.parts tbody td {padding:10px 0;border-bottom:1px solid rgba(27,16,36,.08);font-size:15px}
 .collection-wide table.parts tbody td:last-child {border-bottom:0}
 .collection-wide table.parts tbody td::before {content:attr(data-label);display:block;margin-bottom:4px;color:#6b6478;font:10px/1.4 'IBM Plex Mono',monospace;text-transform:uppercase;letter-spacing:.08em}
 .wet-assay-table {display:block;overflow-x:auto}
}
@media (prefers-reduced-motion:reduce) {.wet-disclosure * {scroll-behavior:auto}}
@media print {.wet-disclosure {break-inside:auto}.wet-disclosure:not([open]) > :not(summary) {display:block}}

/* Very narrow phones: content must not widen the document canvas. */
@media (max-width:420px) {
  .sec, .sec-side, .prose, .wet-disclosure, .collection-wide, .collection-wide .prose { min-width:0; max-width:100%; }
  .prose p, .prose li, .prose b, .prose strong, .prose h2, .wet-disclosure p { overflow-wrap:anywhere; }
  .cx-stage { overflow:hidden; }
  .res-wrap, .parts-wrap { width:100%; max-width:100%; overflow-x:auto; }
  .parts tbody th, .parts tbody td, .reglist .id, .reglist .what { overflow-wrap:anywhere; word-break:break-word; }
  .st { white-space:normal; }
  .pairs { display:block; max-width:100%; width:100%; overflow-x:auto; }
  .pairs tbody th, .pairs td { white-space:normal; }
  .mix { width:100% !important; min-width:0 !important; max-width:100%; table-layout:fixed; }
  .mix td, .mix td:last-child { white-space:normal !important; overflow-wrap:anywhere; padding-right:8px; }
  a.more { white-space:normal; overflow-wrap:anywhere; }
}
