.system-preview.circulation-lab{padding:0;text-align:left;max-width:1440px;border:0;background:transparent;--flow-low:#337cb8;--flow-high:#ce3442}
.circ-canvas svg{height:auto}
.circ-workspace .circ-controls{grid-row:1;order:-1}
.circ-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 25px}.circ-heading h2{font-size:32px;margin:7px 0 9px;letter-spacing:-.04em}.circ-heading p{font-size:14px;color:var(--muted);margin:0}.circ-badge{padding:8px 12px;border:1px solid var(--line);border-radius:20px;font-size:11px;white-space:nowrap;color:var(--muted)}
.circ-workspace{display:grid;grid-template-columns:220px minmax(380px,1fr) 265px;background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:var(--shadow)}
.circ-journey{padding:25px 12px 18px;border-right:1px solid var(--line)}.circ-journey>.kicker{display:block;margin:0 10px 20px}.circ-journey ol{list-style:none;padding:0;margin:0;display:grid;gap:5px}.circ-stop{display:flex;gap:10px;align-items:center;text-align:left;width:100%;padding:12px 8px;background:none;border:1px solid transparent;border-radius:6px;color:var(--ink)}.circ-stop .stop-number{flex:0 0 26px;height:26px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:11px;color:var(--muted)}.circ-stop strong{display:block;font-size:11px;line-height:1.5}.circ-stop small{display:block;font-size:9px;color:var(--muted);line-height:1.5;margin-top:3px}.circ-stop[aria-current=step]{background:var(--accent-soft);border-color:var(--accent)}.circ-stop[aria-current=step] .stop-number{background:#ce2829;color:white;border-color:#ce2829}.circ-stop.complete .stop-number{border-color:var(--accent);color:var(--accent)}.circ-footnote{font-size:10px;line-height:1.7;color:var(--muted);padding:14px 10px 0}
.circ-model{min-width:0;background:radial-gradient(ellipse at 50% 40%,var(--surface) 5%,var(--surface-soft) 100%);display:flex;flex-direction:column}.circ-model-top{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:18px 20px}.circ-model-top>span{font-size:9px;letter-spacing:.15em;color:var(--muted)}.circ-model-top button{font-size:11px;padding:7px 10px;border-radius:20px}
.circ-canvas{position:relative;flex:1;display:grid;align-items:center;min-height:530px}.circ-canvas svg{width:100%;display:block;overflow:visible;max-height:660px}.circ-canvas [hidden]{display:none!important}.circ-canvas svg text{font-family:inherit;fill:var(--ink);font-size:15px}.circ-heart-outline{fill:url(#circ-heart);stroke:#c27778;stroke-width:1.5}.circ-canvas .circ-side{font-size:11px;letter-spacing:1px;fill:var(--muted);text-anchor:middle}.circ-route{stroke:var(--flow-low);stroke-width:9;stroke-linecap:round;fill:none;opacity:.33;cursor:pointer}.circ-route.high{stroke:var(--flow-high)}.circ-route.exchange{stroke:url(#circ-exchange)}.circ-route.tissue{stroke:url(#circ-tissue)}.circ-route.active{opacity:1;stroke-width:12}.circ-route:focus-visible{opacity:1;stroke-width:15;outline:none}
.circ-node{cursor:pointer}.circ-node>rect,.circ-lungs>path:not(.circ-airway){fill:var(--surface);stroke:#a5a7a9;stroke-width:2}.circ-node.low>rect{fill:color-mix(in srgb,var(--flow-low) 12%,var(--surface));stroke:var(--flow-low)}.circ-node.high>rect{fill:color-mix(in srgb,var(--flow-high) 12%,var(--surface));stroke:var(--flow-high)}.circ-lungs>path:not(.circ-airway){fill:color-mix(in srgb,#d87681 18%,var(--surface));stroke:#c1858c}.circ-airway{stroke:var(--muted);stroke-width:12;stroke-linecap:round;fill:none}.circ-node text{text-anchor:middle;pointer-events:none;font-size:12px;font-weight:650}.circ-node .node-sub{font-size:10px;font-weight:400;fill:var(--muted)}.circ-node.active>rect,.circ-node.active>path:not(.circ-airway),.circ-node:focus-visible>rect,.circ-node:focus-visible>path:not(.circ-airway){stroke:var(--accent);stroke-width:4}.circ-node:focus-visible{outline:none}.circ-canvas .circ-vessel-labels text{font-size:12px;fill:var(--muted)}
.circ-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 18px;font-size:10px;padding:5px 12px;color:var(--muted)}.circ-legend span{display:flex;align-items:center;gap:5px}.circ-legend i{width:8px;height:8px;border-radius:50%;background:var(--flow-low)}.circ-legend i.high{background:var(--flow-high)}.circ-model-note{font-size:10px;text-align:center;line-height:1.6;margin:9px 15px 18px;color:var(--muted)}
.circ-inspector{padding:25px 23px;border-left:1px solid var(--line);background:var(--surface);overflow:visible;max-height:none;position:static;box-shadow:none;border-radius:0;width:auto}.circ-inspector .kicker{font-size:9px;letter-spacing:.13em}.circ-inspector #circ-counter{font-size:38px;font-weight:750;color:var(--accent);letter-spacing:-.06em;margin:30px 0 20px}.circ-inspector h3{font-size:24px;line-height:1.2;letter-spacing:-.04em;margin:0 0 16px}.circ-inspector p{font-size:12px;line-height:1.8;color:var(--muted)}.circ-focus{margin:23px 0;padding:17px;background:var(--surface-soft);border-left:2px solid var(--accent);border-radius:0 5px 5px 0}.circ-focus h4{font-size:14px;line-height:1.5;margin:12px 0 7px}.circ-focus p{font-size:11px;margin:0}.circ-inspector button{font-size:11px;padding:9px 10px;width:100%;text-align:left}.circ-inspector button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.circ-3d{margin-top:24px;display:grid;gap:8px}.circ-sources{margin-top:20px;font-size:11px}.circ-sources summary{cursor:pointer;color:var(--muted)}.circ-sources a{display:block;margin:10px 0;color:var(--accent);line-height:1.6}
.circ-controls{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:17px 20px;border-top:1px solid var(--line);background:var(--surface)}.circ-transport{display:flex;gap:7px;align-items:center}.circ-transport button{padding:10px 12px;font-size:12px}#circ-play{background:#ce2829;border-color:#ce2829;color:white;min-width:125px;text-align:center}.circ-scrub{flex:1;min-width:120px;font-size:10px;color:var(--muted);display:grid;gap:8px}.circ-scrub input{width:100%;accent-color:#ce2829;margin:0}.circ-speed{font-size:10px;display:grid;gap:5px}.circ-speed select{padding:5px;width:85px;font-size:11px}#circ-status{flex-basis:100%;font-size:11px;color:var(--muted)}.circ-caption{font-size:11px;color:var(--muted);line-height:1.7;margin:15px 0}
.circ-gas-title{text-align:center;padding:5px 18px}.circ-gas-title h3{font-size:23px;letter-spacing:-.03em;margin:10px 0}.circ-gas-title button{font-size:11px;padding:7px 12px}.gas-air{fill:color-mix(in srgb,#a5d0d6 18%,var(--surface));stroke:#88abb2;stroke-width:3}.gas-barrier{fill:var(--muted);opacity:.4}.gas-arrow{fill:none;stroke-width:8;stroke-linecap:round}.gas-o2{stroke:#d5414d}.gas-co2{stroke:#4289c5}.gas-arrow.muted{opacity:.2}.circ-canvas .gas-small{font-size:14px;fill:var(--muted)}.circ-canvas .gas-blood-label{fill:white;font-size:15px;letter-spacing:1px}.circ-gas-tabs{display:flex;justify-content:center;gap:8px}.circ-gas-tabs button{font-size:11px;padding:8px 13px}.circ-gas-tabs button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}#circ-gas-note{max-width:430px;font-size:12px;color:var(--muted);line-height:1.7;padding:0 20px;margin:14px auto 25px}
[data-theme=dark] .circulation-lab{--flow-low:#64a9e1;--flow-high:#f2767c}[data-theme=dark] .circ-sources a{color:#f18c8c}
@media(max-width:1100px){.circ-workspace{grid-template-columns:190px minmax(340px,1fr)}.circ-inspector{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.circ-inspector #circ-counter{font-size:28px;margin:10px 0}.circ-inspector #circ-tag,.circ-inspector h3,.circ-inspector #circ-description{grid-column:1}.circ-focus{grid-column:2;grid-row:1/5;margin:0 0 15px}.circ-3d{margin-top:12px}.circ-canvas{min-height:480px}}
@media(max-width:650px){.circ-heading{align-items:flex-start;margin-bottom:18px}.circ-heading h2{font-size:26px}.circ-heading p{font-size:12px}.circ-badge{display:none}.circ-workspace{display:flex;flex-direction:column}.circ-journey{order:2;border-right:0;border-top:1px solid var(--line);padding:17px 10px}.circ-journey ol{grid-template-columns:1fr 1fr}.circ-journey>.kicker{margin-bottom:10px}.circ-stop{padding:9px 5px;gap:6px}.circ-stop strong{font-size:10px}.circ-stop small{font-size:8px}.circ-stop .stop-number{flex-basis:22px;height:22px}.circ-footnote{margin:0;padding-top:10px}.circ-model{order:0}.circ-canvas{min-height:350px}.circ-model-top{padding:14px 10px}.circ-model-top>span{font-size:8px}.circ-controls{order:1;padding:14px 10px;gap:12px}.circ-transport{flex-basis:100%;justify-content:center}.circ-transport button{padding:9px 12px}.circ-inspector{order:3;display:block;padding:24px 20px}.circ-inspector #circ-counter{margin:18px 0}.circ-focus{margin:20px 0}.circ-caption{font-size:10px}.circ-gas-title h3{font-size:20px}}
