/* Updated records and shared document previews; existing scientific figures keep their sizes. */
.notebook-records,.safety-records { min-width:0; }
.notebook-records .notebook-record-section { padding-block:44px; }
.notebook-records .notebook-module-intro { max-width:76ch; }
/* Keep the established START / task / END timeline from style.css. */
.notebook-records .wetlab-timeline { margin-top:30px; }
.notebook-records .wetlab-timeline article { min-width:0; }
.notebook-records .wetlab-timeline time { white-space:nowrap; }
.notebook-records .notebook-week-notes ul { margin:0;padding-left:21px;list-style:disc; }
.notebook-records .notebook-week-notes li { overflow-wrap:break-word; }
.notebook-records .notebook-week-notes li:first-child > p { margin-top:0; }
.safety-records .safety-table-wrap { width:100%;max-width:100%;margin-block:32px; }
.safety-records .safety-hazard-table { width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px;line-height:1.65; }
.safety-records .safety-table-wrap .wiki-table-scroll .safety-hazard-table { min-width:0!important;max-width:100%!important;width:100%!important; }
.safety-hazard-table .safety-col-category { width:12%; }
.safety-hazard-table .safety-col-material { width:21%; }
.safety-hazard-table .safety-col-hazard { width:30%; }
.safety-hazard-table .safety-col-precaution { width:37%; }
.safety-records .safety-hazard-table caption { caption-side:bottom;text-align:center;font-size:14px;font-weight:600;line-height:1.7;padding-top:14px; }
.safety-records .safety-hazard-table :is(th,td) { padding:12px 13px;border:1px solid var(--dogma-line,#d4e1e9);text-align:left;vertical-align:top;overflow-wrap:break-word;hyphens:auto; }
.safety-records .safety-hazard-table th { font-size:14px;font-weight:700;background:var(--dogma-blue,#216a9e);color:#fff;-webkit-text-fill-color:#fff; }
.safety-hazard-table .safety-row-biological { background:rgba(77,153,144,.07); }
.safety-hazard-table .safety-row-chemical { background:rgba(75,126,164,.04); }
.safety-hazard-table .safety-row-equipment { background:rgba(99,124,162,.08); }
.wetlab-source-page .wetlab-protocol-row { max-width:100%;min-width:0; }
.wetlab-source-page .wetlab-protocol-content { max-width:100%;min-width:0; }
.wetlab-source-page .wetlab-protocol-preview { width:100%;max-width:100%;height:clamp(360px,68svh,620px);border:1px solid var(--dogma-line,#d4e1e9);background:#fff; }
.wetlab-source-page .wetlab-protocol-content .wetlab-protocol-link { display:inline-flex;align-items:center;min-height:40px; }
.wetlab-pdf-reader { border:1px solid var(--dogma-line,#d4e1e9);margin-top:12px;max-width:100%;min-width:0;background:var(--dogma-surface,#fff); }
.wetlab-pdf-toolbar { display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid var(--dogma-line,#d4e1e9); }
.wetlab-pdf-toolbar button { min-height:42px;min-width:42px;padding:4px 12px;border:1px solid var(--dogma-line,#d4e1e9);border-radius:5px;background:var(--dogma-surface,#fff);color:var(--dogma-blue,#216a9e);font:600 14px Inter,Arial,sans-serif;cursor:pointer; }
.wetlab-pdf-toolbar button:disabled { opacity:.4;cursor:default; }
.wetlab-pdf-toolbar button:focus-visible,.wetlab-pdf-viewport:focus-visible { outline:2px solid var(--dogma-blue,#216a9e);outline-offset:2px; }
.wetlab-pdf-counter { font:400 14px Inter,Arial,sans-serif;min-width:48px;text-align:center;color:var(--dogma-copy,#111); }
.wetlab-pdf-viewport { max-height:min(680px,72svh);max-width:100%;overflow:auto;padding:12px;background:#e7edf1; }
.wetlab-pdf-viewport canvas { display:block;max-width:none!important;width:auto;height:auto;margin:0 auto;background:white; }
.wetlab-pdf-status { margin:0!important;padding:12px 16px;font-size:14px!important; }
.wetlab-pdf-status[hidden] { display:none!important; }
.wetlab-pdf-accessible-text { position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%); }
@media(max-width:700px) {
 .notebook-records .notebook-record-section { padding-block:30px; }
 .safety-records .safety-hazard-table { display:block; }
 .safety-hazard-table colgroup { display:none; }
 .safety-hazard-table thead { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
 .safety-hazard-table tbody { display:grid;gap:18px; }
 .safety-hazard-table tr { display:block;border:1px solid var(--dogma-line,#d4e1e9); }
 .safety-records .safety-hazard-table td { display:block;width:auto;border:0;border-bottom:1px solid var(--dogma-line,#d4e1e9);padding:11px 14px; }
 .safety-hazard-table td:last-child { border-bottom:0; }
 .safety-hazard-table td::before { content:attr(data-label);display:block;font-size:12px;font-weight:700;color:var(--dogma-blue,#216a9e);margin-bottom:3px; }
 .safety-hazard-table caption { display:block; }
 .wetlab-source-page .wetlab-protocol-preview { height:440px;max-height:70svh; }
}

/* Notebook section titles no longer reserve the deleted number column. */
.wetlab-notebook-page .notebook-record-section .wetlab-module-heading > div{padding-inline:0!important;text-align:left;}
.wetlab-notebook-page .notebook-record-section .wetlab-module-heading h2{margin-inline:0!important;padding-inline:0!important;text-align:left!important;}
