/* BIO-001 scoped styles. Shared page geometry belongs to discipline.css. */
.discipline-page .bio-figure svg{min-width:720px}.discipline-page .bio-figure svg text{font-size:15px}
.bio-intro,.bio-workbench,.bio-method{min-width:0;overflow-wrap:anywhere}
.bio-intro,.bio-method{--muted:#58694f;--accent:#586d43;--line:#bdc5ae;--ink:#293727}
.discipline-page .bio-intro h1{width:auto;min-width:0;margin:24px 0 24px;overflow-wrap:normal}
.discipline-page .bio-intro h1 em{display:inline;margin:0;max-width:100%;line-height:inherit;letter-spacing:inherit;color:#66734f}
.bio-intro .bio-lead{max-width:62ch;font-size:clamp(17px,2vw,23px);line-height:1.6;margin:26px 0 16px}
.bio-scope{max-width:62ch;font-size:15px;line-height:1.7;color:var(--muted)}


.bio-workbench{--bio-paper:#eeecdf;--bio-ink:#273326;--bio-muted:#52634b;--bio-line:#b6c0ab;background:var(--bio-paper);color:var(--bio-ink);padding:clamp(16px,3vw,36px);border:1px solid #69765b;margin:25px 0 65px}
.bio-workbench .eyebrow{font-size:12px;color:var(--bio-muted);letter-spacing:.08em}.bio-workbench .lab-step{color:var(--bio-muted)}.bio-section-head{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 24px}.bio-section-head h2,.bio-method h2{font:400 clamp(28px,3.6vw,48px)/1.15 Georgia,serif;letter-spacing:-.04em;margin-top:10px}.bio-section-head h3{font:400 clamp(26px,3vw,38px)/1.15 Georgia,serif;letter-spacing:-.035em;margin-top:9px}.bio-section-head em,.bio-method em{color:#74815e}
.bio-input-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr);gap:28px}.bio-source,.bio-settings{min-width:0}.bio-label-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:12px}.bio-source label,.bio-settings label{font:12px/1.65 var(--mono);color:var(--bio-ink)}
.bio-source textarea,.bio-settings select,.bio-settings input[type=number]{font:12px/1.6 var(--mono);border:1px solid #8a987c;background:#faf8ee;color:#273326;width:100%;max-width:100%;min-width:0;border-radius:0;padding:10px}.bio-source textarea{display:block;min-height:292px;resize:vertical;white-space:pre;overflow:auto;tab-size:2}.bio-settings{display:flex;flex-direction:column;gap:14px}.bio-settings label:not(.bio-checkbox){display:flex;flex-direction:column;gap:7px}.bio-settings select,.bio-settings input[type=number]{min-height:44px}.bio-small{font-size:14px;line-height:1.7;max-width:68ch;color:var(--bio-muted);margin:9px 0}.bio-checkbox{display:flex;align-items:flex-start;gap:10px}.bio-checkbox input{flex:0 0 auto;width:18px;height:18px;accent-color:#4b6441;margin-top:2px}
.bio-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:7px}.bio-primary,.bio-secondary{font:14px/1.5 var(--mono);padding:11px 13px;min-height:44px;max-width:100%;white-space:normal}.bio-primary{background:#405636;color:#f7f3e7;border:1px solid #405636}.bio-secondary{background:transparent;color:#3e5533;border:1px solid #8c9a7f}.bio-primary:hover{background:#2c4025}.bio-secondary:hover{background:#dde3ce}.bio-primary:disabled,.bio-secondary:disabled{opacity:.5}
.bio-details{margin:18px 0;border-top:1px solid var(--bio-line,#4f5d45);padding-top:14px;min-width:0}.bio-details summary{font:12px/1.6 var(--mono);cursor:pointer;padding:12px 0}.bio-details p{font-size:14px;line-height:1.7;max-width:68ch;margin-top:13px;color:inherit}.bio-details code{font:12px var(--mono);overflow-wrap:anywhere}.bio-run-state{margin:24px 0 14px;padding:16px 0;border-top:1px solid var(--bio-line);border-bottom:1px solid var(--bio-line)}.bio-run-state p{font:14px/1.7 var(--sans)}.bio-run-state progress{width:100%;height:8px;accent-color:#506a42;margin-top:12px}.bio-error{padding:16px 20px 18px;border-top:1px solid #a34828;background:#f2dfd2;color:#783b22;font:14px/1.7 var(--sans)}.bio-notice{font:14px/1.7 var(--sans);border-top:1px solid #6b7751;padding:16px 0 0;margin:18px 0 28px;color:#384b2d;max-width:68ch}
.bio-results{margin-top:35px}.bio-quality-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:19px 0 36px}.bio-quality-grid p{font:12px/1.75 var(--mono);border-top:1px solid var(--bio-line);padding-top:12px}.bio-quality-grid strong{display:block;font:29px/1.5 Georgia,serif;font-weight:400;font-variant-numeric:tabular-nums lining-nums}.bio-summary{font-size:15px;line-height:1.7;max-width:68ch}.bio-estimates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--bio-line);border-bottom:1px solid var(--bio-line);margin-bottom:20px}.bio-estimates article{padding:24px 20px 24px 0;min-width:0}.bio-estimates .bio-adjusted{padding-left:24px;border-left:1px solid var(--bio-line)}.bio-estimates strong{display:block;font:400 clamp(34px,5vw,62px)/1.2 Georgia,serif;letter-spacing:-.03em;margin:12px 0;font-variant-numeric:tabular-nums lining-nums}.bio-estimates p:not(.eyebrow){font-size:14px;line-height:1.7}.bio-estimates strong.bio-unavailable{font-size:28px}.bio-warnings{list-style:disc;padding:16px 18px 16px 32px;background:#e3e4d5;margin:16px 0 26px;font-size:14px;line-height:1.7}.bio-warnings li+li{margin-top:9px}
.bio-figure{min-width:0;margin:28px 0}.bio-figure figcaption{font:12px/1.7 var(--mono)}.bio-figure svg{display:block;width:100%;max-width:100%;height:auto;min-height:140px;margin:12px 0;background:#f7f4e9}.bio-figure svg text{font:12px var(--mono);fill:#4d5d45}.bio-axis{stroke:#c7cdb9;stroke-width:1}.bio-fit{fill:none;stroke:#65784b;stroke-width:1.8;stroke-dasharray:6 4}.bio-point-a{fill:#334e3c;stroke:#334e3c}.bio-point-b{fill:#a06b31;stroke:#795026}.bio-point-excluded{opacity:.3}.bio-missing{stroke:#8d4e32;stroke-width:1.5}.bio-zero{stroke:#89927d;stroke-dasharray:4 4;stroke-width:1.3}.bio-results-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);gap:30px;margin:35px 0}.bio-results-grid>section{min-width:0}.bio-results h3{font-family:Georgia,serif;letter-spacing:-.025em}.bio-results-grid h3,.bio-sensitivity h3{font-size:26px;line-height:1.2;margin-bottom:15px}.bio-diagnostics{margin:15px 0}.bio-diagnostics div{display:grid;grid-template-columns:minmax(0,1fr) minmax(60px,.6fr);gap:12px;border-top:1px solid var(--bio-line);padding:11px 0;font-size:12px}.bio-diagnostics dd{margin:0;text-align:right;font-family:var(--mono)}
.bio-table-wrap{padding:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:14px 0}.bio-table-wrap table{font:12px/1.65 var(--mono);color:var(--bio-ink)}.bio-table-wrap th{font:12px/1.6 var(--mono);color:#4a5c42;font-weight:600}.bio-table-wrap td,.bio-table-wrap th{padding:12px 10px 12px 0;border-bottom:1px solid var(--bio-line);vertical-align:top}.bio-table-wrap td:first-child{color:var(--bio-ink)}.bio-table-wrap .bio-cell-note{white-space:normal;min-width:210px;max-width:330px;font:12px/1.7 var(--sans)}.bio-table-wrap .bio-selected{background:#dce2cd}.bio-sensitivity{margin:34px 0}.bio-table-wrap tbody:empty::after{content:'No model could be fitted.';display:block;padding:15px}
.bio-method{margin:60px 0}.bio-method>h2{max-width:650px}.bio-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 44px;margin:30px 0}.bio-method h3{font:26px/1.2 Georgia,serif;letter-spacing:-.025em;margin:0 0 16px}.bio-method-grid p{font:15px/1.7 var(--sans);max-width:68ch;color:var(--muted);margin-top:12px}.bio-method .bio-details{border-color:var(--line)}.bio-method .bio-details summary{color:var(--ink)}.bio-method .bio-details p{color:var(--muted)}.bio-sources{padding-left:20px;color:var(--muted)}.bio-sources li{margin:14px 0}.bio-sources a{text-decoration:underline;text-underline-offset:3px;color:var(--accent)}
@media(max-width:1000px){.bio-input-grid{grid-template-columns:minmax(0,1fr)}.bio-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bio-settings>p,.bio-checkbox,.bio-actions{grid-column:1/-1}.bio-settings>p{order:1}.bio-results-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.bio-method-grid{grid-template-columns:minmax(0,1fr);gap:20px}.bio-settings{grid-template-columns:minmax(0,1fr)}.bio-estimates{grid-template-columns:minmax(0,1fr)}.bio-estimates .bio-adjusted{padding:22px 0;border-left:0;border-top:1px solid var(--bio-line)}.bio-quality-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.bio-workbench{padding:16px}.bio-section-head{gap:12px}.bio-workbench .bio-section-head h2{font-size:30px}.bio-workbench .bio-section-head h3{font-size:28px}.bio-figure svg{min-height:130px}.bio-figure svg text{font-size:28px}.bio-source textarea{font-size:12px;min-height:250px}.bio-diagnostics div{grid-template-columns:minmax(0,1fr) minmax(65px,.45fr)}}
/* Example choice, depth charts and the replay check. */
.bio-example-row{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:4px}.bio-example-row label{display:flex;flex-direction:column;gap:7px;flex:1 1 260px;min-width:0}.bio-example-row select{font:12px/1.6 var(--mono);border:1px solid #8a987c;background:#faf8ee;color:#273326;width:100%;min-width:0;min-height:44px;border-radius:0;padding:10px}
.bio-transition{stroke:#6d5a2f;stroke-width:1.4;stroke-dasharray:2 4}.bio-figure .bio-transition-label{fill:#5a4a25}.bio-ring{fill:none;stroke:#7a3f24;stroke-width:1.6}.bio-bar{fill:#5b7449}.bio-bar.is-negative{fill:#a06b31}.bio-guide{stroke:#4d5d45;stroke-width:1.6;stroke-dasharray:3 3}.bio-band{fill:#d8dcc2}.bio-hist{fill:#5b7449}.bio-estimate-line{stroke:#273326;stroke-width:2}
.bio-replay textarea{font:12px/1.6 var(--mono);border:1px solid #8a987c;background:#faf8ee;color:#273326;width:100%;max-width:100%;min-width:0;border-radius:0;padding:10px;display:block;min-height:140px;margin-top:8px;resize:vertical;white-space:pre;overflow:auto}.bio-replay label{font:12px/1.65 var(--mono);display:block;margin-top:16px}.bio-replay-status{font:14px/1.7 var(--sans);margin:16px 0 0;max-width:68ch}.bio-replay-list{font:12px/1.7 var(--mono);padding-left:20px;margin:12px 0;overflow-wrap:anywhere}.bio-replay-list li+li{margin-top:8px}
