@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,-apple-system,sans-serif;color:#302c28;background:#f8f6f2;font-synthesis:none;--bg:#f8f6f2;--paper:#fff;--cream:#faf8f5;--line:#ece6df;--muted:#89837c;--ink:#302c28;--brown:#947760;--brown-dark:#765b46;--sage:#74856a;--light-sage:#eff3ec;--shadow:0 9px 36px rgba(61,43,29,.045)}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c3ae98;outline-offset:2px}a{color:inherit;text-decoration:none}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.ico{width:18px;height:18px;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.ico.small{width:15px;height:15px}.ico.big{width:23px;height:23px}.app-shell{display:flex;min-height:100vh;max-width:1720px;margin:auto;background:var(--bg)}.sidebar{position:sticky;top:0;width:234px;min-width:234px;height:100vh;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:27px 17px;z-index:10}.brand{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:800;letter-spacing:-.5px;padding:3px 9px 28px;white-space:nowrap}.brand-logo{width:34px;height:34px;border:1px solid #d3bda6;border-radius:10px;display:grid;place-items:center;color:#8d6b51;background:#f5ede4}.sidebar-group{display:grid;gap:5px}.nav-btn{display:flex;align-items:center;gap:13px;width:100%;border:0;background:transparent;text-align:left;color:#706a64;padding:12px 14px;font-size:13px;font-weight:600;border-radius:10px;transition:.15s}.nav-btn:hover{background:#f9f6f2}.nav-btn.active{background:#f1ebe5;color:#514132}.nav-btn .counter{margin-left:auto;background:#e7d4bf;border-radius:20px;padding:2px 7px;color:#85684d;font-size:11px}.sidebar-footer{margin-top:auto}.mini-project{padding:12px 13px;border-radius:12px;background:#f9f6f2;border:1px solid #f1eae3;margin-top:15px}.mini-project strong{font-size:12px}.mini-project p{margin:5px 0 0;font-size:11px;color:var(--muted)}.main{flex:1;min-width:0;padding:0 33px 54px}.topbar{height:75px;display:flex;align-items:center;justify-content:flex-end;gap:14px;border-bottom:1px solid #f0ece6}.topbar .top-search{position:relative;margin-right:auto;width:min(310px,48%)}.top-search .ico{position:absolute;left:13px;top:12px;color:#8d847c}.top-search input{border:1px solid #ebe6df;background:white;border-radius:11px;width:100%;padding:12px 14px 12px 39px;font-size:12px;outline:none}.top-action{border:0;background:none;color:#6e6760;padding:8px}.avatar{border:2px solid white;box-shadow:0 0 0 1px #e8d6c8;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;background:#d3bca7;color:white;font-size:13px;font-weight:800}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:28px 0 24px}.eyebrow{font-size:11px;font-weight:700;color:#ac9a87;text-transform:uppercase;letter-spacing:1.6px;margin-bottom:6px}.page-title{font:800 29px/1.2 'Manrope',sans-serif;letter-spacing:-1.1px;margin:0}.subtitle{color:var(--muted);font-size:13px;margin:8px 0 0}.head-actions{display:flex;align-items:center;gap:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:10px 14px;background:white;color:#51463d;font-size:12px;font-weight:700;min-height:38px;white-space:nowrap}.btn:hover{background:#f8f4ef}.btn.primary{color:white;background:var(--brown);border-color:var(--brown)}.btn.primary:hover{background:var(--brown-dark)}.btn.soft{background:#f4eee9;border-color:#f4eee9;color:#856a56}.btn.ghost{border:none;background:transparent}.btn.small{padding:7px 10px;min-height:31px;font-size:11px}.btn.icon-only{padding:10px}.layout-main{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.82fr);gap:22px}.card{border:1px solid var(--line);background:#fff;border-radius:15px;box-shadow:var(--shadow);overflow:hidden}.card-pad{padding:20px}.card-title{font-size:14px;font-weight:800;margin:0;letter-spacing:-.25px}.card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:10px}.muted{color:var(--muted)}.tiny{font-size:11px}.section-title{font-size:16px;font-weight:800;margin:0 0 15px;letter-spacing:-.3px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 14px}.section-head .section-title{margin:0}.text-link{border:0;background:none;color:#8d715b;font-size:11px;font-weight:800;display:inline-flex;gap:4px;align-items:center}.dollhouse-card{padding:12px;min-height:386px;background:linear-gradient(150deg,#fff,#fbf9f6)}.dollhouse-stage{position:relative;min-height:355px;display:grid;place-items:center;isolation:isolate;overflow:hidden;border-radius:12px;background:radial-gradient(circle at 50% 35%,#fff 0%,#fbf8f3 72%)}.dollhouse-stage img{object-fit:contain;width:min(100%,660px);max-height:320px;filter:drop-shadow(0 12px 18px rgba(82,58,41,.07))}.room-pin{position:absolute;z-index:2;transform:translate(-50%,-50%);display:flex;align-items:center;gap:5px;background:rgba(255,255,255,.96);border:1px solid #e8dfd5;border-radius:50px;box-shadow:0 5px 12px #4934231a;padding:7px 11px;color:#53483e;font-size:11px;font-weight:800;transition:.15s}.room-pin:hover{background:#f1e7de;transform:translate(-50%,-50%) scale(1.07)}.status-dot{width:7px;height:7px;border-radius:50%;background:#8da383}.pin-stue{left:35%;top:31%}.pin-kjokken{left:71%;top:30%}.pin-soverom{left:42%;top:69%}.pin-bad{left:73%;top:67%}.pin-kontor{left:56%;top:49%}.pin-gang{left:24%;top:57%}.dollhouse-caption{position:absolute;bottom:12px;left:14px;font-size:10px;background:#ffffffd9;color:#9a8e81;padding:6px 9px;border-radius:50px}.overview-side{display:grid;gap:16px;align-content:start}.stat-top{display:flex;gap:11px;align-items:center;margin-bottom:13px}.stat-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#f3eae2;color:#896d55}.progress-track{height:7px;border-radius:30px;background:#efece7;overflow:hidden}.progress-track div{height:100%;background:linear-gradient(90deg,#a8b29c,#778872);border-radius:30px;transition:width .2s}.progress-stats{display:flex;justify-content:space-between;gap:6px;color:var(--muted);font-size:10px;margin-top:12px}.task-line{display:flex;align-items:start;gap:10px;padding:10px 0;border-top:1px solid #f3efea;font-size:12px;line-height:1.35}.task-line:first-of-type{border-top:0}.task-line input{accent-color:#809478;margin:1px 0 0;cursor:pointer}.task-line.done span{text-decoration:line-through;color:#ada8a1}.task-line .task-room{margin-left:auto;background:#f7f4f0;color:#a09080;font-size:10px;border-radius:20px;padding:3px 7px}.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.quick{display:flex;align-items:center;flex-direction:column;gap:9px;border:1px solid #f1ebe6;border-radius:10px;background:#fff;padding:12px 6px;font-size:10px;font-weight:700;color:#806e5d}.quick .ico{color:#91765e}.quick:hover{background:#f7f2ec}.viz-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.viz-tile{border:1px solid var(--line);padding:0;border-radius:12px;overflow:hidden;background:white;text-align:left}.viz-tile img{height:108px;width:100%;object-fit:cover;display:block;background:#e9ded3}.viz-label{padding:10px;font-size:11px;font-weight:800;display:flex;justify-content:space-between}.pill{display:inline-flex;align-items:center;gap:5px;background:#eef3eb;color:#63785c;padding:4px 8px;font-size:10px;font-weight:700;border-radius:20px}.pill.warm{background:#f6eee5;color:#8c735c}.room-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.progress-room{display:grid;justify-items:center;gap:5px;border:0;background:none;padding:6px;color:#55504a;font-size:11px;font-weight:700}.progress-circle{height:47px;width:47px;border-radius:50%;border:4px solid #ece4da;background:#fff;display:grid;place-items:center;color:#87715d}.room-view{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.78fr);gap:20px}.room-hero{position:relative;overflow:hidden;background:#eee4da;border-radius:13px;min-height:315px}.room-hero>img{display:block;width:100%;height:355px;object-fit:cover}.room-hero .floating-tag{position:absolute;left:14px;bottom:15px;background:#ffffffeb;padding:7px 10px;font-size:10px;border-radius:20px;font-weight:700}.room-hero .room-upload{position:absolute;right:12px;bottom:12px}.thumbs{display:flex;gap:10px;margin-top:11px;align-items:center;overflow:auto;padding-bottom:2px}.thumb{width:78px;height:64px;flex:none;border:2px solid transparent;border-radius:9px;padding:0;overflow:hidden;background:#f5efe8}.thumb.active{border-color:#957c64}.thumb img{width:100%;height:100%;object-fit:cover}.thumb.add{display:grid;place-items:center;color:#85684f;background:#f6f0e9}.room-stack{display:grid;gap:15px;align-content:start}.note-card{padding:17px}.note-text{font-size:12px;line-height:1.65;color:#6d625a;margin:0;white-space:pre-wrap}.room-tabs{display:flex;gap:19px;border-bottom:1px solid var(--line);margin-bottom:19px;overflow:auto}.tab{border:0;background:none;padding:0 2px 14px;font-size:12px;font-weight:700;color:#8b837a;white-space:nowrap;position:relative}.tab.active{color:#544233}.tab.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#9a7d62}.room-bottom{margin-top:22px}.suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.suggestion{min-height:102px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;flex-direction:column;align-items:flex-start;padding:12px;gap:5px;text-align:left}.suggestion .sym{font-size:22px}.suggestion strong{font-size:11px}.suggestion span:last-child{color:#94877a;font-size:10px;line-height:1.4}.product-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.product-row:first-child{border:0}.product-thumb{height:42px;width:42px;border-radius:9px;display:grid;place-items:center;background:#f3ede7;color:#957761;font-size:22px;overflow:hidden;flex:none}.product-thumb img{width:100%;height:100%;object-fit:cover}.product-row strong{font-size:12px}.product-row p{margin:4px 0 0;color:var(--muted);font-size:11px}.product-row .right{margin-left:auto;flex:none}.empty{padding:35px 15px;text-align:center;color:var(--muted);font-size:13px;background:#fcfaf8;border:1px dashed #e8dfd6;border-radius:12px}.room-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.room-card{padding:0;text-align:left;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}.room-card img{width:100%;height:160px;object-fit:cover;display:block;background:#f4eee6}.room-card-body{padding:14px}.room-card strong{font-size:14px}.room-card p{font-size:11px;color:var(--muted);margin:6px 0 12px}.room-card .progress-track{height:5px}.task-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.task-col{background:#f2ede8;border-radius:14px;padding:13px}.task-col h3{margin:0 0 12px;font-size:13px}.task-card{padding:13px;background:#fff;border:1px solid #ede5db;border-radius:10px;margin-bottom:10px}.task-card strong{font-size:12px;line-height:1.5}.task-card p{font-size:10px;color:var(--muted);margin:6px 0}.task-card select{font-size:10px;width:100%;padding:7px;margin-top:8px;border:1px solid #eee4db;border-radius:7px;background:#fcfaf8}.floor-wrap{position:relative;width:100%;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#faf8f5}.floor-wrap img{width:100%;max-height:550px;object-fit:contain;display:block}.floor-wrap svg{position:absolute;inset:0;width:100%;height:100%;cursor:crosshair}.floor-wrap svg polygon{stroke:#86705b;fill:#9a7c612e;stroke-width:.5;cursor:pointer;transition:fill .2s}.floor-wrap svg polygon:hover{fill:#a98c6266}.floor-wrap svg polyline{fill:none;stroke:#8e7052;stroke-width:.8;stroke-dasharray:1.5}.dot-preview{fill:#8b6d52}.floor-editor{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.form-row{margin-bottom:15px}.field-label{display:block;font-size:11px;font-weight:800;color:#6b6057;margin-bottom:7px}.form-input{width:100%;min-width:0;padding:11px 12px;background:#fff;border:1px solid #e6ded6;border-radius:9px;color:#433c35;font-size:12px}.form-input:focus{border-color:#b99b7f;outline:none}.form-input.textarea{min-height:100px;resize:vertical;line-height:1.5}.modal-shade{position:fixed;inset:0;background:#241c17a3;z-index:40;display:flex;align-items:center;justify-content:center;padding:18px}.modal{background:#fff;border:1px solid #e8dfd6;border-radius:17px;width:min(540px,100%);max-height:91vh;overflow-y:auto;box-shadow:0 30px 90px #0004}.modal-header{padding:19px 23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eee8e1}.modal-header h2{font-size:18px;letter-spacing:-.4px;margin:0}.modal-body{padding:22px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;padding:0 22px 22px}.option-tabs{display:flex;gap:7px;margin-bottom:20px}.option-tabs button{border:1px solid #ece3dc;border-radius:9px;background:#fff;font-size:11px;font-weight:800;padding:10px 13px}.option-tabs button.active{background:#f0e7dd;border-color:#e2d2c2;color:#795d46}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th{text-align:left;color:#98897a;font-weight:600;font-size:11px;padding:13px 10px;border-bottom:1px solid #ece7e1}.data-table td{padding:14px 10px;border-bottom:1px solid #f1ece7}.content-wide{max-width:1200px}.soft-banner{background:#f2eee7;border:1px solid #eee5d8;border-radius:13px;padding:16px 19px;display:flex;align-items:center;gap:11px;font-size:12px;color:#746658;line-height:1.5;margin-bottom:20px}.soft-banner .ico{color:#997a60}.login-panel{width:min(450px,100%);padding:35px}.login-panel .brand{padding:0 0 18px}.loading-screen{margin:auto;font-weight:800;color:#967960;font-size:20px}.loading-dot{display:inline-block;height:8px;width:8px;border-radius:50%;background:#9a7e67;animation:pulse 1.5s infinite}@keyframes pulse{50%{opacity:.1}}.toast{position:fixed;bottom:22px;right:22px;background:#382f29;color:white;border-radius:11px;padding:12px 18px;font-size:12px;font-weight:600;z-index:100;opacity:0;transform:translateY(15px);pointer-events:none;transition:.2s;max-width:400px}.toast.show{opacity:1;transform:none}.split-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.small-note{margin-top:8px;font-size:10px;color:#8d847a;line-height:1.5}.mini-chip{border-radius:30px;background:#f2eee7;padding:5px 8px;font-size:10px;color:#887a69}.mobile-nav-toggle{display:none}.date-label{font-size:11px;color:#958b80}.hidden{display:none!important}
@media(max-width:1100px){.sidebar{width:204px;min-width:204px}.main{padding:0 22px 40px}.layout-main{grid-template-columns:minmax(0,1.3fr) minmax(235px,.8fr)}.room-view{grid-template-columns:1fr}.room-stack{grid-template-columns:repeat(2,minmax(0,1fr))}.room-list{grid-template-columns:repeat(2,1fr)}.quick-actions{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;bottom:0;top:auto;width:100%;height:65px;min-width:0;padding:5px 6px;flex-direction:row;border-right:0;border-top:1px solid var(--line);justify-content:space-evenly}.brand,.sidebar-footer{display:none}.sidebar-group{width:100%;display:flex;justify-content:space-around;gap:2px}.nav-btn{display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:9px;padding:6px 1px;min-width:0;flex:1;text-align:center}.nav-btn .ico{width:18px;height:18px}.nav-btn .counter{display:none}.main{padding:0 14px 88px}.topbar{height:58px}.top-search{width:100%!important}.page-head{margin-top:21px;align-items:flex-start;flex-direction:column}.page-title{font-size:25px}.layout-main,.room-view,.split-2,.task-board{grid-template-columns:1fr}.dollhouse-stage{min-height:255px}.dollhouse-stage img{max-height:245px}.dollhouse-card{min-height:270px}.room-pin{font-size:9px;padding:5px 7px}.overview-side{grid-template-columns:1fr}.room-stack{grid-template-columns:1fr}.room-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.room-card img{height:115px}.viz-grid{gap:7px}.viz-tile img{height:80px}.room-hero>img{height:275px}.suggestions{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-shade{align-items:flex-end;padding:0}.modal{border-radius:17px 17px 0 0;max-height:92vh}.card-pad{padding:16px}.head-actions{flex-wrap:wrap}.page-head{gap:13px}}

.dollhouse-live-preview{position:absolute;right:10px;bottom:11px;z-index:3;width:115px;background:#fff;border:3px solid white;border-radius:11px;box-shadow:0 8px 25px #29180f22;overflow:hidden;transform:rotate(2deg)}.dollhouse-live-preview img{width:100%;height:62px;object-fit:cover;display:block}.dollhouse-live-preview span{display:block;padding:4px 5px;text-align:center;font-size:9px;font-weight:800;color:#927c68}.dollhouse-live-preview+.dollhouse-caption{max-width:58%}

.dollhouse-live{position:absolute;right:14px;bottom:42px;border:2px solid #fff;padding:4px;background:#fff;border-radius:10px;box-shadow:0 9px 28px #0002;width:145px;text-align:left;z-index:3;cursor:pointer}.dollhouse-live img{display:block;width:100%;height:75px;object-fit:cover;border-radius:6px}.dollhouse-live span{display:block;font-weight:800;font-size:10px;padding:5px 3px;color:#725e4a}@media(max-width:760px){.dollhouse-live{width:96px;bottom:38px}.dollhouse-live img{height:48px}}

.room-pin.demo-hitbox{background:transparent!important;border:0!important;box-shadow:none!important;color:transparent!important;font-size:0!important;min-width:70px;min-height:34px;cursor:pointer}.room-pin.demo-hitbox .status-dot{display:none!important}.room-pin.demo-hitbox:focus-visible{outline:3px solid #927454!important}.room-pin.demo-hitbox:hover{background:#99826d20!important}

/* Multiple homes, hover previews, and room-focus transitions */
.project-toplink{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 11px;white-space:nowrap;color:#765b46;font-weight:800;font-size:12px;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.project-toplink:hover{background:#f5eee7}
.project-toplink .ico{height:16px;width:16px}
.sidebar .mini-project{display:grid;gap:10px}
.sidebar .mini-project .text-link{padding:4px 0;justify-content:flex-start}
.sidebar .mini-project select{font-size:12px}
.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.project-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}
.project-card.is-active{border-color:#b7c3ad;box-shadow:0 0 0 1px #dae4d3}
.project-cover{height:185px;width:100%;border:0;background:linear-gradient(135deg,#e9ded0,#f5efe8);position:relative;overflow:hidden;display:grid;place-items:center;padding:0;text-align:left}
.project-cover img{height:100%;width:100%;object-fit:cover;display:block}
.project-cover-placeholder{color:#998371;display:grid;place-items:center}
.project-cover-placeholder .ico{width:68px;height:68px;stroke-width:.9}
.project-cover-label{position:absolute;bottom:12px;left:12px;border-radius:20px;background:#fffc;padding:7px 11px;font-size:11px;font-weight:800;display:flex;align-items:center;gap:7px}
.project-card-body{padding:17px}
.project-card-title{display:flex;align-items:center;gap:10px;justify-content:space-between}
.project-card-title strong{font-size:16px}
.project-card-body p{color:var(--muted);font-size:12px;margin:8px 0 15px}
.project-card-stats{display:flex;justify-content:space-between;font-size:11px;font-weight:700;color:#81766c;margin-bottom:12px}
.project-card-actions{display:flex;gap:9px;margin-top:16px}
.project-card-actions .btn:last-child:not(:first-child){margin-left:auto}
.new-project-card{border:2px dashed #ddcbb9;background:#fbf8f4;border-radius:16px;min-height:327px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#765c49;padding:25px;text-align:center}
.new-project-card strong{font-size:16px}.new-project-card span{font-size:12px;color:var(--muted);max-width:200px;line-height:1.55}
.new-project-card:hover{background:#f5ece3}
.empty-house{background:#fff;border:1px dashed #dbcbb9;padding:64px 28px;text-align:center;border-radius:18px;display:flex;align-items:center;flex-direction:column;gap:10px}
.empty-house h2{font-size:24px;margin:10px 0}.empty-house p{font-size:13px;color:var(--muted);max-width:450px;line-height:1.65}.empty-house-icon{width:66px;height:66px;display:grid;place-items:center;border-radius:50%;background:#f2e7de;color:#876b51}
.new-house-stage{text-align:center;color:var(--muted);padding:34px}.new-house-stage h3{color:var(--ink);font-size:16px}
.new-house-stage p{font-size:12px}.new-house-stage .ico.big{width:50px;height:50px}
.room-breadcrumb{display:flex;gap:11px;align-items:center;font-size:12px;color:#988472;margin-top:24px;margin-bottom:-13px}
.room-breadcrumb button{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:#8c7057;cursor:pointer;font-weight:700;padding:7px 0}
.room-breadcrumb button:hover{text-decoration:underline}.room-breadcrumb strong{color:#494038}
.dollhouse-stage{transform-origin:var(--focus-origin,50% 50%);transition:transform 310ms cubic-bezier(.22,1,.36,1),filter 250ms ease;will-change:transform}
.dollhouse-stage.zoomed{transform:scale(1.23);filter:brightness(1.025)}
.dollhouse-stage polygon[data-room]{transition:fill 140ms ease,stroke 140ms ease;outline:none}
.dollhouse-stage polygon[data-room]:hover,.dollhouse-stage polygon[data-room]:focus-visible{fill:#93a78888!important;stroke:#526b4e!important;stroke-width:.8!important}
.dollhouse-tooltip{position:absolute;top:12px;right:12px;width:166px;background:#fffcfc;border:2px solid white;border-radius:13px;box-shadow:0 9px 27px #34281d26;overflow:hidden;opacity:0;transform:translateY(8px);transition:opacity 150ms ease,transform 150ms ease;pointer-events:none;z-index:6;visibility:hidden}
.dollhouse-tooltip.visible{opacity:1;transform:none;visibility:visible}
.dollhouse-tooltip img{width:100%!important;height:95px!important;max-height:95px!important;object-fit:cover!important;display:block;filter:none!important}
.dollhouse-tooltip>div{padding:9px 11px}.dollhouse-tooltip strong{font-size:12px;display:block}.dollhouse-tooltip small{font-size:10px;color:#88796d;line-height:1.5}
.dollhouse-stage .room-pin:hover{box-shadow:0 0 0 3px #b4c8ac90!important}
.room-view{animation:roomEnter 240ms ease both}
@keyframes roomEnter{from{opacity:.7;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.projects-grid{grid-template-columns:1fr}.project-cover{height:180px}.topbar{gap:7px}.project-toplink{max-width:140px;padding:8px 9px;font-size:11px;flex:none}.topbar .top-search{width:auto!important;flex:1;min-width:0}.top-search input{padding-right:5px}.sidebar .nav-btn{font-size:8px}.room-breadcrumb{margin-top:15px}.dollhouse-tooltip{width:140px}.dollhouse-tooltip img{height:76px!important}}
@media(prefers-reduced-motion:reduce){.dollhouse-stage,.dollhouse-tooltip,.room-view{animation:none!important;transition:none!important}.dollhouse-stage.zoomed{transform:none}}

/* Animated room navigation: keep the original stage geometry fixed and move a clone. */
.dollhouse-stage.camera-overlay{
  position:fixed!important;z-index:90;pointer-events:none!important;
  transform:none!important;transition:none!important;margin:0!important;
  overflow:hidden;box-sizing:border-box;
}
.camera-overlay .camera-layer{
  position:absolute;inset:0;display:grid;place-items:center;
  transform-origin:50% 50%;will-change:transform;
}
.camera-overlay .camera-layer > svg{
  position:absolute;inset:0;width:100%;height:100%;
}
.camera-overlay .dollhouse-tooltip,
.camera-overlay .dollhouse-caption,
.camera-overlay .dollhouse-live{opacity:0!important;pointer-events:none;}
.room-arriving .room-view,.room-arriving .room-tabs,.room-arriving .page-head{
  animation:room-arrive 190ms ease-out both;
}
@keyframes room-arrive{
  from{opacity:.45;transform:translateY(6px)}
  to{opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:reduce){
  .room-arriving .room-view,.room-arriving .room-tabs,.room-arriving .page-head{
    animation:none!important;
  }
  .dollhouse-stage{transition:none!important}
}

/* Real 3D dollhouse controls. All other room pages retain their existing layout. */
.dollhouse-stage-3d{min-height:444px;display:block;position:relative;background:#fbf8f3}
.three-scene{position:absolute;inset:0;overflow:hidden}
#dollhouse-3d{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-5px}
#dollhouse-3d:active{cursor:grabbing}
.dollhouse-view-toggle{position:absolute;right:13px;top:13px;z-index:5;display:flex;gap:3px;padding:4px;background:#ffffffed;border:1px solid #e7ded4;border-radius:12px;box-shadow:0 4px 15px #5b45301c}
.dollhouse-view-toggle button{padding:7px 12px;font-size:11px;font-weight:800;color:#826f60;border:0;border-radius:8px;background:transparent;cursor:pointer}
.dollhouse-view-toggle button.active{background:#79604b;color:white}
.dollhouse-view-toggle button:disabled{opacity:.4;cursor:not-allowed}
.three-toolbar{position:absolute;top:13px;left:13px;z-index:5;display:flex;gap:6px;flex-wrap:wrap;max-width:58%}
.three-toolbar button{background:#ffffffed;border:1px solid #e7ded4;border-radius:9px;color:#655445;padding:8px 10px;font-size:11px;font-weight:750;box-shadow:0 4px 12px #5b453014}
.three-toolbar button:hover,.three-room-shortcuts button:hover{background:#f4ece2}
.three-room-shortcuts{position:absolute;left:11px;right:11px;bottom:48px;z-index:5;display:flex;flex-wrap:wrap;justify-content:center;gap:5px;pointer-events:none}
.three-room-shortcuts button{pointer-events:auto;background:#fffdf8ef;border:1px solid #d7c6b4;border-radius:30px;padding:6px 10px;font-size:10px;color:#685341;font-weight:800;box-shadow:0 3px 9px #61472b19}
.three-disclaimer{position:absolute;bottom:10px;left:12px;right:12px;text-align:center;z-index:4;font-size:10px;pointer-events:none;color:#8d7a6a;background:#fbf8f3dc;border-radius:20px;padding:5px 8px}
.room-preview-3d{position:absolute;right:13px;top:60px;width:min(175px,35%);z-index:3;display:flex;flex-direction:column;overflow:hidden;background:#ffffffed;border:2px solid white;border-radius:12px;box-shadow:0 9px 24px #503f2d22;pointer-events:none}
.room-preview-3d[hidden]{display:none!important}
.room-focus-overlay{position:absolute;top:16px;left:50%;transform:translateX(-50%);z-index:6;display:flex;gap:9px;align-items:center;max-width:calc(100% - 24px);padding:8px 10px;border:1px solid #ffffff39;border-radius:14px;background:#232430ed;color:#fff;box-shadow:0 12px 30px #0003;white-space:nowrap}
.room-focus-overlay[hidden]{display:none!important}
.room-focus-overlay strong{font-size:12px;max-width:150px;overflow:hidden;text-overflow:ellipsis}
.room-focus-overlay button{font:inherit;font-size:11px;border-radius:9px;padding:8px 11px;border:1px solid #ffffff38;background:#ffffff15;color:inherit;cursor:pointer}
.room-focus-overlay button:hover{background:#ffffff28}
.build-colors .build-hex{width:95px;min-width:95px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;text-transform:uppercase}
@media(max-width:620px){.room-focus-overlay{top:60px;flex-wrap:wrap;justify-content:center;white-space:normal}}
.dollhouse-stage .room-preview-3d img{display:block;width:100%;height:90px;max-height:none;object-fit:cover;filter:none}
.room-preview-3d div{padding:9px;display:flex;flex-direction:column;gap:4px}
.room-preview-3d strong{font-size:12px;color:#5a493b}
.room-preview-3d small{font-size:10px;color:#998471;line-height:1.3}
@media(max-width:760px){
 .dollhouse-stage-3d{min-height:380px}
 .three-toolbar button{font-size:10px;padding:7px}
 .three-room-shortcuts{bottom:51px;gap:4px}
 .three-room-shortcuts button{font-size:9px;padding:5px 7px}
 .room-preview-3d{top:58px;width:105px}
 .dollhouse-stage .room-preview-3d img{height:54px}
 .room-preview-3d div{padding:6px}
 .room-preview-3d strong{font-size:10px}
 .room-preview-3d small{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
 .dollhouse-view-toggle *, .three-room-shortcuts *{transition:none!important}
}

/* Unsaved changes confirmation stays above the existing edit form. */
.discard-changes-dialog{width:min(430px,calc(100vw - 32px));max-width:none;padding:25px 26px;border:1px solid #e8dfd6;border-radius:17px;background:#fffdfb;color:#302b27;box-shadow:0 24px 90px #30261e35}
.discard-changes-dialog::backdrop{background:rgba(34,29,25,.45)}
.discard-changes-dialog h2{font-size:20px;line-height:1.35;margin:0 0 12px;font-weight:800}
.discard-changes-dialog p{font-size:14px;line-height:1.6;color:#70675e;margin:0 0 24px}
.discard-changes-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
@media(max-width:480px){.discard-changes-dialog{padding:22px 18px}.discard-changes-actions .btn{flex:1;white-space:normal}}

/* FINN-import furniture controls: compact, collapsible so they do not cover the dollhouse. */
.furniture-panel{position:absolute;left:13px;top:59px;z-index:7;width:fit-content;max-width:min(310px,calc(100% - 26px));background:#fffdf9f0;border:1px solid #e2d7cb;border-radius:12px;box-shadow:0 8px 25px #46312123;color:#5e4e40}
.furniture-panel summary{padding:9px 12px;font-size:11px;font-weight:800;cursor:pointer;user-select:none}
.furniture-panel[open]{width:min(292px,calc(100% - 26px));max-height:calc(100% - 145px);overflow:auto}
.furniture-toolbar{padding:0 10px 11px;display:grid;grid-template-columns:1fr 1fr;gap:7px;align-items:center}
.furniture-toolbar label{font-size:10px;font-weight:800;color:#6f5e4f}
.furniture-toolbar .form-input{min-width:0;width:100%;font-size:11px;padding:7px}
.furniture-toolbar button{font-size:10px;white-space:normal;min-height:33px;line-height:1.25}
.furniture-generator{grid-column:1 / -1;display:grid;gap:6px;padding:4px 0 10px;margin-bottom:3px;border-bottom:1px solid #8885}
.furniture-generator small:empty{display:none}
.furniture-toolbar small{grid-column:1 / -1;color:#817269;font-size:10px;overflow-wrap:anywhere}
@media(max-width:760px){.furniture-panel{top:55px;left:9px}.furniture-toolbar{grid-template-columns:1fr 1fr}}

/* Paulina brand identity: name and tagline, compact across desktop and login. */
.brand-copy{display:flex;flex-direction:column;gap:2px;align-items:flex-start;min-width:0;line-height:1.18}
.brand-copy strong{font:800 17px/1.12 'Manrope',sans-serif;letter-spacing:-.45px;color:#473b32}
.brand-copy small{font-size:10px;font-weight:600;letter-spacing:.05px;color:#958375;white-space:nowrap}
.login-panel .brand-copy strong{font-size:20px}
.loading-screen{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;text-align:center}
.loading-screen strong{font:800 23px/1.15 'Manrope',sans-serif;color:#765b46}
.loading-screen small{font-size:12px;font-weight:600;color:#968374}
.loading-screen .loading-dot{margin-top:7px}

#save-status, #save-retry {
  position: fixed;
  z-index: 20;
  bottom: 1rem;
  inset-inline: 1rem;
  max-width: 700px;
  margin-inline: auto;
  padding: 1rem;
  background: #fff3d9;
  color: #584022;
  border: 1px solid #d4b985;
  border-radius: 12px;
}
#save-status .btn, #save-retry .btn { margin: .3rem 0 0 .3rem; }
.plan-measurements {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, .6fr);
  align-items: center;
  gap: .65rem;
  margin-top: 1rem;
}
.plan-measurements .check-row, .plan-measurements button { grid-column: 1 / -1; }
.check-row { display: flex; gap: .55rem; align-items: baseline; }
.product-content { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.product-content a { color: #765440; }
.product-tasks { border: 1px solid var(--line, #dcd0c5); border-radius: 8px; padding: .75rem; }
.product-tasks .check-row + .check-row { margin-top: .35rem; }
.linked-product { display: block; }
.project-costs { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: .82rem; }
.project-costs strong { display: block; }
.compare-stage { position: relative; overflow: hidden; border-radius: 10px; margin: .75rem 0; }
.compare-stage img { display: block; width: 100%; }
.compare-stage .compare-after { position: absolute; inset: 0; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--compare)) 0 0); }
#comparison-position { width: 100%; }

.sketch-2d { min-height: 300px; background: #f5eee6; }

.brand-link { color: inherit; text-decoration: none; }
.brand-link:focus-visible { outline: 2px solid var(--brown-dark); outline-offset: 4px; border-radius: 8px; }
.mobile-brand { display: none; }
@media (max-width: 760px) {
  .mobile-brand { display: inline-flex; flex: 0 0 auto; }
  .mobile-brand .brand-logo { width: 34px; height: 34px; }
}

/* Paulina studio */
:root{background:#11121b;color:#f7f5f3;color-scheme:dark;--bg:#14151e;--paper:#20212b;--cream:#252631;--line:#ffffff17;--muted:#adaab5;--ink:#f7f5f3;--brown:#d4b08d;--brown-dark:#e1bd9b;--sage:#94ad8d;--light-sage:#263530;--shadow:0 12px 46px #0004}
.studio-app{display:block;max-width:none;background:transparent}
.studio-shell{min-height:100svh;background:#14151e}
.studio-home{background:radial-gradient(ellipse at 32% 50%,#3a3034 0,transparent 48%),radial-gradient(ellipse at 56% 54%,#302a34 0,transparent 63%),linear-gradient(115deg,#20202a,#10121c 72%)}
.studio-header{height:88px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 clamp(16px,4.7vw,72px);position:relative;z-index:12}
.studio-brand{display:inline-flex;justify-self:start;align-items:center;gap:10px;border-radius:8px;white-space:nowrap;color:#fcfaf8}
.studio-brand .ico{width:38px;height:38px;stroke-width:1.55}
.studio-brand strong{font:750 clamp(20px,2.4vw,31px)/1 'Manrope',system-ui,sans-serif;letter-spacing:-.055em}
.studio-tabs,.studio-camera,.studio-rail .studio-icon,.studio-edit-plan{border:1px solid #ffffff16;background:#ffffff07;box-shadow:0 8px 28px #05050c22,inset 0 1px 0 #ffffff05}
.studio-tabs{display:flex;gap:3px;padding:3px;border-radius:600px}
.studio-icon{display:grid;place-items:center;padding:0;border:0;background:transparent;color:#f7f5f2;border-radius:inherit;min-width:44px;min-height:44px}
.studio-icon .ico{width:26px;height:26px;stroke-width:1.5}
.studio-icon:hover,.studio-icon.is-active{background:#ffffff24}
.studio-tabs .studio-icon{width:clamp(52px,8.6vw,105px);height:49px;border-radius:48px}
.studio-tabs .studio-icon.is-active{background:linear-gradient(145deg,#d4d2df46,#acaab529);box-shadow:inset 0 1px 0 #ffffff13}
.studio-menu{position:relative;justify-self:end}
.studio-menu summary{cursor:pointer;list-style:none;border-radius:22px}
.studio-menu summary::-webkit-details-marker{display:none}
.studio-menu-panel{position:absolute;right:0;top:calc(100% + 9px);width:min(260px,78vw);max-height:calc(100svh - 104px);overflow:auto;padding:12px;border-radius:20px;background:#262733;border:1px solid #ffffff21;box-shadow:0 14px 55px #0007;color:var(--ink)}
.studio-menu-panel>button{display:flex;align-items:center;gap:12px;width:100%;padding:10px;border:0;border-radius:9px;color:inherit;text-align:left;background:transparent}
.studio-menu-panel>button:hover{background:#ffffff15}
.studio-menu-panel>select{width:100%;margin-bottom:9px}
.studio-search{position:relative;display:block;margin-bottom:7px}
.studio-search .ico{position:absolute;left:9px;top:9px;color:var(--muted)}
.studio-search input{width:100%;height:36px;padding:6px 8px 6px 34px;color:inherit;background:#171820;border:1px solid var(--line);border-radius:9px}
.studio-main{width:100%;max-width:1400px;margin:auto;padding:0 clamp(16px,4.7vw,72px) 55px}
.studio-home .studio-main:has(.studio-workspace){max-width:none;padding:0}
.studio-workspace{position:relative;isolation:isolate;min-height:calc(100svh - 88px);display:grid;grid-template-rows:minmax(0,1fr)}
.studio-stage{position:absolute;inset:0}
.studio-stage>.dollhouse-stage{height:100%;min-height:0;border:0;border-radius:0;background:transparent;overflow:hidden}
.studio-stage>.dollhouse-stage:not(.studio-reference-stage):not(.dollhouse-stage-3d){inset:0;width:calc(100% - clamp(90px,17vw,205px));margin-inline:auto}
.studio-stage>.dollhouse-stage:not(.studio-reference-stage)>.dollhouse-view-toggle{display:none}
.studio-reference-stage{display:grid;place-items:center}
.studio-reference-frame{position:relative;width:min(100%,calc((100svh - 88px) * .914));aspect-ratio:1199/1312;margin-top:-44px;filter:drop-shadow(0 18px 24px #09070a89)}
.studio-reference-picture{height:100%;position:relative;transform:scale(var(--photo-scale,1));transition:transform .23s ease-out}
.studio-reference-stage .studio-reference-picture img{width:100%;height:100%;max-height:none;object-fit:fill;display:block;pointer-events:none;clip-path:polygon(20% 9%,51.4% 8.3%,52% 19%,61% 19%,62% 59.3%,76.9% 59.3%,80.6% 63.8%,78.5% 69.9%,76.9% 72.5%,76.3% 91%,20% 91%)}
.studio-hotspot{display:grid;place-items:center;position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:40px;height:40px;border:1px solid transparent;border-radius:50%;background:transparent;color:#fff;z-index:2}
.studio-hotspot span{position:absolute;visibility:hidden;opacity:0;white-space:nowrap;min-width:max-content;top:calc(100% + 4px);padding:6px 10px;background:#18171ce8;border:1px solid #ffffff32;border-radius:20px;font-size:12px;font-weight:700;box-shadow:0 4px 20px #0005}
.studio-hotspot:hover,.studio-hotspot:focus-visible{border-color:#fff;background:#fff3;box-shadow:0 0 17px #fff6}
.studio-hotspot:hover span,.studio-hotspot:focus-visible span{visibility:visible;opacity:1}
.studio-demo-label{position:absolute;left:clamp(16px,4.7vw,72px);bottom:30px;font-size:11px;color:#c0b8bd}
.studio-rail{position:absolute;z-index:8;right:clamp(20px,4.3vw,64px);top:45%;transform:translateY(-50%);display:grid;gap:clamp(9px,1.45vh,17px)}
.studio-rail .studio-icon{width:clamp(55px,10vw,132px);height:clamp(47px,8.6vh,85px);border-radius:clamp(16px,2.4vw,29px);backdrop-filter:blur(18px)}
.studio-rail .studio-icon .ico{width:clamp(21px,3vw,35px);height:clamp(21px,3vw,35px)}
.studio-rail .studio-icon:hover{background:#ffffff1c}
.studio-rail .studio-icon.is-active{border-color:#dddbe8;background:#dcd8e41a;box-shadow:0 0 24px #ebe7ff31,inset 0 0 20px #e9e3ff15}
.studio-rail [data-action="studio-model"].is-active{position:relative;overflow:hidden;height:clamp(60px,11.5vh,112px)}
.studio-rail [data-action="studio-model"].is-active::before{content:"";width:82%;height:83%;background:url('/assets/studio-reference.webp') center 49%/151% auto no-repeat;clip-path:polygon(19% 0,58% 0,58% 17%,69% 17%,69% 65%,95% 65%,91% 73%,86% 100%,19% 100%);transform:rotate(32deg) scale(.95)}
.studio-rail [data-action="studio-model"].is-active .ico{position:absolute;opacity:0}
.studio-camera{position:absolute;z-index:8;bottom:clamp(15px,2.4vh,30px);left:50%;transform:translateX(-50%);border-radius:60px;display:flex;gap:5px;padding:6px;backdrop-filter:blur(24px);background:#ffffff10}
.studio-camera .studio-icon{min-width:clamp(42px,5.4vw,64px);height:44px;min-height:40px;border-radius:40px}
.studio-camera .studio-icon .ico{width:23px;height:23px}
.studio-camera .studio-icon.is-active{background:#ddd8e35d}
.studio-zoom{display:flex;gap:2px;background:#ffffff10;border-radius:40px;margin-left:7px}
.studio-edit-plan{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);color:#fff;border-radius:40px;display:inline-flex;gap:8px;padding:10px 16px;align-items:center;white-space:nowrap;z-index:8}
.studio-home .three-toolbar,.studio-home .furniture-panel{left:clamp(14px,4.7vw,72px)}
.studio-home .three-room-shortcuts{bottom:98px;left:14%;right:18%}
.studio-home .three-disclaimer{background:transparent;left:clamp(15px,4.7vw,72px);right:auto;bottom:13px;color:#c3bac4}
.studio-home .room-preview-3d{right:clamp(88px,17vw,214px)}
.studio-home .dollhouse-caption{bottom:85px}
.studio-home .dollhouse-stage:not(.dollhouse-stage-3d):not(.studio-reference-stage) svg[data-plan]{z-index:1}
.studio-main :is(.card,.project-card,.room-card,.item-card,.task-column,.empty-house,.quick,.tab-shell,.suggestion-card,.room-stack .beforeafter){background:#21222d;border-color:var(--line);color:var(--ink)}
.studio-main :is(.room-card,.project-card,.quick):hover{background:#2a2b36;border-color:#ffffff2e}
.studio-main :is(.room-card-body,.project-card-body,.hero-meta,.project-cover-placeholder,.empty,.suggestion-card p){color:var(--muted)}
.studio-main :is(.page-title,.section-title,.card-title,.room-card strong,.project-card strong,.task-line,.project-name){color:var(--ink)}
.studio-app :is(.btn,.form-input,.quick,.studio-edit-plan){background:#282933;border-color:#ffffff21;color:var(--ink)}
.studio-app :is(.btn,.quick,.studio-edit-plan):hover{background:#353542}
.studio-app .btn.primary{background:#d9b796;color:#241a13;border-color:#d9b796}
.studio-app .btn.primary:hover{background:#e8c6a6}
.studio-app .form-input::placeholder{color:#aba6b4}
.studio-app .modal{background:#252631;border-color:var(--line);color:var(--ink)}
.studio-app :is(.modal-header,.modal-actions,.modal-body,.field-label,.small-note){border-color:var(--line);color:var(--ink)}
.studio-app .text-link,.studio-app .eyebrow{color:#e2bd9a}
.studio-app .muted{color:var(--muted)}
.studio-app :is(.three-toolbar button,.three-room-shortcuts button,.furniture-panel,.room-preview-3d){background:#232430ee;color:#f4f0ed;border-color:#ffffff26}
.studio-app :is(.furniture-toolbar label,.furniture-toolbar small,.room-preview-3d strong,.room-preview-3d small){color:#e4dce4}
.studio-app .room-preview-3d{box-shadow:0 8px 30px #0006}
@media(max-width:700px){
 .studio-header{height:66px;gap:7px;padding-inline:13px}
 .studio-brand{gap:5px}.studio-brand strong{font-size:19px}.studio-brand .ico{width:24px;height:24px}
 .studio-tabs{gap:2px;padding:2px}.studio-tabs .studio-icon,.studio-menu summary{width:36px;min-width:36px;height:38px;min-height:38px}.studio-tabs .ico,.studio-menu .ico{width:20px;height:20px}
 .studio-workspace{min-height:calc(100svh - 66px)}
 .studio-stage{bottom:107px}
 .studio-reference-frame{width:min(149%,calc((100svh - 160px) * .93));margin-top:0}
 .studio-demo-label{bottom:3px;left:12px;font-size:9px}
 .studio-hotspot{width:32px;height:32px}
 .studio-rail{left:50%;right:auto;top:auto;bottom:11px;transform:translateX(-50%);display:flex;gap:5px}
 .studio-rail .studio-icon,.studio-rail [data-action="studio-model"].is-active{width:clamp(42px,13.4vw,63px);height:45px;border-radius:15px}
 .studio-camera{bottom:66px;padding:3px}
 .studio-camera .studio-icon{height:39px;min-height:39px}
 .studio-edit-plan{bottom:69px}
 .studio-stage>.dollhouse-stage:not(.studio-reference-stage):not(.dollhouse-stage-3d){width:100%}
 .studio-home .three-room-shortcuts{bottom:27px;left:6px;right:6px}
 .studio-home .three-disclaimer{bottom:0}
 .studio-home .room-preview-3d{right:10px}
}
@media(prefers-reduced-motion:reduce){.studio-reference-picture{transition:none}}
.studio-plan-paper{position:relative;display:grid;place-items:center;max-width:min(100%,670px);max-height:calc(100svh - 260px);margin-bottom:62px;background:#faf7f2;border-radius:10px;overflow:hidden}
.studio-plan-paper .sketch-2d{width:min(63vw,550px);height:min(54vh,500px)}
.studio-home .dollhouse-stage .studio-plan-paper>img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100svh - 260px);filter:none}
.studio-reference-stage.camera-overlay,.studio-reference-stage.camera-overlay .camera-layer{display:grid;place-items:center;background:transparent}
.studio-app :is(.project-cover-placeholder,.floor-wrap,.photo-placeholder,.room-hero){background:#2e2e39}
.studio-app :is(.tab,.task-column,.pill,.product-row p,.form-row label,.furniture-toolbar label){color:#c3beca}
.studio-app :is(.tab.active,.pill strong,.project-costs strong){color:#f6e2cf}
.studio-app :is(.pill,.project-costs span,.suggestion,.choice-card){background:#2b2c37;border-color:var(--line)}
.studio-app .floating-tag{background:#23212be8;color:#fff}
.studio-app :is(.progress-track,.compare-stage){background:#393743}

.finn-import-actions{flex-wrap:wrap}
.finn-import-feedback{flex:0 0 100%;min-width:0}
.finn-import-feedback:has(.finn-import-progress[hidden] + p:empty){display:none}
.finn-import-progress{display:grid;grid-template-columns:minmax(0,1fr) 4ch;align-items:center;gap:12px}
.finn-import-progress[hidden]{display:none}
.finn-import-progress progress{width:100%;height:8px;appearance:none;border:0;border-radius:9px;background:#ffffff16;overflow:hidden}
.finn-import-progress progress::-webkit-progress-bar{background:transparent}
.finn-import-progress progress::-webkit-progress-value{background:#d9b796;border-radius:9px}
.finn-import-progress progress::-moz-progress-bar{background:#d9b796;border-radius:9px}
.finn-import-progress span{color:#f5e4d5;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.finn-import-feedback .small-note{margin:5px 0 0}

/* Editing controls for the live 3D scene. */
#furniture-handles{position:absolute;z-index:3;display:flex;gap:5px;transform:translate(-50%,-112%);pointer-events:none}
#furniture-handles[hidden]{display:none}
#furniture-handles button{width:34px;height:34px;display:grid;place-items:center;padding:0;border-radius:50%;border:1px solid #ffffff80;background:#272c3a;color:white;font:bold 19px/1 system-ui;box-shadow:0 3px 12px #0007;pointer-events:auto;touch-action:none;cursor:ns-resize}
#furniture-handles button[data-furniture-transform="scale"]{cursor:nesw-resize}
#furniture-handles button:hover,#furniture-handles button.dragging,#furniture-handles button:focus-visible{background:#526e9c}
.build-panel{width:min(292px,calc(100% - 26px));max-height:calc(100% - 145px);overflow:auto}
.build-panel h3{margin:0;padding:9px 12px;font-size:11px}
.build-panel button[aria-pressed="true"],.three-toolbar button[aria-pressed="true"]{border-color:#a4c6f5;background:#404c65;color:white}
.build-colors{grid-column:1 / -1;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.build-colors .paint-swatch{width:24px;height:24px;min-height:0;padding:0;border-radius:50%;border:1px solid #ffffff55;background:var(--swatch);cursor:pointer}
.build-colors .paint-swatch[aria-pressed="true"]{background:var(--swatch);box-shadow:0 0 0 2px #739bda}
#build-custom-color{width:28px;height:26px;padding:0;border:0;background:none;cursor:pointer}

.snap-guide-distance {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .35rem .65rem;
  border-radius: .5rem;
  background: #17233b;
  color: white;
  pointer-events: none;
}

#furniture-transform-panel {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
#furniture-transform-panel:empty { display: none; }
.furniture-transform-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: .4rem;
}
.furniture-transform-form label { font-size: .76rem; }
.furniture-transform-form input { width: 5rem; padding: .3rem .45rem; }

#furniture-handles button[data-furniture-transform="move-x"],
#furniture-handles button[data-furniture-transform="move-z"] {
  cursor: move;
  font-size: .9rem;
}
#furniture-handles button[data-furniture-transform="move-x"] { background: #7a3546; }
#furniture-handles button[data-furniture-transform="move-z"] { background: #325695; }
#furniture-handles button.dragging { outline: 2px solid white; }

.furniture-catalog { display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.5rem;max-height:280px;overflow:auto;width:100%; }
.catalog-card { display:flex;flex-direction:column;gap:.2rem;padding:.4rem;border:1px solid #d9d2c8;border-radius:.7rem;background:#f8f6f2;text-align:left;cursor:pointer; }
.catalog-card img { width:100%;aspect-ratio:1;object-fit:contain;border-radius:.4rem; }
.catalog-card span { font-size:.8rem;line-height:1.2; }
.catalog-card small { color:#625b53;font-size:.65rem; }
.catalog-card:focus-visible { outline:3px solid #3166a0;outline-offset:2px; }

.studio-app .furniture-panel[open] { width: min(310px,calc(100vw - 30px));backdrop-filter:blur(18px); }
.studio-app .furniture-toolbar > :is(.furniture-catalog,.catalog-legacy,#furniture-transform-panel) { grid-column:1/-1; }
.studio-app .catalog-card { color:#242830;background:#eeeae3;border-color:#d4cec4; }
.studio-app .catalog-card small { color:#5d625f; }
.catalog-legacy { border-block:1px solid #ffffff20;padding:.4rem 0; }
.catalog-legacy summary { list-style:revert;font-weight:500; }
.catalog-legacy label { display:block;margin-top:.4rem; }
#furniture-transform-panel:not(:empty) { padding-block:.6rem;border-bottom:1px solid #ffffff25; }
.home-measurements { margin:.4rem 0;font-size:.75rem; }
.home-proposal li { margin-block:.5rem; }

@media(max-width:760px) {
  .studio-app .furniture-panel { left:10px;top:54px;max-width:calc(100vw - 20px); }
  .studio-app .furniture-panel[open] { width:min(310px,calc(100vw - 20px));max-height:55svh; }
  .studio-app :is(.three-toolbar button,.studio-icon,.catalog-card) { min-height:44px; }
  #furniture-handles button { width:44px;height:44px; }
  .three-scene { touch-action:none; }
  .home-proposal .furniture-transform-form { display:grid;grid-template-columns:1fr 1fr; }
}

@media(max-width:760px) {
  .studio-home .three-toolbar {
    top:auto;bottom:86px;left:8px;right:8px;max-width:none;
    flex-wrap:nowrap;overflow-x:auto;padding:4px;background:#232430d9;border-radius:12px;
  }
  .studio-home .three-toolbar > * { flex-shrink:0; }
  .studio-home .three-room-shortcuts { bottom:148px; }
}
.color-editor{border:1px solid var(--border,#d5cbbb);border-radius:12px;padding:12px;display:grid;gap:8px;min-width:0}.color-editor label{display:grid;grid-template-columns:65px minmax(80px,1fr);align-items:center;gap:8px}.color-editor input[type=range]{width:100%;min-width:80px}.color-disc{width:140px;aspect-ratio:1;border-radius:50%;position:relative;cursor:crosshair;touch-action:none;justify-self:center;background:radial-gradient(circle,#fff,transparent),conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.color-disc span{position:absolute;width:12px;height:12px;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #333;transform:translate(-50%,-50%);pointer-events:none}.color-swatches{display:flex;gap:6px;flex-wrap:wrap}.color-swatches button{width:25px;height:25px}.save-indicator{font-size:12px;display:inline-block;padding:5px 10px}.project-actions{display:flex;gap:8px;flex-wrap:wrap}.object-list{max-height:180px;overflow:auto;display:grid;gap:4px}.object-list button{text-align:left;padding:7px}
.catalog-entry{position:relative;min-width:0}.catalog-entry .catalog-card{width:100%;height:100%;padding-bottom:26px}.catalog-favorite{position:absolute;right:5px;bottom:3px;border:0;background:transparent;font-size:22px;color:#886d3b;min-width:36px;min-height:32px;cursor:pointer}.save-indicator{position:absolute;right:60px;top:55px;z-index:3}.object-list{width:100%}.furniture-panel .color-editor{grid-column:1/-1}.color-editor .form-input{width:100%}@media(max-width:700px){.save-indicator{top:64px;right:18px}.three-toolbar{max-width:100%;flex-wrap:wrap}}
.editor-tools{position:fixed;right:18px;bottom:18px;z-index:16;width:min(820px,calc(100vw - 36px));max-height:75vh;overflow:auto;border:1px solid #d6ccbe;border-radius:16px;background:#f8f5ef;box-shadow:0 15px 55px #26211624;padding:12px 16px;color:#302d28}.editor-tools:not([open]){width:auto;overflow:hidden}.editor-tools>summary{font-weight:600;cursor:pointer;padding:4px}.editor-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-top:12px}.editor-tools-grid section{min-width:0}.editor-tools-grid form{display:grid;gap:10px;margin:10px 0 18px}.editor-tools-grid label{display:grid;gap:5px;font-size:13px}.editor-tools-grid input[type=checkbox]{margin-right:6px}.editor-tools-grid details{border-top:1px solid #ded5c6;padding:12px 0}.editor-tools-grid h3{margin:10px 0}.editor-tools-grid output{display:block;white-space:normal;padding:9px;background:#e9eee5;border-radius:8px}.model-match{padding:10px;border-bottom:1px solid #ded5c6}.avatar-controls{display:flex;gap:8px}.avatar-controls button{min-width:46px;min-height:44px;border:1px solid #b3ac9f;border-radius:8px;background:#fff;touch-action:none}.read-only .editor-tools,.read-only [data-action="open-add"],.read-only [data-action="3d-build-toggle"],.read-only details.furniture-panel,.read-only [data-action="3d-undo"],.read-only [data-action="3d-redo"]{display:none}.shared-notice{position:fixed;bottom:18px;right:18px;background:#f8f5ef;padding:12px;border-radius:10px}.studio-plan-paper g[data-plan-furniture]{cursor:move}g[data-plan-furniture]:focus{outline:1px solid #4c886a}@media(max-width:700px){.editor-tools{right:10px;bottom:10px;max-height:70vh;width:calc(100vw - 20px)}.editor-tools-grid{grid-template-columns:1fr;gap:12px}}
/* Keep the command bar on one scrollable row, clear of the furniture drawer. */
@media(min-width:761px){
 .studio-home .three-toolbar{max-width:calc(100% - 170px);flex-wrap:nowrap;overflow-x:auto;align-items:center;padding-bottom:5px;max-height:55px}
 .studio-home .three-toolbar>*{flex-shrink:0}
 .studio-home .furniture-panel{top:78px;max-height:calc(100% - 175px)}
}
.studio-home .three-toolbar{z-index:8}
.three-orbit-side{position:absolute;top:48%;z-index:4;width:44px;height:52px;border:1px solid #ffffff66;border-radius:12px;background:#232430d9;color:#fff;font-size:25px;touch-action:none;cursor:pointer}.three-orbit-side.orbit-left{left:12px}.three-orbit-side.orbit-right{right:12px}
.studio-home .room-focus-overlay{top:82px;z-index:9;max-width:calc(100% - 30px)}
.studio-plan-paper svg{overflow:visible}
/* Keep the mobile navigation rail clear of the tools launcher. */
@media(max-width:700px){.editor-tools{bottom:128px;max-height:calc(100svh - 210px)}.editor-tools:not([open]){right:10px;max-width:calc(100vw - 20px)}}
.plan-edit-surface{min-height:240px;background:#f7f4ed;touch-action:none}.plan-edit-surface #floor-svg{width:100%;height:100%}.plan-wall,.plan-opening{fill:none;stroke:#645a50;stroke-width:.65;pointer-events:stroke;cursor:move;vector-effect:non-scaling-stroke;stroke-width:7px}.plan-opening{stroke:#137eb4;stroke-width:10px}.plan-vertex{fill:#fff;stroke:#2e665a;stroke-width:.3;cursor:move}.plan-wall.selected,.plan-opening.selected{stroke:#db7c19}.plan-vertex.selected{fill:#ffbc63}.plan-wall:focus,.plan-opening:focus,.plan-vertex:focus{outline:none;stroke:#db7c19}.plan-invalid .plan-wall,.plan-invalid .plan-vertex{stroke:#bd2626}

.walk-controls{position:absolute;left:18px;bottom:95px;z-index:8;background:#252530ee;color:#f4f0ed;padding:12px;border:1px solid #ffffff26;border-radius:12px;max-width:calc(100% - 36px)}.walk-controls p{margin:0 0 8px;font-size:12px}.walk-controls .avatar-controls{margin-bottom:8px}.walk-controls button{color:#f4f0ed;background:#353542}.walk-controls .avatar-controls button{font-size:22px}.read-only [data-action="3d-duplicate-furniture"]{display:none}

.direct-selection-bar{position:absolute;right:170px;top:106px;z-index:7;max-width:min(310px,calc(100% - 32px));padding:10px 12px;border:1px solid #ffffff26;border-radius:12px;background:#252530ee;color:#f4f0ed;font-size:12px}.direct-selection-bar span{display:block;margin-bottom:6px}.direct-selection-bar button{color:inherit;background:#353542;border:1px solid #ffffff35;border-radius:7px;padding:8px 10px;margin-right:5px}@media(max-width:700px){.direct-selection-bar{right:12px;top:106px;max-width:230px}}

/* Compact primary controls; secondary actions stay in native disclosure menus. */
.studio-rail [data-action="studio-model"].is-active::before{content:none}.studio-3d-label{font-size:clamp(25px,3vw,38px);font-weight:800;letter-spacing:1px;line-height:1}.studio-home .three-toolbar{overflow:visible;max-height:none;flex-wrap:nowrap;align-items:center}.history-actions{display:flex;gap:4px}.history-actions button{font-size:20px;line-height:1;min-width:36px}.three-toolbar button:disabled{opacity:.32;cursor:default;box-shadow:none}.scene-menu{position:relative}.scene-menu>summary{list-style:none;cursor:pointer;border:1px solid #ffffff26;border-radius:9px;background:#232430ee;color:#f4f0ed;font-size:11px;font-weight:700;padding:9px 11px}.scene-menu>summary::-webkit-details-marker{display:none}.scene-menu>summary::after{content:' ▾'}.scene-menu[open]>summary{background:#404c65}.scene-menu-content{position:absolute;top:calc(100% + 8px);right:0;width:250px;box-sizing:border-box;display:grid;gap:10px;padding:14px;border:1px solid #ffffff35;border-radius:12px;background:#232430fa;color:#f4f0ed;box-shadow:0 12px 30px #0007;z-index:15}.scene-menu:not([open])>.scene-menu-content{display:none}.scene-menu-content label{display:grid;gap:5px;font-size:12px}.scene-menu-content select{width:100%;min-height:34px;background:#353542;color:inherit;border:1px solid #ffffff35;border-radius:6px}.scene-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.scene-menu-content small{font-size:11px;line-height:1.5}.scene-menu>summary:focus-visible{outline:2px solid #a4c6f5;outline-offset:2px}@media(max-width:700px){.studio-home .three-toolbar{max-width:calc(100% - 24px);flex-wrap:nowrap;gap:5px}.studio-app .history-actions button{min-width:38px;padding:7px}.scene-menu>summary{min-height:38px;box-sizing:border-box;display:flex;align-items:center;padding:8px}.scene-menu-content{width:235px}.studio-3d-label{font-size:28px}}

@media(max-width:700px){.three-toolbar .scene-menu{position:static}.three-toolbar .scene-menu-content{left:0;right:auto;max-width:calc(100vw - 28px)}}

/* Focused chat and surface editing, separate from advanced housing tools. */
.three-toolbar .avatar-toggle{display:grid;place-items:center;min-width:40px;padding:6px}.avatar-toggle .ico{width:25px;height:25px}
.editor-chat{position:fixed;right:18px;bottom:18px;z-index:17;color:#f4f0ed;font-size:13px}.editor-chat>summary{cursor:pointer;list-style:none;border:1px solid #ffffff30;border-radius:24px;background:#282933;padding:13px 20px;font-weight:650;box-shadow:0 8px 30px #0003}.editor-chat>summary::-webkit-details-marker{display:none}.editor-chat[open]>summary{display:none}.chat-window{width:370px;max-width:calc(100vw - 32px);border:1px solid #ffffff30;border-radius:18px;background:#252631;box-shadow:0 15px 55px #0005;overflow:hidden}.chat-window header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #ffffff18}.chat-window header button,.floor-style-panel header button{background:transparent;border:0;color:inherit;font-size:24px;cursor:pointer;min-width:36px;min-height:36px}.chat-transcript{height:300px;max-height:calc(100svh - 310px);overflow-y:auto;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px;box-sizing:border-box;scrollbar-width:thin}.chat-message{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;max-width:90%;padding:10px 12px;border-radius:14px;line-height:1.5;background:#373843}.chat-message.user{align-self:flex-end;background:#d9b796;color:#241a13}.chat-thinking{font-size:12px;color:#c2bac8;margin:0}#editor-chat-form{display:flex;align-items:flex-end;gap:8px;padding:12px;border-top:1px solid #ffffff18}#editor-chat-form textarea{flex:1;min-width:0;resize:none;line-height:1.5;min-height:48px;max-height:120px;padding:10px 12px;border-radius:12px;background:#1d1e27;color:#f4f0ed;border:1px solid #ffffff25;font:inherit}#editor-chat-form .chat-send{border:0;border-radius:50%;width:40px;min-width:40px;height:40px;background:#d9b796;color:#241a13;font-size:24px;cursor:pointer}#editor-chat-form .chat-send:disabled{opacity:.4;cursor:default}
.editor-tools:not([open]){display:none}.editor-tools[open]{bottom:18px;max-height:calc(100svh - 145px);z-index:18}.editor-tools>summary{position:sticky;top:0;background:#f8f5ef;padding:10px 0;z-index:1}.housing-tools-status:empty{display:none}
.studio-app .floor-style-panel{box-sizing:border-box;top:78px;max-width:300px;width:300px;padding:14px;max-height:calc(100% - 155px);overflow:auto}.floor-style-panel header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.floor-style-panel header small{font-size:11px;color:#c2bac8}.floor-style-panel h3{font-size:15px;margin:3px 0}.floor-finishes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:14px}.floor-finishes button{display:grid;gap:6px;border:1px solid #ffffff25;border-radius:9px;padding:6px;background:#30313e;color:#f4f0ed;font-size:10px;cursor:pointer}.floor-finishes button[aria-pressed=true]{border-color:#d9b796;box-shadow:0 0 0 1px #d9b796}.floor-sample{height:45px;border-radius:5px;background:var(--floor-color)}.floor-sample.wood-floor{background:repeating-linear-gradient(0deg,transparent 0 10px,#0002 10px 11px),repeating-linear-gradient(90deg,transparent 0 30px,#0001 30px 31px),var(--floor-color)}.floor-sample.tile{background:repeating-linear-gradient(0deg,transparent 0 20px,#0002 20px 21px),repeating-linear-gradient(90deg,transparent 0 20px,#0002 20px 21px),var(--floor-color)}.floor-style-panel label{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;margin:12px 0}.floor-style-panel label select{width:150px}.floor-colour input{width:55px;height:34px;padding:2px;border:1px solid #ffffff30;border-radius:6px;background:transparent}.floor-reset{background:transparent;color:#d2c7d4;border:0;text-decoration:underline;font-size:11px;cursor:pointer;padding:6px 0}
@media(max-width:700px){.editor-chat{right:10px;bottom:128px}.chat-window{width:350px;max-width:calc(100vw - 20px)}.chat-transcript{height:250px;max-height:calc(100svh - 370px)}.studio-app .floor-style-panel{width:280px;max-width:calc(100% - 28px);max-height:calc(100% - 160px);top:110px}.editor-tools[open]{bottom:128px;max-height:calc(100svh - 245px)}.three-toolbar .avatar-toggle{min-width:40px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
