:is(#V31,#V32,#V33) [hidden] {display:none!important}
.set-owner.tools {margin:16px 0 10px}
.set-layout {display:grid;grid-template-columns:minmax(0,1.85fr) minmax(215px,.85fr);gap:12px}
.set-frame {justify-content:space-between}
#set-stage {height:clamp(240px,28vw,355px);background:radial-gradient(ellipse at 53% 41%,#203445 0%,#122536 46%,#0a1827 81%);cursor:grab;touch-action:none;overflow:hidden}
#set-stage:active {cursor:grabbing}
#set-stage svg,.set-plot {width:100%;height:100%;display:block}
#set-stage:focus-visible,.set-table-scroll:focus-visible {outline:2px solid var(--gold);outline-offset:2px}
.set-layers {padding:8px 14px 11px;border-top:1px solid var(--rule)}
.set-layers .tools {margin:0}
.set-layers button,.set-presets button {font-size:12px;padding:5px 9px}
.set-layers .source,.set-side .source {font:14px/1.5 var(--sans);margin:8px 0 0}
.set-side,.set-field {min-width:0;border:1px solid var(--rule);background:var(--well)}
.set-side {padding:clamp(15px,2.2vw,23px);align-content:center}
.set-pair {display:grid;grid-template-columns:1fr 1fr;gap:9px;padding-top:13px;border-top:1px solid var(--rule)}
.set-pair span {font:12px var(--sans);color:var(--muted);display:block}
.set-pair strong {font:400 clamp(24px,3.0vw,37px)/1.1 var(--display);color:var(--teal);display:block;margin:3px 0 1px;overflow-wrap:anywhere}
.set-pair div+div strong {color:var(--violet)}
.set-account {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(180px,.85fr);gap:clamp(20px,4vw,50px);align-items:start;margin:16px 0 5px}
.set-account h4 {font:400 clamp(19px,2.4vw,26px)/1.2 var(--display);margin:18px 0 8px;color:var(--ink)}
.set-account p {margin:0 0 10px}
.set-ledger {font-variant-numeric:tabular-nums}
.set-account .set-ledger {margin:4px 0 8px}
.set-key {width:9px;height:9px;background:var(--swatch);display:inline-block;margin:0 7px 1px 1px}
.ledger .set-total :is(th,td) {color:var(--ink);border-bottom:double 3px var(--rule)}
.set-field {padding:clamp(6px,1.4vw,14px);display:flex;flex-direction:column;justify-content:center;gap:4px}
.set-plot {height:auto;overflow:visible}
.set-plot text {font:11.5px var(--mono);fill:var(--muted)}
.set-plot .set-axis-title,.set-plot .set-owner-label {font:12px var(--sans);fill:var(--prose)}
.set-plot .set-contour-label {font:600 11px var(--mono);fill:#e9eeea;stroke:#263e46;stroke-width:3;paint-order:stroke}
.set-plot .set-zero {fill:#ffe0a1}
.set-gridline {stroke:var(--rule);stroke-width:.7;stroke-opacity:.72}
.set-legend {display:flex;align-items:center;justify-content:center;gap:6px 14px;flex-wrap:wrap;font:12px var(--sans);color:var(--prose);border-top:1px solid var(--rule);padding-top:8px}
.set-legend span {display:inline-flex;align-items:center;gap:5px}
.set-bound {width:16px;height:3px;background:#eac681}
.set-loss {width:13px;height:11px;background:repeating-linear-gradient(-45deg,#855866,#855866 2px,#bb8087 2px,#bb8087 3px)}
.set-point,.set-retained {width:9px;height:9px;border-radius:50%;border:2px solid #e2d8be}
.set-retained {background:#92d0c1;border:0}.set-receipt {width:9px;height:9px;background:#c2a6dd}
.set-equation {font:13px/1.6 var(--mono);color:var(--gold);margin:12px 0;padding:10px 0;border-block:1px solid var(--rule)}
.set-boundary {max-width:680px}
.set-table-scroll {overflow-x:auto}
.set-comparison th:not(:first-child),.set-comparison td {text-align:right}
.set-comparison th:first-child {color:var(--ink)}.set-comparison td {white-space:nowrap}
@media(max-width:740px){.set-layout{grid-template-columns:minmax(0,1fr)}.set-account{grid-template-columns:minmax(0,1.2fr) minmax(145px,.8fr);gap:14px}.set-comparison th{font-size:12px!important;line-height:1.25}.set-side .control{margin-bottom:12px}.set-frame{order:0}#set-stage{height:clamp(205px,53vw,300px)}}
@media(max-width:460px){.set-account{grid-template-columns:minmax(0,1fr);gap:0}.set-account h4{margin-top:8px}.set-side{padding:13px}.set-comparison{min-width:360px}.set-legend{font-size:11px}.set-pair strong{font-size:27px}}
@media print {.set-owner,.set-layers,.set-live-controls{display:none!important}.set-layout,.set-account{display:block}.set-side,.set-field{background:white;border:0;padding:0}.set-field{max-width:560px}.set-frame{display:none!important}.set-side .source{font-size:9pt}.set-field,.set-key,.set-legend,.set-plot{-webkit-print-color-adjust:exact;print-color-adjust:exact}.set-equation{font-size:9pt}.set-table-scroll{overflow:visible}.set-ledger{break-inside:avoid}.set-key{border:1px solid #54626c}.set-comparison{min-width:0}.set-comparison tr[data-selected]{background:#e4e9ea}.set-account h4{margin:8px 0}}
