/* Stable controls, one changing reading surface; incumbent imagery and tokens. */
.persistent-home{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border:1px solid var(--line);border-radius:3px;font-size:16px;text-decoration:none;white-space:nowrap}
#main-nav .home-link{display:none}
.site-header{position:sticky;top:0;z-index:60}
.site-header .persistent-home:hover{border-color:var(--accent)}
.workspace-toolbar{position:sticky;top:var(--navigation-header,74px);z-index:35;display:block;background:var(--paper);padding:12px 0;margin:0 0 20px;border-bottom:1px solid var(--line)}
.workspace-location{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px 10px;font-size:15px;line-height:1.4;margin:0 0 10px}
.workspace-location .explorer-return{margin:0;gap:6px;font-size:inherit;min-height:32px}
.workspace-location .explorer-return svg{width:16px;height:16px}
.workspace-location a{min-height:32px;display:inline-flex;align-items:center}
.workspace-section-label{font-weight:600;display:inline-flex;align-items:center;gap:10px}
.workspace-section-label:empty{display:none}
.workspace-section-label:not(:empty):before{content:'/';font-weight:400;color:var(--muted)}
.workspace-choices{display:flex;align-items:end;gap:12px 24px;flex-wrap:wrap}
.workspace-choices label{display:grid;grid-template-columns:auto minmax(130px,260px);align-items:center;gap:10px;font-size:14px}
.workspace-choices select,.workspace-mobile-section select{color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:3px;min-height:44px;width:100%;max-width:100%;padding:8px 32px 8px 10px;font:inherit}
.workspace-choices>a{min-height:44px;display:inline-flex;align-items:center;font-size:15px}
.workspace-origin[hidden]{display:none}
.workspace-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:32px;align-items:start}
.workspace-content{min-width:0}
.workspace-layout>.workspace-detail-nav{grid-column:1;display:flex;flex-direction:column;gap:0;margin:0;border:0;position:sticky;top:calc(var(--navigation-header,74px) + var(--workspace-toolbar,110px) + 16px);background:var(--paper);z-index:20;padding:0;box-shadow:none}
.workspace-layout>.workspace-detail-nav a{font-size:16px;min-height:44px;padding:11px 12px;border:0;border-bottom:1px solid var(--line);line-height:1.35}
.workspace-layout>.workspace-detail-nav a[aria-current=page]{background:var(--accent);color:var(--accent-ink);border-color:transparent}
.workspace-layout .workspace-stage{gap:20px 32px;margin-bottom:0}
.workspace-layout .workspace-intro h1,.workspace-layout .workspace-intro h2{font-size:clamp(30px,2.7vw,42px);line-height:1.12;margin-bottom:16px}
.workspace-layout .workspace-intro .lead{font-size:20px}
.workspace-layout .workspace-intro .text-link{min-height:44px}
.workspace-layout .workspace-illustration{max-height:370px;min-height:0;align-self:start}
.workspace-layout .workspace-illustration picture,.workspace-layout .workspace-illustration img{min-height:0;max-height:370px}
.workspace-mobile-section{display:none}
.js .page-home-resting .exploration-workspace{display:none}
.js .exploration-workspace[data-section]:not([data-section="summary"]) .workspace-stage>.workspace-intro,
.js .exploration-workspace[data-section]:not([data-section="summary"]) .workspace-stage>.workspace-illustration{display:none}
.js .exploration-workspace[data-section="summary"] .workspace-details,
.js .exploration-workspace:not([data-section="related"]) .workspace-options-group{display:none}
.js .exploration-workspace[data-section="related"] .workspace-options-group{grid-column:1/-1;grid-row:1}
.js .workspace-reading{display:none;padding:0;border:0}
.js .workspace-reading[open]{display:block}
.js .workspace-reading>summary{display:none}
.js .workspace-reading>.section,.js .workspace-reading .perspective-band{margin-top:0}
.workspace-detail{padding-top:0}
.workspace-detail:focus,.workspace-intro [tabindex="-1"]:focus{outline:none}
.workspace-detail:focus-visible,.workspace-intro [tabindex="-1"]:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.workspace-detail h2{font-size:29px}
.workspace-scenes{margin-bottom:18px;gap:12px 24px}
.exploration-workspace{padding-top:0;min-height:calc(100svh - var(--navigation-header,74px))}
.workspace-layout .workspace-detail .workspace-options{grid-template-columns:1fr 1fr}
.workspace-layout .workspace-detail .workspace-options strong{font-size:19px}
.workspace-layout .workspace-options a{padding-block:12px}
.workspace-layout .workspace-detail .explanation{margin-top:12px}
/* This explanatory composition must not revert to a tall stacked diagram
   when a desktop crosses the compact-height breakpoint. */
