/* Business context connected through labeled endpoints to one brain. */
.film-scene[data-film-scene="0"]{display:flex;align-items:center;justify-content:center}
.brain-map.film-object,.brain-map.film-object.is-focal{position:relative;width:100%;height:100%;max-height:470px;min-height:310px;background:none;border:0;border-radius:0;box-shadow:none;transform:none;opacity:1}
.brain-map-graph{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:100%;aspect-ratio:520/360}
.brain-network{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.brain-map-labels span{position:absolute;left:clamp(38px,var(--node-x),calc(100% - 38px));top:var(--node-y);transform:translate(-50%,-50%);max-width:94px;text-align:center;white-space:nowrap;font-size:11px;font-weight:500;line-height:1.3;letter-spacing:-.15px;color:var(--muted);background:var(--surface);padding:2px 3px;border-radius:3px}
.film-running .is-current .brain-map-labels span{animation:brain-node-in 1.2s ease both;animation-delay:var(--arrival)}
@media(max-width:600px){.brain-map-labels span{font-size:10px}}
.brain-network path{fill:none;stroke:var(--accent);stroke-width:1.2;vector-effect:non-scaling-stroke;opacity:.43}
.brain-map-crosslinks path{stroke:var(--line);stroke-dasharray:3 5;opacity:.75}
.brain-map-leaf{fill:var(--surface);stroke:var(--accent);stroke-width:1.2;opacity:.8}
.brain-map-hub{fill:var(--accent-tint);stroke:var(--accent);stroke-width:1;paint-order:stroke;opacity:.95}
.brain-map-branch:nth-of-type(even) .brain-map-hub{fill:var(--signal)}
.brain-map-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:142px;height:142px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;border:1px solid color-mix(in srgb,var(--accent) 33%,var(--line));background:var(--surface);box-shadow:0 0 0 11px color-mix(in srgb,var(--surface) 70%,transparent),0 9px 32px -14px var(--shadow);color:var(--ink-strong)}
.brain-map-core:before{content:'';position:absolute;inset:6px;border-radius:50%;border:1px solid color-mix(in srgb,var(--accent) 9%,transparent)}
.brain-map-core strong{font-size:20px;font-weight:500;line-height:1.25;letter-spacing:-.6px;text-align:center}
.brain-map-core-dot{width:7px;height:7px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 5px var(--accent-soft)}
.film-running .is-current .brain-map-branch>path{stroke-dasharray:1;animation:brain-connect 1.6s cubic-bezier(.22,1,.36,1) both;animation-delay:var(--arrival)}
.film-running .is-current .brain-map-branch>circle{animation:brain-node-in 1.2s ease both;animation-delay:var(--arrival)}
.film-running .is-current .brain-map-core{animation:brain-core-in 1.6s ease both;animation-delay:.9s}
.film-fineprint{justify-content:flex-end}
/* Overlay the scenes in one grid cell so the tallest content sets a stable frame. */
.film-app{height:auto;min-height:582px}
.film-stage{display:grid;height:auto;min-width:0}
.film-scene{position:relative;inset:auto;grid-area:1/1;min-width:0}
.film-drafts{display:grid;height:auto}
.film-draft{position:relative;inset:auto;grid-area:1/1;align-self:start;min-height:0}
@media(min-width:1101px){.film-app{height:auto;min-height:610px}}
@media(max-width:850px){.brain-map-core{width:126px;height:126px}.brain-map-core strong{font-size:18px}}
@media(max-width:600px){.film-app{height:auto;min-height:550px}.brain-map-core{width:110px;height:110px;gap:10px;box-shadow:0 0 0 7px color-mix(in srgb,var(--surface) 70%,transparent),0 7px 24px -15px var(--shadow)}.brain-map-core strong{font-size:16px;letter-spacing:-.4px}.brain-map-core-dot{width:6px;height:6px}.film-fineprint{text-align:right}}
@keyframes brain-connect{from{stroke-dashoffset:1;opacity:0}to{stroke-dashoffset:0;opacity:.43}}
@keyframes brain-node-in{from{opacity:0}to{opacity:.9}}
@keyframes brain-core-in{from{opacity:.25}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.brain-network path,.brain-network circle,.brain-map-core,.brain-map-labels span{animation:none!important}}
