:root{--ink:#21313d;--muted:#596c7c;--green:#294f6c;--green-dark:#203e55;--blue:#3e6482;--line:#d6e0e8;--pale:#eff3f7;--bg:#f6f8fa;--amber:#98723c;--control:#98723c;--evidence:#657d89;--mono:Consolas,"SFMono-Regular",monospace}
body{background:#fff;color:var(--ink)}h2{font-size:28px;font-weight:650;letter-spacing:-.4px}h3{font-weight:650}.wrap{max-width:1340px}main{counter-reset:section}.section{padding-top:64px;padding-bottom:64px;counter-increment:section}.section-heading h2:before{content:counter(section,decimal-leading-zero) " / ";font:22px/1 var(--mono);letter-spacing:-1px;color:#698194;margin-right:5px}.section-heading>p{font-size:14px;line-height:1.9}.eyebrow{font-size:12px;letter-spacing:1px}.header{background:#fffffff5;backdrop-filter:none}.header-inner{padding:17px 32px;max-width:1500px}.brand{font-size:16px;line-height:1.5;font-weight:650}.brand-sub{font-size:12px;letter-spacing:.5px}.brand-mark{display:grid;place-items:center;width:32px;height:35px;transform:none;border:1px solid #6b8191;font:23px Georgia,serif;color:#294f6c}.header nav{font-size:14px;gap:25px}.header nav a{padding:4px 0;border-bottom:1px solid transparent}.header nav a.current,.header nav a:hover{border-color:var(--blue)}.header-cta{background:none;border:0;border-left:1px solid var(--line);border-radius:0;padding:0 0 0 20px;font-size:13px}.tinted,.quality-section,.evidence-section{background:#f8fafb;border-color:var(--line)}button,a,input,summary{scroll-margin-top:100px}.principle-icon,.quality-sign,.closure-icon{display:none}.receive-diagram,.flow-node,.agent-layout,.step-button,.gate-demo,.case-lab,.variant-tabs button,.variant-detail,.replay-panel,.concrete-example,.evidence-table,.evidence-controls button,.implementation-details,.source-details,.step-kicker span:first-child,.notice,.pill{border-radius:0;box-shadow:none}.principles{margin-top:32px;border-top:1px solid var(--line);padding-top:26px;gap:30px}.principles article{padding-left:17px;border-left:2px solid #b8c8d5}.principles h3{font-size:17px}.principles p{font-size:15px}.quality-gates{border-color:#cbd8e2;padding:26px 0}.quality-gates article{border-color:#d4dfe7}.quality-gates .eyebrow{font-size:12px}.quality-gates article>p:not(.eyebrow),.case-intro>p:not(.eyebrow),.variant-detail p,.implementation-grid p,.compact-list,.release-timeline p,.evidence-row p{color:var(--muted)}.gate-artifact,.case-files code,.case-rule strong,.stage-list code,.example-name,.example-comparison strong,.source-grid code,.case-output small{color:#4d718b}.implementation-details,.source-details{border-color:#ccd9e2;background:white}.implementation-details summary,.source-details summary{font-size:14px;color:#44667f}.implementation-grid pre,.state-chain{background:#f5f7f9;border-color:#d5e0e8;border-radius:0}.compact-list strong{color:#395d79}.step-rail{background:#f4f7f9;border-right:1px solid var(--line)}.step-button.active{background:#eaf1f7;border-color:#7897ad}.step-button .step-number{color:#6d8597}.step-button.approval{background:#fcf7eb;color:#8c6934;border-color:#ddcca6}.step-button.approval.active{box-shadow:none;border-color:#ad8646}.step-kicker span:first-child{background:#f3f7fa;border-color:#bcd0df}.flow-icon{display:none}.flow-node{padding:24px 8px}.flow-node strong{margin-top:0;font-size:14px}.flow-node.selected{background:#edf3f8;border-color:#668aa6}.flow-node:hover{border-color:#7796ac}.receive-branches b{color:#486d89}.receive-branches,.diagram-caption,.boundary-label{color:#6d8394}.notice{background:#faf7f1;border:0;border-left:3px solid #b39765}.case-lab{border-color:#c9d7e0}.pdf-symbol{background:#f2f6f9;border-color:#b9ccd9;border-radius:0;color:#4a6d87}.variant-tabs button{background:#f4f7f9;color:#648198;border-color:#d3dfe7}.variant-tabs button.active{background:#e7f0f7;color:#355f7f;border-color:#94b2c8}.variant-detail{background:#f4f8fb;border-color:#b4cadb}.variant-detail .variant-boundary{color:#486e8b}.replay-panel,.concrete-example{border-color:#ccd9e2}.replay-flow>span{background:#f5f8fa;border-color:#d0dee8;border-radius:0}.test-limits strong{color:#3b6381}.test-limits p,.example-bridge,.example-comparison small{color:#6b8496}.example-comparison>div{border-color:#acc3d5}.closure p{color:#536e83}.closure .muted{color:#758b9c}.evidence-status{background:#f1f5f8;color:#5e7e96;border-color:#c0d1df;border-radius:0}.evidence-status.source{background:#f1f5f8;color:#5e7e96}.evidence-status.limit{background:#faf7ee;color:#937440}.evidence-controls button.active{background:#eaf1f6;border-color:#9bb6ca;color:#365f7e}.footer-brand{font-size:15px;font-weight:600}.footer p{font-size:12px}.fade-in{animation:none}
.report-cover{padding-top:48px;padding-bottom:0}.document-meta{display:flex;justify-content:space-between;gap:20px;color:#6c8190;font-size:12px;letter-spacing:1px;border-top:3px solid #294f6c;padding-top:15px;margin-bottom:28px}.document-meta>span:first-child{font-size:13px;color:#375e7b;font-weight:600}.report-cover h1{font-size:40px;line-height:1.45;font-weight:650;letter-spacing:-1px}.report-subtitle{font-size:22px;color:#566f83;margin-top:11px}.abstract{display:grid;grid-template-columns:70px 1fr;gap:20px;border-top:1px solid var(--line);padding-top:24px;margin-top:31px}.abstract-label{font-size:13px;color:#3c6481;font-weight:650;letter-spacing:3px;padding-top:4px}.abstract p{font-size:16px;line-height:2;color:#4c6476}.abstract p+p{margin-top:10px}.report-facts{display:grid;grid-template-columns:1fr 1.1fr 1fr;border:1px solid #d6e0e8;margin:25px 0 0;background:#fafcfd}.report-facts>div{padding:14px 20px;border-left:1px solid #d6e0e8}.report-facts>div:first-child{border:0}.report-facts dt{font-size:12px;color:#728696;margin-bottom:4px}.report-facts dd{font-size:14px;color:#3b5a73;margin:0}.report-contents{display:flex;flex-wrap:wrap;gap:10px 27px;border-bottom:1px solid var(--line);padding:23px 0;font-size:14px;color:#3b6381}.report-contents a:hover{text-decoration:underline;text-underline-offset:5px}
.system-figure{margin:0;background:white;border:1px solid #bdcdda}.figure-header{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 21px;background:#f0f4f7;border-bottom:1px solid #cbd8e2}.figure-header>div{display:flex;align-items:center;gap:20px}.figure-header strong{font-size:17px;font-weight:650}.figure-header>div>span,.figure-status{font-size:12px;color:#6b8395}.graph-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 20px;border-bottom:1px solid #e0e8ee}.graph-modes,.graph-zoom{display:flex;gap:5px;align-items:center}.graph-modes button,.graph-zoom button{background:white;color:#52728b;border:1px solid #cedde7;font-size:12px;padding:5px 10px;white-space:nowrap}.graph-modes button.active{background:#e8f0f6;border-color:#7899b0;color:#2e5674}.graph-zoom output{font:12px var(--mono);min-width:44px;text-align:center;color:#648196}.graph-zoom button:first-child,.graph-zoom button:nth-of-type(2){font-size:16px;line-height:1.3;width:30px;padding:5px 0}.graph-legend{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:13px 20px 7px;font-size:12px;color:#657f92}.graph-legend>span{display:flex;align-items:center;gap:7px}.graph-legend i{width:25px;border-top:2px solid #496a84;height:0}.graph-legend .line-control{border-top-color:#a37b3b;border-top-style:dashed}.graph-legend .line-evidence{border-top-color:#6d8994;border-top-style:dotted}.graph-legend .graph-hint{margin-left:auto;font-size:11px}.graph-viewport{width:100%;overflow:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#acbfcd #f1f5f8}.graph-viewport:focus-visible{outline-offset:-3px}#system-graph{display:block;max-width:none;min-width:825px;height:auto;font-family:var(--font)}.lane{fill:#f6f9fb;stroke:#d3e0e9;stroke-width:1}.lane-process{fill:#fff}.lane-quality{fill:#f4f7fa}.lane-title{font-size:17px;font-weight:650;fill:#2d536f}.lane-subtitle{font-size:14px;fill:#6a8396}.environment-label{font:12px var(--mono);fill:#7a90a0}.environment-boundary{fill:none;stroke:#c5d6e3;stroke-dasharray:4 5}.phase-label{font-size:13px;fill:#718697}.figure-bottom-label{font-size:13px;fill:#688294}.quality-note{font-size:14px;fill:#6b8396}.graph-edge{fill:none;transition:opacity .15s}.graph-edge path{stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.edge-data path{stroke:#496a84}.edge-control path{stroke:#a37b3b;stroke-dasharray:6 4}.edge-evidence path{stroke:#6d8994;stroke-dasharray:2 4}.marker-data{fill:#496a84}.marker-control{fill:#a37b3b}.marker-evidence{fill:#6d8994}.graph-edge.incident path{stroke-width:2.7}.graph-edge.muted-edge{opacity:.13}.edge-labels text{font-size:13px;fill:#4b6c84;paint-order:stroke;stroke:white;stroke-width:5px;stroke-linejoin:round}.edge-labels .control-label{fill:#8a662e}.edge-labels .evidence-label{fill:#5f7d87}.graph-node{cursor:pointer;outline:none}.graph-node rect{fill:white;stroke:#a4bbcd;stroke-width:1.1;transition:fill .15s,stroke .15s}.graph-node:hover rect{fill:#f0f5f9;stroke:#507c9d;stroke-width:1.8}.graph-node:focus-visible rect{stroke:#294f6c;stroke-width:3}.graph-node-title{font-size:16px;font-weight:600;fill:#2e5069}.graph-node-subtitle{font-size:12px;fill:#6e889c}.graph-node.kind-store rect{fill:#f3f7fa;stroke:#a7bfce;stroke-dasharray:4 3}.graph-node.kind-store .graph-node-title{font-size:14px}.graph-node.kind-store .graph-node-subtitle{font-size:11px}.graph-node.kind-manual rect{fill:#fff7e8;stroke:#ad8647}.graph-node.kind-manual .graph-node-title{fill:#895f22}.graph-node.selected rect{fill:#eaf2f8;stroke:#2c5d81;stroke-width:2.6}.graph-node.selected .graph-node-title{fill:#163d5a}.node-quality .graph-node-title{font-size:15px}#system-graph[data-mode="data"] .control-label,#system-graph[data-mode="data"] .evidence-label,#system-graph[data-mode="control"] .evidence-label,#system-graph[data-mode="evidence"] .control-label{opacity:.35}.system-figure figcaption{font-size:13px;line-height:1.9;color:#6b8396;border-top:1px solid var(--line);background:#fafcfd;padding:14px 20px}
.node-inspector{border:1px solid #c9d9e4;border-top:0;background:#fcfdfe;padding:23px}.inspector-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.inspector-heading .eyebrow{font-size:11px;margin-bottom:4px}.inspector-heading h3{font-size:22px}.inspector-type{font:12px var(--mono);color:#6b889d;max-width:40%;text-align:right}.node-contract{display:grid;grid-template-columns:1fr 1fr;gap:18px 34px;margin:0}.node-contract>div{display:grid;grid-template-columns:105px 1fr;gap:10px;border-top:1px solid #dfe9f0;padding-top:12px}.node-contract dt{font-size:12px;color:#567a96;font-weight:600}.node-contract dd{font-size:14px;color:#567084;line-height:1.9;margin:0}.node-contract code{font-size:12px}.node-relations{border-top:1px solid #dce7ef;padding-top:17px;margin-top:20px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.node-relations>strong{font-size:12px;font-weight:600;margin-right:8px}.node-relations button{background:white;color:#526f85;border:1px solid #d4e1eb;font-size:12px;padding:5px 9px;display:flex;align-items:center;gap:7px;flex-wrap:wrap;text-align:left}.node-relations button small{font-size:11px;color:#7e96a8}.relation-kind{font-size:10px;color:#496a84;border-right:1px solid #d5e2ec;padding-right:7px}.relation-kind.kind-control{color:#9b7130}.relation-kind.kind-evidence{color:#668590}.relationship-matrix{margin-top:32px}.relationship-matrix h3{font-size:18px;margin-bottom:16px}.table-scroll{max-width:100%;overflow-x:auto}.relationship-matrix table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;line-height:1.9}.relationship-matrix th{background:#f0f5f9;color:#3d617d;font-size:13px;font-weight:600}.relationship-matrix th,.relationship-matrix td{padding:13px 16px;border:1px solid #d3e1eb;vertical-align:top}.relationship-matrix td:first-child{width:21%;font-size:13px;color:#3c6482}.relationship-matrix td:nth-child(2){width:37%}
.interface-label{font:12px var(--mono);fill:#617f95}.graph-node[data-node="queue"] .graph-node-title{font-size:16px}.report-cover h1{text-wrap:balance}.graph-selection-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:2px 20px 9px;font-size:11px;color:#728b9e}.graph-selection-bar strong{font-weight:600;color:#476a85}.graph-selection-bar button{font-size:11px;background:none;color:#3b6585;border:0;border-bottom:1px solid #b2c9da;padding:0 0 1px}.node-inspector{scroll-margin-top:104px}
@media(min-width:1500px){.wrap{max-width:1410px}.section{padding-top:74px;padding-bottom:74px}.report-cover h1{font-size:42px}}
@media(max-width:1100px){.header-cta{display:none}.section-heading{display:block}.section-heading>p{max-width:none;margin-top:14px}.section-heading>p br{display:none}.report-facts{grid-template-columns:1fr 1fr}.report-facts>div:last-child{grid-column:1/-1;border-left:0;border-top:1px solid var(--line)}.graph-toolbar{flex-wrap:wrap}.graph-zoom{margin-left:auto}.figure-status{display:none}.node-contract>div{grid-template-columns:90px 1fr}}
@media(max-width:800px){.header-inner{padding:13px 25px;gap:10px}.brand{font-size:15px}.brand-mark{width:25px;height:28px;font-size:20px;transform:none}.header nav{font-size:13px;gap:10px}.report-cover{padding-top:33px}.report-cover h1{font-size:32px}.report-subtitle{font-size:19px}.abstract{grid-template-columns:45px 1fr;gap:12px;margin-top:24px}.abstract p{font-size:15px}.section{padding-top:48px;padding-bottom:48px}h2{font-size:25px}.section-heading h2:before{font-size:20px}.figure-header>div{display:block}.figure-header>div>span{display:block;margin-top:3px}.graph-toolbar{padding:13px 16px;gap:11px}.graph-modes{flex-wrap:wrap;gap:5px}.graph-modes button{font-size:11px}.graph-legend{gap:12px;font-size:11px;padding-left:16px}.graph-legend .graph-hint{width:100%;margin-left:0}.node-contract{grid-template-columns:1fr;gap:13px}.node-contract>div{grid-template-columns:100px 1fr}.node-inspector{padding:20px}.table-scroll table{min-width:730px}.principles{gap:23px}.principles h3{font-size:16px}.principles p{font-size:14px}.flow-node{padding:18px 7px}.flow-node strong{font-size:12px}.step-rail{border-right:1px solid var(--line)}}
@media(max-width:560px){.header-inner{padding:11px 20px;gap:9px}.header nav{font-size:12px;gap:6px}.document-meta{font-size:10px;letter-spacing:0;gap:10px;margin-bottom:22px;padding-top:13px}.document-meta>span:first-child{font-size:11px}.report-cover{padding-top:25px}.report-cover h1{font-size:28px;line-height:1.55;letter-spacing:-.5px}.report-subtitle{font-size:17px;margin-top:9px}.abstract{grid-template-columns:1fr;gap:10px;padding-top:17px;margin-top:22px}.abstract-label{font-size:12px;letter-spacing:2px}.abstract p{font-size:15px}.report-facts{grid-template-columns:1fr}.report-facts>div{border-left:0;border-top:1px solid var(--line);padding:12px 15px}.report-facts>div:last-child{grid-column:auto}.report-facts dt{font-size:11px}.report-facts dd{font-size:13px}.report-contents{font-size:12px;padding:17px 0;gap:7px 20px}.section{padding-top:38px;padding-bottom:38px}h2{font-size:23px}.section-heading h2:before{font-size:17px}.section-heading>p{font-size:14px;margin-top:12px}.section-heading{margin-bottom:23px}.eyebrow{font-size:11px}.figure-header{padding:14px}.figure-header strong{font-size:16px}.figure-header>div>span{font-size:11px}.graph-toolbar{padding:12px;gap:10px}.graph-modes{gap:5px}.graph-modes button{font-size:11px;padding:5px 8px}.graph-zoom{margin-left:0}.graph-zoom button{font-size:11px}.graph-legend{padding:12px;gap:9px;font-size:10px}.graph-legend i{width:17px}.graph-legend .graph-hint{font-size:10px}.system-figure figcaption{padding:13px 14px;font-size:12px}.inspector-heading{align-items:start}.inspector-heading h3{font-size:20px}.inspector-type{font-size:10px}.node-inspector{padding:18px 15px}.node-contract>div{grid-template-columns:1fr;gap:5px}.node-contract dt{font-size:11px}.node-contract dd{font-size:14px}.node-contract code{font-size:11px}.node-relations{gap:7px}.node-relations>strong{width:100%;font-size:12px}.node-relations button{font-size:11px;line-height:1.8}.node-relations button small{font-size:10px}.relationship-matrix h3{font-size:17px}.table-scroll table{font-size:13px}.principles{gap:20px;margin-top:26px;padding-top:23px}.principles article{padding-left:14px;display:block}.principles h3{margin-bottom:9px}.principles p{font-size:15px}.step-rail{border-right:0;border-bottom:1px solid var(--line)}.implementation-details summary,.source-details summary{font-size:13px}.footer-brand{font-size:15px}}
@media print{.report-cover{padding-top:10px}.report-cover h1{font-size:30px}.graph-toolbar,.graph-legend .graph-hint,.report-contents{display:none}.graph-viewport{overflow:visible}#system-graph{width:100%!important;min-width:0}.system-figure{break-inside:avoid}.section-heading h2:before{font-size:18px}.node-inspector{break-inside:avoid}.table-scroll{overflow:visible}.table-scroll table{min-width:0}.tinted,.quality-section,.evidence-section{background:white}}
