:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#302e2d;background:#f7f5f1;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--wine: #71283e;--wine-dark: #532035;--muted: #736c65;--border: #e5dfd7;--soft: #faf8f5}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;min-width:320px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,input,select{max-width:100%}button,a{color:inherit}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,label:focus-within{outline:3px solid #aa6f83;outline-offset:3px}svg{flex-shrink:0}h1,h2,p{margin:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:8px;left:8px;z-index:20;padding:12px;background:#fff;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.app-shell{max-width:1600px;margin:auto;padding:0 40px}.header{min-height:96px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;flex-shrink:0}.brand-symbol{display:grid;place-items:center;width:42px;height:46px;color:var(--wine);border:1px solid #cbb8ad;border-radius:12px 3px}.brand strong{display:block;font-family:Georgia,serif;font-size:34px;line-height:1;letter-spacing:-1.5px}.brand-dot{color:var(--wine)}.brand small{display:block;margin-top:5px;font-size:9px;letter-spacing:2.3px}.main-nav{display:flex;gap:24px}.main-nav a{font-size:12px;font-weight:600;text-decoration:none;padding:10px 0}.main-nav a:hover{color:var(--wine)}.header-right{display:flex;align-items:center;gap:18px}.demo-pill{display:flex;align-items:center;gap:7px;color:var(--wine);font-size:9px;letter-spacing:1px;font-weight:700;white-space:nowrap}.demo-pill>span,.live-dot{display:inline-block;height:6px;width:6px;border-radius:50%;background:#70856f}.mode-selector,.select-field{display:flex;align-items:center;border:1px solid var(--border);background:#fff;border-radius:8px;padding-right:12px}.mode-selector select,.select-field select{appearance:none;border:0;background:transparent;padding:12px;min-width:0;width:100%;color:inherit}.mode-selector select{font-size:11px}.mode-selector svg,.select-field svg{pointer-events:none}.demo-banner{display:flex;align-items:center;justify-content:center;gap:9px;border-block:1px solid var(--border);padding:12px;font-size:11px;line-height:1.6;color:#61534d;background:#efe9e0;border-radius:6px}.demo-banner strong{font-weight:600}.global-price-notice{display:flex;gap:9px;align-items:center;justify-content:center;margin-top:12px;border:1px solid #dbb3a3;border-radius:6px;padding:10px 14px;background:#fff2e9;color:#713920;font-size:12px;line-height:1.5}.intro{display:flex;justify-content:space-between;align-items:end;gap:24px;padding:35px 0 16px}.eyebrow{color:var(--wine);font-size:10px;letter-spacing:2.5px;font-weight:700;margin-bottom:13px}.intro h1{font-family:Georgia,Times New Roman,serif;font-weight:400;letter-spacing:-1px;font-size:clamp(29px,3vw,44px);line-height:1.22}.intro h1 em{color:var(--wine);font-weight:400}.intro p{color:var(--muted);font-size:13px;line-height:1.6;margin-top:12px}.intro-note{font-family:Georgia,serif;color:#86796a;text-align:right;font-size:13px;line-height:1.7}.mode-note{font-size:11px;line-height:1.6;color:var(--muted);margin-bottom:22px;max-width:900px}.workspace{display:grid;grid-template-columns:300px minmax(260px,1fr) 300px;gap:20px;align-items:start}.workspace>*,.header>*,.preview-bottom>*,.quote-product>*,.print-header>*{min-width:0}.card{border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 4px 20px #50351d05;overflow:hidden}.editor{min-height:680px}.panel-heading{display:flex;align-items:center;gap:12px;padding:24px 20px 19px}.step-number{display:grid;place-items:center;width:31px;height:31px;font-size:11px;color:var(--wine);background:#f5edf0;border-radius:50%;flex-shrink:0}.panel-heading h2{font-size:14px;font-weight:600}.panel-heading p{font-size:10px;color:var(--muted);margin-top:5px}.editor-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--border);padding:0 16px}.editor-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;padding:12px 3px;font-size:11px;color:var(--muted)}.editor-tabs button[aria-selected=true]{border-bottom-color:var(--wine);color:var(--wine);font-weight:700}.editor-content{padding:23px 20px}.field-heading{display:flex;justify-content:space-between;align-items:baseline;gap:6px;font-size:9px;letter-spacing:1px;font-weight:700;margin:24px 0 13px}.field-heading:first-child{margin-top:0}.field-heading>span{font-size:9px;font-weight:400;letter-spacing:0;color:var(--muted)}.family-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.family-picker button{position:relative;display:flex;flex-direction:column;gap:6px;align-items:center;border:1px solid var(--border);background:var(--soft);padding:17px 8px;border-radius:8px}.family-picker button.selected{border-color:var(--wine);background:#f9f0f3;color:var(--wine)}.family-picker strong{font-size:12px;margin-top:5px}.family-picker span{font-size:10px;color:var(--muted)}.selection-check{position:absolute;right:8px;top:8px}.dimensions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.number-field label{display:block;font-size:10px;color:#615c56;margin-bottom:7px}.input-unit{display:flex;align-items:center;border:1px solid var(--border);border-radius:6px;padding:0 8px;min-width:0;background:#fff}.input-unit:focus-within{border-color:var(--wine)}.input-unit input{border:0;width:100%;min-width:0;padding:12px 0;font-size:12px;background:transparent;color:inherit;appearance:textfield}.input-unit input::-webkit-inner-spin-button,.input-unit input::-webkit-outer-spin-button{appearance:none;margin:0}.input-unit span{font-size:9px;color:var(--muted);margin-left:3px}.number-field small{display:block;font-size:9px;color:var(--muted);line-height:1.4;margin-top:6px;overflow-wrap:anywhere}.number-field small.field-error{color:#9c351e}.dimension-note{color:var(--muted);font-size:10px;line-height:1.7;margin-top:10px}.select-field select{font-size:12px}.quantity-field{margin-top:24px}.quantity-field .number-field label{font-size:11px;font-weight:600}.text-action{display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border:0;padding:10px 0;font-size:11px;font-weight:600;color:var(--wine)}.next-step{width:100%;margin-top:20px}.swatches{display:flex;justify-content:space-between;gap:5px;padding-bottom:24px}.swatches button{position:relative;display:grid;place-items:center;width:35px;height:35px;border:3px solid white;outline:1px solid var(--border);border-radius:50%;background:var(--swatch);color:#fff;text-shadow:0 1px 2px #000}.swatches button.active{outline:2px solid var(--wine)}.swatches button:focus-visible{outline:3px solid var(--wine);outline-offset:4px}.swatches button span{position:absolute;top:39px;font-size:8px;white-space:nowrap;color:var(--muted);text-shadow:none}.swatches button:nth-child(2) svg{color:var(--wine)}.color-input{display:flex;align-items:center;gap:10px;font-size:11px;padding:14px 0;border-bottom:1px solid #f0ece6}.color-input input{margin-left:auto;width:32px;height:28px;padding:2px;border:1px solid var(--border);background:#fff;border-radius:4px;cursor:pointer}.color-input>span{font-size:9px;color:var(--muted)}.toggle-row{position:relative;display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid #f0ece6;cursor:pointer}.toggle-row>span:first-child{flex:1;min-width:0}.toggle-row strong{font-size:12px;font-weight:600}.toggle-row small{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:4px}.toggle-row input{position:absolute;right:0;width:38px;height:24px;opacity:0;cursor:pointer}.switch{width:34px;height:20px;border-radius:20px;background:#d6d1cb;padding:3px;flex-shrink:0;transition:background .16s;pointer-events:none}.switch:after{content:"";display:block;height:14px;width:14px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .16s}.toggle-row input:checked+.switch{background:var(--wine)}.toggle-row input:checked+.switch:after{transform:translate(14px)}.toggle-row.disabled{opacity:.5;cursor:not-allowed}.upload-zone{position:relative;display:flex;align-items:center;text-align:center;flex-direction:column;gap:10px;padding:28px 14px;background:var(--soft);border:1px dashed #c9b9ac;border-radius:9px;color:var(--wine);cursor:pointer}.upload-zone strong{font-size:12px;max-width:100%;overflow-wrap:anywhere}.upload-zone span{font-size:9px;color:var(--muted)}.upload-zone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.range-field{display:block;margin:24px 0}.range-field>span{display:flex;justify-content:space-between;gap:8px;font-size:11px;margin-bottom:12px}.range-field small{color:var(--muted)}.range-field input{display:block;width:100%;accent-color:var(--wine);cursor:pointer}.art-notice{display:flex;gap:9px;padding:12px;background:#f7f1e9;border-radius:8px;color:#73614d;font-size:10px;line-height:1.7}.art-notice strong{display:block}.preview{display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 35%,#faf6ee,#ede6db);min-height:680px}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;padding:18px 22px 0}.preview-toolbar>span{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1.2px;color:#686157;font-weight:600}.icon-button{display:inline-grid;place-items:center;background:#fff9;border:1px solid #dcd3c8;width:34px;min-height:34px;padding:6px;border-radius:50%}.icon-button:hover{background:#fff}.scene-wrap{position:relative;height:505px;flex:1;min-height:350px;touch-action:none}.scene-wrap>div{position:absolute!important;inset:0;height:100%!important;width:100%!important}.scene-webgl-root{position:relative;width:100%;height:100%}.context-lost{position:absolute;inset:0;background:#f5efe5f2}.scene-wrap canvas{display:block}.scene-loading,.webgl-error{display:flex;align-items:center;justify-content:center;min-height:350px;text-align:center;padding:32px;line-height:1.8;color:#72614d;font-size:13px}.preview-bottom{display:flex;justify-content:space-between;align-items:end;gap:14px;padding:16px 24px 20px}.model-label>span{font-size:8px;letter-spacing:1.3px;color:#8a7b69}.model-label h2{font-family:Georgia,serif;font-size:23px;font-weight:400;margin:8px 0}.model-label p{color:#796c5c;font-size:10px;line-height:1.6}.model-label p span{padding:0 4px}.orbit-hint{display:flex;align-items:center;gap:6px;color:#796c5c;font-size:9px;line-height:1.7;flex-shrink:0}.preview-disclaimer{border-top:1px solid #d9d0c4;text-align:center;padding:13px;color:#7c6a57;font-size:9px;line-height:1.5}.quote{padding:24px 20px}.quote-caption{font-size:9px;font-weight:700;letter-spacing:1.5px;color:var(--wine);margin-bottom:12px}.quote h2,.print-sheet h2{font-family:Georgia,serif;font-size:25px;font-weight:400}.muted{color:var(--muted);font-size:11px;line-height:1.7;margin-top:8px}.quote-product{display:flex;gap:12px;align-items:center;background:var(--soft);padding:14px 10px;border-radius:8px;margin-top:22px}.tiny-icon{display:grid;place-items:center;width:38px;height:40px;color:#9a7955;background:#eee7dc;border-radius:6px;flex-shrink:0}.quote-product strong{font-size:11px;font-weight:600}.quote-product small{display:block;font-size:9px;color:var(--muted);line-height:1.7;margin-top:3px}.quantity-summary{display:flex;justify-content:space-between;gap:10px;font-size:10px;margin-top:20px}.quantity-summary span{color:var(--muted)}.price-table{width:100%;border-collapse:collapse;font-size:10px;margin:16px 0;table-layout:fixed}.price-table th{text-align:left;font-size:9px;color:var(--muted);font-weight:400;padding:9px 0;border-bottom:1px solid var(--border)}.price-table td{padding:10px 0;line-height:1.6;vertical-align:top;overflow-wrap:anywhere}.price-table th:first-child{width:42%}.price-table td:first-child{padding-right:6px}.price-table th:nth-child(2),.price-table td:nth-child(2){width:27%;text-align:right;padding-right:6px}.price-table th:last-child,.price-table td:last-child{text-align:right}.unit-price{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--border);padding-top:16px;font-size:10px}.unit-price span{color:var(--muted)}.quote-total{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:17px 0}.quote-total>span{font-size:11px}.quote-total small{display:block;font-size:7px;letter-spacing:1px;margin-top:5px;color:var(--muted)}.quote-total>strong{font-size:26px;font-weight:500;color:var(--wine);letter-spacing:-1px;overflow-wrap:anywhere}.price-notice{display:flex;gap:8px;border:1px solid #e3c8b6;background:#fff4e8;color:#83451e;padding:12px 10px;border-radius:7px;font-size:11px;line-height:1.6}.price-notice svg{margin-top:2px}.fine-print{font-size:9px;line-height:1.8;color:var(--muted);margin:12px 0 22px}.primary-button,.secondary-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:12px 8px;border-radius:7px;font-size:11px;font-weight:600}.primary-button{background:var(--wine);color:#fff;border:1px solid var(--wine)}.primary-button:hover{background:var(--wine-dark)}.secondary-button{background:#fff;color:var(--wine);border:1px solid #d7c7cb;margin-top:17px}.secondary-button:hover{background:#fbf5f7}.button-note{text-align:center;font-size:9px;color:var(--muted);line-height:1.6;margin-top:8px}.draft-actions{display:flex;gap:14px;margin-top:19px}.draft-actions button{display:flex;align-items:center;justify-content:center;gap:6px;background:none;border:0;padding:8px 0;font-size:10px;color:var(--muted)}.draft-actions button:first-child{flex:1}.restore-button{width:100%;background:#f6f0f2;color:var(--wine);border:0;border-radius:4px;margin-top:8px;padding:10px;font-size:10px}.share-note{border-top:1px solid var(--border);padding-top:15px;margin-top:15px;color:var(--muted);font-size:9px;line-height:1.8}.share-result{padding:20px;margin-top:20px}.share-result label{display:block;font-size:12px;font-weight:600;margin-bottom:10px}.share-result>div{display:flex;gap:10px;align-items:center}.share-result input{border:1px solid var(--border);padding:12px;border-radius:6px;flex:1;min-width:0;width:100%;font-size:11px;background:var(--soft)}.share-result small{display:block;font-size:10px;line-height:1.8;color:var(--muted);margin-top:10px}.status{font-size:12px;line-height:1.7;color:var(--wine);overflow-wrap:anywhere}.status.has-status{margin-top:18px;background:#f3e9ed;padding:12px 16px;border-radius:8px}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--border);margin-top:35px;padding:24px 0;font-size:10px;color:var(--muted);line-height:1.8}footer>span:first-child{color:#61554d}footer>span:first-child>span:first-child{margin-left:5px}.footer-divider{padding:0 12px;color:#c9bbae}.print-sheet{display:none}@media(min-width:1600px){.workspace{grid-template-columns:310px minmax(260px,1fr) 320px}}@media(max-width:1200px){.app-shell{padding:0 24px}.workspace{grid-template-columns:270px minmax(0,1fr)}.quote{grid-column:1 / -1}.quote .price-table{table-layout:auto}.quote .price-table th:first-child{width:50%}.quote .price-table th:nth-child(2){width:25%}.intro-note,.demo-pill{display:none}.main-nav{gap:18px}.quote-product{margin-top:15px}}@media(max-width:760px){.app-shell{padding:0 18px}.header{flex-wrap:wrap;gap:15px;padding:20px 0 12px}.main-nav{order:3;width:100%;justify-content:space-around;border-top:1px solid var(--border);padding-top:5px}.main-nav a{padding:10px 5px}.header-right{margin-left:auto}.mode-selector select{padding:11px 8px}.demo-banner{align-items:start;justify-content:start;padding:10px;font-size:10px}.demo-banner svg{margin-top:3px}.global-price-notice{font-size:11px;justify-content:start}.intro{padding-top:25px}.intro h1{max-width:500px}.intro h1 em{display:block}.intro p{font-size:12px}.workspace{grid-template-columns:minmax(0,1fr);gap:16px}.editor{min-height:auto}.editor-content{padding:22px}.panel-heading{padding-inline:22px}.family-picker button{padding:18px 8px}.number-field label,.number-field small,.input-unit span{font-size:11px}.input-unit input,.select-field select{font-size:16px}.swatches{justify-content:start;gap:22px}.swatches button{width:36px;height:36px}.swatches button span{font-size:9px}.preview{min-height:500px}.scene-wrap{height:340px;min-height:300px}.scene-loading,.webgl-error{min-height:300px}.model-label h2{font-size:22px}.preview-bottom{padding-inline:20px;gap:10px}.orbit-hint{font-size:8px}.quote{grid-column:auto;padding:24px 22px}.price-table,.quote-product strong{font-size:12px}.price-table th,.quote-product small,.fine-print,.share-note{font-size:10px}.quote .price-table{table-layout:fixed}.quote .price-table th:first-child{width:42%}.quote .price-table th:nth-child(2){width:27%}.quantity-summary,.unit-price,.primary-button,.secondary-button{font-size:12px}.draft-actions button,.restore-button{font-size:11px}footer{flex-direction:column;gap:5px}}@media(max-width:360px){.app-shell{padding:0 12px}.brand{gap:8px}.brand-symbol{width:32px;height:39px}.brand strong{font-size:29px}.brand small{font-size:7px;letter-spacing:1.5px}.mode-selector{padding-right:7px}.mode-selector select{font-size:10px;padding-inline:6px}.header{gap:8px}.main-nav{gap:6px}.main-nav a{font-size:11px}.editor-content,.quote,.panel-heading{padding-inline:16px}.dimensions{gap:6px}.number-field label{font-size:9px}.input-unit{padding-inline:6px}.input-unit span{font-size:9px}.swatches{justify-content:space-between;gap:8px}.color-input{gap:7px;font-size:10px}.orbit-hint{display:none}.preview-bottom{padding-inline:18px}.quote-total>strong{font-size:25px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}@page{size:A4;margin:14mm}@media print{:root,body{background:#fff;color:#222;min-width:0;font-size:10pt}.app-shell,.skip-link{display:none!important}.print-sheet{display:block;padding:0;width:100%}.print-header{display:flex;justify-content:space-between;gap:10mm;border-bottom:1px solid #999;padding-bottom:3mm;margin-bottom:5mm;font-size:9pt}.print-sheet h1{font-family:Georgia,serif;font-size:24pt;font-weight:400}.print-sheet p{font-size:9pt;line-height:1.5;margin:3mm 0}.print-warning{border:2px solid #713920;padding:3mm;font-weight:700;font-size:11pt!important}.print-preview{display:block;margin:3mm auto;width:85mm;height:60mm;object-fit:contain}.print-sheet .quote-caption{margin-top:5mm}.print-sheet h2{font-size:18pt}.print-sheet .quote-product{margin-top:3mm;padding:2mm;background:none;border:1px solid #aaa}.print-sheet .quote-product strong,.print-sheet .quote-product small{font-size:9pt}.print-sheet .quantity-summary{margin-top:3mm;font-size:9pt}.print-sheet .price-table{margin:2mm 0;font-size:9pt;table-layout:auto}.print-sheet .price-table th{font-size:9pt;padding:2mm 0}.print-sheet .price-table td{padding:1.5mm 0}.print-sheet .unit-price{padding-top:2mm;font-size:9pt}.print-sheet .quote-total{margin:3mm 0}.print-sheet .quote-total>strong{color:#222;font-size:20pt}.print-sheet .price-notice{background:#fff;border-color:#713920;color:#222;padding:2mm}.print-sheet .fine-print{margin-bottom:3mm}.print-details{border-top:1px solid #aaa;margin-top:4mm;padding-top:3mm}.print-details,.price-notice,.quote-product,.quote-total,tr{break-inside:avoid}.print-sheet *,.print-sheet *:before{box-shadow:none;text-shadow:none}}.modal-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;background:#00000080;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{background:#fff;border-radius:12px;padding:32px;max-width:480px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.modal h3{margin-bottom:12px;font-size:18px;color:var(--wine)}.modal p{margin-bottom:24px;color:var(--muted);line-height:1.6}.modal-actions{display:flex;flex-direction:column;gap:12px}.modal-actions button{width:100%}.modal-actions .text-action{width:auto;align-self:center}.quote-actions{display:flex;gap:12px;margin-bottom:16px}.quote-actions .primary-button,.quote-actions .secondary-button{flex:1}@media(max-width:768px){.quote-actions{flex-direction:column}.quote-actions .primary-button,.quote-actions .secondary-button{flex:none;width:100%}}@media(max-width:768px){.aside{width:100%}}
