/* Local to optogenetics. The legacy shared programs retain their own layouts. */
body.opto-3d-complete .lab-layout{display:grid!important;grid-template-columns:minmax(280px,340px) minmax(0,1fr);align-items:start;gap:22px}.opto-3d-complete .control-panel{grid-column:1;padding:23px;background:#0c2533;border:1px solid #698e982e;border-radius:18px}.opto-3d-complete .lab-layout>.mechanism-panel{grid-column:2;min-width:0;margin:0;padding:0;border-radius:18px;overflow:hidden}.opto-3d-complete .mechanism-panel>.section-head{padding:20px 20px 0}.opto-3d-complete .mechanism-panel h2{font-size:25px!important}.opto-3d-complete .mechanism-panel .mechanism-layout{display:block!important;margin:0}.opto-3d-complete .mechanism-layout>figure,.opto-3d-complete .waveform-head,.opto-3d-complete #waveform,.opto-3d-complete .experiment-timeline{display:none!important}.opto-3d-complete #mechanism-svg{width:100%;padding:0;min-width:0}.opto-3d-complete .mechanism-layout>div{min-width:0}.opto-three-studio{padding:0!important;margin:0!important;background:#091f29;border:0;border-radius:0}.opto-three-studio>h3{font-size:19px!important;padding:0 17px;margin:16px 0 7px!important;line-height:1.6}.opto-three-studio>.studio-intro{padding:0 17px;margin:0 0 14px;color:#b3cbd0;font-size:14px;line-height:1.9}.opto-three-studio iframe{border:0;width:100%;display:block;background:#091f29;min-height:450px}.opto-verify-bar{display:flex!important;align-items:center;gap:10px;padding:10px 17px 0;margin:0!important}.opto-verify-bar #run{font-size:16px;min-height:47px}.opto-verify-hint{font-size:13px;color:#a4c2c6;margin:9px 17px 13px;line-height:1.8}.opto-study-picker h3{font-size:22px;line-height:1.5;margin:0 0 14px}.opto-study-picker label{display:block;font-size:14px;color:#c8d9d9;margin-bottom:7px}.opto-study-picker select{width:100%;max-width:100%;font-size:15px;min-height:48px;background:#102d3a;color:#edf7f3;border:1px solid #6da4a069;border-radius:9px;padding:8px}.opto-study-picker>p{font-size:14px;line-height:1.9;color:#abc4c8}.opto-study-advanced{margin:17px 0;border:1px solid #63858c42;border-radius:10px;padding:12px}.opto-study-advanced summary{font-size:14px;cursor:pointer;color:#c8dddc}.opto-study-advanced select{max-width:100%;font-size:14px}.opto-reference-atlas{margin-top:24px;background:#0b2430;border:1px solid #6da4a04d;border-radius:14px;padding:17px}.opto-reference-atlas summary{cursor:pointer;font-size:16px;color:#d2e4e2}.opto-reference-atlas .atlas-panel{margin-top:18px;max-width:850px}.opto-reference-atlas .brain-map{max-width:700px}.opto-3d-complete #protocol-preview{padding:0;background:transparent;margin-top:15px}.opto-3d-complete #protocol-preview h3{font-size:20px;line-height:1.6}.opto-3d-complete #protocol-preview p{font-size:15px;color:#c2d5d8;line-height:1.9}.opto-3d-complete .prediction{margin-top:20px}.opto-3d-complete .prediction h3{font-size:21px}.opto-3d-complete #prediction-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.opto-3d-complete #prediction-options button{font-size:15px!important;padding:12px 9px;min-height:80px;line-height:1.6}.opto-3d-complete #prediction-options .guess>b{font-size:15px}.opto-3d-complete #experiment-mechanism{margin-top:22px;padding:25px;border:1px solid #729c9a4a;background:#0c2632;border-radius:15px}.opto-3d-complete #experiment-mechanism h3{font-size:24px;line-height:1.5}.opto-3d-complete #experiment-mechanism p{font-size:16px!important;line-height:2;color:#c0d2d8}.mechanism-focus-links{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.mechanism-focus-links button,.opto-tool-cards button{font-size:14px;padding:9px 12px;min-height:42px;border:1px solid #8ec6bb6b;background:#18453f;color:#dcedd6;border-radius:8px;cursor:pointer}.opto-tool-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.opto-tool-cards article{background:#0c2836;border:1px solid #8bbab33b;border-radius:17px;padding:24px}.opto-tool-cards h3{font-size:23px;line-height:1.5;margin:0 0 12px}.opto-tool-cards p{font-size:16px;line-height:2;color:#b9cdd3}.opto-evidence-circuit{padding:20px;background:#0c2632}.opto-evidence-circuit h3{font-size:19px;line-height:1.5;margin:0 0 16px}.evidence-nodes{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.evidence-node{background:#153746;border:1px solid #81aaa857;border-radius:11px;padding:11px 13px;flex:1;min-width:100px}.evidence-node small{font:12px ui-monospace,monospace;color:#9dd2bc}.evidence-node p{font-size:15px!important;line-height:1.7;margin:5px 0}.evidence-edge{font-size:27px;color:#9ddedc}.evidence-edge.inhibit{color:#dbb0de}.evidence-edge.association{color:#93aebc}.evidence-note{font-size:14px;line-height:1.9;color:#b6ccd0}.viewer-error{color:#ffd0ba;padding:15px}.opto-3d-complete .lab>.section-head h2{font-size:36px}@media(max-width:1050px){body.opto-3d-complete .lab-layout{grid-template-columns:minmax(260px,300px) minmax(0,1fr);gap:15px}.opto-3d-complete .control-panel{padding:17px}.opto-3d-complete #prediction-options{grid-template-columns:1fr}.opto-3d-complete #prediction-options button{min-height:55px}.opto-3d-complete .mechanism-panel h2{font-size:23px!important}}@media(max-width:780px){body.opto-3d-complete .lab-layout{grid-template-columns:1fr!important}.opto-3d-complete .control-panel,.opto-3d-complete .lab-layout>.mechanism-panel{grid-column:1}.opto-3d-complete #prediction-options{grid-template-columns:1fr 1fr}.opto-3d-complete #prediction-options button{min-height:75px}.opto-tool-cards{grid-template-columns:1fr}.opto-tool-cards article{padding:20px}.opto-3d-complete .mechanism-panel>.section-head{padding:17px 15px 0}.opto-three-studio>h3{font-size:18px!important}.opto-study-picker h3{font-size:24px}.opto-evidence-circuit{padding:16px}.evidence-nodes{display:grid;grid-template-columns:1fr}.evidence-edge{text-align:center;transform:rotate(90deg)}.opto-3d-complete #experiment-mechanism{padding:20px}.opto-3d-complete #experiment-mechanism p{font-size:16px!important}}

.opto-3d-complete .hero{min-height:0;padding-top:35px;padding-bottom:30px;gap:35px}.opto-3d-complete .hero h1{font-size:clamp(42px,5vw,72px);line-height:1.17}.opto-3d-complete .hero-art{max-height:410px;aspect-ratio:1.4}.opto-3d-complete .hero-art img{height:100%;object-fit:cover}.opto-3d-complete .hero-deck{font-size:17px;line-height:1.9}.opto-3d-complete .manifesto-strip{gap:30px;font-size:14px}.opto-study-comparisons h2{font-size:32px;line-height:1.5}.compare-progress{color:#a9c9ca}.study-comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.study-comparison-grid article{border:1px solid #84aaa740;border-radius:16px;padding:23px;background:#0b2734}.study-comparison-grid h3{font-size:23px;line-height:1.5}.study-comparison-grid p{font-size:15px;line-height:1.9;color:#bed0d7}.study-pair{display:grid;grid-template-columns:1fr 1fr;gap:13px}.study-pair>div{padding:12px;background:#113240;border-radius:9px}.study-pair b{font-size:15px;line-height:1.7}.study-pair button,.comparison-choices button{border:1px solid #8fb7ae55;background:#183b45;color:#dce8d9;border-radius:8px;padding:9px 10px;font-size:14px;line-height:1.7;cursor:pointer;min-height:42px}.comparison-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}.comparison-choices button[aria-pressed=true]{background:#d1e3b5;color:#143a37}.study-comparison-grid summary{cursor:pointer;font-size:14px}.study-comparison-grid details{margin-top:15px}.study-comparison-grid details a{font-size:14px}.comparison-feedback{padding:12px 0}.comparison-feedback:empty{padding:0}#opto-share-dialog{width:min(540px,95vw);max-height:92vh;overflow:auto;background:#0a2532;color:#deeee5;border:1px solid #789e9c;border-radius:16px;padding:20px}#opto-share-dialog::backdrop{background:#00141bc9}#opto-share-dialog img{width:100%;height:auto;display:block;border-radius:9px}#opto-share-dialog button{float:right;color:#e6efdf;background:#21453d;border:1px solid #6d9a8a;border-radius:8px;padding:7px 12px}#opto-share-dialog a{display:inline-block;margin-top:15px;color:#def2c1}@media(max-width:780px){.study-comparison-grid{grid-template-columns:1fr}.opto-study-comparisons h2{font-size:27px}.study-comparison-grid article{padding:18px}.study-comparison-grid h3{font-size:22px}.study-pair{grid-template-columns:1fr}.comparison-choices{grid-template-columns:1fr}.opto-3d-complete .hero{padding-top:24px}.opto-3d-complete .hero-art{max-height:280px}.opto-3d-complete .manifesto-strip{gap:12px;font-size:12px}}

.opto-context-badge{font-size:14px;margin:0;padding:10px 16px;background:#183e42;color:#d2e9ce;border-top:1px solid #9bbb8f42}.read-without-3d{margin:15px;padding:10px 14px;min-height:44px;border:1px solid #8ab2a7;background:#d3e4b6;color:#173d37;border-radius:8px;font-size:16px;cursor:pointer}

#opto-share-dialog img{height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}#opto-share-dialog .paimm-media-frame{height:auto!important;aspect-ratio:auto!important}#opto-share-close{position:sticky;top:0;z-index:4}

html[lang=en] .opto-3d-complete #prediction-options .guess{display:block;text-align:left}html[lang=en] .opto-3d-complete #prediction-options .guess>span{display:block;margin-bottom:7px}html[lang=en] .opto-3d-complete #prediction-options .guess>b{display:block;word-break:normal;overflow-wrap:normal;hyphens:auto}

.opto-3d-complete .paimm-language{position:relative;right:auto;bottom:auto;z-index:1;width:max-content;max-width:100%;display:inline-flex;margin:18px 0 0;box-shadow:none}.opto-3d-complete .paimm-language select{max-width:145px}

/* Collection entries pair each illustration with its study navigation. */
.chapter-entry{display:block;height:100%;color:inherit}.chapter-entry>div{padding:17px}.chapter-entry h3{font-size:18px;margin:0 0 8px}.chapter-entry p{font-size:14px;color:var(--muted);margin:0}.chapter-go,.topic-card .topic-go{display:block;color:var(--cyan);font-size:14px;margin-top:12px}.chapter-entry:hover,.topic-card:hover{background:#153746}.chapter-reward{padding:0 17px 17px}.chapter-reward .small-button{margin-top:0}.chapter-card:has(.chapter-reward) .chapter-entry{height:auto}a.topic-card{display:flex;flex-direction:column;padding:0;overflow:hidden;min-width:0}.topic-card img{width:100%;aspect-ratio:4/3;object-fit:cover;flex:none}.topic-copy{padding:15px}.opto-citation{display:block;font-size:15px;line-height:1.9;overflow-wrap:anywhere;color:#b0e4e2}.opto-reference-fold .reference-entry{padding:15px 0}.opto-reference-fold .foundation-sources{margin-top:0}.opto-reference-fold .source-row{display:block}.opto-reference-fold .source-row a{display:block;margin:14px 0}.opto-reference-fold .foundation-sources h3{display:none}.opto-reference-fold summary{line-height:1.8;min-height:32px}@media(max-width:700px){.chapter-entry>div,.topic-copy{padding:12px}.chapter-entry h3{font-size:17px}.topic-card b{font-size:15px}.opto-citation{font-size:14px}.opto-reference-fold{padding:14px}}
