body:has(.cf-page){--max:1720px}.cf-page{padding:27px 0 0}.cf-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:23px}.cf-heading .eyebrow{font-size:9px;letter-spacing:.22em;margin-bottom:10px}.cf-heading h1{font-size:clamp(29px,3.25vw,50px);letter-spacing:-.055em}.cf-project-actions{display:flex;gap:8px;align-items:center;font-size:11px}.cf-project-actions>span{color:var(--muted);margin-right:10px}.cf-soft-button{padding:10px 16px;border:1px solid #d0c7bf;border-radius:30px;font-size:11px;white-space:nowrap}.cf-soft-button:hover{background:var(--paper)}.cf-types{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:18px}.cf-type{border:1px solid transparent;border-radius:19px;background:rgba(248,245,241,.45);display:flex;align-items:center;justify-content:center;gap:6px;min-height:78px;padding:8px 12px;font-size:12px;transition:background .15s,border-color .15s}.cf-type svg,.cf-type>.cf-template-image{width:78px;height:63px;flex-shrink:0}.cf-type span{max-width:90px;text-align:left}.cf-type[aria-pressed=true]{background:#f9f5f0;border-color:#8d7664;box-shadow:0 2px 3px #513c3204}.cf-type:hover{background:#f5efe8}.cf-layout{display:grid;grid-template-columns:minmax(0,1fr) 374px;gap:18px;align-items:start}.cf-stage-wrap{position:sticky;top:18px;min-width:0;border-radius:28px;overflow:hidden;height:max(600px,calc(100svh - 280px));max-height:900px;background:radial-gradient(ellipse at 45% 38%,#f4f0eb 0%,#e8e1d9 55%,#d9d0c5 100%)}.cf-stage{position:absolute;inset:0;touch-action:none}.cf-stage canvas{display:block;width:100%;height:100%;touch-action:none;outline-offset:-4px}.cf-stage-top{position:absolute;left:24px;right:24px;top:24px;display:flex;justify-content:space-between;gap:15px;pointer-events:none}.cf-stage-label{font-size:11px;letter-spacing:.04em;display:flex;align-items:center;gap:9px}.cf-dot{width:6px;height:6px;border-radius:50%;background:#88735d}.cf-history{display:flex;gap:5px;pointer-events:auto}.cf-history button,.cf-zoom button{display:grid;place-items:center;width:36px;height:36px;font-size:22px;border-radius:50%;background:#faf7f0ce}.cf-history button:disabled{opacity:.25}.cf-view-tools{position:absolute;left:22px;top:78px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.cf-view-tools button{display:flex;align-items:center;gap:8px;min-width:38px;min-height:38px;border-radius:20px;background:#faf7f0dc;padding:9px 11px;box-shadow:0 2px 7px #513c3204;font-size:10px}.cf-view-tools svg,.cf-zoom svg{width:18px;height:18px;flex-shrink:0}.cf-view-tools button[aria-pressed=true]{background:#5c4638;color:#fff9ef}.cf-view-tools button:not(:first-child) span{display:none}.cf-view-tools button:hover span,.cf-view-tools button:focus-visible span{display:inline}.cf-stage-bottom{position:absolute;left:24px;right:24px;bottom:24px;display:flex;justify-content:space-between;align-items:flex-end;gap:16px;pointer-events:none}.cf-stage-bottom p{font-size:10px;color:#8d8074;line-height:1.8}.cf-stage-bottom strong{font-weight:500;color:#68594b}.cf-zoom{display:flex;gap:6px;pointer-events:auto}.cf-panel{border-radius:28px;background:#f8f5f1;overflow:hidden;box-shadow:0 6px 30px #38282004;display:flex;flex-direction:column;height:max(600px,calc(100svh - 280px));max-height:900px;min-width:0}.cf-panel-top{padding:24px 24px 15px;display:flex;align-items:center;justify-content:space-between;gap:10px}.cf-panel-top .eyebrow{font-size:8px;letter-spacing:.2em}.cf-panel-top h2{font-size:25px;margin:8px 0 8px}.cf-panel-top p{font-size:11px;color:var(--muted)}.cf-icon-button{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);font-size:21px;flex-shrink:0}.cf-panel-tabs{margin:0 20px 14px;background:#eae4de;display:flex;border-radius:24px;padding:4px;gap:3px}.cf-panel-tabs button{flex:1;font-size:11px;border-radius:20px;min-height:34px;padding:7px}.cf-panel-tabs button[aria-selected=true]{background:#fbf9f5;box-shadow:0 1px 5px #38282008}.cf-panel-tabs span{margin-left:5px}.cf-panel-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d0c4b8 transparent;padding:0 24px 20px;min-height:120px}.cf-group{border:0;border-top:1px solid #e3dcd5;padding:16px 0 0;margin:0 0 16px}.cf-group:first-child{border-top:0;padding-top:0}.cf-group-title,.cf-group>summary{font-size:12px;letter-spacing:0;line-height:1.4;font-weight:650;margin:0 0 12px;display:flex;justify-content:space-between;align-items:center;gap:8px}.cf-group>summary{cursor:pointer;list-style:none}.cf-group>summary::after{content:'+';font-size:18px;font-weight:400}.cf-group[open]>summary::after{content:'−'}.cf-group>summary::-webkit-details-marker{display:none}.cf-dim-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.cf-field{display:flex;flex-direction:column;gap:7px;font-size:10px;line-height:1.5;margin-bottom:12px;min-width:0}.cf-field input,.cf-field select{background:#eee8e1;border:1px solid transparent;padding:10px;border-radius:11px;font-size:12px;width:100%;height:39px}.cf-field input:focus,.cf-field select:focus{outline-width:1px}.cf-unit{position:relative}.cf-unit input{padding-right:27px;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}.cf-unit input::-webkit-inner-spin-button{appearance:none}.cf-unit>span{position:absolute;right:9px;top:12px;font-size:9px;color:var(--muted);pointer-events:none}.cf-hint{font-size:10px;color:#95877c;line-height:1.6;margin:6px 0 10px}.cf-sections{display:flex;gap:5px;min-height:58px;background:#e9e0d5;padding:6px;border-radius:13px}.cf-sections button{flex:1;min-width:0;border:1px solid #bfa98f;background:#c4a37c;border-radius:5px;position:relative;font-size:10px;min-height:40px;color:#5c412a}.cf-sections button[aria-pressed=true]{outline:2px solid #594130;outline-offset:1px}.cf-sections button::after{content:'↗';position:absolute;right:5px;bottom:1px;font-size:9px}.cf-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:11px}.cf-row select{font-size:11px;padding:7px 25px 7px 9px;border-radius:10px}.cf-stepper{display:flex;gap:12px;align-items:center}.cf-stepper button{width:28px;height:28px;border-radius:50%;border:1px solid #d8ccc1;font-size:16px}.cf-materials{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:10px 0}.cf-swatch{aspect-ratio:1;border-radius:12px;position:relative;border:3px solid transparent;background-clip:padding-box;padding:0;min-width:0}.cf-swatch[aria-pressed=true]{outline:1.5px solid #5f4533;outline-offset:1px}.cf-swatch[aria-pressed=true]::after{content:'✓';position:absolute;right:4px;bottom:1px;font-size:13px;color:#fff;text-shadow:0 1px 4px #0009}.cf-material-name{font-size:11px;color:#6d5b4d}.cf-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.cf-option{padding:8px 6px 10px;border-radius:14px;border:1px solid #e2d8cf;background:#f1ebe4;font-size:10px;line-height:1.4;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}.cf-option[aria-pressed=true]{border-color:#7f6149;background:#e8ddd0;box-shadow:inset 0 0 0 .5px #7f6149}.cf-option svg{width:100%;max-width:160px;height:95px}.cf-option.cf-small svg{height:62px}.cf-option:hover{border-color:#a48972}.cf-option-label{font-size:10px}.cf-handle-options{grid-template-columns:repeat(3,minmax(0,1fr))}.cf-handle-options svg{height:36px;margin-bottom:3px}.cf-panel-footer{padding:17px 24px 20px;border-top:1px solid #e1d8cf;background:#f8f5f1}.cf-panel-footer>div{margin-bottom:11px}.cf-panel-footer>div>span{font-size:9px;color:#948477}.cf-panel-footer p{font-size:14px;margin-top:3px}.cf-panel-footer .button{width:100%;font-size:12px;min-height:44px;padding:11px 17px;display:flex;justify-content:space-between}.cf-panel-footer small{display:block;font-size:8px;text-align:center;color:#95877c;margin-top:9px}.cf-under{display:flex;justify-content:space-between;gap:18px;font-size:10px;color:#8c7d70;margin:15px 4px 0}.cf-under button{font-size:10px}.cf-message{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 21px;border-radius:18px;background:#513c32;color:#fff;max-width:90vw;font-size:12px;z-index:100;box-shadow:0 5px 20px #0002}.cf-message:empty{display:none}.cf-dimension-layer{position:absolute;inset:0;pointer-events:none}.cf-dimension-layer span{position:absolute;transform:translate(-50%,-50%);padding:3px 7px;font-size:10px;color:#8c7867;background:#eee7decc;border-radius:7px;white-space:nowrap}.cf-loading{position:absolute;inset:0;display:grid;place-items:center;font-size:13px;color:#8d7867}.cf-check{display:flex;align-items:center;gap:8px;font-size:11px;margin:12px 0;cursor:pointer}.cf-check input{accent-color:#71523e;width:15px;height:15px}.cf-shelf-row{display:grid;grid-template-columns:1fr 85px 26px;gap:8px;align-items:center;margin-bottom:9px;font-size:11px}.cf-shelf-row input{width:100%;padding:8px;font-size:11px;border-radius:9px}.cf-shelf-row button{font-size:18px}.cf-text-button{font-size:11px;padding:8px 0;text-decoration:underline;text-underline-offset:4px}.cf-split-actions{display:flex;gap:7px;flex-wrap:wrap}.cf-split-actions button{font-size:10px;border:1px solid #d4c6b9;padding:9px 12px;border-radius:20px}.cf-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.cf-section-heading h3{font-size:20px}.cf-section-heading span{font-size:10px;color:#938171}.cf-section-controls{display:flex;gap:6px}.cf-dialog{width:min(510px,calc(100% - 32px));padding:30px;border:0;border-radius:26px;background:#f8f5f1;color:var(--ink);max-height:90svh;overflow:auto}.cf-dialog::backdrop{background:#38282055;backdrop-filter:blur(5px)}.cf-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.cf-dialog h2{font-size:29px}.cf-dialog .eyebrow{font-size:9px;margin-bottom:10px}.cf-dialog>p{font-size:12px;color:var(--muted);margin:12px 0 20px}.cf-dialog form{display:grid;gap:14px}.cf-dialog label:not(.cf-consent){display:grid;gap:7px;font-size:12px}.cf-dialog input,.cf-dialog textarea{width:100%;background:#eee7e0}.cf-consent{display:flex;gap:10px;align-items:flex-start;font-size:10px;line-height:1.6}.cf-consent input{width:16px;height:16px;margin:3px 0 0;accent-color:#71523e;flex-shrink:0}.cf-consent a{text-decoration:underline}.cf-dialog small{font-size:10px;color:var(--muted);line-height:1.6}.cf-honeypot{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.cf-confirm>div{display:flex;gap:8px;flex-wrap:wrap}.cf-confirm .button{font-size:12px}.cf-fallback{position:absolute;inset:50px 10px;display:grid;place-items:center}.cf-fallback svg{max-width:80%;height:80%;width:100%}.cf-success{padding:20px 0}.cf-success strong{display:block;font-size:35px;margin-bottom:12px}.cf-page+*{margin-top:30px}
@media(min-width:1600px){.cf-layout{grid-template-columns:minmax(0,1fr) 404px}.cf-panel-scroll{padding-inline:28px}.cf-type svg,.cf-type>.cf-template-image{width:95px}.cf-type{font-size:13px}}
@media(max-width:1100px){.cf-layout{grid-template-columns:minmax(0,1fr) 340px;gap:12px}.cf-type{padding:5px;gap:1px;font-size:10px}.cf-type svg,.cf-type>.cf-template-image{width:58px;height:53px}.cf-project-actions>span{display:none}.cf-panel-top{padding:20px}.cf-panel-scroll{padding-inline:20px}.cf-panel-footer{padding-inline:20px}.cf-stage-bottom p{max-width:170px}.cf-stage-bottom{left:18px;right:18px}.cf-view-tools{left:16px}}
@media(max-width:820px){.cf-heading{gap:12px;align-items:flex-start}.cf-heading h1{font-size:30px;max-width:350px}.cf-project-actions{gap:4px}.cf-soft-button{font-size:0;width:36px;height:36px;padding:5px}.cf-soft-button[data-cf=export]::after{content:'↓';font-size:20px}.cf-soft-button[data-cf=import]::after{content:'↑';font-size:20px}.cf-types{display:flex;overflow-x:auto;gap:7px;padding:2px 2px 9px;margin-inline:-2px;scrollbar-width:none}.cf-type{flex:0 0 108px;flex-direction:column;gap:2px;min-height:94px;border-radius:16px}.cf-type svg,.cf-type>.cf-template-image{width:70px;height:58px}.cf-type span{text-align:center;font-size:10px;max-width:100px}.cf-layout{grid-template-columns:1fr;gap:14px}.cf-stage-wrap{position:relative;top:auto;height:440px;max-height:none;min-height:0;border-radius:23px}.cf-panel{height:auto;max-height:none;border-radius:23px}.cf-panel-scroll{max-height:570px;min-height:0;padding-bottom:4px}.cf-panel-top{padding:20px 22px 14px}.cf-panel-tabs{margin-inline:20px}.cf-panel-top h2{font-size:24px}.cf-panel-footer{padding:16px 22px}.cf-panel-footer p{font-size:15px}.cf-options{grid-template-columns:repeat(3,minmax(0,1fr))}.cf-options.cf-handle-options{grid-template-columns:repeat(3,minmax(0,1fr))}.cf-option svg{height:100px}.cf-option.cf-small svg{height:70px}.cf-under{flex-wrap:wrap;justify-content:flex-start;gap:8px 20px;font-size:9px}.cf-under>span:nth-child(2){display:none}.cf-panel-tabs button{font-size:12px}.cf-group-title,.cf-group>summary{font-size:13px}.cf-field{font-size:11px}.cf-panel-scroll{padding-inline:22px}.cf-stage-top{top:18px;left:18px;right:18px}.cf-view-tools{top:70px}.cf-stage-bottom p{font-size:9px}.cf-materials{grid-template-columns:repeat(5,minmax(0,1fr));max-width:360px;gap:12px}.cf-swatch{max-height:56px}.cf-heading .eyebrow{font-size:8px}.cf-page{padding-top:20px}.cf-message{bottom:16px;width:max-content;max-width:90vw}}
@media(max-width:460px){.cf-stage-wrap{height:365px}.cf-heading h1{font-size:27px;max-width:230px}.cf-options{grid-template-columns:repeat(2,minmax(0,1fr))}.cf-stage-bottom{bottom:15px;gap:5px}.cf-stage-bottom p{max-width:145px}.cf-zoom button{width:32px;height:32px}.cf-panel-scroll{max-height:520px}.cf-view-tools button{min-height:32px;min-width:32px;font-size:9px;padding:7px 9px}.cf-view-tools svg{width:16px;height:16px}.cf-view-tools{gap:7px}.cf-dimension-layer span{font-size:8px}.cf-stage-label{font-size:9px}.cf-dialog{padding:24px}.cf-dialog h2{font-size:25px}.cf-handle-options .cf-option{font-size:9px}.cf-type{flex-basis:99px}}
@media(prefers-reduced-motion:reduce){.cf-type{transition:none}}
/* Model library, measured controls and high-contrast editing. */
.cf-type small{display:block;font-size:9px;color:#806e61;margin-top:5px}.cf-model-picker{display:flex;align-items:center;gap:16px;background:#f4efea;border:1px solid #d7cbc1;border-radius:20px;padding:10px 15px;margin-bottom:16px;min-width:0}.cf-model-picker>img{width:92px;height:80px;object-fit:contain;border-radius:11px;background:#e6e0dd;flex-shrink:0}.cf-reference-info{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.cf-reference-info>span{font-size:8px;letter-spacing:.17em;color:#7f6d60}.cf-reference-info strong{font-size:14px;font-weight:550}.cf-reference-info small{font-size:10px;line-height:1.5;color:#7c6c60;max-width:520px}.cf-model-choice{flex:0 1 380px;min-width:0;display:grid;gap:4px}.cf-model-choice label{font-size:10px}.cf-model-choice select{min-width:0;width:100%;background:#fffaf6;border:1px solid #cbb9aa;border-radius:11px;padding:10px 28px 10px 10px;font-size:12px}.cf-model-choice .cf-text-button{font-size:10px;text-align:left;padding:4px 0}.cf-stage-wrap,.cf-panel{height:max(620px,calc(100svh - 400px))}.cf-dim-inputs{display:block}.cf-measure{display:grid;grid-template-columns:minmax(0,1fr) 91px;align-items:center;gap:7px 12px;margin-bottom:14px}.cf-measure-label{font-size:12px;color:#4f3b30}.cf-measure .cf-unit input{width:100%;height:36px;border:1px solid #cfc0b2;border-radius:10px;background:#fffaf6;font-size:13px;line-height:1.2;padding:8px 27px 8px 9px;font-variant-numeric:tabular-nums}.cf-measure .cf-unit>span{top:10px}.cf-range{grid-column:1/-1}.cf-range input[type=range]{display:block;width:100%;height:20px;min-height:20px;padding:0;margin:0;background:transparent;accent-color:#69513e;cursor:pointer;border:0;box-shadow:none}.cf-range input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:9px;background:#cbbbad}.cf-range input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:17px;height:17px;border-radius:50%;margin-top:-6px;background:#604938;border:3px solid #fbf7f2;box-shadow:0 0 0 1px #604938}.cf-range input[type=range]{appearance:none;-webkit-appearance:none}.cf-range>div{display:flex;justify-content:space-between;font-size:9px;color:#786758;margin-top:1px;font-variant-numeric:tabular-nums}.cf-shelf-row{grid-template-columns:minmax(0,1fr) 22px;align-items:start;gap:10px}.cf-shelf-row>button{margin-top:6px}.cf-shelf-row .cf-measure{margin-bottom:6px}.cf-shelf-row .cf-measure-label{font-size:11px}.cf-sections{display:block;position:relative;min-height:100px;max-height:210px;width:100%;padding:0;border:5px solid #ab8967;border-radius:7px;background:#bd9e7c;overflow:hidden;box-sizing:content-box;max-width:calc(100% - 10px)}.cf-sections button{position:absolute;min-height:0;border:2px solid #eee2d5;border-radius:2px;background:#a5825f;color:#fffaf2;font-size:12px;text-shadow:0 1px 2px #321f16;display:grid;place-items:center;outline:0}.cf-sections button[aria-pressed=true]{background:#39736e;border:3px solid #fff;outline:0}.cf-sections button:hover{background:#5b8178}.cf-sections button::after{display:none}.cf-materials{gap:8px}.cf-swatch{overflow:hidden;border-radius:11px;border-width:2px;background-clip:border-box;aspect-ratio:1}.cf-swatch img{width:100%;height:100%;object-fit:cover;display:block}.cf-swatch-code{position:absolute;bottom:0;left:0;right:0;background:#fff9efdd;color:#3b2d24;font-size:8px;text-align:center;line-height:17px}.cf-swatch[aria-pressed=true]::after{right:3px;top:0;bottom:auto}.cf-material-name{line-height:1.6;font-size:11px;font-weight:550}.cf-tooltip{position:fixed;z-index:500;pointer-events:none;background:#3e3028;color:#fffaf5;font-size:12px;line-height:1.5;padding:10px 14px;border-radius:12px;box-shadow:0 4px 18px #35241f30}.cf-tooltip[hidden]{display:none}.cf-hdf-options{display:grid;gap:8px}.cf-hdf-option{display:flex;align-items:center;gap:12px;text-align:left;padding:10px;border:1px solid #d3c5b8;border-radius:13px}.cf-hdf-option[aria-pressed=true]{border:2px solid #745d49;padding:9px;background:#ede4da}.cf-hdf-chip{width:43px;height:43px;border-radius:8px;flex-shrink:0;border:1px solid #b9a999}.cf-hdf-chip.brown{background:#a67e50}.cf-hdf-chip.white{background:#faf9f5}.cf-hdf-option strong{font-size:12px;display:block;font-weight:550}.cf-hdf-option small{display:block;font-size:10px;color:#807063;margin-top:4px}.cf-dimension-layer span{background:#fffaf4f5;color:#3d3028;border:1px solid #9b8776;box-shadow:0 2px 7px #3b2b2014;font-size:12px;font-weight:600;padding:5px 9px;border-radius:8px;line-height:1.2}.cf-dimension-layer .cf-selection-label{background:#326b65;color:#fff;border:2px solid #fff;box-shadow:0 3px 10px #163c3c30;font-size:11px;padding:7px 11px;z-index:2}.cf-model-dialog{width:min(1120px,calc(100% - 32px));padding:26px;max-height:92svh}.cf-model-dialog .cf-dialog-heading{position:sticky;top:-26px;background:#f8f5f1;z-index:1;padding:14px 0;margin-top:-10px}.cf-model-gallery,#cf-model-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.cf-reference-card{border:1px solid #d6c6b8;border-radius:17px;background:#f1eae3;padding:8px;text-align:left;display:flex;flex-direction:column;gap:8px;overflow:hidden;min-width:0}.cf-reference-card img{height:210px;width:100%;object-fit:contain;background:#e9e2da;border-radius:11px}.cf-reference-card strong{font-size:12px;line-height:1.45;padding:0 5px}.cf-reference-card>span{font-size:10px;color:#776455;padding:0 5px 8px}.cf-reference-card[aria-pressed=true]{outline:2px solid #6f5641;outline-offset:1px}.cf-reference-card:hover{background:#e6dacf}.cf-option strong{font-size:12px;margin:4px 0}.cf-option[disabled]{opacity:.4;cursor:not-allowed}.cf-group .cf-hint{color:#7b6b5f}.cf-panel-scroll{padding-top:3px}.cf-section-heading{padding:10px;border:1px solid #a7c1b8;border-radius:12px;background:#e1ebe6}.cf-section-heading h3{color:#2f605a}.cf-section-heading span{color:#426c64}.cf-project-actions .cf-soft-button{touch-action:manipulation}
@media(min-width:1600px){.cf-model-choice{flex-basis:430px}}
@media(max-width:1100px){.cf-model-picker{gap:12px}.cf-reference-info small{display:none}.cf-model-choice{flex-basis:340px}}
@media(max-width:820px){.cf-stage-wrap{height:450px}.cf-panel{height:auto}.cf-model-picker{display:grid;grid-template-columns:70px minmax(0,1fr);gap:10px;padding:12px}.cf-model-picker>img{width:70px;height:65px}.cf-model-choice{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.cf-model-choice label{grid-column:1/-1}.cf-model-choice select{font-size:11px}.cf-model-choice .cf-text-button{max-width:80px;font-size:10px;line-height:1.6;text-align:right}.cf-reference-info strong{font-size:13px}.cf-reference-info>span{font-size:8px}.cf-reference-info small{display:block;font-size:9px}.cf-panel-scroll{max-height:650px}.cf-model-gallery,#cf-model-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.cf-reference-card img{height:170px}.cf-type small{font-size:8px}.cf-dimension-layer span{font-size:11px}.cf-sections{max-width:330px}.cf-model-dialog{padding:20px}.cf-model-dialog .cf-dialog-heading{top:-20px}}
@media(max-width:460px){.cf-stage-wrap{height:380px}.cf-reference-info small{display:none}.cf-model-choice .cf-text-button{max-width:62px}.cf-model-choice select{font-size:10px}.cf-reference-card img{height:145px}.cf-reference-card strong{font-size:11px}.cf-reference-card>span{font-size:9px}.cf-model-gallery,#cf-model-gallery{gap:10px}.cf-model-dialog{padding:18px;width:calc(100% - 20px)}.cf-model-dialog .cf-dialog-heading{top:-18px}.cf-model-dialog h2{font-size:23px}.cf-dimension-layer span{font-size:10px;padding:4px 6px}.cf-dimension-layer .cf-selection-label{font-size:10px}.cf-reference-info{gap:5px}.cf-stage-bottom p{max-width:137px}.cf-type{min-height:101px}}

/* Keep mobile controls readable and leave full-width room for the model name. */
@media(max-width:820px){
 .cf-model-choice{grid-template-columns:minmax(0,1fr)}
 .cf-model-choice .cf-text-button{max-width:none;justify-self:start;text-align:left;font-size:12px;padding:7px 0;white-space:nowrap}
 .cf-model-choice select{font-size:16px;min-height:44px}
 .cf-field input,.cf-field select,.cf-unit input,.cf-dialog input,.cf-dialog textarea{font-size:16px}
 .cf-group-title,.cf-group>summary,.cf-measure-label{font-size:13px}
 .cf-icon-button,.cf-history button,.cf-zoom button{min-width:40px;min-height:40px}
 .cf-view-tools button{min-width:40px;min-height:40px}
 .cf-panel-tabs button{min-height:40px;font-size:12px}
}

@media(max-width:820px){.cf-stage{inset:48px 0 50px}}

/* Each furniture type owns a drop-down model library. */
.cf-type-picker{position:relative;z-index:20;margin-bottom:18px}
.cf-types{margin-bottom:0}
.cf-type{position:relative;padding-bottom:22px;min-height:93px;width:100%}
.cf-type svg.cf-type-chevron{position:absolute;bottom:6px;left:calc(50% - 8px);width:16px;height:10px;transition:transform .18s;opacity:.7}
.cf-type[aria-expanded=true]{background:#faf7f2;border-color:#806754}
.cf-type[aria-expanded=true] svg.cf-type-chevron{transform:rotate(180deg)}
.cf-model-dropdown{position:absolute;width:min(720px,100%);padding:20px;border:1px solid #d3c6ba;border-radius:24px;background:#f8f5f1;box-shadow:0 18px 55px #38282026;z-index:21}
.cf-model-dropdown[hidden]{display:none}
.cf-dropdown-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.cf-dropdown-heading .eyebrow{font-size:8px;letter-spacing:.17em;margin-bottom:5px}
.cf-dropdown-heading h2{font-size:24px}
.cf-model-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:min(520px,55svh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:3px}
.cf-model-card{min-width:0;display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:9px 10px 12px;border:1px solid #e0d7ce;border-radius:17px;background:#eee8e1;transition:background .15s,border-color .15s}
.cf-model-card:hover{background:#e7ded4;border-color:#a58b75}
.cf-model-card[aria-pressed=true]{border-color:#78604c;background:#fdf9f3;box-shadow:inset 0 0 0 1px #78604c}
.cf-model-card>svg,.cf-model-card>.cf-template-image{display:block;width:100%;height:116px;flex-shrink:0}
.cf-model-card-title{display:grid;gap:5px;margin:4px 0 9px}
.cf-model-card-title small{font-size:9px;color:#8a7766}
.cf-model-card-title strong{font-size:11px;line-height:1.45;font-weight:550}
.cf-model-card-default{font-size:10px;line-height:1.6;color:#4e3d31;margin-top:auto}
.cf-model-card-size{font-size:9px;line-height:1.6;color:#7c6c5e;margin-top:3px}
#cf-chosen-model{margin-top:7px;font-size:10px;line-height:1.5;color:#7c6c5e}
/* One scroll surface, including the calculation button at the very end. */
.cf-panel{display:block;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9bbae transparent}
.cf-panel-scroll{flex:none;overflow:visible;max-height:none;min-height:0;padding-bottom:8px}
.cf-panel-footer{position:static}
.cf-section-dialog{position:fixed;inset:auto;margin:0;width:420px;max-width:calc(100vw - 32px);max-height:calc(100svh - 32px);padding:0;border:1px solid #d2c3b5;border-radius:25px;background:#f8f5f1;color:var(--ink);box-shadow:0 16px 60px #38282030;overflow:hidden;z-index:40}
.cf-section-dialog[open]{display:flex;flex-direction:column}
.cf-section-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 16px;border-bottom:1px solid #e3d9d0;flex-shrink:0}
.cf-section-dialog-header h2{font-size:24px;letter-spacing:-.035em}
.cf-section-dialog-header .cf-icon-button{width:36px;height:36px;font-size:25px}
.cf-section-dialog-body{padding:18px 22px 22px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9bbae transparent;min-height:0}
.cf-section-dialog .cf-option svg{height:92px}
.cf-section-dialog .cf-option.cf-small svg{height:70px}
.cf-section-dialog::backdrop{background:#38282040;backdrop-filter:blur(2px)}
@media(max-width:820px){
 .cf-type-picker{margin-bottom:12px}
 .cf-type{padding:5px 7px 23px;min-height:115px}
 .cf-model-dropdown{width:100%;padding:15px;border-radius:20px}
 .cf-dropdown-heading h2{font-size:22px}
 .cf-model-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:54svh}
 .cf-model-card{padding:6px 8px 10px;border-radius:14px}
 .cf-model-card>svg,.cf-model-card>.cf-template-image{height:95px}
 .cf-model-card-title strong{font-size:11px}
 .cf-model-card-size{font-size:9px}
 .cf-panel{height:auto;max-height:none;overflow:visible}
 .cf-panel-scroll{max-height:none;overflow:visible}
 .cf-section-dialog{inset:0;margin:auto;width:calc(100% - 24px);max-width:500px;max-height:calc(100svh - 32px)}
 .cf-section-dialog-header{padding:17px 18px 14px}
 .cf-section-dialog-header h2{font-size:23px}
 .cf-section-dialog-body{padding:16px 18px 20px}
 .cf-section-dialog .cf-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cf-section-dialog .cf-handle-options{grid-template-columns:repeat(3,minmax(0,1fr))}
 .cf-section-dialog .cf-handle-options svg{height:36px}
 .cf-section-dialog .cf-materials{gap:8px}
 .cf-section-dialog .cf-unit input,.cf-section-dialog .cf-field select{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.cf-type svg.cf-type-chevron,.cf-model-card{transition:none}}
@media(min-width:821px){.cf-section-dialog .cf-options{grid-template-columns:repeat(3,minmax(0,1fr))}.cf-section-dialog .cf-option svg{height:78px}.cf-section-dialog .cf-option.cf-small svg{height:65px}.cf-section-dialog .cf-handle-options svg{height:36px}}

body:has(#cf-section-dialog:modal){overflow:hidden}

/* Board samples and measurements share the neutral material palette. */
.cf-substrate-photo{display:block;width:100%;aspect-ratio:1.2;overflow:hidden;position:relative;border-radius:9px;background:#f8f5f1;margin-bottom:8px}
.cf-substrate-photo img{position:absolute;max-width:none;width:200%;height:100%;object-fit:cover;left:0;top:0}
.cf-substrate-photo.lmdf img{left:-100%}
.cf-range input[type=range]:focus,.cf-range input[type=range]:focus-visible{outline:none;box-shadow:none}
.cf-range input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px #a9876d}
.cf-range input[type=range]::-moz-range-track{height:4px;border-radius:9px;background:#cbbbad}
.cf-range input[type=range]::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:#604938;border:3px solid #fbf7f2;box-shadow:0 0 0 1px #604938}
.cf-range input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px #a9876d}
.cf-dimension-layer svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.cf-dimension-line{fill:none;stroke:#58483d;stroke-width:1.5;vector-effect:non-scaling-stroke}
.cf-dimension-extension{fill:none;stroke:#89796c;stroke-width:1;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
@media(max-width:820px){
 .cf-view-tools button span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}

/* Closed facade corners are large enough to compare the reveal and mounting depth. */
.cf-mount-hint{font-size:11px;color:#807063;margin:16px 0 10px}
.cf-mount-options{display:grid;gap:10px;margin-bottom:16px}
.cf-mount-option{position:relative;display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:16px;min-width:0;padding:8px 30px 8px 8px;border:1px solid #dfd3c8;border-radius:18px;background:#f1ebe4;text-align:left;overflow:hidden;transition:border-color .15s,background-color .15s}
.cf-mount-option:hover{border-color:#a48972;background:#ede4da}
.cf-mount-option[aria-pressed=true]{border-color:#7f6149;background:#e8ddd0;box-shadow:inset 0 0 0 1px #7f6149}
.cf-mount-art{display:block;aspect-ratio:158/145;overflow:hidden;border-radius:11px;background:#e7dfd5}
.cf-mount-art svg{display:block;width:100%;height:100%}
.cf-mount-copy{display:grid;gap:7px;min-width:0}
.cf-mount-copy strong{font-size:14px;font-weight:600;line-height:1.35}
.cf-mount-copy>span{font-size:11px;line-height:1.5;color:#786656}
.cf-mount-check{position:absolute;right:11px;top:12px;width:18px;height:18px;display:grid;place-items:center;border-radius:50%;font-size:11px;line-height:1;color:#fffaf4;background:#735841;visibility:hidden}
.cf-mount-option[aria-pressed=true] .cf-mount-check{visibility:visible}
@media(max-width:460px){.cf-mount-option{grid-template-columns:minmax(110px,.9fr) minmax(0,1fr);gap:12px;padding-right:26px}.cf-mount-copy strong{font-size:13px}.cf-mount-copy>span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.cf-mount-option{transition:none}}


/* Never expose a frame with unloaded texture maps. The stage keeps its layout. */
.cf-stage[data-load-state="loading"] canvas,.cf-stage[data-load-state="loading"] .cf-dimension-layer{visibility:hidden;pointer-events:none}
.cf-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;pointer-events:none;color:#776353}
.cf-loading[hidden]{display:none}
.cf-loading-ring{width:48px;height:48px;stroke-width:2.5;animation:cf-loading-spin 1s linear infinite}
.cf-loading-track{stroke:#b9a795;opacity:.3}
.cf-loading-arc{stroke:#705542;stroke-linecap:round;stroke-dasharray:32 88}
@keyframes cf-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.cf-loading-ring{animation:none}}

/* The primary EGGER palette always occupies two rows of five swatches. */
.cf-materials{grid-template-columns:repeat(5,minmax(0,1fr))}
.cf-more-materials{margin:8px 0 12px}
.cf-more-materials>summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:38px;margin:0;padding:8px 12px;border:1px solid #d8cdc2;border-radius:20px;list-style:none;font-size:11px;font-weight:500;color:#6d5b4d;cursor:pointer}
.cf-more-materials>summary::-webkit-details-marker{display:none}
.cf-more-materials>summary::after,.cf-more-materials[open]>summary::after{content:none}
.cf-more-materials>summary:hover{background:#eee6dd}
.cf-more-materials>summary svg{width:16px;height:12px;flex-shrink:0;transition:transform .18s ease}
.cf-more-materials .cf-less-label{display:none}
.cf-more-materials[open]>summary .cf-less-label{display:inline}
.cf-more-materials[open]>summary .cf-more-label{display:none}
.cf-more-materials[open]>summary svg{transform:rotate(180deg)}
.cf-more-materials>.cf-materials{margin-top:12px}
.cf-decor-availability{font-size:10px;color:#877568;line-height:1.5;margin-top:4px}
@media(prefers-reduced-motion:reduce){.cf-more-materials>summary svg{transition:none}}

/* Static, pre-rendered model thumbnails avoid geometry work on picker clicks. */
.cf-template-image{display:block;object-fit:contain;min-width:0;pointer-events:none}

/* One section type, followed by the settings for that type. */
.cf-section-dialog .cf-section-types{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cf-section-types .cf-option{padding:10px 8px 12px;font-size:12px;line-height:1.4}
.cf-section-dialog .cf-section-types .cf-option svg{height:96px}
.cf-section-types .cf-option[aria-pressed=true]{border-color:#7f6149;background:#e8ddd0;box-shadow:inset 0 0 0 1px #7f6149}
.cf-section-types .cf-option:focus-visible{outline:2px solid #745b47;outline-offset:3px}
@media(max-width:460px){.cf-section-dialog .cf-section-types .cf-option svg{height:85px}}
/* Keep legal choices readable without excessive empty space in the order dialog. */
.cf-dialog .personal-data-consents{margin:3px 0;gap:10px}.cf-dialog .cf-hint{margin:0}.cf-dialog .form-error:empty{display:none}
.cf-heading h1{font-size:clamp(27px,3.1vw,44px);max-width:1000px;line-height:1.15}.cf-seo-lead{font-size:14px;line-height:1.8;color:var(--muted);max-width:1100px;margin:0 0 23px}#cf-route-breadcrumbs .breadcrumbs{margin:24px 0 0}#cf-seo-content .seo-copy{margin-top:70px}.cf-panel-footer .button{font-size:12px}
@media(max-width:760px){.cf-seo-lead{font-size:13px}#cf-route-breadcrumbs .breadcrumbs{font-size:10px;gap:8px;flex-wrap:wrap}.cf-heading h1{font-size:28px}}

.cf-option:disabled{opacity:.42;cursor:not-allowed;background:transparent;box-shadow:none}
