.bee-convolution-disclosure{margin-top:22px}.bee-convolution-disclosure>summary{min-height:48px}.bee-convolution-disclosure .bee-scan{margin:0;padding:0;border:0}.bee-convolution-disclosure .bee-scan-layout{grid-template-columns:minmax(0,1fr);gap:22px}.bee-convolution-disclosure .bee-section-copy{font-size:12px}.bee-convolution-disclosure .bee-scan-input canvas{height:300px}.bee-convolution-disclosure .bee-scan-controls{flex-wrap:wrap}.bee-convolution-disclosure .bee-scan-controls label{flex-basis:100%}.bee-convolution-disclosure .bee-scan-term-control{flex-wrap:wrap}.bee-convolution-disclosure .bee-scan-term-control input{flex-basis:100%}

/* Stronger diagram connectors, with the existing pipeline geometry retained. */
.bee-theatre .bee-arrow{border-left-width:3px}
.bee-theatre .bee-arrow:after{left:-6px;border-width:9px 5px 0}
.bee-theatre .bee-input-merge:before,.bee-theatre .bee-fork,.bee-theatre .bee-product-join,.bee-theatre .bee-skip-path{border-width:3px}
.bee-theatre .bee-input-merge:after,.bee-theatre .bee-fork:before,.bee-theatre .bee-product-join:after,.bee-theatre .bee-location-spacer{border-left-width:3px}
.bee-theatre .bee-skip-path:after{border-width:5px 0 5px 8px}
.bee-theatre .bee-location-spacer+.bee-arrow{border:0}
.bee-theatre .bee-readout-return:before{border-width:3px}
.bee-readout-flow .bee-horizontal-arrow{display:flex;align-items:center;justify-content:center;width:32px}
.bee-readout-flow{grid-template-columns:minmax(0,1.3fr) 32px minmax(0,1fr) 32px minmax(0,1fr);gap:14px;max-width:950px}
.bee-readout-flow p{font-size:12px;line-height:1.65;color:var(--muted);margin-top:12px}
.bee-readout-dot>strong,.bee-readout-logits>strong{margin-bottom:12px}
.bee-readout-dot .bee-readout-input>span,.bee-readout-dot .bee-readout-table>span{font-size:12px;color:var(--muted)}
.bee-dot-operation{font-size:26px;line-height:1}
.bee-readout-equation{font-size:12px;color:var(--ink);margin-top:8px;line-height:1.7}
.bee-logit-vector{display:grid;gap:7px;margin-top:4px;text-align:left}
.bee-logit-vector>span{display:grid;grid-template-columns:10px 22px 1fr;align-items:center;gap:6px;font-size:13px}
.bee-logit-vector .bee-logit-name{font-size:11px;color:var(--muted)}
.bee-conditional-label{text-align:center;font-size:15px;margin:12px 0!important}
.bee-readout-stage>.bee-likelihood{margin-top:24px}
@media(max-width:760px){.bee-readout-flow{display:flex;gap:14px}.bee-readout-flow>.bee-horizontal-arrow{height:32px;flex-shrink:0}.bee-readout-dot .bee-readout-input{padding:0;border:0;background:transparent}.bee-logit-vector{max-width:230px;width:100%;margin-inline:auto}}

/* One enclosing card for each numbered module in the existing flow. */
:root .bee-surface .bee-computation .bee-stage{background:var(--model-panel-bg);border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:none}
:root .bee-surface .bee-combine-stage .bee-skip-path span,:root .bee-surface .bee-combine-stage .bee-fork:before{background:var(--model-panel-bg)}
@media(max-width:760px){:root .bee-surface .bee-computation .bee-stage{padding:16px;border-radius:16px}}

@media(min-width:761px){
[data-compact-branches=true] .bee-input-branches{align-items:start}
[data-compact-branches=true] .bee-location-spacer{flex:0 0 24px}
[data-compact-branches=true] .bee-input-merge{margin-inline:0;height:62px}
[data-compact-branches=true] .bee-input-merge:before,[data-compact-branches=true] .bee-input-merge:after{display:none}
[data-compact-branches=true] .bee-input-merge>svg{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
[data-compact-branches=true] .bee-input-merge path{fill:none;stroke:var(--muted);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
[data-compact-branches=true] .bee-input-merge>span{position:absolute;left:calc(50% + 14px);top:32px;padding:0;font-size:11px}
}
@media(max-width:760px){.bee-input-merge>svg{display:none}}
