@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#283b32;background:#f6f3ec;font-synthesis:none;--line:#e3e3d9;--green:#294b3b;--muted:#8c948b;--gold:#c5a361}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.35;cursor:default}button,a,input{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #b68b45;outline-offset:3px}button{color:inherit}header{height:83px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#faf9f5;gap:28px}.brand{text-decoration:none;display:flex;align-items:center;color:#263e31;gap:10px;font-family:'Manrope',Arial,sans-serif;font-size:17px;font-weight:800}.brand-icon{border:1px solid #51624f;border-radius:11px;font-family:Georgia,serif;font-size:34px;font-weight:400;width:42px;height:43px;line-height:35px;text-align:center}.brand div>span{display:block;font-size:8px;letter-spacing:2.9px;margin-top:4px;color:#7b857a}.project{display:flex;gap:10px;align-items:center;margin-right:auto;margin-left:45px;font-size:13px}.project input{width:134px;border:0;background:transparent;outline:none;color:#3d463b;font-weight:600}.small-dot{width:6px;height:6px;border-radius:50%;background:#a1aa7d}.project-type{font-size:10px;color:#949a91;background:#eeeee7;border-radius:4px;padding:5px 7px}.header-actions{display:flex;align-items:center;gap:9px}#save-status{font-size:10px;color:#92998f;margin-right:12px}.button{padding:11px 15px;border-radius:7px;border:1px solid transparent;font-size:11px;font-weight:600;white-space:nowrap}.primary{background:var(--green);color:#fff}.primary:hover{background:#1a3829}.secondary{background:#fafaf6;border-color:#dddcd3}.secondary:hover{background:#eeeee5}.danger{color:#965d4e;background:#f8eee9}main{display:grid;grid-template-columns:256px minmax(330px,1fr) 266px;height:calc(100dvh - 83px)}aside{background:#faf9f5;overflow:auto;scrollbar-width:thin;scrollbar-color:#d9ddcf transparent}.library{padding:29px 23px 16px;border-right:1px solid var(--line);display:flex;flex-direction:column}.eyebrow{font-size:8px;letter-spacing:1.7px;color:#8d9588;font-weight:600}.panel-title h1{font-family:Georgia,'Times New Roman',serif;font-size:25px;font-weight:400;margin:12px 0 8px;line-height:1.25;letter-spacing:-.5px}.intro{font-size:11px;line-height:1.8;color:#8b9386;margin:0 0 29px}.section-label{font-size:9px;font-weight:700;letter-spacing:1.3px;color:#858f80;margin-bottom:13px;display:flex;justify-content:space-between}.section-label span{font-size:8px;letter-spacing:0;color:#a2a99c;font-weight:400}.preset-list{display:flex;flex-direction:column;gap:7px}.preset{padding:7px;border:1px solid #e5e6dc;display:flex;align-items:center;text-align:left;background:transparent;border-radius:7px;gap:10px}.preset.active{background:#f0f2e8;border-color:#a9b796}.preset>span:nth-child(2){font-size:10px;font-weight:600}.preset small{display:block;color:#999e90;font-size:8px;font-weight:400;margin-top:4px}.preset-art{height:37px;width:39px;display:flex;align-items:center;justify-content:center;border-radius:4px;font-size:26px}.forest{background:linear-gradient(140deg,#485a40,#b59b65);color:#f8d68a}.moon{background:linear-gradient(140deg,#292f4a,#707d96);color:#e6c998}.kyoto{background:linear-gradient(140deg,#cdc3a6,#f0d9a1);color:#fff6df}.preset-check{font-size:12px;color:#5c7151;margin-left:auto;margin-right:4px}.catalogue-label{margin-top:28px}.filters{display:flex;gap:5px;margin-bottom:13px}.filters button{border:0;background:transparent;padding:6px 11px;font-size:9px;border-radius:20px;color:#8a9583}.filters .active{background:#e9ede2;color:#465c3a}.catalog{display:grid;grid-template-columns:1fr 1fr;gap:10px}.catalog-card{position:relative;border:1px solid #e4e5db;border-radius:7px;overflow:hidden;background:#f3f2e9;text-align:left;padding:0;transition:transform .15s,border-color .15s}.catalog-card:hover{transform:translateY(-2px);border-color:#8f9f80}.catalog-card svg{width:100%;height:77px;display:block}.catalog-card>span{display:block;padding:8px 9px;background:#fcfbf7;font-size:9px;font-weight:500}.catalog-card .plus{position:absolute;right:7px;top:6px;color:#9da58e;font-size:15px}.library-bottom{display:flex;align-items:center;gap:12px;color:#a7ac9e;padding-top:24px;margin-top:auto}.library-bottom p{font-size:8px;line-height:1.7}.outline-book{font-size:24px}.workspace{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 50%,#ebe9db 0%,#eaeade 45%,#f0f0e8 100%)}.scene-heading{position:absolute;z-index:2;left:32px;right:28px;top:30px;display:flex;justify-content:space-between;pointer-events:none}.scene-heading h2{font-family:Georgia,serif;font-weight:400;font-size:23px;margin:10px 0 0;letter-spacing:-.3px}.scene-heading h2 span{font-family:Arial,sans-serif;font-size:9px;vertical-align:middle;display:inline-block;margin-left:10px;color:#9ba38e;border:1px solid #d8dccd;border-radius:4px;padding:3px 5px}.live{background:#fafbf2b8;border:1px solid #d9ddcf;height:26px;border-radius:20px;padding:7px 10px;font-size:8px;font-weight:500;display:flex;gap:6px;align-items:center}.live i{width:5px;height:5px;background:#8fa36b;border-radius:50%}#viewport{position:absolute;inset:0}#scene{width:100%;height:100%;display:block;touch-action:none}.loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#eeeee5;color:#89917d;font-family:Georgia,serif;font-size:20px}.view-toolbar{position:absolute;bottom:73px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;padding:7px 10px;border-radius:9px;border:1px solid #dbded0;background:#fcfcf4ed;box-shadow:0 7px 20px #303d2410}.tool{border:0;background:transparent;width:31px;height:31px;border-radius:5px;font-size:20px;color:#89937e;display:flex;align-items:center;justify-content:center}.tool:hover,.tool.active{background:#e7ecdd;color:#435c33}.divider{height:18px;width:1px;background:#dce1d2;margin:0 4px}.scene-bottom{position:absolute;left:24px;right:24px;bottom:27px;display:flex;justify-content:space-between;align-items:center}.hint{display:flex;gap:9px;align-items:center;color:#939b87;font-size:8px}.hint>span:first-child{font-size:19px}.hint b{margin:0 6px;font-weight:400}.history{display:flex;gap:5px;align-items:center}.history button{border:0;background:none;color:#798770;font-size:22px;padding:1px 5px}.history>span{font-size:9px;color:#98a08e;margin-left:8px}.stage-label{position:absolute;left:50%;bottom:132px;transform:translateX(-50%);font-size:7px;letter-spacing:2.7px;color:#9da68e;white-space:nowrap;pointer-events:none}.inspector{border-left:1px solid var(--line);padding:30px 22px 0;display:flex;flex-direction:column}.inspector-top h2{font-family:Georgia,serif;font-size:20px;font-weight:400;margin:10px 0 22px}.inspector-tabs{display:flex;border-bottom:1px solid #e3e5d9;gap:24px}.inspector-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:0 0 11px;font-size:10px;color:#9ca38f}.inspector-tabs .active{color:#4d643e;border-color:#6c8257}#selection-dot{display:inline-block;width:5px;height:5px;background:#bea05e;border-radius:50%;margin-left:3px;visibility:hidden}.setting-section{padding:23px 0;border-bottom:1px solid #e6e7dc}.setting-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.setting-heading h3{font-size:11px;font-weight:600;margin:0}.setting-heading>span{font-size:16px;color:#909e7e}.range-label{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#7c8871;margin:19px 0 13px}.range-label:first-child{margin-top:0}.range-label output{font-size:8px;color:#7e8b73;background:#eef0e6;border-radius:4px;padding:4px 5px}input[type=range]{appearance:none;width:100%;height:3px;background:#dce2cd;border-radius:10px;display:block;cursor:pointer;margin:10px 0}input[type=range]::-webkit-slider-thumb{appearance:none;border:2px solid #fafaf3;background:#7f9462;width:13px;height:13px;border-radius:50%;box-shadow:0 0 0 1px #adba97}input[type=range]::-moz-range-thumb{border:2px solid #fafaf3;background:#7f9462;width:10px;height:10px;border-radius:50%}.warmth{background:linear-gradient(90deg,#bfcdd7,#e2c387)!important}.range-ends{display:flex;justify-content:space-between;font-size:7px;color:#a0a68f;margin-top:9px}.swatches{display:flex;gap:9px}.swatch{width:28px;height:28px;border-radius:50%;border:3px solid #faf9f5;outline:1px solid transparent}.swatch.active{outline-color:#899879}.custom-color{font-size:9px;display:flex;justify-content:space-between;align-items:center;margin-top:17px;color:#8a957e}.custom-color input{height:22px;width:31px;border:1px solid #dce1d2;padding:1px;background:none;border-radius:4px;cursor:pointer}.floor-options{display:flex;gap:10px}.floor-options button{flex:1;border:0;background:transparent;padding:0;font-size:8px;color:#9aa38c}.wood{display:block;width:100%;height:38px;border-radius:5px;margin-bottom:8px;border:2px solid #faf9f5;outline:1px solid transparent;position:relative;overflow:hidden}.wood:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(3deg,transparent 0px,transparent 6px,#3e311b44 7px,transparent 8px)}.wood.walnut{background:#957551}.wood.oak{background:#cbb692}.wood.dark{background:#665744}.floor-options .active .wood{outline-color:#94a282}.floor-options .active{color:#536d3c}.toggle-row{font-size:9px;display:flex;align-items:center;position:relative;margin-bottom:17px;color:#849075}.toggle-row:last-child{margin-bottom:0}.toggle-row input{position:absolute;right:0;opacity:0;width:28px;height:17px}.toggle{width:28px;height:16px;border-radius:12px;background:#dfe4d3;margin-left:auto;pointer-events:none}.toggle:before{content:'';display:block;width:10px;height:10px;border-radius:50%;background:#fdfdf7;margin:3px;transition:transform .15s}.toggle-row input:checked+.toggle{background:#8f9e76}.toggle-row input:checked+.toggle:before{transform:translateX(12px)}.toggle-row input:focus-visible+.toggle{outline:2px solid #a58c4e}.quiet-card{display:flex;gap:12px;padding:15px 12px;background:#f0f1e7;border:1px solid #e4e7d6;border-radius:7px;margin:22px 0}.quiet-card>span{font-size:18px;color:#a8ae80}.quiet-card strong{font-size:9px;color:#7d8a68;font-weight:500}.quiet-card p{font-size:8px;line-height:1.8;color:#98a182;margin:5px 0 0}.inspector-footer{border-top:1px solid #e3e5d6;padding:16px 0;display:flex;justify-content:space-between;margin-top:auto;gap:8px}.inspector-footer button{background:none;border:0;font-size:9px;color:#929c83;padding:3px 0}.inspector-footer button:hover{color:#3b5730}.empty-selection{text-align:center;padding:25px 2px}.empty-selection>span{font-size:32px;color:#a4b293}.empty-selection h3{font-family:Georgia,serif;font-size:18px;font-weight:400}.empty-selection p{font-size:10px;line-height:1.8;color:#99a28d}.selected-name{display:flex;gap:12px;align-items:center;padding-top:24px}.selected-name>span{font-size:27px;color:#a9b391}.selected-name small{font-size:7px;letter-spacing:1px;color:#a1a893}.selected-name h3{font-size:14px;margin:5px 0 0;font-weight:500}.object-actions{display:flex;gap:7px;padding:17px 0 22px}.object-actions button{flex:1}.scene-object-list{display:flex;flex-direction:column;gap:4px;margin:0 0 20px}.scene-object-list button{border:1px solid #e2e7d9;background:#f5f6ee;padding:9px;text-align:left;border-radius:5px;font-size:9px;color:#77886a;display:flex;justify-content:space-between}.scene-object-list button.active{background:#e6edda;border-color:#8eaa74}.scene-object-list span{color:#a4b08c}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);padding:12px 21px;background:#294b3b;color:#f4f5eb;border-radius:8px;font-size:12px;z-index:20;box-shadow:0 6px 25px #233a2930;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #dadfcd;border-radius:15px;background:#faf9f3;padding:30px;max-width:410px;color:#34452e}dialog::backdrop{background:#243a2a66;backdrop-filter:blur(3px)}dialog h2{font-family:Georgia,serif;font-size:25px;font-weight:400}dialog p{font-size:13px;line-height:1.7;color:#8a9580}dialog form>div{display:flex;justify-content:flex-end;gap:8px;margin-top:25px}.close-mobile,.mobile-nav{display:none}[hidden]{display:none!important}@media(min-width:1600px){main{grid-template-columns:285px minmax(330px,1fr) 290px}.library,.inspector{padding-left:28px;padding-right:28px}.catalog-card svg{height:94px}}@media(max-width:1160px){header{padding:0 20px;gap:14px}.project{margin-left:10px}.project-type,#save-status{display:none}main{grid-template-columns:222px minmax(300px,1fr) 235px}.library{padding:25px 17px}.inspector{padding:25px 16px 0}.panel-title h1{font-size:23px}.eyebrow{letter-spacing:1.2px;font-size:7px}.scene-heading{left:22px;right:18px}.hint{font-size:7px}.hint b{margin:0 3px}.scene-bottom{left:15px;right:15px}.catalog-card svg{height:67px}.tool{width:26px}.view-toolbar{gap:2px;padding:6px}.inspector-top h2{font-size:18px}.scene-heading h2{font-size:21px}}@media(max-width:880px){header{height:68px;padding:0 17px}.brand{font-size:15px}.brand-icon{width:34px;height:36px;font-size:29px;line-height:30px}.brand div>span{font-size:6px;letter-spacing:2.2px}.project{display:none}.header-actions .button{padding:9px 10px;font-size:10px}main{height:calc(100dvh - 123px);display:block}.workspace{height:100%;width:100%}.library,.inspector{display:none;position:fixed;top:68px;bottom:55px;z-index:8;width:min(340px,88vw);box-shadow:0 10px 40px #203b2925}.library.open,.inspector.open{display:flex}.library{left:0;padding:25px}.inspector{right:0;padding:25px 24px 0}.catalog-card svg{height:85px}.close-mobile{display:block;position:absolute;top:20px;right:18px;border:0;background:#edf0e3;width:25px;height:25px;border-radius:50%;font-size:20px;color:#88967b}.mobile-nav{height:55px;display:flex;position:fixed;bottom:0;left:0;right:0;background:#fafbf4;border-top:1px solid #dfe4d4;z-index:9}.mobile-nav button{flex:1;border:0;background:none;font-size:11px;color:#8b997d}.mobile-nav button.active{color:#3e5d2e;background:#edf1e4}.scene-heading{top:24px;left:24px;right:24px}.scene-bottom{bottom:18px;left:20px;right:20px}.hint{font-size:8px}.view-toolbar{bottom:67px;padding:7px 9px;gap:4px}.tool{width:31px}.stage-label{bottom:128px}.toast{bottom:73px}}@media(max-width:440px){.header-actions #export-project span{display:none}.brand{font-size:14px}.header-actions{gap:6px}.scene-heading h2{font-size:23px}.scene-heading .eyebrow{font-size:7px}.hint{max-width:230px;font-size:7px}.history>span{display:none}.live{font-size:7px}.stage-label{font-size:6px;letter-spacing:2px}.view-toolbar{gap:1px;padding:6px}.tool{width:30px}.divider{margin:0 2px}}

