.gm-calc{--ink:#172033;--muted:#667085;--line:#e7eaf0;--soft:#f6f7f9;--accent:#2563eb;--accent2:#0f172a;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:24px;max-width:1180px;margin:28px auto;padding:0}
.gm-calc *{box-sizing:border-box}.gm-calc__visual,.gm-calc__controls{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 14px 40px rgba(15,23,42,.06)}
.gm-calc__visual{padding:0;background:transparent;border:none;box-shadow:none;align-self:start;position:sticky;top:18px}.gm-calc__controls{padding:26px}.gm-calc__visual-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.gm-calc h2,.gm-calc h3{margin:2px 0 0;line-height:1.1}.gm-calc h2{font-size:30px}.gm-calc h3{font-size:22px}.gm-kicker{text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:800;color:var(--accent)}.gm-live{font-size:12px;color:#16a34a;background:#f0fdf4;border:1px solid #dcfce7;padding:7px 9px;border-radius:99px;white-space:nowrap}
.gm-stage{margin-top:0;background:transparent;border:none;border-radius:0;overflow:hidden;aspect-ratio:auto}.gm-svg{display:block;width:100%;height:100%}
.gm-ground{stroke:#cbd2d9;stroke-width:1.15;opacity:.62}
.gm-frame{shape-rendering:geometricPrecision}
.gm-tube-face{stroke:#4f5962;stroke-width:.62;stroke-linejoin:miter}.gm-tube-face--brace{stroke-width:.5}.gm-tube-face--end{stroke:#4a545d;stroke-width:.62}.gm-tube-highlight{stroke:rgba(255,255,255,.92);stroke-width:.42;stroke-linecap:square;pointer-events:none}.gm-tube-highlight--brace{stroke-width:.34;opacity:.9}.gm-tube-highlight--end{stroke-width:.32;opacity:.82}.gm-tube-shadow{stroke:rgba(40,49,56,.7);stroke-width:.5;stroke-linecap:square;pointer-events:none}.gm-tube-shadow--brace{stroke-width:.38;opacity:.88}.gm-tube-shadow--end{stroke-width:.4;opacity:.8}.gm-tube-mid{stroke:rgba(82,92,101,.28);stroke-width:.34;stroke-linecap:square;pointer-events:none}.gm-tube-mid--brace{stroke-width:.24;opacity:.76}
.gm-joint-side{fill:#343d46;opacity:.9}.gm-joint-plate{fill:#707a84;stroke:#414a53;stroke-width:.8}.gm-bolt-shadow{fill:#26313b;opacity:.5}.gm-bolt{fill:#303943;stroke:#c7cdd3;stroke-width:.45}.gm-base-side{fill:#3f4851}.gm-base-plate{fill:#737d86;stroke:#414a53;stroke-width:.6}

.gm-dim{stroke:#94a3b8;stroke-width:1.35}.gm-dim-ext{stroke:#cbd5e1;stroke-width:1;stroke-dasharray:3 4}.gm-dim--active{stroke:#2563eb;stroke-width:2}.gm-label{fill:#64748b;font-size:13px;font-weight:700}.gm-label--active{fill:#2563eb}.gm-label--v{writing-mode:vertical-rl;transform-box:fill-box;transform-origin:center;transform:rotate(180deg)}.gm-note{fill:#64748b;font-size:12px;font-weight:700}.gm-specs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.gm-specs>div{background:var(--soft);border-radius:12px;padding:10px 11px}.gm-specs span{display:block;color:var(--muted);font-size:11px}.gm-specs strong{display:block;margin-top:3px;font-size:14px}.gm-title p{margin:8px 0 22px;color:var(--muted);line-height:1.45}.gm-select{display:block;margin-bottom:20px}.gm-select>span,.gm-range__head label{display:block;font-weight:700;font-size:14px}.gm-select select{width:100%;height:46px;margin-top:7px;border:1px solid #d7dce5;border-radius:11px;padding:0 12px;background:#fff;font-size:14px}.gm-select small{display:block;margin-top:6px;color:var(--muted)}.gm-range{padding:15px 0;border-top:1px solid var(--line)}.gm-range__head{display:flex;justify-content:space-between;gap:16px;align-items:center}.gm-range__head input[type=number]{width:92px;height:38px;border:1px solid #d7dce5;border-radius:9px;padding:0 8px;text-align:right;font-weight:800}.gm-range input[type=range]{width:100%;accent-color:var(--accent);margin:12px 0 2px}.gm-range__ends{display:flex;justify-content:space-between;color:#98a2b3;font-size:11px}.gm-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0 18px}.gm-options label{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:11px;cursor:pointer;transition:.2s}.gm-options label:has(input:checked){border-color:#93b4ff;background:#f5f8ff}.gm-options input{width:18px;height:18px;accent-color:var(--accent);margin:0}.gm-options b,.gm-options small{display:block}.gm-options b{font-size:14px}.gm-options small{color:var(--muted);font-size:11px;margin-top:2px}.gm-result{background:var(--accent2);color:#fff;border-radius:16px;padding:18px}.gm-result__top{display:flex;justify-content:space-between;gap:20px;align-items:end}.gm-result__top span{font-size:13px;color:#cbd5e1}.gm-result__top strong{font-size:28px;white-space:nowrap}.gm-additions{margin-top:10px}.gm-additions>div{display:flex;justify-content:space-between;padding:7px 0;border-top:1px solid rgba(255,255,255,.1);font-size:13px}.gm-result__meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px;color:#cbd5e1;font-size:12px}.gm-result>small{display:block;margin-top:9px;color:#94a3b8}
@media(max-width:900px){.gm-calc{grid-template-columns:1fr}.gm-calc__visual{position:static;order:-1}.gm-calc__controls{padding:22px}.gm-stage{aspect-ratio:auto}.gm-specs{grid-template-columns:1fr 1fr}.gm-calc h2{font-size:26px}}
@media(max-width:560px){.gm-calc{gap:12px;margin:14px auto}.gm-calc__visual,.gm-calc__controls{border-radius:15px}.gm-calc__visual{padding:0}.gm-calc__visual-head{align-items:center}.gm-live{font-size:10px;padding:5px 7px}.gm-stage{margin-top:0;aspect-ratio:auto}.gm-specs{gap:6px}.gm-specs>div{padding:8px}.gm-specs strong{font-size:13px}.gm-calc__controls{padding:18px}.gm-options{grid-template-columns:1fr}.gm-result__top{display:block}.gm-result__top strong{display:block;margin-top:5px;font-size:30px}.gm-label,.gm-note{font-size:11px}.gm-tube-side{stroke-width:8}.gm-tube{stroke-width:7}.gm-tube-side--brace{stroke-width:6}.gm-tube--brace{stroke-width:5}}

/* Coordinates and profile sizes come from the model; only the outline stays legible at small sizes. */
.gm-member{stroke:#596570;stroke-width:.32;stroke-linejoin:miter;vector-effect:non-scaling-stroke}
.gm-member--brace{stroke-width:.25}
.gm-additions>[hidden]{display:none}

/* 0.1.19 — compact controls and material summary */
.gm-specs{grid-template-columns:repeat(3,minmax(0,1fr))}
.gm-range-value{display:flex;align-items:center;gap:4px;white-space:nowrap;font-weight:700}
.gm-range__head .gm-range-value input{border:0;background:transparent;width:66px;padding:0;height:28px;font-size:16px;appearance:textfield;-moz-appearance:textfield}
.gm-range-value input::-webkit-inner-spin-button,.gm-range-value input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.gm-range input[type=range]{appearance:none;-webkit-appearance:none;background:transparent;height:20px;cursor:pointer;margin:9px 0 0}
.gm-range input[type=range]::-webkit-slider-runnable-track{height:2px;background:#cbd5e1;border-radius:2px}
.gm-range input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;background:#2563eb;border-radius:50%;margin-top:-7px;border:0}
.gm-range input[type=range]::-moz-range-track{height:2px;background:#cbd5e1}
.gm-range input[type=range]::-moz-range-thumb{width:16px;height:16px;background:#2563eb;border-radius:50%;border:0}
.gm-range input:focus-visible{outline:2px solid #93b4ff;outline-offset:3px}
.gm-range__ends{display:none}
.gm-options{display:flex;flex-direction:column;gap:12px;margin:20px 0}
.gm-options label{border:0;border-radius:0;padding:0;display:flex;align-items:center;font-size:14px}
.gm-options label:has(input:checked){background:transparent}
.gm-options b{margin-left:auto;font-size:14px;white-space:nowrap}
.gm-options [hidden],.gm-materials [hidden]{display:none}
.gm-result__top{display:flex;align-items:center;gap:12px}
.gm-result__top strong{font-size:24px;margin:0}
.gm-result__meta{display:flex;flex-direction:column;gap:9px}
.gm-result__meta>span{display:flex;justify-content:space-between;gap:10px}
.gm-result__meta b{white-space:nowrap}
.gm-materials{margin-top:24px;padding-top:20px;border-top:1px solid #e7eaf0}
.gm-calc .gm-materials h3{font-size:16px;line-height:1.4;margin:0 0 4px}
.gm-materials .gm-materials-note{margin:0 0 16px;color:var(--muted);font-size:12px}
.gm-materials p{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin:12px 0}
.gm-materials b{white-space:nowrap;text-align:right}
.gm-materials small{display:block;color:#667085;font-size:11px;line-height:1.6;margin-top:18px}
.gm-materials .gm-material-warning{color:#9a3412;line-height:1.5}
.gm-mount{fill:#778793;stroke:#445968;stroke-width:.55;vector-effect:non-scaling-stroke;stroke-linejoin:round}
@media(max-width:380px){.gm-result__top strong{font-size:21px}.gm-materials p{flex-wrap:wrap}.gm-specs span{font-size:10px}}

/* Shared typography and theme-independent range controls. */
.gm-calc{font-size:14px;font-weight:400;line-height:1.45}
.gm-calc label,.gm-calc input,.gm-calc select,.gm-calc b,.gm-calc strong,.gm-range-value{font:inherit}
.gm-calc .gm-select>span,.gm-calc .gm-range__head label,.gm-calc h2,.gm-calc h3{font-size:16px;font-weight:500;line-height:1.4}
.gm-calc .gm-specs{grid-template-columns:repeat(4,minmax(0,1fr))}
.gm-calc .gm-specs>div{min-width:0;padding:10px 8px}
.gm-calc .gm-specs span{font-size:12px;overflow-wrap:anywhere}
.gm-calc .gm-specs strong,.gm-calc .gm-result__top strong,.gm-calc .gm-result__top span,.gm-calc .gm-result__meta,.gm-calc .gm-materials p,.gm-calc .gm-range__head .gm-range-value input{font-size:14px;font-weight:400}
.gm-calc small,.gm-calc .gm-materials .gm-materials-note{font-size:12px;font-weight:400}
.gm-calc .gm-range input[type=range]{border:0!important;box-shadow:none!important;border-radius:0;padding:0!important;min-height:0;background:transparent!important}
.gm-calc .gm-range__head .gm-range-value input{border:0!important;box-shadow:none!important;background:transparent!important}
.gm-calc [hidden]{display:none!important}
.gm-mount--gusset{fill:#8999a4;stroke-width:.4}
@media(max-width:560px){.gm-calc .gm-specs{grid-template-columns:repeat(2,minmax(0,1fr))}}

.gm-calc .gm-range{border:0!important}
.gm-ridge-height{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:15px 0 2px}
.gm-calc .gm-ridge-height+.gm-range{padding-top:0}
.gm-ridge-height>span{font-size:16px;font-weight:500}
.gm-ridge-height output{font-size:14px;white-space:nowrap}
.gm-depth-member{stroke:#95a4af;stroke-width:.25;vector-effect:non-scaling-stroke;stroke-linejoin:miter}
.gm-depth-portals{pointer-events:none}
