.desk-tabs,.chips,.desk-filters,.step-controls{display:flex;align-items:center;flex-wrap:wrap;gap:.5em .8em}
.desk-tabs{border-block:1px solid var(--line);padding:.5rem 0;margin-bottom:1.5rem}.desk-tabs a,.chips a,.chips span{border-radius:2rem;padding:.28em .85em;background:#e9efe2;text-decoration:none;font-size:.92rem}.desk-tabs [aria-current=page]{color:#fff;background:#1b5d50}.desk{padding-top:.8rem}.desk h1{font:500 clamp(2.5rem,6vw,4.4rem)/1.12 Georgia,serif;margin:.18em 0}.desk .lead{max-width:70ch;font-size:1.2rem}.desk h2{line-height:1.2;margin:.35em 0 .5em}.desk p{max-width:90ch}.chips{margin:1em 0}.desk-filters{margin:1em 0;padding:.7em;background:#e6eddf;border-radius:8px}.ledger details,.shelf-group,.contrast,.runtime-plate,.research-callout{border:1px solid var(--line);border-radius:8px;background:#fffdf5;padding:1em;margin:.65em 0;overflow-wrap:anywhere}.ledger details[hidden],.step-controls[hidden]{display:none}.ledger summary,.shelf-group summary{cursor:pointer}.ledger summary small,.ledger summary em{color:#466758;font-size:.82rem;font-style:normal}.ledger details[open]>summary{border-bottom:1px solid var(--line);padding-bottom:.45em;margin-bottom:.6em}.locator,.desk small{font: .86rem/1.55 var(--mono);color:#33584d}.research-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:.6rem}.research-grid a{border:1px solid var(--line);border-radius:7px;background:#fffdf5;padding:.7em;text-decoration:none}.research-grid small,.runtime-flow b{display:block}.research-callout{border-left:5px solid #28735d}.runtime-plate{padding:clamp(1rem,2vw,1.6rem);scroll-margin-top:1rem}.runtime-flow{display:flex;gap:1.6rem;list-style:none;margin:1em 0;padding:0}.runtime-flow li{position:relative;flex:1;min-width:0;line-height:1.35;padding:.7em;border:2px solid transparent;border-radius:6px;background:#e7efe2}.runtime-flow li+li:before{content:'→';position:absolute;left:-1.4em;top:40%;color:#386557}.runtime-flow b{color:#436b5b;font-family:var(--mono);font-size:.8rem;margin-bottom:.3em}.runtime-flow .current{border-color:#296850;background:#cfebd7}.step-controls{margin:.8em 0}.step-controls button{cursor:pointer;border-radius:5px;background:#fffdf6;color:#244d40;border:1px solid #91ab9c;padding:.4em .75em}.shelf-group li+li{margin-top:.55em}.shelf-group code{color:#47665c;font-size:.8rem}.desk footer{margin-top:2rem}
@media(max-width:760px){.runtime-flow{flex-direction:column;gap:1.35rem}.runtime-flow li+li:before{content:'↓';left:1.1em;top:-1.3em}.desk-tabs{gap:.35em}.desk-tabs a{font-size:.82rem}.step-controls output{width:100%}}

.cover{background:radial-gradient(ellipse at 80% 0,#2b5551 0,transparent 64%),#143134;color:#fff7df;border-bottom:4px solid #bea46b}
.cover-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:5%;padding-block:clamp(1.35rem,3vw,2.4rem)}.cover .kicker{color:#b4dec5;font-size:.72rem}.cover h1{font:500 clamp(2.6rem,4.6vw,4.4rem)/.99 Georgia,"Songti SC",serif;letter-spacing:-.045em;margin:.25em 0}.cover h1 em{color:#b4e9c5;font-style:italic}.cover p{max-width:49ch;line-height:1.45;color:#e1eadf}.cover-cta{display:flex;gap:.6rem;flex-wrap:wrap}.cover-cta a{border:1px solid #769888;padding:.42em .85em;border-radius:5px;color:#eef6df;text-decoration:none;font-size:.92rem}.cover-cta a:last-child{background:#c4edc9;border-color:#c4edc9;color:#153a31;font-weight:700}
.cover-figure{margin:0;border:1px solid #678b7c;background:#183a39;border-radius:12px;padding:1rem}.cover-figure svg{width:100%;height:auto;display:block}.cover-figure figcaption{color:#cee3cc;font:650 .76rem var(--mono);letter-spacing:.09em}.cover-figure small{color:#c6d7c8}.bench-grid path{stroke:#759a89;fill:none;stroke-width:1.5}
.system-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:.32rem .8rem}.system-links a{font-size:.85rem;padding:.25em 0;text-decoration:none}.system-links b{display:inline-block;font:650 .75rem var(--mono);min-width:4.5em}
.studio-card{background:#fffdf5;border:1px solid var(--line);border-radius:12px;padding:clamp(.8rem,2.2vw,1.6rem)}.studio-pick:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;margin:1em 0;font-weight:650}.studio-pick select{min-width:0;max-width:100%}.studio-card[hidden],.studio-pick[hidden]{display:none}.studio-card h3{font-size:1.55rem;margin:.2em 0}
.schematic{margin:.9em 0;min-width:0}.phase{display:flex;align-items:baseline;gap:.9em;border-left:3px solid #aaa28c;padding:.25em .7em;font-size:.93rem;margin:.5em 0}.phase b{white-space:nowrap}.circuit-scroll{overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #adc8b8;border-radius:9px;background-color:#eef2e8;background-image:radial-gradient(#bbcdc3 .7px,transparent .8px);background-size:13px 13px}.circuit{display:block;width:100%;min-width:660px;height:auto}.circuit .signal>path{fill:none;stroke:#286f65;stroke-width:2.7;stroke-linejoin:round}.circuit .feedback>path{stroke:#ac521f;stroke-dasharray:8 4}.circuit .inner>path{stroke:#71518c;stroke-dasharray:3 4}.signal.current>path{stroke-width:4.9}.module rect{stroke:#6a9382;stroke-width:1.5;fill:#fffef6}.module.in rect{fill:#e6f1ef;stroke:#63968a}.module.out rect{fill:#fbefdb;stroke:#a88751}.module.current rect{stroke:#1c5747;stroke-width:3.5}.module text{pointer-events:none;font-family:system-ui,sans-serif;fill:#193c34;text-anchor:middle}.module .module-role{text-anchor:start;font:600 10px var(--mono);fill:#476556;letter-spacing:.09em}.module-title{font-weight:700;font-size:17px}.module-port{font-size:13px}.circuit-key{display:flex;flex-wrap:wrap;align-items:center;gap:.35em 1em;margin-top:.4em;font-size:.82rem;color:#3c5b4e}.circuit-key span:before{content:'';display:inline-block;vertical-align:middle;width:1.3em;margin-right:.3em;border-top:2px solid #286f65}.circuit-key .key-feedback:before{border-color:#ac521f;border-top-style:dashed}.circuit-key .key-inner:before{border-color:#71518c;border-top-style:dotted}.circuit-key small{margin-left:auto}.runtime-plate details{margin-bottom:.8em}
@media(max-width:760px){.cover-inner{grid-template-columns:1fr;gap:1rem}.cover-figure{padding:.7rem}.cover-figure svg{max-height:140px}.phase{display:block}.phase b{display:block}.circuit-key small{margin-left:0}.cover h1 br{display:none}.cover h1 em:before{content:' '}.step-controls output{overflow-wrap:anywhere}}
.perspectives [hidden]{display:none!important}.perspectives select{max-width:100%}.perspectives [data-lens-controls] label{min-width:0;max-width:100%}.coord-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(185px,100%),1fr));gap:.5em}.coord-filters select{display:block;width:100%}.coord-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:8px}.coord-table{border-collapse:collapse;width:100%;font-size:.88rem}.coord-table th,.coord-table td{text-align:start;vertical-align:top;padding:.6rem;border-bottom:1px solid var(--line);min-width:7em}.coord-table thead th{background:#dce8d9}.coord-table .coord-focus{background:#fff0d6}.coord-table tbody th{min-width:12em}.coord-table small{display:block}.roles{font-size:.82rem;color:#3e6251;margin-top:.35rem}