@media(min-width:861px){
 .workspace-detail:has([data-question="dc-handover"]) details>summary{min-height:44px}
 .workspace-detail .handover-reading{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px;align-items:center}
 .workspace-detail .handover-reading p{font-size:16px;line-height:1.4;margin:8px 0}
 .workspace-detail [data-question="dc-handover"] .handover-flow{grid-template-columns:1fr 24px 3fr;gap:4px}
 .workspace-detail [data-question="dc-handover"] .dc-interior{gap:6px;grid-template-columns:minmax(0,1fr) 80px minmax(0,1fr)}
 .workspace-detail [data-question="dc-handover"] .explain-node strong{font-size:16px}
 .workspace-detail [data-question="dc-handover"] .dc-boundary{padding:8px}
 .workspace-detail [data-question="dc-handover"] .dc-boundary h3{font-size:20px;margin:0 0 8px}
 .workspace-detail [data-question="dc-handover"] .cage-boundary{padding:4px}
 .workspace-detail [data-question="dc-handover"] .dc-interior .explain-node img{height:56px}
 .workspace-detail [data-question="dc-handover"] .handover-flow>.explain-node img{height:96px}
 .workspace-detail [data-question="dc-handover"] .cage-boundary p{margin-block:6px;font-size:14px}
}
@media(min-width:861px) and (max-height:780px){
 .workspace-detail{padding-bottom:8px}
 .workspace-detail h2{margin-bottom:12px}
 .workspace-detail .workspace-pairs{gap:12px 24px;margin-block:12px}
 .workspace-detail .workspace-pairs div{padding-top:8px}
 .workspace-detail .workspace-pairs dt{font-size:18px;line-height:1.3}
 .workspace-detail .workspace-pairs dd{font-size:16px;line-height:1.45;margin-top:6px}
 .workspace-detail>h3{font-size:20px;margin:14px 0 6px}
 .workspace-detail>p{font-size:16px;line-height:1.45;margin-block:8px;max-width:none}
 .workspace-family [data-detail-panel="criteria"] .workspace-pairs{grid-template-columns:repeat(3,minmax(0,1fr))}
 .workspace-detail details{padding-block:8px}
 .workspace-detail details summary{min-height:44px;display:flex;align-items:center;gap:8px}
 .workspace-detail details summary::before{content:'▸';flex:none}
 .workspace-detail details[open] summary::before{content:'▾'}
 .workspace-detail details>p{font-size:16px;line-height:1.45;margin-block:8px;max-width:none}
 .workspace-detail details{padding-block:4px}
 .workspace-detail details[open]>summary{margin-bottom:4px}
 .workspace-detail [data-recipe]>.explanation,.workspace-detail [data-question]>.explanation{margin-top:8px;margin-bottom:8px}
 .workspace-detail .branch-destinations{gap:8px}
 .workspace-detail .branch-destinations .explain-node img{height:54px}
 .workspace-detail .parallel-functions .explain-node img{height:80px}
 .workspace-detail .capacity-table-head,.workspace-detail .capacity-row{padding-block:8px}
 .workspace-detail .capacity-object{height:160px}
 .workspace-detail .branch-flow{gap:16px}
 .workspace-detail .branch-route{display:grid;grid-template-columns:110px 1fr;gap:8px;align-items:center}
 .workspace-detail .branch-route>strong{margin:0;text-align:left}
 .workspace-detail .branch-destinations .explain-node{grid-template-columns:76px 1fr}
 .workspace-detail .branch-destinations>div{grid-template-columns:34px 1fr}
 .workspace-detail .parallel-functions .explain-node span{margin-top:4px}
 .workspace-detail .parallel-functions .explain-node img{height:60px}
 .workspace-detail .explanation-context{margin-block:8px;line-height:1.4;max-width:none}
 .workspace-detail .branch-flow>.explain-node img{height:120px}
 .workspace-detail .branch-destinations .explain-node img{height:54px}
 .workspace-detail .parallel-functions .explain-node img{height:60px}
 .workspace-detail .explain-three .explain-node img{height:96px}
 .workspace-detail .dc-boundary{padding:12px}
 .workspace-detail .dc-boundary h3{font-size:20px;margin:0 0 8px}
 .workspace-detail .dc-interior .explain-node img{height:72px}
 .workspace-detail .handover-flow>.explain-node img{height:96px}
 .workspace-detail .cage-boundary p{margin-block:6px;font-size:14px}
 .workspace-toolbar{padding-block:8px;margin-bottom:16px}
 .workspace-location{margin-bottom:4px}
 .workspace-layout{grid-template-columns:175px minmax(0,1fr);gap:26px}
 .workspace-layout .workspace-intro h1,.workspace-layout .workspace-intro h2{font-size:32px;margin-bottom:12px}
 .workspace-layout .workspace-intro p{font-size:17px;line-height:1.45;margin-bottom:12px}
 .workspace-layout .workspace-intro .workspace-limit{font-size:16px}
 .workspace-layout .workspace-illustration,.workspace-layout .workspace-illustration img{max-height:300px}
 .workspace-layout>.workspace-detail-nav a{padding-block:10px}
}
@media(max-width:1100px){.site-header{gap:12px}.site-header .persistent-home{padding-inline:12px}.site-header>nav{gap:16px}}
@media(max-width:860px){
 .site-header .persistent-home{order:1;margin-left:auto;font-size:15px;padding-inline:12px}
 .site-header .preferences{order:3}.site-header .menu-toggle{order:2}
 .site-header .brand{margin-right:0}
 .workspace-toolbar{padding-block:8px;margin-bottom:14px}
 .workspace-location{font-size:14px;gap:4px 8px;margin-bottom:6px}
 .workspace-location a{min-height:28px}
 .workspace-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .workspace-choices label{display:block;font-size:13px;min-width:0}
 .workspace-choices select{margin-top:4px;font-size:14px}
 .workspace-choices>a{font-size:14px}
 .workspace-origin{grid-column:1/-1;min-height:32px!important}
 .workspace-layout{display:block}
 .js .workspace-layout>.workspace-detail-nav{display:none}
 .js .workspace-mobile-section{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;font-size:14px;margin-bottom:16px;position:sticky;top:calc(var(--navigation-header,100px) + var(--workspace-toolbar,150px));z-index:30;background:var(--paper);padding:8px 0}
 .workspace-layout .workspace-stage{gap:18px}
 .workspace-layout .workspace-intro h1,.workspace-layout .workspace-intro h2{font-size:30px}
 .workspace-layout .workspace-detail .workspace-options{grid-template-columns:1fr}
 .workspace-layout .workspace-illustration{width:100%;max-height:240px}
 .workspace-scenes{gap:4px 16px;margin-bottom:8px}
 .workspace-scenes a{font-size:15px}
 .workspace-content .workspace-detail{scroll-margin-top:320px}
}
@media(max-width:540px){
 .site-header{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:0 8px}
 .site-header .brand{grid-column:1;grid-row:1;font-size:22px}
 .site-header .persistent-home{grid-column:2;grid-row:1;margin:0}
 .site-header .menu-toggle{grid-column:3;grid-row:1}
 .site-header .preferences{grid-column:1/-1;grid-row:2;justify-self:end}
 .site-header>nav{grid-column:1/-1;grid-row:3}
 .site-header .languages a{min-width:32px;font-size:12px}
 .workspace-choices:has(label:only-of-type){grid-template-columns:minmax(0,1fr) auto}
}
@media(max-width:350px){.site-header .brand{font-size:19px}.persistent-home{padding-inline:9px}}
