@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap";:root{font-family:DM Sans,Arial,sans-serif;color:#181e23;background:#fff;font-synthesis:none;font-size:16px;--green:#234c3b;--border:#dfe2e3;--muted:#69736e;--canvas:#e8ebed;--radius:7px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);background:#fff;color:inherit;min-height:40px;padding:8px 14px;border-radius:var(--radius);cursor:pointer;font-weight:550;transition:background .15s,border-color .15s}button:hover{background:#f1f5f2;border-color:#a4b7aa}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,[role=button]:focus-visible{outline:3px solid #83ae92;outline-offset:3px}svg{flex-shrink:0}input,select{border:1px solid #cdd3d4;background:#fff;color:#19231d;border-radius:6px;min-width:0;padding:10px 12px;min-height:42px}h1,h2,p{margin:0}h1{font-size:25px;line-height:1.3;letter-spacing:-.8px}h2{font-size:17px;letter-spacing:-.3px;font-weight:700}.primary,.active{background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}.primary:hover{background:#153d2c!important}.outline{border-color:var(--green);color:var(--green)}.full{width:100%}.icon-button{padding:8px;border:none;background:transparent;min-width:36px;min-height:36px}.icon-button:hover{background:#eaf0ec}.icon-button svg{width:21px;height:21px}.bordered{border:1px solid var(--border);background:#fff}.text-button{border:0;background:transparent;padding:6px 0;color:#55655b;font-size:14px;justify-content:flex-start}.muted{color:var(--muted);line-height:1.65;font-size:15px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.app{min-height:100dvh;display:flex;flex-direction:column}.topbar{height:76px;flex-shrink:0;display:flex;align-items:center;border-bottom:1px solid var(--border);padding:0 26px;gap:22px;position:relative;background:#fff;z-index:3}.brand{font-size:32px;letter-spacing:-1.6px;color:#184937;font-weight:700;line-height:1}.brand-divider{height:29px;width:1px;background:#bac2bf}.studio{font-size:17px;color:#414949}.main-tabs{position:absolute;left:50%;transform:translate(-50%);display:flex;border-radius:7px;background:#edf0f1;padding:3px;gap:2px}.main-tabs button{border:0;padding:9px 23px;background:transparent;min-height:38px;font-size:15px}.header-actions{display:flex;align-items:center;gap:9px;margin-left:auto}.action-divider{height:28px;width:1px;background:var(--border);margin:0 5px}.project-button{padding:8px;border:0;background:transparent}.save-button{padding:10px 17px;font-size:15px}.editor{display:grid;grid-template-columns:280px minmax(0,1fr) 300px;flex:1;min-height:calc(100dvh - 143px)}.left-panel,.right-panel{background:#fff;padding:30px 23px;z-index:2}.left-panel{border-right:1px solid var(--border)}.right-panel{border-left:1px solid var(--border)}.panel-title{margin-bottom:24px}.model-select{display:flex;align-items:center;gap:13px;border:1px solid var(--green);background:#f5f9f6;border-radius:7px;padding:15px;color:#213e2f;margin-bottom:5px}.model-select strong{font-size:16px}.settings-section{padding:25px 0;border-bottom:1px solid var(--border)}.settings-section h2{margin-bottom:17px}.number-field{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:11px 0;font-size:15px}.input-unit{display:flex;align-items:center;position:relative;width:133px}.input-unit input{width:100%;padding:9px 45px 9px 12px;font-size:16px;font-weight:550}.input-unit>span{position:absolute;right:24px;font-size:14px;color:#64706a;pointer-events:none}.input-unit input::-webkit-inner-spin-button{position:absolute;right:5px;top:10px;height:21px;opacity:.5}.field-note{font-size:13px;color:#727b76;line-height:1.6;margin-top:12px}.swatches{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.swatch{display:flex;flex-direction:column;border:0;padding:0;background:none;gap:9px;border-radius:5px;justify-content:flex-start;font-size:13px;text-align:center;line-height:1.4;font-weight:450}.swatch:hover{background:transparent}.wood-sample{width:100%;height:67px;border-radius:7px;position:relative;display:block;border:3px solid transparent;background-blend-mode:multiply;background-image:repeating-linear-gradient(3deg,transparent 0px,transparent 3px,#ffffff24 4px,transparent 5px,#54380f18 6px,transparent 8px),repeating-linear-gradient(176deg,transparent 0,transparent 20px,#e1be8b38 21px,transparent 24px)}.oak{background-color:#b78a59}.walnut{background-color:#775139}.maple{background-color:#dfc49a}.swatch.selected .wood-sample{outline:2px solid var(--green);outline-offset:2px}.wood-sample svg{position:absolute;right:4px;top:4px;border-radius:50%;background:var(--green);color:#fff;padding:3px;width:22px;height:22px}.add-section{border-bottom:0;padding-bottom:22px}.add-section .field-note{text-align:center}.file-link{margin-top:4px}.workspace{position:relative;min-height:640px;background:radial-gradient(ellipse at 50% 44%,#f2f3f3,#e7eaec 64%,#dfe3e7);overflow:hidden}.scene{position:absolute;top:0;right:0;bottom:0;left:0}.scene canvas{display:block;touch-action:none;width:100%;height:100%}.scene-loading,.webgl-error{position:absolute;top:48%;left:10%;right:10%;text-align:center;color:#55685d;line-height:1.6}.canvas-toolbar{position:absolute;left:50%;transform:translate(-50%);top:22px;display:flex;align-items:center;gap:13px;padding:6px;background:#ffffffed;border:1px solid #d8dddf;border-radius:10px;z-index:1;box-shadow:0 3px 8px #25352d08;white-space:nowrap}.view-tabs{display:flex;gap:4px}.view-tabs button{padding:8px 11px;min-height:36px;font-size:14px;border-color:transparent;background:transparent}.view-tabs button:not(.active):hover{background:#edf2ee}.toolbar-divider{height:23px;width:1px;background:#ccd2cf}.explode-button{padding:6px 7px;border:0;font-size:14px;background:transparent;gap:8px}.switch{height:20px;width:34px;background:#cbd0cd;border-radius:12px;padding:3px;display:flex}.switch>span{width:14px;height:14px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .2s}.is-on .switch{background:var(--green)}.is-on .switch>span{transform:translate(14px)}.reset-view{position:absolute;right:15px;top:26px;background:#fff;border:1px solid var(--border);z-index:1}.dimension-line{position:absolute;bottom:24%;left:13%;right:13%;display:flex;gap:15px;align-items:center;pointer-events:none;font-size:18px}.dimension-line span{height:1px;background:#747f79;flex:1;position:relative}.dimension-line span:first-child:before,.dimension-line span:last-child:after{content:"";position:absolute;width:1px;height:12px;background:#747f79;top:-5px}.dimension-line span:last-child:after{right:0}.canvas-hint{position:absolute;bottom:46px;left:50%;transform:translate(-50%);background:#ffffffd9;border:1px solid #d2d8d4;padding:10px 16px;border-radius:30px;font-size:14px;display:flex;align-items:center;gap:9px;white-space:nowrap;box-shadow:0 2px 3px #00000006;pointer-events:none}.orbit-hint{position:absolute;bottom:18px;left:0;width:100%;text-align:center;font-size:12px;color:#727e77;pointer-events:none}.inspector-heading{display:flex;align-items:center;justify-content:space-between;padding:2px 0 21px;border-bottom:1px solid var(--border)}.inspector-heading h2{font-size:23px;letter-spacing:-.7px}.inspector-heading>div{display:flex;gap:8px}.right-panel .settings-section{padding:23px 0}.right-panel .input-unit{width:132px}.width-slider{padding:0;width:100%;min-height:15px;margin:6px 0 9px;accent-color:var(--green);border:0;cursor:ew-resize}.info-line{font-size:13px;color:#606b64;display:flex;gap:8px;align-items:center;line-height:1.5}.right-panel select{width:100%;margin-bottom:8px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334b3e' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:35px}.elevation-section{padding-bottom:18px!important}.elevation{width:100%;margin-top:9px;display:block;touch-action:none}.divider-handle{cursor:ew-resize}.divider-handle:hover{fill:#234c3b55}.delete-button{font-size:13px;border:0;color:#806358;background:none;min-height:36px;padding:8px 0;margin-top:17px}.summary{display:flex;align-items:center;border-top:1px solid var(--border);gap:0;min-height:67px;font-size:13px;padding:13px 26px;flex-wrap:wrap;background:#fff}.summary>div{display:flex;align-items:center;gap:12px;padding-right:28px;color:#244a38}.summary>div strong{font-size:15px;color:#19241e}.summary>span{padding:0 24px;border-left:1px solid #d6dcda;color:#55615a}.summary>span strong{font-weight:500;color:#25352b}.summary>button{margin-left:auto;font-size:13px;min-height:33px;padding:6px 12px}.part-caption{position:absolute;bottom:125px;left:30px;right:30px;text-align:center;font-size:14px;color:#234c3b;background:#fffffff2;padding:8px;border-radius:7px;z-index:1}.part-caption button{font-size:13px;min-height:30px;padding:3px 10px;margin-left:10px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%);background:#203c2f;color:#fff;border:1px solid #3b594a;border-radius:9px;padding:12px 14px;display:flex;align-items:center;gap:12px;z-index:30;box-shadow:0 8px 40px #152a2926;max-width:min(90vw,680px);font-size:14px;line-height:1.5}.toast .icon-button{color:#fff;min-width:28px;min-height:28px;padding:3px}.toast .icon-button:hover{background:#ffffff18}.mobile-tools,.mobile-close{display:none}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#182c2460;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:20px;z-index:20}.modal{width:450px;max-width:100%;max-height:90dvh;overflow:auto;background:#fff;padding:28px;border-radius:14px;box-shadow:0 20px 80px #112a3240}.modal-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.modal-heading h2{font-size:23px}.modal>.full{margin-top:12px}.stacked-field{display:flex;flex-direction:column;gap:8px;font-size:14px;margin:20px 0}.production{padding:35px 40px;max-width:1600px;width:100%;margin:0 auto}.production-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.production-header h1{font-size:29px;margin-bottom:8px}.production-header p{font-size:14px;color:var(--muted)}.actions{display:flex;gap:10px}.actions button{font-size:14px}.warning{display:flex;gap:13px;background:#fbf7ec;border:1px solid #eadfc0;color:#6b5426;border-radius:8px;padding:17px 20px;font-size:14px;line-height:1.6}.warning>svg{margin-top:3px}.warning p{margin-top:3px}.production-summary{display:flex;gap:30px;flex-wrap:wrap;padding:25px 0;border-bottom:1px solid var(--border);font-size:14px;color:#637065}.production-summary span{display:flex;align-items:center;gap:8px}.production-summary strong{color:#263b2e}.production-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:40px;margin-top:28px}.parts-section>h2,.assembly>h2{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:19px}.parts-section>.muted{margin-bottom:17px;font-size:14px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}th{font-size:12px;letter-spacing:.2px;color:#637064;background:#f4f6f4;font-weight:600;padding:13px 10px;white-space:nowrap}td{padding:12px 10px;border-bottom:1px solid #e7ebe7}td small{display:block;font-size:12px;color:#7b857d;margin-top:3px}.numeric{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:13px}tbody tr{cursor:pointer}tbody tr:hover,.selected-row{background:#edf4ee}.part-id{color:#234c3b;background:#f2f7f3;min-height:30px;padding:4px 8px;font-size:13px;border:1px solid #d6e2d8}.assembly{padding-left:26px;border-left:1px solid var(--border)}.assembly ol{margin:20px 0 28px;padding-left:25px}.assembly ol li{padding-left:8px;margin-bottom:21px;font-size:14px}.assembly li::marker{color:#234c3b;font-weight:700}.assembly p{color:#68746b;font-size:13px;line-height:1.7;margin-top:6px}.hardware{list-style:none;margin:15px 0 25px;padding:0}.hardware li{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid #edf0ed;font-size:13px;line-height:1.5}.hardware strong{white-space:nowrap}.assembly details{border-top:1px solid var(--border);padding-top:17px}.assembly summary{cursor:pointer;font-size:14px;color:#234c3b;font-weight:600}@media(min-width:1600px){.editor{grid-template-columns:310px minmax(0,1fr) 330px}.left-panel,.right-panel{padding:34px 28px}.workspace{min-height:740px}.settings-section{padding:30px 0}.wood-sample{height:78px}.canvas-toolbar{top:28px}}@media(max-width:1200px){.topbar{gap:15px;padding:0 18px}.studio{display:none}.main-tabs button{padding:9px 17px}.editor{grid-template-columns:245px minmax(0,1fr) 265px}.left-panel,.right-panel{padding:26px 18px}h1{font-size:22px}.canvas-toolbar{gap:7px;top:18px}.view-tabs button{font-size:13px;padding:7px 8px}.explode-button{font-size:13px;gap:5px}.explode-button>svg{display:none}.reset-view{top:75px;right:12px}.canvas-hint{font-size:12px;padding:9px 12px}.input-unit{width:120px}.right-panel .input-unit{width:117px}.summary{padding:12px 18px;gap:10px}.summary>span{padding:0 12px}.summary>div{padding-right:12px}.summary>button{display:none}.production{padding:28px}.production-grid{grid-template-columns:minmax(0,1fr) 290px;gap:25px}}@media(max-width:960px){.editor{grid-template-columns:220px minmax(0,1fr)}.right-panel{grid-column:1/-1;border-top:1px solid var(--border);border-left:0;display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.right-panel .inspector-heading{grid-column:1/-1}.right-panel .settings-section{border-bottom:0}.right-panel .elevation-section{grid-column:1/-1;max-width:400px;width:100%}.right-panel .delete-button{justify-content:flex-start}.canvas-hint{white-space:normal;width:max-content;max-width:90%}.workspace{min-height:590px}.production-grid{grid-template-columns:1fr}.assembly{padding:20px 0;border-left:0;border-top:1px solid var(--border)}.production-header{align-items:flex-start}.production-header .actions{flex-direction:column}.production-summary{gap:18px}}@media(max-width:640px){.topbar{height:112px;padding:14px 14px 57px;gap:10px}.brand{font-size:26px}.brand-divider{display:none}.header-actions{gap:4px}.header-actions .icon-button{min-width:30px;padding:5px}.action-divider{margin:0 3px}.project-button{padding:6px;min-height:34px}.save-button{padding:7px 10px;min-height:35px;font-size:13px}.main-tabs{top:64px;left:14px;right:14px;transform:none;justify-content:center}.main-tabs button{flex:1;font-size:14px;min-height:34px;padding:6px}.mobile-tools{display:flex;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border)}.mobile-tools button{font-size:12px;flex:1;padding:7px;min-height:36px}.editor{display:block;min-height:calc(100dvh - 235px);position:relative}.workspace{min-height:calc(100dvh - 235px);height:570px;max-height:750px}.left-panel,.right-panel{display:none}.left-panel.mobile-open,.right-panel.mobile-open{display:block;position:fixed;top:112px;bottom:0;left:0;right:0;z-index:8;overflow:auto;padding:22px;background:#fff}.mobile-close{display:inline-flex}.panel-title{display:flex;align-items:center;justify-content:space-between}.mobile-open .elevation-section{max-width:380px}.mobile-open .wood-sample{height:80px}.mobile-open .input-unit{width:160px}.mobile-open .settings-section{padding:22px 0;border-bottom:1px solid var(--border)}.canvas-toolbar{top:14px;gap:7px;padding:5px;max-width:calc(100% - 20px)}.view-tabs{gap:1px}.view-tabs button{font-size:12px;padding:6px 7px;gap:5px}.view-tabs svg{width:15px}.toolbar-divider{margin:0 2px}.explode-button{font-size:12px;gap:5px}.switch{width:30px;height:18px}.switch>span{width:12px;height:12px}.is-on .switch>span{transform:translate(12px)}.reset-view{top:67px;right:12px;width:32px;min-height:32px;min-width:32px}.dimension-line{font-size:16px;bottom:23%}.canvas-hint{bottom:40px;font-size:12px;max-width:92%;white-space:normal;text-align:left}.orbit-hint{font-size:11px;bottom:15px}.summary{padding:13px 14px;gap:8px;font-size:12px}.summary>div{display:none}.summary>span{border-left:0;padding:0}.summary>span:nth-child(4){display:none}.summary>span:nth-child(3){margin-left:auto}.summary>span strong{display:block}.part-caption{left:12px;right:12px;bottom:110px;font-size:12px}.production{padding:22px 15px}.production-header{flex-direction:column;gap:18px}.production-header h1{font-size:25px}.production-header .actions{flex-direction:row}.actions button{font-size:12px;padding:8px 10px}.warning{padding:13px;font-size:12px}.production-summary{font-size:12px;gap:15px;padding:20px 0}.production-grid{margin-top:22px}.parts-section>h2{font-size:18px}.parts-section>.muted{font-size:13px}th{font-size:11px;padding:10px 8px}td{font-size:12px;padding:10px 8px}.numeric{font-size:11px}.assembly ol li{font-size:15px}.assembly p,.hardware li{font-size:14px}.modal{padding:22px}.toast{bottom:12px;width:calc(100vw - 24px);font-size:13px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{@page{size:A4;margin:15mm}body{font-size:10pt}.topbar,.actions,.toast,.modal-backdrop{display:none!important}.app{display:block;min-height:0}.production{padding:0;max-width:none}.production-header{display:block}.production-header h1{font-size:22pt}.production-header p{font-size:10pt}.warning{padding:10px;font-size:9pt;break-inside:avoid}.production-grid{display:block}.assembly{padding:20px 0;border:0}.assembly details{display:block}.assembly details>*{display:block}.production-summary{font-size:9pt;gap:12px}.table-scroll{overflow:visible}table{font-size:9pt}th,td{padding:7px;font-size:9pt}.numeric{font-size:8pt}tr{break-inside:avoid}thead{display:table-header-group}.part-id{border:0;background:none;padding:0;min-height:0;font-size:9pt}.assembly ol{columns:2;column-gap:35px}.assembly li{break-inside:avoid}.hardware{max-width:100%}.warning,.production-summary,th{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.inspector-mode{display:flex;gap:4px;padding:4px;background:#edf1ee;border-radius:8px;margin-bottom:22px}.inspector-mode>button:not(.mobile-close){flex:1;border:0;background:transparent;font-size:14px;min-height:36px;padding:7px 10px}.part-select-label{display:block;font-size:14px;font-weight:600;margin-bottom:10px}.part-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.part-section-heading h2{margin:0}.part-section-heading>span{font-size:13px;color:#55705f}.part-measure-note{font-size:13px;color:#6c776f;line-height:1.6;margin:10px 0 18px}.part-inspector>.settings-section:first-child{padding-top:0}.part-inspector .number-field{align-items:flex-start;gap:7px;margin:15px 0}.part-inspector .number-field>span:first-child{max-width:100px;line-height:1.45;padding-top:9px;font-size:14px}.part-inspector .input-unit{width:124px;flex-shrink:0}.part-inspector .part-select-label:not(:first-child){margin-top:23px}.part-inspector .info-line{margin-top:12px;align-items:flex-start}.part-inspector .info-line>svg{margin-top:3px}.reset-part{margin-top:17px;font-size:13px;gap:6px}.custom-note{display:inline-block;margin-left:8px;font-size:11px;color:#23613e;font-weight:600}.part-inspector select{font-size:14px}.right-panel .part-inspector .settings-section:last-child{border-bottom:0}@media(min-width:641px)and (max-width:960px){.right-panel>.inspector-mode,.right-panel>.part-inspector{grid-column:1/-1}.part-inspector{max-width:460px}.part-inspector .number-field>span:first-child{max-width:none}.part-inspector .input-unit{width:180px}}@media(max-width:640px){.part-inspector .number-field>span:first-child{max-width:none}.part-inspector .input-unit{width:160px}.part-inspector select{font-size:15px}.part-inspector .field-note{font-size:14px}.inspector-mode{position:sticky;top:-22px;z-index:1}.custom-note{display:block;margin:3px 0 0}}.part-inspector .part-select-label{line-height:1.5}.part-caption{top:86px;bottom:auto}@media(min-width:961px){.app{height:100dvh;overflow:hidden}.editor{min-height:0;overflow:hidden}.workspace{min-height:0}.left-panel,.right-panel{overflow-y:auto;min-height:0}.summary{flex-shrink:0}.production{overflow-y:auto}}@media(min-width:641px){.dimension-line{bottom:17%}}.level-tabs{display:flex;gap:5px}.level-tabs button{flex:1;font-size:14px}.level-section .text-button{margin-top:8px}.drawer-layout .number-field{font-size:13px;gap:7px}.drawer-layout .number-field>span:first-child{max-width:100px;line-height:1.4}.drawer-layout .input-unit{width:120px}.drawer-layout h2{margin-bottom:8px}.move-tool{position:absolute;top:83px;left:18px;z-index:4;font-size:13px;box-shadow:0 2px 8px #162e2110}.drag-handles{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:3}.model-handle{position:absolute;visibility:hidden;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;background:#246748;color:#fff;min-width:34px;min-height:34px;padding:6px;box-shadow:0 2px 10px #19372d44;pointer-events:auto;touch-action:none;cursor:ns-resize}.model-handle:has(svg.lucide-move-horizontal){cursor:ew-resize}.model-handle:hover,.model-handle:focus-visible{background:#174a32;color:#fff}.model-handle:active{cursor:grabbing;background:#123b29}.upper-handle{border-radius:8px;white-space:nowrap;font-size:12px;min-height:38px;padding:7px 9px}.level-tabs button{padding:7px 8px;font-size:13px}.level-section .number-field>span:first-child{font-size:13px;max-width:102px;line-height:1.5}.level-section .input-unit{width:115px;flex-shrink:0}@media(max-width:640px){.move-tool{top:70px;left:12px;font-size:12px;min-height:34px;padding:6px 9px}.model-handle{min-width:32px;min-height:32px;padding:5px}.upper-handle{font-size:11px;gap:3px;padding:6px}.level-section .number-field>span:first-child{max-width:none}}.upper-handle>span{display:flex;align-items:center;gap:5px}.upper-handle small{font:inherit}@media(max-width:640px){.upper-handle>span{flex-direction:column;gap:0;line-height:1.15}.upper-handle small{font-size:10px}.dimension-line{bottom:14%}}@media(min-width:641px){.dimension-line{bottom:15%}}.handle-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.handle-choice{display:flex;flex-direction:column;gap:9px;padding:12px 6px;font-size:12px;font-weight:500;min-height:76px}.handle-choice.chosen{border-color:#234c3b;background:#eef5ef;box-shadow:inset 0 0 0 1px #234c3b}.handle-preview{display:block;width:72px;height:22px;position:relative}.handle-preview.bar:before{content:"";position:absolute;width:58px;height:6px;left:7px;top:8px;border-radius:3px;background:var(--handle-color);box-shadow:0 3px 4px #0002}.handle-preview.bar:after{content:"";position:absolute;left:13px;right:13px;top:12px;height:5px;border-left:5px solid var(--handle-color);border-right:5px solid var(--handle-color)}.handle-preview.knob:before{content:"";position:absolute;left:28px;top:2px;width:18px;height:18px;border-radius:50%;background:var(--handle-color);box-shadow:inset 2px 2px 4px #ffffff40,0 2px 3px #0003}.handle-preview.none:before{content:"";position:absolute;left:15px;top:10px;width:45px;height:1px;background:#94a096}.appearance-panel .part-select-label{margin:17px 0 9px;font-size:13px}.appearance-panel select{font-size:14px}.remove-part-button{background:#fff7f3;border:1px solid #e6b9a6;color:#8c4227;margin-top:18px;font-size:14px}.remove-part-button:hover{background:#fcece4;border-color:#ce8d70}.removed-parts{padding:22px 0;border-top:1px solid #dfe5df;margin-top:20px;font-size:14px}.removed-parts summary{cursor:pointer;font-weight:600;color:#5c554b}.removed-parts ul{padding:0;list-style:none;margin:14px 0}.removed-parts li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #edf0ed;font-size:13px;line-height:1.5}.removed-parts .outline{font-size:13px}.height-dimension{position:absolute;right:18px;top:24%;bottom:26%;display:flex;flex-direction:column;align-items:center;gap:10px;pointer-events:none;z-index:1;font-size:15px}.height-dimension>span{flex:1;width:1px;background:#748178;position:relative}.height-dimension>span:first-child:before,.height-dimension>span:last-child:after{content:"";position:absolute;height:1px;width:10px;background:#748178;left:-4px;top:0}.height-dimension>span:last-child:after{top:auto;bottom:0}.height-dimension strong{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;font-weight:600}.bom-section{margin-top:35px;border-top:1px solid #dce3dc;padding-top:30px;scroll-margin-top:20px}.bom-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.bom-heading h2{display:flex;align-items:center;gap:10px;font-size:22px;margin-bottom:8px}.bom-heading>label{display:flex;flex-direction:column;font-size:13px;gap:8px;min-width:265px}.bom-table{min-width:640px}.bom-table td{vertical-align:top;line-height:1.6;padding:13px 12px}.bom-table td:first-child{width:32%;font-weight:550}.bom-table td:last-child{font-size:13px;color:#657168}.bom-quantity{white-space:nowrap;width:110px;font-weight:650;color:#234c3b;font-variant-numeric:tabular-nums}.bom-category th{background:#edf3ee;color:#244935;text-transform:none;font-size:14px;padding:12px}.assembly-notes{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:25px}.assembly-notes details{padding:17px;border:1px solid #dce4dc;border-radius:7px;font-size:14px;line-height:1.7}.assembly-notes summary{cursor:pointer;font-weight:600;color:#274f37}.assembly-notes p{font-size:13px;color:#677269;margin:12px 0}.assembly-notes a{font-size:13px;color:#234c3b}.joint-list{display:flex;flex-wrap:wrap;gap:7px}.joint-list span{padding:4px 8px;background:#f2f5f1;border-radius:4px;font-size:12px}.empty-table{padding:25px;color:#6b766e;font-size:14px}.production-summary>button{margin-left:auto;font-size:13px}.empty-parts{padding:15px 0}@media(max-width:640px){.height-dimension{right:auto;left:8px;top:25%;bottom:25%;font-size:12px}.handle-choice{font-size:14px}.bom-heading{display:block}.bom-heading h2{font-size:20px}.bom-heading>label{margin-top:20px;min-width:0}.assembly-notes{grid-template-columns:1fr}.assembly-notes p{font-size:14px}.bom-table td:last-child{font-size:13px}.production-summary>button{margin-left:0}.height-dimension>span:first-child:before,.height-dimension>span:last-child:after{width:7px;left:-3px}}@media print{.app,.production{height:auto!important;overflow:visible!important}.bom-section{break-before:page}.bom-heading>label select{border:0;padding:0}.bom-heading h2{font-size:16pt}.bom-table{min-width:0}.bom-table td,.bom-table td:last-child{font-size:8pt;padding:7px}.bom-category th{font-size:10pt}.assembly-notes{display:block}.assembly-notes details{display:block;break-inside:avoid;margin:12px 0}.assembly-notes details>*{display:block}.removed-parts button,.production-summary>button{display:none!important}.production-summary,.production-summary strong{font-size:9pt}}.removed-selection{padding-top:5px}.removed-selection h2{font-size:22px}.removed-selection>.primary{margin:18px 0 24px}.removed-selection>.part-select-label{margin-top:12px}.side-cabinet-setting{display:grid;gap:8px;margin-top:14px}.side-cabinet-setting .text-button{font-size:14px}.leg-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}.leg-choice{flex-direction:column;padding:12px 4px;font-size:13px;min-height:112px;text-align:center}.leg-choice.chosen{border:2px solid #234c3b;background:#edf4ef}.leg-preview{height:48px;width:12px;background:var(--leg-color);position:relative;margin:6px 0}.leg-preview:before{content:"";position:absolute;width:32px;height:5px;left:50%;top:-4px;transform:translate(-50%);background:var(--leg-color);border-radius:2px}.leg-preview.round{width:21px;border-radius:5px 5px 9px 9px}.leg-preview.tapered{width:23px;clip-path:polygon(0 0,100% 0,72% 100%,28% 100%);background:linear-gradient(90deg,#98683d,var(--leg-color),#cb9c70)}.template-launch{width:100%;justify-content:flex-start;text-align:left;white-space:normal}.template-launch span{display:grid;gap:5px}.template-launch small{font-size:12px;font-weight:400;line-height:1.5;color:#63756a}.template-gallery{width:min(960px,calc(100vw - 32px));max-width:960px;max-height:90dvh;overflow:auto}.template-gallery .modal-heading{align-items:flex-start}.template-gallery .muted{margin-top:7px}.template-notice{font-size:14px;line-height:1.6;padding:12px 14px;background:#f0f4f1;border-radius:8px;margin:16px 0}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.template-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:14px;gap:8px}.template-card strong{font-size:16px}.template-card>span{font-size:14px;line-height:1.5;color:#67736b}.template-card small{font-size:12px;color:#68736b}.template-preview{height:145px;background:#edf0ee;border-radius:7px;padding:12px;display:flex;justify-content:center}.template-preview svg{height:100%;max-width:100%}.lighting-toggle{display:flex;align-items:center;gap:10px;margin:17px 0;font-size:15px;cursor:pointer}.lighting-toggle input{min-height:20px;width:20px;accent-color:#234c3b}.lighting-panel select{width:100%;margin:7px 0 15px}.lighting-panel input[type=range]{padding:0;accent-color:#234c3b;width:100%;display:block}@media(max-width:700px){.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-gallery{padding:20px}.template-preview{height:120px}.template-card{padding:10px}.template-card>span{font-size:13px}}.door-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0 18px}.door-preview-actions button{font-size:13px;padding:8px 5px}.door-preview-setting{margin:10px 0 20px}.door-preview-setting .field-note{margin-top:10px}.door-pattern-picker{margin:22px 0;padding:20px 0;border-top:1px solid #dfe2e3;border-bottom:1px solid #dfe2e3}.door-pattern-picker h3{font-size:16px;margin:0 0 14px}.pattern-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}.pattern-choice{padding:8px 4px;display:flex;flex-direction:column;font-size:12px;min-height:100px;line-height:1.4}.pattern-choice.chosen{border:2px solid #234c3b;background:#edf4ef}.pattern-sample{width:42px;height:55px;background:#e3d2b8;border:1px solid #ad9980;border-radius:3px;position:relative;overflow:hidden}.pattern-sample.vertical{background:repeating-linear-gradient(90deg,#e3d2b8 0,#e3d2b8 7px,#a89378 7px,#a89378 8px)}.pattern-sample.horizontal{background:repeating-linear-gradient(0deg,#e3d2b8 0,#e3d2b8 7px,#a89378 7px,#a89378 8px)}.pattern-sample.frame:after{content:"";position:absolute;top:7px;right:7px;bottom:7px;left:7px;border:1px solid #9a8161}.pattern-sample.chevron{background:linear-gradient(135deg,transparent 45%,#a89378 46% 51%,transparent 52%) 0 0/21px 15px,linear-gradient(225deg,transparent 45%,#a89378 46% 51%,transparent 52%) 21px 0/21px 15px,#e3d2b8}.pattern-sample.diamond{background:repeating-linear-gradient(45deg,transparent 0 12px,#a89378 12px 13px),repeating-linear-gradient(-45deg,#e3d2b8 0,#e3d2b8 12px,#a89378 12px,#a89378 13px)}.pattern-sample.chevron{background:repeating-linear-gradient(45deg,#e3d2b8 0,#e3d2b8 9px,#a89378 9px,#a89378 10px) left/50% 100% no-repeat,repeating-linear-gradient(-45deg,#e3d2b8 0,#e3d2b8 9px,#a89378 9px,#a89378 10px) right/50% 100% no-repeat}.hinge-visibility{grid-column:1/-1;display:flex;align-items:center;gap:9px;font-size:14px;margin:6px 0;cursor:pointer}.hinge-visibility input{min-height:18px;width:18px;accent-color:#234c3b}.hinge-preview-note{grid-column:1/-1;margin:0}.bulk-pattern-panel select{display:block;width:100%;margin:7px 0 15px}.bulk-pattern-panel .full{margin-top:12px}.drawer-preview-buttons{display:grid;gap:8px;margin:14px 0}.dimension-edit-button{pointer-events:auto;min-height:32px;padding:5px 9px;border:1px dashed #6e8b7c;border-radius:7px;background:#ffffffe0;color:#234c3b;font-weight:700;font-size:inherit;white-space:nowrap;gap:6px;z-index:2}.height-dimension .dimension-edit-button{writing-mode:vertical-rl;transform:rotate(180deg);min-height:72px;min-width:30px;padding:8px 5px}.dimension-edit-button:hover{background:#e6f2e9;border-style:solid}.resize-dialog{max-width:580px;max-height:90dvh;overflow:auto}.resize-dialog>.muted{margin-bottom:20px}.resize-fields{display:grid;gap:12px;margin:20px 0}.resize-lock{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.5;margin:20px 0}.resize-lock input{width:20px;min-height:20px;accent-color:#234c3b}.resize-explanation{background:#f0f5f1;border-radius:8px;padding:15px;font-size:14px;line-height:1.6}.resize-explanation p{margin-top:7px;color:#58675f}.resize-error{padding:12px;background:#fff1ec;color:#8b382b;border-radius:7px;font-size:14px;line-height:1.6;margin:16px 0}.resize-result{font-size:14px;color:#234c3b;line-height:1.6;margin:16px 0}.resize-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}@media(max-width:640px){.dimension-edit-button{padding:5px 7px;font-size:14px}.height-dimension .dimension-edit-button{min-width:27px;padding:6px 3px;font-size:12px}.resize-dialog{padding:20px}.resize-fields .input-unit{width:140px}}.resize-dialog{width:min(580px,calc(100vw - 32px));padding:24px}.resize-fields .number-field{margin:0}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0;font-size:27px;letter-spacing:-1.1px}.brand-mark{width:39px;height:39px;display:block}.brand-word{white-space:nowrap;font-weight:750}.brand-word>span{font-weight:450}.production-brand{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:650;color:#234c3b;margin-bottom:12px}.production-brand img{height:28px;width:28px}@media(max-width:1200px){.brand-divider,.studio{display:none}}@media(max-width:640px){.brand{gap:6px;font-size:17px;letter-spacing:-.7px}.brand-mark{width:27px;height:27px}.topbar{gap:8px}.header-actions{gap:4px}.header-actions .icon-button{min-width:28px;width:28px;padding:4px}.action-divider{margin:0 2px}.save-button{padding:7px 8px}.project-button{padding:6px;min-width:29px}}
