/* Evidence Atlas: the Guide's calm paper palette around an interactive model. */
body[data-page=research] .atlas-shell{
  grid-template-columns:clamp(180px,15vw,220px) clamp(320px,38%,430px) minmax(0,1fr);
  border-radius:12px;background:var(--surface);box-shadow:0 3px 18px #173b3e04;
}
body[data-page=research] .atlas-shell>.atlas-toolbar{
  grid-column:2;background:var(--surface);border:0;border-radius:0;
  display:flex;align-items:center;justify-content:center;padding:9px 18px;
}
body[data-page=research] .atlas-shell .anatomy-switch{gap:5px;background:var(--panel-soft);border:1px solid var(--line);padding:3px;border-radius:999px}
body[data-page=research] #content .anatomy-switch button{padding:7px 18px;min-height:33px;border-color:transparent;background:transparent;font-size:12px}
body[data-page=research] #content .anatomy-switch button[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent);box-shadow:none}
body[data-page=research] .atlas-shell>.evidence-sidebar{grid-row:1/span 2;padding:23px 16px 12px;border-radius:12px 0 0 0;border-right:1px solid var(--line)}
body[data-page=research] .atlas-shell .sidebar-title h2{font-size:16px;line-height:1.35}
body[data-page=research] .atlas-shell .sidebar-title>span{display:none}
body[data-page=research] .atlas-shell .count{font-size:11px;margin:7px 0 17px}
body[data-page=research] .atlas-shell .records{scrollbar-width:thin;scrollbar-color:var(--line) transparent}
body[data-page=research] .atlas-shell .evidence-category{border-color:var(--line)}
body[data-page=research] .atlas-shell .evidence-category>summary{font-size:12px;line-height:1.45;padding:12px 0;font-weight:500}
body[data-page=research] .atlas-shell .category-count{font-size:10px;background:transparent;padding:0;color:var(--muted)}
body[data-page=research] .atlas-shell .category-evidence{border:0;margin:0;padding:0 0 8px}
body[data-page=research] #content .category-evidence .record{border:0;border-radius:0 5px 5px 0;padding:9px 18px 9px 12px;margin:2px 0;font-size:12px;line-height:1.4;background:transparent;color:var(--muted);box-shadow:none}
body[data-page=research] #content .category-evidence .record.active{background:var(--panel-soft);color:var(--accent-hover);box-shadow:inset 3px 0 var(--accent);font-weight:600}
body[data-page=research] #content .category-evidence .record:hover{background:var(--panel-soft)}
body[data-page=research] .atlas-shell .record-arrow{display:none}
body[data-page=research] .atlas-shell .export-button{align-self:flex-start;border:0;background:transparent;padding:6px 0;margin-top:8px;font-size:10px}

