.space-editor{display:block}.island-editor{margin-bottom:var(--space-5)}.space-title{margin:0 0 var(--space-2);font-size:var(--step-1)}.space-presets{margin-bottom:var(--space-3)}.space-presets summary{align-items:center;gap:var(--space-2);cursor:pointer;min-height:48px;font-weight:var(--weight-strong);display:flex}.space-presets-change{font-weight:400;text-decoration:underline}.space-presets fieldset{border:0;margin:0;padding:0}.space-preset-grid{gap:var(--space-2);padding-top:var(--space-2);grid-template-columns:repeat(auto-fill,minmax(5.5rem,1fr));display:grid}.space-preset{align-items:center;gap:var(--space-1);min-height:48px;padding:var(--space-2) var(--space-1);border:1px solid var(--line-field);border-radius:var(--radius-s);background:var(--surface-raised);cursor:pointer;font-size:var(--step--1);text-align:center;flex-direction:column;display:flex;position:relative}.space-preset input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.space-preset:has(input:checked){border-color:var(--focus);box-shadow:inset 0 0 0 2px var(--focus);font-weight:var(--weight-strong)}@media (forced-colors:active){.space-preset:has(input:checked){outline-offset:-4px;outline:3px solid highlight}}.space-preset:has(input:focus-visible){outline:var(--ring-width) solid var(--focus);outline-offset:2px}.space-preset-thumb{width:56px;height:40px}.space-preset-thumb path{fill:var(--tint-honey);stroke:var(--text-body);stroke-width:1.5px;vector-effect:non-scaling-stroke}.space-skip{position:absolute;left:-10000px}.space-skip:focus{margin-bottom:var(--space-2);display:inline-block;position:static}.space-preview{margin:0}.space-preview .space-svg{width:100%;max-width:440px;height:auto;margin:0 auto;display:block}.space-caption,.space-help{color:var(--text-soft);font-size:var(--step--1);text-align:center}.space-caption{margin:var(--space-2) 0 0}.space-grid-line{stroke:var(--line-soft)}.space-grid{pointer-events:none}.space-fill{fill:var(--tint-honey)}.space-outline{fill:none;stroke:var(--text-body);stroke-width:2px;stroke-linejoin:round;vector-effect:non-scaling-stroke}.space-outline.is-invalid{stroke-dasharray:8 6}.space-corners circle{fill:var(--surface-raised);stroke:var(--text-body);stroke-width:1.5px;vector-effect:non-scaling-stroke}.space-labels text,.space-scale-text{fill:var(--text-body);font-family:var(--font-body);paint-order:stroke;stroke:var(--surface-raised);stroke-width:3px;stroke-linejoin:round}.space-label-other{fill:var(--text-soft)}.space-drawing-box{border:1px solid var(--line-field);border-radius:var(--radius-s);background:var(--surface-raised);touch-action:none;height:min(60vh,520px);position:relative;overflow:hidden}.space-live{width:100%;height:100%;display:block}.space-live:focus-visible{outline-offset:calc(-1 * var(--ring-width))}.space-drawing-bar{justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-2) 0;background:var(--surface-raised);flex-wrap:wrap;display:flex;position:sticky;bottom:0}@media not all and (min-width:960px){html:has(.result-bar:not([hidden])) .space-drawing-bar{bottom:calc(var(--tap) + var(--space-8))}}.space-snap{align-items:center;gap:var(--space-2);cursor:pointer;min-height:48px;display:inline-flex}.space-snap input{width:1.5rem;height:1.5rem;accent-color:var(--focus);flex:none;margin:0}.space-handle,.space-bend{scroll-margin-bottom:calc(2 * var(--tap) + var(--space-5))}.space-handle{cursor:grab}.space-bend-mark{fill:var(--surface-raised);stroke:var(--line-field);stroke-width:1.5px}.space-bend-glyph{stroke:var(--line-field);stroke-width:2px;stroke-linecap:round}.space-bend.is-selected .space-bend-mark,.space-bend.is-selected .space-bend-glyph{stroke:var(--focus);stroke-width:2.5px}.space-side-mark{stroke:var(--focus);stroke-width:6px;stroke-linecap:round;opacity:.6}.space-move-arms{stroke:var(--line-field);stroke-width:2px}.space-move.is-selected .space-move-arms{stroke:var(--focus)}.space-cut-out .space-handle:not(.space-move) .space-handle-dot{stroke-width:1.5px}.space-edit-bar{align-items:center;gap:var(--space-2) var(--space-3);padding-top:var(--space-2);flex-wrap:wrap;display:flex}.space-cut-out-adder{align-items:center;gap:var(--space-2);padding-bottom:var(--space-3);flex-wrap:wrap;display:flex}.space-select,.space-cut-out-adder select{min-height:48px;padding:0 var(--space-2);border:1px solid var(--line-field);border-radius:var(--radius-s);background:var(--surface-raised);color:var(--text-body);font:inherit}.space-notice{margin:var(--space-2) 0 0;font-weight:var(--weight-strong)}.space-notice:empty{display:none}.space-live [data-held]{cursor:grabbing}.space-leaders{stroke:var(--text-soft);stroke-width:1px}.space-error-mark circle{fill:var(--text-body);stroke:var(--surface-raised);stroke-width:2px}.space-error-mark text{fill:var(--surface-raised);font-family:var(--font-body);font-weight:var(--weight-strong)}.space-handle-hit{fill:#0000}.space-handle-dot{fill:var(--line-field);stroke:var(--line-field);stroke-width:2px}.space-move .space-handle-dot{fill:var(--surface-raised)}.space-handle.is-selected .space-handle-dot{stroke:var(--focus);stroke-width:3px}.space-handle:focus{outline:none}.space-handle:focus-visible .space-handle-hit{fill:none;stroke:var(--focus);stroke-width:var(--ring-width);vector-effect:non-scaling-stroke}.space-marker{fill:var(--surface-raised);fill-opacity:.6;stroke:var(--focus);stroke-width:2.5px;stroke-dasharray:4 3;pointer-events:none}.space-scale-bar{stroke:var(--text-body);stroke-width:2px}.space-actions{align-items:center;gap:var(--space-3);margin-top:var(--space-3);flex-wrap:wrap;display:flex}.space-load-error{margin:0}.space-editor [hidden]{display:none!important}.space-readout{margin-top:var(--space-4)}.space-readout dl{border-top:1px solid var(--line-soft);margin:0}.space-readout dl>div{justify-content:space-between;gap:0 var(--space-4);padding:var(--space-2) 0;border-bottom:1px solid var(--line-soft);flex-wrap:wrap;display:flex}.space-readout dt{color:var(--text-soft)}.space-readout dd{font-weight:var(--weight-strong);text-align:right;margin:0 0 0 auto}.space-no-area p{font-weight:var(--weight-strong);margin:0}.space-no-area .space-no-area-why{margin-top:var(--space-1);font-weight:400}.space-svg,.space-svg *{transition:none!important}.space-typed{margin-bottom:var(--space-3)}.space-started{align-items:center;gap:var(--space-2);margin:0 0 var(--space-2);font-weight:var(--weight-strong);flex-wrap:wrap;display:flex}.space-list{border-top:1px solid var(--line-soft)}.space-list:last-of-type{border-bottom:1px solid var(--line-soft)}.space-list>summary{align-items:center;gap:var(--space-3);cursor:pointer;min-height:48px;font-weight:var(--weight-strong);display:flex}.space-list>summary:before{content:"";border-bottom:2px solid;border-right:2px solid;width:.5em;height:.5em;transform:rotate(-45deg)}.space-list[open]>summary:before{transform:rotate(45deg)}.space-row{align-items:end;gap:var(--space-2) var(--space-3);min-width:0;margin:0 0 var(--space-3);padding:var(--space-3);border:1px solid var(--line-soft);border-radius:var(--radius-s);grid-template-columns:repeat(auto-fill,minmax(min(100%,12rem),1fr));display:grid}.space-row>legend{padding:0 var(--space-1);font-weight:var(--weight-strong)}.space-row>legend:first-letter{text-transform:uppercase}.space-row .field{margin:0}.space-row .field-hint{display:none}.space-sizes .space-row .field-hint{display:block}.space-row .btn,.space-along{grid-column:1/-1;justify-self:start}.space-choice{gap:var(--space-1);display:grid}[data-curve="0"]>.space-curve-only{display:none}.space-along{color:var(--text-soft);margin:0}.space-history{gap:var(--space-2);margin:var(--space-3) 0 var(--space-2);flex-wrap:wrap;display:flex}.space-history-icon,.space-zoom-button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:1.25rem;height:1.25rem}.space-zoom{gap:var(--space-1);margin-left:auto;display:flex}.space-zoom-button{width:var(--tap);height:var(--tap);border:1px solid var(--line-field);border-radius:var(--radius-s);background:var(--surface-raised);color:var(--text-body);cursor:pointer;justify-content:center;align-items:center;padding:0;display:inline-flex}.space-zoom-button:hover{background:var(--surface-sunken)}.space-toolbar{z-index:2;gap:var(--space-1);padding:var(--space-1);border:1px solid var(--line-field);border-radius:var(--radius-s);background:var(--surface-raised);box-shadow:0 2px 6px var(--line-field);display:grid;position:absolute;top:0;left:0}.space-toolbar[hidden]{display:none}.space-toolbar-row{gap:var(--space-1);display:flex}.space-toolbar-button{width:var(--tap);height:var(--tap);border:1px solid var(--line-soft);border-radius:var(--radius-s);background:var(--surface-raised);color:var(--text-body);cursor:pointer;justify-content:center;align-items:center;padding:0;display:inline-flex}.space-toolbar-button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:1.5rem;height:1.5rem}.space-toolbar-button:hover{background:var(--surface-sunken)}.space-toolbar-button[aria-disabled=true]{color:var(--text-soft);cursor:not-allowed;opacity:.6;border-style:dashed}.space-toolbar-button:focus-visible{outline:var(--ring-width) solid var(--focus);outline-offset:1px}.space-toolbar-caption{box-sizing:border-box;height:2.4em;color:var(--text-body);font-size:var(--step--1);text-align:center;margin:0;line-height:1.2;overflow:hidden}.space-keys{margin-top:var(--space-2);font-size:var(--step--1)}.space-keys summary{min-height:var(--tap);font-weight:var(--weight-strong);cursor:pointer;align-items:center;display:flex}.space-keys dl{gap:var(--space-2);margin:0;display:grid}.space-keys dl>div{gap:var(--space-3);grid-template-columns:minmax(8rem,2fr) 3fr;display:grid}.space-keys dt{font-weight:var(--weight-strong)}.space-keys dd{margin:0}@media (max-width:30rem){.space-keys dl>div{grid-template-columns:1fr;gap:0}}@media print{.space-editor .space-presets,.space-editor .space-typed,.space-editor .space-history,.space-editor .space-skip,.space-editor .space-drawing,.space-editor .space-notice,.space-editor .space-help,.space-editor .space-keys,.space-editor .space-actions{display:none!important}.space-editor [data-space-preview][hidden]{display:block!important}.space-editor .space-card{break-inside:avoid;border:0;padding:0}.space-editor .space-title{margin:0 0 4pt;font-size:12pt}.space-editor .space-preview .space-svg{width:auto;max-width:100%;max-height:2.6in}.space-editor .space-fill{fill:var(--print-tint)}.space-editor .space-grid-line{stroke:var(--print-text);stroke-opacity:.25}.space-editor .space-caption{margin-top:2pt;font-size:9pt}.space-editor .space-readout{margin-top:4pt;font-size:10pt}}
