/* Scoped candidate geometry; the selected Lumi V3 shell owns navigation. */
.g5geometry-v2-scene{container-type:inline-size}
.g5geometry-v2-tools>.phase-button{display:flex;justify-content:center;align-items:center}
.g5geometry-v2-board{background:#fcfbf3!important;overflow:hidden!important}
.g5geometry-v2-scene{box-sizing:border-box;display:flex;flex-direction:column;gap:10px;width:100%;height:100%;min-height:0;min-width:0;padding:18px 20px;color:#174e54;background:radial-gradient(ellipse at 50% 45%,#fffdf6,#eff5ed)}
.g5geometry-v2-scene>h2{flex:0 0 auto;margin:0;font:750 clamp(17px,1.9vw,24px)/1.3 Nunito,system-ui,sans-serif;text-align:center;color:#174e54}
.g5geometry-v2-model{flex:1 1 0;min-height:150px;min-width:0;width:100%;display:flex;align-items:stretch}
.g5geometry-v2-options{display:grid;grid-template-columns:repeat(var(--option-count,3),minmax(0,1fr));gap:9px;flex:0 0 auto;min-width:0}
.g5geometry-v2-options button{box-sizing:border-box;min-width:0;min-height:54px;border:1.5px solid #9bc8bf;border-radius:13px;background:#fffef7;color:#174e54;padding:8px;font:800 clamp(16px,1.6vw,21px)/1.2 Nunito,system-ui,sans-serif;overflow-wrap:anywhere;cursor:pointer}
.g5geometry-v2-options button.selected{background:#dff1e7;border-color:#268e81;box-shadow:inset 0 -3px #268e81}
.g5geometry-v2-options button:focus-visible{outline:3px solid #bd852d;outline-offset:2px}
.g5geometry-v2-tools{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;width:100%;min-width:0}
.g5geometry-v2-tools>.phase-button{box-sizing:border-box;flex:1 1 90px;min-height:50px;min-width:0;height:auto!important;padding:9px 12px!important;font:800 16px/1.2 Nunito,system-ui,sans-serif!important;text-align:center;white-space:normal;overflow-wrap:anywhere}
.g5geometry-v2-point-keys{display:grid;grid-template-columns:repeat(4,minmax(44px,1fr)) minmax(90px,1.6fr);gap:7px;width:100%}
.g5geometry-v2-point-keys button{min-width:44px;min-height:48px;padding:7px!important;text-align:center;display:flex;justify-content:center;align-items:center;font-size:18px!important;line-height:1.1!important}
.g5geometry-v2-status{margin:0;font:700 clamp(15px,1.6vw,20px)/1.3 Nunito,system-ui,sans-serif;color:#246d61;text-align:center;flex:0 0 auto}
.g5geometry-v2-status:empty{display:none}
.g5geometry-v2-draft{flex:0 0 auto;border-top:1px solid #dce7dc;padding-top:7px;font:650 13px/1.4 Nunito,system-ui,sans-serif;color:#627770;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:center}
.g5geometry-v2-review-steps{display:flex;gap:5px;flex-wrap:wrap}
.g5geometry-v2-review-steps button{width:44px;height:44px;border:1px solid #a9c6ba;border-radius:10px;color:#245e54;background:#fffdf3;font:800 16px Nunito,system-ui,sans-serif}
.g5geometry-v2-review-steps button[aria-pressed=true]{background:#dceee3;border-color:#358673}
.g5geometry-v2-draft details{grid-column:1/-1;min-width:0}
.g5geometry-v2-draft summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
.g5geometry-v2-draft details p{margin:2px 0;font-size:15px;max-height:85px;overflow:auto}
@media(max-width:599px){.g5geometry-v2-scene{padding:12px;gap:7px}.g5geometry-v2-options{gap:6px}.g5geometry-v2-options button{padding:7px 4px;min-height:58px;font-size:16px}.g5geometry-v2-tools{gap:5px}.g5geometry-v2-tools>.phase-button{flex-basis:75px;min-height:52px;padding:9px 5px!important;overflow-wrap:normal;word-break:normal}.g5geometry-v2-draft{grid-template-columns:minmax(0,1fr)}.g5geometry-v2-model{min-height:130px}.g5geometry-v2-point-keys{gap:4px;grid-template-columns:repeat(4,minmax(44px,1fr)) minmax(80px,1.5fr)}}
.g5gv-root{width:100%;height:100%;min-width:0;min-height:0;display:flex;align-items:stretch;justify-content:center;color:#174e54}
.g5gv-model{display:flex;flex-direction:column;align-items:stretch;justify-content:center;min-width:0;min-height:0;width:100%;height:100%;gap:8px}
.g5gv-svg{display:block;width:100%;height:100%;min-height:160px;max-height:100%;overflow:visible;flex:1 1 0;touch-action:manipulation}
.g5gv-line{fill:none;stroke:#207e84;stroke-width:4;stroke-linecap:round;vector-effect:non-scaling-stroke}
.g5gv-main-edge{stroke:#207e84}.g5gv-preview-edge{stroke:#6b9396;stroke-dasharray:6 7;stroke-width:2}
.g5gv-dot{fill:#155c64;stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}
.g5gv-label{font:750 44px/1.15 Nunito,system-ui,sans-serif;fill:#174e54;text-anchor:middle;paint-order:stroke;stroke:#fbfcf6;stroke-width:3;stroke-linejoin:round}
.g5gv-point-halo{fill:#3aa297;opacity:0;transition:opacity .16s ease}
.g5gv-hit{fill:transparent;stroke:transparent;pointer-events:all}
.g5gv-point[role=button]{cursor:pointer;outline:none}
.g5gv-point[role=button]:hover .g5gv-point-halo,.g5gv-point[role=button]:focus-visible .g5gv-point-halo,.g5gv-point.is-selected .g5gv-point-halo{opacity:.18}
.g5gv-point[role=button]:focus-visible .g5gv-dot{stroke:#d58c22;stroke-width:3}
.g5gv-point.is-selected .g5gv-dot{fill:#278f81}
.g5gv-ruler rect{fill:#f4e7b8;stroke:#a88b43;stroke-width:2;vector-effect:non-scaling-stroke}
.g5gv-ruler line{stroke:#6d633f;stroke-width:2;vector-effect:non-scaling-stroke}
.g5gv-ruler text{font:750 44px/1 Nunito,system-ui,sans-serif;fill:#544c34;text-anchor:middle}
.g5gv-ruler .g5gv-unit-label{font-size:44px}
.g5gv-straightedge rect{fill:#cde7e7;fill-opacity:.65;stroke:#549498;stroke-width:2;vector-effect:non-scaling-stroke}
.g5gv-grid .g5gv-line{stroke:#dbe7e5;stroke-width:1}
.g5gv-arm-b{stroke:#516e9a}.g5gv-angle-arc{fill:none;stroke:#658c8b;stroke-width:2;vector-effect:non-scaling-stroke}
.g5gv-vertex-ring{fill:none;stroke:#268b83;stroke-width:2;opacity:0;vector-effect:non-scaling-stroke}
.g5gv-zoom-ring{fill:#e6f1e8;stroke:#8fb8ad;stroke-width:2;stroke-dasharray:4 5}
.g5gv-notation{align-self:center;font:800 clamp(20px,2.3vw,29px)/1.3 Nunito,system-ui,sans-serif;text-align:center;max-width:100%;padding:5px 12px;border-radius:9px;color:#245e63}
.g5gv-caption{font:700 clamp(16px,1.7vw,22px)/1.3 Nunito,system-ui,sans-serif;text-align:center;margin:0}
.g5gv-speaking .g5gv-main-edge,.g5gv-speaking.g5gv-main-edge{stroke:#139e8b;filter:drop-shadow(0 0 3px #65bdae)}
.g5gv-speaking .g5gv-point-halo{opacity:.22}.g5gv-speaking .g5gv-dot{fill:#149d89}
.g5gv-speaking.g5gv-vertex-ring{opacity:1}
.g5gv-speaking.g5gv-notation{background:#e0f1e8;text-decoration:underline;text-decoration-color:#65b5a1;text-underline-offset:5px;text-decoration-thickness:2px}
.g5gv-speaking.g5gv-ruler rect{fill:#e1edc9}.g5gv-ruler .g5gv-speaking text{fill:#08786d;font-weight:900}
.g5gv-straightedge.g5gv-speaking rect{fill:#9ed5c9;stroke:#168b7b}
.g5gv-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.g5gv-comparison[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.g5gv-compare-item{min-width:0;min-height:0;display:flex;border:1px solid #d8e6e0;border-radius:16px;background:#fffdf5;padding:8px}
.g5gv-comparison .g5gv-label{font-size:42px}.g5gv-comparison .g5gv-svg{min-height:110px}
@media(max-width:1100px){
 .g5gv-comparison,.g5gv-comparison[data-count="3"]{grid-template-columns:minmax(0,1fr);gap:6px}
 .g5gv-compare-item{padding:3px 8px}
 .g5gv-comparison .g5gv-model{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
 .g5gv-comparison .g5gv-svg{min-height:70px;max-height:150px}
 .g5gv-comparison .g5gv-notation{font-size:17px;padding:4px}
 .g5gv-svg{min-height:140px}
}
@media(prefers-reduced-motion:reduce){.g5gv-root *{transition:none!important}}
/* A short desktop can have a narrow square board despite a wide viewport. */
@container(max-width:900px){
 .g5gv-comparison,.g5gv-comparison[data-count="3"]{grid-template-columns:minmax(0,1fr);gap:6px}
 .g5gv-compare-item{padding:3px 8px}
 .g5gv-comparison .g5gv-model{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
 .g5gv-comparison .g5gv-svg{min-height:70px;max-height:150px}
 .g5gv-comparison .g5gv-notation{font-size:17px;padding:4px}
}
