.atlas-key{display:inline-flex;gap:7px;align-items:center;white-space:nowrap}.atlas-key i{display:inline-block;width:10px;height:10px;border-radius:50%;background:#171717}.atlas-key:last-child i{background:#ffbf00}
.tree-study{grid-template-columns:minmax(0,2.45fr) minmax(240px,1fr);gap:clamp(16px,2.2vw,30px);align-items:stretch;margin-top:5px}.tree-study .network-stage{align-self:start;background:#171715}
.tree-field{position:relative;overflow:hidden}.tree-field:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at center,#36342b30,transparent 65%);pointer-events:none}
#studyTree{height:clamp(245px,34vh,390px);width:100%;display:block;touch-action:none;cursor:grab;position:relative}#studyTree.dragging{cursor:grabbing}#studyTree.dragging .tree-node{cursor:grabbing}
.tree-edge{opacity:.21;stroke-width:1;transition:opacity .2s;pointer-events:none}.tree-edge.dim{opacity:.035}.tree-edge.lit{opacity:.82;stroke-width:1.45}
.tree-node{cursor:pointer;outline:none;transition:opacity .2s}.tree-node.dim{opacity:.22}.tree-node.dim:hover,.tree-node:focus-visible{opacity:1}.tree-dot{fill:var(--node-color);stroke:#171715;stroke-width:.7}.tree-halo{fill:transparent;stroke:transparent;stroke-width:1.25}.tree-hit{fill:transparent;stroke:none}.tree-node.picked .tree-halo,.tree-node.hovered .tree-halo,.tree-node:focus-visible .tree-halo{stroke:var(--node-color);fill:#ffbf001b}.tree-node.picked .tree-dot,.tree-node.hovered .tree-dot{stroke:#fff;stroke-width:1.6}.tree-node.tree-root .tree-dot{fill:#f1e9d9}.tree-node.tree-experiment .tree-dot{fill:#171715;stroke:var(--node-color);stroke-width:2.5}.tree-node.tree-type .tree-dot{stroke:#171715;stroke-width:1.5}.tree-label{font-size:12px;font-weight:750;fill:var(--node-color);paint-order:stroke;stroke:#171715;stroke-width:3.7px;stroke-linejoin:round;pointer-events:none}.tree-root .tree-label,.tree-experiment .tree-label{font-size:14px;font-weight:850}.tree-node.picked .tree-label,.tree-node.hovered .tree-label{fill:#fff}.tree-tip{position:absolute;transform:translate(-50%,-100%);padding:5px 9px;background:#f7ebd1;color:#171715;border:1px solid #171715;font-size:12px;font-weight:650;white-space:nowrap;pointer-events:none;z-index:3;box-shadow:2px 2px 0 #ffbf00a0}
.tree-detail{min-width:0;min-height:0;display:flex;flex-direction:column;gap:7px;justify-content:flex-start;padding:3px 0 0}.tree-breadcrumb{font-size:12px;font-weight:700;color:var(--muted);white-space:normal}.tree-breadcrumb button{background:transparent;border:0;border-bottom:1px solid currentColor;color:var(--muted);padding:0;cursor:pointer}.tree-breadcrumb button:hover{color:var(--ink)}
.tree-title{font-size:clamp(19px,2.1vw,30px);font-weight:900;line-height:1.2;letter-spacing:-.025em}.tree-number{font-size:clamp(40px,5vw,72px);font-weight:900;line-height:.95;letter-spacing:-.065em}.tree-number small{font-size:.24em;letter-spacing:0;margin-left:7px;color:var(--muted)}.tree-detail p{font-size:13px;line-height:1.45;color:var(--muted);margin:0}.tree-detail p.tree-help{font-size:13px;color:var(--ink)}.tree-choices{display:flex;flex-direction:column;margin:3px 0;border-top:1px solid var(--line)}.tree-choices button{display:grid;grid-template-columns:13px minmax(0,1fr) auto;align-items:center;gap:7px;text-align:left;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);padding:7px 3px;cursor:pointer}.tree-choices button:hover{background:#ffbf0029}.tree-choices i{width:9px;height:9px;background:#171715;border-radius:50%}.tree-choices i.yellow{background:#ffbf00;border:1px solid #a77d00}.tree-choices b{font-size:14px}.tree-choices small{display:block;color:var(--muted);font-size:11px}.tree-choices strong{font-size:17px;font-variant-numeric:tabular-nums}.tree-result{align-self:flex-start;background:#ffbf00;border:1px solid #ffbf00;color:#171715;font-weight:850;font-size:16px;padding:9px 13px;cursor:pointer}.tree-result:hover{border-color:#171715}.tree-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:7px 0}.tree-stats span{display:block;font-size:11px;color:var(--muted);line-height:1.2}.tree-stats b{display:block;font-size:clamp(24px,3vw,40px);font-weight:900;line-height:1.15;letter-spacing:-.045em}.tree-detail p.tree-small{font-size:11px}.tree-stimulus{height:clamp(80px,13vh,126px);display:flex;align-items:center;justify-content:center;background:#f7efe05c;border:1px solid var(--line)}.tree-stimulus svg{width:100%;height:100%}.tree-stimulus p{padding:10px;text-align:center}.tree-unit-picker{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin-top:2px}.tree-unit-picker span{white-space:nowrap}.tree-unit-picker select{min-width:0;flex:1;background:transparent;font-size:13px;padding:5px 8px;border:1px solid var(--line);color:var(--ink)}.tree-source{line-height:1.4!important;font-size:11px!important;margin-top:5px!important}.tree-study .network-toolbar button[aria-pressed=true]{background:#ffbf00;color:#171715}
@media(max-width:900px){.tree-study{grid-template-columns:1fr}.tree-study .network-stage{align-self:stretch}#studyTree{height:clamp(240px,58vw,400px)}.tree-detail{padding-top:8px}.tree-stimulus{height:160px}.tree-tip{font-size:10px}}
@media(max-width:470px){.tree-study .network-meta{font-size:8px;letter-spacing:0}.tree-study .network-toolbar>span{font-size:8px}.tree-study .network-toolbar button{padding:4px 7px}.tree-tip{max-width:90%;white-space:normal}.tree-stats b{font-size:28px}}
@media(prefers-reduced-motion:reduce){.tree-node,.tree-edge{transition:none}}

/* Keep the corrected legend and shared evidence-page spacing. */
.tree-study .network-meta>span:last-child{display:flex;gap:16px;align-items:center;font-weight:650;letter-spacing:0}
.tree-study .network-meta .tree-legend-a,.tree-study .network-meta .tree-legend-b{display:inline-flex;align-items:center;gap:6px;color:#e9dfcd;white-space:nowrap}
.tree-study .network-meta .tree-legend-b{color:#ffbf00}
.tree-study .network-meta i{width:9px;height:9px;border-radius:50%;background:currentColor;display:inline-block}
.evidence{justify-content:flex-start}
.evidence #researchContent:has(.research-tools){margin-top:-9px}
.evidence .research-tools{margin:0 0 9px;min-height:34px;padding:0 0 5px;border-bottom:1px solid var(--line);align-items:center}
.evidence .research-tools>span:first-child{font-weight:650}
.evidence .research-tools>div,.evidence .research-tools>label{display:flex;align-items:center;gap:7px}
#wipe.init{background:var(--yellow);color:var(--ink)}
#wipe.init .loading-line{background:#17171735}
.evidence .research-tools{min-height:43px;padding:2px 0 12px;margin:0 0 12px;gap:16px}
.evidence .research-tools>div{gap:8px}
.tree-node.tree-experiment .tree-dot{fill:var(--node-color);stroke:#171715;stroke-width:1.5}
.tree-code{fill:#171715;font-size:11px;font-weight:900;pointer-events:none;user-select:none}
.tree-root .tree-code{font-size:13px}.tree-experiment .tree-code{font-size:13px}
.tree-label{font-size:10px;font-weight:700;stroke-width:3px;letter-spacing:.02em}
.tree-root .tree-label,.tree-experiment .tree-label{font-size:12px}
.tree-edge{opacity:.22}.tree-edge[data-edge="A"],.tree-edge[data-edge="B"]{stroke-width:2.1;opacity:.55}
.tree-edge[data-edge="A1"],.tree-edge[data-edge="A2"],.tree-edge[data-edge="A3"],.tree-edge[data-edge="A4"],.tree-edge[data-edge="A5"],.tree-edge[data-edge="B1"],.tree-edge[data-edge="B2"]{stroke-width:1.6;opacity:.55}
.tree-edge.dim{opacity:.035}
#studyTree{height:clamp(250px,36vh,410px);cursor:default}.tree-node{cursor:grab}
.tree-field:before{background:radial-gradient(ellipse at center,#3b392d30,transparent 75%)}
.bias-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,2.6vw,36px);align-items:start;margin-top:8px}
.bias-panel{min-width:0}.bias-panel+.bias-panel{border-left:1px solid var(--line);padding-left:clamp(12px,2.4vw,32px)}
.bias-panel h3{font-size:clamp(16px,1.6vw,22px);line-height:1.3;display:flex;align-items:center;gap:10px;margin:0 0 4px;font-weight:850}
.bias-panel h3 i{height:12px;width:12px;border:1.5px solid var(--ink);border-radius:50%;background:var(--yellow);display:inline-block;flex:none}.bias-panel+.bias-panel h3 i{background:transparent}
.bias-panel>p{font-size:12px;color:var(--muted);margin-bottom:10px;line-height:1.5}.bias-panel svg{height:clamp(170px,26vh,260px);width:100%;display:block;overflow:visible}
.bias-split .bias-point{cursor:pointer;outline:none}.bias-point:focus-visible .bias-mark,.bias-point:hover .bias-mark,.bias-point.active .bias-mark{stroke-width:2.7;stroke:var(--ink)}.bias-point.active .bias-hit{fill:#ffbf0027}
.bias-focus{min-height:34px;border-top:1px solid var(--line);padding:10px 0 0;margin-top:7px;font-size:13px;line-height:1.55;color:var(--ink)}
.bias-focus b{color:var(--ink);font-weight:850}.bias-footer{margin-top:7px;line-height:1.5}
@media(max-width:540px){.bias-split{grid-template-columns:1fr;gap:12px}.bias-panel+.bias-panel{border-left:0;border-top:1px solid var(--line);padding:10px 0 0}.bias-panel svg{height:160px}}
@media(max-width:540px){.tree-study .network-meta{padding:9px;gap:5px}.tree-study .network-meta>span:last-child{gap:7px}.tree-study .network-meta i{width:6px;height:6px}.tree-study .network-toolbar{padding:8px}.evidence .research-tools{flex-wrap:wrap;gap:5px}}

/* Shared top and bottom alignment; the action and lower data controls mark the same baseline. */
.tree-study .network-stage{align-self:stretch}.tree-study .tree-field{flex:1;display:grid;align-items:center}
.tree-detail{padding:3px 0 0;gap:clamp(7px,1.1vh,13px);border-bottom:1px solid var(--line);padding-bottom:9px}
.tree-detail[data-kind="root"] .tree-result{margin-top:auto;align-self:stretch;text-align:center;padding:13px 16px}
.tree-detail[data-kind="root"] .tree-choices{margin-top:5px}.tree-detail[data-kind="root"] .tree-choices button{padding:clamp(9px,1.3vh,15px) 3px}
.tree-detail[data-kind="experiment"] .tree-help{margin-top:auto;padding-top:9px}
.tree-detail .tree-stimulus{flex:1;min-height:100px;max-height:180px}.tree-detail .tree-unit-picker{margin-top:auto;padding-top:6px}
.tree-number,.tree-stats b,.tree-choices strong{font-variant-numeric:tabular-nums}
#studyTree{cursor:grab}#studyTree.dragging{cursor:grabbing}
#treeSpin[aria-pressed="true"]{color:#171717;background:var(--yellow);border-color:var(--yellow)}
#studyTree.replaying .tree-node,#studyTree.replaying .tree-edge{transition:none}
.tree-study .network-toolbar{gap:6px}.tree-study .network-toolbar>div{flex-shrink:0}.tree-study .network-toolbar>span{line-height:1.4;letter-spacing:0}
@media(max-width:900px){.tree-detail{padding-top:8px;min-height:0}.tree-detail .tree-stimulus{flex:none;height:160px}.tree-detail[data-kind="root"] .tree-result{align-self:flex-start}}
@media(min-width:901px){
  .tree-study{height:clamp(345px,46vh,490px);grid-template-rows:minmax(0,1fr)}
  .tree-study .network-stage,.tree-study .tree-field{min-height:0}
  .tree-study .tree-field{display:flex;align-items:stretch}
  #studyTree{height:100%;min-height:0;flex:1}
  .tree-detail{overflow-y:auto;scrollbar-width:thin;min-height:0;gap:clamp(5px,.8vh,8px)}
  .tree-detail>*{flex-shrink:0}
  .tree-detail .tree-stimulus{flex:1 1 100px;min-height:72px;max-height:145px}
  .tree-detail[data-kind="root"]{gap:clamp(6px,.85vh,10px)}
  .tree-detail[data-kind="root"] .tree-choices button{padding:clamp(7px,1vh,11px) 3px}
  .tree-detail[data-kind="experiment"] .tree-choices button{padding:5px 3px}
}

/* Editorial small multiples: each stimulus has its own two independent rulers. */
.bias-editorial-tools{gap:12px!important;margin-bottom:0!important}
.bias-mode{display:flex;gap:5px!important}
.bias-mode button{font:inherit;font-weight:700;padding:5px 10px;border:1px solid var(--ink);background:transparent;color:var(--ink);cursor:pointer;white-space:nowrap}
.bias-mode button[aria-pressed=true]{background:var(--yellow)}
.bias-editorial{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-bottom:1px solid var(--line);padding-bottom:10px}
.bias-card{min-width:0;padding:15px clamp(12px,1.8vw,29px) 5px;position:relative;transition:background .25s}
.bias-card:first-child{padding-left:0}.bias-card:last-child{padding-right:0}.bias-card+.bias-card{border-left:1px solid var(--line)}
.bias-card.chosen{background:linear-gradient(180deg,#ffbf0017,transparent 90%)}
.bias-card-title{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:clamp(78px,11vh,120px);width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);padding:0 0 9px;background:none;color:var(--ink);cursor:pointer}
.bias-card-title>div:first-child{min-width:0;flex:1}
.bias-card-title strong{display:block;font-weight:900;font-size:clamp(22px,2.3vw,37px);line-height:1.12;letter-spacing:-.04em;white-space:nowrap;margin:5px 0 7px}
.bias-cat{font-size:clamp(11px,1.1vw,15px);font-weight:750;color:var(--muted)}
.bias-choice{font-size:11px;color:var(--muted);display:inline-block;border-bottom:1px solid var(--line);padding-bottom:2px}.bias-card.chosen .bias-choice{color:var(--ink);border-color:var(--yellow);font-weight:700}
.bias-glyph{width:42%;max-width:150px;height:clamp(56px,9vh,90px);flex-shrink:0;display:flex;align-items:center}.bias-glyph svg{width:100%;height:100%}
.bias-editorial-metric{padding-top:clamp(9px,1.3vh,17px);transition:opacity .3s}
.bias-metric-head{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-bottom:6px}.bias-metric-head>span{display:flex;align-items:center;gap:5px;font-size:clamp(10px,1vw,13px);font-weight:700;line-height:1.15}.bias-metric-head i{width:9px;height:9px;display:inline-block;background:var(--yellow);border:1px solid var(--ink);flex:none}.bias-editorial-metric[data-measure="1"] i{background:transparent}
.bias-metric-head b{font-size:clamp(23px,2.6vw,39px);font-weight:900;line-height:1;letter-spacing:-.045em;font-variant-numeric:tabular-nums;white-space:nowrap}
.bias-ruler{position:relative;height:clamp(13px,2.1vh,24px);border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:repeating-linear-gradient(to right,transparent 0,transparent calc(33.333% - 1px),#a9a09270 calc(33.333% - 1px),#a9a09270 33.333%)}
.bias-fill{width:var(--extent);height:100%;background:var(--yellow);transform-origin:left center;position:relative}.bias-editorial-metric[data-measure="1"] .bias-fill{background:repeating-linear-gradient(135deg,#171717 0,#171717 1px,transparent 1px,transparent 5px);border:1px solid var(--ink);border-left:0}
.bias-end{position:absolute;left:var(--extent);top:-3px;height:calc(100% + 6px);border-left:1.5px solid var(--ink)}
.bias-axis{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;padding-top:4px;font-variant-numeric:tabular-nums}
.bias-editorial[data-mode="0"] [data-measure="1"],.bias-editorial[data-mode="1"] [data-measure="0"]{opacity:.26}
.bias-editorial-insight{display:grid;grid-template-columns:minmax(110px,18%) 1fr auto;align-items:center;gap:clamp(10px,2vw,25px);padding:12px 0 10px;border-bottom:1px solid var(--line)}
.bias-editorial-insight>div{border-left:4px solid var(--yellow);padding-left:10px}.bias-insight-kicker{display:block;font-size:10px;font-weight:650;color:var(--muted);margin-bottom:3px}.bias-editorial-insight b{font-size:clamp(15px,1.6vw,22px);line-height:1.15}.bias-editorial-insight p{font-size:clamp(12px,1.3vw,18px);font-weight:650;margin:0}.bias-insight-marker{font-family:monospace;font-size:11px;color:var(--muted);white-space:nowrap}.bias-footer{margin-top:7px!important}
@media(max-width:900px){.bias-editorial{grid-template-columns:1fr}.bias-card,.bias-card:first-child,.bias-card:last-child{padding:10px 0}.bias-card+.bias-card{border-left:0;border-top:1px solid var(--line)}.bias-card-title{min-height:75px}.bias-glyph{max-width:115px}.bias-editorial-insight{grid-template-columns:1fr;gap:6px}.bias-insight-marker{display:none}}
@media(max-width:540px){.bias-editorial-tools{flex-wrap:wrap}.bias-mode button{padding:4px 7px}}

/* One metric at a time, one shared scale, no repeated panel furniture. */
.bias-simple-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 12px;border-bottom:1px solid var(--line)}
.bias-simple-tools h3{font-size:clamp(18px,2vw,30px);font-weight:850;letter-spacing:-.025em;margin:0}
.bias-simple-chart{--label-width:clamp(185px,24%,300px);--value-width:clamp(64px,10%,115px);margin-top:clamp(12px,2vh,24px);padding:0 12px 0 0}
.bias-simple-row,.bias-simple-axis{display:grid;grid-template-columns:var(--label-width) minmax(0,1fr) var(--value-width);align-items:center;gap:clamp(14px,2.1vw,32px);width:100%}
.bias-simple-row{position:relative;background:none;border:0;color:var(--ink);text-align:left;cursor:pointer;padding:0;min-height:clamp(68px,9.3vh,105px)}
.bias-simple-row:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}.bias-simple-row:hover{background:#ffbf000c}
.bias-simple-label{display:flex;align-items:center;gap:clamp(10px,1.3vw,18px);min-width:0}
.bias-simple-label strong{display:block;font-size:clamp(18px,1.8vw,28px);font-weight:850;line-height:1.2;white-space:nowrap}.bias-simple-label small{font-size:clamp(11px,1vw,14px);color:var(--muted);display:block;margin-top:4px}
.bias-simple-glyph{display:flex;align-items:center;flex:none;width:clamp(64px,7vw,105px);height:clamp(48px,6.4vh,70px)}.bias-simple-glyph svg{width:100%;height:100%}
.bias-simple-track{position:relative;display:flex;align-items:center;height:100%;border-left:1px solid #a9a092;background:repeating-linear-gradient(to right,transparent 0,transparent calc(33.333% - 1px),#a9a09265 calc(33.333% - 1px),#a9a09265 33.333%)}
.bias-simple-bar{display:block;min-width:0;width:0;height:clamp(21px,3vh,35px);background:#777169;transition:background .25s}.bias-simple-row[aria-pressed=true] .bias-simple-bar{background:var(--yellow)}
.bias-simple-value{font-size:clamp(27px,3vw,43px);font-weight:900;letter-spacing:-.045em;line-height:1;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.bias-simple-axis{padding-top:7px;margin-bottom:clamp(14px,2vh,24px)}.bias-simple-ticks{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:8px}
.bias-simple-summary{border-top:1px solid var(--line);padding:13px 0 3px;font-size:clamp(15px,1.5vw,22px);font-weight:800;margin:0}.bias-simple-summary:before{content:'';width:9px;height:9px;background:var(--yellow);display:inline-block;margin-right:12px;vertical-align:2px}
@media(max-width:650px){.bias-simple-chart{--label-width:112px;--value-width:54px;padding-right:0}.bias-simple-row,.bias-simple-axis{gap:8px}.bias-simple-label{gap:5px}.bias-simple-glyph{width:35px;height:50px}.bias-simple-label strong{font-size:14px}.bias-simple-label small{font-size:10px}.bias-simple-value{font-size:22px}.bias-simple-tools h3{font-size:16px}.bias-simple-tools{flex-wrap:wrap}}
