/* Outcome-oriented fixed-grid Wall-Sona bench, using the atlas palette. */
.wall-sona-page{max-width:none;min-width:0;font-size:1rem}
.wall-sona-workspace{display:grid;grid-template-columns:minmax(16rem,22rem) minmax(0,1fr);gap:1rem;align-items:start;margin-top:1rem}
.wall-sona-controls,.wall-sona-main{min-width:0}
.wall-sona-controls{padding:1rem}
.wall-sona-controls h2{font-size:1.4rem;margin-top:0}
.wall-sona-controls h2:not(:first-child){margin-top:1.5rem}
.wall-sona-controls form{display:grid;gap:.8rem;margin:.8rem 0}
.wall-sona-controls label{display:grid;gap:.35rem;min-width:0;font-size:1rem}
.wall-sona-controls input,.wall-sona-controls select{font:inherit;min-width:0;width:100%;padding:.5rem}
.wall-sona-controls .wall-sona-protection{display:flex;align-items:center;gap:.6rem;margin:.55rem 0;min-height:2.5rem}
.wall-sona-controls .wall-sona-protection input{width:1.35rem;height:1.35rem;flex:none;padding:0}
.wall-sona-controls fieldset{min-width:0;max-width:100%;padding:.7rem;border:1px solid var(--soft-line)}
.wall-sona-controls legend{font-size:1rem;line-height:1.4;max-width:100%;padding:0 .25rem}
.wall-sona-controls .button,.wall-sona-main .button{font-size:1rem;line-height:1.4;white-space:normal;max-width:100%;text-align:left}
.wall-sona-page .rendering-controls button{font-size:1rem;line-height:1.4;min-height:2.5rem;max-width:100%;white-space:normal}
.wall-sona-main{display:grid;gap:1rem}
.wall-sona-main>.result,.wall-sona-main>.panel{margin:0}
.wall-sona-main .result h2{font-size:1.6rem}
.wall-sona-plates{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:.8rem;align-items:start}
.wall-sona-plates .native-plate{margin:0;min-width:0;background:#fff9eb;border:1px solid var(--soft-line)}
.wall-sona-plates figcaption{min-height:5.2em;padding:.65rem;font:.85rem/1.4 var(--sans);overflow-wrap:anywhere}
.wall-sona-candidate{border-top:3px solid var(--copper)!important}
.wall-sona-svg{display:block;width:100%;height:auto;min-height:16rem;max-height:32rem;padding:.6rem;overflow:hidden}
.wall-sona-face{fill:#b9cab0;fill-opacity:.13;stroke:none;cursor:pointer}
.wall-sona-face[data-bounded=false]{fill:transparent}
.wall-sona-face.is-selected{fill:#6d9cac;fill-opacity:.35}
.wall-sona-ink-analysis .wall-sona-face{fill-opacity:0}
.wall-sona-ink-analysis .wall-sona-face.is-selected{fill-opacity:.25}
.wall-sona-contact-guide{stroke:#b2aa91;stroke-width:.014;stroke-dasharray:.05 .04;pointer-events:none}
.wall-sona-contact-guide.is-protected{stroke:#b18c2e;stroke-width:.018}
.wall-sona-native-arc{fill:none;stroke:#246b79;stroke-width:.018;stroke-linecap:round;stroke-linejoin:round}
.wall-sona-native-arc.is-selected{stroke:#a34f38}
.wall-sona-ink-analysis .wall-sona-native-arc{stroke:#173d50}
.wall-sona-ink-analysis .wall-sona-native-arc.is-selected{stroke:#a34f38}
.wall-sona-arc-hit{fill:none;stroke:transparent;stroke-width:.065;pointer-events:stroke;cursor:pointer}
.wall-sona-contact{fill:#fff5dc;stroke:#9c8463;stroke-width:.008;cursor:pointer}
.wall-sona-contact.is-protected{fill:#d9b45b;stroke:#9e7824}
.wall-sona-contact.is-selected{fill:#d7bb83;stroke:#793c68;stroke-width:.015}
.wall-sona-mark circle{fill:#b28a4e;stroke:none}
.wall-sona-mark text{fill:#173d50}
.wall-sona-mark.is-selected circle{fill:#a75336}
.wall-sona-svg [role=button]:focus-visible{outline:none;stroke:#793d6a;filter:drop-shadow(0 0 1px #fff7e9)}
.wall-sona-inspection{border:1px solid var(--soft-line);padding:1rem;background:#f5ead2;min-width:0}
.wall-sona-inspection h3{font-size:1.3rem;margin-top:0}
.wall-sona-inspection details{border:1px solid var(--soft-line);padding:.55rem;margin:.5rem 0;background:#fbf3df}
.wall-sona-inspection summary{font-size:1rem;line-height:1.5;cursor:pointer}
.wall-sona-part-list{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}
.wall-sona-part-list button{font-size:.95rem;line-height:1.4;min-height:2.5rem;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left;justify-content:flex-start}
.wall-sona-inspection pre,.wall-sona-main pre{max-height:24rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.wall-sona-scope h2{font-size:1.4rem;margin-top:0}
.wall-sona-page .warning{font-size:1rem;line-height:1.5;border-left:3px solid var(--copper);padding:.7rem;background:#f7e4d2}
.wall-chamber-controls p{font-size:1rem;line-height:1.5;margin-bottom:0}
.wall-chamber-proof{min-width:0}
.wall-chamber-proof h2{font-size:1.4rem;margin-top:.4rem}
.wall-chamber-proof dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:.4rem .8rem;font-size:1rem;overflow-wrap:anywhere}
.wall-chamber-proof dd{margin:0}
.wall-chamber-proof-svg{height:clamp(16rem,35vw,20rem);min-height:16rem;max-height:20rem;background:#fff9eb;border:1px solid var(--soft-line);pointer-events:none}
.wall-chamber-boundary-source,.wall-chamber-boundary-target{fill:none;stroke-width:.023;stroke-linecap:round;stroke-linejoin:round}
.wall-chamber-boundary-source{stroke:#793c68}
.wall-chamber-boundary-target{stroke:#a34f38;stroke-dasharray:.065 .045}
.wall-chamber-stable-mark{fill:#173d50}
.wall-chamber-witness{fill:#fff9eb;stroke:#173d50;stroke-width:.018}
.wall-chamber-witness-text{border-left:3px solid #793c68;padding-left:.7rem;overflow-wrap:anywhere}
@media(max-width:1050px){.wall-sona-workspace{grid-template-columns:1fr}}
@media(max-width:600px){.wall-sona-page.prose{padding:1rem}.wall-sona-controls{padding:.85rem}.wall-sona-plates{grid-template-columns:1fr}.wall-sona-svg{min-height:15rem}.wall-sona-page .toolbar{flex-direction:column;align-items:stretch}.wall-sona-page .toolbar a{white-space:normal;text-align:left;justify-content:flex-start;font-size:1rem}}
