:root{--bg:#171411;--board:#1a1714;--surface:#1d1915;--surface-2:#231e19;--surface-3:#2a241e;--border:#2f2821;--border-strong:#3d342b;--text:#ece5db;--text-2:#b9b0a4;--muted:#857c71;--accent:#dda653;--accent-strong:#e8ae55;--accent-ink:#2a1c0b;--accent-soft:#dda6531f;--accent-line:#dda65373;--danger:#d0603f;--grid-minor:#2a241e;--grid-major:#352d25;--grid-axis:#dda65347;--sans:"Inter", system-ui, -apple-system, "Segoe UI", sans-serif;--mono:"JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;--serif:"Cormorant Garamond", Georgia, serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font:13px/1.4 var(--sans);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}:root[data-theme=light]{--bg:#e4e2de;--board:#ecebe8;--surface:#fcfbfa;--surface-2:#f3f2ef;--surface-3:#e8e6e2;--border:#d9d6d0;--border-strong:#aaa49b;--text:#18160f;--text-2:#3f3a33;--muted:#6b655c;--accent:#93600f;--accent-strong:#7c500b;--accent-ink:#fff;--accent-soft:#93600f1a;--accent-line:#93600f8c;--danger:#a83a20;--grid-minor:#e1dfdb;--grid-major:#c9c5be;--grid-axis:#93600f66;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body,#root{background:var(--bg);height:100%;margin:0;overflow:hidden}button{font:inherit;color:inherit}button:focus-visible,select:focus-visible{outline:1px solid var(--accent-line);outline-offset:1px}button:disabled{cursor:not-allowed}.mono{font-family:var(--mono)}.muted{color:var(--muted)}.icon .icon-fill{fill:currentColor;fill-opacity:.35}.icon .icon-ghost{opacity:.45}.icon{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;flex:none}.app{grid-template:"top top top"46px"tools board panel"minmax(0,1fr)"status status status"28px/52px minmax(0,1fr) 340px;height:100vh;display:grid}.topbar{background:var(--surface);border-bottom:1px solid var(--border);grid-area:top;align-items:center;gap:10px;min-width:0;padding:0 12px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand-mark{color:var(--accent);display:grid}.brand-name{font-family:var(--serif);white-space:nowrap;letter-spacing:.06em;font-size:17px;font-weight:500}a.brand-name{color:inherit;text-decoration:none}.brand-accent{color:var(--accent)}.topbar-divider{background:var(--border);width:1px;height:20px}.breadcrumbs{white-space:nowrap;align-items:center;gap:8px;min-width:0;display:flex}.project-name{cursor:text;text-overflow:ellipsis;background:0 0;border:0;min-width:0;padding:4px 0;font-size:15px;overflow:hidden}.breadcrumbs>:not(.project-name){flex:none}.name-input{width:220px}.saved-dot{background:var(--accent);border-radius:50%;flex:none;width:8px;height:8px}.saved-dot.is-dirty{box-shadow:inset 0 0 0 1.5px var(--accent);background:0 0}.name-tip{color:var(--muted);cursor:help;font-size:13px;position:relative}.name-tip-text,.history-pop{z-index:60;border:1px solid var(--border-strong);background:var(--surface-2);color:var(--text);white-space:nowrap;border-radius:4px;padding:8px 10px;font-size:12.5px;display:none;position:absolute;top:calc(100% + 8px);left:-8px;box-shadow:0 12px 32px #00000073}.name-tip:hover .name-tip-text,.name-tip:focus .name-tip-text{display:block}.history-anchor{display:flex;position:relative}.history-anchor.is-open .history-pop{display:block}.history-button{width:26px;height:26px}.history-pop{min-width:280px;margin-top:-6px;padding-top:12px}.history-pop h4{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 6px;font-size:11px;font-weight:400}.history-pop ul{margin:0;padding:0;list-style:none}.history-pop li{align-items:center;gap:6px;padding:3px 0;display:flex}.history-pop li>span{flex:1}.history-pop li,.cloud-history li{flex-wrap:wrap}.revision-changes{white-space:normal;font-size:11px;display:block}.revision-thumb{border:1px solid var(--border);background:var(--board);border-radius:6px;flex-basis:100%;height:140px;margin:4px 0}.revision-thumb polygon{fill:color-mix(in srgb, var(--accent) 18%, transparent);stroke:var(--accent);stroke-width:1.2px}.history-pop .ghost-button{flex:none;height:26px;padding:0 8px;font-size:12px}.topbar-group{gap:4px;margin-left:auto;display:flex}.topbar-spacer{width:8px}.topbar button,.topbar .select-wrap{white-space:nowrap;flex:none}.topbar .breadcrumbs{flex:0 auto;min-width:96px}.topbar .project-name{flex:0 auto}.topbar .lang-select select{max-width:150px}.topbar.is-tight .cloud-button .topbar-label,.topbar.is-tighter .primary-button .topbar-label,.topbar.is-tighter .brand-accent{display:none}.topbar.is-tight .cloud-button{padding:0 10px}@media (width<=1360px){.topbar .cloud-button .topbar-label{display:none}.topbar .cloud-button{padding:0 10px}}@media (width<=1080px){.topbar .primary-button .topbar-label,.topbar .brand-accent{display:none}.topbar .lang-select select{max-width:110px}}.topbar .segmented{height:30px;padding:2px}.topbar .segmented button{padding:0 12px}.topbar .primary-button{height:30px}.upgrade{display:flex;position:relative}.ghost-button.upgrade-button{border-color:var(--accent-line);height:30px;color:var(--accent);white-space:nowrap;align-items:center;font-weight:600;text-decoration:none;display:flex}.upgrade-pop{z-index:60;width:300px;padding-top:8px;display:none;position:absolute;top:100%;right:0}.upgrade:hover .upgrade-pop,.upgrade:focus-within .upgrade-pop{display:block}.upgrade-card{border:1px solid var(--border-strong);background:var(--surface-2);color:var(--text);border-radius:4px;padding:12px 14px;font-size:13px;line-height:1.45;box-shadow:0 12px 32px #00000073}.upgrade-card p{margin:0}.upgrade-card ul{margin:8px 0;padding-left:18px}.upgrade-card a{color:var(--accent)}.select-wrap{border:1px solid var(--border);height:30px;color:var(--text-2);border-radius:4px;align-items:center;display:inline-flex;position:relative}.select-wrap:hover{border-color:var(--border-strong);color:var(--text);background:var(--surface-2)}.select-wrap:focus-within{border-color:var(--accent-line)}.select-wrap select{appearance:none;height:100%;color:inherit;font:inherit;cursor:pointer;background:0 0;border:none;outline:none;padding:0 28px 0 10px;font-size:13px}.select-wrap:after{content:"";pointer-events:none;border-bottom:1.5px solid;border-right:1.5px solid;width:6px;height:6px;position:absolute;top:50%;right:13px;transform:translateY(-70%)rotate(45deg)}.select-wrap option{background:var(--surface);color:var(--text)}.lang-select{margin-right:4px}.icon-button{width:30px;height:30px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:3px;place-items:center;display:grid}.icon-button:hover:not(:disabled){background:var(--surface-3);color:var(--text)}.icon-button:focus-visible,select:focus-visible{outline:1px solid var(--accent-line);outline-offset:1px}.primary-button{background:var(--accent);height:32px;color:var(--accent-ink);cursor:pointer;border:0;border-radius:4px;align-items:center;gap:8px;padding:0 14px;font-size:13px;font-weight:600;display:flex}.primary-button:hover:not(:disabled){background:var(--accent-strong)}.primary-button:focus-visible,select:focus-visible{outline:1px solid var(--accent-line);outline-offset:1px}.primary-badge{background:#2a1c0b2e;border-radius:4px;padding:1px 6px;font-size:12px}.segmented{background:var(--bg);border:1px solid var(--border);border-radius:4px;gap:2px;padding:2px;display:flex}.segmented button{color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:3px;flex:1;padding:4px 10px;font-size:13px}.segmented button:hover:not(:disabled){color:var(--text)}.segmented button.is-active{background:var(--surface-3);color:var(--text)}.segmented button:focus-visible,select:focus-visible{outline:1px solid var(--accent-line);outline-offset:1px}.mode-switch button{flex:none}.toolbar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;grid-area:tools;align-items:center;gap:4px;padding:10px 0;display:flex;overflow-y:auto}.tool-button{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;flex:none;place-items:center;transition:color .12s,background .12s,border-color .12s;display:grid}.tool-button:hover:not(:disabled){color:var(--accent);background:var(--surface-3)}.tool-button.is-active:hover{background:#dda6532e}.tool-tip{z-index:50;background:var(--surface-3);border:1px solid var(--border-strong);pointer-events:none;border-radius:4px;width:240px;padding:9px 12px;animation:.12s ease-out tool-tip-in;position:fixed;transform:translateY(-50%);box-shadow:0 8px 24px #00000073}.tool-tip:before{content:"";background:var(--surface-3);border-left:1px solid var(--border-strong);border-bottom:1px solid var(--border-strong);width:8px;height:8px;position:absolute;top:50%;left:-5px;transform:translateY(-50%)rotate(45deg)}.tool-tip-head{color:var(--text);justify-content:space-between;align-items:center;gap:8px;font-weight:500;display:flex}.tool-tip-head kbd{border:1px solid var(--border-strong);min-width:22px;color:var(--accent);text-align:center;border-bottom-width:2px;border-radius:4px;padding:1px 6px;font-size:12px}.tool-tip-hint{color:var(--text-2);margin-top:4px;font-size:12.5px;line-height:1.4}@keyframes tool-tip-in{0%{opacity:0;transform:translate(-4px,-50%)}}.tool-button.is-active{color:var(--accent);background:var(--accent-soft);border-color:var(--accent-line)}.tool-button:focus-visible,select:focus-visible{outline:1px solid var(--accent-line);outline-offset:1px}button:focus:not(:focus-visible){outline:none}button:disabled{opacity:.32}.toolbar-label{letter-spacing:.04em;text-transform:uppercase;max-width:100%;color:var(--muted);margin-top:10px;font-size:8.5px;font-weight:600}.board{grid-area:board;min-width:0;min-height:0;display:grid;position:relative}.workspace{background:var(--board);touch-action:none;-webkit-user-select:none;user-select:none;position:relative;overflow:hidden}.grid-canvas,.scene{position:absolute;inset:0}.scene text{font-family:var(--mono);pointer-events:none}.sheet-paper{fill:color-mix(in srgb, var(--text) 3.5%, transparent);stroke:#4a3f34;stroke-width:1px;pointer-events:all}.sheet.is-hovered .sheet-paper{stroke:#6a5a49}.sheet.is-selected .sheet-paper{stroke:var(--accent)}.sheet-label{fill:var(--text-2);font-size:12px}.sheet-label-dim{fill:var(--muted)}.figure-cut{fill:color-mix(in srgb, var(--text) 4.0%, transparent);stroke:var(--text);stroke-width:2px;pointer-events:all}.print-fill{opacity:.85;pointer-events:none}.figure-allowance{fill:color-mix(in srgb, var(--text) 2.5%, transparent);stroke:var(--text);stroke-width:1.5px;pointer-events:all}.figure-cut.is-sewing{stroke-width:1px;stroke-dasharray:6 3;fill:color-mix(in srgb, var(--text) 3.0%, transparent)}.figure-cut.is-turn{stroke-width:1px;stroke-dasharray:8 3 1.5 3;fill:color-mix(in srgb, var(--text) 3.0%, transparent)}.turn-band{pointer-events:none}.turn-notch{fill:none;stroke:var(--text);stroke-width:1.5px;stroke-linejoin:round;pointer-events:none}.turn-notch-handle{fill:var(--surface);stroke:var(--accent);stroke-width:1.5px;cursor:ew-resize;pointer-events:all}.turn-notch-handle.is-picked{fill:var(--accent)}.figure.is-hovered .figure-cut{stroke:#fff;fill:color-mix(in srgb, var(--text) 7.0%, transparent)}.figure.is-selected .figure-cut{stroke:#fff;stroke-width:2.5px}.seam{pointer-events:none}.seam-line{fill:none;stroke:var(--accent);stroke-width:1.4px;stroke-dasharray:5 3;opacity:.8}.seam-hole{fill:var(--accent)}:root[data-theme=light] .seam-line{stroke:var(--accent-strong);stroke-width:1.7px;opacity:1}.hole-grab{fill:#0000;stroke:#0000;cursor:ew-resize;pointer-events:all}.hole-grab:hover{stroke:var(--accent);stroke-width:1.2px}.hole-grab.is-moved{stroke:var(--accent-strong);stroke-width:1.4px}.line-stitch .seam-line.is-over{stroke-dasharray:2 3;opacity:.55}.seam-prick{fill:none;stroke:var(--accent);stroke-width:1.6px;stroke-linecap:round}:root[data-theme=light] .seam-prick{stroke:var(--accent-strong)}.seam-punched{fill:var(--board);stroke:var(--accent);stroke-width:.8px}.selection-frame{fill:none;stroke:var(--accent);stroke-width:1px;pointer-events:none}.selection-handle{fill:var(--board);stroke:var(--accent);stroke-width:1.5px}.handle-nw,.handle-se{cursor:nwse-resize}.handle-ne,.handle-sw{cursor:nesw-resize}.handle-n,.handle-s{cursor:ns-resize}.handle-e,.handle-w{cursor:ew-resize}.dimension-chip{fill:var(--surface);stroke:var(--accent);stroke-width:1px}.dimension-text{fill:var(--text);font-size:12px}.draft{fill:var(--accent-soft);stroke:var(--accent);stroke-width:1.5px;stroke-dasharray:6 4;pointer-events:none}.draft-sheet{fill:color-mix(in srgb, var(--text) 3.0%, transparent)}.draft-marquee{fill:#dda6530f;stroke-width:1px;stroke-dasharray:4 3}.features text{font-family:var(--mono)}.fold-line{stroke-width:1.6px;pointer-events:none}.fold-mountain{stroke:var(--danger);stroke-dasharray:10 4 2 4}.fold-valley{stroke:#6fa8c9;stroke-dasharray:6 4}.fold-band{stroke-width:1px;stroke-dasharray:2 3;opacity:.7;pointer-events:none}.fold-handle{cursor:move}.fold-chip{fill:var(--surface);stroke-dasharray:none;stroke-width:1px}.fold-text{stroke:none;stroke-dasharray:none;font-size:11px}.fold-text.fold-mountain{fill:var(--danger)}.fold-text.fold-valley{fill:#6fa8c9}.mark-line{stroke:#9fc6a0;stroke-width:1.4px;pointer-events:none}.edge-length{pointer-events:none}.edge-length rect{fill:color-mix(in srgb, var(--board) 88%, transparent);stroke:#dda6538c;stroke-width:1px}.edge-length text{fill:#f0d6a8;font-family:var(--mono);font-size:11px}.seam-gap{stroke:#e0705a;stroke-width:4px;stroke-dasharray:2 5;stroke-linecap:round;opacity:.85}.last-guides polyline{fill:none;pointer-events:none;stroke:#6fb7c9}.last-guides .last-outline{stroke-width:1.5px;stroke-dasharray:6 4}.last-guides .last-mark{stroke-width:1px;stroke-dasharray:2 4;opacity:.8}.notch-line{stroke:var(--text);stroke-width:2px;stroke-linecap:round;pointer-events:none}.center-line{stroke:var(--text-2);stroke-width:1px;stroke-dasharray:2 4;opacity:.7}.center-point{fill:none;stroke:var(--text-2);stroke-width:1.2px;pointer-events:none}.skive-band{fill:url(#skive-hatch);pointer-events:none}.skive-zone{stroke:var(--accent);stroke-width:.8px;stroke-dasharray:3 2}.skive-zone.is-area{fill-opacity:.8}.skive-label{fill:var(--accent);font-size:10px;font-family:var(--mono,monospace);pointer-events:none}.skive-draft{stroke:var(--accent);stroke-width:6px;stroke-opacity:.5;stroke-linecap:round}.skive-hatch-line{stroke:#dda65373;stroke-width:1.2px}.pen-path{fill:none;stroke:var(--accent);stroke-width:1.5px}.pen-rubber{stroke:var(--accent);stroke-width:1px;stroke-dasharray:4 4;pointer-events:none}.pen-preview .path-node{pointer-events:none}.draft-freehand{fill:none}.draft-segment{stroke-width:1.6px}.join-hit{stroke:#0000;stroke-width:14px;stroke-linecap:round;cursor:pointer}.join-line{stroke:currentColor;stroke-width:3.5px;stroke-linecap:round;pointer-events:none}.join-inner{stroke-dasharray:7 4}.join-arrow{fill:currentColor;pointer-events:none}.join-chip{fill:var(--surface);stroke:currentColor;stroke-width:1.2px}.join-text{fill:currentColor;font-size:11px;font-weight:500}.join.is-active .join-line{stroke-width:5px;filter:drop-shadow(0 0 4px)}.join .join-chip,.join .join-text{pointer-events:none}.join-end{fill:var(--surface);stroke:currentColor;stroke-width:2px;cursor:ew-resize}.join-end:hover{fill:currentColor}.join.is-editing .join-line{stroke-width:5px}.hw{cursor:move}.hw-body{fill:#c9b07a38;stroke:#c9b07a;stroke-width:1.4px}.hw-snap .hw-body{stroke-dasharray:3 2}.hw-eyelet .hw-body{fill:#c9b07a66}.hw-hole{fill:var(--board);stroke:var(--text);stroke-width:1.2px}.hw-label{fill:#c9b07a;font-size:10px}.hw-target{fill:#0000}.hw-metal{fill:none;stroke:#c9b07a;stroke-linejoin:round;stroke-linecap:round;opacity:.9}.hw-button{fill:#7a56368c;stroke:#c9b07a;stroke-width:1.2px}.hw-thread{fill:var(--board);stroke:none}.hw-slit{fill:none;stroke:var(--text);stroke-width:1.6px}.hw-stitch{fill:none;stroke:var(--text-2);stroke-width:1.2px;stroke-dasharray:4 3}.zipper-tape{stroke:#282828bf;stroke-linecap:butt;pointer-events:none}.zipper-chain{stroke:#c9b07a;stroke-linecap:butt}.zipper-slider{fill:#c9b07a}.zipper-grab{stroke:#0000;pointer-events:stroke}.tool-options{flex-wrap:wrap;max-width:calc(100% - 320px);bottom:16px;left:16px}.tool-options button{white-space:nowrap}.rotate-arm{stroke:var(--accent);stroke-width:1px;pointer-events:none}.rotate-handle{fill:var(--board);stroke:var(--accent);stroke-width:1.5px;cursor:grab}.rotate-handle:hover{fill:var(--accent)}.selection-frame.is-group{stroke-dasharray:6 4}.node-outline{fill:none;stroke:var(--accent);stroke-width:1px;pointer-events:none}.path-node{fill:var(--board);stroke:var(--accent);stroke-width:1.5px;cursor:move}.path-node:hover{fill:var(--accent-soft)}.path-node.is-active{fill:var(--accent)}.bezier-arm{stroke:var(--accent-line);stroke-width:1px;pointer-events:none}.bezier-handle{fill:var(--surface);stroke:var(--text-2);stroke-width:1.5px;cursor:pointer}.bezier-handle:hover{stroke:var(--accent)}.workspace-overlay{z-index:2;position:absolute}.editing-badge{background:var(--surface);border:1px solid var(--border);white-space:nowrap;border-radius:4px;align-items:center;gap:8px;max-width:calc(100% - 32px);padding:8px 14px;font-size:14px;display:flex;top:14px;left:16px}.editing-dot{background:var(--accent);border-radius:2px;width:8px;height:8px}.tool-hint{background:var(--accent-soft);border:1px solid var(--accent-line);max-width:50%;color:var(--accent);pointer-events:none;border-radius:3px;padding:7px 14px;font-size:13px;top:14px;right:16px}.toast{background:var(--surface-3);border:1px solid var(--border-strong);pointer-events:none;border-radius:4px;padding:9px 16px;font-size:13px;bottom:20px;left:50%;transform:translate(-50%)}.zoom-control{background:var(--surface);border:1px solid var(--border);border-radius:4px;align-items:center;gap:2px;padding:4px;display:flex;bottom:16px;right:16px}.zoom-control button{min-width:34px;height:34px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:3px;place-items:center;display:grid}.zoom-control button:hover{background:var(--surface-3);color:var(--text)}.zoom-value{width:64px;font-size:14px}.zoom-divider{background:var(--border);width:1px;height:20px;margin:0 2px}.panel{background:var(--surface);border-left:1px solid var(--border);flex-direction:column;grid-area:panel;min-height:0;display:flex}.panel-header{border-bottom:1px solid var(--border);padding:14px 16px 12px}.panel-kicker{color:var(--accent);font-family:var(--mono);letter-spacing:.16em;text-transform:uppercase;align-items:center;gap:8px;font-size:12px;font-weight:500;display:flex}.panel-title-row{justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.panel-title{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:18px;font-weight:500;overflow:hidden}.panel-code{border:1px solid var(--border);color:var(--muted);border-radius:3px;padding:3px 8px;font-size:12px}.panel-body{flex:1;overflow-y:auto}.panel-footer{border-top:1px solid var(--border);gap:8px;padding:12px 22px;display:flex}.inspector-section{border-bottom:1px solid var(--border);padding:2px 16px 4px}.inspector-section.is-open{padding-bottom:12px}.section-header{align-items:center;gap:10px;min-height:36px;display:flex}.section-title{font:600 11px/1.2 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--accent);text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:10px;padding:0;display:flex}.section-title.static{cursor:default}.section-title .icon{color:var(--accent)}.section-title:disabled{cursor:default;color:var(--text-2)}.section-chevron{color:var(--muted);transition:transform .14s;display:grid}.is-open .section-chevron{transform:rotate(90deg)}.section-badge{border:1px solid var(--border);color:var(--text-2);border-radius:3px;padding:2px 8px;font-size:12px}.section-fields{flex-direction:column;gap:12px;display:flex}.field-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 16px;min-height:30px;display:flex}.field-stack{flex-direction:column;gap:8px;display:flex}.field-label{color:var(--text-2);flex:none;font-size:14px}.field-value{font-size:15px}.unit{color:var(--muted);font-size:12px}.field-note{color:var(--muted);gap:10px;margin:0;font-size:11.5px;font-style:italic;line-height:1.45;display:flex}.note-mark{border:1px solid var(--accent-line);width:18px;height:18px;color:var(--accent);border-radius:4px;flex:none;place-items:center;font-size:11px;font-style:normal;display:grid}.input{border:1px solid var(--border);background:var(--bg);min-width:0;height:30px;color:var(--text);font:inherit;border-radius:4px;outline:none;padding:0 8px;font-size:13px}.input:focus{border-color:var(--accent-line)}.field-row>.input{width:190px}.field-row>select.input{width:auto;min-width:190px;max-width:100%;margin-left:auto}.select{cursor:pointer;padding-right:6px}.number-input{align-items:center;width:160px;display:flex;position:relative}.number-input .input{width:100%;padding-right:64px;font-size:15px}.input-formula{color:var(--accent);pointer-events:none;font-size:13px;position:absolute;left:-14px}.number-input.is-broken .input,.number-input.is-broken .input-formula,.formula-error{color:var(--danger)}.variable-row,.linked-row,.variable-add{align-items:center;gap:6px;display:grid}.template-modal{width:min(640px,100vw - 32px)}.template-inputs,.template-input-row{grid-template-columns:1.2fr 1.2fr 96px 58px 58px;align-items:center;gap:6px;font-size:13px;display:grid}.template-input-row{grid-column:1/-1}.template-options{grid-column:span 2}.constraint-mark rect{fill:var(--surface);stroke:var(--accent);stroke-width:1px}.constraint-mark text{fill:var(--accent);font-size:11px}.constraint-mark.is-broken rect{stroke:var(--danger)}.constraint-mark.is-broken text{fill:var(--danger)}.constraint-glyph{color:var(--accent)}.ease-list{color:var(--muted);margin:0;padding:0;font-size:12px;list-style:none}.template-value{align-items:center;gap:8px;display:flex}.variable-row{grid-template-columns:1fr 1fr auto auto}.variable-row .field-note{grid-column:1/-1;margin:0}.linked-row{grid-template-columns:1fr auto auto;font-size:12px}.variable-add{grid-template-columns:1fr auto}.input-unit{color:var(--muted);pointer-events:none;font-size:12px;position:absolute;right:34px}.stepper{flex-direction:column;display:flex;position:absolute;right:4px}.stepper button{width:22px;height:15px;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0;font-size:8px;line-height:1}.stepper button:hover{color:var(--accent)}.switch{border:1px solid var(--border-strong);background:var(--bg);cursor:pointer;border-radius:3px;flex:none;width:36px;height:20px;padding:0;transition:background .14s,border-color .14s;position:relative}.switch-knob{background:var(--muted);border-radius:50%;width:14px;height:14px;transition:transform .14s,background .14s;position:absolute;top:2px;left:2px}.switch.is-on{background:var(--accent-soft);border-color:var(--accent-line)}.switch.is-on .switch-knob{background:var(--accent);transform:translate(16px)}.ghost-button{border:1px solid var(--border);min-height:30px;color:var(--text-2);cursor:pointer;background:0 0;border-radius:4px;flex:1;justify-content:center;align-items:center;gap:6px;padding:0 10px;display:inline-flex}.ghost-button:hover{border-color:var(--border-strong);color:var(--text);background:var(--surface-2)}.ghost-button.danger:hover{color:var(--danger);border-color:#d0603f80}.ghost-button.is-active{color:var(--accent);border-color:var(--accent-line);background:var(--accent-soft)}.ghost-button.danger{flex:none}.ghost-button.wide{width:100%;margin-top:8px}.boolean-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.boolean-button{border:1px solid var(--border);background:var(--bg);color:var(--text-2);cursor:pointer;border-radius:4px;align-items:center;gap:10px;padding:10px 12px;display:flex}.boolean-button:hover:not(:disabled){color:var(--accent);border-color:var(--accent-line)}.boolean-button:disabled{opacity:.5}.fillet-row{align-items:center;gap:8px;display:flex}.fillet-row .number-input{flex:none;width:120px}.rotate-buttons{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.rotate-buttons .ghost-button{font-family:var(--mono);padding:0 6px;font-size:13px}.joint-card{background:var(--bg);border:1px solid;border-left-width:3px;border-radius:4px;flex-direction:column;gap:8px;padding:10px;display:flex}.joint-card.is-active{background:var(--surface-2);box-shadow:inset 0 0 0 1px}.joint-card:not(.is-active){cursor:pointer}.joint-card .button-row{margin-top:0}.joint-card-head{align-items:center;gap:10px;display:flex}.joint-select{flex:1;height:32px}.field-row>.joint-angle{width:170px;height:32px}.surface-card{border:1px solid var(--border);background:var(--bg);border-radius:4px;flex-direction:column;gap:8px;padding:10px;display:flex}.surface-head{align-items:center;gap:10px;display:flex}.surface-swatch{border:1px solid var(--border-strong);background-blend-mode:multiply;background-size:64px;border-radius:3px;flex:none;width:36px;height:36px}.surface-label{font-weight:500}.surface-card .field-row>.input{width:170px;height:32px}.surface-color{align-items:center;gap:8px;display:flex}.surface-color input[type=color]{border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:3px;width:40px;height:30px;padding:0}.surface-color .ghost-button{flex:none;height:30px}.hw-card{border-left-color:#c9b07a}.hw-kind{min-width:56px;font-weight:500}.bom-row{justify-content:space-between;padding:8px 10px;display:flex}.joint-dot{border-radius:50%;flex:none;width:10px;height:10px;display:inline-block}.field-note.warning{color:#e3a07a}.field-note.warning .note-mark{color:#e3a07a;border-color:#e3a07a99}.warning-text{color:#e3a07a}.icon .icon-accent{stroke:var(--accent)}.vertex-section{background:#dda6530a}.notch-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.notch-row .field-label{flex:1 0 100%}.notch-item{align-items:center;gap:2px;display:inline-flex}.notch-item .number-input{width:120px}.button-row{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.button-row>.ghost-button:not(.danger){flex:1 0 auto;max-width:100%}.example-list button{flex-direction:column;align-items:flex-start;gap:2px}.example-list .example-note{text-align:left;font-size:11.5px}.object-list{margin:0;padding:0;list-style:none}.object-list button{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:3px;justify-content:space-between;gap:12px;width:100%;padding:5px 8px;display:flex}.object-list button:hover{background:var(--surface-2)}.object-list .mono{font-size:12px}.statusbar{background:var(--surface);border-top:1px solid var(--border);white-space:nowrap;grid-area:status;align-items:center;padding:0 6px;font-size:11.5px;display:flex;overflow:hidden}.status-item{padding:0 10px}.coords{min-width:230px}.status-button{height:100%;font-family:var(--mono);cursor:pointer;background:0 0;border:0;font-size:13px}.units-button{height:auto;color:var(--muted);font-size:inherit;border-bottom:1px dotted;padding:0 3px}.units-button:hover{color:var(--text)}.status-button:hover,.status-button.is-on{color:var(--accent)}.layers-menu{z-index:60;background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-direction:column;width:320px;max-height:min(60vh,520px);padding:8px;font-size:12.5px;display:flex;position:fixed;box-shadow:0 8px 28px #00000047}.layers-head{justify-content:space-between;align-items:baseline;padding:2px 4px 6px;display:flex}.layers-list{min-height:0;overflow-y:auto}.layers-layer{font-family:var(--mono);color:var(--accent);border-radius:4px;margin-top:4px;padding:3px 6px;font-size:11px}.layers-row{cursor:grab;border-radius:4px;align-items:center;gap:8px;padding:4px 6px 4px 14px;display:flex;box-shadow:inset 0 0 #0000}.layers-row:hover{background:var(--hover,#7f7f7f1f)}.layers-row.is-selected{background:color-mix(in srgb, var(--accent) 18%, transparent)}.layers-row.is-dragged{opacity:.4}.layers-row.is-drop-above{box-shadow:inset 0 2px 0 var(--accent)}.layers-row.is-drop-below{box-shadow:inset 0 -2px 0 var(--accent)}.layers-layer.is-drop,.layers-zone.is-drop{background:color-mix(in srgb, var(--accent) 22%, transparent)}.layers-zone{text-align:center;color:var(--muted,inherit);border:1px dashed var(--border);border-radius:4px;margin:4px 0;padding:6px}.layers-zone.is-idle{opacity:.45}.layers-swatch{border:1px solid var(--border);border-radius:3px;flex:none;width:12px;height:12px}.layers-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.layers-kind{flex:none;font-size:11px}.ruler-draft line{stroke:var(--accent);stroke-width:1.5px}.status-spacer{flex:1}.status-tag{border:1px solid var(--border-strong);color:var(--muted);border-radius:4px;margin-right:6px;padding:1px 6px;font-size:11px}.view3d{background:var(--board);min-width:0;min-height:0;position:relative;overflow:hidden}.view3d-loading{color:var(--muted);place-items:center;display:grid}.view3d-canvas{position:absolute;inset:0}.view3d-canvas.is-painting{cursor:crosshair}.form-zone{align-items:center;gap:6px;display:flex}.form-zone .input{flex:1;min-width:0;height:30px}.form-zone .ghost-button{flex:none;width:30px;height:30px;padding:0}.view3d-canvas canvas{display:block}.view3d-toolbar{pointer-events:none;flex-wrap:wrap;align-items:center;gap:6px;display:flex;position:absolute;top:10px;left:10px;right:10px}.view3d-toolbar>*{pointer-events:auto}.view3d-toolbar .ghost-button{background:var(--surface);flex:none}.view3d-slider{border:1px solid var(--border);background:var(--surface);border-radius:3px;align-items:center;gap:8px;height:30px;padding:0 10px;font-size:12px;display:flex}.slider-play{border:1px solid var(--border);width:24px;height:24px;color:var(--text-2);cursor:pointer;background:0 0;border-radius:3px;padding:0;font-size:10px}.slider-play:hover{color:var(--accent);border-color:var(--accent-line)}.view3d-slider input{width:110px;accent-color:var(--accent)}.view3d-slider .mono{text-align:right;min-width:40px}.view3d-note{background:var(--surface-3);border:1px solid var(--border-strong);white-space:nowrap;border-radius:4px;padding:9px 16px;font-size:13px;position:absolute;bottom:48px;left:50%;transform:translate(-50%)}.wood-toolbar{flex-direction:column;align-items:stretch;gap:8px}.wood-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.wood-toolbar>.wood-row{pointer-events:none}.wood-row>*{pointer-events:auto}.wood-ctx:empty{display:none}.wood-spacer{flex:1;pointer-events:none!important}.wood-toolbar .segmented{padding:2px}.wood-toolbar .segmented button,.view3d-corner .ghost-button{white-space:nowrap;padding:5px 10px;font-size:13px}.wood-toolbar .ghost-button{white-space:nowrap;padding:6px 10px;font-size:13px}.wood-toolbar .view3d-slider{gap:8px;height:34px;padding:0 10px}.wood-toolbar .view3d-slider input{width:80px}.segmented.labelled{align-items:center}.segmented.labelled>.muted{padding:0 6px 0 8px;font-size:13px}.segmented.labelled button{flex:none;min-width:28px;padding:5px 8px}.view3d-corner{align-items:flex-start;gap:6px;display:flex;position:relative}.view3d-corner .ghost-button{background:var(--surface);flex:none}.view3d-corner .icon-only{min-width:34px;padding:5px 0;font-size:15px}.view3d-more{position:absolute;top:calc(100% + 6px);right:0}.wood-hint{white-space:nowrap;gap:14px;display:flex;right:80px;overflow:hidden}.wood-hint>span:last-child{text-overflow:ellipsis;overflow:hidden}.view3d-size{color:var(--text-2);flex:none}.modal-status{border:1px solid var(--accent-line);background:var(--surface);color:var(--accent);border-radius:3px;padding:4px 10px}.view3d-status{color:var(--text-2);white-space:nowrap;align-items:center;gap:6px;font-size:11px;display:inline-flex}.sim-progress{background:var(--border);border-radius:2px;width:90px;height:4px;position:relative;overflow:hidden}.sim-progress>span{background:var(--accent);border-radius:2px;transition:width .3s ease-out;position:absolute;inset:0 auto 0 0}.view3d-measure{background:var(--surface-3);border:1px solid var(--border-strong);white-space:nowrap;border-radius:4px;align-items:center;gap:12px;max-width:calc(100% - 32px);padding:6px 10px;font-size:13px;display:flex;position:absolute;bottom:40px;left:50%;transform:translate(-50%)}.view3d-hint{color:var(--muted);pointer-events:none;font-size:11px;position:absolute;bottom:12px;left:16px}.view3d-badge{border:1px solid var(--border-strong);color:var(--muted);border-radius:4px;padding:2px 8px;font-size:11px;position:absolute;bottom:12px;right:16px}.modal-backdrop{z-index:100;background:#0000008c;place-items:center;display:grid;position:fixed;inset:0}.modal{background:var(--surface);border:1px solid var(--border-strong);border-radius:5px;flex-direction:column;gap:14px;width:min(560px,100vw - 32px);max-height:min(640px,100vh - 64px);padding:16px 18px;display:flex;box-shadow:0 20px 60px #00000080}.modal-head{justify-content:space-between;align-items:center;display:flex}.modal-head h2{margin:0;font-size:18px;font-weight:500}.modal-actions{align-items:center;gap:10px;display:flex}.modal.mesh-preview{gap:10px;width:min(720px,100vw - 32px);max-height:calc(100vh - 48px);overflow-y:auto}.mesh-preview-view{border:1px solid var(--border);border-radius:4px;flex:none;height:min(360px,38vh);overflow:hidden}.mesh-preview-view canvas{display:block;width:100%!important;height:100%!important}.mesh-turn{grid-template-columns:130px 1fr 76px 64px;align-items:center;gap:10px;display:grid}.mesh-turn .mono{text-align:right;white-space:nowrap}.mesh-preview .modal-actions>.ghost-button{flex:none}.mesh-preview .modal-actions>.muted{margin-left:auto}.cloud-list{grid-template-columns:minmax(160px,1fr) auto auto auto 32px 32px;align-items:center;column-gap:6px;display:grid;overflow-y:auto}.cloud-list>li{grid-template-columns:subgrid;grid-column:1/-1;align-items:center;display:grid}.cloud-list>li.muted{display:block}.cloud-list .cloud-open{grid-template-columns:subgrid;text-align:left;grid-column:span 2;align-items:center;display:grid}.cloud-list .cloud-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cloud-list .cloud-meta{white-space:nowrap;text-align:right}.cloud-list .cloud-category{width:auto;max-width:190px;height:30px;font-size:12px}.cloud-list .cloud-category.is-guessed{color:var(--text-2);font-style:italic}.modal.cloud-modal{width:min(980px,100vw - 32px)}.cloud-list .cloud-place:empty{display:block}.cloud-list li.is-current>.cloud-open{background:var(--accent-soft)}.cloud-categories{flex-wrap:wrap;gap:6px;display:flex}.cloud-categories .ghost-button{width:auto;height:28px;padding:0 10px;font-size:12px}.cloud-categories .ghost-button.is-active{border-color:var(--accent);color:var(--accent)}@media (width<=720px){.cloud-list{grid-template-columns:minmax(100px,1fr) 0 auto auto 32px 32px}.cloud-list .cloud-meta{display:none}}.cloud-button{flex:none}.glove-modal{width:min(520px,100vw - 32px)}.ridge-controls{align-items:center;gap:6px;font-size:12px;display:flex}.ridge-controls label{align-items:center;gap:4px;display:inline-flex}.ridge-controls .input{width:58px;padding:4px 6px}.gusset-picker{width:100%;max-height:130px;margin-bottom:8px;display:block}.gusset-modal{max-height:min(860px,100vh - 64px)}.gusset-hit{fill:none;stroke:#0000;stroke-width:14px;cursor:pointer}.gusset-edge{fill:none;stroke:var(--muted);stroke-width:1.5px;pointer-events:none}.gusset-edge.on{stroke:var(--accent);stroke-width:3px}.glove-form{flex-direction:column;gap:6px;padding-right:4px;display:flex;overflow-y:auto}.glove-form .number-input{width:130px}.glove-form .field-row>.input{width:250px}.manuals-mini{z-index:50;background:var(--surface);border:1px solid var(--accent);max-width:min(380px,100vw - 32px);color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;display:flex;position:fixed;top:72px;right:372px;overflow:hidden;box-shadow:0 6px 18px #0000004d}.manuals{z-index:50;background:var(--surface);border:1px solid var(--border-strong);border-radius:5px;flex-direction:column;width:min(380px,100vw - 32px);max-height:calc(100vh - 130px);display:flex;position:fixed;top:72px;right:372px;box-shadow:0 16px 48px #00000073}.manuals-head{border-bottom:1px solid var(--border);color:var(--accent);align-items:center;gap:10px;padding:12px 14px;display:flex}.manuals-head h2{color:var(--text);flex:1;margin:0;font-size:16px;font-weight:500}.manuals-back{font-size:22px;line-height:1}.manuals-body{flex-direction:column;gap:12px;padding:14px;font-size:13.5px;line-height:1.5;display:flex;overflow-y:auto}.manuals-body p{margin:0}.manuals-group-title{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:0 0 6px;font-size:11px;font-weight:400}.manuals-list{flex-direction:column;gap:6px;display:flex}.manuals-list button{text-align:left;cursor:pointer;flex-direction:column;align-items:stretch;gap:3px;padding:8px 10px}.manuals-list button.is-locked{opacity:.6}.manuals-item-head{color:var(--text);justify-content:space-between;gap:8px;font-size:13px;display:flex}.manuals-badge{color:var(--muted);flex:none;font-size:10.5px}.manuals-badge.is-free{color:var(--accent)}.manuals-explore{text-align:left;border:1px solid var(--accent);align-items:flex-start;gap:10px;width:100%;padding:10px 12px;display:flex}.manuals-explore>span{flex-direction:column;gap:3px;display:flex}.manuals-list .manuals-explore-guide .ghost-button{border:1px solid var(--border);flex-direction:row;align-items:center;min-height:30px;padding:0 10px;font-size:12px}.manuals-topic-blurb{letter-spacing:0;text-transform:none;margin-top:2px;font-size:12px;font-weight:400;display:block}.manuals-explore-guide{flex-direction:column;gap:6px;padding:4px 10px 10px;font-size:13px;display:flex}.manuals-item-progress{color:var(--accent);font-size:10.5px}.manual-dots{flex-wrap:wrap;gap:6px;display:flex}.manual-dot{background:var(--border-strong);cursor:pointer;border:0;border-radius:3px;width:22px;height:6px;padding:0}.manual-dot.is-done{background:var(--accent-line)}.manual-dot.is-current{background:var(--accent)}.manual-intro{flex-direction:column;gap:10px;display:flex}.manual-intro h4{color:var(--text-2);margin:4px 0 0;font-size:12px;font-weight:500}.manual-kit{color:var(--text-2);margin:0;padding-left:18px}.manual-step{flex-direction:column;gap:10px;display:flex}.manual-step h3{align-items:center;gap:8px;margin:0;font-size:15px;font-weight:500;display:flex}.manual-step-n{background:var(--accent-soft);width:22px;height:22px;color:var(--accent);border-radius:50%;place-items:center;font-size:12px;display:grid}.manual-li{padding-left:14px;position:relative}.manual-li:before{content:"–";color:var(--accent);position:absolute;left:0}.manuals-body kbd{border:1px solid var(--border-strong);border-radius:4px;padding:0 5px;font-size:12px}.manual-calc{border:1px solid var(--border);background:var(--bg);border-radius:4px;flex-direction:column;gap:6px;padding:10px;display:flex}.manual-calc .number-input{width:120px}.manual-calc-result{border-top:1px dashed var(--border-strong);color:var(--accent);margin:4px 0 0;padding:8px 0 0;font-size:12.5px;list-style:none}.manual-actions{flex-wrap:wrap;gap:6px;display:flex}.manual-actions .ghost-button{flex:none;height:32px}.manual-small{font-size:12px}.manual-check{border:1px dashed var(--border-strong);color:var(--text-2);cursor:pointer;border-radius:4px;align-items:center;gap:8px;padding:8px 10px;display:flex}.manual-check.is-done{border-style:solid;border-color:var(--accent-line);color:var(--accent)}.manual-nav{gap:8px;padding-top:4px;display:flex}.manual-nav .primary-button{flex:1;justify-content:center}.manual-locked{gap:14px}.manual-locked a{justify-content:center;text-decoration:none}@media (width<=900px){.manuals{width:auto;left:16px;right:16px}}.cloud-list li.cloud-history{border-left:1px solid var(--accent-line);margin:0 0 6px 16px;padding:6px 0 6px 12px;display:block}.cloud-history li{align-items:center;gap:6px;padding:3px 0;display:flex}.cloud-list .cloud-history .ghost-button{flex:none;width:auto;height:28px;padding:0 10px;font-size:12px}.cloud-rev{flex:1;min-width:0;font-size:12px}.cloud-list li>.icon-button{flex:none;width:34px}.mobile-notice{z-index:200;background:var(--bg);place-items:center;padding:16px;display:grid;position:fixed;inset:0}.mobile-notice-card{text-align:center;flex-direction:column;gap:14px;width:min(420px,100%);display:flex}.mobile-notice-card h2{margin:12px 0 0;font-size:22px;font-weight:500}.mobile-notice-card p{color:var(--text-2);margin:0;line-height:1.5}.mobile-notice-actions{flex-direction:column;gap:10px;margin-top:10px;display:flex}.mobile-notice-actions .primary-button,.mobile-notice-actions .ghost-button{flex:none;justify-content:center;height:44px}.craft-button{width:56px;height:54px;color:var(--accent);grid-template-rows:auto auto;gap:2px;padding:0}.craft-button-label{letter-spacing:0;text-transform:uppercase;font-size:8px;font-weight:600;line-height:1}.toolbar-divider{background:var(--border);flex:none;width:32px;height:1px;margin:2px 0}.craft-scrim{z-index:59;position:fixed;inset:0}.craft-menu{z-index:60;background:var(--surface-3);border:1px solid var(--border-strong);border-radius:4px;flex-direction:column;gap:2px;width:300px;padding:6px;animation:.12s ease-out tool-tip-in;display:flex;position:fixed;box-shadow:0 12px 32px #00000073}.craft-item{color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;align-items:flex-start;gap:12px;padding:9px 10px;display:flex}.craft-item:hover:not(:disabled){background:var(--surface-2,#ffffff0a);color:var(--accent)}.craft-item.is-active{color:var(--accent);background:var(--accent-soft);border-color:var(--accent-line)}.craft-item:disabled{cursor:default;opacity:.55}.craft-item-text{flex-direction:column;gap:3px;display:flex}.craft-item-title{color:var(--text);align-items:center;gap:8px;font-weight:500;display:flex}.craft-item-hint{color:var(--text-2);font-size:12px;line-height:1.4}.craft-soon{border:1px solid var(--border-strong);color:var(--muted);border-radius:4px;padding:1px 6px;font-size:10px}.grain-line{fill:none;stroke:var(--text-2);stroke-width:1.2px;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.grain-text{font-family:var(--mono);fill:var(--text-2);pointer-events:none;font-size:10.5px}.context-menu{z-index:70;background:var(--surface-3);border:1px solid var(--border-strong);overscroll-behavior:contain;border-radius:4px;flex-direction:column;min-width:232px;max-height:calc(100vh - 8px);padding:5px;animation:90ms ease-out tool-tip-in;display:flex;position:fixed;overflow-y:auto;box-shadow:0 12px 32px #00000073}.context-menu>*{flex-shrink:0}.context-row{gap:2px;display:flex}.context-item.context-icon-button{height:38px;color:var(--muted);flex:1;justify-content:center;padding:0}.context-pick{align-items:center;gap:6px;display:flex}.context-pick .context-item{flex:1}.context-select{border:1px solid var(--border);background:var(--surface-2);height:26px;color:var(--text);border-radius:3px;margin-right:3px;padding:0 6px;font-size:12px}.context-item{height:30px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:3px;align-items:center;gap:9px;padding:0 9px;font-size:13px;display:flex}.context-item:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}.context-item.is-danger{color:var(--danger)}.context-icon{width:16px;color:var(--muted);place-items:center;display:grid}.context-item:hover .context-icon{color:inherit}.context-label{flex:1}.context-keys{color:var(--muted);font-size:11px}.context-sep{background:var(--border);height:1px;margin:4px 6px}.panel-hint{margin:14px 16px 0}.fold-edge-line{stroke:var(--accent);stroke-width:1.6px;stroke-dasharray:10 4 2 4;pointer-events:none}.fold-edge-bracket{fill:none;stroke:var(--text-2);stroke-width:1.1px;stroke-linejoin:round;pointer-events:none}.dart-leg{fill:none;stroke:#e3b76b;stroke-width:1.4px;stroke-linejoin:round;pointer-events:none}.dart-fold{fill:none;stroke:#e3b76b;stroke-width:.8px;stroke-dasharray:3 3;opacity:.7;pointer-events:none}.dart-dot{fill:#e3b76b;pointer-events:none}.measure{pointer-events:none}.measure-line{fill:none;stroke:#f2687a;stroke-width:1.2px}.measure-axis{stroke:#f2687a;stroke-width:1px;stroke-dasharray:5 4}.measure-centre{fill:none;stroke:#f2687a;stroke-width:1.4px}.measure-label rect{fill:#f2687a}.measure-label text{fill:#fff;font-family:var(--mono);font-size:11px;font-weight:500}.push-brush circle{fill:none;stroke:var(--accent);stroke-width:1.25px;pointer-events:none}.push-brush .push-brush-core{stroke-dasharray:3 3;opacity:.6}.wood-op path,.wood-op circle{fill:color-mix(in srgb, var(--accent) 18%, transparent);stroke:var(--accent);stroke-width:1.2px;pointer-events:none}.wood-op.is-through path,.wood-op.is-through circle{fill:color-mix(in srgb, var(--board) 80%, transparent)}.wood-op.is-bottom path,.wood-op.is-bottom circle{stroke-dasharray:4 3}.wood-op text{fill:var(--accent);font:10px var(--mono,monospace);pointer-events:none}.board-copy{fill:var(--board);stroke:var(--muted);stroke-width:1px;stroke-dasharray:4 3;pointer-events:none}.board-copies-chip{fill:var(--accent)}.board-copies-text{fill:var(--board);font:600 10px var(--mono);pointer-events:none}.cast-panel{border:1px solid var(--border);background:var(--surface);z-index:5;border-radius:4px;gap:8px;width:340px;padding:12px;display:grid;position:absolute;top:120px;right:12px}.cast-head{justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;display:flex}.cast-panel .view3d-slider{width:100%}.cast-check{align-items:center;gap:6px;font-size:12px;display:flex}.cast-actions{grid-template-columns:1fr 1fr;gap:6px;display:grid}.cast-actions .ghost-button{white-space:nowrap}.cast-info,.cast-note,.cast-error{margin:0;font-size:11px;line-height:1.4}.cast-error{color:var(--danger)}.manuals-craft{margin-bottom:14px}.manuals-craft-title{cursor:default;margin:6px 0 8px;font-size:15px;font-weight:600}details.manuals-craft>summary{cursor:pointer;border-top:1px solid var(--border);padding:6px 0;list-style:none}details.manuals-craft>summary:before{content:"▸ ";color:var(--muted)}details.manuals-craft[open]>summary:before{content:"▾ "}.print-panel{grid-template-columns:minmax(0,1fr);max-height:calc(100% - 140px);overflow-y:auto}.print-close{flex:none;width:24px;height:24px;margin-left:auto;padding:0;line-height:1}.print-sub{margin-top:4px;font-size:12px}.print-row{grid-template-columns:52px 1fr 1fr 1fr;align-items:center;gap:6px;font-size:12px;display:grid}.print-row select{grid-column:2/-1;min-width:0}.print-row input,.print-cut input[type=number],.print-panel .cast-check input[type=number]{width:100%;min-width:0;font:inherit;font-size:12px}.print-panel .cast-check input[type=number]{width:56px}.print-cuts{grid-template-columns:minmax(0,1fr);gap:6px;display:grid}.print-cut input[type=range]{width:100%;min-width:0}.print-cuts-head .ghost-button{min-width:0}.print-cuts-head{align-items:center;gap:6px;font-size:12px;display:flex}.print-cuts-head .muted{margin-right:auto}.print-cut{grid-template-columns:auto 1fr 64px auto auto;align-items:center;gap:6px;display:grid}.check-panel{width:380px}.engrave-panel select,.engrave-text{min-width:0;font:inherit;flex:1;font-size:12px}.engrave-text{border:1px solid var(--border);background:var(--surface);color:inherit;border-radius:3px;padding:5px 8px}.engrave-row{align-items:center;gap:4px;display:flex}.engrave-row .check-row.is-active{font-weight:600}.check-steps{gap:2px;margin:0;padding-left:22px;display:grid}.check-row{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:3px;padding:3px 6px;font-size:12px;line-height:1.4;display:block}.check-row:hover{background:var(--hover,#7f7f7f1f)}.check-row.is-bad{color:var(--danger)}.check-ok{color:var(--success,#3f9d5a)}.print-parts ol{margin:4px 0 0;padding-left:22px;font-size:11px;line-height:1.5}.print-parts .too-big{color:var(--danger)}.nest-offcuts{gap:6px;margin-bottom:8px;display:grid}.nest-offcuts summary{cursor:pointer;font-weight:600}.nest-offcuts p{margin:0;font-size:12px}.nest-offcut-table td{padding:2px 6px;font-size:12px}.nest-leftover{fill:#5aa86e2e;stroke:#5aa86eb3;stroke-dasharray:8 6;stroke-width:2px;vector-effect:non-scaling-stroke}.nest-sheet.is-offcut figcaption{color:var(--accent)}.nest-modal{width:min(980px,100vw - 32px);max-height:calc(100vh - 48px)}.nest-options{flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;display:flex}.nest-options label,.nest-stock-row{align-items:center;gap:6px;font-size:12px;display:flex}.nest-options input,.nest-stock-row input[type=number]{width:72px}.nest-stock-row{flex-wrap:wrap}.nest-stock-row select{flex:220px;min-width:0}.nest-groups{gap:18px;min-height:0;display:grid;overflow-y:auto}.nest-group{gap:8px;display:grid}.nest-group-head{justify-content:space-between;gap:12px;font-size:13px;display:flex}.nest-sheets{gap:10px;display:grid}.nest-sheet{gap:4px;margin:0;display:grid}.nest-sheet figcaption{font-size:11px}.nest-sheet svg{width:100%;max-height:340px}.nest-stock{fill:var(--surface-2,#ffffff0a);stroke:var(--border-strong,#6b6257);stroke-width:2px;vector-effect:non-scaling-stroke}.nest-box{fill:none;stroke:var(--border,#4a443d);stroke-dasharray:4 3;vector-effect:non-scaling-stroke}.nest-part{fill:color-mix(in srgb, var(--accent,#e8a33a) 28%, transparent);stroke:var(--accent,#e8a33a);stroke-width:1.2px;vector-effect:non-scaling-stroke}.nest-label{fill:var(--text,#eee);text-anchor:middle;dominant-baseline:middle;font-family:inherit}.nest-modal .modal-actions .ghost-button,.nest-modal .modal-actions .primary-button{flex:none;width:auto}.grade-sizes{gap:6px;display:grid}.grade-size{grid-template-columns:auto 40px 1fr auto;align-items:center;gap:8px;font-size:13px;display:grid}.grade-size.is-base strong{color:var(--accent)}.last-file{flex-direction:column;gap:4px;display:flex}.last-file-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.last-file-controls .select{width:auto}.content-verdict{margin:6px 0 2px;font-size:12px;line-height:1.45}.content-verdict.is-fits{color:var(--ok,#6fbf73)}.content-verdict.is-snug{color:var(--warn,#e0a33a)}.content-verdict.is-no{color:var(--danger,#e2554b)}.form-editor{z-index:60;position:fixed;inset:0}.form-editor-title{border:1px solid var(--border);background:var(--surface);white-space:nowrap;border-radius:4px;align-items:center;height:38px;padding:0 12px;font-size:13px;display:flex}.form-editor .view3d-toolbar .primary-button{height:38px}.form-box{z-index:61;border:1px dashed var(--accent);pointer-events:none;background:#e8a04a1f;position:fixed}.form-zone .ghost-button.form-library-item{text-overflow:ellipsis;white-space:nowrap;flex:1;justify-content:flex-start;width:auto;min-width:0;padding:0 8px;overflow:hidden}.viewer-root{display:grid;position:fixed;inset:0}.viewer-progress{position:absolute;bottom:14px;left:50%;transform:translate(-50%)}.viewer-message{color:var(--muted);text-align:center;place-items:center;padding:16px;font-size:13px;display:grid;position:absolute;inset:0}.bake-status{background:var(--surface-3);border:1px solid var(--border-strong);white-space:nowrap;border-radius:4px;padding:7px 14px;font-size:12px;position:absolute;top:12px;left:50%;transform:translate(-50%)}.compare-ghost{fill:none;stroke:var(--danger);stroke-width:1.5px;stroke-dasharray:6 4;pointer-events:none}.compare-now{fill:none;stroke-width:3px;stroke-opacity:.55;pointer-events:none}.compare-now.is-changed{stroke:var(--accent)}.compare-now.is-added{stroke:#6fbf73}.compare-panel{background:var(--surface-3);border:1px solid var(--border-strong);border-radius:4px;width:320px;max-height:calc(100% - 32px);padding:12px 14px;font-size:13px;position:absolute;top:16px;right:16px;overflow:auto}.compare-panel h4{justify-content:space-between;align-items:center;margin:0 0 8px;display:flex}.compare-panel ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.compare-panel li button{all:unset;cursor:pointer;gap:2px;width:100%;display:grid}.compare-panel .is-added{color:#6fbf73}.compare-panel .is-removed{color:var(--danger)}.compare-panel .is-changed{color:var(--accent)}.content-badge{cursor:pointer}.content-badge rect{fill:var(--surface-3);stroke:var(--accent);stroke-width:1px}.content-badge text{font:11px var(--font-mono,ui-monospace, monospace);fill:var(--text)}.content-badge:hover rect{fill:var(--accent)}.content-badge:hover text{fill:var(--surface-1,#fff)}.midpoint-marks{pointer-events:none}.midpoint-marks path{fill:var(--surface-1,#fff);stroke:var(--accent);stroke-width:1.5px}.figure.is-hidden3d{opacity:.55}.join.is-locked{opacity:.45;pointer-events:none}.join.is-locked .join-line{stroke-dasharray:3 3}.joint-length{flex:none;width:104px;min-width:0}.joint-length .number-input,.joint-length .number-input .input{width:100%;min-width:0}.joint-card-head .joint-select{flex:auto;min-width:0}.joint-reverse{flex:none}.joint-tools{justify-content:flex-end;gap:4px;margin-top:-4px;display:flex}.joint-more{border-top:1px solid var(--border);padding-top:6px}.joint-more>summary{cursor:pointer;border-radius:3px;justify-content:space-between;align-items:baseline;gap:8px;margin:0 -6px;padding:4px 6px;list-style:none;display:flex}.joint-more>summary::-webkit-details-marker{display:none}.joint-more>summary:before{content:"▸";color:var(--text-2);margin-right:-2px}.joint-more[open]>summary:before{content:"▾"}.joint-more>summary:hover{background:color-mix(in srgb, var(--text) 6%, transparent)}.joint-more>summary>:first-child{margin-right:auto}.joint-more[open]>summary{margin-bottom:6px}.joint-more>:not(summary)+*{margin-top:6px}.underlay.is-locked{pointer-events:none}.underlay.is-selected image,.underlay.is-hovered image{outline:1px solid var(--accent)}.underlay-missing{fill:none;stroke:var(--text-muted,#888);stroke-dasharray:6 4}.underlay-scale-line line,.underlay-scale-line circle{stroke:var(--accent);stroke-width:2px;fill:none;pointer-events:none}.underlay-scale,.underlay-scale form{align-items:center;gap:8px;display:flex}.underlay-row{grid-template-columns:1fr auto auto;align-items:center;display:grid}.preflight-panel{gap:8px;width:340px;display:grid}.preflight-panel h4,.preflight-panel p{margin:0}.preflight-group ul{gap:4px;margin:4px 0 0 18px}.preflight-group-head{all:unset;cursor:pointer;font-weight:600}.preflight-panel .is-error{color:var(--danger)}.preflight-panel .is-warning{color:var(--accent)}.preflight-panel li button.is-focus{text-decoration:underline}.preflight-marks{pointer-events:none}.preflight-marks circle{fill:none;stroke-width:2px}.preflight-marks line{stroke-width:2px}.preflight-marks .is-error circle,.preflight-marks .is-error line{stroke:var(--danger)}.preflight-marks .is-warning circle,.preflight-marks .is-warning line{stroke:var(--accent)}.preflight-marks .is-focus circle{stroke-width:3px;stroke-dasharray:4 3}.hide-leather{fill:#9660342e;stroke:#a87446;stroke-width:1.5px}.hide.has-photo .hide-leather{fill:#9660340a}.hide-photo{pointer-events:none}.hide-photo.is-around{opacity:.4}.hide.is-selected .hide-leather{stroke:var(--accent);stroke-width:2.5px}.hide.is-hovered .hide-leather{stroke-width:2.5px}.hide-zone{stroke:none;pointer-events:none}.hide-zone.is-B{fill:#dda6531f}.hide-zone.is-C{fill:#78787838}.hide-defect{fill:#d0603f73;stroke:var(--danger);stroke-width:1px;pointer-events:none}.hide-backbone{stroke:#a87446;stroke-width:1.5px;stroke-dasharray:10 6;pointer-events:none}.hide-arrow{fill:#a87446}.hide-piece path{fill:#dda65340;stroke:var(--accent);stroke-width:1px;pointer-events:none}.hide-piece text{fill:var(--text);pointer-events:none;font-size:11px}.segmented.wrap{flex-wrap:wrap}.grade-modal-wide{width:min(920px,100vw - 32px)}.chart-table-wrap{flex-shrink:0;max-height:340px;overflow:auto}.grade-modal-wide{max-height:calc(100vh - 32px);overflow-y:auto}.chart-table{border-collapse:collapse;font-size:12px}.chart-table th,.chart-table td{text-align:left;white-space:nowrap;padding:2px 3px}.chart-table thead th{background:var(--surface-2,var(--bg));position:sticky;top:0}.chart-table thead th>*{vertical-align:middle}.chart-table .input{width:72px;padding:4px 6px;font-size:12px}.joint-issues{margin:0 0 6px 22px;padding:0;font-size:12px;line-height:1.35;list-style:none}.hide.is-fabric .hide-leather{fill:#c8c8d214;stroke:#9aa3ad}.fabric-fold{stroke:#9aa3ad;stroke-width:2px;stroke-dasharray:12 4 2 4;pointer-events:none}.flat-distortion{opacity:.55;pointer-events:none}.assembly-steps{gap:8px;margin:0 0 8px;padding:0;list-style:none;display:grid}.assembly-steps>li{border:1px solid var(--border);border-radius:4px;gap:6px;padding:6px;display:grid}.assembly-steps>li.is-shown{border-color:var(--accent)}.assembly-step-head{align-items:center;gap:4px;display:flex}.assembly-step-head>.input{flex:auto;width:auto;min-width:0}.assembly-step-head>.ghost-button{flex:none;width:auto;min-width:28px;padding:2px 6px}.assembly-step-items,.assembly-step-add{flex-wrap:wrap;gap:4px;display:flex}.assembly-step-add>.input{flex:1;min-width:0}.assembly-chip{background:var(--surface-3);border-radius:4px;align-items:center;gap:4px;padding:1px 4px 1px 6px;font-size:12px;display:inline-flex}.assembly-chip>button{color:inherit;cursor:pointer;background:0 0;border:0;padding:0 2px}.assembly-note{font-size:12px}.history-actions{justify-content:flex-end;gap:2px;margin:-2px 0 4px;display:flex}.share-wrap{position:relative}.share-pop{z-index:30;border:1px solid var(--border);background:var(--surface);border-radius:4px;gap:6px;width:340px;padding:10px;display:grid;position:absolute;top:calc(100% + 6px);left:0}.share-pop p{margin:0;font-size:11px}.view-only{border:1px solid var(--accent);color:var(--accent);white-space:nowrap;border-radius:3px;padding:2px 8px;font-size:11px}.sample-test{gap:4px;display:grid}.sample-test p{margin:4px 0 0;font-size:11px}.sim-report{width:min(380px,100vw - 32px);max-height:60vh;left:auto;right:0;overflow-y:auto}.sim-report p{margin:0;font-size:12px;line-height:1.4}.sim-report .report-warn{color:var(--accent)}.sim-report .report-bad,.ghost-button.is-bad{color:var(--danger)}.note-mark-pin path{fill:var(--accent);stroke:var(--board,#1a1714);stroke-width:1px}.note-mark-pin text{fill:#1a1714;text-anchor:middle;pointer-events:none;font:600 9px ui-monospace,monospace}.note-mark-pin.is-done{opacity:.4}.note-row{grid-template-columns:16px 18px 1fr auto;align-items:center;gap:6px;display:grid}.note-author{grid-column:3/-1;font-size:11px}.inward-warning{color:var(--accent);align-items:center;gap:6px;display:inline-flex}.view3d-params{pointer-events:none;position:absolute;inset:0;overflow:hidden}.view3d-params>div{white-space:nowrap;color:var(--text);background:color-mix(in srgb, var(--surface-3) 78%, transparent);border:1px solid var(--border-strong);border-radius:3px;padding:3px 7px;font-size:11px;line-height:1.35;position:absolute;top:0;left:0}.param-label{font-family:var(--mono,ui-monospace, monospace);border-left-width:3px!important}.param-label .param-name{font-family:var(--sans,system-ui, sans-serif);font-weight:600}.param-label.is-formula,.param-legend .is-formula:before{border-left-color:#b48cff!important}.param-label.is-link,.param-legend .is-link:before{border-left-color:#4cc9c0!important}.param-label.is-driver,.param-legend .is-driver:before{border-left-color:#e8a33c!important}.param-error{color:var(--danger,#e5534b)}.view3d-params>.param-dim{color:#d8c4ff;font-family:var(--mono,ui-monospace, monospace);padding:1px 5px}.view3d-params>.param-link{color:var(--muted);padding:1px 5px;font-size:10px}.param-link.is-follow{color:#e8a33c}.param-panel{grid-template-columns:minmax(0,1fr);width:300px;max-height:calc(100% - 140px);overflow-y:auto}.param-var{grid-template-columns:minmax(60px,auto) minmax(0,1fr) 64px;align-items:center;gap:8px;font-size:12px;display:grid}.param-var input[type=range]{width:100%;min-width:0}.param-var .param-formula{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.param-note{margin:0;font-size:12px}.param-legend{color:var(--muted);flex-wrap:wrap;gap:10px;font-size:11px;display:flex}.param-legend span:before{content:"";vertical-align:-1px;border-left:10px solid #0000;width:10px;height:10px;margin-right:4px;display:inline-block}.panel-nav{z-index:3;background:var(--surface);border-bottom:1px solid var(--border);gap:8px;padding:10px 22px 8px;display:grid;position:sticky;top:0}.panel-nav.is-empty{display:none}.panel-find{border:1px solid var(--border);background:var(--surface-2,var(--surface));height:34px;color:var(--muted);border-radius:4px;align-items:center;gap:8px;padding:0 10px;display:flex}.panel-find:focus-within{border-color:var(--accent)}.panel-find input{min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:13px}.panel-find-count{color:var(--accent);font-size:11px}.panel-find-count.is-none{color:var(--danger)}.panel-top{color:var(--text-2);cursor:pointer;background:0 0;border:0;padding:2px 4px;font-size:14px}.panel-strip{flex-wrap:wrap;gap:6px;max-height:58px;display:flex;position:relative;overflow:hidden}.panel-strip.is-open{max-height:50vh;overflow-y:auto}.panel-strip .panel-more{color:var(--accent);border-color:var(--accent);background:var(--surface);box-shadow:-18px 0 12px -4px var(--surface);position:absolute;top:32px;right:0}.panel-strip.is-open .panel-more{box-shadow:none;position:static}.panel-top.is-alone{border:1px solid var(--border);background:var(--surface);border-radius:50%;width:30px;height:30px;position:absolute;bottom:-38px;right:22px}.panel-chip{border:1px solid var(--border);height:26px;color:var(--text-2);white-space:nowrap;cursor:pointer;background:0 0;border-radius:4px;flex:none;align-items:center;gap:5px;padding:0 10px;font-size:12px;transition:background .12s,color .12s,border-color .12s;display:inline-flex}.panel-chip:hover{color:var(--text);border-color:var(--border-strong)}.panel-chip.is-active{color:var(--accent);border-color:var(--accent);background:color-mix(in srgb, var(--accent) 12%, transparent)}.panel-chip.is-hit:not(.is-active){color:var(--text);border-color:var(--accent-line)}.panel-chip.is-dim{opacity:.45}.panel-chip-icon{display:grid}.panel-chip-icon svg{width:13px;height:13px}.panel-body>.inspector-section{scroll-margin-top:90px}::highlight(panel-find){background:color-mix(in srgb, var(--accent) 45%, transparent);color:var(--text)}.pattern-search-row .input{width:100%}.pattern-search-progress{gap:4px;font-size:12px;display:grid;position:relative}.pattern-search-progress>span{background:var(--accent);border-radius:2px;height:4px;transition:width .2s;display:block}.pattern-search-results button{text-align:left;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;display:grid!important}.pattern-search-title{align-items:center;gap:6px;min-width:0;display:inline-flex}.pattern-search-kind{font-size:11px}.pattern-search-results .example-note{grid-column:1/-1}.pattern-search-group{margin:10px 0 2px}.pattern-search-results .example-note{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.pattern-search-results button:focus-visible .example-note{-webkit-line-clamp:unset}.pattern-search-where{grid-column:1/-1;font-size:11px}.pattern-search-results .pattern-search-full{-webkit-line-clamp:unset;display:block;overflow:visible}.seam-diagram{background:color-mix(in srgb, var(--text) 4%, transparent);border-radius:3px;margin:0 8px 8px;padding:8px}.seam-diagram svg{width:100%;height:auto;max-height:150px;display:block}.seam-diagram figcaption{margin-top:4px;font-size:11px}.reference-figure{margin:0 8px 8px}.reference-figure svg{width:100%;max-width:420px;height:auto;display:block}.reference-figure.is-moving{cursor:pointer}.pattern-search-sources{overflow-wrap:anywhere;margin:0;padding:0 8px 6px;font-size:11px}.pattern-search-sources a{color:inherit}.pattern-search-actions{flex-wrap:wrap;gap:6px;padding:4px 8px 8px;display:flex}.spinner{border:2px solid var(--border,#80808059);border-top-color:var(--accent);vertical-align:-2px;border-radius:50%;width:12px;height:12px;margin-right:6px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:2.4s}}.pattern-search-row{position:relative}.pattern-search-spinner{margin:-6px 0 0;position:absolute;top:50%;right:12px}.pattern-search-results li.is-locked>button .pattern-search-title{opacity:.75}.pattern-search-locked{align-items:center}.pattern-search-locked .muted{flex:100%;font-size:12px}.flash-place{border-radius:4px;animation:1.8s ease-out flash-place}@keyframes flash-place{0%,40%{box-shadow:0 0 0 3px var(--accent)}to{box-shadow:0 0 0 3px #0000}}.reference-help{z-index:60;background:var(--surface-2,var(--surface));border:1px solid var(--border);border-radius:4px;width:320px;max-height:60vh;padding:12px 14px;font-size:13px;line-height:1.45;position:fixed;overflow:auto;box-shadow:0 12px 32px #00000059}.reference-help-entry+.reference-help-entry{border-top:1px solid var(--border);margin-top:10px;padding-top:10px}.reference-help-head{justify-content:space-between;gap:8px;display:flex}.reference-help-where,.reference-help-foot{font-size:11px;display:block}.reference-help p{margin:6px 0 0}.pattern-search-prefill{color:var(--accent);grid-column:1/-1;font-size:11px}body.help-mode,body.help-mode *{cursor:help!important}.help-button{font-weight:600}body.help-mode .help-button{color:var(--accent)}.map-legend{color:var(--muted,#888);align-items:center;gap:8px;font-size:11px;display:inline-flex}.map-legend-item{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.map-legend-item i{border-radius:2px;width:10px;height:10px;display:inline-block}.try-on-pins line{stroke:#c8bfae;stroke-width:1.2px}.try-on-pins circle{fill:#d9443a;stroke:var(--board,#1a1714);stroke-width:1px}.theme-switch{align-items:center;gap:4px;display:inline-flex}.theme-dot{border:1px solid var(--border-strong);background:#1a1714;border-radius:50%;width:9px;height:9px}.theme-dot.is-light{background:#f4efe7}.theme-dot.is-on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent-line)}.join,.draft-segment.join-line{color:var(--jc)}:root[data-theme=light] .join,:root[data-theme=light] .draft-segment.join-line{color:color-mix(in srgb, var(--jc) 62%, #000)}.scene.labels-off .figure:not(.is-selected) :is(.fold-chip,.fold-text,.grain-text,.hw-label,.skive-label,.shrink-label,.board-copies-chip,.board-copies-text,.note-mark-pin text,.wood-ops text),.scene.labels-off .joins:not(.is-selected) .join:not(.is-active,.is-editing) :is(.join-chip,.join-text){display:none}.draft-size{pointer-events:none}:root[data-theme=light] .sheet-paper{fill:#ffffffb3;stroke:#7d766b}.link-button{color:var(--accent);font:inherit;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;font-style:normal;text-decoration:underline}.plugin-guide{width:min(720px,100vw - 32px);max-height:calc(100vh - 48px)}.plugin-guide-body{color:var(--text-2);padding-right:4px;font-size:13px;line-height:1.5;overflow-y:auto}.plugin-guide-body h3{font:600 11px/1.2 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text);margin:18px 0 6px}.plugin-guide-body h4{color:var(--text);margin:12px 0 4px;font-size:13px}.plugin-guide-body p,.plugin-guide-body ul{margin:0 0 8px}.plugin-guide-body b{color:var(--text);font-weight:600}.plugin-guide-body code{font-family:var(--mono);color:var(--text);font-size:12px}.plugin-guide-code{border:1px solid var(--border);background:var(--surface-2);font:12px/1.45 var(--mono);color:var(--text);border-radius:4px;margin:0 0 8px;padding:10px 12px;overflow-x:auto}.plugin-guide-warn{border-left:2px solid var(--accent-line);background:var(--accent-soft);padding:8px 10px}.shrink-zone{fill:#4fa3a02e;stroke:#4fa3a0;stroke-width:1px;stroke-dasharray:4 3;pointer-events:none}.shrink-label{font:600 10px var(--mono);fill:color-mix(in srgb, #4fa3a0 70%, var(--text));pointer-events:none}.shrink-stroke{fill:none;stroke:#4fa3a059;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.shrink-stroke.is-erase{stroke:color-mix(in srgb, var(--danger) 30%, transparent)}.view3d-toolbar .segmented button{white-space:nowrap}.texture-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.texture-list li{grid-template-columns:36px 1fr auto auto;align-items:center;gap:8px;display:grid}.texture-thumb{border:1px solid var(--border);background:50%/cover no-repeat;border-radius:3px;width:36px;height:36px}.view3d-actions{gap:10px;width:260px}.actions-group{gap:2px;display:grid}.actions-group:not(:has(button)){display:none}.actions-title{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:0 6px 2px;font-size:10px}.view3d-actions .ghost-button{text-align:left;border-color:#0000;justify-content:flex-start;width:100%}.view3d-actions .ghost-button.is-active{border-color:var(--accent)}.preflight-fix{margin:2px 0 6px 18px}.fold-seams-offer{gap:6px;display:grid}.view3d-show{display:grid;left:auto;right:0}.view3d-show .segmented{width:100%}.view3d-show .segmented button{flex:1}.view3d-show .ridge-controls{flex-wrap:wrap}.actions-count{background:var(--accent);color:var(--accent-ink);border-radius:8px;margin-left:6px;padding:0 5px;font-size:10px}.form-lasso{z-index:61;pointer-events:none;width:100vw;height:100vh;position:fixed;inset:0}.form-lasso polygon{fill:#e8a04a1f;stroke:var(--accent);stroke-width:1px;stroke-dasharray:4 3}.form-stats{border:1px solid var(--border);background:var(--surface);color:var(--text);pointer-events:auto;border-radius:8px;padding:8px 10px;font-size:11px;line-height:1.6;position:absolute;top:190px;right:16px}.view-cube{cursor:pointer;pointer-events:auto;z-index:2;width:110px;height:110px;position:absolute;top:70px;right:16px}.modal.hide-photo{flex-direction:column;width:min(1280px,96vw);max-width:none;height:min(860px,92vh);display:flex}.hide-photo-body{flex:1;grid-template-columns:1fr 320px;gap:16px;min-height:0;display:grid}.hide-photo-view{border:1px solid var(--border);background:var(--board);border-radius:8px;min-height:0;position:relative;overflow:hidden}.hide-photo-view canvas{cursor:crosshair;position:absolute;inset:0}.modal.bake-preview{width:min(460px,100vw - 32px)}.bake-checks{flex-wrap:wrap;gap:4px 14px;display:flex}.bake-shortcode{background:var(--panel-2,#0000000d);cursor:copy;word-break:break-all;border-radius:6px;padding:8px 10px;display:block}.vector-import-view svg{width:100%;height:100%;display:block}.hide-photo-view.is-drop{outline:2px dashed var(--accent);outline-offset:-6px}.hide-photo-pick{text-align:center;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;display:flex;position:absolute;inset:0}.hide-photo-side{flex-direction:column;gap:10px;min-height:0;display:flex;overflow-y:auto}.hide-photo-parts,.hide-photo-letters{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.hide-photo-part{border:1px solid var(--border-strong);border-radius:6px;align-items:center;display:inline-flex}.hide-photo-part.is-active{border-color:var(--accent)}.hide-photo-part.is-loose .ghost-button{color:var(--danger)}.hide-photo-part .ghost-button,.hide-photo-letters .ghost-button{min-width:32px;padding:2px 8px}.hide-photo-letters .ghost-button.is-active{border-color:var(--accent);color:var(--accent)}.hide-photo-title{margin:6px 0 0;font-size:13px}.hide-photo-measure .input{width:110px}.hide-photo-side .warning{color:var(--danger)}@media (width<=760px){.hide-photo-body{grid-template-rows:1fr auto;grid-template-columns:1fr}}.modal.leather-stock{flex-direction:column;gap:12px;width:min(900px,96vw);max-width:none;max-height:90vh;display:flex}.leather-stock-bar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.modal.leather-stock .modal-head{gap:10px}.modal.leather-stock .modal-head h2{flex:1}.leather-stock-owner{width:auto;max-width:220px}.leather-stock-places{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.leather-stock-places .chip{border:1px solid var(--border);color:var(--text);cursor:pointer;background:0 0;border-radius:999px;padding:3px 9px;font-size:12px}.leather-stock-places .chip.is-active{border-color:var(--accent);background:var(--accent-soft)}.leather-stock-workshop{border:1px solid var(--border);background:var(--surface-2);border-radius:6px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.leather-stock-workshop .button-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.leather-stock-workshop .button-row .input:not(.select){flex:1;min-width:160px}.leather-stock-members{flex-direction:column;gap:3px;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.leather-stock-members li{align-items:baseline;gap:8px;display:flex}.leather-stock-move{width:auto;font-size:12px}.leather-stock-bar .input{flex:1;min-width:160px}.leather-stock-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.leather-stock-card{border:1px solid var(--border);border-radius:8px;grid-template-columns:96px 1fr auto;align-items:center;gap:12px;padding:8px;display:grid}.leather-stock-card.is-editing{flex-direction:column;align-items:stretch;display:flex}.leather-stock-thumb{background:var(--board);border-radius:6px;justify-content:center;align-items:center;width:96px;height:72px;display:flex;overflow:hidden}.leather-stock-thumb img{max-width:100%;max-height:100%}.leather-stock-thumb{position:relative}.leather-stock-swatch{border:2px solid var(--surface);background-size:cover;border-radius:4px;width:26px;height:26px;position:absolute;bottom:3px;right:3px}.leather-stock-card.is-cut{opacity:.6}.leather-stock-history{margin:4px 0 0;padding-left:16px;font-size:12px}.leather-stock-info{flex-direction:column;gap:2px;min-width:0;display:flex}.leather-stock-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}@media (width<=640px){.leather-stock-card{grid-template-columns:72px 1fr}.leather-stock-actions{grid-column:1/-1}}.hide-vertex{fill:var(--surface,#fff);stroke:var(--accent);stroke-width:1.5px;cursor:move}.is-defect>.hide-vertex{stroke:#c0392b}.is-zone>.hide-vertex{stroke:#8a6d3b}.hide-vertex-mid{fill:var(--accent);opacity:.35;cursor:copy}.hide-vertex-mid:hover{opacity:.8}.figure.is-array-copy .figure-cut{stroke-dasharray:6 3}.seam-diagram figcaption{justify-content:space-between;gap:8px;display:flex}.seam-diagram-replay{flex:none;font-size:11px}.sd-step{transform-box:fill-box;animation:none}.sd-from-left{animation-name:sd-from-left}.sd-from-right{animation-name:sd-from-right}.sd-from-top{animation-name:sd-from-top}.sd-pierce{transform-origin:50%;animation-name:sd-pierce}.sd-draw{animation:none}.sd-draw>*{stroke-dasharray:1;animation:.5s ease-in-out both sd-draw;animation-delay:inherit}@keyframes sd-from-left{0%{opacity:0;transform:translate(-40%)}}@keyframes sd-from-right{0%{opacity:0;transform:translate(40%)}}@keyframes sd-from-top{0%{opacity:0;transform:translateY(-120%)}}@keyframes sd-pierce{0%{opacity:0;transform:scale(.3)}}@keyframes sd-draw{0%{stroke-dashoffset:1px}to{stroke-dashoffset:0}}@media (prefers-reduced-motion:reduce){.sd-step,.sd-draw>*{animation:none}}.belt-preview{background:var(--surface-2,var(--panel));border:1px solid var(--border);touch-action:none;border-radius:6px;flex:none;width:100%;height:120px;margin-bottom:8px;display:block}.belt-preview-piece{fill:var(--accent-soft);stroke:var(--text);stroke-width:.6px;vector-effect:non-scaling-stroke}.belt-preview-fold{stroke:var(--accent);stroke-width:1px;stroke-dasharray:4 3;vector-effect:non-scaling-stroke}.belt-preview-mark{stroke:var(--text);stroke-width:1px;vector-effect:non-scaling-stroke}.belt-preview-hole{fill:var(--bg,#fff);stroke:var(--text);stroke-width:.8px;vector-effect:non-scaling-stroke}.belt-preview-handle{fill:#0000;stroke:var(--accent);stroke-width:1.5px;vector-effect:non-scaling-stroke;cursor:grab}.belt-preview-handle.is-dragging{cursor:grabbing;stroke-width:2.5px}.belt-fasteners{border-collapse:collapse;width:100%;font-size:12px}.belt-fasteners th{text-align:left;color:var(--muted);font-weight:500}.belt-fasteners .number-input{width:110px}.belt-modal{max-height:min(880px,100vh - 48px)}.seam-process figcaption{align-items:flex-start}.seam-process-buttons{flex:none;align-items:center;gap:2px;display:inline-flex}.seam-process-buttons .icon-button{width:22px;height:22px;font-size:10px}.seam-view-tabs{border:1px solid var(--border);border-radius:3px;margin:0 8px 4px;display:inline-flex;overflow:hidden}.seam-view-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:2px 10px;font-size:11px}.seam-view-tabs button.active{background:color-mix(in srgb, var(--accent) 18%, transparent);color:var(--text)}.seam-3d-figure{position:relative}.seam-3d{aspect-ratio:360/208;cursor:grab;touch-action:pan-y;width:100%;max-width:360px;margin:0 auto;display:block}.seam-3d:active{cursor:grabbing}.seam-3d-play{width:22px;height:22px;font-size:9px;position:absolute;top:6px;right:6px}.space-picker{align-items:center;gap:8px;min-width:0;display:inline-flex}.space-picker .select{max-width:220px}.place-control{flex:none;position:relative}select.place-control{max-width:130px;font-size:12px}.place-popover{z-index:20;border:1px solid var(--border);background:var(--surface);border-radius:6px;flex-direction:column;gap:4px;min-width:200px;padding:8px 10px;font-size:12px;display:flex;position:absolute;top:100%;right:0;box-shadow:0 6px 20px #0000002e}.decor .perforation{fill:var(--bg);stroke:var(--text-2);stroke-width:.6px;vector-effect:non-scaling-stroke}.decor .emboss-area{fill:none;stroke:var(--text-2);stroke-width:1px;stroke-dasharray:4 3;vector-effect:non-scaling-stroke}.decor .laser-lines{fill:none;stroke:#3a2212;stroke-width:1px;vector-effect:non-scaling-stroke}.decor .laser-area{fill:none;stroke:var(--text-2);stroke-width:1px;stroke-dasharray:2 3;vector-effect:non-scaling-stroke}.laser-actions{gap:6px;margin-top:6px;display:flex}.decor .decor-thread,.decor .decor-lace{fill:none;stroke-linecap:round}.decor .decor-lace{opacity:.92}.decor .decor-holes{fill:none;stroke:var(--text);stroke-linecap:round}.decor .decor-cut{fill:var(--bg);stroke:var(--text);stroke-width:1px;vector-effect:non-scaling-stroke}.decor-add{flex-wrap:wrap;gap:4px;display:flex}.watch-modal{width:min(980px,100vw - 32px)}.watch-body{grid-template-columns:minmax(260px,1fr) minmax(300px,1.3fr);gap:16px;display:grid}@media (width<=720px){.watch-body{grid-template-columns:1fr}}.watch-fields{flex-direction:column;gap:6px;max-height:64vh;display:flex;overflow:auto}.watch-preview{background:var(--surface-2,var(--surface));border-radius:8px;grid-template-columns:1fr 1fr;align-items:start;gap:12px;padding:12px;display:grid}.watch-preview-top{width:100%;max-height:60vh}.watch-preview-side{flex-direction:column;gap:8px;display:flex}.watch-preview-wrist{width:100%}.watch-facts p{margin:2px 0;font-size:12px}.watch-preview .wp-strap,.watch-preview .wp-pad,.watch-preview .wp-keeper{stroke:#00000073;stroke-width:.3px}.watch-preview .wp-pad{opacity:.8}.watch-preview .wp-filler{fill:#ffffff24;stroke:#ffffff40;stroke-width:.2px;stroke-dasharray:1 .6}.watch-preview .wp-hole{fill:var(--bg);stroke:#00000080;stroke-width:.2px}.watch-preview .wp-metal,.watch-preview .wp-case{fill:#b9bcc2;stroke:#6d7077;stroke-width:.3px}.watch-preview .wp-metal-line{fill:none;stroke:#b9bcc2;stroke-width:1.4px}.watch-preview .wp-screen{fill:#121418}.watch-preview .wp-time{fill:#f2f2f2;font-family:-apple-system,Helvetica Neue,Arial,sans-serif;font-weight:600}.watch-preview .wp-wrist{fill:var(--surface);stroke:var(--text-2);stroke-width:.6px;stroke-dasharray:2 2}.watch-preview .wp-strap-line{fill:none;stroke-width:3px;stroke-linecap:round}.watch-preview .wp-case-side{fill:none;stroke:#6d7077;stroke-width:9px}.watch-preview .wp-label{fill:var(--text-2);font-size:6px}.laser-card .laser-thumb{border-radius:4px;max-width:100%;margin:6px 0;display:block}.laser-handles .laser-frame{fill:#0000;stroke:var(--accent);stroke-width:1px;stroke-dasharray:5 3;cursor:move}.laser-handles .laser-frame:hover{fill:color-mix(in srgb, var(--accent) 8%, transparent)}.form-size{grid-template-columns:repeat(3,72px);gap:4px;margin:2px 0 4px;display:grid}.form-size label{align-items:center;gap:3px;display:flex}.form-size .input{width:100%;min-width:0;height:24px;padding:0 5px;font-size:11px}.figure.is-reference .figure-cut{stroke-dasharray:2 4;fill-opacity:.35}.figure.is-insert .figure-cut{stroke-dasharray:8 3;fill-opacity:.6}.view3d-params>.note-label{white-space:normal;background:color-mix(in srgb, var(--surface) 88%, transparent);border-left:3px solid #e8a33c;max-width:220px}.note-label .note-head{color:var(--text-2);font-size:10px;font-weight:600}.note-label .note-by{color:var(--text-2);font-size:10px;font-style:italic}.carry-control{gap:2px;display:grid}.carry-kg{align-items:center;gap:6px;padding:0 0 4px 28px;font-size:12px;display:flex}.carry-kg .input{width:64px}.piece-photo-list li{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;display:grid}.piece-photo-list .mono{white-space:nowrap;font-size:11px}.piece-photo-measures li{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:6px;display:grid}.piece-photo-sizes li{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1.2fr);align-items:center;gap:6px;display:grid}.piece-photo-sizes li>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.piece-photo-size{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;display:grid}.piece-photo-sizes .mono,.piece-photo-measures .mono{white-space:nowrap;font-size:11px}.start-guide-open.is-empty{border-color:var(--accent);color:var(--accent)}.start-guide{border:1px solid var(--border);background:color-mix(in srgb, var(--text) 3%, transparent);border-radius:4px;gap:10px;padding:10px;display:grid}.start-guide-head{justify-content:space-between;align-items:center;display:flex}.start-guide-head>span{align-items:center;gap:4px;display:flex}.start-guide-step{gap:6px;display:grid}.start-guide-q{margin:0;font-size:13px}.start-guide-a{background:color-mix(in srgb, var(--accent) 18%, transparent);border-radius:10px 10px 2px;justify-self:end;max-width:85%;margin:0;padding:4px 10px;font-size:13px}.start-guide-chips{flex-wrap:wrap;gap:6px;display:flex}.start-guide-chip{border:1px solid var(--border);color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border-radius:14px;padding:5px 10px;font-size:12.5px}.start-guide-chip:hover{border-color:var(--accent)}.start-guide-chip.is-active{border-color:color-mix(in srgb, var(--accent) 60%, transparent)}.source-overlay{pointer-events:none}.source-line{fill:none;stroke:var(--accent);stroke-width:1px;stroke-dasharray:4 3;opacity:.8}.source-off{fill:none;stroke:#d9534f;stroke-width:3px;stroke-linecap:round;opacity:.85}.source-worst circle{fill:none;stroke:#d9534f;stroke-width:1.5px}.source-worst text{fill:#d9534f;font:11px var(--mono,monospace)}.cost-sums{border-collapse:collapse;width:100%;font-size:12.5px}.cost-sums td{padding:2px 0}.cost-sums td:last-child{text-align:right}.cost-sums .is-total td{border-top:1px solid var(--border);font-weight:600}.cost-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.cost-list li{gap:3px;font-size:12.5px;display:grid}.cost-what{min-width:0}.cost-in{justify-content:flex-end;align-items:center;gap:6px;display:flex}.cost-total{text-align:right;min-width:76px}.wet-sim-title{margin:14px 0 4px;font-size:13px;font-weight:600}.wet-sim-actions{justify-content:flex-start;margin-top:6px}.wet-sim-map{margin:8px 0 4px}.wet-sim-map canvas{object-fit:contain;background:#fff;border-radius:4px;width:100%;max-height:320px;display:block}.wet-modal{max-height:calc(100vh - 48px);overflow-y:auto}.wet-modal>*{flex-shrink:0}.wet-sim-piece{margin:12px 0 2px;font-size:12px;font-weight:600}.cloud-category-cell{align-items:center;gap:6px;min-width:0;display:inline-flex}.category-dot{vertical-align:middle;border-radius:50%;flex:none;width:9px;height:9px;margin-right:5px;display:inline-block}.cloud-category-cell .category-dot{margin-right:0}.cloud-categories .cloud-manage{margin-left:auto}.cloud-subcategories{border-left:2px solid var(--border-strong);padding-left:14px}.category-manager{flex-direction:column;gap:10px;min-height:0;display:flex;overflow-y:auto}.category-rows{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.category-rows li{align-items:center;gap:8px;display:flex}.category-rows li.is-off span{color:var(--text-2);text-decoration:line-through}.category-rows .category-row{grid-template-columns:minmax(120px,1.2fr) minmax(120px,1fr) auto minmax(110px,1fr) auto;gap:6px;display:grid}.category-row .input{width:100%;min-width:0;height:30px;font-size:12px}.category-colors{gap:3px;display:inline-flex}.category-swatch{border:1px solid var(--border-strong);cursor:pointer;background:0 0;border-radius:50%;flex:none;width:16px;height:16px;padding:0}.category-swatch.is-active{outline:2px solid var(--accent);outline-offset:1px}.category-row-tools{gap:2px;display:inline-flex}@media (width<=720px){.category-rows .category-row{grid-template-columns:1fr 1fr}}.form-ops{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.form-op{border:1px solid var(--border);border-radius:4px;padding:4px 6px}.form-op.is-off{opacity:.55}.form-op.has-error{border-color:var(--warning,#c0392b)}.form-op-head{align-items:center;gap:2px;display:flex}.form-op-title{min-width:0;color:var(--text);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:1;padding:4px 2px;font-size:12px;overflow:hidden}.form-op-body{flex-direction:column;gap:6px;padding:6px 0 2px;display:flex}.form-op-chips,.form-op-add{flex-wrap:wrap;gap:4px;display:flex}.form-op-chips .ghost-button,.form-op-add .ghost-button{width:auto;height:26px;padding:0 8px;font-size:12px}.form-op-chips .ghost-button.is-active{border-color:var(--accent);color:var(--accent)}.search-help{gap:6px;margin-bottom:8px;display:grid}.search-help-hints{gap:4px;display:grid}.search-help-hint{text-align:left;white-space:normal;grid-template-columns:auto 1fr;align-items:start;column-gap:6px;display:grid}.search-help-hint>.muted{grid-column:2;font-size:.85em}.search-help-log-head{align-items:baseline;gap:12px;display:flex}.search-help-log-head>span{flex:1}.help-chat-button{z-index:30;background:var(--accent);width:52px;height:52px;color:var(--accent-ink);box-shadow:0 6px 18px #00000059, 0 0 0 3px var(--accent-soft);cursor:pointer;border:0;border-radius:50%;place-items:center;transition:transform .12s,background .12s;display:grid;position:absolute;bottom:72px;right:16px}.help-chat-button:hover{background:var(--accent-strong);transform:scale(1.06)}.help-chat-button:focus-visible{outline:2px solid var(--text);outline-offset:3px}.help-chat-button.is-empty{animation:2.4s ease-in-out infinite help-chat-call}@keyframes help-chat-call{0%,to{box-shadow:0 6px 18px #00000059, 0 0 0 3px var(--accent-soft)}50%{box-shadow:0 6px 18px #00000059, 0 0 0 10px var(--accent-soft)}}@media (prefers-reduced-motion:reduce){.help-chat-button.is-empty{animation:none}}.help-chat{z-index:31;border:1px solid var(--border-strong);background:var(--surface);border-radius:8px;flex-direction:column;width:min(400px,100% - 32px);max-height:calc(100% - 32px);display:flex;position:absolute;bottom:16px;right:16px;overflow:hidden;box-shadow:0 12px 40px #00000073}.help-chat[hidden]{display:none}.help-chat-head{border-bottom:1px solid var(--border);background:var(--accent);color:var(--accent-ink);align-items:center;gap:8px;padding:10px 12px;font-weight:600;display:flex}.help-chat-head span{flex:1}.help-chat-head .icon-button{color:inherit;font-size:20px;line-height:1}.help-chat-body{min-height:0;overflow-y:auto}.help-chat-body .pattern-search{border:0}.hw-magnet .hw-body{stroke-dasharray:2 2;fill-opacity:.35}.glue-zone{fill:url(#glue-hatch);stroke:#c9a227;stroke-width:.6px;stroke-opacity:.7}.glue-hatch-line{stroke:#c9a227;stroke-width:1.4px;stroke-opacity:.75}.seam-setup{z-index:20;border:1px solid var(--border);background:var(--surface);border-radius:4px;gap:8px;width:min(360px,100% - 24px);max-height:min(60%,520px);padding:10px;font-size:12px;display:grid;position:absolute;bottom:12px;right:12px;overflow-y:auto}.seam-setup p{margin:0;font-size:11px;line-height:1.4}.seam-setup-head{justify-content:space-between;align-items:center;display:flex}.seam-setup-list{gap:4px;margin:0;padding:0;list-style:none;display:grid}.seam-setup-list li{border:1px solid #0000;border-radius:3px;gap:3px;padding:4px 6px;display:grid}.seam-setup-list li.is-active{border-color:var(--accent)}.seam-setup-row{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:10px auto 1fr auto;align-items:center;gap:6px;padding:0;display:grid}.seam-setup-row i{border-radius:2px;width:10px;height:10px}.seam-setup-row span:first-of-type{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.seam-setup-state{color:var(--text-2);white-space:nowrap}.seam-setup-list li.is-apart .seam-setup-state{color:var(--danger)}.seam-setup-actions,.seam-setup-pieces{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.seam-setup .ghost-button{flex:none;width:auto;min-width:0;min-height:22px;padding:1px 6px;font-size:11px}.seam-setup-head-actions{gap:4px;display:inline-flex}.seam-setup-advice{color:var(--text-2);flex-wrap:wrap;align-items:center;gap:4px;font-size:11px;line-height:1.4;display:flex}.check-pill{white-space:nowrap;gap:6px}.check-pill.is-warning{color:var(--accent);border-color:var(--accent-line)}.check-pill.is-error{color:var(--danger);border-color:var(--danger)}.check-pill.is-clean{color:var(--muted)}.check-pill-count,.topbar.is-tight .check-pill .topbar-label{display:none}.topbar.is-tight .check-pill-count{display:inline}.welcome{z-index:900;background:#0a08069e;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.welcome-card{background:var(--surface);border:1px solid var(--border-strong);border-radius:14px;justify-items:center;gap:18px;width:min(760px,100%);max-height:calc(100vh - 32px);padding:24px;display:grid;overflow:auto}.welcome-head{justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.welcome-lang{color:var(--muted);white-space:nowrap;align-items:center;gap:8px;font-size:14px;display:flex}.welcome-lang .select-wrap select{font-size:15px}@media (width<=560px){.welcome-head{flex-wrap:wrap}}.welcome-head h2{font-family:var(--serif);color:var(--text);margin:0;font-size:30px;font-weight:500}.welcome-ways{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;width:100%;display:grid}.welcome-way{text-align:left;border:1px solid var(--border-strong);background:var(--surface-2);color:var(--text);cursor:pointer;font:inherit;border-radius:12px;justify-items:start;gap:8px;padding:18px;display:grid}.welcome-way:hover,.welcome-way:focus-visible{border-color:var(--accent);background:var(--accent-soft);outline:none}.welcome-way .icon{color:var(--accent)}.welcome-way-title{font-size:18px;font-weight:600}.welcome-way-text{color:var(--text-2);font-size:15px;line-height:1.45}.overview-more{margin:4px 0 8px}.next-step{border:1px solid var(--accent-line);background:var(--accent-soft);border-radius:10px;gap:8px;margin-bottom:12px;padding:12px;display:grid}.next-step .pattern-search-group{margin:0}.next-step-text{color:var(--text);margin:0;font-size:15px;line-height:1.45}.next-step .primary-button{justify-self:start}.next-step-fill{gap:8px;display:flex}.next-step-fill .input{width:130px}