body[data-page=research] .atlas-shell :is(.body-model-column,.brain-model-column,.room-column){padding:0 18px 14px;background:var(--surface);border:0}
body[data-page=research] .atlas-shell .brain-top{background:transparent;margin:0;padding:8px 0 13px;min-height:65px;border:0}
body[data-page=research] .atlas-shell .brain-top h2{font-size:24px;line-height:1.2;font-weight:600;margin:0}
body[data-page=research] .atlas-topic-domain{font-size:10px;color:var(--muted);margin:5px 0 0;line-height:1.35}
body[data-page=research] .atlas-shell :is(.body-stage,.brain-stage,.room-stage){background:#f7f7f2;border-radius:9px;overflow:hidden;min-height:0}
body[data-page=research] .atlas-shell .body-stage:focus-within{outline:2px solid var(--accent-line);outline-offset:2px}
body[data-page=research] .atlas-shell .body-stage canvas{outline:none}
body[data-page=research] .atlas-shell :is(.body-model-controls,.brain-controls,.surface-options){background:var(--surface);border:0;color:var(--muted)}
body[data-page=research] .atlas-shell .body-model-controls{padding:11px 0 0;gap:6px 10px;align-items:center;flex:none}
body[data-page=research] #content .body-model-controls button{font-size:11px;min-height:30px;padding:6px 13px}
body[data-page=research] .body-exposure-caption{font-size:10px;padding:6px 4px 0;color:var(--muted)}
body[data-page=research] .body-exposure-caption[hidden]{display:none}
body[data-page=research] .atlas-shell .model-experiences{top:10px;right:10px}
body[data-page=research] .atlas-shell .model-experience{background:#fffffff0;border:1px solid #d7e2e0;color:var(--accent);border-radius:999px;padding:5px 8px;box-shadow:none}

body[data-page=research] .atlas-shell :is(.body-evidence,.brain-interior .brain-side,.room-controls){padding:12px 20px 18px;border-left:1px solid var(--line);background:var(--surface);scrollbar-width:thin;scrollbar-color:var(--line) transparent}
body[data-page=research] .atlas-shell .atlas-column-title{font-size:21px;line-height:1.3;margin:0 0 12px}
body[data-page=research] .atlas-classification{margin:0 0 17px;color:var(--muted)}
body[data-page=research] .atlas-classification-current{display:flex;flex-wrap:wrap;gap:6px}
body[data-page=research] .atlas-classification-current span{display:inline-block;font-size:10px;font-weight:500;padding:5px 9px;border-radius:999px;background:var(--panel);color:var(--accent-hover)}
body[data-page=research] .atlas-classification-current .confidence{background:#f6efe0;color:#786248}
body[data-page=research] .atlas-classification>details>summary{font-size:10px;margin-top:6px;cursor:pointer;color:var(--muted)}
body[data-page=research] .atlas-classification .model-evidence-key{border:0;margin:7px 0 0;padding:0}
body[data-page=research] .atlas-classification .evidence-key-label{width:100%;font-size:10px}
body[data-page=research] .atlas-classification .evidence-key-chip{font-size:9px;border-radius:5px}
body[data-page=research] .atlas-classification .evidence-key-chip.applies{background:var(--panel);color:var(--accent);border-color:var(--accent-line)}
body[data-page=research] .atlas-shell .body-context{font-size:12px;font-weight:400;margin:0 0 12px;color:var(--muted)}
body[data-page=research] .atlas-shell .body-legend{font-size:9px;line-height:1.5;margin:5px 0 12px}
body[data-page=research] .body-indicators{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0 14px}
body[data-page=research] .atlas-shell .body-indicators .body-item{flex:1 1 100px;width:auto;min-width:0;max-width:100%;margin:0;padding:8px 10px;border-radius:7px;border:1px solid var(--line);background:var(--surface);box-shadow:none}
body[data-page=research] .atlas-shell .body-indicators .body-item b{font-size:12px;line-height:1.35}
body[data-page=research] .atlas-shell .body-indicators .body-item small{font-size:10px;line-height:1.35;margin-top:3px}
body[data-page=research] .atlas-shell .body-indicators .body-item[aria-pressed=true]{background:var(--panel-soft)!important;border-color:var(--accent-line)!important}
body[data-page=research] .atlas-shell .body-indicators .body-item.measured{box-shadow:inset 3px 0 #bf8873}
body[data-page=research] .atlas-shell .body-indicators .body-item.input{box-shadow:inset 3px 0 #71aa9b}
body[data-page=research] .atlas-shell .body-indicators .body-item.behavioral{border-style:dashed}
body[data-page=research] .atlas-shell .body-readout{border:0;padding:0;font-size:12px;line-height:1.6}
body[data-page=research] .atlas-shell .body-observation{margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid var(--line)}
body[data-page=research] .atlas-shell .body-observation>b,body[data-page=research] .body-evidence h3{font-size:12px;font-weight:600;letter-spacing:0;color:var(--ink);margin:0 0 5px;line-height:1.4}
body[data-page=research] .atlas-shell .body-observation p,body[data-page=research] .body-evidence>section>p{font-size:12px;line-height:1.6;color:var(--text);margin:4px 0 0}
body[data-page=research] .body-observation-details{margin:8px 0 15px}
body[data-page=research] .body-observation-details>summary,body[data-page=research] .body-scientific-boundary>summary{cursor:pointer;font-size:11px;font-weight:500;color:var(--accent);line-height:1.5}
body[data-page=research] .body-observation-details[open]{padding-bottom:12px;border-bottom:1px solid var(--line)}
body[data-page=research] .body-observation-details[open]>.body-observation:first-of-type{margin-top:12px}
body[data-page=research] .atlas-shell .body-study-links{border:0;padding:0;margin:10px 0 0}
body[data-page=research] .atlas-shell .body-study-links a{font-size:10px;line-height:1.5;margin:5px 0}
body[data-page=research] .body-design-implication{padding-top:12px;border-top:1px solid var(--line);margin-top:12px}
body[data-page=research] .body-scientific-boundary{padding:10px 0;margin:10px 0;color:var(--muted)}
body[data-page=research] .body-scientific-boundary p{font-size:11px;line-height:1.6;color:var(--muted)}
body[data-page=research] .atlas-shell .body-study-outcome{padding-top:12px;margin:0 0 14px;border:0}
body[data-page=research] .atlas-shell .body-study-outcome[hidden]{display:none}
body[data-page=research] .atlas-shell .region-choice{border-radius:8px;padding:10px 12px}
body[data-page=research] .atlas-shell .region-readout{font-size:12px;line-height:1.6}
body[data-page=research] .atlas-shell>.research-disclosure{border-radius:0 0 12px 12px;overflow:hidden}

@media screen and (min-width:850px){body[data-page=research] .atlas-shell{grid-template-rows:57px var(--atlas-model-height) auto}}
@media screen and (min-width:850px) and (max-width:1399px){
 body[data-page=research] .atlas-shell{grid-template-columns:180px clamp(320px,38%,430px) minmax(0,1fr)}
 body[data-page=research] .atlas-shell>.evidence-sidebar{padding-left:13px;padding-right:13px}
 body[data-page=research] .atlas-shell :is(.body-evidence,.brain-interior .brain-side,.room-controls){padding:10px 15px 15px}
 body[data-page=research] .atlas-shell :is(.body-model-column,.brain-model-column,.room-column){padding-left:14px;padding-right:14px}
 body[data-page=research] .atlas-shell .atlas-column-title{font-size:19px}
 body[data-page=research] .atlas-shell .brain-top h2{font-size:22px}
}
/* Share the model toolbar row with the right-panel heading. */
@media screen and (min-width:850px){
 body[data-page=research] .atlas-shell :is(.body-evidence,.brain-interior .brain-side){grid-row:1/span 2;padding-top:0}
 body[data-page=research] .atlas-shell :is(.body-evidence,.brain-interior .brain-side)>.atlas-column-title{display:flex;align-items:center;min-height:57px;margin:0 0 12px}
}
@media screen and (min-width:651px) and (max-width:849px){
 body[data-page=research] .atlas-shell{grid-template-columns:190px minmax(0,1fr);grid-template-rows:57px 590px auto auto}
 body[data-page=research] .atlas-shell>.atlas-toolbar{grid-column:2}
 body[data-page=research] .atlas-shell :is(.body-model-column,.brain-model-column){width:min(100%,440px);justify-self:center}
 body[data-page=research] .atlas-shell :is(.body-evidence,.brain-interior .brain-side,.room-controls){grid-column:1/-1;grid-row:3;border-left:0;border-top:1px solid var(--line);padding:22px;overflow:visible}
 body[data-page=research] .atlas-shell>.research-disclosure{grid-row:4}
}
@media screen and (max-width:650px){
 body[data-page=research] .atlas-shell{display:flex;border-radius:10px}
 body[data-page=research] .atlas-shell>.atlas-toolbar{padding:10px 6px;min-height:56px;flex:none;border-bottom:1px solid var(--line)}
 body[data-page=research] #content .anatomy-switch button{font-size:11px;padding:6px 10px}
 body[data-page=research] .atlas-shell>.evidence-sidebar{max-height:220px;padding:14px;border:0;border-bottom:1px solid var(--line);border-radius:0}
 body[data-page=research] .atlas-shell .sidebar-title h2{font-size:14px}
 body[data-page=research] .atlas-shell .count{margin:4px 0 8px}
 body[data-page=research] .atlas-shell .records{max-height:150px}
 body[data-page=research] .atlas-shell .export-button{display:none}
 body[data-page=research] .atlas-shell :is(.body-model-column,.brain-model-column,.room-column){height:610px;min-height:610px;padding:0 12px 14px}
 body[data-page=research] .atlas-shell .brain-top{padding:16px 0 12px;min-height:0}
 body[data-page=research] .atlas-shell :is(.body-evidence,.brain-interior .brain-side,.room-controls){border-left:0;border-top:1px solid var(--line);padding:20px 17px;overflow:visible}
}
@media print{body[data-page=research] .atlas-shell{display:block}body[data-page=research] .atlas-shell :is(.body-model-column,.brain-model-column,.room-column){display:none}}
body[data-page=research] .body-evidence .body-context{display:none}
body[data-page=research] .body-study-exposure{padding:0 0 12px;border-bottom:1px solid var(--line);margin-bottom:12px}
body[data-page=research] .body-study-exposure>span{font-size:11px;font-weight:600;color:var(--ink)}
body[data-page=research] .body-study-exposure>p{font-size:12px;line-height:1.6;margin:4px 0 0;color:var(--muted)}
body[data-page=research] .body-observation-heading{font-size:11px;font-weight:500;color:var(--accent);margin:0 0 10px;line-height:1.4}
body[data-page=research] .body-design-implication>small{font-size:9px;color:var(--muted);line-height:1.45;display:block;margin-top:6px}
