@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/gridfinity-studio/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/gridfinity-studio/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/gridfinity-studio/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/gridfinity-studio/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/gridfinity-studio/assets/geist-latin-wght-normal-BgDaEnEv.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color-scheme:dark;font-family:Geist Variable,PingFang SC,Microsoft YaHei,ui-sans-serif,sans-serif;font-synthesis:none;font-kerning:normal;--bg: oklch(12.5% .006 265);--surface-0: oklch(14.5% .006 265);--surface-1: oklch(17.5% .007 265);--surface-2: oklch(21% .008 265);--surface-3: oklch(25% .009 265);--line: oklch(27% .008 265);--line-strong: oklch(34% .009 265);--text: oklch(94% .004 265);--text-secondary: oklch(72% .008 265);--text-muted: oklch(56% .008 265);--control: oklch(19% .007 265);--control-hover: oklch(23% .008 265);--accent: oklch(91% .006 265);--accent-ink: oklch(17% .006 265);--focus: oklch(76% .025 255);--success: oklch(72% .055 155);--danger: oklch(68% .11 25);--radius-control: 7px;--radius-panel: 10px}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0}body{min-width:320px;overflow:hidden;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{container-type:inline-size;display:grid;grid-template-rows:68px minmax(0,1fr);width:100%;height:100%;min-height:620px;background:var(--bg)}.topbar{position:relative;z-index:5;display:grid;grid-template-columns:340px 1fr 340px;align-items:center;height:68px;padding:0 16px 0 18px;background:var(--surface-0);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{display:grid;place-items:center;width:36px;height:36px;color:var(--text);background:var(--surface-2);border:1px solid var(--line-strong);border-radius:9px}.brand-mark svg{width:18px;height:18px;stroke-width:1.7}.brand div{display:flex;flex-direction:column;gap:4px}.brand strong{font-size:.94rem;line-height:1;font-weight:620;letter-spacing:-.025em}.brand small{color:var(--text-muted);font-size:.58rem;line-height:1;font-weight:560;letter-spacing:.11em}.mode-switch{justify-self:center;display:flex;gap:2px;padding:3px;background:var(--bg);border:1px solid var(--line);border-radius:9px}.mode-switch button{min-width:96px;height:34px;padding:0 16px;color:var(--text-muted);background:transparent;border:0;border-radius:6px;font-size:.75rem;font-weight:560;transition:color .14s ease,background .14s ease}.mode-switch button:hover{color:var(--text-secondary)}.mode-switch button.is-active{color:var(--text);background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line-strong)}.export-actions{justify-self:end;display:flex;gap:7px}.language-select{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 7px 0 9px;color:var(--text-muted);background:var(--surface-0);border:1px solid var(--line-strong);border-radius:var(--radius-control)}.language-select svg{width:14px;height:14px;flex:0 0 auto;stroke-width:1.8}.language-select select{max-width:94px;padding:0 17px 0 0;color:var(--text-secondary);background:transparent;border:0;outline:0;font-size:.64rem;font-weight:560}.language-select:focus-within{outline:2px solid var(--focus);outline-offset:2px}.language-select select:focus-visible{outline:0}.export-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 12px;border-radius:var(--radius-control);font-size:.7rem;font-weight:590;white-space:nowrap;transition:color .14s ease,background .14s ease,border-color .14s ease}.export-actions svg{width:14px;height:14px;stroke-width:1.8}.secondary-action{color:var(--text-secondary);background:var(--surface-0);border:1px solid var(--line-strong)}.secondary-action:hover{color:var(--text);background:var(--surface-2);border-color:#4a4d53}.primary-action{color:var(--accent-ink);background:var(--accent);border:1px solid var(--accent)}.primary-action:hover{background:#f0f2f4;border-color:#f0f2f4}.workspace{display:grid;grid-template-columns:344px minmax(0,1fr);min-height:0}.inspector{position:relative;z-index:3;min-height:0;overflow-y:auto;color:var(--text);background:var(--surface-0);border-right:1px solid var(--line);scrollbar-width:thin;scrollbar-color:var(--surface-3) transparent}.inspector-heading{display:flex;justify-content:space-between;align-items:flex-start;min-height:112px;padding:25px 22px 20px;border-bottom:1px solid var(--line)}.inspector-heading h1{margin:0 0 8px;font-size:1.22rem;line-height:1.1;font-weight:590;letter-spacing:-.035em}.inspector-heading p{max-width:25ch;margin:0;color:var(--text-muted);font-size:.67rem;line-height:1.55}.standard-reference{display:inline-flex;align-items:center;gap:5px;margin-top:10px;color:var(--text-secondary);font-size:.59rem;font-weight:560;text-decoration:none}.standard-reference:hover{color:var(--text)}.standard-reference:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:3px}.standard-reference svg{width:11px;height:11px;stroke-width:1.8}.standard-mark{display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;color:var(--text-secondary);background:var(--surface-1);border:1px solid var(--line-strong);border-radius:50%;font-size:.63rem;font-weight:680;font-variant-numeric:tabular-nums}.inspector-section{border-bottom:1px solid var(--line)}.section-title{display:flex;align-items:center;gap:8px;padding:18px 22px 10px}.section-title svg{width:13px;height:13px;color:var(--text-muted);stroke-width:1.7}.section-title h2{margin:0;color:var(--text-secondary);font-size:.62rem;line-height:1;font-weight:630;letter-spacing:.07em;text-transform:uppercase}.info-tooltip{position:relative;display:inline-flex;align-items:center}.tooltip-trigger{display:grid;place-items:center;width:18px;height:18px;padding:0;color:var(--text-muted);background:transparent;border:0;border-radius:50%}.tooltip-trigger:hover,.tooltip-trigger:focus-visible{color:var(--text);background:var(--surface-2)}.tooltip-trigger svg,.section-title .tooltip-trigger svg{width:12px;height:12px;stroke-width:1.7}.tooltip-content{position:absolute;top:calc(100% + 7px);left:0;z-index:30;width:230px;padding:9px 10px;visibility:hidden;color:var(--text-secondary);background:var(--surface-3);border:1px solid var(--line-strong);border-radius:var(--radius-control);box-shadow:0 8px 24px #00000052;font-size:.58rem;font-weight:460;line-height:1.55;letter-spacing:0;text-transform:none;opacity:0;pointer-events:none;transform:translateY(-3px);transition:opacity .12s ease,transform .12s ease,visibility .12s ease}.info-tooltip:hover .tooltip-content,.info-tooltip:focus-within .tooltip-content{visibility:visible;opacity:1;transform:translateY(0)}.section-content{padding:0 16px 16px}.number-field,.toggle-row{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:12px;padding:8px 7px;border-radius:var(--radius-control);transition:background .14s ease}.number-field:hover,.toggle-row:hover{background:var(--surface-1)}.field-copy{display:flex;min-width:0;flex-direction:column;gap:4px}.field-copy>span{color:var(--text);font-size:.72rem;font-weight:520}.field-label{display:flex;align-items:center;gap:5px}.field-label label{cursor:pointer}.field-label .tooltip-content{width:220px}.field-copy small{max-width:158px;color:var(--text-muted);font-size:.57rem;line-height:1.45}.number-field.is-disabled .field-copy{opacity:.45}.number-control{position:relative;display:grid;grid-template-columns:27px 72px 27px;align-items:stretch;height:34px;flex:0 0 auto;overflow:hidden;background:var(--control);border:1px solid var(--line-strong);border-radius:var(--radius-control)}.number-control button{display:grid;place-items:center;padding:0;color:var(--text-muted);background:var(--surface-1);border:0;font-size:.86rem;line-height:1}.number-control button:first-child{border-right:1px solid var(--line)}.number-control button:last-child{border-left:1px solid var(--line)}.number-control button:hover:not(:disabled){color:var(--text);background:var(--surface-3)}.number-control button:disabled{opacity:.28}.number-control input{width:100%;padding:0 24px 0 5px;color:var(--text);background:var(--control);border:0;outline:0;text-align:right;font-size:.66rem;font-weight:600;font-variant-numeric:tabular-nums;appearance:textfield}.number-control input::-webkit-inner-spin-button{appearance:none}.number-control input:disabled{color:var(--text-muted);background:var(--surface-1)}.number-unit{position:absolute;right:31px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--text-muted);font-size:.51rem;font-weight:570}.toggle-row{position:relative;cursor:pointer}.toggle-row input{position:absolute;opacity:0;pointer-events:none}.toggle-track{position:relative;width:35px;height:20px;flex:0 0 auto;background:var(--surface-3);border:1px solid var(--line-strong);border-radius:20px;transition:background .16s ease}.toggle-track span{position:absolute;top:3px;left:3px;width:12px;height:12px;background:var(--text-secondary);border-radius:50%;transition:transform .16s cubic-bezier(.16,1,.3,1),background .16s ease}.toggle-row input:checked+.toggle-track{background:var(--accent);border-color:var(--accent)}.toggle-row input:checked+.toggle-track span{background:var(--accent-ink);transform:translate(15px)}.toggle-row input:focus-visible+.toggle-track{outline:2px solid var(--focus);outline-offset:2px}.preset-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:5px 7px 1px}.preset-row button,.divider-actions button{min-height:31px;padding:0 7px;color:var(--text-secondary);background:var(--control);border:1px solid var(--line-strong);border-radius:var(--radius-control);font-size:.58rem;font-weight:560}.preset-row button:hover,.divider-actions button:hover:not(:disabled){color:var(--text);background:var(--control-hover);border-color:#4a4d53}.section-note{margin:8px 7px 2px;padding:10px 11px;color:var(--text-muted);background:var(--surface-1);border:1px solid var(--line);border-radius:var(--radius-control);font-size:.57rem;line-height:1.55}.grid-capacity-hint{margin:6px 7px 1px;color:var(--text-muted);font-size:.54rem;line-height:1.5}.measurement-card,.project-summary,.orientation-card,.divider-measurements{border:1px solid var(--line);border-radius:var(--radius-control)}.measurement-card{display:grid;gap:4px;margin:8px 7px 2px;padding:11px 12px;color:var(--text-secondary);background:var(--surface-1);font-variant-numeric:tabular-nums}.measurement-card strong{color:var(--text);font-size:.68rem;font-weight:590}.measurement-card span{font-size:.57rem}.measurement-card small{color:var(--text-muted);font-size:.53rem;line-height:1.45}.select-field{display:grid;gap:7px;margin:6px 7px 10px;color:var(--text-secondary);font-size:.66rem;font-weight:540}.select-field select,.divider-quick-selects select{width:100%;color:var(--text);background:var(--control);border:1px solid var(--line-strong);border-radius:var(--radius-control);outline:0}.select-field select{height:36px;padding:0 30px 0 10px;font-size:.66rem;font-weight:540}.project-summary,.orientation-card{display:grid;gap:4px;margin:0 7px 9px;padding:11px 12px}.project-summary{color:var(--text-muted);background:var(--surface-1)}.project-summary strong{color:var(--text);font-size:.62rem;font-weight:590}.project-summary span{font-size:.57rem;line-height:1.4}.project-summary small{color:var(--text-muted);font-size:.52rem;line-height:1.4}.project-summary small a{color:inherit;text-underline-offset:2px}.project-summary small a:hover{color:var(--text-secondary)}.orientation-card{color:var(--text-secondary);background:var(--control)}.orientation-card strong{color:var(--text-muted);font-size:.54rem;font-weight:640;text-transform:uppercase;letter-spacing:.07em}.orientation-card span{font-size:.61rem}.orientation-card.is-flipped{color:var(--text);background:var(--surface-2);border-color:var(--line-strong)}.bed-fit{display:flex;align-items:center;gap:8px;margin:0 7px 2px;padding:9px 11px;border:1px solid var(--line);border-radius:var(--radius-control);font-size:.57rem;line-height:1.4}.bed-fit i{width:6px;height:6px;flex:0 0 auto;border-radius:50%}.bed-fit.fits{color:#a4bfac;background:#0d130f}.bed-fit.fits i{background:var(--success)}.bed-fit.does-not-fit{color:#e1a7a1;background:#190f0e}.bed-fit.does-not-fit i{background:var(--danger)}.divider-editor{display:grid;gap:9px;padding:1px 7px 2px}.divider-quick-selects{display:grid;grid-template-columns:1fr 1fr;gap:7px}.divider-quick-selects label{display:grid;gap:6px;color:var(--text-secondary);font-size:.57rem;font-weight:550}.divider-quick-selects select{height:33px;padding:0 8px;font-size:.56rem}.divider-apply{height:32px;color:var(--accent-ink);background:var(--accent);border:1px solid var(--accent);border-radius:var(--radius-control);font-size:.61rem;font-weight:610}.divider-apply:hover{background:#f0f2f4;border-color:#f0f2f4}.divider-canvas-shell{display:grid;place-items:center;min-height:140px;max-height:258px;padding:11px;overflow:hidden;background:var(--bg);border:1px solid var(--line-strong);border-radius:var(--radius-panel)}.divider-canvas{display:block;width:100%;max-height:234px;overflow:visible;touch-action:none;cursor:crosshair;user-select:none}.divider-cavity{fill:var(--surface-1);stroke:var(--line-strong);stroke-width:1.2px;vector-effect:non-scaling-stroke}.divider-grid-guide{stroke:#5b5e63;stroke-width:1px;stroke-dasharray:3 3;opacity:.75;vector-effect:non-scaling-stroke;pointer-events:none}.partition-region{stroke:#86898f;stroke-width:1.5px;vector-effect:non-scaling-stroke;pointer-events:none}.partition-tone-0{fill:#27292d}.partition-tone-1{fill:#2e3034}.partition-tone-2{fill:#202226}.partition-tone-3{fill:#36383c}.partition-label{fill:var(--text-secondary);font-size:5px;font-weight:660;text-anchor:middle;dominant-baseline:central;pointer-events:none;user-select:none}.partition-selection{fill:#e2e4e91f;stroke:var(--text);stroke-width:2px;stroke-dasharray:5 3;vector-effect:non-scaling-stroke;pointer-events:none}.divider-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.divider-actions button:last-child{grid-column:1 / -1}.divider-actions button:disabled{opacity:.34}.divider-measurements{display:grid;gap:5px;padding:9px 10px;overflow:hidden;color:var(--text-muted);background:var(--surface-1);font-size:.54rem;line-height:1.4;font-variant-numeric:tabular-nums}.divider-measurements span{overflow-wrap:anywhere}.divider-measurements b{display:inline-grid;place-items:center;min-width:29px;height:17px;margin-right:6px;padding:0 4px;color:var(--text-secondary);background:var(--surface-3);border-radius:4px;font-size:.5rem}.divider-editor .section-note{margin:0}.canvas-region{position:relative;min-width:0;min-height:0;overflow:hidden;background:var(--bg)}.canvas-region:before{position:absolute;inset:0;z-index:1;pointer-events:none;content:"";border:1px solid oklch(22% .007 265);border-width:0 0 0 1px}.viewport-wrap{position:absolute;inset:0 0 42px}.viewport-wrap canvas{display:block;width:100%;height:100%;outline:none;touch-action:none;background:var(--bg)}.viewport-badge{position:absolute;top:18px;left:18px;display:grid;grid-template-columns:22px auto;grid-template-rows:auto auto;column-gap:8px;max-width:min(360px,calc(100% - 160px));padding:10px 12px;color:var(--text-secondary);background:var(--surface-0);border:1px solid var(--line);border-radius:var(--radius-panel);pointer-events:none}.viewport-badge svg{grid-row:1 / 3;width:16px;height:16px;margin-top:1px;color:var(--text-secondary);stroke-width:1.6}.viewport-badge span{font-size:.53rem;font-weight:650;line-height:1.1;letter-spacing:.11em}.viewport-badge strong{overflow:hidden;color:var(--text-muted);font-size:.57rem;line-height:1.35;font-weight:470;text-overflow:ellipsis;white-space:nowrap}.viewport-toolbar{position:absolute;top:18px;right:18px;display:flex;overflow:hidden;background:var(--surface-0);border:1px solid var(--line);border-radius:var(--radius-panel)}.viewport-toolbar button{display:flex;align-items:center;gap:7px;height:38px;padding:0 12px;color:var(--text-muted);background:transparent;border:0;font-size:.61rem;font-weight:540}.viewport-toolbar button+button{border-left:1px solid var(--line)}.viewport-toolbar button:hover{color:var(--text);background:var(--surface-2)}.viewport-toolbar svg{width:14px;height:14px;stroke-width:1.7}.viewport-help{position:absolute;left:50%;bottom:15px;transform:translate(-50%);padding:6px 9px;color:var(--text-muted);background:var(--surface-0);border:1px solid var(--line);border-radius:6px;font-size:.56rem;line-height:1;pointer-events:none;white-space:nowrap}.update-indicator{position:absolute;top:18px;left:50%;z-index:4;transform:translate(-50%);padding:8px 11px;color:var(--text-secondary);background:var(--surface-1);border:1px solid var(--line-strong);border-radius:var(--radius-control);font-size:.57rem;font-weight:560}.statusbar{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:space-between;height:42px;padding:0 17px;color:var(--text-secondary);background:var(--surface-0);border-top:1px solid var(--line);font-variant-numeric:tabular-nums}.status-group{display:flex;align-items:center;gap:18px}.status-group>span{display:inline-flex;align-items:center;gap:6px;font-size:.57rem;white-space:nowrap}.status-group small{color:var(--text-muted);font-size:.51rem}.status-group svg{width:12px;height:12px;color:var(--text-muted)}.diagnostics i{width:6px;height:6px;border-radius:50%;background:var(--danger)}.diagnostics .valid{color:#a1bca9}.diagnostics .valid i{background:var(--success)}@container (max-width: 1040px){.topbar{grid-template-columns:250px 1fr 226px}.export-actions span{display:none}.export-actions button{width:36px;padding:0}.language-select{padding-inline:8px}.language-select select{width:62px}.workspace{grid-template-columns:304px minmax(0,1fr)}.number-control{grid-template-columns:25px 64px 25px}.field-copy small{max-width:125px}}@container (max-width: 720px){.app-shell{display:block;height:auto;min-height:100%}.topbar{position:sticky;top:0;grid-template-columns:1fr auto;height:60px;padding:0 11px}.brand small{display:none}.brand-mark{width:34px;height:34px}.mode-switch{position:absolute;top:68px;left:50%;z-index:8;transform:translate(-50%)}.mode-switch button{min-width:94px;height:36px}.export-actions{grid-column:2}.language-select select{width:58px}.secondary-action{display:none!important}.workspace{display:flex;flex-direction:column}.canvas-region{order:1;height:60vh;min-height:440px}.inspector{order:2;height:auto;max-height:none;overflow:visible;border-top:1px solid var(--line);border-right:0}.viewport-badge{top:66px;left:11px}.viewport-toolbar{top:66px;right:11px}.viewport-toolbar span{display:none}.viewport-toolbar button{width:38px;justify-content:center;padding:0}.statusbar{overflow-x:auto;gap:22px}.status-group{gap:13px}.diagnostics{display:none}.number-field,.toggle-row{min-height:60px}.number-control{height:38px}}@media(max-width:720px){body{overflow:auto}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
