/* CCSAX figures: shared base (theme tokens, kit drawing styles, card, controls). Identical in every figure.css; safe to load more than once. */
.ccsax-fig{--anatomy-page:#f2f2ef;--anatomy-card:#fbfbfa;--anatomy-text:#55555a;--anatomy-strong:#18181a;--anatomy-muted:#7d7d82;
--anatomy-paper:#fbfbfa;--anatomy-face:#ffffff;--anatomy-top:#ffffff;
--anatomy-shade-0:#dcdcd9;--anatomy-shade-1:#e5e5e2;--anatomy-shade-2:#ededea;--anatomy-shade-3:#f4f4f1;
--anatomy-lit-top:#ffffff;--anatomy-lit-shade:#eeeeeb;
--anatomy-hi:#26262a;--anatomy-mid:#8a8a8f;--anatomy-lo:#b4b4b8;--anatomy-faint:#d4d4d6;--anatomy-lit:#000000;
--anatomy-halo:#8a8a80;--anatomy-halo-opacity:.32;--anatomy-dot:#3a3a3e;
--anatomy-red:#d93d42;--anatomy-green:#218a5a;--anatomy-blue:#3e63dd;
--ccsax-ok:#218a5a;--ccsax-bad:#d93d42;--ccsax-ok-fill:#dff3e8;--ccsax-bad-fill:#fbe3e3;--ccsax-btn:#ffffff;--ccsax-btn-on:#18181a;--ccsax-btn-on-text:#fbfbfa;color-scheme:light;--anatomy-weight:.6px;--anatomy-ease:cubic-bezier(.32,.72,0,1);
--anatomy-mono:var(--ccsax-fig-mono,"IBM Plex Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace);}
@media (prefers-color-scheme:dark){.ccsax-fig{--anatomy-page:#0b0b0c;--anatomy-card:#121213;--anatomy-text:#a3a3a6;--anatomy-strong:#e8e8ea;--anatomy-muted:#75757a;
--anatomy-paper:#121213;--anatomy-face:#1b1b1c;--anatomy-top:#1d1d1e;
--anatomy-shade-0:#0e0e0f;--anatomy-shade-1:#111112;--anatomy-shade-2:#151516;--anatomy-shade-3:#18181a;
--anatomy-lit-top:#272728;--anatomy-lit-shade:#1e1e1f;
--anatomy-hi:#d6d6d8;--anatomy-mid:#6c6c70;--anatomy-lo:#404043;--anatomy-faint:#2b2b2d;--anatomy-lit:#ffffff;
--anatomy-halo:#030303;--anatomy-halo-opacity:.9;--anatomy-dot:#e6e6e8;
--anatomy-red:#ff6b6b;--anatomy-green:#6be0a0;--anatomy-blue:#6b9bff;
--ccsax-ok:#6be0a0;--ccsax-bad:#ff6b6b;--ccsax-ok-fill:#16302a;--ccsax-bad-fill:#3a1b1d;--ccsax-btn:#1a1a1b;--ccsax-btn-on:#e8e8ea;--ccsax-btn-on-text:#121213;color-scheme:dark;}}
[data-theme="light"] .ccsax-fig,.ccsax-fig[data-theme="light"]{--anatomy-page:#f2f2ef;--anatomy-card:#fbfbfa;--anatomy-text:#55555a;--anatomy-strong:#18181a;--anatomy-muted:#7d7d82;
--anatomy-paper:#fbfbfa;--anatomy-face:#ffffff;--anatomy-top:#ffffff;
--anatomy-shade-0:#dcdcd9;--anatomy-shade-1:#e5e5e2;--anatomy-shade-2:#ededea;--anatomy-shade-3:#f4f4f1;
--anatomy-lit-top:#ffffff;--anatomy-lit-shade:#eeeeeb;
--anatomy-hi:#26262a;--anatomy-mid:#8a8a8f;--anatomy-lo:#b4b4b8;--anatomy-faint:#d4d4d6;--anatomy-lit:#000000;
--anatomy-halo:#8a8a80;--anatomy-halo-opacity:.32;--anatomy-dot:#3a3a3e;
--anatomy-red:#d93d42;--anatomy-green:#218a5a;--anatomy-blue:#3e63dd;
--ccsax-ok:#218a5a;--ccsax-bad:#d93d42;--ccsax-ok-fill:#dff3e8;--ccsax-bad-fill:#fbe3e3;--ccsax-btn:#ffffff;--ccsax-btn-on:#18181a;--ccsax-btn-on-text:#fbfbfa;color-scheme:light;}
[data-theme="dark"] .ccsax-fig,.ccsax-fig[data-theme="dark"]{--anatomy-page:#0b0b0c;--anatomy-card:#121213;--anatomy-text:#a3a3a6;--anatomy-strong:#e8e8ea;--anatomy-muted:#75757a;
--anatomy-paper:#121213;--anatomy-face:#1b1b1c;--anatomy-top:#1d1d1e;
--anatomy-shade-0:#0e0e0f;--anatomy-shade-1:#111112;--anatomy-shade-2:#151516;--anatomy-shade-3:#18181a;
--anatomy-lit-top:#272728;--anatomy-lit-shade:#1e1e1f;
--anatomy-hi:#d6d6d8;--anatomy-mid:#6c6c70;--anatomy-lo:#404043;--anatomy-faint:#2b2b2d;--anatomy-lit:#ffffff;
--anatomy-halo:#030303;--anatomy-halo-opacity:.9;--anatomy-dot:#e6e6e8;
--anatomy-red:#ff6b6b;--anatomy-green:#6be0a0;--anatomy-blue:#6b9bff;
--ccsax-ok:#6be0a0;--ccsax-bad:#ff6b6b;--ccsax-ok-fill:#16302a;--ccsax-bad-fill:#3a1b1d;--ccsax-btn:#1a1a1b;--ccsax-btn-on:#e8e8ea;--ccsax-btn-on-text:#121213;color-scheme:dark;}
.iso-svg{display:block;width:100%;height:auto;overflow:visible}
.iso-svg path,.iso-svg circle{vector-effect:non-scaling-stroke}
.iso-fill{fill:var(--anatomy-paper);stroke:none}
.iso-solid[data-lit]>.iso-fill{fill:var(--anatomy-face)}
.iso-shade,.iso-top{stroke:none}
.iso-shade[data-shade="0"]{fill:var(--anatomy-shade-0)}
.iso-shade[data-shade="1"]{fill:var(--anatomy-shade-1)}
.iso-shade[data-shade="2"]{fill:var(--anatomy-shade-2)}
.iso-shade[data-shade="3"]{fill:var(--anatomy-shade-3)}
.iso-top{fill:var(--anatomy-top)}
.iso-solid[data-lit]>.iso-top{fill:var(--anatomy-lit-top)}
.iso-solid[data-lit]>.iso-shade{fill:var(--anatomy-lit-shade)}
.iso-solid[data-seamless]>.iso-shade,.iso-solid[data-seamless]>.iso-top{stroke-width:.4;stroke-linejoin:round}
.iso-solid[data-seamless]>.iso-shade[data-shade="0"]{stroke:var(--anatomy-shade-0)}
.iso-solid[data-seamless]>.iso-shade[data-shade="1"]{stroke:var(--anatomy-shade-1)}
.iso-solid[data-seamless]>.iso-shade[data-shade="2"]{stroke:var(--anatomy-shade-2)}
.iso-solid[data-seamless]>.iso-shade[data-shade="3"]{stroke:var(--anatomy-shade-3)}
.iso-solid[data-seamless]>.iso-top{stroke:var(--anatomy-top)}
.iso-solid[data-seamless][data-lit]>.iso-top{stroke:var(--anatomy-lit-top)}
.iso-solid[data-seamless][data-lit]>.iso-shade{stroke:var(--anatomy-lit-shade)}
.iso-solid[data-lit]>.iso-edge{stroke:var(--anatomy-lit)}
.iso-halo{fill:var(--anatomy-halo);stroke:none;filter:blur(9px);opacity:var(--anatomy-halo-opacity);transform:translateY(3px)}
.iso-line{fill:none;stroke:var(--anatomy-lo);stroke-width:var(--anatomy-weight);stroke-linecap:round;stroke-linejoin:round}
.iso-line[data-tone="hi"]{stroke:var(--anatomy-hi)}
.iso-line[data-tone="mid"]{stroke:var(--anatomy-mid)}
.iso-line[data-tone="lo"]{stroke:var(--anatomy-lo)}
.iso-line[data-tone="faint"]{stroke:var(--anatomy-faint)}
.iso-line[data-tone="lit"]{stroke:var(--anatomy-lit)}
.iso-line[data-tone="red"]{stroke:var(--anatomy-red)}
.iso-line[data-tone="green"]{stroke:var(--anatomy-green)}
.iso-line[data-tone="blue"]{stroke:var(--anatomy-blue)}
.iso-line[data-dotted]{stroke-dasharray:.01 3.5;stroke-width:1}
.iso-line[data-dashed]{stroke-dasharray:3 3}
.iso-line[data-flow]{stroke-dasharray:2 6}
.iso-wire-end{fill:var(--anatomy-paper);stroke:var(--anatomy-lo);stroke-width:var(--anatomy-weight)}
.iso-wire[data-tone="hi"] .iso-wire-end{stroke:var(--anatomy-hi)}
.iso-wire[data-tone="mid"] .iso-wire-end{stroke:var(--anatomy-mid)}
.iso-wire[data-tone="faint"] .iso-wire-end{stroke:var(--anatomy-faint)}
.iso-wire[data-tone="lit"] .iso-wire-end{stroke:var(--anatomy-lit)}
.iso-dots circle{fill:var(--anatomy-dot);stroke:none;opacity:.32}
.iso-dots[data-tone="hi"] circle{opacity:.85}
.iso-dots[data-tone="mid"] circle{opacity:.45}
.iso-dots[data-tone="lo"] circle{opacity:.22}
.iso-dots[data-tone="faint"] circle{opacity:.12}
.iso-face-text{fill:var(--anatomy-mid);font-family:var(--anatomy-mono);letter-spacing:.04em}
.iso-face-text[data-tone="hi"]{fill:var(--anatomy-hi)}
.iso-face-text[data-tone="lo"]{fill:var(--anatomy-lo)}
.iso-face-text[data-tone="faint"]{fill:var(--anatomy-faint)}
.tb-body{fill:var(--anatomy-shade-2);stroke:none}
.tb-shine{fill:var(--anatomy-top);stroke:none}
.tb-shade{fill:var(--anatomy-shade-0);stroke:none}
.tb-ring{fill:none;stroke:var(--anatomy-lo);stroke-width:.45;stroke-linecap:butt;stroke-linejoin:round}
.tb-ring[data-tone="mid"]{stroke:var(--anatomy-mid)}
.tb-ring[data-tone="faint"]{stroke:var(--anatomy-faint)}
.tb-ring[data-tone="hi"]{stroke:var(--anatomy-hi)}
@keyframes iso-flow{to{stroke-dashoffset:-32}}
@keyframes iso-pulse{0%,100%{opacity:.18}12%{opacity:1}40%{opacity:.18}}
.iso-line[data-flow]{animation:iso-flow 1600ms linear infinite}
.iso-dots circle[data-pulse]{animation:iso-pulse 1600ms steps(1,end) infinite;animation-delay:var(--pulse-at,0ms)}

.iso-plate{position:relative;padding:52px 24px;border-radius:0;background:var(--anatomy-card);box-shadow:0 0 0 1px var(--anatomy-mid);--anatomy-paper:var(--anatomy-card)}
.iso-plate-corners{position:absolute;inset:18px 20px;pointer-events:none}
.iso-plate-corner{position:absolute;color:var(--anatomy-muted);font-family:var(--anatomy-mono);font-size:10.5px;line-height:1;letter-spacing:.04em;white-space:nowrap}
.iso-plate-corner[data-corner="fig"]{top:0;left:0;color:var(--anatomy-text)}
.iso-plate-corner[data-corner="title"]{top:0;right:0;text-transform:uppercase;letter-spacing:.1em}
.iso-plate-corner[data-corner="hint"]{bottom:0;left:0;text-transform:uppercase;letter-spacing:.1em}
.iso-plate-corner[data-corner="readout"]{right:0;bottom:0;color:var(--anatomy-text);font-variant-numeric:tabular-nums}
.iso-plate .iso-svg{margin:0 auto}
.iso-legend{display:grid;gap:8px;margin-top:12px;color:var(--anatomy-muted);font-size:13px;line-height:1.55}
.iso-keys{display:flex;flex-wrap:wrap;gap:6px 18px}
.iso-key{display:inline-flex;align-items:center;gap:7px}
.iso-swatch{width:16px;height:10px;flex:none;overflow:visible}
.iso-swatch path{fill:none;stroke:var(--anatomy-hi);stroke-width:1;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
.iso-swatch[data-mark="raised"] path,.iso-swatch[data-mark="flat"] path{stroke:var(--anatomy-mid)}
.iso-swatch[data-mark="lit"] path{stroke:var(--anatomy-lit)}
.iso-swatch[data-mark="dim"] path{stroke:var(--anatomy-lo)}
.iso-swatch[data-mark="dotted"] path{stroke-dasharray:.01 3;stroke-width:1.4}
.iso-swatch[data-mark="dashed"] path{stroke-dasharray:3 2.5}
.iso-swatch[data-mark="red"] path{stroke:var(--anatomy-red)}
.iso-swatch[data-mark="green"] path{stroke:var(--anatomy-green)}
.iso-swatch[data-mark="blue"] path{stroke:var(--anatomy-blue)}
.iso-swatch-crease{stroke:var(--anatomy-lo)!important}
@media (max-width:560px){.iso-plate{padding:48px 12px 70px}.iso-plate-corner[data-corner="hint"]{bottom:18px}}
@media (prefers-reduced-motion:reduce){.iso-line[data-flow],.iso-dots circle[data-pulse]{animation:none}}
.ccsax-fig{display:block;margin:32px 0 36px;color:var(--anatomy-text);font-family:var(--ccsax-fig-sans,"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif);-webkit-font-smoothing:antialiased}
.ccsax-fig *{box-sizing:border-box}
.ccsax-fig .iso-plate{padding:46px 20px 46px}
.ccsax-fig .iso-plate-corner{font-family:var(--anatomy-mono)}
.ccsax-fig .iso-plate-corner[data-corner="readout"]{max-width:62%;overflow:hidden;text-overflow:ellipsis}
.ccsax-fig .iso-plate-corner[data-corner="readout"][data-state="ok"]{color:var(--ccsax-ok)}
.ccsax-fig .iso-plate-corner[data-corner="readout"][data-state="bad"]{color:var(--ccsax-bad)}
.ccsax-stage{position:relative;outline:none;touch-action:pan-y;border-radius:2px}
.ccsax-stage:focus-visible{outline:1px solid var(--anatomy-muted);outline-offset:6px}
.ccsax-controls{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin:12px 0 0;font-family:var(--anatomy-mono);font-size:11px;letter-spacing:.04em}
.ccsax-ctl{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.ccsax-ctl-label{color:var(--anatomy-muted);text-transform:uppercase;letter-spacing:.1em;font-size:10px}
.ccsax-btns{display:inline-flex;box-shadow:0 0 0 1px var(--anatomy-mid);border-radius:3px;overflow:hidden}
.ccsax-btn{appearance:none;border:0;margin:0;font:inherit;color:var(--anatomy-text);background:var(--ccsax-btn);padding:6px 10px;cursor:pointer;line-height:1.2;min-height:30px}
.ccsax-btns .ccsax-btn+.ccsax-btn{box-shadow:-1px 0 0 0 var(--anatomy-faint)}
.ccsax-btn:hover{color:var(--anatomy-strong)}
.ccsax-btn[aria-pressed="true"]{background:var(--ccsax-btn-on);color:var(--ccsax-btn-on-text)}
.ccsax-btn:focus-visible{outline:2px solid var(--anatomy-strong);outline-offset:2px;position:relative;z-index:1}
.ccsax-btn[data-kind="action"]{box-shadow:0 0 0 1px var(--anatomy-mid);border-radius:3px}
.ccsax-btn:disabled{opacity:.45;cursor:default}
.ccsax-fig .iso-legend{display:grid;gap:8px;margin-top:12px;color:var(--anatomy-muted);font-size:13px;line-height:1.55}
.ccsax-fig .iso-caption{color:var(--anatomy-text)}
.ccsax-fig .iso-swatch[data-mark="ok"] path{stroke:var(--ccsax-ok)}
.ccsax-fig .iso-swatch[data-mark="bad"] path{stroke:var(--ccsax-bad)}
.ccsax-desc{margin:0}
.ccsax-desc summary{cursor:pointer;color:var(--anatomy-muted);font-family:var(--anatomy-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.ccsax-desc summary:focus-visible{outline:2px solid var(--anatomy-strong);outline-offset:2px}
.ccsax-desc p{margin:6px 0 0;color:var(--anatomy-text)}
.ccsax-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ccsax-fig [data-fade]{transition:opacity .45s var(--anatomy-ease)}
/* status paint for parts that report a check (lamps, gates, seals) */
.ccsax-fig [data-st="ok"] .iso-edge,.ccsax-fig [data-st="ok"].iso-line{stroke:var(--ccsax-ok)}
.ccsax-fig [data-st="bad"] .iso-edge,.ccsax-fig [data-st="bad"].iso-line{stroke:var(--ccsax-bad)}
.ccsax-fig [data-st="ok"] .iso-top,.ccsax-fig [data-st="ok"] .iso-fill{fill:var(--ccsax-ok-fill)}
.ccsax-fig [data-st="bad"] .iso-top,.ccsax-fig [data-st="bad"] .iso-fill{fill:var(--ccsax-bad-fill)}
.ccsax-fig [data-st="ok"] .iso-shade{fill:var(--ccsax-ok-fill);opacity:.85}
.ccsax-fig [data-st="bad"] .iso-shade{fill:var(--ccsax-bad-fill);opacity:.85}
@media (max-width:560px){.ccsax-fig .iso-plate{padding:44px 10px 78px}.ccsax-fig .iso-plate-corner[data-corner="hint"]{bottom:34px;white-space:normal;max-width:100%}.ccsax-fig .iso-plate-corner[data-corner="readout"]{max-width:100%;left:0;white-space:normal;line-height:1.35;text-overflow:clip}}
@media (prefers-reduced-motion:reduce){.ccsax-fig [data-fade]{transition:none}}
/* key-hierarchy */
.ccsax-fig[data-ccsax-fig="key-hierarchy"] [data-part^="row"]{transition:opacity .5s var(--anatomy-ease)}
@media (prefers-reduced-motion:reduce){.ccsax-fig[data-ccsax-fig="key-hierarchy"] [data-part^="row"]{transition:none}}
