:root{--paper:#fcf8f2;--cream:#f4eade;--almond:#ead6c5;--ink:#533b33;--muted:#876f63;--line:#e6d6c7;--coral:#cc806c;--coraldark:#b55f50;--white:#fffefa;--shadow:0 18px 46px #80624d16;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c9745f;outline-offset:2px}a{text-decoration:none;color:inherit}[hidden]{display:none!important}.site-header{height:85px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 clamp(15px,5vw,80px);background:#fffaf3;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-family:Georgia,serif;white-space:nowrap;letter-spacing:.11em;font-size:16px;font-weight:700}.brand>span:last-child{display:grid}.brand small{letter-spacing:0;font-family:ui-sans-serif,system-ui;font-size:10px;font-weight:500;color:var(--muted);margin-top:4px}.brand-icon{width:38px;height:38px;display:grid;place-items:center;font-family:Georgia,serif;background:#d98775;color:white;border-radius:10px;position:relative;font-size:28px}.brand-icon small{position:absolute;bottom:0;right:3px;color:white!important}.nav{display:flex;align-items:center;gap:28px}.nav-link{border:0;background:none;color:#94776b;padding:8px 0;font-size:13px}.nav-link.active{color:#9a5047;border-bottom:2px solid #c77768;font-weight:700}.btn{border:1px solid #dfc9b6;background:#fffaf4;color:#694c41;border-radius:13px;padding:11px 16px;font-size:13px;font-weight:650;transition:transform .16s,background .16s}.btn:hover{transform:translateY(-1px);background:#fbefdf}.btn.coral{background:var(--coral);border-color:var(--coral);color:white}.btn.coral:hover{background:var(--coraldark)}.btn.ghost{background:transparent}.btn.big{padding:15px 22px;font-size:15px}.btn.soft{background:#fff5e8}.btn.full{width:100%}.btn.mini{padding:8px 10px}.cluster{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.page{animation:appear .25s ease}@keyframes appear{from{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.eyebrow{display:block;font-size:11px;letter-spacing:.17em;color:#bd816b;font-weight:800}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:520px;background:linear-gradient(110deg,#faf2e7 0%,#f5e5d8 100%)}.hero-copy{padding:clamp(35px,7vw,92px) max(30px,calc((100vw - 1300px)/2));padding-right:30px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.hero h1,.section-head h1,.builder-heading h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.045em;line-height:1.07}.hero h1{font-size:clamp(42px,5.2vw,76px);margin:22px 0}.hero h1 em{font-weight:400;color:#c77967}.hero p{font-size:17px;line-height:1.8;color:#856d60;max-width:520px}.hero-actions{display:flex;gap:12px;margin:24px 0 35px;flex-wrap:wrap}.hero-foot{display:flex;flex-wrap:wrap;gap:19px;color:#a07a68;font-size:12px}.hero-visual{position:relative;min-height:430px;overflow:hidden;background:#ceb29e}.hero-visual img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:center}.hero-note{position:absolute;bottom:40px;left:35px;background:#fff9eeed;border:1px solid #fff9;border-radius:15px;box-shadow:var(--shadow);padding:18px 22px;display:grid;gap:6px;font-size:12px;color:#9b6f5a}.hero-note b{font-size:16px;color:#604136;font-family:Georgia,serif;font-weight:500}.features{max-width:1170px;margin:58px auto;padding:0 22px;display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.feature{background:white;border:1px solid #ebded1;border-radius:17px;padding:28px;box-shadow:0 10px 28px #8b655010}.feature-icon{display:grid;place-items:center;height:46px;width:46px;border-radius:14px;background:#faebdd;color:var(--coral);font-size:25px;margin-bottom:12px}.feature b{font-family:Georgia,serif;font-size:21px;font-weight:500}.feature p{line-height:1.65;font-size:13px;color:#967d70}.builder-heading{max-width:1640px;margin:auto;padding:25px 28px 16px;display:flex;align-items:end;justify-content:space-between;gap:14px}.builder-heading h1{margin:9px 0;font-size:clamp(29px,3vw,43px)}.builder-heading h1 span{color:#ce796e}.builder-heading p{color:#968173;margin:0;font-size:13px}.saved{font-size:11px;color:#8c9b74}.builder-shell{max-width:1640px;margin:8px auto 0;padding:0 24px;display:grid;grid-template-columns:minmax(0,1fr) 326px;gap:18px;align-items:stretch}.view-panel,.inspector{background:#fffdfa;border:1px solid #e9d9ca;border-radius:18px;overflow:hidden;box-shadow:var(--shadow);min-width:0}.view-toolbar{min-height:56px;background:#fff9f1;border-bottom:1px solid #ecddd0;padding:9px 12px;display:flex;justify-content:space-between;gap:9px;flex-wrap:wrap}.mode-tabs,.toolbar-actions{display:flex;align-items:center;gap:5px}.mode{border:0;border-radius:9px;background:transparent;padding:9px 15px;color:#997f72;font-weight:700;font-size:12px}.mode.active{background:#eed9cb;color:#9a5749}.toolbar-actions button{border:0;background:#f7ede2;color:#9e7668;border-radius:8px;width:30px;height:30px}.toolbar-actions #zoomLevel{font-size:11px;min-width:40px;text-align:center;color:#9c7d6f}.plan-stage{position:relative;height:min(58vh,650px);min-height:370px;background:#faf6ef;overflow:hidden;touch-action:none}#planSvg{display:block;width:100%;height:100%;touch-action:none;user-select:none}.room-shape{cursor:grab;stroke:#b18874;stroke-width:3;vector-effect:non-scaling-stroke}.room-group.active .room-shape{stroke:#c36f59;stroke-width:5}.room-text{pointer-events:none;text-anchor:middle;dominant-baseline:middle;font:bold 14px ui-sans-serif,system-ui;fill:#5e483e}.room-dim{font:12px ui-sans-serif,system-ui;fill:#967b6e;pointer-events:none;text-anchor:middle}.room-handle{cursor:nwse-resize;fill:#fff9f0;stroke:#cb7d67;stroke-width:2.5}.object-shape{cursor:grab;stroke:#a67661;stroke-width:1.5}.object-group.active .object-shape{stroke:#c1634c;stroke-width:3}.object-icon{pointer-events:none;text-anchor:middle;dominant-baseline:middle;font:20px ui-sans-serif,system-ui}.door-mark,.window-mark{stroke-linecap:round;fill:none;stroke-width:12;pointer-events:stroke;cursor:pointer}.door-mark{stroke:#9d6a4d}.window-mark{stroke:#4d9db7}.preview-room{fill:#ddb49b75;stroke:#c77966;stroke-width:2;stroke-dasharray:8 5}.preview-room.invalid{stroke:#d33;fill:#eaa4a480}.stage-tip{position:absolute;bottom:17px;left:16px;max-width:60%;pointer-events:none;background:#fffaf1e8;padding:10px 15px;border:1px solid #f2e0cd;border-radius:999px;font-size:11px;color:#956b5b;box-shadow:0 4px 12px #8c67530c}.scale-note{position:absolute;bottom:22px;right:16px;font-size:10px;color:#b19885}.three-stage{height:min(58vh,650px);min-height:370px;position:relative;background:#eee9dd;overflow:hidden}#sceneCanvas{width:100%;height:100%;display:block;touch-action:none}.scene-controls{position:absolute;left:14px;bottom:13px;display:flex;gap:5px;flex-wrap:wrap}.scene-controls button,.walk-controls button{border:1px solid #ead1be;background:#fffcf3e9;color:#835d4d;border-radius:8px;padding:9px;font-size:11px}.walk-controls{position:absolute;right:18px;bottom:15px;display:grid;justify-items:center;gap:2px}.walk-controls button{min-width:40px;min-height:38px;font-size:18px;touch-action:none}.walk-controls small{background:#fff9eeef;padding:5px 9px;border-radius:8px;font-size:10px;color:#8c6d5d}.under-stage{background:#fffcf6;padding:10px 13px;display:grid;gap:12px}.tool-strip{display:flex;gap:5px;flex-wrap:wrap}.tool{padding:9px 12px;border:1px solid transparent;border-radius:9px;background:#f7efe7;color:#97776b;font-size:12px}.tool.active{background:#e9d0bf;color:#99513d;border-color:#d5a78d}.light-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.light-strip label{font-size:12px;display:flex;gap:7px}.light-strip input{accent-color:#c97a66;flex:1;min-width:70px;max-width:260px}.light-strip .btn{padding:8px 11px;font-size:11px}.inspector{display:flex;flex-direction:column;min-height:555px}.inspector-tabs{display:flex;gap:0;border-bottom:1px solid #ecddcf;background:#fff8f0}.side-tab{flex:1;border:0;background:transparent;padding:17px 8px;font-size:12px;color:#9a7d70}.side-tab.active{color:#ad604e;font-weight:800;box-shadow:inset 0 -3px #d28d79}.side-page{padding:18px;flex:1;max-height:700px;overflow:auto}.side-page h2{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:0 0 8px}.side-page p{color:#998073;font-size:12px;line-height:1.55}.catalog-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:17px 0 16px}.catalog-tab{font-size:11px;border-radius:8px;border:1px solid #ead9c9;padding:8px 2px;background:#fff9f1;color:#896e5f}.catalog-tab.active{background:#dcae96;color:#573e33;font-weight:700}.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.catalog-item{min-height:112px;background:#fbf2e8;border:1px solid #f0dfd0;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px;text-align:center;color:#6b4b3c}.catalog-item:hover,.catalog-item.chosen{border:2px solid #c77a67;background:#f8e4d5}.catalog-item .emoji{font-size:30px}.catalog-item b{font-size:11px}.catalog-item small{font-size:10px;color:#a48476}.aside-footer{padding:12px 16px;border-top:1px solid #eadbcd;display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:6px;color:#ad8975;font-size:10px}.plain-link{border:0;background:transparent;color:#ad6553;text-decoration:underline;font-size:11px}.footnote{max-width:1640px;margin:12px auto 40px;padding:0 24px;color:#9c8576;font-size:11px}.room-list{display:grid;gap:8px;margin:15px 0}.room-item{border:1px solid #ebdacb;background:#fff8ee;padding:13px;border-radius:10px;text-align:left;color:#694c3d;display:flex;justify-content:space-between;gap:4px}.room-item.active{border-color:#cd927b;background:#fae9dc}.field{margin:12px 0;display:grid;gap:5px}.field label{font-size:11px;font-weight:700;color:#886d60}.field input,.field select{width:100%;padding:9px 10px;background:#fffbf5;border:1px solid #e5cbbc;color:#694b3d;border-radius:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin:12px 0}.swatch{width:32px;height:32px;border-radius:8px;border:2px solid white;box-shadow:0 0 0 1px #dcc8bb}.swatch.active{outline:2px solid #ac604c}.color-wheel{width:165px;height:165px;border-radius:50%;background:conic-gradient(red,yellow,lime,cyan,blue,magenta,red);position:relative;margin:10px auto;border:7px solid white;box-shadow:0 4px 18px #b88a7040;cursor:crosshair}.color-wheel:after{content:"";position:absolute;inset:15%;border-radius:50%;background:radial-gradient(circle at 45% 55%,#fff8,#fff0 80%);pointer-events:none}.shade-row{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin:9px 0}.shade{height:29px;border:1px solid #ebcfbb;border-radius:7px}.side-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.side-actions .btn{flex:1;padding:8px}.tiny-muted{color:#af9586!important}.inspector hr{border:0;border-top:1px solid #ead5c5;margin:17px 0}.catalog-hint{margin-top:17px}.section-head{text-align:center;max-width:780px;margin:50px auto 30px;padding:0 20px}.section-head h1{font-size:clamp(35px,4vw,54px);margin:12px 0}.section-head p{color:#997d70;line-height:1.7}.inspiration-grid{max-width:1160px;margin:0 auto 80px;padding:0 20px;display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.inspo-card,.inspo-ideas article{background:#fff8ee;border:1px solid var(--line);border-radius:17px;overflow:hidden;box-shadow:var(--shadow)}.main-inspo img{height:340px;width:100%;object-fit:cover}.main-inspo>div{padding:25px}.main-inspo h2{font-family:Georgia,serif;font-weight:400;font-size:29px}.main-inspo p{color:#8e7264}.inspo-ideas{display:grid;gap:12px}.inspo-ideas article{padding:20px}.inspo-ideas h3{font-family:Georgia,serif;font-size:22px;font-weight:500;margin:4px 0}.inspo-ideas p{color:#978174;line-height:1.5;font-size:13px}.inspo-emoji{font-size:26px}.release-card{max-width:790px;margin:0 auto 95px;padding:28px;background:#fffaf3;border:1px solid #e8d7c7;border-radius:17px}.release-card h2{font-family:Georgia,serif;font-size:27px;font-weight:400}.pill{font-size:11px;background:#f0dece;padding:6px 12px;border-radius:20px;color:#a36551}.release-card li{line-height:1.9;color:#886f61}.release-footer{font-size:12px;color:#b08c78;border-top:1px solid #e8d7c7;padding-top:15px}.footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:15px;padding:24px 5vw;background:#f1e2d2;color:#987665;font-size:11px}.footer>span:first-child{font-family:Georgia,serif;font-size:13px;letter-spacing:.12em}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#704d3f;color:#fff9ec;padding:13px 20px;border-radius:11px;box-shadow:0 8px 24px #4e302540;z-index:20;font-size:13px;max-width:calc(100vw - 30px)}.update-banner{position:sticky;top:0;z-index:100;background:#69473c;color:#fff8ec;padding:12px max(20px,5vw);display:flex;align-items:center;justify-content:space-between;gap:18px}.update-banner p{font-size:12px;margin:4px 0 0}.update-banner .btn{color:#69473c}.update-banner .btn.coral{color:#fff}.icon-button{background:transparent;color:white;border:0;font-size:23px}.advanced-note{margin:10px 0;color:#987565;font-size:12px}.view-note{padding:11px;margin:8px 0;border-radius:9px;background:#f9ecde;color:#926957;font-size:12px}input[type=range]{accent-color:#c87a69}@media(max-width:1050px){.nav{gap:10px}.hero-copy{padding:45px 25px}.builder-shell{grid-template-columns:minmax(0,1fr) 290px;padding:0 12px}.builder-heading{padding:21px 16px}.features{margin:28px auto}.stage-tip{max-width:65%}}@media(max-width:790px){.site-header{height:auto;min-height:72px;padding:12px 15px;flex-wrap:wrap}.nav{order:3;width:100%;justify-content:center;gap:20px;border-top:1px solid #e9d9ca;padding-top:8px}.nav-link{font-size:12px}.top-cta{font-size:11px}.hero{grid-template-columns:1fr}.hero-copy{padding:40px 25px}.hero-visual{min-height:300px}.features{grid-template-columns:1fr}.builder-heading{align-items:start;flex-direction:column}.builder-shell{grid-template-columns:1fr}.plan-stage,.three-stage{height:50vh;min-height:345px}.inspector{min-height:300px}.side-page{max-height:unset}.catalog-grid{grid-template-columns:repeat(3,1fr)}.inspiration-grid{grid-template-columns:1fr}.inspo-ideas{grid-template-columns:repeat(3,1fr)}.inspo-ideas article{padding:12px}.stage-tip{font-size:10px}.footer>span:last-child{display:none}}@media(max-width:470px){.brand{font-size:13px}.brand-icon{width:31px;height:31px}.nav{gap:12px}.top-cta{padding:10px}.hero h1{font-size:45px}.hero-actions{gap:7px}.builder-heading h1{font-size:29px}.mode{padding:10px 9px}.plan-stage,.three-stage{min-height:315px}.tool{padding:8px;font-size:11px}.catalog-grid{grid-template-columns:repeat(2,1fr)}.inspo-ideas{grid-template-columns:1fr}.light-strip .btn{padding:7px}.walk-controls{right:8px}.walk-controls small{max-width:130px;text-align:center}.scale-note{display:none}}

/* Build by Heart furniture browser: wide dark three-column galleries, modeled item previews. */
.catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.catalog-item{min-height:194px;padding:9px 7px 12px;background:#fbf8f3;border:1px solid #e7d8ca;justify-content:flex-start;gap:5px;box-shadow:0 5px 14px #563a2610}
.catalog-item:hover,.catalog-item.chosen{border-color:#be8069;background:#fff7ef}
.catalog-preview{height:116px;width:100%;display:grid;place-items:center;background:linear-gradient(170deg,#f6f0e9,#e9e0d6);border-radius:10px}
.catalog-preview canvas{height:112px;max-width:100%;width:140px;object-fit:contain}
.catalog-item b{font-size:12px;color:#684c3d;line-height:1.3}
.catalog-item small{font-size:10px;line-height:1.2}
.catalog-explore{color:#ae715a;font-size:10px;margin-top:auto;font-weight:700}
.catalog-open{overflow:hidden}
.catalog-backdrop{position:fixed;inset:0;background:#080806ba;z-index:200;display:flex;align-items:center;justify-content:center;padding:16px;animation:appear .18s ease}
.catalog-sheet{background:radial-gradient(ellipse 78% 53% at 50% 112%,#403527 0%,#28282a 72%);color:#f7f4ed;border:1px solid #535252;border-radius:38px;width:min(850px,100%);height:min(92dvh,920px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 100px #0008;position:relative}
.catalog-handle{background:#777677;position:absolute;top:11px;left:50%;transform:translateX(-50%);height:5px;width:62px;border-radius:9px}
.catalog-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:30px 25px 15px;gap:16px;flex:0 0 auto}
.catalog-sheet-center{text-align:center;min-width:0}
.catalog-sheet h2{font:650 clamp(19px,3vw,27px)/1.18 ui-sans-serif,system-ui;margin:0;color:#f8f6f2;letter-spacing:-.018em}
.catalog-sheet-center small{display:block;margin-top:7px;font-size:11px;color:#d1cbc5}
.catalog-round{background:#212124;border:0;border-radius:50%;color:#d7d7d7;width:52px;height:52px;font-size:39px;font-weight:300;display:grid;place-items:center;line-height:1;flex-shrink:0}
.catalog-round:hover{background:#454548}
.catalog-variants{padding:15px 20px 30px;overflow-y:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 11px;align-content:start;flex:1 1 auto}
.variant-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;background:transparent;border:1px solid transparent;border-radius:16px;min-width:0;min-height:210px;padding:8px 4px 12px;color:#ece9e4;transition:background .15s,transform .15s}
.variant-item:hover,.variant-item:focus-visible{background:#fefefe19;border-color:#ffffff45;transform:translateY(-2px)}
.variant-item canvas{max-width:100%;height:auto;aspect-ratio:190/165;object-fit:contain;width:190px;filter:drop-shadow(0 12px 5px #0005)}
.variant-item>span{font-size:12px;font-weight:600;color:#f4f2ef;line-height:1.2;text-align:center}
.catalog-sheet-bottom{padding:14px 24px;color:#d2cac3;border-top:1px solid #ffffff20;text-align:center;font-size:12px;margin:0}
@media(max-width:790px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-backdrop{padding:0;align-items:flex-end}.catalog-sheet{width:100%;height:91dvh;max-height:unset;border-radius:42px 42px 0 0}.catalog-sheet-head{padding:35px 17px 14px}.catalog-variants{padding:6px 7px 20px;gap:5px}.variant-item{min-height:155px;padding:4px 1px 10px}.variant-item>span{font-size:10px}.catalog-round{height:45px;width:45px;font-size:34px}.catalog-sheet-bottom{font-size:10px;padding:11px}}
@media(max-width:470px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-item{min-height:166px}.catalog-preview{height:97px}.catalog-preview canvas{height:95px}.catalog-variants{grid-template-columns:repeat(3,minmax(0,1fr))}.variant-item{min-height:135px}.catalog-sheet h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.catalog-backdrop,.variant-item{animation:none;transition:none}}

/* Genuine 3D furniture discovery gallery, separate from primitive preview shapes. */
.real-vs-basic{display:flex;gap:7px;margin:12px 0 15px;padding:4px;background:#eee8df;border-radius:13px}
.real-vs-basic button{flex:1;min-height:40px;border:0;border-radius:10px;font-weight:800;background:transparent;color:#6d6d65;font-size:12px;cursor:pointer}
.real-vs-basic button.active{background:#354c40;color:#fff;box-shadow:0 2px 6px #1b392c16}
.real-intro,.real-note{font-size:12px;line-height:1.6;color:#5c655f}
.real-intro{margin:6px 0 12px}.license-pill{display:inline-block;border-radius:12px;background:#ddefd9;color:#3b6c48;font-size:10px;padding:3px 8px;margin-left:4px;font-weight:800}
#realFurnitureSearch{width:100%;padding:12px;border-radius:12px;border:1px solid #d5cabe;background:white;color:#29382f;font:inherit;min-width:0}
.real-filters{display:flex;gap:6px;overflow-x:auto;padding:12px 0;scrollbar-width:thin}
.real-filters button{white-space:nowrap;padding:7px 10px;border-radius:30px;border:1px solid #d4cbbb;background:#fffdfa;color:#555c54;cursor:pointer;font-size:11px}
.real-filters button.active{color:white;background:#3c5849;border-color:#3c5849}
.real-furniture-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.real-item{background:#212526;color:white;border-radius:15px;padding:7px;min-width:0;overflow:hidden;box-shadow:0 4px 12px #181a2111}
.real-item-visual{display:flex;justify-content:center;align-items:center;aspect-ratio:1.1;background:#303335;border-radius:10px;overflow:hidden}
.real-item-visual img{width:100%;height:100%;object-fit:contain;display:block}
.real-item-body{padding:9px 5px 5px}.real-item strong{display:block;line-height:1.25;font-size:12px;font-weight:800;min-height:30px}.real-item small{display:block;color:#b1bdb4;margin-top:5px;font-size:10px}
.real-item a{display:block;border-radius:8px;background:#e5d2b7;color:#23352b;margin-top:9px;padding:9px 4px;text-align:center;text-decoration:none;font-size:11px;font-weight:800}
.real-item .new2026{display:inline-flex;color:#ebcda4;font-size:10px;margin:5px 0 0}.real-note{background:#f5efe4;padding:12px;border-radius:11px;margin:15px 0 10px}.real-note a{color:#486e55}.real-credit{font-size:10px;color:#69766c;display:block;margin-bottom:12px}.real-credit a{color:#476b50}
.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
@media(min-width:1250px){.real-furniture-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Match the three-across catalog composition in the owner's reference screenshots. */
@media(min-width:320px){.real-furniture-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.real-item{border-radius:12px;padding:4px}.real-item-body{padding:5px 3px}.real-item strong{font-size:10px;min-height:26px}.real-item small{font-size:9px}.real-item a{font-size:9px;padding:7px 2px}}

.real-three-button{cursor:pointer;border:1px solid #a6baa6;border-radius:8px;background:#486858;color:white;width:100%;font-size:10px;padding:9px 4px;margin-top:8px;font-weight:800}.real-three-button:hover{background:#668878}
.real-model-overlay{position:fixed;inset:0;background:#000b;display:grid;place-items:center;z-index:9995;padding:12px}.real-model-overlay[hidden]{display:none}.real-model-modal{width:min(680px,96vw);background:#222826;border-radius:23px;padding:20px;color:white;box-shadow:0 20px 80px #0006}.real-model-top{display:flex;justify-content:space-between;align-items:start}.real-model-top small{font-size:11px;letter-spacing:.16em;color:#c6dfc1}.real-model-top h2{font:500 26px Georgia,serif;margin:6px 0 14px}.real-model-top button{background:#3c4741;border:0;border-radius:50%;font-size:28px;color:white;width:42px;height:42px;cursor:pointer}.real-model-viewport{height:min(62vh,550px);background:radial-gradient(circle at 50% 50%,#637568,#202824 70%);border-radius:15px;display:grid;place-items:center}.real-model-viewport model-viewer{width:100%;height:100%}.real-model-modal p{font-size:12px;line-height:1.5;color:#cad4c9}.real-model-modal a{color:#ffe1a6}

/* Texture-preserving room placement: transparent WebGL layer over the house. */
.real-layer-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:2;display:block;touch-action:none;cursor:grab;}
.real-layer-canvas:active{cursor:grabbing;}
.real-scene-status{position:absolute;top:14px;left:14px;right:14px;z-index:6;border-radius:11px;background:#e7f0e9ed;color:#245442;font-size:12px;line-height:1.4;padding:9px 12px;pointer-events:none;box-shadow:0 2px 10px #0002;}
.real-scene-status.error{background:#fff3e4ee;color:#934b35;}
.real-stage-tip{background:#fff9ede8;color:#6b5044;padding:8px;border-radius:8px;font-size:10px;max-width:260px;}
.scene-controls,.walk-controls{z-index:5;pointer-events:none;}
.scene-controls button,.walk-controls button{pointer-events:auto;}
.place-real-button{border:0;color:#fff;background:#b46d58;font-size:10px;font-weight:800;padding:10px 4px;border-radius:8px;width:100%;margin-top:8px;cursor:pointer;}
.place-real-button:hover{background:#93543f;}
.real-pending{display:block;font-size:9px;color:#dfd1b5;padding:7px 3px;}
.item-rotate-actions{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0 15px;}
.item-rotate-actions .btn{flex:1;min-width:70px;padding:8px 4px;}
.real-edit-note{font-size:12px;color:#608070;background:#e9f3e7;padding:9px;border-radius:8px;}
@media(max-width:600px){.real-stage-tip{max-width:100%;font-size:9px;padding:6px}.scene-controls{bottom:5px;left:5px;right:5px}.scene-controls button{padding:7px 5px}}

/* Lighting Lab: opt-in advanced controls that do not obscure room planning. */
.lighting-lab{margin:4px 12px 11px;border:1px solid #e6d1b7;border-radius:13px;background:#fff9f0;color:#705a4b;overflow:hidden}
.lighting-lab>summary{cursor:pointer;list-style:none;padding:13px 16px;font-weight:750;display:flex;gap:10px;align-items:center;justify-content:space-between;min-height:44px}
.lighting-lab>summary::-webkit-details-marker{display:none}.lighting-lab>summary span{font-weight:400;font-size:11px;color:#967b67}.lighting-lab-inner{border-top:1px solid #ead9c5;padding:13px 16px 16px}
.lighting-lab-inner>p,.lighting-lab-inner>small{font-size:12px;color:#907668;line-height:1.5}.lighting-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:12px 0}
.lighting-presets button{border:1px solid #dec7ad;border-radius:9px;background:#fffdf8;color:#694d40;padding:10px 5px;min-height:44px;font-size:12px;cursor:pointer}.lighting-presets button:hover,.lighting-presets button:focus-visible{background:#f7e9d8}
.lighting-level-label{display:flex;justify-content:space-between;gap:8px;font-size:12px;font-weight:650;margin:13px 0 6px}.lighting-lab-inner>input[type=range]{display:block;width:100%}.room-light-list{display:grid;gap:8px;margin:12px 0}.lighting-room{display:grid;gap:7px;padding:11px;background:#f6ede2;border-radius:10px}.lighting-room>strong{font-size:12px}.lighting-fixture{display:grid;grid-template-columns:22px minmax(90px,1fr) minmax(100px,160px);gap:8px;align-items:center;font-size:12px}.lighting-fixture input[type=range]{width:100%}.lighting-fixture input[type=checkbox]{width:18px;height:18px;accent-color:#bf765f}
@media(max-width:600px){.lighting-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.lighting-lab>summary span{font-size:10px}.lighting-fixture{grid-template-columns:22px minmax(70px,1fr) 90px}}

/* Structural wall controls. Compact on phones and consistent with room editing. */
.wall-settings{padding:14px 12px;margin:14px 0;border:1px solid #dac7b4;border-radius:15px;background:linear-gradient(145deg,#fff9f1,#f7efe6)}
.wall-settings h3{margin:0 0 5px;font-size:1.04rem;color:#684938}
.wall-settings-help{font-size:.84rem;line-height:1.5;color:#816d5e;margin:0 0 12px}
.wall-settings .field{min-width:0}
.wall-settings .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.wall-settings .full{margin-top:8px;width:100%}
@media(max-width:390px){.wall-settings .form-grid{grid-template-columns:1fr}}

/* Step 2 architectural openings and door interaction. */
.opening-settings{padding:12px 10px 14px;margin:10px 0 15px;background:#fff8f1;border:1px solid #decbb8;border-radius:15px}
.opening-settings .field label{font-size:12px}
.opening-label{font-size:13px;font-weight:700;fill:#5d4a42;stroke:#fffaf2;stroke-width:2px;paint-order:stroke;pointer-events:none;text-anchor:middle}
.walk-door-button{border:1px solid #e6c4a4;border-radius:12px;color:#4e372e;background:#f9e7d0;min-height:44px;padding:9px 14px;font-size:14px;font-weight:700;cursor:pointer}
.walk-door-button:focus-visible{outline:3px solid #c87659}

.surface-settings{padding:13px;border:1px solid #dfcebb;background:#fff7ed;border-radius:12px;margin:16px 0}.surface-settings h3{font-size:17px;color:#775340;margin:4px 0 10px}.surface-settings .btn{margin-top:10px}.floor-plan-label{pointer-events:none;text-anchor:middle;font:10px ui-sans-serif,system-ui;fill:#96786a;font-style:italic}

/* Step 4: comfortable mobile-first walk controls and unobtrusive room status. */
.walk-controls{left:12px;right:12px;bottom:10px;display:flex;flex-direction:column;gap:8px;pointer-events:none;align-items:center;z-index:8}
.walk-controls>*{pointer-events:auto}
.walk-controls .walk-toolbar{align-self:stretch;display:flex;gap:9px;flex-wrap:wrap;align-items:center;justify-content:center;background:#fff9f1e9;border:1px solid #e8d1c2;border-radius:13px;padding:7px 9px;font-size:12px;box-shadow:0 4px 20px #30201a22}
.walk-toolbar #walkRoom{font-weight:800;color:#76523f;min-width:140px}
.walk-toolbar label{font-size:11px;display:flex;align-items:center;gap:4px}
.walk-toolbar input{width:100px;max-width:24vw;accent-color:#c67960}
.walk-toolbar button{font-size:12px;min-height:36px;padding:5px 12px}
.walk-action-row{display:flex;align-items:end;gap:14px;justify-content:center;flex-wrap:wrap}
.walk-pad,.walk-look-pad{display:flex;align-items:center;flex-direction:column;gap:5px;background:#fffaf1ca;border:1px solid #f1dfce;border-radius:14px;padding:7px}
.walk-pad>div,.walk-look-pad>div{display:flex;gap:5px}
.walk-controls button[data-walk]{min-height:44px;min-width:48px;font-size:20px;font-weight:700;touch-action:none;user-select:none;box-shadow:0 1px 2px #5b32271a}
.walk-controls button[data-walk="lookUp"],.walk-controls button[data-walk="lookDown"]{font-size:12px}
.walk-controls button[data-walk].pressed{background:#e9bb9e;color:#683f2e;transform:scale(.98)}
.walk-controls .walk-door-button{min-height:50px;font-size:13px;padding:9px 12px;background:#fffaf1f2}
.walk-controls>small{font-size:10px;color:#705647;text-align:center;background:#fffaf1ed;max-width:740px}
@media(max-width:570px){.walk-controls{left:6px;right:6px;bottom:6px;gap:4px}.walk-controls .walk-toolbar{padding:5px;font-size:11px;gap:5px}.walk-toolbar #walkRoom{min-width:100px}.walk-toolbar input{width:68px}.walk-controls button[data-walk]{min-width:43px;min-height:42px}.walk-action-row{gap:4px}.walk-pad,.walk-look-pad{gap:3px;padding:4px}.walk-controls .walk-door-button{min-height:44px;padding:5px 8px}.walk-controls>small{font-size:9px}.three-stage:has(#walkControls:not([hidden])){min-height:470px;height:min(73vh,720px)}}
/* Step 5: keep scene controls accessible above the single WebGL viewport. */
.scene-controls{z-index:7;pointer-events:none}.scene-controls button{pointer-events:auto}

.unified-badge{position:absolute;top:10px;right:12px;z-index:6;background:#273c3de0;border:1px solid #92b8a8;color:#effdef;border-radius:999px;padding:6px 10px;font-size:11px;letter-spacing:.02em;pointer-events:none}.unified-badge[hidden]{display:none}


/* Step 6: personal House Library */
.house-library-shell{max-width:1390px;margin:0 auto;padding:48px clamp(16px,5vw,70px) 86px}
.house-library-head{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;flex-wrap:wrap;margin-bottom:25px}
.house-library-head h1{font:normal clamp(34px,4vw,53px) Georgia,serif;color:#5a4036;margin:12px 0}
.house-library-head h1 span{color:#d18c7b}
.house-library-head p{font-size:15px;line-height:1.6;color:#937a6d;max-width:610px}
.house-count{display:inline-block;font-size:12px;color:#966a55;font-weight:700;margin-top:9px}
.house-library-controls{display:flex;gap:9px;flex-wrap:wrap;max-width:450px}
.house-library-controls .btn{font-size:13px;min-height:44px}
.house-backup-note{font-size:13px;line-height:1.55;color:#815e50;background:#fff4e8;border:1px solid #efd9c7;padding:15px 19px;border-radius:13px;margin:22px 0}
.house-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px}
.house-card{min-width:0;background:#fffbf5;border:1px solid #ead9c8;border-radius:17px;overflow:hidden;box-shadow:0 4px 17px #6f493b16}
.house-card.current{outline:2px solid #c67868;outline-offset:0}
.house-preview{display:block;width:100%;height:204px;object-fit:cover;background:#f7f0e5;border-bottom:1px solid #ead9c8}
.house-card-content{padding:20px}
.house-card h2{font:normal 26px Georgia,serif;color:#664839;margin:8px 0;overflow-wrap:anywhere}
.house-card-content p{font-size:12px;color:#977b6c;margin:0 0 18px}
.house-status{color:#bc735f;font-size:11px;letter-spacing:.02em;font-weight:700}
.house-actions{display:flex;flex-wrap:wrap;gap:8px}
.house-action{min-height:38px;border:1px solid #dec9b7;background:#f8eee3;color:#7f5948;border-radius:8px;padding:7px 11px;font-size:12px;cursor:pointer}
.house-action.main{background:#c87965;color:#fffdf8;border-color:#b96a56;font-weight:700}
.house-action.danger{background:#fff6f3;color:#a8584b}
.house-action:focus-visible{outline:3px solid #aa735a;outline-offset:2px}
@media(max-width:650px){.house-library-shell{padding:24px 15px 70px}.house-library-head{gap:14px}.house-library-controls{width:100%}.house-library-controls .btn{flex:1;min-width:130px}.house-card-content{padding:16px}.house-preview{height:185px}}

.active-house-name{font-size:12px!important;margin:5px 0 0!important;color:#ab7764!important;font-weight:700;letter-spacing:.025em}

/* Heartlight Walk: Build by Heart's signature storytelling experience */
.heartlight-nav{color:#a46f9d!important;font-weight:700}
.heartlight-page{background:#241e39;color:#fff8ed;min-height:75vh}
.heartlight-shell{max-width:1400px;margin:auto;padding:38px clamp(15px,4vw,60px) 80px}
.heartlight-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 2px 32px;position:relative}
.heartlight-eyebrow{font-size:10px;letter-spacing:.24em;color:#efc3ae;font-weight:800}
.heartlight-header h1{font:400 clamp(36px,5.5vw,73px)/1.05 Georgia,serif;letter-spacing:-.04em;margin:13px 0 18px;color:#fff4ed}
.heartlight-header h1 em{font-weight:400;color:#e8b9c6}
.heartlight-header p{max-width:680px;color:#d8cada;line-height:1.65;font-size:14px}
.heartlight-home-chip{display:inline-flex;max-width:100%;gap:6px;align-items:center;color:#f4d7c9;background:#ffffff12;padding:9px 15px;border:1px solid #ffffff27;border-radius:30px;font-size:12px;margin-top:13px;flex-wrap:wrap}
.heartlight-hero-stars{position:relative;width:240px;height:150px;flex:none;color:#ffdab6;opacity:.85}
.heartlight-hero-stars span{position:absolute;font-size:38px;text-shadow:0 0 20px #e4b9c8;animation:heartlight-pulse 3.5s ease-in-out infinite alternate}
.heartlight-hero-stars span:nth-child(1){left:10%;top:15%}.heartlight-hero-stars span:nth-child(2){left:48%;top:30%;animation-delay:.7s}.heartlight-hero-stars span:nth-child(3){left:85%;top:10%;animation-delay:1.4s}.heartlight-hero-stars span:nth-child(4){left:65%;top:75%;font-size:19px;animation-delay:2s}.heartlight-hero-stars span:nth-child(5){left:20%;top:80%;font-size:19px;animation-delay:.4s}
@keyframes heartlight-pulse{from{opacity:.35;transform:scale(.88)}to{opacity:1;transform:scale(1.12)}}
.heartlight-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(295px,.9fr);gap:19px;align-items:start}
.heartlight-map-card,.heartlight-side{border-radius:23px;border:1px solid #c5b1d02e;background:linear-gradient(150deg,#39304c,#2b253f);overflow:hidden;box-shadow:0 16px 35px #100d2330}
.heartlight-section-title{display:flex;justify-content:space-between;align-items:baseline;gap:15px;flex-wrap:wrap;padding:26px 25px 0}
.heartlight-section-title h2,.heartlight-side h2{font:400 24px Georgia,serif;margin:0;color:#fff4ec}
.heartlight-section-title small{font-size:12px;color:#c9b7cf}
#heartlightMap{display:block;width:100%;height:auto;max-height:530px;margin:auto;overflow:visible}
#heartlightMap [role="button"]:focus{outline:none;filter:drop-shadow(0 0 8px #ffe4b7)}
.heartlight-map-footer{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:20px 25px 25px;flex-wrap:wrap;color:#eaccc7;font-size:12px}
.heartlight-primary{cursor:pointer;min-height:44px;border:0;border-radius:12px;background:#f0bd9f;color:#473349;font-weight:750;font-size:13px;padding:12px 18px}
.heartlight-primary:hover,.heartlight-primary:focus-visible{background:#ffdfbd;outline:2px solid #fff4dc;outline-offset:2px}
.heartlight-primary:disabled{opacity:.5;cursor:not-allowed}
.heartlight-side{padding:23px}
.heartlight-side-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.heartlight-side-heading span{color:#ffd9b3;font-size:20px}
.heartlight-room-list{display:grid;gap:8px;max-height:300px;overflow:auto;padding-right:3px;margin-bottom:19px}
.heartlight-room-card{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:12px;border-radius:12px;background:#fff9ef0c;border:1px solid #d4b7db30;color:#fdf1e6;cursor:pointer;min-height:61px}
.heartlight-room-card.current{background:#ebbaa222;border-color:#efc0aeaa}.heartlight-card-star{color:#f5caab;font-size:20px}.heartlight-card-info{flex:1;min-width:0;display:grid;gap:3px}.heartlight-card-info strong{font:400 18px Georgia,serif}.heartlight-card-info small{color:#c7b5c9;font-size:11px}.heartlight-card-arrow{color:#cfb3c7}
.heartlight-editor{border-top:1px solid #e7cee131;padding-top:20px;display:grid;gap:9px}
.heartlight-editor h3{font:400 27px Georgia,serif;margin:1px 0 12px;color:#fff2e4}
.heartlight-editor label{font-size:12px;font-weight:700;color:#f0d7d0}
.heartlight-editor select,.heartlight-editor textarea{width:100%;font-size:16px;border:1px solid #d9bfd555;border-radius:10px;padding:11px 12px;background:#fff9f1;color:#473349;font-family:inherit}
.heartlight-editor textarea{resize:vertical;line-height:1.5;min-height:90px}.heartlight-editor small{text-align:right;font-size:10px;color:#bfb0cc}
.heartlight-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap;margin-top:22px;color:#d7c3d7;font-size:12px}.heartlight-bottom>div{display:flex;gap:8px;flex-wrap:wrap}
.heartlight-empty{line-height:1.6;font-size:14px;color:#e9d7e0}
/* Guided story floats over the 3D Walk view; Walk controls remain usable. */
.heartlight-tour{position:fixed;z-index:40;left:16px;top:auto;bottom:15px;width:min(440px,calc(100vw - 32px));pointer-events:none}
.heartlight-tour-inner{pointer-events:auto;border:1px solid #f2dbcf45;border-radius:20px;background:linear-gradient(142deg,#302440f5,#3a2f4af8);color:#fff1e7;box-shadow:0 18px 55px #191121b5;padding:18px 19px 16px;backdrop-filter:blur(14px)}
.heartlight-tour-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#f0bd9f;letter-spacing:.18em;font-size:10px;font-weight:800}.heartlight-tour-top button{background:transparent;border:1px solid #ffffff4d;color:white;width:36px;height:36px;border-radius:10px;font-size:23px;cursor:pointer}
.heartlight-tour-progress{height:4px;margin:12px 0 15px;background:#ffffff25;border-radius:99px;overflow:hidden}.heartlight-tour-progress i{display:block;height:100%;background:var(--heartlight-current,#f0bd9f);width:0;transition:width .3s ease}
.heartlight-tour-kicker{color:var(--heartlight-current,#f0bd9f);font-size:10px;letter-spacing:.2em;font-weight:800}.heartlight-tour h2{font:400 29px Georgia,serif;margin:8px 0;color:#fff4e8}.heartlight-tour-body>p{font-size:12px;color:#d6becf;margin:0}.heartlight-tour blockquote{font:italic 18px/1.5 Georgia,serif;margin:15px 0 19px;overflow-wrap:anywhere;color:#f7e7de}
.heartlight-tour-actions{display:flex;gap:7px;flex-wrap:wrap}.heartlight-tour-actions button{cursor:pointer;border:1px solid #ffffff38;border-radius:10px;background:#ffffff13;color:#fff5ee;padding:10px 13px;min-height:43px;font-size:12px}.heartlight-tour-actions .heartlight-tour-next{flex:1;background:#f0bd9f;color:#3f3045;border:0;font-weight:800}.heartlight-tour-actions button:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:900px){.heartlight-layout{grid-template-columns:minmax(0,1fr)}.heartlight-hero-stars{width:120px}}
@media(max-width:580px){.heartlight-shell{padding:22px 13px 80px}.heartlight-hero-stars{display:none}.heartlight-section-title{padding:17px 17px 0}.heartlight-section-title h2{font-size:22px}.heartlight-side{padding:18px}.heartlight-map-footer{padding:10px 17px 19px}.heartlight-map-footer .heartlight-primary{width:100%}.heartlight-tour{bottom:8px;left:8px;width:calc(100vw - 16px)}.heartlight-tour-inner{padding:12px 14px}.heartlight-tour blockquote{font-size:15px;margin:8px 0 11px}.heartlight-tour h2{font-size:24px;margin:5px 0}.heartlight-tour-actions button{padding:8px 10px;font-size:11px}.heartlight-tour-progress{margin:9px 0}.heartlight-bottom>div{width:100%}.heartlight-bottom>div button{flex:1}}
@media(prefers-reduced-motion:reduce){.heartlight-hero-stars span{animation:none}.heartlight-tour-progress i{transition:none}}

.heartlight-editor[hidden],.heartlight-tour[hidden],.heartlight-page[hidden],.heartlight-empty[hidden]{display:none!important}

/* Heart-led building. Soft architectural storybook styling, with no added photo substitutes. */
.heart-nav-count{display:inline-block;min-width:19px;border-radius:99px;padding:2px 5px;background:#f2dfd6;font-size:10px;color:#985448;text-align:center}
.heart-home-ribbon{display:flex;gap:16px;align-items:center;justify-content:center;padding:14px 22px 45px;color:#926d5d;flex-wrap:wrap;font-family:Georgia,serif;font-size:19px}
.heart-welcome{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);min-height:400px;background:linear-gradient(110deg,#fff6e9,#f2e0d1);overflow:hidden}
.heart-welcome-copy{padding:clamp(30px,5vw,76px);max-width:820px;align-self:center}
.heart-welcome h1{font:400 clamp(34px,5vw,62px)/1.12 Georgia,serif;letter-spacing:-.04em;margin:20px 0;color:#614239}
.heart-welcome em{color:#c47c67;font-style:italic}.heart-welcome p{font-size:16px;line-height:1.75;color:#86695b;max-width:620px}
.heart-welcome-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.heart-welcome-copy small{color:#9c7d6e;font-size:12px}
.heart-lantern-scene{position:relative;display:grid;place-items:center;background:radial-gradient(circle at 51% 55%,#b98b62 0%,#4f3d46 36%,#242837 78%);min-height:330px;color:#ffefdd;overflow:hidden}
.heart-lantern-scene:after{content:'';position:absolute;left:10%;right:10%;height:1px;bottom:22%;box-shadow:0 0 75px 29px #eaa66d99;pointer-events:none}
.heart-lantern{width:175px;max-width:50%;filter:drop-shadow(0 0 20px #f5ca8d88);position:relative;z-index:2}
.heart-night-sky{position:absolute;inset:0;color:#e9cdae;opacity:.75}.heart-night-sky span{position:absolute;font-size:21px}.heart-night-sky span:nth-child(1){left:22%;top:16%}.heart-night-sky span:nth-child(2){right:22%;top:23%}.heart-night-sky span:nth-child(3){left:12%;top:52%}.heart-night-sky span:nth-child(4){right:17%;bottom:39%}
.heart-lantern-caption{position:absolute;bottom:26px;z-index:3;font:italic 17px Georgia,serif;letter-spacing:.025em;color:#f6e4ce}
.heart-dashboard{max-width:1160px;margin:0 auto;padding:35px clamp(14px,3vw,35px) 90px}
.heart-privacy{padding:14px 18px;background:#f8f0e4;border:1px solid #eadac3;border-radius:12px;color:#785f50;font-size:13px;line-height:1.5}
.heart-dashboard-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;margin:36px 0 24px}.heart-dashboard-top h2{font:400 clamp(29px,4vw,43px) Georgia,serif;margin:8px 0;color:#624337}.heart-dashboard-top p{font-size:14px;color:#8a7467;margin:0}
.heart-points-badge{border:1px solid #dfc2ac;background:#f9ebdf;color:#865748;border-radius:100px;padding:14px 20px;min-height:48px;font-size:13px;font-weight:700}.heart-points-badge strong{font-size:20px}.heart-points-badge span{margin-left:6px}
.heart-card{background:#fffdfa;border:1px solid #e8d8c9;border-radius:24px;padding:clamp(19px,3vw,34px);box-shadow:0 10px 32px #684d3510;margin:23px 0}
.heart-card-head{margin:0 0 24px}.heart-card-head>span{display:block;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:#bd876a;font-size:11px}.heart-card-head h3{font:400 clamp(25px,3.1vw,36px) Georgia,serif;margin:8px 0 6px;color:#613f36}.heart-card-head p{font-size:13px;line-height:1.6;color:#8d7569;margin:8px 0}
.heart-card label{display:block;color:#6f5043;font-size:13px;font-weight:750;margin:16px 0 7px}.heart-card input[type=text],.heart-card textarea,.heart-card select{background:#fffcf8;border:1px solid #e3cdbc;padding:12px 13px;border-radius:11px;width:100%;min-width:0;color:#573e34;font:400 16px/1.5 ui-sans-serif,system-ui;resize:vertical}.heart-card textarea::placeholder,.heart-card input::placeholder{color:#ad9487}.heart-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:20px}.heart-form-actions>span{font-size:12px;color:#77916e}
.heart-room-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}.heart-room-card{border:1px solid #e4cbbc;border-radius:15px;background:linear-gradient(145deg,#fff9f1,#fbf1e8);min-height:130px;padding:18px 14px;text-align:left;display:flex;flex-direction:column;gap:6px}.heart-room-card:hover,.heart-room-card:focus-visible{border-color:#ca8373;background:#fdf0e7}.heart-room-icon{font-size:27px;line-height:1;color:#bf7967}.heart-room-card strong{font:400 18px Georgia,serif}.heart-room-card small{font-size:12px;color:#8d7568;line-height:1.35}
.heart-room-form{padding:18px;border:1px solid #ebd9c7;border-radius:15px;background:#fcf6ee}.heart-journal-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.heart-entry{padding:17px;background:#fef8f0;border:1px solid #e9d8c8;border-radius:15px;margin-top:14px}.heart-entry.pinned{border-color:#cb957e;background:#fff4e9}.heart-entry-head{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.heart-entry-head strong{font:400 19px Georgia,serif}.heart-entry-head small{font-size:11px;color:#aa8675}.heart-entry-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;color:#765f52}.heart-entry-actions{display:flex;gap:9px;flex-wrap:wrap}.heart-small-btn{min-height:36px;border:1px solid #e3cdbc;border-radius:8px;background:#fffdf7;color:#856459;font-size:12px;padding:7px 11px}.heart-delete{color:#a45f52}
.heart-rewards-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.heart-rewards-grid h4{margin:20px 0 12px;color:#75564a;font-size:14px}.heart-large-balance{font:400 56px Georgia,serif;color:#bd7868}.heart-tiny{font-size:12px;line-height:1.5;color:#917669}.heart-activity{border-bottom:1px solid #eddccc;display:flex;justify-content:space-between;gap:15px;padding:12px 0;color:#74564b;font-size:12px}.heart-activity strong{color:#b56e60;white-space:nowrap}.heart-unlock{display:block;width:100%;text-align:left;border:1px solid #e2d3c7;border-radius:11px;padding:12px;background:#f6f0e9;color:#948176;font-size:12px;margin:8px 0}.heart-unlock.unlocked{background:#fff4e6;color:#7a5648;border-color:#dfba9d}.heart-unlock:disabled{cursor:not-allowed}
#heartInspector .heart-inspector-memory{font:italic 16px/1.55 Georgia,serif;color:#77584b;white-space:pre-wrap;overflow-wrap:anywhere}.heart-inspector-dream{font-size:13px;color:#8c7366;white-space:pre-wrap;overflow-wrap:anywhere}.inspector-tabs{overflow-x:auto;scrollbar-width:thin}.inspector-tabs .side-tab{flex:1;white-space:nowrap}
@media(max-width:810px){.heart-welcome{grid-template-columns:1fr}.heart-lantern-scene{min-height:230px}.heart-lantern{width:120px}.heart-room-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.heart-rewards-grid{grid-template-columns:1fr}.heart-welcome-copy{padding:38px 23px}}
@media(max-width:480px){.heart-room-cards{grid-template-columns:1fr}.heart-journal-options{grid-template-columns:1fr}.heart-dashboard{padding:23px 12px 60px}.heart-home-ribbon{font-size:16px}.heart-card{margin:15px 0}.heart-welcome h1{font-size:36px}.heart-dashboard-top{margin:26px 0 19px}.heart-room-card{min-height:90px}}
@media(prefers-reduced-motion:reduce){.heart-welcome *{animation:none!important}}

/* Keep all primary navigation accessible on phones rather than shrinking seven controls. */
@media(max-width:790px){.nav{justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding-bottom:7px}.nav-link{flex:0 0 auto;white-space:nowrap}}

/* Community exchange + companion reward surfaces */
.community-hero{background:linear-gradient(120deg,#f1e8dc,#e8eee5 65%,#f7efdf);border:1px solid #e0d7ca;border-radius:24px;padding:clamp(24px,5vw,60px);margin:20px 0 26px;position:relative;overflow:hidden}.community-hero h1{font:500 clamp(38px,5.6vw,66px)/1.08 Georgia,serif;color:#354538;margin:12px 0}.community-hero h1 em{color:#ac735f;font-weight:400}.community-hero>p{max-width:680px;color:#617267;line-height:1.7}.community-hero-flags{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.community-hero-flags span{border-radius:999px;padding:9px 14px;background:#ffffffb8;color:#5a6558;font-size:12px;font-weight:700}.community-shell{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1150px;margin:0 auto 60px}.community-card{background:#fffdf8;border:1px solid #e7ddce;border-radius:20px;padding:clamp(20px,3vw,30px);min-width:0}.community-card-title>span{font-size:11px;font-weight:800;letter-spacing:.16em;color:#b37c69}.community-card-title h2{font:500 clamp(26px,3vw,33px)/1.18 Georgia,serif;color:#354538;margin:8px 0}.community-card-title p,.community-tiny,.community-card>p{color:#617267;line-height:1.65;font-size:13px}.community-card label:not(.community-check){display:block;margin:15px 0 6px;font-size:13px;font-weight:750}.community-card input:not([type=checkbox]),.community-card textarea{width:100%;box-sizing:border-box;border:1px solid #d9cebd;border-radius:11px;background:#fffaf5;color:#37483d;padding:13px;font:inherit;font-size:16px}.community-card textarea{resize:vertical}.community-card input:focus,.community-card textarea:focus{outline:2px solid #b87e69;outline-offset:2px}.community-privacy{border-radius:12px;background:#ecf2eb;padding:15px;font-size:13px;color:#425847;line-height:1.6}.community-check{display:flex;align-items:start;gap:12px;padding:13px 0;font-size:13px;line-height:1.55;color:#425847}.community-check input{width:20px;height:20px;flex:none;margin-top:1px;accent-color:#8f654e}.community-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.community-actions .btn{white-space:normal;text-align:center;min-height:44px}.community-file-button{cursor:pointer}.community-preview{background:#f6f0e7;padding:15px;border-radius:15px;display:grid;grid-template-columns:minmax(130px,210px) minmax(0,1fr);gap:15px;margin-top:18px}.community-preview[hidden]{display:none}.community-preview img{width:100%;border-radius:10px;border:1px solid #e4d8c9}.community-preview h3{font:500 23px Georgia,serif;margin:7px 0;color:#374b3c}.community-preview p{font-size:12px;color:#627369}.community-board{display:grid;gap:10px}.community-board-card{border-radius:12px;background:#f5f1e9;padding:14px;display:grid;gap:5px}.community-board-card small,.community-empty{color:#6c766b;font-size:13px}.community-board-actions{display:flex;gap:7px;flex-wrap:wrap}.community-board-actions .btn{padding:9px 12px}.community-prompt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.community-prompt{display:flex;flex-direction:column;align-items:start;gap:6px;background:#f6eee4;border-radius:13px;padding:16px}.community-prompt .community-prompt-star{color:#af7864;font-size:22px}.community-prompt strong{color:#38503e}.community-prompt p{font-size:12px;color:#697165;line-height:1.5;margin:0 0 auto;padding-bottom:10px}.community-prompt button{font-size:12px}.community-badge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.community-badge{border:1px dashed #cec4b8;background:#f6f3ee;border-radius:14px;padding:12px 8px;display:flex;flex-direction:column;gap:4px;align-items:center;text-align:center;opacity:.66}.community-badge.earned{background:#ecf3e7;border-style:solid;border-color:#b2c9ac;opacity:1}.community-badge span{font-size:29px;color:#b17866}.community-badge strong{font-size:12px;line-height:1.2;color:#3e4d41}.community-badge small{font-size:10px;color:#687369}.community-privacy-control{grid-column:1/-1}.community-privacy-control small{font-size:12px;color:#69766a}.community-status{grid-column:1/-1;color:#477051;min-height:1.3em;padding:4px 12px}.community-status[data-error=yes]{color:#a84944}.community-rollout{grid-column:1/-1;margin:0;color:#6c7469;font-size:13px;line-height:1.6;padding:0 10px}.heart-reward-themes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.heart-theme{padding:20px 12px;border:2px solid transparent;border-radius:13px;font-size:13px;font-weight:800;cursor:pointer;color:#3c5348;background:#ebdfcb}.heart-theme.moss{background:#cfdfd2}.heart-theme.moon{background:#dae0f0}.heart-theme.hearth{background:#e5c7b6}.heart-theme.selected{border-color:#71573e;box-shadow:0 0 0 2px white inset}.heart-theme:disabled{filter:grayscale(85%);opacity:.5;cursor:not-allowed}.heart-theme-rewards{margin-top:18px}.page[data-theme=moss] .heart-dashboard,.page[data-theme=moss] .heart-welcome{--bbh-heart-accent:#5b8669}.page[data-theme=moon] .heart-dashboard,.page[data-theme=moon] .heart-welcome{--bbh-heart-accent:#667eae}.page[data-theme=hearth] .heart-dashboard,.page[data-theme=hearth] .heart-welcome{--bbh-heart-accent:#b0714d}.page[data-theme=moss] .heart-card{border-color:#b4ceb7;background:#f7fcf7}.page[data-theme=moon] .heart-card{border-color:#b9c4de;background:#f7f8fd}.page[data-theme=hearth] .heart-card{border-color:#e3bda8;background:#fdf7f1}.page[data-theme=moss] .heart-points-badge{background:#dcecdf}.page[data-theme=moon] .heart-points-badge{background:#e5e9f7}.page[data-theme=hearth] .heart-points-badge{background:#f5dfd1}@media(max-width:740px){.community-shell{grid-template-columns:1fr}.community-card{padding:18px}.community-prompt-grid{grid-template-columns:1fr 1fr}.community-preview{grid-template-columns:1fr}.community-badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.heart-reward-themes{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:380px){.community-prompt-grid{grid-template-columns:1fr}.community-actions .btn{width:100%}}

/* The Paint Studio is shared by the room editor and furniture editor. */
.bbh-color-studio{margin:18px 0;padding:16px 13px;background:#fff7ed;border:1px solid #ead5c3;border-radius:16px}
.bbh-color-studio h3{margin:0 0 7px;color:#6d463b;font-size:17px;font-family:Georgia,serif;font-weight:500}
.bbh-color-studio .tiny-muted{line-height:1.4}
.bbh-color-preview{display:flex;gap:11px;align-items:center;justify-content:center;margin:10px 0;font-size:13px;letter-spacing:.06em}
.bbh-color-preview-chip{width:43px;height:35px;border-radius:8px;border:2px solid #fff;box-shadow:0 1px 7px #78553b44}
.bbh-paint-wheel{touch-action:manipulation;user-select:none;overflow:visible;width:min(175px,70%);height:auto;aspect-ratio:1 / 1}
.bbh-wheel-dot{position:absolute;width:19px;height:19px;transform:translate(-50%,-50%);border:3px solid white;border-radius:50%;box-shadow:0 0 0 2px #563d35,0 2px 8px #4334;pointer-events:none;z-index:2}
.bbh-color-sub{margin:12px 0 4px;text-align:center;font-size:12px}
.bbh-shade-row{grid-template-columns:repeat(9,minmax(0,1fr));gap:4px}
.bbh-shade-row .shade{min-width:0;height:37px;border-radius:7px;border:1px solid #fff;outline-offset:2px}
.bbh-shade-row .shade.active{outline:2px solid #704b40}
.bbh-color-sliders{display:grid;gap:8px;margin:12px 0}
.bbh-color-slider{display:grid;gap:3px;font-size:12px;font-weight:600;color:#795d51}
.bbh-color-slider input{width:100%;accent-color:#bb7565;min-height:24px}
.bbh-exact-color{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:700;margin:12px 0}
.bbh-exact-color input{width:64px;height:38px;border-radius:8px;border:1px solid #decbb9;background:#fff}
.bbh-color-presets{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}
.bbh-color-presets button{min-width:0;width:auto;height:30px}
.bbh-paint-help{font-size:11px;color:#9c7c6c;line-height:1.5;display:block;margin:9px 0}

/* Build by Heart Creator Workshop */
.workshop-page{padding:3rem max(4vw,20px) 6rem;background:linear-gradient(180deg,#fff9f1,#fbf4e9)}
.workshop-gate{max-width:780px;margin:24px auto;padding:30px;border:1px solid #d9c5b0;border-radius:26px;background:#fff;box-shadow:0 14px 50px #7c5d4020}
.workshop-gate-head>span{font-size:.72rem;letter-spacing:.14em;color:#a56b53;font-weight:800}
.workshop-gate h2{font-family:Georgia,serif;font-size:clamp(1.45rem,4vw,2.5rem);margin:10px 0}
.workshop-gate-actions,.workshop-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.workshop-gift-login{margin:22px 0;padding:18px;background:#f6efe7;border-radius:18px}
.workshop-gift-login form{display:flex;gap:8px;align-items:end;flex-wrap:wrap}
.workshop-gift-login label{display:block;width:100%;font-weight:700}
.workshop-gift-login input{max-width:340px;min-width:230px;flex:1}
.workshop-fine-print,.workshop-note{font-size:.85rem;color:#6b625b}
.workshop-account-bar{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:12px 20px;margin:14px 0;background:#e9f1e8;border-radius:14px}
.workshop-account-bar span:first-child{font-weight:800}
.workshop-layout{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:22px;align-items:start}
.workshop-toolbox,.workshop-preview{border:1px solid #e3d5c7;background:white;border-radius:22px;padding:22px;min-width:0}
.workshop-toolbox>label{display:block;margin:14px 0 5px;font-weight:700}
.workshop-toolbox input,.workshop-toolbox select,.workshop-gate input{border:1px solid #cebca9;border-radius:12px;padding:10px 12px;font-size:16px;background:#fff;max-width:100%;color:#292b25}
.workshop-toolbox>input,.workshop-toolbox>select{width:100%}
.workshop-starter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.workshop-starter-grid button,.workshop-actions>button,.workshop-toolbox>button,.workshop-account-bar button{border:1px solid #cbb9a7;background:#fbf7f2;color:#514239;padding:10px 11px;border-radius:11px;min-height:42px;cursor:pointer}
.workshop-actions>button.btn{background:#c26c55;color:white;border-color:#c26c55}
.workshop-actions>button.btn.ghost{background:#fff;color:#514239;border-color:#cbb9a7}
.workshop-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.workshop-form-grid label{font-size:.84rem;font-weight:700;display:flex;flex-direction:column;gap:4px}
.workshop-form-grid input,.workshop-form-grid select{width:100%;min-width:0}
.workshop-preview-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px}
.workshop-preview-head span{font-size:.75rem;letter-spacing:.12em;color:#8a6255}
.craft-stage{position:relative;min-height:420px;border:1px solid #eee0d4;border-radius:18px;overflow:hidden;background:#eae2d6}
.craft-stage canvas{width:100%;height:420px;touch-action:none;display:block}
.workshop-preview>p{font-size:.86rem;color:#65564f}
#craftStatus{font-weight:700;color:#775442;min-height:20px}
@media(max-width:860px){.workshop-layout{grid-template-columns:minmax(0,1fr)}.workshop-page{padding:1.5rem 14px 4rem}.craft-stage,.craft-stage canvas{height:360px;min-height:360px}}
@media(max-width:380px){.workshop-starter-grid{grid-template-columns:minmax(0,1fr)}.workshop-toolbox,.workshop-preview{padding:12px}}

/* Owner-reviewed membership and complimentary Fresh Eyes QA (never an owner login) */
.workshop-pricing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:1100px;margin:24px auto;padding:0 18px}
.workshop-tier{min-width:0;border:1px solid #e3cbbc;border-radius:18px;background:#fff9f2;padding:18px;box-shadow:0 6px 15px #604b3010}
.workshop-tier.featured{border-color:#ca8876;background:#fff4ed}
.workshop-tier>span{font-size:11px;font-weight:800;letter-spacing:.12em;color:#965643}
.workshop-tier h3{font:normal 23px/1.2 Georgia,serif;margin:9px 0;color:#694c40}
.workshop-tier h3 small{display:block;font:normal 13px/1.7 system-ui;color:#856d5e}
.workshop-tier p{font-size:13px;line-height:1.6;color:#7b655b;margin:0}
.fresh-eyes-panel{margin:20px auto;max-width:1100px;padding:23px;border-radius:20px;border:1px solid #e6c1b7;background:linear-gradient(115deg,#fff9f0,#f8e9e0)}
.fresh-eyes-head h2{font:normal 28px/1.25 Georgia,serif;margin:7px 0;color:#603f3e}
.fresh-eyes-head p{font-size:13px;line-height:1.65;color:#795f5d}
.fresh-eyes-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 13px;margin:15px 0}
.fresh-eyes-form label{display:grid;gap:6px;font-size:13px;color:#614943;font-weight:700;min-width:0}
.fresh-eyes-form label:has(textarea){grid-column:1/-1}
.fresh-eyes-form input,.fresh-eyes-form textarea,.fresh-eyes-form select{width:100%;font:inherit;min-height:44px;padding:10px;border:1px solid #cfb7aa;border-radius:10px;background:#fffdf8;color:#543c38}
.fresh-eyes-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;grid-column:1/-1}
.fresh-eyes-form p,.fresh-eyes-form small{grid-column:1/-1;margin:0;line-height:1.5}
.fresh-eyes-form small{color:#876c66}
.fresh-eyes-reports{border-top:1px solid #d9bcb0;padding:12px 0 0;font-size:12px;color:#6f5652}
.fresh-eyes-reports p{padding:10px;background:#ffffff8c;border-radius:10px;overflow-wrap:anywhere}
@media(max-width:620px){.workshop-pricing,.fresh-eyes-form{grid-template-columns:1fr}.fresh-eyes-panel{padding:15px}.workshop-tier h3{font-size:20px}}

.workshop-billing-options{max-width:1100px;margin:15px auto 28px;padding:18px;border:1px solid #d6b9a8;border-radius:18px;background:#fff9f2;color:#664941}
.workshop-billing-options p{margin:0 0 12px}
.workshop-billing-options small{display:block;color:#826e60;font-size:12px;margin:10px 0 0;line-height:1.5}
.workshop-billing-actions{display:flex;flex-wrap:wrap;gap:12px}
.workshop-billing-actions button[disabled]{opacity:.6;cursor:not-allowed}
@media(max-width:640px){.workshop-billing-actions{flex-direction:column}.workshop-billing-actions button{width:100%;min-height:44px}}

/* The reveal has no editable controls. The site builder remains untouched. */
body.share-reveal-open{overflow:hidden}
.share-reveal-backdrop[hidden]{display:none!important}
.share-reveal-backdrop{position:fixed;inset:0;z-index:99999;display:flex;justify-content:center;align-items:center;padding:12px;background:rgba(16,23,23,.85);backdrop-filter:blur(6px);overflow-y:auto}
.share-reveal-shell{width:min(100%,960px);background:#f9f1e5;border:1px solid #f1d9bf;border-radius:26px;box-shadow:0 36px 120px #0008;overflow:hidden;color:#473d35}
.share-reveal-topline{padding:19px 23px 12px;display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.share-reveal-topline h2{font-family:Georgia,serif;font-size:clamp(23px,3vw,38px);margin:5px 0 0;line-height:1.1}
.share-reveal-topline button{border:1px solid #b79882;background:#fffbf5;color:#49332e;padding:10px 15px;border-radius:12px;font-size:15px;min-height:44px;flex-shrink:0;cursor:pointer}
.share-reveal-stage{height:clamp(260px,49vh,560px);margin:0 19px;border-radius:18px;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(180deg,#9fb5b3 0%,#c7d3c9 34%,#e3d2b5 100%);perspective:1000px}
.share-reveal-ground{position:absolute;inset:-4%;background:linear-gradient(175deg,#bed0be 0 34%,#9aab89 35% 51%,#7a956e 52% 100%);display:grid;place-items:center;transition:opacity .7s 1s}
.share-reveal-ground:after{content:'';position:absolute;inset:35% 18% 11%;transform:rotateX(62deg) rotateZ(-11deg);border:3px dashed rgba(255,246,216,.56);border-radius:18px;box-shadow:0 0 0 8px #577f5410,0 18px 30px #2e4b4536;background:repeating-linear-gradient(0deg,rgba(255,255,255,.09) 0 2px,transparent 2px 35px),repeating-linear-gradient(90deg,rgba(255,255,255,.09) 0 2px,transparent 2px 35px)}
.share-reveal-ground span{position:absolute;top:14%;left:9%;letter-spacing:.25em;font-size:12px;color:#2a4b3c;font-weight:800}
.share-reveal-board{position:absolute;left:17%;top:14%;height:70%;width:66%;transform-style:preserve-3d;transform:rotateY(-18deg) rotateX(10deg) translateY(2%);transition:transform 1.65s cubic-bezier(.3,.8,.12,1),opacity 1s 1.2s;z-index:3;filter:drop-shadow(12px 18px 17px #24322655)}
.share-reveal-board-face{position:absolute;inset:0;backface-visibility:hidden;background:#d7b38d;border:13px solid #865d3d;box-shadow:inset 0 0 0 2px #f1d8b2,inset 0 0 30px #98653955;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#543d29;padding:12px;gap:14px}
.share-reveal-board-face span{font-size:clamp(27px,6vw,66px)}
.share-reveal-board-face strong{font-family:Georgia,serif;font-size:clamp(17px,3vw,29px);font-weight:500}
.share-reveal-board-back{transform:rotateY(180deg);background:#ebdfc9}
.share-reveal-house{position:absolute;inset:0;opacity:0;transform:scale(.79) translateY(28px);transition:opacity 1.15s ease,transform 1.2s cubic-bezier(.24,.9,.28,1);z-index:2;background:#e9e1cf}
.share-reveal-house canvas,.share-reveal-house img{height:100%;width:100%;object-fit:contain;display:block;touch-action:pan-y}
.share-reveal-house [hidden]{display:none!important}
.share-reveal-sheen{pointer-events:none;position:absolute;inset:-30%;background:linear-gradient(120deg,transparent 38%,rgba(255,242,199,.3) 49%,transparent 57%);z-index:4;transform:translateX(-100%);opacity:0}
.share-is-flipping .share-reveal-board{transform:translateX(32%) rotateY(-188deg) rotateX(-8deg) scale(.7)}
.share-is-built .share-reveal-board{transform:translateX(120%) rotateY(-270deg) scale(.28);opacity:0;pointer-events:none}
.share-is-built .share-reveal-house{opacity:1;transform:scale(1) translateY(0);z-index:5}
.share-is-built .share-reveal-ground{opacity:0}
.share-is-built .share-reveal-sheen{animation:share-reveal-light 1.4s ease forwards}
@keyframes share-reveal-light{0%{opacity:0;transform:translateX(-80%)}40%{opacity:1}100%{opacity:0;transform:translateX(80%)}}
.share-reveal-details{padding:15px 24px 2px}
.share-reveal-details h3{font-family:Georgia,serif;font-size:clamp(21px,2.4vw,27px);margin:0 0 5px}
.share-reveal-details p{margin:4px 0;line-height:1.4}
#shareRevealStatus{font-size:13px;color:#74594e;min-height:21px}
.share-reveal-actions{padding:10px 23px 21px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.share-reveal-actions small{font-size:12px;color:#886b59}
@media(max-width:560px){.share-reveal-stage{height:340px;margin:0 9px}.share-reveal-backdrop{padding:6px}.share-reveal-topline{padding:14px 13px 10px}.share-reveal-topline button{padding:9px}.share-reveal-board{left:10%;width:80%}.share-reveal-details{padding:13px 16px}.share-reveal-actions{padding:8px 16px 16px}}
@media(prefers-reduced-motion:reduce){.share-reveal-board,.share-reveal-house,.share-reveal-ground{transition:none!important}.share-reveal-sheen{animation:none!important}}
/* Mobile walk controls: compact edge dock, preserve the room view. */
@media(max-width:700px){
 .three-stage:has(#walkControls:not([hidden])){height:min(74vh,720px);min-height:450px}
 #walkControls:not([hidden]){position:absolute;left:4px;right:4px;bottom:5px;display:grid;grid-template-columns:1fr auto;align-items:end;justify-items:stretch;gap:3px;pointer-events:none;z-index:9}
 #walkControls .walk-toolbar{grid-column:1/-1;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:3px;padding:3px 5px;border-radius:8px;min-width:0;background:#fff9f1bd}
 #walkControls .walk-toolbar #walkRoom{min-width:0;max-width:34%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
 #walkControls .walk-toolbar label{font-size:10px;white-space:nowrap}
 #walkControls .walk-toolbar input{width:50px;max-width:14vw}
 #walkControls .walk-toolbar button{min-height:30px;padding:2px 5px;font-size:10px;white-space:nowrap}
 #walkControls .walk-action-row{grid-column:1/-1;display:flex;justify-content:space-between;align-items:end;flex-wrap:nowrap;gap:4px;width:100%;pointer-events:none}
 #walkControls .walk-pad,#walkControls .walk-look-pad{padding:3px;gap:2px;border-radius:9px;background:#fffaf1b8;pointer-events:auto}
 #walkControls .walk-pad>div,#walkControls .walk-look-pad>div{gap:2px}
 #walkControls button[data-walk]{min-width:36px;min-height:36px;width:36px;height:36px;padding:1px;font-size:17px;border-radius:7px}
 #walkControls button[data-walk="lookUp"],#walkControls button[data-walk="lookDown"]{font-size:0}
 #walkControls button[data-walk="lookUp"]::after{content:'↑';font-size:19px}
 #walkControls button[data-walk="lookDown"]::after{content:'↓';font-size:19px}
 #walkControls .walk-door-button{position:absolute;bottom:0;left:50%;transform:translateX(-50%);min-height:35px;max-width:33%;font-size:0;padding:4px 8px;border-radius:9px;white-space:nowrap}
 #walkControls .walk-door-button::after{content:'🚪 Door';font-size:12px}
 #walkControls>small{display:none}
}

.bbh-paint-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin:10px 0}.bbh-paint-swatches button{height:34px;border:1px solid #a98c7c;border-radius:8px;cursor:pointer}

/* Immersive creator workshop */
.workshop-room-intro{padding:1rem 1.25rem;background:#f1e5d4;border-radius:18px;margin:1rem 0;display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.workshop-room-intro h2{margin:0}.workshop-room-intro p{flex:1 1 260px;margin:0}.workshop-immersive-open .workshop-immersive{position:fixed;inset:1rem;z-index:9999;display:grid;grid-template-columns:minmax(220px,25%) minmax(0,1fr);gap:12px;background:#eee4d6;padding:16px;border-radius:18px;overflow:auto;box-shadow:0 0 0 100vmax #000a}.workshop-immersive-open .workshop-immersive .craft-stage{height:70vh;min-height:420px}.workshop-immersive-open #craftExitRoom{position:fixed;top:12px;right:22px;z-index:10001}.workshop-immersive-open .workshop-room-intro{z-index:10000}@media(max-width:750px){.workshop-immersive-open .workshop-immersive{grid-template-columns:1fr;inset:.4rem;padding:8px}.workshop-immersive-open .workshop-immersive .craft-stage{height:50vh;min-height:300px}}

/* Full-sized workshop workspace */
.workshop-layout{display:grid;grid-template-columns:minmax(235px,300px) minmax(0,1fr);gap:16px;align-items:start}.workshop-preview{min-width:0}.workshop-preview .craft-stage{height:min(72vh,850px);min-height:500px}.workshop-immersive-open .workshop-immersive{inset:0!important;border-radius:0!important;padding:12px!important;grid-template-columns:minmax(230px,280px) minmax(0,1fr)!important}.workshop-immersive-open .workshop-immersive .craft-stage{height:calc(100vh - 135px)!important;min-height:480px}.workshop-immersive-open .workshop-immersive .workshop-toolbox{max-height:calc(100vh - 28px);overflow-y:auto}.workshop-immersive-open .workshop-immersive .workshop-preview{max-height:calc(100vh - 24px);overflow:hidden}.workshop-immersive-open #craftExitRoom{top:8px;right:12px}.workshop-immersive-open .workshop-immersive .workshop-preview-head{padding-right:140px}@media(max-width:750px){.workshop-layout{grid-template-columns:1fr}.workshop-preview .craft-stage{height:55vh;min-height:300px}.workshop-immersive-open .workshop-immersive{grid-template-columns:1fr!important;overflow:auto}.workshop-immersive-open .workshop-immersive .craft-stage{height:55vh!important;min-height:300px}.workshop-immersive-open .workshop-immersive .workshop-toolbox{max-height:none}}

/* Workshop: controls remain visible beside the 3D build surface */
.workshop-layout .workshop-toolbox{position:sticky;top:12px;align-self:start;max-height:calc(100vh - 24px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.workshop-layout .workshop-preview{position:sticky;top:12px;align-self:start}.workshop-layout .workshop-actions{display:flex;flex-wrap:wrap;gap:6px}.workshop-layout .workshop-actions button{flex:1 1 105px}.workshop-immersive-open .workshop-immersive .workshop-toolbox{position:sticky;top:0;max-height:calc(100vh - 24px);overflow-y:auto}@media(max-width:750px){.workshop-layout .workshop-toolbox,.workshop-layout .workshop-preview{position:static;max-height:none}.workshop-immersive-open .workshop-immersive .workshop-toolbox{position:static;max-height:none}}

/* Phone workshop: permanent side tool rail, uninterrupted 3D viewport */
@media(max-width:750px){#page-workshop .workshop-layout{display:grid!important;grid-template-columns:minmax(110px,34vw) minmax(0,1fr)!important;gap:6px!important;align-items:start!important}#page-workshop .workshop-toolbox{position:sticky!important;top:8px!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;overflow-y:auto!important;padding:8px!important;min-width:0!important}#page-workshop .workshop-preview{position:sticky!important;top:8px!important;min-width:0!important;padding:6px!important}#page-workshop .workshop-preview .craft-stage{height:calc(100dvh - 95px)!important;min-height:320px!important}#page-workshop .workshop-toolbox button{font-size:12px!important;padding:8px 4px!important;min-width:0!important;white-space:normal!important}#page-workshop .workshop-toolbox input,#page-workshop .workshop-toolbox select{min-width:0!important;width:100%!important}#page-workshop .workshop-actions{display:grid!important;grid-template-columns:1fr!important}#page-workshop .workshop-toolbox>*,#page-workshop .workshop-preview>*{max-width:100%}#page-workshop .workshop-immersive{grid-template-columns:minmax(110px,34vw) minmax(0,1fr)!important}}

/* Workshop compact controls: keep the 3D scene dominant on phones */
@media(max-width:750px){#page-workshop .workshop-toolbox{font-size:12px!important}#page-workshop .workshop-toolbox h2,#page-workshop .workshop-toolbox h3{font-size:14px!important;line-height:1.2!important}#page-workshop .workshop-toolbox label{font-size:11px!important}#page-workshop .workshop-toolbox input,#page-workshop .workshop-toolbox select{font-size:12px!important;padding:7px 5px!important}#page-workshop .workshop-toolbox .workshop-actions button{width:100%!important;line-height:1.15!important}#page-workshop .workshop-preview-head{display:flex!important;flex-wrap:wrap!important;gap:4px!important}#page-workshop .workshop-preview-head button{font-size:11px!important;padding:6px!important}#page-workshop .workshop-preview .craft-stage canvas{display:block;width:100%!important;height:100%!important}#page-workshop .workshop-layout{width:100%!important;max-width:100%!important}}

/* Walk Mode controls live in their own dock, never over the home rendering. */
#threeStage:has(#walkControls:not([hidden])){overflow:visible;display:grid;grid-template-columns:minmax(0,1fr) 246px;column-gap:10px;background:#f9f4ed}
#threeStage:has(#walkControls:not([hidden])) #sceneCanvas{grid-column:1;grid-row:1;min-width:0;background:#ded8ce;border-radius:10px}
#threeStage:has(#walkControls:not([hidden])) #walkControls{position:relative;right:auto;bottom:auto;grid-column:2;grid-row:1;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:12px;overflow:auto;padding:12px;background:#fffaf3;border:1px solid #e8d9ca;border-radius:12px;max-height:100%;box-shadow:none}
#threeStage:has(#walkControls:not([hidden])) .walk-toolbar{display:grid;justify-items:stretch;gap:9px;box-shadow:none}
#threeStage:has(#walkControls:not([hidden])) .walk-toolbar input{width:100%;max-width:none}
#threeStage:has(#walkControls:not([hidden])) .walk-action-row{display:grid;justify-items:stretch;gap:12px}
#threeStage:has(#walkControls:not([hidden])) .walk-pad,#threeStage:has(#walkControls:not([hidden])) .walk-look-pad{width:100%}
#threeStage:has(#walkControls:not([hidden])) .walk-controls small{line-height:1.5;white-space:normal}
@media(max-width:740px){#threeStage:has(#walkControls:not([hidden])){height:auto;min-height:0;grid-template-columns:minmax(0,1fr)}#threeStage:has(#walkControls:not([hidden])) #sceneCanvas{height:48vh;min-height:300px}#threeStage:has(#walkControls:not([hidden])) #walkControls{grid-column:1;grid-row:2;max-height:none;overflow:visible}#threeStage:has(#walkControls:not([hidden])) .walk-action-row{grid-template-columns:1fr 1fr}}

/* User-controlled site appearance. The 3D scene retains its own day/night controls. */
html[data-theme="dark"]{color-scheme:dark;--paper:#141a24;--cream:#202936;--almond:#344154;--ink:#f4ece4;--muted:#c6b8ad;--line:#485160;--coral:#e3a18d;--coraldark:#f0b6a4;--white:#253040;--shadow:0 18px 46px #0007;background:#141a24}
html[data-theme="dark"] body,html[data-theme="dark"] main{background:#141a24;color:var(--ink)}
html[data-theme="dark"] .site-header,html[data-theme="dark"] .view-panel,html[data-theme="dark"] .view-toolbar,html[data-theme="dark"] .builder-shell,html[data-theme="dark"] .builder-heading,html[data-theme="dark"] .feature,html[data-theme="dark"] .hero-note,html[data-theme="dark"] .btn.ghost,html[data-theme="dark"] .btn.soft,html[data-theme="dark"] .mode,html[data-theme="dark"] .toolbar-actions button,html[data-theme="dark"] .catalog-panel,html[data-theme="dark"] .side-panel,html[data-theme="dark"] .modal-card{background-color:#253040;color:#f4ece4;border-color:#485160}
html[data-theme="dark"] .nav-link,html[data-theme="dark"] .brand,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] p,html[data-theme="dark"] label,html[data-theme="dark"] small{color:inherit}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#202936;color:#f4ece4;border-color:#586273}
html[data-theme="dark"] .mode.active,html[data-theme="dark"] .nav-link.active{background:#5a3b43;color:#fff4eb}
.bbh-settings-overlay{position:fixed;inset:0;background:#0009;z-index:99999;display:grid;place-items:center;padding:18px}
.bbh-settings-card{width:min(440px,100%);border-radius:22px;background:var(--white);color:var(--ink);padding:24px;box-shadow:0 20px 80px #0005;border:1px solid var(--line)}
.bbh-settings-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.bbh-settings-head h2{margin:0;font-size:1.3rem}.bbh-settings-head button{border:1px solid var(--line);border-radius:10px;padding:8px 12px;background:var(--cream);color:var(--ink)}
.bbh-theme-options{display:grid;gap:12px;border:1px solid var(--line);border-radius:14px;margin:20px 0;padding:15px}.bbh-theme-options legend{padding:0 8px}.bbh-theme-options label{display:flex;align-items:center;gap:10px;cursor:pointer}.bbh-theme-options input{accent-color:var(--coral)}
#siteSettingsOpen{white-space:nowrap}@media(max-width:750px){#siteSettingsOpen{padding:9px 11px;font-size:13px}}

/* Phase 1 polish: unobtrusive contextual controls */
.bbh-floating-tools{position:fixed;z-index:10040;display:none;align-items:center;justify-content:center;gap:4px;padding:5px 7px;max-width:min(92vw,360px);border-radius:24px;background:rgba(34,43,50,.88);border:1px solid rgba(255,255,255,.18);box-shadow:0 5px 18px rgba(15,25,30,.19);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);flex-wrap:wrap;transition:opacity .15s ease}
.bbh-floating-tools>.bbh-tool-action,.bbh-floating-tools>.bbh-more-tools{width:31px!important;height:31px!important;min-width:31px;flex-shrink:0;padding:0!important;font-size:17px!important;border-radius:50%!important;background:#f1e9de!important;color:#31424b!important;box-shadow:none!important}
.bbh-floating-tools>.bbh-tool-extra{display:none!important}
.bbh-floating-tools.bbh-expanded>.bbh-tool-extra{display:inline-flex!important;align-items:center;justify-content:center}
.bbh-floating-tools>.bbh-more-tools{background:#d7e8ed!important;font-weight:700}
.bbh-floating-tools>button:last-child{width:24px!important;height:30px!important;font-size:19px!important}
@media(max-width:600px){.bbh-floating-tools{max-width:calc(100vw - 24px);padding:5px;gap:3px;border-radius:20px}.bbh-floating-tools>.bbh-tool-action,.bbh-floating-tools>.bbh-more-tools{width:29px!important;height:29px!important;min-width:29px;font-size:16px!important}}

/* Build by Heart integrated guide */
.bbh-guide-open{overflow:hidden}.bbh-guide-overlay[hidden]{display:none!important}.bbh-guide-overlay{position:fixed;inset:0;z-index:120000;background:rgba(15,24,32,.65);display:grid;place-items:center;padding:16px}.bbh-guide-card{width:min(860px,100%);max-height:min(90dvh,760px);display:flex;flex-direction:column;background:var(--white,#fffaf3);color:var(--ink,#25323b);border-radius:24px;box-shadow:0 22px 90px #0006;overflow:hidden}.bbh-guide-top{padding:22px 25px 16px;display:flex;justify-content:space-between;align-items:start;gap:12px;border-bottom:1px solid #8883}.bbh-guide-eyebrow{font-size:11px;letter-spacing:.15em;opacity:.68;font-weight:700}.bbh-guide-top h2{font-size:clamp(20px,3vw,28px);margin:7px 0 0}.bbh-guide-close{border:0;border-radius:50%;width:38px;height:38px;background:#eadfd3;color:#25323b;font-size:26px;cursor:pointer}.bbh-guide-content{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:0;flex:1}.bbh-guide-nav{padding:12px;overflow:auto;border-right:1px solid #8883;display:flex;flex-direction:column;gap:5px}.bbh-guide-nav button{text-align:left;padding:11px;border:0;border-radius:11px;background:transparent;color:inherit;font-size:13px;cursor:pointer}.bbh-guide-nav button.active{background:#e3d5c5;color:#28323b;font-weight:700}.bbh-guide-body{padding:24px 30px;overflow:auto}.bbh-guide-body h3{font-size:23px;margin:0 0 12px}.bbh-guide-body p{line-height:1.6;opacity:.82}.bbh-guide-body ol{padding-left:22px;line-height:1.7}.bbh-guide-body li{padding:0 0 11px 6px}.bbh-guide-footer{padding:13px 22px;border-top:1px solid #8883;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px}.bbh-guide-footer>div{display:flex;gap:9px}.bbh-guide-footer button{border:0;border-radius:12px;padding:10px 16px;background:#d6e7e8;color:#26323b;cursor:pointer;font-weight:700}.bbh-guide-footer button:disabled{opacity:.35}.bbh-guide-footer .bbh-guide-next{background:#344f57;color:white}@media(max-width:650px){.bbh-guide-overlay{padding:9px}.bbh-guide-card{max-height:94dvh;border-radius:18px}.bbh-guide-content{display:flex;flex-direction:column}.bbh-guide-nav{flex-direction:row;flex:none;overflow-x:auto;overflow-y:hidden;border-right:0;border-bottom:1px solid #8883;padding:8px}.bbh-guide-nav button{white-space:nowrap;flex:none}.bbh-guide-body{padding:18px 20px}.bbh-guide-top{padding:16px}.bbh-guide-footer{padding:10px 13px}}

/* Interactive first-visit tour */
.bbh-tour-layer[hidden]{display:none!important}.bbh-tour-layer{position:fixed;inset:0;z-index:130000;pointer-events:auto;background:rgba(14,25,33,.58)}.bbh-tour-focus{position:fixed;pointer-events:none;border:3px solid #f6dba9;border-radius:13px;box-shadow:0 0 0 3px rgba(255,255,255,.22),0 0 24px #f7d99a99;transition:left .18s,top .18s,width .18s,height .18s}.bbh-tour-card{position:fixed;max-width:calc(100vw - 24px);padding:19px 20px;background:#fffaf2;color:#293a40;border-radius:20px;box-shadow:0 15px 60px #0006}.bbh-tour-kicker{font-size:11px;letter-spacing:.13em;font-weight:800;color:#6b7778}.bbh-tour-card h2{margin:10px 0;font-size:22px}.bbh-tour-card p{font-size:14px;line-height:1.6;margin:0 0 18px}.bbh-tour-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.bbh-tour-actions button{padding:10px 12px;border:0;border-radius:10px;background:#e8e0d6;color:#293a40;font-weight:700;cursor:pointer}.bbh-tour-actions .bbh-tour-next{background:#345660;color:#fff;margin-left:auto}.bbh-tour-actions button:disabled{opacity:.4}@media(max-width:600px){#bbhTourOpen{padding:8px 10px;font-size:12px}.bbh-tour-card{padding:16px}.bbh-tour-card h2{font-size:20px}}

/* Builder toolbar: horizontal scroll with a visible scrollbar on desktop and touch swipe on mobile. */
#toolStrip.tool-strip{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;max-width:100%;min-width:0;scrollbar-width:auto;scrollbar-color:#bd8066 #f3e8dd;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x;}
#toolStrip.tool-strip>.tool{flex:0 0 auto;white-space:nowrap;}
#toolStrip.tool-strip::-webkit-scrollbar{height:10px;}
#toolStrip.tool-strip::-webkit-scrollbar-track{background:#f3e8dd;border-radius:8px;}
#toolStrip.tool-strip::-webkit-scrollbar-thumb{background:#bd8066;border-radius:8px;border:2px solid #f3e8dd;}

/* Compact mobile building actions: never stretch deck and outdoor controls into tiles. */
.catalog-grid.compact-build-tools{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.catalog-grid.compact-build-tools>h3,.catalog-grid.compact-build-tools>p{margin:4px 0;line-height:1.4}
.catalog-grid.compact-build-tools>.catalog-item{box-sizing:border-box;width:100%;min-height:0;height:auto;max-height:54px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;padding:11px 14px;border-radius:10px;gap:8px;font-size:14px;line-height:1.25;white-space:normal}
.catalog-grid.compact-build-tools>.catalog-item:disabled{opacity:.6}
@media(max-width:700px){.catalog-grid.compact-build-tools>.catalog-item{max-height:50px;padding:10px 12px;font-size:13px}}

.catalog-grid.compact-build-tools>.deck-option{gap:12px;max-height:none;min-height:58px;height:auto;padding:9px 12px}
.deck-option-icon{font-size:23px;line-height:1;flex:0 0 28px}.deck-option-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.deck-option-copy strong{font-size:13px;font-weight:700}.deck-option-copy small{font-size:11px;color:#8a7467;line-height:1.25}
@media(max-width:700px){.catalog-grid.compact-build-tools>.deck-option{max-height:none;min-height:56px}}

.room-list-row{display:flex;align-items:stretch;gap:7px;margin:6px 0;min-width:0}.room-list-row>.room-item{flex:1;min-width:0;margin:0}.room-rename-btn{flex:0 0 auto;align-self:center;padding:9px 11px;min-height:40px;border:1px solid #d6bdab;border-radius:9px;background:#fff8f1;color:#694838;font-size:12px;font-weight:700;cursor:pointer}

/* iPhone inspector navigation: native horizontal finger scrolling, never shrink tabs. */
.inspector-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin;max-width:100%;min-width:0}
.inspector-tabs>.side-tab{flex:0 0 auto;min-width:96px;white-space:nowrap;touch-action:pan-x;cursor:pointer}
@media(max-width:600px){.inspector-tabs>.side-tab{min-width:108px;padding:14px 18px;font-size:14px}.inspector-tabs{scroll-snap-type:x proximity}.inspector-tabs>.side-tab{scroll-snap-align:start}}

/* Workshop overhaul: tools above the bench, never a long side column. */
#craftWorkshopLayout.workshop-layout{display:flex;flex-direction:column;gap:12px;min-width:0;width:100%}
#craftWorkshopLayout .workshop-toolbox{display:flex;flex-direction:row;align-items:stretch;gap:12px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;padding:12px;max-width:100%;min-width:0}
#craftWorkshopLayout .workshop-toolbox>*{flex:0 0 auto;margin:0}
#craftWorkshopLayout .workshop-toolbox>h2{font-size:16px;align-self:center;white-space:nowrap}
#craftWorkshopLayout .workshop-toolbox>.workshop-tool-intro{display:none}
#craftWorkshopLayout .workshop-toolbox>label{align-self:center;white-space:nowrap;margin:0}
#craftWorkshopLayout .workshop-toolbox>#craftName{width:180px;align-self:center}
#craftWorkshopLayout .workshop-starter-grid{display:flex;flex-wrap:wrap;gap:5px;align-content:center;width:390px;min-width:390px}
#craftWorkshopLayout .workshop-starter-grid button{font-size:12px;min-height:32px;padding:6px 9px}
#craftWorkshopLayout .workshop-actions{display:flex;flex-wrap:wrap;gap:5px;align-content:center;max-width:330px}
#craftWorkshopLayout .workshop-actions button{font-size:12px;min-height:32px;padding:6px 9px}
#craftWorkshopLayout #craftPartList{width:155px;min-width:155px;height:94px;align-self:center}
#craftWorkshopLayout #craftInspector:not([hidden]){display:flex;gap:8px;align-items:center;min-width:0;max-width:none}
#craftWorkshopLayout #craftInspector h3{font-size:13px;max-width:90px;margin:0}
#craftWorkshopLayout #craftInspector .workshop-form-grid{display:flex;flex-wrap:wrap;width:370px;min-width:370px;gap:5px}
#craftWorkshopLayout #craftInspector .workshop-form-grid label{font-size:11px;display:flex;align-items:center;gap:3px}
#craftWorkshopLayout #craftInspector .workshop-form-grid input,#craftWorkshopLayout #craftInspector .workshop-form-grid select{width:67px;padding:4px;font-size:12px}
#craftWorkshopLayout #craftLibrary{width:150px;align-self:center}
#craftWorkshopLayout #craftLoad{align-self:center;white-space:nowrap}
#craftWorkshopLayout #craftStatus{align-self:center;min-width:150px;max-width:220px;font-size:12px}
#craftWorkshopLayout .workshop-preview{width:100%;min-width:0;padding:12px}
#craftWorkshopLayout #craftStage{min-height:60vh;height:min(76vh,900px)}
#craftWorkshopLayout #craftCanvas{width:100%;height:100%}
#craftWorkshopLayout .workshop-preview-head{flex-wrap:wrap}
@media(max-width:700px){
#craftWorkshopLayout .workshop-toolbox{padding:8px;gap:9px}
#craftWorkshopLayout .workshop-toolbox>h2{display:none}
#craftWorkshopLayout #craftStage{height:65dvh;min-height:380px}
#craftWorkshopLayout .workshop-preview{padding:8px}
}

/* Workshop layout correction: override legacy phone side-rail !important rules. */
#page-workshop #craftWorkshopLayout.workshop-layout{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;width:100%!important;max-width:100%!important;gap:8px!important}
#page-workshop #craftWorkshopLayout>.workshop-toolbox{position:relative!important;top:auto!important;left:auto!important;right:auto!important;grid-column:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:148px!important;overflow-x:auto!important;overflow-y:hidden!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:9px!important;padding:8px!important;scrollbar-width:thin!important;overscroll-behavior-x:contain;touch-action:pan-x}
#page-workshop #craftWorkshopLayout>.workshop-toolbox>*{flex:0 0 auto!important;max-width:none!important}
#page-workshop #craftWorkshopLayout>.workshop-toolbox .workshop-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;grid-template-columns:none!important;width:270px!important;max-width:270px!important;gap:4px!important}
#page-workshop #craftWorkshopLayout>.workshop-toolbox .workshop-actions button{flex:0 0 auto!important;width:auto!important;min-width:0!important;white-space:nowrap!important;padding:6px 9px!important}
#page-workshop #craftWorkshopLayout>.workshop-toolbox .workshop-starter-grid{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;width:330px!important;min-width:330px!important;grid-template-columns:none!important}
#page-workshop #craftWorkshopLayout>.workshop-toolbox .workshop-starter-grid button{white-space:nowrap!important;width:auto!important;min-width:0!important}
#page-workshop #craftWorkshopLayout>.workshop-preview{position:relative!important;top:auto!important;grid-column:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:8px!important}
#page-workshop #craftWorkshopLayout .workshop-preview .craft-stage{width:100%!important;height:65dvh!important;min-height:380px!important;max-width:100%!important}
#page-workshop #craftWorkshopLayout .craft-stage canvas{width:100%!important;height:100%!important;min-height:0!important}
#page-workshop #craftWorkshopLayout .workshop-preview-head{display:flex!important;flex-wrap:wrap!important}
@media(min-width:751px){#page-workshop #craftWorkshopLayout>.workshop-toolbox{max-height:170px!important}#page-workshop #craftWorkshopLayout .workshop-preview .craft-stage{height:75vh!important}}

/* Workshop top tool dock: keep construction buttons visible directly above 3D bench. */
#page-workshop #craftWorkshopLayout{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;align-items:stretch!important;width:100%!important;min-width:0!important;gap:8px!important}
#page-workshop #craftToolbarDock{display:block!important;order:0!important;position:sticky!important;top:0!important;z-index:40!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:7px!important;background:#fffaf4!important;border:1px solid #dec9b6!important;border-radius:14px!important;box-shadow:0 3px 14px #3b2d2017!important}
#page-workshop #craftToolbarDock>strong{display:block!important;font-size:12px!important;color:#684c40!important;margin:0 0 5px 4px!important}
#page-workshop #craftToolbarDock>strong small{font-weight:400!important}
#page-workshop #craftToolbarDock>.workshop-toolbox{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:9px!important;position:static!important;top:auto!important;left:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:110px!important;min-height:110px!important;max-height:110px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:6px!important;margin:0!important;scrollbar-width:thin!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x!important}
#page-workshop #craftToolbarDock>.workshop-toolbox>*{flex:0 0 auto!important;max-width:none!important}
#page-workshop #craftToolbarDock .workshop-starter-grid{display:flex!important;flex-wrap:wrap!important;flex-direction:row!important;align-content:center!important;gap:4px!important;width:320px!important;min-width:320px!important;grid-template-columns:none!important}
#page-workshop #craftToolbarDock .workshop-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-content:center!important;gap:4px!important;width:270px!important;min-width:270px!important;grid-template-columns:none!important}
#page-workshop #craftToolbarDock button{width:auto!important;min-width:0!important;white-space:nowrap!important;padding:6px 8px!important;font-size:12px!important;min-height:32px!important}
#page-workshop #craftToolbarDock #craftInspector:not([hidden]){display:flex!important;align-items:center!important;gap:6px!important}
#page-workshop #craftToolbarDock #craftInspector .workshop-form-grid{display:flex!important;flex-wrap:wrap!important;width:370px!important;min-width:370px!important}
#page-workshop #craftToolbarDock #craftPartList{height:90px!important;width:145px!important;min-width:145px!important}
#page-workshop #craftWorkshopLayout>.workshop-preview{order:1!important;position:relative!important;top:auto!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important}
@media(max-width:750px){#page-workshop #craftToolbarDock{top:0!important}#page-workshop #craftWorkshopLayout>.workshop-preview .craft-stage{height:65dvh!important;min-height:360px!important}}

/* Workshop toolbar repair: no clipped buttons; allow a vertically scrollable tool shelf. */
#page-workshop #craftToolbarDock>.workshop-toolbox{
 height:auto!important;min-height:110px!important;max-height:min(42dvh,340px)!important;
 overflow-x:auto!important;overflow-y:auto!important;align-items:flex-start!important;
 overscroll-behavior:contain!important;touch-action:pan-x pan-y!important;
}
#page-workshop #craftToolbarDock{position:relative!important;top:auto!important}
#page-workshop #craftToolbarDock>.workshop-toolbox>*{align-self:flex-start!important}
#page-workshop #craftToolbarDock #craftInspector:not([hidden]){align-self:flex-start!important;max-height:none!important}
#page-workshop #craftToolbarDock #craftInspector .workshop-form-grid{align-content:start!important}
#page-workshop #craftToolbarDock>.workshop-toolbox .workshop-actions{align-content:start!important}
#page-workshop #craftToolbarDock>.workshop-toolbox .workshop-starter-grid{align-content:start!important}
@media(max-width:750px){
 #page-workshop #craftToolbarDock>.workshop-toolbox{max-height:260px!important}
 #page-workshop #craftToolbarDock .workshop-toolbox button{font-size:12px!important;line-height:1.25!important}
}

/* Compact grouped Workshop tool palette: all controls accessible without a mile-long strip. */
#page-workshop #craftToolbarDock{position:relative!important;top:auto!important;padding:9px!important;overflow:visible!important}
#page-workshop .craft-tool-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
#page-workshop .craft-tool-tabs button{flex:1 1 auto;border:1px solid #d6bba6;background:#f6eee5;color:#614838;border-radius:9px;padding:9px 10px;font-size:13px;font-weight:700;min-height:40px}
#page-workshop .craft-tool-tabs button.active{background:#9d654f;color:white;border-color:#9d654f}
#page-workshop .craft-tool-groups{width:100%;min-width:0}
#page-workshop .craft-tool-pane{display:flex;flex-wrap:wrap;align-items:center;align-content:start;gap:7px;max-height:230px;overflow-y:auto;overflow-x:hidden;padding:5px;min-width:0}
#page-workshop .craft-tool-pane[hidden]{display:none!important}
#page-workshop .craft-tool-pane>button,#page-workshop .craft-tool-pane .workshop-starter-grid button,#page-workshop .craft-tool-pane .workshop-actions button{width:auto!important;min-width:0!important;white-space:normal!important;min-height:38px!important;padding:7px 10px!important;font-size:12px!important;border:1px solid #cbb9a7;border-radius:9px;background:#fbf7f2;color:#514239}
#page-workshop .craft-tool-pane>.workshop-starter-grid{display:flex!important;flex-wrap:wrap!important;gap:6px!important;width:100%!important;min-width:0!important}
#page-workshop .craft-tool-pane>#craftInspector:not([hidden]){display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:6px!important}
#page-workshop .craft-tool-pane #craftInspector .workshop-form-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;min-width:0!important;gap:7px!important}
#page-workshop .craft-tool-pane #craftInspector .workshop-form-grid label{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important}
#page-workshop .craft-tool-pane #craftInspector .workshop-form-grid input,#page-workshop .craft-tool-pane #craftInspector .workshop-form-grid select{width:100%!important;min-width:0!important;box-sizing:border-box!important}
#page-workshop .craft-tool-pane #craftPartList{width:100%!important;max-width:100%!important;min-height:85px!important}
#page-workshop .craft-tool-pane #craftName{max-width:200px}
#page-workshop .craft-tool-pane #craftLibrary{max-width:200px}
@media(max-width:600px){#page-workshop .craft-tool-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#page-workshop .craft-tool-pane{max-height:220px}#page-workshop .craft-tool-pane #craftInspector .workshop-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Premium: feature gallery stays separate from the furniture Workshop. */
.premium-feature-gallery{max-width:1200px;margin:34px auto;padding:0 20px 28px}
.premium-feature-gallery .section-head{text-align:center;margin-bottom:20px}
.premium-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.premium-feature-card{overflow:hidden;border-radius:20px;background:#fffaf5;border:1px solid #e5d4cb;box-shadow:0 8px 28px #392a3114;display:flex;flex-direction:column}
.premium-feature-preview{height:195px;overflow:hidden;background:#e6dcd5}
.premium-feature-preview img{width:100%;height:100%;object-fit:cover}
.premium-feature-illustration{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;background:linear-gradient(145deg,#e9dfed,#cbd4df);color:#45364b;text-align:center;padding:18px}
.premium-feature-illustration span{font-size:42px}.premium-feature-illustration strong{font-size:20px}.premium-feature-illustration small{font-size:12px}
.premium-feature-body{padding:20px;display:flex;flex-direction:column;gap:10px;flex:1}
.premium-feature-body h3,.premium-feature-body p{margin:0}.premium-feature-body p{line-height:1.55;flex:1}
.premium-feature-badge{font-size:11px;font-weight:800;letter-spacing:.09em;color:#89536a}
.premium-feature-body button{align-self:flex-start}
.premium-gallery-note{font-size:12px;opacity:.8;line-height:1.6;margin-top:15px}
@media(max-width:760px){.premium-feature-grid{grid-template-columns:1fr}.premium-feature-preview{height:185px}.premium-feature-gallery{padding:0 14px 24px}}


/* Builder instructions are on demand beneath the toolbar. Never cover a room. */
.builder-tool-hints{margin:0 0 12px;border:1px solid #e7d3c3;border-radius:12px;background:#fffaf1;color:#70584c;font-size:13px;overflow:hidden;}
.builder-tool-hints>summary{cursor:pointer;padding:9px 13px;font-weight:650;list-style:revert;}
.builder-tool-hints>summary:focus-visible{outline:2px solid #2c6b89;outline-offset:-2px;}
.builder-tool-hints[open]>summary{border-bottom:1px solid #eeddd1;}
.builder-tool-hints-text,.builder-tool-hints-guide{padding:3px 14px;margin:7px 0;line-height:1.5;overflow-wrap:anywhere;}
.builder-tool-hints-guide{font-size:12px;opacity:.83;}
@media(max-width:600px){.builder-tool-hints{font-size:12px}.builder-tool-hints>summary{padding:10px 12px;min-height:40px;}}
