:root{color-scheme:dark;--bg:#0b1728;--panel:#101f32;--panel2:#17283d;--line:#28394c;--muted:#8e9fb4;--ink:#f4f6f9;--accent:#dfbc7a;--mint:#8bc7ab;--radius:16px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{color:inherit;cursor:pointer;border:0;background:none}button:disabled{opacity:.3;cursor:default}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid var(--accent);outline-offset:3px}button:hover:not(:disabled){filter:brightness(1.12)}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.app-header{height:89px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:27px;padding:0 30px}.brand{display:flex;align-items:center;gap:11px;line-height:1}.brand b{font-size:20px;letter-spacing:2.6px;font-weight:650}.brand small{display:block;font-size:9px;letter-spacing:4px;margin-top:7px;color:#a5b5c9}.brand-mark{position:relative;color:var(--accent);width:38px;height:39px}.brand-mark svg{width:37px;height:33px;stroke-width:1.2}.brand-mark i{position:absolute;width:3px;height:3px;border-radius:50%;background:var(--accent);bottom:1px}.brand-mark i:nth-of-type(1){left:9px}.brand-mark i:nth-of-type(2){left:18px}.brand-mark i:nth-of-type(3){left:27px}.header-divider{height:30px;width:1px;background:var(--line)}.product-name{font-size:16px;font-weight:550;letter-spacing:-.2px}.product-name span{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:6px;letter-spacing:.1px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:13px}.offline-status{font-size:11px;display:flex;align-items:center;gap:8px;color:var(--muted);background:#142237;border:1px solid #26374c;border-radius:30px;padding:10px 13px;white-space:nowrap}.offline-status.ready{color:#abd4bd;background:#102c2d;border-color:#254844}.status-dot,.tiny-dot{display:inline-block;width:5px;height:5px;background:currentColor;border-radius:50%;flex-shrink:0}.status-dot{width:6px;height:6px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:9px;color:var(--muted)}.icon-btn:hover{background:var(--panel2)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 17px;border-radius:9px;font-size:12px;font-weight:550;white-space:nowrap}.button svg{width:17px;height:17px}.button.soft{background:#1c2b40}.button.outlined{border:1px solid #35465c}.button.primary{background:var(--accent);color:#182333;border:1px solid var(--accent)}.button.small{min-height:35px;padding:0 12px;font-size:11px}.button.full{width:100%}.studio{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-height:640px;height:calc(100dvh - 130px)}.workspace{padding:26px 26px 0 30px;min-width:0;display:flex;flex-direction:column}.project-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;min-height:50px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:600;color:var(--muted);line-height:1.5}.project-title{font-size:23px;letter-spacing:-.6px;font-weight:500;text-align:left;display:flex;align-items:center;gap:12px;margin:6px 0 0;padding:0;max-width:100%}.project-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:38vw}.project-title svg{width:13px;color:#6f8199}.project-actions{display:flex;align-items:center;gap:13px}.save-state{font-size:10px;color:#78948a;white-space:nowrap}.canvas-wrap{position:relative;flex:1;min-height:360px;background:#081220;border:1px solid #304159;border-radius:15px;overflow:hidden;isolation:isolate;box-shadow:0 10px 50px #0002}canvas{display:block;width:100%;height:100%;touch-action:none;position:absolute;inset:0}.viewport-top{position:absolute;left:20px;right:20px;top:18px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.mode-switch{display:flex;gap:3px;padding:4px;background:#0b1526dd;border:1px solid #ffffff1c;border-radius:10px;backdrop-filter:blur(16px);pointer-events:auto}.mode-switch button{display:flex;align-items:center;gap:7px;padding:10px 12px;border-radius:6px;color:#aebacb;font-size:11px}.mode-switch button svg{width:14px;height:14px}.mode-switch button.active{background:#f2f1ed;color:#152236}.scene-label{font-size:9px;letter-spacing:2px;padding:8px 10px;border-radius:6px;background:#0b1526ac;color:#e1e5ea;backdrop-filter:blur(12px)}.canvas-bottom{position:absolute;left:20px;right:20px;bottom:17px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.layout-badge{display:flex;align-items:center;gap:7px;background:#0b1526b8;border:1px solid #ffffff16;padding:10px 12px;border-radius:7px;font-size:10px;backdrop-filter:blur(10px);color:#d6dedf}.layout-badge .tiny-dot{color:#95c6aa}.zoom-controls{display:flex;background:#0b1526df;border:1px solid #ffffff19;border-radius:8px;pointer-events:auto;align-items:center}.zoom-controls button{height:35px;min-width:34px;font-size:10px}.zoom-controls svg{width:15px;height:15px}.workspace-footer{display:flex;align-items:center;justify-content:space-between;min-height:47px;gap:15px;color:#6f839d;font-size:9px}.workspace-footer button{display:flex;align-items:center;gap:6px;white-space:nowrap;color:#cbd4e1;font-size:11px;padding:8px 0}.workspace-footer button svg{width:14px;height:14px}.control-panel{background:var(--panel);border-left:1px solid var(--line);padding:27px 24px 15px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#35465c transparent}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.panel-heading .eyebrow{color:#a4b2c5;font-size:8px;letter-spacing:1.8px}h1{font-size:26px;font-weight:450;letter-spacing:-.7px;margin:7px 0 0;line-height:1.2}.power-switch{width:37px;height:22px;border-radius:20px;background:#3b495e;padding:3px;transition:background .2s}.power-switch span{display:block;background:#e3e9ee;width:16px;height:16px;border-radius:50%;transition:transform .2s}.power-switch.on{background:#d9bd87}.power-switch.on span{background:#172638;transform:translateX(15px)}.control-block{padding:0 0 23px;margin-bottom:22px;border-bottom:1px solid var(--line)}.label-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.label-row label,.label{font-size:11px;font-weight:500}.label-row output{font-size:10px;color:#c9b58d}.subtle{color:#7d90a8;font-size:9px}.time-slider{display:flex;align-items:center;gap:10px;margin-top:18px}.time-slider svg{width:16px;height:16px;color:#c6b181}.time-slider svg:last-child{color:#94a8c5}.range-labels{display:flex;justify-content:space-between;color:#6f849f;font-size:9px;margin-top:8px}.time-block .range-labels{padding:0 26px}.time-block{padding-bottom:21px;margin-bottom:20px}input[type=range]{width:100%;height:20px;appearance:none;-webkit-appearance:none;cursor:pointer;background:transparent;min-width:0;touch-action:pan-y}input[type=range]::-webkit-slider-runnable-track{height:3px;background:linear-gradient(to right,var(--accent) 0%,var(--accent) var(--fill,50%),#2d415b var(--fill,50%),#2d415b 100%);border-radius:6px}input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border-radius:50%;background:#eee9df;border:2px solid var(--panel);box-shadow:0 0 0 1px #a89b82;margin-top:-5px}input[type=range]::-moz-range-track{height:3px;background:#4c5b6e}input[type=range]::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:#eee9df;border:1px solid #a89b82}.warm-slider::-webkit-slider-runnable-track{background:linear-gradient(90deg,#f6eee0,#ffc271)!important}.preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.preset{min-height:89px;border:1px solid #2b3b51;border-radius:10px;background:#132237;display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:14px 12px 11px;position:relative}.preset>span:not(.beads){font-size:10px;font-weight:550}.preset small{display:block;font-size:8px;color:#7d91ab;margin-top:5px;font-weight:400;white-space:nowrap}.preset.active{border-color:#c9ae78;background:#262d36}.preset.active:after{content:'✓';position:absolute;right:8px;top:8px;font-size:9px;color:#d7bc83}.beads{display:flex;align-items:center;gap:10px;margin-bottom:14px;height:6px}.beads i{display:block;width:4px;height:4px;border-radius:50%;background:var(--bead,#ffe1ac);box-shadow:0 0 8px 1px var(--bead,#ffe1ac)}.beads.architecture i:nth-child(even){opacity:.18}.christmas i:nth-child(3n+1){--bead:#ff4762}.christmas i:nth-child(3n+2){--bead:#30d3a3}.christmas i:nth-child(3n){--bead:#ffffed}.halloween i:nth-child(odd){--bead:#ff914a}.halloween i:nth-child(even){--bead:#b177ff}.patriotic i:nth-child(3n+1){--bead:#ff4258}.patriotic i:nth-child(3n+2){--bead:#fff}.patriotic i:nth-child(3n){--bead:#5f97ff}.custom-preset{grid-column:span 2;min-height:60px;flex-direction:row;align-items:center;gap:12px;padding:11px 13px}.custom-icon{display:flex;width:32px;height:32px;align-items:center;justify-content:center;background:#ffffff08;border:1px solid #ffffff09;border-radius:8px;color:#c8b3d4}.custom-icon svg{width:16px;height:16px}.preset-arrow{margin-left:auto;color:#7f91aa;font-size:16px!important}.custom-preset.active:after{right:8px;top:6px}.presets-block{padding-bottom:21px;margin-bottom:20px}.panel-footnote{display:flex;align-items:center;gap:7px;justify-content:center;color:#7189a1;font-size:9px;padding:0 0 12px}.panel-footnote svg{width:13px;height:13px;color:#a7baad}.bottom-bar{height:41px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-top:1px solid var(--line);color:#5f748f;font-size:8px;letter-spacing:1.3px}.bottom-bar>span{display:flex;align-items:center;gap:8px}.bottom-bar button{display:flex;align-items:center;gap:5px;font-size:10px;letter-spacing:0;color:#91a1b6}.bottom-bar svg{width:12px;height:12px}.editor-toolbar{position:absolute;left:20px;top:80px;display:flex;align-items:center;gap:3px;background:#0c1829ed;border:1px solid #455368;border-radius:10px;padding:5px;backdrop-filter:blur(10px)}.editor-toolbar>span{width:1px;height:24px;background:var(--line);margin:0 4px}.tool{height:39px;display:flex;align-items:center;gap:5px;border-radius:6px;padding:0 9px;color:#a8b7ca;font-size:10px}.tool.active{background:#354355;color:#f2d6a0}.tool svg{width:16px;height:16px}.tool.icon-only{width:34px;padding:0;justify-content:center}.drawing-tip{position:absolute;bottom:65px;left:50%;transform:translateX(-50%);background:#132338f2;border:1px solid #576272;border-radius:10px;display:flex;align-items:center;gap:13px;padding:7px 8px 7px 15px;box-shadow:0 10px 35px #0006;white-space:nowrap}.drawing-tip>span{font-size:10px;color:#d2dbe5}.drawing-tip .icon-btn{width:25px;height:30px}.drawing-tip svg{width:14px;height:14px}.panel-intro{font-size:11px;line-height:1.7;color:#92a5bc;margin:-10px 0 20px}.section-label{margin-top:25px}.segment-list{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}.segment-item{display:flex;align-items:center;gap:9px;border:1px solid var(--line);padding:12px;border-radius:8px;text-align:left;font-size:11px}.segment-item .number{border:1px solid #42536b;border-radius:4px;width:19px;height:19px;font-size:9px;display:flex;justify-content:center;align-items:center;color:#ceb98b}.segment-item .segment-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.segment-item small{font-size:9px;color:var(--muted)}.segment-item.active{border-color:#ac956b;background:#242d39}.inspector{padding:14px;background:#15253a;border:1px solid #2d4058;border-radius:10px;margin-bottom:18px}.inspector .label-row{margin-top:15px}.inspector .label-row:first-child{margin:0 0 5px}.inspector .icon-btn{width:30px;height:25px}.inspector label{font-size:10px}.check-row{display:flex;align-items:center;gap:9px;font-size:11px;margin:18px 0}.check-row input{width:17px;height:17px;accent-color:var(--accent)}input[type=text],select{width:100%;min-height:42px;background:#0d1b2c;border:1px solid #35465d;border-radius:7px;padding:10px;color:#e6eaf0;font-size:12px}input[type=text]:focus,select:focus{outline:1px solid var(--accent)}.field-label{display:block;font-size:11px;color:#aabbcd;margin:15px 0 8px}.field-label input[type=range]{display:block;margin-top:5px}.micro-copy{color:#8194af;font-size:10px;line-height:1.65}.settings-details{border-top:1px solid var(--line);padding:17px 0}.settings-details summary{cursor:pointer;font-size:12px;font-weight:500;list-style-position:outside;margin-left:10px;margin-bottom:17px}.settings-details .label-row{margin-top:14px;margin-bottom:5px}.settings-details .label-row label{font-size:10px}.photo-buttons{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.editor-next{padding-top:20px;border-top:1px solid var(--line)}.danger{color:#ee9e9e!important}.text-button{font-size:10px;color:#d4bc8e;padding:4px 0}.row{display:flex;align-items:center;gap:10px}.color-inputs{display:flex;gap:12px}.color-inputs label{font-size:9px;color:#91a4bf;flex:1}.color-inputs input{display:block;width:100%;height:36px;border:1px solid #405169;padding:3px;border-radius:7px;background:#17273d;margin-top:6px}.quick-swatches{display:flex;gap:11px;margin-top:17px}.quick-swatches button{height:18px;width:18px;border-radius:50%;background:var(--swatch);border:2px solid #a6b6cc44;box-shadow:0 0 12px #0003}#speedControl{margin-top:20px}.empty-scene{position:absolute;inset:80px 30px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.empty-scene>svg{width:58px;height:58px;color:#c3aa7f;margin-bottom:10px;stroke-width:.9}.empty-scene h2{font-weight:400;font-size:24px;letter-spacing:-.5px}.empty-scene p{color:var(--muted);font-size:12px;max-width:330px;line-height:1.8;margin:0 0 25px}.toast{position:fixed;bottom:58px;left:50%;transform:translateX(-50%);background:#e8e6e1;color:#16243a;border:1px solid #c4c6c8;border-radius:10px;padding:14px 20px;font-size:12px;max-width:min(600px,90vw);box-shadow:0 8px 30px #0007;z-index:40;line-height:1.5}.toast.error{background:#431e2b;color:#ffd8dc;border-color:#ae5d69}dialog{background:var(--panel);border:1px solid #425268;border-radius:18px;color:var(--ink);padding:28px;max-width:calc(100vw - 36px);max-height:88dvh;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#050d1dd9;backdrop-filter:blur(7px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.dialog-head h2{font-size:26px;letter-spacing:-.6px;font-weight:450;margin:6px 0 0}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.gallery-dialog{width:960px}.gallery-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.gallery-actions p{font-size:12px;color:var(--muted)}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.project-card{border:1px solid #304259;border-radius:12px;overflow:hidden;background:#132338;position:relative}.project-card>button{display:block;width:100%;text-align:left;padding:0}.project-card img,.card-placeholder{width:100%;height:145px;object-fit:cover;background:#1c3045;display:block}.card-placeholder{display:flex;align-items:center;justify-content:center;color:#8092a9}.project-card-title{padding:15px 14px 7px;font-size:13px;display:block}.project-card small{display:block;margin:0 14px 13px;font-size:9px;color:#8fa3bd}.project-card-actions{display:flex;gap:5px;padding:0 10px 10px;justify-content:space-between;flex-wrap:wrap}.project-card-actions button{padding:8px 5px;font-size:9px;color:#a2b4cc}.compact-dialog{width:430px}.compact-dialog p{color:#a1b2c8;font-size:12px;line-height:1.8}.help-dialog{width:710px}.help-steps{counter-reset:steps;list-style:none;padding:0;display:grid;gap:20px}.help-steps li{counter-increment:steps;padding-left:43px;position:relative}.help-steps li:before{content:counter(steps);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;border:1px solid #856f4c;color:var(--accent);display:flex;align-items:center;justify-content:center;font-size:12px}.help-steps b{font-size:13px;font-weight:550}.help-steps p{font-size:12px;line-height:1.7;color:#94a8c1;margin:6px 0 0}.help-note{background:#0b1829;padding:18px;border-radius:10px;margin-top:23px;font-size:12px;color:#d2bd96}.help-note p{color:#8fa5c0;font-size:11px;line-height:1.7;margin-bottom:0}.presentation-exit{position:absolute;left:20px;top:18px;background:#112138e6;border:1px solid #ffffff30;z-index:4;backdrop-filter:blur(10px)}body.presenting .app-header,body.presenting .bottom-bar,body.presenting .project-bar,body.presenting .workspace-footer,body.presenting .mode-switch,body.presenting .editor-toolbar,body.presenting .drawing-tip{display:none!important}body.presenting .studio{height:100dvh;min-height:0;grid-template-columns:minmax(0,1fr) 295px}body.presenting .workspace{padding:14px}body.presenting .control-panel{padding-top:30px}body.presenting .canvas-wrap{border-radius:12px}body.presenting .scene-label{margin-left:auto}.control-panel::-webkit-scrollbar{width:4px}.control-panel::-webkit-scrollbar-thumb{background:#35465c;border-radius:4px}@media(min-width:1450px){.studio{grid-template-columns:minmax(0,1fr) 355px}.control-panel{padding:32px}.canvas-wrap{min-height:450px}.workspace{padding:30px 32px 0 35px}.preset{min-height:100px}.control-block{margin-bottom:25px;padding-bottom:27px}}@media(max-width:1100px){.app-header{height:76px;padding:0 20px;gap:20px}.header-actions{gap:7px}.studio{height:calc(100dvh - 113px);grid-template-columns:minmax(0,1fr) 292px;min-height:590px}.control-panel{padding:25px 19px}.workspace{padding:22px 18px 0 20px}.project-title{font-size:20px}.save-state{display:none}.project-actions{gap:5px}.eyebrow{font-size:8px}.bottom-bar{height:37px;padding:0 20px}.preset{padding:12px 10px;min-height:86px}.beads{gap:9px}.offline-status{padding:8px 10px;font-size:10px}.editor-toolbar{gap:0;padding:4px;left:12px}.tool{padding:0 7px}.tool.icon-only{width:31px}.drawing-tip>span{display:none}.product-name{font-size:14px}.product-name span{font-size:9px}}@media(max-width:820px){.app-header{padding:0 15px;gap:15px}.product-name,.header-divider{display:none}.header-actions{gap:6px}.brand b{font-size:17px}.brand small{font-size:8px}.offline-status{font-size:9px}.button.soft{padding:0 12px}.studio{grid-template-columns:minmax(0,1fr) 260px}.control-panel{padding:24px 15px}.workspace{padding-left:15px;padding-right:12px}.project-title{font-size:18px}.project-title span{max-width:35vw}.project-actions .button{padding:0 9px}.viewport-top{left:12px;right:12px;top:12px}.mode-switch button{padding:9px 8px;font-size:10px}.mode-switch button svg{display:none}.canvas-bottom{left:12px;right:12px;bottom:12px}.layout-badge{padding:8px;font-size:8px}.scene-label{font-size:8px}.project-grid{grid-template-columns:repeat(2,1fr)}.preset small{font-size:7px}.beads{gap:8px}.workspace-footer{font-size:8px}.bottom-bar>span{font-size:7px;letter-spacing:.8px}h1{font-size:24px}.tool span{display:none}.editor-toolbar{top:67px}.canvas-wrap{min-height:330px}}@media(max-width:620px){.studio{display:flex;flex-direction:column;height:auto;min-height:0}.workspace{padding:18px 12px 0}.canvas-wrap{height:53dvh;min-height:340px;flex:auto}.control-panel{border-left:0;border-top:1px solid var(--line);padding:25px 20px;overflow:visible}.panel-heading{margin-bottom:20px}.preset-grid{grid-template-columns:repeat(2,1fr)}.preset{min-height:88px}.preset small{font-size:9px}.beads{gap:13px}.project-title span{max-width:65vw}.app-header{height:70px}.brand-mark{display:none}.header-actions>.icon-btn{display:none}.offline-status{font-size:8px;max-width:120px;padding:8px}.bottom-bar{padding:0 15px}.bottom-bar>span{display:none}.bottom-bar button{margin-left:auto}.workspace-footer{min-height:43px}.project-bar{margin-bottom:14px}.scene-label{display:none}.gallery-actions{flex-direction:column;align-items:flex-start;gap:5px}.gallery-dialog{padding:20px}.project-grid{grid-template-columns:1fr}.project-card img{height:190px}.help-dialog{padding:22px}.dialog-footer{flex-wrap:wrap}.dialog-head h2{font-size:22px}.toast{bottom:20px}body.presenting .studio{display:flex;height:auto}body.presenting .canvas-wrap{height:62dvh;min-height:360px}body.presenting .workspace{padding:8px}body.presenting .control-panel{padding:20px}.header-actions .button{min-height:36px;font-size:10px}.app-header .brand{gap:0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Soffit finishes and reflected-light controls */
.ambient-control{margin-top:-7px;padding-bottom:22px;margin-bottom:21px;border-bottom:1px solid var(--line)}.ambient-control .label-row{margin-bottom:5px}.track-finish{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin:17px 0}.track-finish .row{margin:10px 0;gap:12px}.track-finish input[type=color]{width:38px;height:29px;border:1px solid #526175;background:#15253a;border-radius:6px;padding:3px;cursor:pointer}.track-finish .micro-copy{display:block;font-size:9px}.track-finish p{margin-bottom:0}.sampling-hint{position:absolute;left:50%;bottom:66px;transform:translateX(-50%);display:flex;align-items:center;gap:14px;padding:8px 10px 8px 18px;background:#182d44f0;border:1px solid #d4bb88;border-radius:10px;font-size:12px;white-space:nowrap}.sampling-hint .icon-btn{width:28px;height:30px}body.presenting .sampling-hint{display:none!important}.reflection-control{border-bottom:0;padding-bottom:6px}.reflection-control .range-labels{font-size:8px}#previewPanel .panel-heading{margin-bottom:22px}#previewPanel .control-block{margin-bottom:18px;padding-bottom:18px}#previewPanel .panel-footnote{padding-bottom:15px}@media(max-width:620px){.track-finish .button{min-height:42px}.sampling-hint{font-size:10px}}

/* Lakeline brand system, matched to the main website (v48 and live homepage). */
:root{--bg:#042649;--panel:#073158;--panel2:#0b3d6b;--line:rgba(156,198,238,.18);--muted:#9bb4ce;--ink:#fff;--accent:#9cc6ee;--brand-blue:#2a7fc1;--radius:10px;font-family:"Barlow",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.app-header{background:#042649;border-bottom-color:rgba(255,255,255,.12);gap:25px}
.brand{gap:12px;flex-shrink:0}
.brand-logo{display:block;width:59px;height:42px;object-fit:contain}
.brand-wordmark b{font-family:"Barlow Condensed",sans-serif;font-size:25px;line-height:.95;font-weight:800;letter-spacing:2.1px}
.brand-wordmark small{font-family:"Barlow Condensed",sans-serif;font-size:11px;font-weight:600;letter-spacing:4.6px;color:#c4d6e8;margin-top:7px}
.product-name{font-family:"Barlow Condensed",sans-serif;font-size:22px;font-weight:700;letter-spacing:1.1px;text-transform:uppercase}
.product-name span{font-family:"Barlow",sans-serif;font-size:10px;font-weight:400;letter-spacing:.45px;text-transform:none;color:#9bb4ce}
.header-divider{background:rgba(255,255,255,.18);height:34px}
.header-actions .button{font-size:12px}
.offline-status{background:#0a3158;border-color:#285077;color:#a8bed4;font-size:11px;border-radius:5px}
.offline-status.ready{background:#113f46;border-color:#347064;color:#b7e3cc}
.button{border-radius:3px;font-family:"Barlow",sans-serif;font-weight:600;font-size:12px;letter-spacing:.045em;text-transform:uppercase;transition:background .15s,border-color .15s,color .15s}
.button.primary{background:#fff;color:#042649;border-color:#fff}
.button.primary:hover{background:#2a7fc1;color:#fff;border-color:#2a7fc1}
.button.outlined{border-color:#42658a;color:#d6e4f1}
.button.soft{background:#0b3d6b;color:#fff;border:1px solid #2b5078}
.button.small{font-size:10px}
.icon-btn{color:#a5bdd5;border-radius:5px}
.project-bar{margin-bottom:18px}
.eyebrow{font-family:"Barlow Condensed",sans-serif;color:#9cc6ee;font-size:10px;letter-spacing:1.8px;font-weight:600}
.project-title{font-family:"Barlow Condensed",sans-serif;font-size:29px;font-weight:600;letter-spacing:.05px;line-height:1.05;margin-top:7px}
.project-title svg{color:#8fafce}
.save-state{color:#94b4c9;font-size:11px}
.canvas-wrap{border-radius:10px;border-color:#386083;background:#03172c;box-shadow:0 14px 36px #00152c44}
.mode-switch{background:#042649ec;border-color:#6383a533;border-radius:5px;padding:4px;gap:3px}
.mode-switch button{font-family:"Barlow",sans-serif;font-weight:600;letter-spacing:.035em;border-radius:3px;font-size:11px}
.mode-switch button.active{background:#fff;color:#042649}
.scene-label{background:#042649ce;color:#dce8f2;border-radius:3px;font-family:"Barlow Condensed",sans-serif;font-size:10px;font-weight:600;letter-spacing:1.7px}
.layout-badge,.zoom-controls{background:#042649e6;border-color:#ffffff21;border-radius:4px}
.layout-badge{font-family:"Barlow",sans-serif;font-size:11px;color:#dce8f2}
.zoom-controls button{font-size:11px}
.workspace-footer{font-size:10px;color:#8eaecb;min-height:49px}
.workspace-footer button{font-family:"Barlow",sans-serif;font-size:12px;color:#dce8f2}
.control-panel{background:#073158;border-left-color:#2c5075}
.panel-heading .eyebrow{color:#9cc6ee;font-size:10px;letter-spacing:1.7px}
h1,h2{font-family:"Barlow Condensed",sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.35px}
h1{font-size:32px;line-height:1.05;margin-top:7px}
.power-switch{background:#375b7c}.power-switch.on{background:#2a7fc1}.power-switch.on span{background:#fff}
.label-row label,.label{font-size:12px;font-weight:500}
.label-row output{font-size:11px;color:#9cc6ee}
.subtle{font-size:10px;color:#89a7c5}
.range-labels{font-size:10px;color:#87a9c8}
input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right,#9cc6ee 0%,#9cc6ee var(--fill,50%),#315576 var(--fill,50%),#315576 100%)}
input[type=range]::-webkit-slider-thumb{background:#fff;border-color:#073158;box-shadow:0 0 0 1px #9cc6ee}
.time-slider svg{color:#b8d4ed}.time-slider svg:last-child{color:#9cc6ee}
.preset{background:#0a345b;border-color:#315475;border-radius:5px}
.preset.active{border-color:#9cc6ee;background:#16456e}
.preset.active:after{color:#cfe7ff}
.preset>span:not(.beads){font-family:"Barlow Condensed",sans-serif;font-size:14px;font-weight:600;letter-spacing:.4px;text-transform:uppercase}
.preset small{font-family:"Barlow",sans-serif;font-size:9px;color:#a3bad0;letter-spacing:0;text-transform:none}
.preset .preset-arrow{font-family:"Barlow",sans-serif;color:#a1bdd8}
.custom-icon{color:#bedbf4;background:#9cc6ee0e;border-radius:4px}
.panel-footnote{font-size:10px;color:#8faeca}
.panel-footnote svg{color:#9cc6ee}
.panel-intro{font-size:12px;line-height:1.6;color:#a5bdd4}
.segment-item{font-family:"Barlow",sans-serif;background:#0a345b;border-color:#315475;border-radius:5px;font-size:12px}
.segment-item .number{color:#c9e4fb;border-color:#4b6d91;border-radius:2px}
.segment-item small{color:#8faecb;font-size:10px}
.segment-item.active{border-color:#9cc6ee;background:#16456e}
.inspector{background:#092e52;border-color:#325477;border-radius:5px}
.inspector label{font-size:11px}
.micro-copy{color:#90afcc;font-size:11px;line-height:1.6}
.field-label{color:#b1c9df;font-size:12px}
input[type=text],select{font-family:"Barlow",sans-serif;background:#042649;border-color:#3a5f85;border-radius:3px;font-size:13px;color:#f5f8fb}
.check-row{font-family:"Barlow",sans-serif;font-size:12px}
.text-button{font-family:"Barlow",sans-serif;font-size:11px;color:#9cc6ee}
.track-finish input[type=color]{background:#042649;border-color:#54779a;border-radius:3px}
.settings-details summary{font-family:"Barlow Condensed",sans-serif;font-size:17px;font-weight:600;letter-spacing:.4px;text-transform:uppercase}
.settings-details .label-row label{font-size:11px}
.settings-details .button.outlined{font-size:11px}
.editor-toolbar{background:#042649ef;border-color:#52779c;border-radius:5px}
.tool{font-family:"Barlow",sans-serif;font-size:11px;border-radius:3px;color:#adc7de}
.tool.active{background:#1d547d;color:#e3f3ff}
.drawing-tip,.sampling-hint{font-family:"Barlow",sans-serif;background:#08365bf2;border-color:#8fb9df;border-radius:5px}
.drawing-tip>span{font-size:11px}.sampling-hint{font-size:12px}
.bottom-bar{background:#042649;color:#82a5c5;letter-spacing:1.1px}
.bottom-bar button{color:#b7cfe2;font-family:"Barlow",sans-serif;font-size:11px}
.dialog-head h2{font-family:"Barlow Condensed",sans-serif;font-weight:700;font-size:30px;text-transform:uppercase;letter-spacing:.5px}
dialog{background:#073158;border-color:#4a7298;border-radius:9px}
dialog::backdrop{background:#02162ae8}
.project-card{background:#0a345b;border-color:#355c80;border-radius:6px}
.project-card-title{font-family:"Barlow Condensed",sans-serif;font-size:21px;font-weight:600;letter-spacing:.2px}
.project-card small{font-size:11px;color:#a2bdd7}
.project-card-actions button{font-family:"Barlow",sans-serif;font-size:11px;color:#afc9df}
.gallery-actions p{font-size:13px;color:#adc4d9}
.help-steps li:before{border-color:#618bb1;color:#b7dcfb}
.help-steps b{font-family:"Barlow Condensed",sans-serif;font-size:19px;font-weight:600;letter-spacing:.25px}
.help-steps p{font-size:13px;color:#b3c9de}
.help-note{background:#042649;border-radius:5px;color:#b8daf8}
.help-note p{color:#9ebbd4;font-size:12px}
.toast{font-family:"Barlow",sans-serif;border-radius:5px;background:#f5f8fb;color:#042649;border-color:#dce8f2;font-size:13px}
.presentation-exit{background:#042649e8;color:#fff;border-color:#91b7d950}
.empty-scene>svg{color:#9cc6ee}.empty-scene h2{font-size:30px}.empty-scene p{font-size:13px;color:#a1bdd6}
@media(max-width:1100px){.app-header{gap:19px}.brand-logo{width:51px;height:36px}.brand-wordmark b{font-size:23px}.brand-wordmark small{font-size:10px}.product-name{font-size:20px}.product-name span{font-size:9px}.project-title{font-size:25px}.offline-status{font-size:10px}.preset>span:not(.beads){font-size:13px}.workspace-footer{font-size:9px}.label-row label,.label{font-size:11px}}
@media(max-width:820px){.brand{gap:9px}.brand-logo{width:48px;height:34px}.brand-wordmark b{font-size:22px}.brand-wordmark small{font-size:9px;letter-spacing:4px}.project-title{font-size:23px}.layout-badge{font-size:9px}.mode-switch button{font-size:10px}.offline-status{font-size:9px}.preset small{font-size:8px}}
@media(max-width:620px){.brand-logo{width:37px;height:29px}.brand-wordmark b{font-size:20px;letter-spacing:1.4px}.brand-wordmark small{font-size:8px;letter-spacing:3.5px}.brand{gap:8px}.header-actions{gap:6px}.offline-status{font-size:8px;max-width:109px;padding:8px}.header-actions .button{font-size:10px}.project-title{font-size:25px}.preset>span:not(.beads){font-size:16px}.preset small{font-size:10px}.layout-badge{font-size:10px}.label-row label,.label{font-size:13px}.label-row output{font-size:12px}.range-labels{font-size:11px}.workspace-footer{font-size:9px}.button{min-height:44px}.gallery-dialog .button{font-size:11px}}

/* Roofline suggestions, selected-slot swatches and all-preset effects. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.color-inputs{gap:8px}.color-slot{flex:1;min-width:0;padding:4px;border:1px solid #3a5f85;border-radius:4px;background:#042649}.color-slot.active{border-color:#b6d9f5;box-shadow:0 0 0 1px #b6d9f5}
.palette-target{width:100%;min-height:38px;color:#d8e9f8;font-family:"Barlow Condensed",sans-serif;font-size:15px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;background:transparent;border:0}.color-slot.active .palette-target{color:#fff;background:#164c77}.palette-picker{display:block}.color-inputs input{height:38px;margin-top:3px;border-radius:2px;background:#042649}
.swatch-hint{margin:13px 0 5px}.quick-swatches{gap:5px;justify-content:space-between;margin-top:5px}.quick-swatches button{width:34px;height:34px;min-width:30px;border-width:6px;border-color:#123b60;box-shadow:inset 0 0 0 1px #ffffff55}.quick-swatches button:focus-visible,.palette-target:focus-visible{outline:2px solid #c9e4ff;outline-offset:2px}
#patternControl>.field-label{margin-top:0}#patternHint{margin-bottom:0}.accent-coverage{margin-top:15px}.accent-coverage p{margin-bottom:5px}
.auto-fill-card{padding:13px;border:1px solid #3a668e;background:#0c385f;border-radius:4px;margin-bottom:12px}.auto-fill-card .check-row{margin:14px 0 9px;font-size:12px}.auto-fill-card p{margin-bottom:0;color:#bed1e4}#autoFillButton:disabled{opacity:.5;cursor:wait}

/* v1.4: presentation first, with a phone preview above an independent settings sheet. */
.pattern-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.pattern-button{min-height:46px;padding:7px 3px;border:1px solid #43698e;border-radius:4px;background:#042649;color:#c8ddf0;font-family:"Barlow Condensed",sans-serif;font-size:15px;line-height:1.05;font-weight:600;letter-spacing:.3px}.pattern-button.active{background:#fff;color:#042649;border-color:#fff}.pattern-disclaimer{font-size:10px;line-height:1.55;color:#9fb9d1;margin:8px 0 0}#patternControl{margin-top:0}#patternHint{margin:10px 0 0}.accent-coverage{margin:0 0 15px}.mode-switch{padding:0;border-color:#ffffff26;background:#042649b8}.mode-switch button{min-height:38px;padding:7px 11px;font-size:10px}.auto-fill-card{background:transparent;border:0;padding:0;margin:0 0 17px}.auto-fill-card .button{background:#123d65;color:#d9e9f7;border:1px solid #3a668e}.manual-tools{border-top:1px solid #365776;padding-top:15px}.manual-tools>summary{font-size:12px;color:#b8cde0;cursor:pointer;min-height:36px}.manual-tools .section-label{margin-top:22px}.simulation-disclaimer{font-size:11px;line-height:1.65;color:#9bb4cc;margin:25px 0 6px;padding-top:17px;border-top:1px solid var(--line)}.add-home{white-space:nowrap}
@media(max-width:900px){
 html.studio-root{height:100%;overflow:hidden;overscroll-behavior:none}body.studio-app{height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column;overscroll-behavior:none}
 .app-header{height:58px;min-height:58px;flex:0 0 auto;padding:0 12px;gap:8px}.brand-logo{width:43px;height:31px}.brand-wordmark b{font-size:19px}.brand-wordmark small{font-size:7px;letter-spacing:3px}.product-name,.header-divider{display:none}.header-actions{gap:4px}.header-actions>.icon-btn{display:inline-flex;width:30px;height:36px}.header-actions .button{min-height:36px;padding:0 10px;font-size:10px}.header-actions .button svg{width:15px}.offline-status{padding:8px;width:29px;height:31px;justify-content:center}.offline-status #offlineText{display:none}.status-dot{width:6px;height:6px}
 .studio{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,2fr) minmax(0,1fr);height:auto!important;min-height:0!important;flex:1 1 0;overflow:hidden;min-width:0}
 .workspace{padding:7px 8px 6px;min-height:0;overflow:hidden}.project-bar{min-height:36px;gap:8px;margin:0 0 6px;flex:0 0 auto}.project-bar .eyebrow{display:none}.project-title{font-size:19px;margin:0;gap:6px}.project-title span{max-width:calc(100vw - 190px)}.project-title svg{width:11px}.project-actions{gap:5px}.project-actions .save-state{display:none}.project-actions .button{min-height:34px;padding:0 8px;font-size:10px;gap:4px}.project-actions .button svg{width:13px}
 .canvas-wrap,body.presenting .canvas-wrap{height:auto;min-height:0;max-height:none;flex:1 1 0;border-radius:5px}.workspace-footer{display:none}.viewport-top{top:9px;left:9px;right:9px}.mode-switch button{font-size:10px;min-height:34px;padding:6px 8px}.mode-switch button svg{display:inline;width:12px;height:12px}.scene-label{display:block;font-size:8px;padding:6px}.canvas-bottom{bottom:9px;left:9px;right:9px}.layout-badge{padding:7px;font-size:8px}.zoom-controls button{height:31px;min-width:30px}.zoom-controls button svg{width:13px}
 .control-panel,body.presenting .control-panel{height:100%;min-height:0;max-height:100%;overflow-y:auto!important;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:11px 16px calc(16px + env(safe-area-inset-bottom));border-left:0;border-top:1px solid #456c91;border-radius:14px 14px 0 0;scrollbar-width:thin;box-shadow:0 -6px 24px #00132633}
 .control-panel::before{content:"";display:block;height:3px;width:34px;background:#6e92b0;border-radius:4px;margin:-4px auto 9px}.control-panel .panel-heading,#previewPanel .panel-heading{margin-bottom:12px}.panel-heading h1{font-size:24px;margin-top:0}.panel-heading .eyebrow{display:none}.power-switch{height:24px;width:39px}.power-switch span{width:18px;height:18px}#previewPanel .control-block{padding-bottom:14px;margin-bottom:14px}#previewPanel #patternControl>.label-row{margin-bottom:7px}.pattern-grid{gap:6px}.pattern-button{font-size:16px;min-height:44px}.pattern-disclaimer{font-size:10px}#speedControl{margin-top:13px}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preset{min-height:80px}.preset small{font-size:10px}.custom-preset{min-height:52px}.simulation-disclaimer{margin-top:17px}
 .bottom-bar{display:none!important}.toast{max-width:calc(100vw - 24px);font-size:12px;bottom:calc(34dvh + 8px);padding:12px 17px}.editor-toolbar{top:50px;left:9px;right:auto;padding:4px;gap:1px}.tool{min-width:31px;min-height:34px;padding:5px}.tool span{display:none}.drawing-tip{max-width:calc(100% - 16px);left:8px;right:8px;transform:none;font-size:10px}.drawing-tip .button{min-height:34px;font-size:10px}.sampling-hint{max-width:calc(100% - 18px);font-size:10px}
 body.presenting .studio{height:100dvh!important;flex:1 1 auto}body.presenting .workspace{padding:7px 8px 6px}.presentation-exit{top:9px;left:9px;min-height:36px;font-size:10px}
 .gallery-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);padding:18px}.gallery-actions{gap:5px}.project-grid{grid-template-columns:1fr}.compact-dialog{max-width:calc(100vw - 24px)}.help-dialog{max-height:calc(100dvh - 24px)}
}
@media(max-width:360px){.brand-wordmark b{font-size:16px}.brand-wordmark small{font-size:6px}.brand-logo{width:36px}.app-header{padding:0 8px}.header-actions .button{font-size:9px;padding:0 7px}.header-actions .button svg{display:none}.project-title span{max-width:calc(100vw - 175px)}.project-title{font-size:17px}.control-panel{padding-left:12px;padding-right:12px}}

/* ---- Website integration: exit button + estimate CTA ---- */
.site-exit{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;height:38px;padding:0 14px 0 11px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);color:#e6eef7;font-size:12px;font-weight:600;letter-spacing:.02em;white-space:nowrap;transition:background .2s,border-color .2s}
.site-exit:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.4)}
.site-exit svg{width:16px;height:16px;stroke-width:2}
.site-exit-short{display:none}
body.presenting .site-exit{display:none}
@media(max-width:820px){.site-exit{height:34px;padding:0 11px 0 9px;font-size:11px}}
@media(max-width:620px){.site-exit{height:32px;padding:0 9px 0 7px;gap:4px;font-size:11px}.site-exit-long{display:none}.site-exit-short{display:inline}.app-header{gap:8px}.app-header .brand-wordmark{display:none}}
@media(max-width:360px){.site-exit-short{display:none}.site-exit{padding:0 7px}}
.estimate-cta{margin:6px 0 18px;padding:18px 18px 16px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:#0a3158;text-align:center}
.estimate-cta p{color:#c9d8e6;font-size:13px;line-height:1.5;margin:6px 0 14px}
.estimate-cta .button{text-decoration:none}
.estimate-call{display:block;margin-top:11px;color:#9cc6ee;font-size:12px;font-weight:600;text-decoration:none}
.estimate-note{display:block;margin-top:6px;color:#7f9cb8;font-size:10.5px}
.bottom-links{display:flex;align-items:center;gap:18px;margin-left:auto}
.bottom-links a{font-size:10px;letter-spacing:0;color:#91a1b6}
.bottom-links a:hover{color:#fff}
@media(max-width:620px){.bottom-links a:first-child{display:none}}
