/* Presentation-only framing of genuine, live NeuroFit DOM panels. */
body.capture-active > .hdr, body.capture-active > #mainContent, body.capture-active > .skip-link { display:none !important; }
body.capture-active { margin:0; padding:0; background:white; overflow:visible !important; }
#captureRoot { width:1600px; padding:28px; background:#fff; color:#202724; box-sizing:border-box; zoom:1; font:20px/1.35 'Source Sans 3',Arial,sans-serif; }
#captureRoot * { box-sizing:border-box; }
.capture-brand { display:flex; align-items:baseline; gap:20px; border-bottom:2px solid #ccd3cf; padding:0 0 18px; margin-bottom:22px; }
.capture-brand h1 { font:700 37px Georgia,serif; margin:0; }
.capture-brand .hdr-tag { font-size:20px; color:#536059; }
.capture-grid { display:grid; grid-template-columns:500px 1fr; gap:24px; align-items:start; }
.capture-panel { min-width:0; }
.capture-panel-title { display:flex; gap:12px; align-items:baseline; font-size:25px; font-weight:650; margin:0 0 12px; }
.capture-panel-title .letter { font-size:26px; font-weight:750; }
.capture-content { min-width:0; }
#captureRoot .sec { padding:20px; border:1px solid #ccd3cf; }
#captureRoot .section-heading p, #captureRoot .section-index { display:none; }
#captureRoot .section-heading h2 { font-size:27px; }
#captureRoot .section-heading { display:block; margin-bottom:17px; }
#captureRoot .data-section .section-heading { display:none; }
#captureRoot .data-section .sec-body { margin-top:0; }
#captureRoot .field label { font-size:19px; }
#captureRoot input[type=number], #captureRoot input[type=text], #captureRoot select { font-size:21px; min-height:39px; }
#captureRoot button { font-size:19px; }
#captureRoot .field-note { display:none; }
#captureRoot .seg-plain button { font-size:20px; }
#captureRoot .ic-row { gap:13px 18px; }
#captureRoot .ic-row .amp { grid-column:auto; }
#captureRoot .ic-row .field:has(#base), #captureRoot .ic-row .field:has(#base_hh) { display:none !important; }
#captureRoot .model-toolbar { padding:17px; display:flex; flex-direction:column; align-items:stretch; gap:12px; }
#captureRoot .model-toolbar > * { grid-area:auto; margin:0; }
#captureRoot .model-toolbar .model-reset { display:none; }
#captureRoot .model-toolbar .model-context { display:none; }
#captureRoot .model-context { font-size:17px; }
#captureRoot .model-pick, #captureRoot .core-view-switch { font-size:19px; }
#captureRoot .model-toolbar select { width:100%; }
#captureRoot .model-pick { display:grid; gap:5px; }
#captureRoot .run-bar { padding:16px; border:1px solid #ccd3cf; display:flex; flex-wrap:wrap; gap:12px; margin-top:15px; }
#captureRoot .run-bar .stat { display:none; }
#captureRoot .run-bar .chk { font-size:18px; }
#captureRoot .panel-actions, #captureRoot .panel-grip { display:none !important; }
#captureRoot .card-hdr { padding:14px 16px; min-height:48px; font-size:22px; }
#captureRoot .model-badge { font-size:18px; }
#captureRoot .plot-area { padding:0; height:auto !important; }
#captureRoot .plot-area > div { min-height:0; }
#captureRoot .modebar { display:none !important; }
#captureRoot [data-help]::after { display:none !important; }
#captureRoot .capture-note { margin:18px 0 0; color:#536059; font-size:19px; }
#captureRoot .kv { font-size:20px; }
#captureRoot .kv td { padding:12px; }
#captureRoot .feat-grid {grid-template-columns:repeat(2,1fr);gap:0;}
#captureRoot .feat-cell {padding:10px 12px;min-height:62px;}
#captureRoot .fk {font-size:18px;}
#captureRoot .fv {font-size:22px;}
#captureRoot #objectiveReference {padding:18px;font-size:20px;}
#captureRoot #objectiveReference > h3, #captureRoot #objectiveReference > p, #captureRoot #objectiveReference > .eq:nth-of-type(2) {display:none;}
#captureRoot #objectiveReference .eq {font-size:20px;overflow:visible;}
#captureRoot #fitResultMap {margin:0;border:1px solid #ccd3cf;padding:16px;font-size:19px;}
#captureRoot #fitResultMap > h3,#captureRoot #fitResultMap > p {display:none;}
#captureRoot .fit-value-row {grid-template-columns:1.3fr .8fr 1fr 1fr;font-size:19px;gap:10px;padding:12px 0;}
#captureRoot .fit-value-row > :nth-child(3),#captureRoot .fit-value-row > :nth-child(5) {display:none;}
#captureRoot .fit-value-row.head {font-size:18px;}
#captureRoot .fit-run {display:flex;flex-wrap:wrap;gap:10px;padding-top:16px;}
#captureRoot #fitStopBtn,#captureRoot #fitResetBtn {display:none;}
#captureRoot .fit-value-map {min-width:0 !important;overflow:visible;}
#captureRoot .fit-value-row {grid-template-columns:1.3fr .8fr 1fr !important;min-width:0 !important;}
#captureRoot .fit-value-row > :nth-child(6) {display:none;}
#captureRoot .math-card {font-size:22px;padding:20px;}
#captureRoot .math-card h3 {display:none;}
#captureRoot .math-card .eq {font-size:20px;}
#captureRoot .math-card .math-note {font-size:21px;line-height:1.4;}
#captureRoot .equation-pair {padding:18px 12px;border:1px solid #ccd3cf;margin-top:14px;}
#captureRoot .equation-reference-row {font-size:23px;}
#captureRoot .equation-edit-row {font-size:23px;flex-wrap:wrap;gap:8px;}
#captureRoot .equation-value input {max-width:95px;}
#captureRoot #izhLiveMath .equation-pair {margin:0 0 16px;}
#captureRoot #izhLiveMath .equation-initial-condition {font-size:24px;}
#captureRoot .file-summary,#captureRoot #traceModeHint {font-size:18px;line-height:1.35;}
#captureRoot #stimFile .ic-row {grid-template-columns:1fr 1fr;gap:13px;}
#captureRoot #stimFile .amp {grid-column:1/-1;}
#captureRoot .trace-mode-picker {font-size:20px;}
#captureRoot .pfrow {grid-template-columns:22px 1.2fr .7fr .8fr .8fr;gap:10px;font-size:20px;padding:12px 0;}
#captureRoot .pfrow input {width:100%;min-width:0;}
#captureRoot .pfrow input[type=checkbox] {width:20px;}
#captureRoot #optimizerControls {padding-top:22px;}
#captureRoot .fit-block-hdr,#captureRoot .fit-initial {font-size:20px;}
#captureRoot .method-opts {font-size:20px;}
#captureRoot .radio-col {font-size:19px;line-height:1.35;}
#captureRoot .radio {align-items:flex-start;margin-bottom:14px;}
#captureRoot .rec-tag {display:none;}
#captureRoot .ow-row {font-size:21px;grid-template-columns:1fr 1fr 48px;padding:11px 0;}
#captureRoot .ow-name {font-size:19px;}
#captureRoot #detectorControls {margin-top:18px;display:flex;gap:12px;}
#captureRoot #detectorControls .field {width:33%;}

body.capture-active > #nativeGallery {display:none !important;}
#figureViewSelect {font:inherit;padding:6px;border:1px solid #aab5ae;background:white;color:#202724;}
#figureViewActions {padding:18px 28px;display:flex;gap:16px;align-items:center;background:white;color:#202724;}
#figureViewActions[hidden] {display:none;}
#figureViewMessage {font:16px/1.4 Arial,sans-serif;max-width:680px;}
@media print { #figureViewActions {display:none;} body.capture-active #captureRoot {width:100%;} }
