.hedy-studio-page *{box-sizing:border-box}.hedy-studio-page{margin:0;background:#f8f6f0;color:#203b40;font-family:Segoe UI,Arial,sans-serif;font-size:14px}.hedy-studio-page button,.hedy-studio-page input,.hedy-studio-page select,.hedy-studio-page textarea{font:inherit}.hedy-studio-page button{cursor:pointer;border:1px solid #ced9d5;background:#fffdf8;color:#23424a;padding:10px 15px;border-radius:7px;transition:.16s}.hedy-studio-page button:hover{background:#e9efea;border-color:#45695f}.hedy-studio-page button:disabled{opacity:.42;cursor:default}.hedy-studio-page .primary{background:#204a4b;color:#fff;border-color:#204a4b}.hedy-studio-page .primary:hover{background:#2c6060;color:white}.hedy-studio-page .text-button{border:0;background:transparent;padding:8px}.hedy-studio-page .wide{width:100%;margin-top:12px}.hedy-studio-page header{height:103px;display:flex;justify-content:space-between;align-items:center;padding:20px 32px;border-bottom:1px solid #dbe2dc;background:#fffdf8}.hedy-studio-page .brand{display:flex;align-items:center;gap:15px}.hedy-studio-page .monogram{border:1px solid #9daca4;height:54px;width:54px;border-radius:50%;font-family:Georgia;font-style:italic;font-size:40px;display:grid;place-items:center}.hedy-studio-page .brand h1{margin:0;font-family:Georgia;font-size:30px;font-weight:normal;letter-spacing:1px}.hedy-studio-page .brand h1 span{font:11px Segoe UI;text-transform:uppercase;letter-spacing:2px;margin-left:18px}.hedy-studio-page .brand p{margin:3px 0 0;font-size:12px;color:#71847b}.hedy-studio-page .header-right{display:flex;align-items:center;gap:10px}.hedy-studio-page .engine-dot{width:7px;height:7px;border-radius:50%;background:#c88b3d}.hedy-studio-page .engine-dot.ready{background:#438567}.hedy-studio-page .steps{display:flex;padding:0 26px;background:#fffdf8;border-bottom:1px solid #dbe2dc;height:63px;justify-content:space-around}.hedy-studio-page .steps button{border:0;background:none;position:relative;border-radius:0;padding:18px 14px;color:#78877e;white-space:nowrap}.hedy-studio-page .steps b{font-size:10px;letter-spacing:1px;padding-right:9px;font-weight:normal}.hedy-studio-page .steps .active{color:#1c4a49;border-bottom:3px solid #2b6360}.hedy-studio-page .steps .passed{color:#497c70}.hedy-studio-page main{display:grid;grid-template-columns:365px minmax(500px,1fr);min-height:calc(100vh - 166px)}.hedy-studio-page .inspector{padding:29px 27px 22px;border-right:1px solid #dbe2dc;background:#fffdf8;position:relative}.hedy-studio-page .step-caption,.hedy-studio-page .eyebrow{font-size:10px;letter-spacing:2px;color:#7c8c83}.hedy-studio-page .inspector h2{font-family:Georgia;font-weight:normal;font-size:27px;line-height:1.2;margin:17px 0 20px}.hedy-studio-page .inspector fieldset{padding:0;border:0;margin:0;min-height:480px}.hedy-studio-page .choices{display:grid;gap:8px}.hedy-studio-page .choice{text-align:left;display:flex;flex-direction:column;padding:12px 15px}.hedy-studio-page .choice strong{font-weight:500}.hedy-studio-page .choice span{font-size:12px;color:#7b8e86;margin-top:3px}.hedy-studio-page .selected{border-color:#245b53!important;background:#e8eeE8!important;box-shadow:inset 0 0 0 1px #245b53}.hedy-studio-page .hint{color:#6e8077;font-size:12px;line-height:1.6;margin:18px 0}.hedy-studio-page .notice{padding:14px;border-radius:6px;background:#f6ecd9;color:#846539;font-size:12px;line-height:1.6}.hedy-studio-page .shape-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hedy-studio-page .shape{display:flex;align-items:center;gap:10px;padding:15px 10px}.hedy-studio-page .shape span{font-size:30px;line-height:1;width:37px;color:#627e73}.hedy-studio-page .shape:last-child{grid-column:1/-1}.hedy-studio-page label{display:block;font-size:12px;color:#526d64;margin:15px 0}.hedy-studio-page label>input:not([type=checkbox]):not([type=color]):not([type=range]),.hedy-studio-page select,.hedy-studio-page textarea{display:block;width:100%;background:#fffcf7;border:1px solid #c9d5ce;border-radius:6px;padding:10px;margin-top:7px;color:#2d4948}.hedy-studio-page textarea{resize:vertical;line-height:1.5}.hedy-studio-page .dimension-row{display:flex;gap:14px}.hedy-studio-page .dimension-row label{flex:1}.hedy-studio-page .measurement{padding:17px;background:#eaf0e9;border-radius:8px;margin:15px 0}.hedy-studio-page .measurement strong{display:block;font-family:Georgia;font-size:23px;font-weight:normal}.hedy-studio-page .measurement span{font-size:11px;color:#6e8077;display:block;margin-top:7px}.hedy-studio-page .palette-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:380px;overflow:auto}.hedy-studio-page .palette{padding:8px;text-align:left}.hedy-studio-page .swatches{display:flex;overflow:hidden;border-radius:3px;margin-bottom:7px}.hedy-studio-page .swatches i{height:26px;flex:1}.hedy-studio-page .palette strong{font-weight:normal;font-size:11px}.hedy-studio-page .color-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:10px 0}.hedy-studio-page .color-grid label{text-transform:capitalize;font-size:11px;margin:5px 0}.hedy-studio-page .color-grid input{display:block;width:100%;height:35px;border:1px solid #c9d5ce;border-radius:4px;padding:0;margin-top:6px;background:none;cursor:pointer}.hedy-studio-page .color-grid span{display:block;font-size:9px;margin-top:6px;color:#718279}.hedy-studio-page .slider{position:relative;margin:14px 0;color:#36574f}.hedy-studio-page .slider output{float:right;color:#718279}.hedy-studio-page .slider input{width:100%;display:block;margin-top:9px;accent-color:#255a52}.hedy-studio-page .checkbox{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.4}.hedy-studio-page .checkbox input{accent-color:#265e53}.hedy-studio-page .inspiration{padding:15px;margin:22px 0 15px;border:1px dashed #b9c8bd;border-radius:7px}.hedy-studio-page .inspiration strong{font-size:13px;font-weight:500}.hedy-studio-page .inspiration p{font-size:12px;color:#718279;word-break:break-all}.hedy-studio-page .step-footer{display:flex;justify-content:space-between;border-top:1px solid #e2e7e0;padding-top:19px;margin-top:22px}.hedy-studio-page .studio{padding:27px 33px}.hedy-studio-page .studio-head{display:flex;justify-content:space-between;align-items:center}.hedy-studio-page .studio-head h2{margin:6px 0 19px;font-family:Georgia;font-weight:normal;font-size:24px}.hedy-studio-page .undo{display:flex;gap:7px}.hedy-studio-page .undo button{padding:7px 11px;font-size:12px}.hedy-studio-page .rug-stage{height:480px;background-color:#e9e9df;background-image:linear-gradient(45deg,#d9ded455 25%,transparent 25%),linear-gradient(-45deg,#d9ded455 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d9ded455 75%),linear-gradient(-45deg,transparent 75%,#d9ded455 75%);background-size:28px 28px;background-position:0 0,0 14px,14px -14px,-14px 0;position:relative;display:flex;align-items:center;justify-content:center;padding:30px;border:1px solid #d5ddd1;border-radius:11px;overflow:hidden}.hedy-studio-page .rug-stage img{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain;filter:drop-shadow(0 10px 12px #173d3820)}.hedy-studio-page .placeholder{position:absolute;text-align:center;background:#fffdf7de;padding:23px 26px;box-shadow:0 2px 20px #354c3c08;border:1px solid #ccd8cc;border-radius:9px}.hedy-studio-page .placeholder span{font-family:Georgia;font-size:26px}.hedy-studio-page .placeholder p{font-size:12px;color:#668077;margin:10px 0 0}.hedy-studio-page .drawing{cursor:crosshair}.hedy-studio-page .drawing svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.hedy-studio-page .preview-meta{display:flex;justify-content:space-between;font-size:10px;color:#78867b;margin:12px 0 17px}.hedy-studio-page .concept-strip{display:flex;gap:10px;margin:12px 0 16px}.hedy-studio-page .concept-strip button{width:90px;height:86px;padding:5px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.hedy-studio-page .concept-strip img{width:62px;height:62px;-o-object-fit:cover;object-fit:cover;border-radius:3px}.hedy-studio-page .concept-strip span{font-size:9px;color:#667e74}.hedy-studio-page .concept-strip .more{font-size:22px;background:transparent;border-style:dashed}.hedy-studio-page .review-bar{background:#e9efE7;padding:17px 19px;border-radius:8px;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px}.hedy-studio-page .review-bar strong{font-size:13px;font-weight:500}.hedy-studio-page .review-bar p{font-size:11px;color:#6b7b70;margin:5px 0 0;line-height:1.5}.hedy-studio-page .review-bar button{white-space:nowrap;font-size:12px}.hedy-studio-page .spec-details{margin-top:19px;font-size:12px;color:#688073}.hedy-studio-page .spec-details summary{cursor:pointer}.hedy-studio-page .spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;margin-top:7px}.hedy-studio-page .spec-grid b{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#819188;margin-bottom:7px;font-weight:normal}.hedy-studio-page .spec-grid code{font-size:11px}.hedy-studio-page .spec-details li{font-size:11px;line-height:1.6}.hedy-studio-page .spec-details button{margin:5px;font-size:11px}.hedy-studio-page .validation{color:#9d4733;font-size:12px;line-height:1.5;background:#faeae1;padding:12px;border-radius:7px}.hedy-studio-page .validation p{margin:4px 0}.hedy-studio-page .status{position:fixed;bottom:16px;left:390px;right:24px;z-index:50;display:flex;justify-content:space-between;align-items:center;padding:13px 20px;background:#214c4b;color:#fff;border-radius:7px;box-shadow:0 8px 30px #24453730;font-size:12px;line-height:1.5;white-space:pre-line}.hedy-studio-page .status.error{background:#854937}.hedy-studio-page .status button{margin-left:15px;padding:4px 8px;background:transparent;color:inherit;border-color:#ffffff60}.hedy-studio-page .modal-backdrop{position:fixed;inset:0;background:#112d3077;display:flex;align-items:center;justify-content:center;z-index:40;backdrop-filter:blur(3px)}.hedy-studio-page .modal{background:#fffdf8;border:1px solid #bfcdbf;border-radius:12px;padding:34px;width:570px;max-height:88vh;overflow:auto;position:relative;box-shadow:0 20px 70px #12373230}.hedy-studio-page .modal h2{font-family:Georgia;font-weight:normal;font-size:30px;margin:13px 0}.hedy-studio-page .modal p{color:#718077;font-size:13px;line-height:1.7}.hedy-studio-page .close{position:absolute;right:15px;top:10px;border:0;background:transparent;font-size:22px}.hedy-studio-page .engine-card{padding:20px;background:#e9efE8;border-radius:7px}.hedy-studio-page .engine-card span{display:block;font-size:12px;color:#768479;margin-top:8px}.hedy-studio-page .modal details{font-size:11px;margin-bottom:18px;line-height:1.5}.hedy-studio-page .modal details code{display:block;word-break:break-all;padding:8px}.hedy-studio-page .modal>button:not(.close){margin-right:9px}.hedy-studio-page .library{width:690px}.hedy-studio-page .library-list{display:grid;gap:10px;margin-top:20px}.hedy-studio-page .library-list button{text-align:left;display:flex;flex-direction:column;gap:6px;padding:16px}.hedy-studio-page .library-list strong{font-family:Georgia;font-size:20px;font-weight:normal}.hedy-studio-page .library-list span,.hedy-studio-page .library-list small{color:#788479;font-size:12px}.hedy-studio-page .outline p{font-size:12px;line-height:1.5;color:#6e8077}@media(max-height:850px){.hedy-studio-page .rug-stage{height:360px}.hedy-studio-page .inspector fieldset{min-height:395px}.hedy-studio-page .inspector{padding-top:21px}.hedy-studio-page .studio{padding-top:21px}}@media(min-width:1650px){.hedy-studio-page main{grid-template-columns:390px minmax(500px,1fr)}.hedy-studio-page .rug-stage{height:570px}.hedy-studio-page .studio{padding:32px 50px}}

.hedy-studio-page button{min-height:44px} .hedy-studio-page .gallery-actions{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.hedy-studio-page .gallery-card{border:1px solid #d8d2c6;border-radius:12px;padding:8px}.hedy-studio-page .gallery-card button{width:100%}.hedy-studio-page .gallery-card img{height:190px;width:100%;-o-object-fit:contain;object-fit:contain;background:#ebe7dc}.hedy-studio-page .colour-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hedy-studio-page .review-bar{flex-wrap:wrap}.hedy-studio-page .status{z-index:1000}.hedy-studio-page .color-grid select{width:100%}
.hedy-studio-page .library{width:min(1100px,94vw)}.hedy-studio-page .library-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.hedy-studio-page .color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hedy-studio-page .header-right{flex-wrap:wrap;justify-content:flex-end}.hedy-studio-page header{height:auto;min-height:103px}.hedy-studio-page .review-bar button{white-space:nowrap}.hedy-studio-page .status{max-width:calc(100vw - 50px)}

.hedy-studio-page .provider-modal{max-height:90vh;overflow-y:auto}.hedy-studio-page .paid-cue{padding:14px;border:1px solid #b88751;border-radius:10px;background:#fff7e8;margin:14px 0}.hedy-studio-page .paid-cue p{line-height:1.5}.hedy-studio-page .provider-modal h3{margin-top:26px}

.hedy-studio-page{height:auto;min-height:100%;font-family:var(--identity-body);color:#193d43;background:#f7f5ef}.hedy-studio-page h2,.hedy-studio-page h3{font-family:var(--identity-heading)}.hedy-studio-page .brand h1,.hedy-studio-page .brand h1 button{font-family:Georgia,serif;font-weight:400;font-size:32px;letter-spacing:1px;color:inherit}.hedy-studio-page .brand h1 button{border:0;background:transparent;padding:0;min-height:0}.hedy-studio-page .brand-logo{height:46px;width:auto;max-width:180px;-o-object-fit:contain;object-fit:contain}.hedy-studio-page .construction{padding:12px;border:1px solid #b5b7ab;border-radius:9px}.hedy-studio-page .bio-modal{max-width:650px}.hedy-studio-page .bio-modal .sources{font-size:11px}.hedy-studio-page .status{left:24px}
.hedy-studio-page[data-theme=dark]{background:#17191a;color:#ebe5db}.hedy-studio-page[data-theme=dark] header,.hedy-studio-page[data-theme=dark] .inspector,.hedy-studio-page[data-theme=dark] .modal{background:#1c2021;color:#ebe5db;border-color:#394244}.hedy-studio-page[data-theme=dark] button,.hedy-studio-page[data-theme=dark] input,.hedy-studio-page[data-theme=dark] select,.hedy-studio-page[data-theme=dark] textarea{background:#252b2d;color:#ebe5db;border-color:#465256}.hedy-studio-page[data-theme=dark] .primary,.hedy-studio-page[data-theme=dark] button.selected,.hedy-studio-page[data-theme=dark] .choice.selected{background:#355e60;color:#fff}.hedy-studio-page[data-theme=dark] .rug-stage{background:repeating-conic-gradient(#282d2d 0% 25%,#242929 0% 50%) 50%/24px 24px}.hedy-studio-page[data-theme=dark] .engine-card,.hedy-studio-page[data-theme=dark] .review-bar,.hedy-studio-page[data-theme=dark] .measurement,.hedy-studio-page[data-theme=dark] .placeholder{background:#252d2d;color:#e3dfd4}.hedy-studio-page[data-theme=dark] .paid-cue,.hedy-studio-page[data-theme=dark] .notice,.hedy-studio-page[data-theme=dark] .validation{background:#382f22;color:#f2dcaf}.hedy-studio-page[data-theme=dark] .hint,.hedy-studio-page[data-theme=dark] .modal p,.hedy-studio-page[data-theme=dark] .preview-meta,.hedy-studio-page[data-theme=dark] .engine-card span{color:#b3bfbd}.hedy-studio-page[dir=rtl] .close{left:15px;right:auto}.hedy-studio-page[dir=rtl] .step-caption{letter-spacing:0}.hedy-studio-page .supplier-extension{font-size:12px}

.hedy-studio-page :is(h2,h3,.library-list strong){font-family:var(--identity-heading)!important}.hedy-studio-page[data-theme=dark] .steps{background:#1c2021;border-color:#394244}.hedy-studio-page[data-theme=dark] .steps button{background:transparent;color:#b9c6c3}.hedy-studio-page[data-theme=dark] .steps .active{color:#e3efea;border-color:#75a69a}
.hedy-studio-page .layout-canvas-wrap{background:var(--hedy-panel,#efede8);border:1px solid #8d837355;border-radius:14px;padding:12px;min-height:360px;color:inherit}
.hedy-studio-page .layout-canvas{width:100%;height:min(56vh,610px);min-height:320px;touch-action:none;display:block;-webkit-user-select:none;-moz-user-select:none;user-select:none}
.hedy-studio-page .furniture-add{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.hedy-studio-page .furniture-add button{padding:7px 10px;font-size:12px}
.hedy-studio-page .furniture-layers{display:grid;gap:6px;max-height:190px;overflow:auto;margin:12px 0}
.hedy-studio-page .furniture-layers button{text-align:start;padding:8px;font-size:12px}
.hedy-studio-page .furniture-layers button.selected{border-color:#c79a5f;background:#c79a5f22}
.hedy-studio-page .furniture-fields{border-top:1px solid #95877355;padding-top:10px}
.hedy-studio-page[data-theme="dark"] .layout-canvas-wrap{background:#222724;--furniture-fill:#70655a;--furniture-line:#e0ceb1}
.hedy-studio-page[data-theme="light"] .layout-canvas-wrap{background:#f2efe8;--furniture-fill:#877768;--furniture-line:#e4d8c7}
.hedy-studio-page[data-theme="dark"] .checkbox,.hedy-studio-page[data-theme="dark"] .hint{color:#b4c8c3}

.hedy-studio-page{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}
.hedy-studio-page header,.hedy-studio-page .steps,.hedy-studio-page .status{flex-shrink:0}
.hedy-studio-page header{gap:16px;padding:14px 22px;min-height:92px}
.hedy-studio-page .header-right{gap:6px;min-width:0}
.hedy-studio-page .header-right button{font-size:12px;padding:8px 10px}
.hedy-studio-page .brand{flex-shrink:0}.hedy-studio-page .brand h1 span{display:block;margin:2px 0 0}
.hedy-studio-page main{flex:1;min-height:0;overflow:auto;grid-template-columns:minmax(290px,340px) minmax(0,1fr);align-items:start}
.hedy-studio-page .inspector,.hedy-studio-page .studio,.hedy-studio-page fieldset{min-width:0}
.hedy-studio-page .inspector{padding:22px 20px;overflow:hidden}
.hedy-studio-page fieldset{min-height:0}
.hedy-studio-page .shape-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%}
.hedy-studio-page .shape{min-width:0;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 8px;line-height:1.45;min-height:93px;text-align:center;white-space:normal}
.hedy-studio-page .shape:last-child{grid-column:auto}
.hedy-studio-page .shape .shape-label{display:block;width:auto;font-size:13px;line-height:1.5;color:inherit;overflow-wrap:break-word;max-width:100%;word-break:normal}
.hedy-studio-page .shape-icon{width:30px;height:30px;flex-shrink:0;color:inherit}
.hedy-studio-page .shape.selected{background:#d6e5dd!important;color:#153d37!important;border-color:#245b53!important}
.hedy-studio-page[data-theme=dark] .shape.selected{background:#355e60!important;color:#fff!important;border-color:#9bd1c1!important}
.hedy-studio-page .dimension-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hedy-studio-page .dimension-row label{min-width:0}
.hedy-studio-page input,.hedy-studio-page select,.hedy-studio-page button{max-width:100%}
.hedy-studio-page .status{position:static;inset:auto;max-width:none;max-height:110px;overflow:auto;border-radius:0;box-shadow:none;margin:0;padding:10px 20px;gap:12px;font-size:12px;min-height:56px}
.hedy-studio-page .status span{min-width:0;overflow-wrap:anywhere;flex:1}.hedy-studio-page .status button{flex-shrink:0;min-height:40px}
.hedy-studio-page .paid-cue{padding:10px;background:transparent;border-color:#8d837366;font-size:12px}.hedy-studio-page .paid-cue p{margin:3px 0 10px}.hedy-studio-page .paid-cue details{margin-top:10px}
.hedy-studio-page .hint{margin:10px 0;line-height:1.5}.hedy-studio-page details{font-size:12px;line-height:1.5;margin-top:12px}.hedy-studio-page summary{cursor:pointer}
.hedy-studio-page .steps{overflow-x:auto;justify-content:flex-start;height:58px;padding:0 15px}.hedy-studio-page .steps button{flex:1;padding:12px 10px;font-size:12px;min-width:85px}
.hedy-studio-page .review-bar{padding:12px;gap:8px}.hedy-studio-page .review-bar div{flex:1 1 100%}.hedy-studio-page .review-bar button{white-space:normal;flex:1 1 160px}
.hedy-studio-page .preview-meta{gap:10px;flex-wrap:wrap}
.hedy-studio-page .picture-editor button{font-size:12px;padding:8px 10px}.hedy-studio-page .picture-editor h3{font-size:18px;margin:14px 0}
.hedy-studio-page .trace-view{width:100%;position:relative;overflow:hidden;border:1px solid #8d8373;border-radius:6px;margin-top:10px;background:repeating-conic-gradient(#bbb 0% 25%,#eee 0% 50%) 50%/16px 16px}
.hedy-studio-page .trace-view svg{width:100%;height:100%;display:block;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}
.hedy-studio-page .trace-actions{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.hedy-studio-page .selected-vertex{padding:8px;border:1px solid #8d837355;border-radius:6px}
.hedy-studio-page .reference-clearances .hint,.hedy-studio-page .reference-clearances .validation{padding:5px;margin:4px 0;font-size:11px}
@media(max-width:1100px){.hedy-studio-page header{align-items:flex-start}.hedy-studio-page .brand-logo{max-width:110px;height:64px}.hedy-studio-page .studio{padding:22px 18px}.hedy-studio-page main{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:800px){.hedy-studio-page main{display:block}.hedy-studio-page .inspector{border-right:0}.hedy-studio-page header{flex-wrap:wrap}.hedy-studio-page .steps button{flex:none}.hedy-studio-page .rug-stage{height:320px}}
@media(min-width:1650px){.hedy-studio-page main{grid-template-columns:390px minmax(0,1fr)}}
.hedy-studio-page main{overflow:hidden;align-items:stretch;grid-template-rows:minmax(0,1fr)}
.hedy-studio-page .inspector,.hedy-studio-page .studio{height:100%;min-height:0;overflow:auto}
.hedy-studio-page .rug-stage{height:clamp(260px,calc(100vh - 445px),570px)}
.hedy-studio-page .layout-canvas-wrap{min-height:0}
.hedy-studio-page .layout-canvas{height:clamp(240px,calc(100vh - 465px),610px);min-height:240px}
@media(max-width:800px){.hedy-studio-page main{overflow:auto}.hedy-studio-page .inspector,.hedy-studio-page .studio{height:auto;overflow:visible}}

.hedy-studio-page button.selected{background:#d6e5dd!important;color:#153d37!important;border-color:#245b53!important}
.hedy-studio-page[data-theme=dark] button.selected{background:#355e60!important;color:#fff!important;border-color:#9bd1c1!important}
.hedy-studio-page button.selected span,.hedy-studio-page button.selected strong{color:inherit!important}

.hedy-studio-page .app-version{display:inline-block;font-size:11px;line-height:1.4;margin-inline-start:8px;color:var(--muted);font-family:inherit}

/* Hedy 3.0.1 studio: one identity band, one utility band, measured canvas. */
.hedy-studio-page{--hs-bg:#f1efe9;--hs-panel:#faf9f5;--hs-input:#fffefb;--hs-ink:#173946;--hs-muted:#536a73;--hs-line:#b9c4c4;--hs-accent:#ad864d;--hs-selected:#163c49;background:var(--hs-bg);color:var(--hs-ink);font-size:14px}
.hedy-studio-page[data-theme=dark]{--hs-bg:#121d25;--hs-panel:#192832;--hs-input:#20333e;--hs-ink:#f1eee5;--hs-muted:#b0c1c7;--hs-line:#425965;--hs-selected:#315d69;background:var(--hs-bg);color:var(--hs-ink)}
.hedy-studio-page button{border-radius:8px;min-height:42px;transition:background .15s,border-color .15s;color:var(--hs-ink);border-color:var(--hs-line);background:var(--hs-input)}
.hedy-studio-page button:focus-visible,.hedy-studio-page input:focus-visible,.hedy-studio-page textarea:focus-visible,.hedy-studio-page select:focus-visible{outline:2px solid #bd995f;outline-offset:2px}
.hedy-studio-page button:hover:not(:disabled){background:var(--hs-panel);border-color:var(--hs-accent)}
.hedy-studio-page .primary{background:#234e5b!important;border-color:#678e97!important;color:#fff!important}
.hedy-studio-page .studio-header{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:24px;min-height:82px;padding:12px 28px;background:var(--hs-panel);border-bottom:1px solid var(--hs-line)}
.hedy-studio-page .brand{display:flex;flex-direction:column;gap:1px;min-width:125px;flex-shrink:0}
.hedy-studio-page .brand-title{display:flex;align-items:center;gap:12px}.hedy-studio-page .brand h1{margin:0;line-height:1;font-family:Georgia,serif!important;font-size:34px;letter-spacing:.4px}
.hedy-studio-page .brand h1 button{font-family:Georgia,serif!important;font-size:34px;padding:0;border:0;min-height:0;line-height:1;background:none!important}
.hedy-studio-page .app-version{font:11px Segoe UI,Arial,sans-serif;letter-spacing:0;white-space:nowrap;color:var(--hs-muted);margin:0;direction:ltr}
.hedy-studio-page .brand-byline{font-size:11px;font-weight:500;color:var(--hs-muted);margin-top:3px}.hedy-studio-page .brand-message{font-size:14px;color:var(--hs-muted);margin:0;padding-inline-start:24px;border-inline-start:1px solid var(--hs-line)}
.hedy-studio-page .header-right{display:flex;flex-wrap:nowrap;gap:8px;margin-inline-start:auto}.hedy-studio-page .header-right button{font-size:13px;padding:10px 18px;white-space:nowrap}
.hedy-studio-page .studio-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 28px;background:var(--hs-panel);border-bottom:1px solid var(--hs-line);flex-shrink:0}
.hedy-studio-page .toolbar-group{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.hedy-studio-page .toolbar-group button{background:transparent;font-size:12px;padding:6px 11px;min-height:36px;border-color:transparent}.hedy-studio-page .toolbar-group .provider-chip{display:flex;align-items:center;gap:7px;background:var(--hs-input);border-color:var(--hs-line);border-radius:20px;font-size:11px;padding:5px 12px;min-height:33px}.hedy-studio-page .chip-separator{color:var(--hs-muted)}
.hedy-studio-page .steps{height:66px;padding:0 20px;background:var(--hs-bg);border-color:var(--hs-line);gap:3px;flex-shrink:0}
.hedy-studio-page .steps button{display:flex;align-items:center;justify-content:center;gap:9px;min-width:90px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--hs-muted);font-size:12px;padding:10px 7px;white-space:nowrap}
.hedy-studio-page .steps button b{display:flex;align-items:center;justify-content:center;font:11px Segoe UI,Arial,sans-serif;width:24px;height:24px;border:1px solid var(--hs-line);border-radius:50%;letter-spacing:0;direction:ltr;color:inherit}
.hedy-studio-page .steps button.active{color:var(--hs-ink);border-bottom-color:var(--hs-accent);background:var(--hs-panel)}.hedy-studio-page .steps button.active b{background:var(--hs-selected);border-color:var(--hs-selected);color:white}.hedy-studio-page .steps button.passed b{border-color:var(--hs-accent);color:var(--hs-ink)}
.hedy-studio-page main{grid-template-columns:350px minmax(0,1fr);background:var(--hs-bg)}
.hedy-studio-page .inspector{padding:24px 22px;background:var(--hs-panel);color:var(--hs-ink);border-inline-end:1px solid var(--hs-line);border-right:0}.hedy-studio-page .inspector h2{font-size:24px!important;line-height:1.4;margin:8px 0 19px}.hedy-studio-page .inspector fieldset{min-height:0!important}
.hedy-studio-page .step-caption,.hedy-studio-page .eyebrow{font-size:10px;line-height:1.4;letter-spacing:1px;color:var(--hs-muted)}
.hedy-studio-page .studio{padding:23px 30px}.hedy-studio-page .studio-head{margin-bottom:12px;gap:16px}.hedy-studio-page .studio-head h2{font-size:23px;margin:4px 0;line-height:1.3}.hedy-studio-page .undo{flex-shrink:0}.hedy-studio-page .undo button{background:transparent;min-height:36px;padding:6px 10px}
.hedy-studio-page .rug-stage{height:clamp(260px,calc(100vh - 370px),660px);padding:24px;border-color:var(--hs-line);border-radius:16px;background:repeating-conic-gradient(#dfdfd8 0% 25%,#e4e4df 0% 50%) 50%/20px 20px;box-shadow:inset 0 0 80px #1734400b}
.hedy-studio-page[data-theme=dark] .rug-stage{background:repeating-conic-gradient(#203039 0% 25%,#24343c 0% 50%) 50%/20px 20px;box-shadow:inset 0 0 80px #0002}
.hedy-studio-page .rug-stage img{filter:drop-shadow(0 12px 15px #0002);max-height:100%;max-width:100%}.hedy-studio-page .placeholder{border:0;padding:20px 25px;background:var(--hs-panel);color:var(--hs-ink);box-shadow:0 12px 50px #0002}.hedy-studio-page .placeholder span{font-size:24px}.hedy-studio-page .placeholder p{color:var(--hs-muted)}
.hedy-studio-page .preview-meta{font-size:11px;line-height:1.5;color:var(--hs-muted);margin:12px 0}.hedy-studio-page .preview-state{color:var(--hs-ink)}
.hedy-studio-page label,.hedy-studio-page .control-label,.hedy-studio-page .slider,.hedy-studio-page .checkbox,.hedy-studio-page .hint,.hedy-studio-page .modal p,.hedy-studio-page .engine-card span,.hedy-studio-page .spec-details{color:var(--hs-muted)}
.hedy-studio-page label>input:not([type=checkbox]):not([type=color]):not([type=range]),.hedy-studio-page select,.hedy-studio-page textarea,.hedy-studio-page[data-theme=dark] label>input:not([type=checkbox]):not([type=color]):not([type=range]),.hedy-studio-page[data-theme=dark] select,.hedy-studio-page[data-theme=dark] textarea{background:var(--hs-input);color:var(--hs-ink);border-color:var(--hs-line);padding:10px 12px;min-height:43px;line-height:1.5}
.hedy-studio-page .dimension-row input{direction:ltr;text-align:start}.hedy-studio-page .choice{padding:12px 15px;text-align:start}.hedy-studio-page .choice span{color:var(--hs-muted)}.hedy-studio-page .choice strong{font-size:14px}
.hedy-studio-page .selected,.hedy-studio-page button.selected,.hedy-studio-page .shape.selected{background:var(--hs-selected)!important;color:#fff!important;border-color:#7597a0!important;box-shadow:none}.hedy-studio-page button.selected span,.hedy-studio-page button.selected strong{color:inherit!important}
.hedy-studio-page .shape{min-height:87px}.hedy-studio-page .palette-list{max-height:270px;gap:8px}.hedy-studio-page .palette{padding:9px}.hedy-studio-page .palette strong{font-size:11px}.hedy-studio-page .swatches i{height:24px}
.hedy-studio-page .measurement,.hedy-studio-page .review-bar,.hedy-studio-page .engine-card{background:var(--hs-input);color:var(--hs-ink);border:1px solid var(--hs-line)}.hedy-studio-page .measurement{padding:12px 14px}.hedy-studio-page .measurement strong{font-size:22px}.hedy-studio-page .measurement span{color:var(--hs-muted)}
.hedy-studio-page .review-bar{display:flex;flex-wrap:wrap;gap:8px;padding:12px 14px;border-radius:12px;margin-top:14px}.hedy-studio-page .review-bar div{flex:1 1 190px}.hedy-studio-page .review-bar button{flex:0 1 auto;font-size:12px;white-space:normal;min-height:38px;padding:8px 12px}.hedy-studio-page .projection-mode{max-width:600px;margin:16px 0}.hedy-studio-page .projection-mode select{font-size:12px}
.hedy-studio-page .step-footer{position:sticky;bottom:-24px;background:var(--hs-panel);margin:20px -2px -24px;padding:14px 0 24px;border-color:var(--hs-line);z-index:3}.hedy-studio-page .step-footer button{font-size:13px;padding:9px 14px}
.hedy-studio-page .modal{background:var(--hs-panel);color:var(--hs-ink);border-color:var(--hs-line);max-height:88vh;box-shadow:0 24px 100px #0005}.hedy-studio-page .modal h2{font-size:26px;margin:12px 0 20px}.hedy-studio-page .modal h3{font-size:18px;margin:20px 0 12px}.hedy-studio-page .owner-access{border:1px solid var(--hs-line);padding:16px;border-radius:12px;margin:20px 0}.hedy-studio-page .owner-access h3{margin-top:0}.hedy-studio-page .modal .text-button{background:none}
.hedy-studio-page .color-grid{gap:12px;margin:14px 0}.hedy-studio-page .colour-role{min-width:0}.hedy-studio-page .control-label{display:block;margin-bottom:7px;font-size:12px;text-transform:capitalize}.hedy-studio-page .colour-picker{position:relative}.hedy-studio-page .colour-trigger{width:100%;display:flex;align-items:center;gap:8px;padding:9px;text-align:start;min-height:65px}.hedy-studio-page .colour-dot{display:block;flex-shrink:0;width:30px;height:36px;border-radius:5px;box-shadow:inset 0 0 0 1px #ffffff50,0 0 0 1px #142d3240}.hedy-studio-page .colour-trigger span:nth-child(2){flex:1;min-width:0}.hedy-studio-page .colour-trigger strong{display:block;font-size:11px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.hedy-studio-page .colour-trigger small{display:block;color:var(--hs-muted);font-size:9px;margin-top:3px}
.hedy-studio-page .colour-popover{position:fixed;z-index:60;width:min(340px,calc(100vw - 32px));background:var(--hs-panel);border:1px solid var(--hs-line);border-radius:12px;padding:10px;box-shadow:0 14px 60px #0005}.hedy-studio-page .colour-popover>input{display:block;width:100%;background:var(--hs-input);color:var(--hs-ink);padding:10px;border:1px solid var(--hs-line);border-radius:7px;min-height:40px;margin:0 0 8px}.hedy-studio-page .colour-results{max-height:310px;overflow:auto}.hedy-studio-page .colour-results button{display:flex;align-items:center;gap:12px;width:100%;padding:8px;border:0;border-radius:6px;text-align:start;background:transparent;min-height:56px}.hedy-studio-page .colour-results button[aria-selected=true]{background:var(--hs-input);outline:1px solid var(--hs-accent);outline-offset:-1px}.hedy-studio-page .colour-results strong{font-size:13px;font-weight:500;display:block}.hedy-studio-page .colour-results small{font-size:10px;color:var(--hs-muted);display:block;margin-top:3px}.hedy-studio-page .colour-results small b{font-weight:400}.hedy-studio-page .colour-results .current strong::after{content:' ✓';color:var(--hs-accent)}
.hedy-studio-page .status{background:#244954;min-height:48px;max-height:96px;padding:10px 24px;font-size:12px}.hedy-studio-page .status.error{background:#773d32}.hedy-studio-page .status button{color:#fff;background:transparent}.hedy-studio-page .spec-details{margin-top:16px}.hedy-studio-page .spec-grid b{color:var(--hs-muted)}
.hedy-studio-page .generation-veil{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#182832ed;color:#f1eadc;z-index:4}.hedy-studio-page .generation-veil strong{font:26px Georgia,serif}.hedy-studio-page .generation-veil span{color:#c6c9bc;font-size:13px}.hedy-studio-page .weave-motion{width:146px;height:108px;position:relative;margin-bottom:12px;overflow:hidden}.hedy-studio-page .weave-motion i{position:absolute;inset-block-start:calc(var(--thread)*12px);height:1px;width:100%;background:linear-gradient(90deg,transparent,#c6a46b,transparent);animation:hedy-thread 2.8s ease-in-out infinite;animation-delay:calc(var(--thread)*-.17s)}.hedy-studio-page .weave-motion::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 15px,#93b0b455 16px,transparent 17px);animation:hedy-sheen 3.4s ease-in-out infinite}
@keyframes hedy-thread{0%,100%{opacity:.3;transform:translateX(-25%)}50%{opacity:1;transform:translateX(25%)}}@keyframes hedy-sheen{0%,100%{opacity:.2}50%{opacity:.8}}
@media(prefers-reduced-motion:reduce){.hedy-studio-page .weave-motion i,.hedy-studio-page .weave-motion::after{animation:none;opacity:.7}.hedy-studio-page button{transition:none}}
@media(min-width:1650px){.hedy-studio-page main{grid-template-columns:370px minmax(0,1fr)}.hedy-studio-page .studio{padding:25px 40px}}
@media(max-width:1100px){.hedy-studio-page .studio-header{padding:12px 20px;gap:16px}.hedy-studio-page .brand-message{display:none}.hedy-studio-page .studio-toolbar{padding:7px 18px}.hedy-studio-page main{grid-template-columns:320px minmax(0,1fr)}.hedy-studio-page .studio{padding:20px}.hedy-studio-page .steps button{min-width:82px;font-size:11px;gap:5px}.hedy-studio-page .rug-stage{height:clamp(230px,calc(100vh - 375px),600px)}}
@media(max-width:800px){.hedy-studio-page .studio-toolbar{flex-wrap:wrap}.hedy-studio-page .steps button{flex:none}.hedy-studio-page main{display:block;overflow:auto}.hedy-studio-page .inspector,.hedy-studio-page .studio{height:auto;overflow:visible}.hedy-studio-page .studio-header{flex-wrap:nowrap}.hedy-studio-page .header-right button{padding:8px;font-size:11px}.hedy-studio-page .rug-stage{height:360px}}

/* Keep the working canvas and primary projection actions within the studio. */
.hedy-studio-page[data-theme=dark] header.studio-header,.hedy-studio-page[data-theme=dark] .inspector,.hedy-studio-page[data-theme=dark] .modal{background:var(--hs-panel);color:var(--hs-ink);border-color:var(--hs-line)}
.hedy-studio-page[data-theme=dark] .steps{background:var(--hs-bg);border-color:var(--hs-line)}.hedy-studio-page[data-theme=dark] .steps button{color:var(--hs-muted)}.hedy-studio-page[data-theme=dark] .steps button.active{background:var(--hs-panel);color:var(--hs-ink);border-bottom-color:var(--hs-accent)}
.hedy-studio-page[data-theme=dark] button{background:var(--hs-input);color:var(--hs-ink);border-color:var(--hs-line)}.hedy-studio-page[data-theme=dark] .toolbar-group button{background:transparent;border-color:transparent}.hedy-studio-page[data-theme=dark] .toolbar-group .provider-chip{background:var(--hs-input);border-color:var(--hs-line)}
.hedy-studio-page[data-theme=dark] .review-bar,.hedy-studio-page[data-theme=dark] .measurement,.hedy-studio-page[data-theme=dark] .engine-card,.hedy-studio-page[data-theme=dark] .placeholder{background:var(--hs-input);color:var(--hs-ink)}.hedy-studio-page[data-theme=dark] .hint,.hedy-studio-page[data-theme=dark] .modal p,.hedy-studio-page[data-theme=dark] .preview-meta,.hedy-studio-page[data-theme=dark] .engine-card span{color:var(--hs-muted)}
.hedy-studio-page .studio{display:flex;flex-direction:column;gap:0}.hedy-studio-page .studio-head,.hedy-studio-page .preview-meta,.hedy-studio-page .concept-strip,.hedy-studio-page .review-bar,.hedy-studio-page .projection-mode,.hedy-studio-page .spec-details{flex-shrink:0}
.hedy-studio-page .rug-stage{flex:1 0 260px;height:auto;min-height:260px}.hedy-studio-page .rug-stage img{position:absolute;inset:24px;width:calc(100% - 48px);height:calc(100% - 48px);max-width:calc(100% - 48px);max-height:calc(100% - 48px);-o-object-fit:contain;object-fit:contain}
.hedy-studio-page .concept-strip{margin:4px 0 8px;gap:8px}.hedy-studio-page .concept-strip button{height:70px;width:77px}.hedy-studio-page .concept-strip img{width:48px;height:48px}.hedy-studio-page .projection-mode{display:flex;align-items:center;gap:12px;max-width:none;font-size:11px;margin:7px 0}.hedy-studio-page .projection-mode select{margin:0;min-height:38px;font-size:11px;max-width:420px;flex:1}.hedy-studio-page .review-bar{margin-top:7px}.hedy-studio-page .spec-details{margin-top:10px}
.hedy-studio-page[data-theme=dark] .colour-results button{background:transparent;border:0}.hedy-studio-page[data-theme=dark] .colour-results button[aria-selected=true]{background:var(--hs-input)}
@media(max-width:800px){.hedy-studio-page .rug-stage{height:360px;flex:none}.hedy-studio-page .projection-mode{display:block}.hedy-studio-page .projection-mode select{margin-top:7px;width:100%}}

.hedy-studio-page .color-grid .control-label{font-size:12px;color:var(--hs-muted);margin-bottom:7px}.hedy-studio-page .color-grid .colour-trigger>span{color:var(--hs-ink);font-size:12px;line-height:1.4;margin:0}.hedy-studio-page .colour-trigger strong{font-size:14px;font-weight:600;color:var(--hs-ink)}.hedy-studio-page .colour-trigger small{font-size:10px;color:var(--hs-muted);line-height:1.5}.hedy-studio-page .colour-results strong{color:var(--hs-ink);font-size:14px}.hedy-studio-page .colour-results small{font-size:11px;color:var(--hs-muted)}

.hedy-studio-page .modal.library .close{position:sticky;top:0;float:inline-end;z-index:4;background:var(--studio-panel,#172536)}.hedy-studio-page .gallery-pagination,.hedy-studio-page .approved-exports{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hedy-studio-page .gallery-pagination{position:sticky;bottom:0;padding:12px;background:var(--studio-panel,#172536);justify-content:space-between}.hedy-studio-page .gallery-card img{aspect-ratio:2/3;-o-object-fit:contain;object-fit:contain}.hedy-studio-page .projector-facing{margin-block:6px}

/* 3.0.2 reserve action room */
.hedy-studio-page .rug-stage{flex:1 1 200px;min-height:200px}.hedy-studio-page .projection-mode{margin:4px 0}.hedy-studio-page .studio{min-height:0}

.hedy-studio-page .visibility-dialog{z-index:1200}.hedy-studio-page .gallery-card small[data-design-id]{overflow-wrap:anywhere}

/* Furniture view controls stay in document flow, clear of the measured canvas. */
.hedy-studio-page .studio:has(>.layout-canvas-wrap)>.studio-head{order:-3}
.hedy-studio-page .studio:has(>.layout-canvas-wrap)>.projection-mode{order:-2;position:static;flex:0 0 auto;display:flex;flex-wrap:wrap;gap:8px;max-width:100%;margin:6px 0;min-width:0}
.hedy-studio-page .studio:has(>.layout-canvas-wrap)>.projection-mode select{min-width:0;max-width:100%;flex:1 1 240px;width:auto}
.hedy-studio-page .studio:has(>.layout-canvas-wrap)>.layout-canvas-wrap{flex:0 0 auto;min-width:0;margin-top:10px}
.hedy-studio-page .layout-view-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px}
.hedy-studio-page .layout-view-toolbar button{min-height:40px;padding:8px 12px}
.hedy-studio-page .layout-view-toolbar output{min-width:52px;text-align:center;font-variant-numeric:tabular-nums}