/* Keep destructive reset separate from one-tap atmosphere changes. */
#confirm-dialog{width:min(410px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:24px;overflow:auto;overscroll-behavior:contain}
#confirm-dialog .dialog-content{min-width:0}
#confirm-dialog .dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:24px}
#confirm-dialog .dialog-actions .button{min-height:44px;flex:1 1 130px;white-space:normal;text-align:center}
#confirm-dialog .primary{display:inline-flex;align-items:center;justify-content:center;background:#294b3b;color:#fff;visibility:visible}
@media(max-width:440px){#confirm-dialog{padding:22px}#confirm-dialog h2{font-size:23px}#confirm-dialog .dialog-actions{flex-direction:column-reverse}#confirm-dialog .dialog-actions .button{flex:auto;width:100%}}

/* InstaNook application workspace, not a landing page. */
[hidden]{display:none!important}
:root{--green:#294b3b}header{height:70px;padding:0 20px;gap:16px}.brand div>span{letter-spacing:.7px;font-size:9px}.project{margin-left:20px}.studio-nav{height:48px;display:flex;align-items:center;gap:6px;padding:5px 20px;border-bottom:1px solid var(--line);background:#f7f6f0}.studio-nav button{border:0;background:transparent;border-radius:7px;padding:9px 15px;font-size:12px;font-weight:600;white-space:nowrap}.studio-nav button.active{background:#e5eadf;color:#294b3b}.studio-nav>span{margin-left:auto;font-size:10px;color:#7b8679}main{height:calc(100dvh - 118px);grid-template-columns:260px minmax(250px,1fr) 278px}.library{padding:20px 18px}.panel-title h1{font:600 18px 'DM Sans',Arial,sans-serif;letter-spacing:-.3px;margin:8px 0 20px}.catalogue-label{margin-top:22px}.preset small{font-size:9px}.catalog-card>span{font-size:10px}.scene-heading{top:20px;left:24px}.scene-heading h2{font:500 20px 'DM Sans',Arial,sans-serif;margin-top:7px}.inspector{padding:20px}.inspector h2{font:600 18px 'DM Sans',Arial,sans-serif}.studio-panel h2{font-size:22px;font-weight:500;letter-spacing:-.5px;margin:12px 0}.studio-panel p,.info-note{font-size:12px;line-height:1.75;color:#74806f}.studio-panel h3{font-size:13px;margin-top:26px}.info-note{background:#eaf0e3;border-radius:10px;padding:14px;margin:20px 0}.feature-state{display:inline-block;background:#eee5d4;color:#8e7344;font-size:11px;padding:7px 10px;border-radius:20px}.field-label{display:block;font-size:11px;font-weight:600;margin:12px 0 9px}select{font:inherit;color:inherit;border:1px solid #dadfd3;border-radius:7px;padding:9px;background:#fbfbf7;width:100%;font-size:11px}.swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.swatch{width:27px;height:27px}.small-note{font-size:10px;line-height:1.6;color:#77816e}.photo-actions{display:flex;gap:6px}.recording #scene{pointer-events:none}.recording .view-toolbar,.recording .scene-heading,.recording .scene-bottom{visibility:hidden}.recording .inspector,.recording .header-actions,.recording [data-studio]{pointer-events:none;opacity:.5}.recording .library{pointer-events:auto}.close-mobile{font-size:25px}
@media(min-width:881px) and (max-width:1150px){main{grid-template-columns:225px minmax(250px,1fr) 245px}.library,.inspector{padding:16px}.project{margin-left:0}#save-status{display:none}.studio-nav>span{display:none}}
@media(max-width:880px){header{height:64px;padding:0 12px;gap:8px}.brand{font-size:15px}.brand-icon{width:34px;height:35px;font-size:29px;line-height:29px}.brand div>span{font-size:8px}.studio-nav{height:46px;padding:4px 8px;gap:1px;justify-content:space-between}.studio-nav button{font-size:11px;padding:9px 8px;min-height:36px}.studio-nav>span{display:none}main{display:block;height:calc(100dvh - 166px)}.library,.inspector{top:110px;bottom:56px;max-height:none;padding:20px}.workspace{height:100%}.project{display:none}.header-actions #export-project{padding:8px}.header-actions #export-image{padding:8px}.scene-heading{top:18px;left:18px}.scene-heading h2{font-size:18px}.library{width:min(86vw,330px)}.inspector{width:min(86vw,340px)}.mobile-nav{height:56px}.view-toolbar{bottom:59px}.scene-bottom{bottom:15px}.header-actions .button span{display:none}.header-actions .button{min-width:35px}.brand-icon{flex-shrink:0}}
@media(max-width:360px){.studio-nav button{font-size:10px;padding:9px 6px}.brand{font-size:13px}.brand div>span{font-size:7px}.scene-heading h2{font-size:16px}}
/* InstaNook 03 · full-screen creative editor */
:root{--line:#d8ddd0;--green:#344e43;color:#2f4138}body{background:#e9ece3}header{position:fixed;inset:0 0 auto;height:56px;z-index:30;padding:0 20px;background:#fbfcf7f5;backdrop-filter:blur(20px);gap:15px;box-shadow:0 1px 0 #3349320b}.brand{font-size:17px;gap:9px}.brand-icon{width:32px;height:32px;line-height:27px;font-size:28px;border-radius:8px;background:#344e43;color:#f4edda;border:0}.brand div>span{font-size:6px;letter-spacing:1.2px}.project{margin-left:25px}.project input{width:170px;font-size:12px}.project-type{font-size:8px}.header-actions .button{padding:8px 12px;font-size:11px}#save-status{font-size:9px}main{position:fixed;inset:56px 0 31px;display:block;height:auto}.workspace{position:absolute;inset:0;height:100%;width:100%;background:#e8ece4}#viewport{inset:0}.studio-nav{position:fixed;left:10px;top:76px;bottom:auto;width:58px;height:auto;display:flex;flex-direction:column;z-index:12;border:1px solid #d3dbcc;border-radius:12px;background:#f9fbf2ed;box-shadow:0 8px 25px #23372b0b;padding:6px 4px;gap:5px;backdrop-filter:blur(16px)}.studio-nav button{height:57px;padding:6px 2px;font-size:8px;border:0;border-radius:8px;background:transparent;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;color:#87917c;white-space:nowrap}.studio-nav button b{font-size:22px;font-weight:400;line-height:23px}.studio-nav button.active{background:#e1e9d6;color:#3e5a2e}.studio-nav>span{font-size:7px;line-height:1.6;letter-spacing:1.5px;text-align:center;margin:10px 0;color:#99a38f}.library,.inspector{position:absolute;top:18px;bottom:24px;z-index:8;border:1px solid #d4ddca;border-radius:12px;background:#fcfdf7ee;backdrop-filter:blur(18px);box-shadow:0 8px 35px #223b2a0c}.library{left:82px;width:260px;padding:20px 16px 14px;display:flex}.inspector{right:16px;width:252px;padding:20px 18px 0;display:flex}.panel-title h1{font:600 17px 'DM Sans',Arial,sans-serif;letter-spacing:-.4px;margin:8px 0 23px}.eyebrow{font-size:8px;letter-spacing:1.6px}.section-label{font-size:9px;letter-spacing:1.1px;margin-bottom:10px}.preset-list{flex-direction:row;gap:6px}.preset{flex:1;display:flex;flex-direction:column;padding:6px 3px;gap:5px;border-radius:6px;min-width:0;text-align:center}.preset-art{width:100%;height:28px;font-size:22px}.preset>span:nth-child(2){font-size:8px;font-weight:500;white-space:nowrap}.preset small,.preset-check{display:none}.catalogue-label{margin-top:22px}.catalog-search{border:1px solid #dce2d4;background:#f2f5ec;border-radius:7px;padding:9px 11px;width:100%;font-size:10px;outline:0;margin:0 0 10px}.filters{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:15px}.filters button{font-size:8px;padding:5px 7px;background:#f2f4ec;border-radius:4px;flex:0 0 auto}.filters button.active{background:#dfe9d4}.catalog{gap:9px}.catalog-card{border-radius:7px;background:#eef0e6;border-color:#dce1d3}.catalog-card svg{height:80px}.catalog-card>span{font-size:9px;padding:7px 8px 3px}.catalog-card small{display:block;background:#fcfdf7;padding:0 8px 8px;font-size:7px;color:#a1a88f}.catalog-card:hover{transform:translateY(-2px);box-shadow:0 7px 15px #394c2b12}.inspector-top h2{font:600 16px 'DM Sans',Arial,sans-serif;letter-spacing:-.3px;margin:8px 0 22px}.setting-section{padding:19px 0}.setting-heading{margin-bottom:15px}.setting-heading h3{font-size:11px}.range-label,.custom-color,.toggle-row{font-size:10px}.range-label output{font-size:9px}input[type=range]{height:4px}input[type=range]::-webkit-slider-thumb{width:14px;height:14px}select{font-size:10px!important;background:#f7f9f1!important;color:#53654b!important;border-color:#d8e1cc!important}.field-label{font-size:10px!important;margin:12px 0 8px!important}.swatches{flex-wrap:wrap;gap:8px}.swatch{width:23px;height:23px}.scene-heading{left:365px;right:286px;top:21px}.scene-heading h2{font-size:18px;margin-top:7px;color:#7a8870}.scene-heading .eyebrow{color:#9eaa92;font-size:7px}.live{font-size:7px;align-self:center}.view-toolbar{bottom:44px;left:53%;border-radius:10px;background:#fcfdf6ee;box-shadow:0 10px 30px #253b2414}.scene-bottom{bottom:10px;left:365px;right:290px}.hint{font-size:8px}.hint>span:first-child{display:none}.history>span{font-size:8px}.tool{width:33px;height:32px}.editor-status{position:fixed;bottom:0;left:0;right:0;height:31px;background:#f9fbf5;border-top:1px solid #d8dfce;display:flex;align-items:center;justify-content:space-between;padding:0 20px;z-index:20;color:#97a38a;font-size:8px;letter-spacing:.4px}.studio-panel h2{font:600 18px 'DM Sans',Arial,sans-serif;line-height:1.4;margin:10px 0 14px}.studio-panel p{font-size:10px;line-height:1.7}.studio-panel .info-note{font-size:9px}.studio-panel .catalog{margin:16px 0}.studio-panel>.button{width:100%;margin:10px 0}.surface-preview{height:48px;margin-top:10px;border:1px solid #d4dcc8;border-radius:6px;background:repeating-linear-gradient(5deg,#a58760 0px,#baa17e 10px,#998057 11px)}body.focus .library,body.focus .inspector,body.focus .studio-nav{display:none}body.focus .scene-heading{left:28px;right:28px}body.focus .scene-bottom{left:28px;right:28px}body.focus .view-toolbar{left:50%}.toast{bottom:56px}.media-studio h3{font-size:12px!important}.library:has(#media-host:not([hidden])){width:310px}.library:has(#media-host:not([hidden]))~.workspace .scene-heading{left:415px}.quiet-card{display:none}.selected-name{padding-top:18px}.scene-object-list button{padding:9px;font-size:10px}.object-actions .button{padding:9px;font-size:10px}.close-mobile{display:none}body.recording .library{z-index:35}.inspector-footer{position:sticky;bottom:0;background:#fcfdf7;padding:14px 0}.inspector-footer button{font-size:9px}.header-actions .secondary{background:#f9fbf4}.project-type{background:#edf1e5}
@media(max-width:1100px){.library{width:230px;left:77px}.inspector{width:224px;right:10px;padding:18px 14px 0}.scene-heading{left:329px;right:253px}.scene-bottom{left:329px;right:253px}.scene-heading h2{font-size:16px}.hint{display:none}.catalog-card svg{height:70px}.filters button{font-size:7px}.preset>span:nth-child(2){font-size:7px}.project{margin-left:12px}#save-status{display:none}.brand{font-size:16px}.header-actions .button{padding:8px 10px}}
@media(max-width:880px){header{height:55px;padding:0 14px}.brand{font-size:15px}.project{display:none}main{inset:55px 0 53px}.studio-nav{left:8px;top:72px;width:49px;padding:4px;gap:4px}.studio-nav button{height:48px;font-size:7px}.studio-nav button b{font-size:19px}.studio-nav>span{font-size:6px}.library,.inspector{display:none;position:fixed;top:67px;bottom:66px;width:min(330px,calc(100vw - 75px));z-index:15;border-radius:12px}.library{left:65px;padding:22px 18px}.inspector{right:10px;padding:23px 20px 0}.library.open,.inspector.open{display:flex}.library:has(#media-host:not([hidden])){width:min(330px,calc(100vw - 75px))}.scene-heading,.library:has(#media-host:not([hidden]))~.workspace .scene-heading{left:74px;right:18px;top:25px}.scene-heading h2{font-size:19px}.scene-heading .eyebrow{font-size:7px}.scene-heading .live{font-size:6px;padding:5px 7px}.scene-bottom{left:75px;right:20px;bottom:12px}.scene-bottom .hint{display:none}.view-toolbar{left:55%;bottom:53px;gap:1px;padding:6px}.tool{width:29px}.mobile-nav{height:53px;z-index:21}.editor-status{display:none}.close-mobile{display:block;top:16px;right:14px}.preset>span:nth-child(2){font-size:9px}.catalog-card svg{height:85px}.filters button{font-size:9px}.header-actions #export-project{display:none}.header-actions #focus-mode span{display:none}.header-actions #export-image span{display:none}.header-actions .button{padding:8px 10px}.header-actions{gap:6px}.catalog-card>span{font-size:10px}.catalog-card small{font-size:8px}.library.open .panel-title h1{margin-right:20px}.scene-heading .live{display:none}.toast{bottom:65px}.mobile-nav button{font-size:10px}body.focus .scene-heading{left:20px}body.focus .view-toolbar{left:50%}.inspector-tabs button{font-size:11px}.project-type{display:none}}
/* Studio 4: a camera frame, not a different export composition. */
#viewport{border:1px solid #b9c4b0;border-radius:4px;overflow:visible;box-shadow:0 16px 50px #24362918;background:#e8ece4}#scene{border-radius:3px}.frame-caption{position:absolute;top:-24px;left:0;right:0;font-size:9px;letter-spacing:.7px;color:#78876e;text-align:center;pointer-events:none}.workspace{background:#e1e6dc}.scene-heading{top:14px}.scene-heading h2{font-size:16px}.scene-heading .eyebrow{display:none}.scene-bottom{bottom:7px}.view-toolbar{bottom:14px;left:53%}#walk-panel{position:absolute;left:365px;top:63px;z-index:6;background:#f7faf0ee;border:1px solid #d2dcc9;border-radius:9px;padding:8px;max-width:290px;backdrop-filter:blur(12px)}#walk-panel button{background:#f9fcf3;border:1px solid #ccd8bf;border-radius:6px;padding:7px 10px;font-size:10px;color:#405637}#walk-panel #walk-toggle{background:#3c5545;color:#fff;border-color:#3c5545;width:100%}#walk-controls{margin-top:8px}.walk-arrows,.walk-row{display:flex;gap:5px;margin-bottom:6px}.walk-arrows button{flex:1;font-size:17px!important;touch-action:none}.walk-row button{padding:6px!important;font-size:9px!important}#walk-panel label{display:flex;align-items:center;gap:8px;font-size:9px}#walk-panel input{width:160px}#route-info{font-size:8px;line-height:1.5;color:#7e8d73;margin:6px 0 0;max-width:260px}#walk-help{position:absolute;bottom:57px;left:50%;transform:translateX(-50%);font-size:10px;color:#5b7052;background:#f9fcf0dd;border-radius:5px;padding:7px;white-space:nowrap;pointer-events:none}.room-dimensions h3{font-size:12px;margin:0}.room-dimensions p{font-size:9px;color:#87977c;line-height:1.6}.room-dimensions input{margin:14px 0}.catalogue-label{margin-top:0}.recording-route{background:#a15d50!important;color:white!important}body.walking .view-toolbar{display:none}body.focus #walk-panel{left:25px}body.recording #walk-panel{opacity:.2}body.recording #walk-help{display:none}
@media(max-width:1100px){#walk-panel{left:329px}}@media(max-width:880px){#walk-panel{left:70px;top:62px;max-width:270px;padding:6px}#walk-panel button{padding:6px 8px;font-size:9px}#walk-controls .walk-row button{font-size:8px!important}.view-toolbar{bottom:14px;left:55%}#walk-help{bottom:53px;font-size:7px;width:max-content;max-width:90%;white-space:normal}.frame-caption{font-size:7px;top:-19px}.scene-heading{top:14px}.scene-heading h2{font-size:15px}#route-info{font-size:7px}.scene-bottom{left:80px;right:15px}#walk-panel input{width:140px}body.walking #walk-panel{top:62px}body.focus #walk-panel{left:12px}.mobile-nav{height:53px}}

@media(min-width:881px){#walk-panel{left:410px;top:58px;width:260px;max-width:calc(100vw - 700px)}body.focus #walk-panel{left:25px;max-width:290px}}

.quick-frame{display:flex!important;align-items:center;justify-content:space-between;gap:8px;font-size:9px!important}.quick-frame select{font:inherit;border:1px solid #d2d8c8;border-radius:6px;padding:4px;background:#f8faf2;color:#385143}

/* Studio 5: scene-first workspace, shared Heallustrator HUD. */
.he-editor .workspace .scene-heading{left:20px;right:20px;top:12px;z-index:2}.he-editor .scene-heading h2{font-size:14px}.he-editor .scene-heading .live{display:none}.he-editor .scene-bottom{left:auto;right:20px;bottom:20px;z-index:5}.he-editor .scene-bottom .hint{display:none}.he-editor .editor-status{display:none}.he-editor .view-toolbar{left:50%;bottom:14px;z-index:5}.he-editor .frame-caption{top:auto;bottom:8px;z-index:1;font-size:8px;color:#7b8978}.he-editor #walk-panel{left:18px;top:50px;width:200px;max-width:220px;background:#f8fbf1ed;border-radius:12px;padding:8px;z-index:6}.he-editor #walk-panel button{min-height:36px}.he-editor #walk-panel .quick-frame{margin-top:5px}.he-editor #walk-panel #route-info{font-size:8px}.he-editor #walk-panel .walk-arrows button{min-height:42px}.he-editor #walk-panel .walk-row{flex-wrap:wrap}.he-editor #walk-panel .walk-row button{flex:1}.he-editor .camera-lens summary{font-size:10px;padding:7px 0;cursor:pointer}.he-editor #walk-panel input{width:100%}.he-editor .two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.he-editor .two-fields label{font-size:11px}.he-editor .two-fields select{margin-top:6px}.he-editor .room-dimensions #roof-toggle{width:100%}.he-editor .window-settings h3{font-size:13px;margin:0 0 18px}.he-editor .close-mobile{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;z-index:5;top:10px;right:10px}.he-editor #library-content>.panel-title .close-mobile{display:none}.he-editor .panel-title h1{padding-right:30px}.he-editor #media-host{padding-top:8px}.he-editor #media-host [data-sound-lab] h3{padding-right:22px}.he-editor.focus .workspace{left:0}.he-editor.focus .studio-nav{display:none}.he-editor #walk-help{bottom:75px;z-index:3}.he-editor .studio-nav{border-radius:0;border-width:0 1px 0 0;gap:6px;align-items:stretch}.he-editor .studio-nav button{font-size:9px}.he-editor .scene-heading{pointer-events:none}.he-editor .setting-section p{font-size:11px;line-height:1.5}.he-editor .setting-section label{font-size:11px}.he-editor input[type=range]{margin:18px 0}.he-editor input[type=range]::-webkit-slider-thumb{width:20px;height:20px}.he-editor .catalog-card>span{font-size:11px}.he-editor .library,.he-editor .inspector{scroll-padding-top:48px}
@media(max-width:880px){.he-editor>header{height:56px;padding:0 12px}.he-editor header .brand{font-size:14px}.he-editor header #fullscreen,.he-editor header #focus-mode{display:none}.he-editor header .button{min-height:38px;min-width:38px}.he-editor .workspace .scene-heading{left:14px;top:10px}.he-editor .scene-heading h2{font-size:12px}.he-editor #walk-panel{left:12px;top:38px;width:152px;max-width:160px;padding:6px}.he-editor #walk-panel #walk-toggle{font-size:10px;min-height:36px;padding:6px}.he-editor #walk-panel .quick-frame{font-size:8px!important}.he-editor #walk-panel .quick-frame select{width:102px;min-height:30px;padding:4px}.he-editor #route-info{display:none}.he-editor #walk-controls{position:fixed;left:12px;right:12px;bottom:calc(var(--he-dock) + 12px);background:#fafcf3ec;border:1px solid #d8dfd1;padding:10px;border-radius:12px;backdrop-filter:blur(12px)}.he-editor #walk-controls .walk-arrows{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.he-editor #walk-controls .walk-row{display:grid;grid-template-columns:1fr 1fr 40px;margin-bottom:0}.he-editor #walk-controls .walk-row button{min-height:36px;font-size:10px!important}.he-editor .camera-lens{display:none}.he-editor #walk-help{display:none}.he-editor .view-toolbar{bottom:12px;padding:4px;gap:0}.he-editor .view-toolbar .tool{min-width:35px;min-height:35px}.he-editor .view-toolbar .divider{margin:0 2px}.he-editor .scene-bottom{right:10px;bottom:65px}.he-editor .scene-bottom .history{background:#fafcf1c9;border-radius:8px}.he-editor .scene-bottom .history button{min-width:34px;min-height:34px}.he-editor #library,.he-editor #inspector{max-height:52dvh;padding:22px 18px 18px;border:1px solid #ccd6c3}.he-editor #library::before,.he-editor #inspector::before{content:'';display:block;position:sticky;top:-12px;width:34px;height:4px;background:#c7d2bf;border-radius:10px;margin:-10px auto 12px;z-index:1}.he-editor .catalog{grid-template-columns:repeat(3,1fr);gap:8px}.he-editor .catalog-card svg{height:65px}.he-editor .catalog-card>span{font-size:9px;line-height:1.3;padding:6px}.he-editor .catalog-card small{display:none}.he-editor .filters button{font-size:10px;padding:7px 9px}.he-editor .catalog-search{font-size:14px;min-height:40px}.he-editor .panel-title h1{font-size:17px;margin:6px 0 14px}.he-editor .inspector-top .eyebrow{display:none}.he-editor .inspector-top h2{margin:0 0 14px}.he-editor .inspector-tabs{position:sticky;top:0;background:var(--he-panel);padding-top:4px;z-index:2}.he-editor .setting-section{padding:16px 0}.he-editor .range-label{font-size:12px}.he-editor input[type=range]{height:5px;margin:22px 0}.he-editor input[type=range]::-webkit-slider-thumb{width:24px;height:24px}.he-editor select{min-height:40px;font-size:13px!important}.he-editor .mobile-nav button{font-size:10px;line-height:1.4;padding:6px 2px}.he-editor .frame-caption{bottom:3px;font-size:7px}.he-editor .library .shared-close{position:sticky;float:right;top:0;margin-left:auto;margin-bottom:-36px}.he-editor #media-host{width:100%;padding-top:12px}.he-editor .media-studio button{min-height:40px}.he-editor .media-studio .ms-grid{gap:12px}.he-editor .media-studio .ms-row button{flex:1}.he-editor .media-studio select{width:100%}.he-editor .studio-panel p{font-size:12px}}
@media(max-width:380px){.he-editor .mobile-nav button{font-size:9px}.he-editor .catalog{grid-template-columns:repeat(2,1fr)}.he-editor header .brand div>span{font-size:6px}.he-editor #walk-panel{top:34px;width:145px}}
@media(max-width:880px){.he-editor[data-he-open-panel]:not([data-he-open-panel=""]) #walk-panel{display:none}.he-editor .close-mobile{min-width:44px;min-height:44px}.he-editor .header-actions .button{min-width:44px;min-height:44px}}
/* Studio 5.1: tool-specific inspectors and selectable windows. */
.he-editor .window-catalog{padding:16px 4px;border-bottom:1px solid var(--he-line,#dce2d5);margin-bottom:16px}.he-editor .window-catalog h3{margin:0 0 5px}.he-editor .window-catalog p,#window-controls p{font-size:12px;line-height:1.5;color:#78816f}.he-editor .window-add-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.he-editor .window-add-grid button{min-height:44px;padding:8px;border:1px solid #dce2d5;border-radius:10px;background:#f6f7ef;color:#405548}.he-editor #window-controls{padding-bottom:12px}.he-editor #window-controls small{font-size:10px;letter-spacing:1.5px;color:#89947c}.he-editor #inspector[data-context="object"] .inspector-footer{display:none}.he-editor .empty-selection p{line-height:1.6}

/* Approved InstaNook identity, keeping the shared editor shell unchanged. */
.he-editor .brand{gap:8px}.he-editor .approved-brand-logo{display:block;width:66px;height:44px;object-fit:contain;border-radius:8px;background:#11180e;flex:none}.he-editor .loading-brand-logo{display:block;width:240px;max-width:60vw;height:auto;margin:0 auto 18px;border-radius:20px}.he-editor .loading{text-align:center}.he-editor .showcase-brand-logo{display:block;width:100%;height:auto;border-radius:16px;margin:0 0 22px;background:#11180e}@media(max-width:880px){.he-editor .approved-brand-logo{width:60px;height:40px;border-radius:7px}.he-editor .brand{gap:7px}.he-editor .brand div{font-size:14px}}

.he-editor #object-text{width:100%;box-sizing:border-box;margin-top:8px;padding:10px;border:1px solid #dce2d5;background:#fafbf6;border-radius:10px;color:#405548;font:inherit;resize:vertical}
/* Keep history actions in the clear viewport, never underneath a tool sheet. */
@media(min-width:881px){.he-editor[data-he-open-panel="inspector"] .scene-bottom{right:calc(var(--he-sheet-width) + 24px)}}
@media(max-width:880px){.he-editor[data-he-open-panel="library"] .scene-bottom,.he-editor[data-he-open-panel="inspector"] .scene-bottom{bottom:calc(52dvh + 20px)}}

/* Short landscape phones need a side sheet: a half-height bottom sheet leaves
   almost no scene between the header and mobile dock. Keep tool chrome in the
   same clear horizontal region as the fitted canvas. */
@media(max-width:880px) and (max-height:540px) and (orientation:landscape){
 .he-editor{--inook-landscape-sheet:min(280px,44vw)}
 .he-editor[data-he-open-panel] #library,.he-editor[data-he-open-panel] #inspector{top:calc(var(--he-top) + 8px);bottom:calc(var(--he-dock) + 8px);width:var(--inook-landscape-sheet);height:auto;max-height:none;padding:12px 14px;left:auto;right:8px}
 .he-editor[data-he-open-panel] #library{left:8px;right:auto}
 .he-editor[data-he-open-panel] #library::before,.he-editor[data-he-open-panel] #inspector::before{display:none}
 .he-editor[data-he-open-panel] .catalog{grid-template-columns:repeat(2,1fr)}
 .he-editor[data-he-open-panel] .inspector-top{position:sticky;top:-12px;z-index:8;min-height:44px;padding:10px 48px 6px 0;background:var(--he-panel)}
 .he-editor[data-he-open-panel] .inspector-top h2{margin:0}
 .he-editor[data-he-open-panel] .library .shared-close{z-index:8;background:var(--he-panel)}
 .he-editor[data-he-open-panel="library"] .view-toolbar{left:calc(50% + (var(--inook-landscape-sheet) + 18px)/2)}
 .he-editor[data-he-open-panel="inspector"] .view-toolbar{left:calc(50% - (var(--inook-landscape-sheet) + 18px)/2)}
 .he-editor[data-he-open-panel]:not([data-he-open-panel=""]) .view-toolbar{bottom:4px;max-width:calc(100% - var(--inook-landscape-sheet) - 32px);overflow-x:auto}
 .he-editor[data-he-open-panel="library"] .workspace .scene-heading{left:calc(var(--inook-landscape-sheet) + 28px)}
 .he-editor[data-he-open-panel="inspector"] .workspace .scene-heading{right:calc(var(--inook-landscape-sheet) + 28px)}
 .he-editor[data-he-open-panel="library"] .scene-bottom,.he-editor[data-he-open-panel="inspector"] .scene-bottom{top:12px;bottom:auto}
 .he-editor[data-he-open-panel]:not([data-he-open-panel=""]) #object-count{display:none}
 .he-editor[data-he-open-panel="inspector"] .scene-bottom{right:calc(var(--inook-landscape-sheet) + 28px)}
}
