@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',sans-serif;color:#252d29;background:#f6f7f4;font-size:13px;--green:#295846;--line:#e5e8e2;--muted:#838b83}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,label[for=image-file]{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #8ab99d;outline-offset:3px}button:disabled{opacity:.45;cursor:default}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:Manrope,sans-serif}.topbar{height:88px;display:flex;align-items:center;gap:26px;padding:0 30px;background:white;border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:#243f32;font-weight:800;font-size:24px;letter-spacing:-1px}.brand-symbol{display:grid;place-items:center;width:37px;height:40px;background:#2d5946;color:white;border-radius:11px;font-size:28px;transform:skewY(-7deg)}.brand-light{font-weight:400}.brand small{display:block;font:9px 'DM Sans',sans-serif;letter-spacing:2.2px;margin-top:2px;color:#849187}.project-title{border-left:1px solid var(--line);padding-left:26px;font-weight:500;white-space:nowrap}.pill{font-size:9px;letter-spacing:.7px;padding:5px 7px;border-radius:5px;background:#f0f2ee;color:#8b9488;margin-left:8px}.header-actions{display:flex;align-items:center;gap:9px;margin-left:auto}#save-state{font-size:11px;color:var(--muted);margin-right:8px}.button{border:1px solid #dce2da;border-radius:8px;background:white;color:#304438;font-weight:600;padding:10px 14px;white-space:nowrap;transition:background .15s}.button:hover{background:#f0f4ed}.button.primary{background:#2d5946;border-color:#2d5946;color:white}.button.primary:hover{background:#214936}.button.quiet{border-color:transparent;background:transparent}.full{width:100%}.workspace{display:grid;grid-template-columns:230px minmax(0,1fr) 292px;max-width:1920px;margin:auto;min-height:calc(100vh - 88px)}.surface-panel{background:#fff;border-right:1px solid var(--line);padding:28px 18px 20px;display:flex;flex-direction:column}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:700;color:#899487}.panel-title{display:flex;justify-content:space-between;align-items:center}.panel-title h1{font-size:22px;margin-top:7px;letter-spacing:-.8px}#face-count{font:12px 'DM Sans',sans-serif;background:#f0f3ed;padding:3px 7px;border-radius:6px;margin-left:5px;color:#77816f}.small-symbol{font-size:23px;color:#899984}.helper{color:#92988f;font-size:11px;line-height:1.6;margin:10px 0 19px}.segmented{display:flex;gap:3px;background:#edf0e9;padding:4px;border-radius:8px}.segmented button{background:transparent;color:#7f897d;border:0;border-radius:5px;font-size:11px;padding:7px 10px;white-space:nowrap;flex:1}.segmented button.active{background:white;color:#304b3a;box-shadow:0 1px 4px #233b2310;font-weight:600}.surface-list{display:grid;align-content:start;gap:7px;margin-top:17px;max-height:740px;overflow-y:auto;scrollbar-width:thin;padding:1px}.surface-item{width:100%;display:flex;align-items:center;gap:9px;border:1px solid transparent;background:white;border-radius:9px;padding:10px 8px;text-align:left;color:inherit}.surface-item:hover{background:#f8faf6}.surface-item.selected{background:#edf3e9;border-color:#c6d6be}.number-badge{background:#fff;color:#607456;font-weight:600;border:1px solid #dce4d6;border-radius:7px;display:inline-grid;place-items:center;min-width:31px;height:31px;font-size:11px}.surface-item.selected .number-badge{background:#466b45;color:white;border-color:#466b45}.surface-item .surface-text{min-width:0;flex:1}.surface-item strong{display:block;font-size:11px;font-weight:500;line-height:1.4}.surface-item small{display:block;font-size:10px;color:#90998a;margin-top:4px}.asset-dot{width:6px;height:6px;background:#739b63;border-radius:50%;flex-shrink:0}.library-foot{display:flex;gap:8px;align-items:center;padding-top:20px;margin-top:auto;color:#8d9786;font-size:10px}.green-dot{display:inline-block;width:5px;height:5px;background:#769266;border-radius:50%}.center-panel{padding:29px 28px 24px;min-width:0}.viewer-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.viewer-head h2{font-size:18px;letter-spacing:-.5px;margin-top:7px;font-weight:600}.live-tag{font-size:10px;color:#849076;white-space:nowrap;display:flex;align-items:center;gap:5px}.viewbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.check-label{display:flex;align-items:center;gap:5px;font-size:10px;color:#818b7b;white-space:nowrap}input[type=checkbox]{accent-color:#526f49}#stage{position:relative;width:100%;height:430px;overflow:hidden;background:radial-gradient(ellipse at 50% 63%,#fff 0%,#f4f6f0 63%,#f1f4ec 100%);border-radius:14px;margin-top:14px}#scene{display:block;width:100%;height:100%;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}#markers{position:absolute;inset:0;pointer-events:none}.marker{position:absolute;transform:translate(-50%,-50%);width:25px;height:25px;border:1px solid #ffffffbb;border-radius:7px;background:#fffdf5ee;color:#3e4936;box-shadow:0 2px 9px #1721161e;pointer-events:auto;font-size:10px;font-weight:600;padding:0}.marker:hover,.marker.selected{background:#335c41;color:white;border-color:#c2dfb6}.stage-note{position:absolute;bottom:22px;left:22px;font-size:9px;letter-spacing:2.3px;font-weight:600;color:#8e9b84;pointer-events:none}.stage-note span{display:block;letter-spacing:.3px;font-size:9px;font-weight:400;margin-top:6px;color:#a0a897}.compass{position:absolute;right:25px;bottom:25px;color:#9eaa96;font:9px monospace;display:flex;gap:4px;align-items:center;pointer-events:none}.compass i{width:22px;height:22px;border-bottom:1px solid #a9b89c;border-left:1px solid #a9b89c;transform:rotate(-30deg)}.viewer-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}.viewer-foot>span{font-size:10px;color:#979d91}.viewer-foot b{padding:0 6px;color:#c2c7ba}.viewer-foot button{font-size:11px}.rotation-row{display:flex;align-items:center;gap:15px;margin-top:8px;font-size:10px;color:#8a9481}.rotation-row input{flex:1}.rotation-row output{min-width:32px;font-variant-numeric:tabular-nums;color:#526247}input[type=range]{accent-color:#617e4f;height:4px;margin:10px 0;min-width:0}.unit{color:#8e9984;font-size:10px}.design-panel{border-left:1px solid var(--line);background:white;padding:29px 22px 24px}.selected-title{display:flex;gap:11px;align-items:center;margin:18px 0}.selected-title .number-badge{width:39px;height:39px;background:#edf3e8;color:#527047;border:0;font-size:14px}.selected-title h2{font-size:14px;font-weight:700;line-height:1.4}.selected-title p{font-size:11px;color:#8c9881;margin-top:5px}.face-preview-wrap{height:135px;background:#f3f5ef;border:1px solid #e9ede4;border-radius:8px;display:flex;align-items:center;justify-content:center;position:relative;padding:18px 20px 24px;overflow:hidden}#face-preview{display:block;max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 3px 8px #182a1410}#ratio-label{position:absolute;bottom:6px;right:8px;font-size:8px;letter-spacing:.4px;color:#99a48e}.property-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px}.property-heading h3{font-size:12px;font-weight:600}.text-button{border:0;background:none;color:#9a6558;font-size:10px;padding:4px}.upload-zone{display:flex;align-items:center;flex-direction:column;text-align:center;padding:18px 5px 15px;border:1px dashed #ccd8c4;border-radius:9px;background:#fcfdfb;cursor:pointer;transition:background .2s}.upload-zone.dragover,.upload-zone:hover{background:#edf5e6;border-color:#62874e}.upload-icon{font-size:21px;line-height:1.1;font-weight:400;color:#668753;margin-bottom:8px}.upload-zone strong{font-weight:500;font-size:11px;color:#4c6242}.upload-zone span:not(.upload-icon){font-size:10px;color:#9ba48f;margin-top:4px}.upload-zone small{font-size:9px;color:#aeb5a4;margin-top:13px}.image-info{font-size:10px;color:#779066;line-height:1.5;overflow-wrap:anywhere;margin-top:8px}.property-controls{display:grid;gap:9px;margin-top:21px}.property-controls>label{display:grid;gap:8px;font-size:11px;color:#838f78}select{border:1px solid #dfe5d9;border-radius:7px;padding:9px;background:#fff;color:#536447;width:100%;font-size:11px}.range-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#87927c;margin-top:7px}.range-heading output{font-size:10px;color:#657856;font-variant-numeric:tabular-nums}.property-controls input[type=range]{width:100%;margin:2px 0 6px}.color-row{display:flex;align-items:center;justify-content:space-between;color:#87927c;font-size:11px;margin:3px 0 8px}input[type=color]{width:37px;height:25px;padding:2px;border:1px solid #dce4d5;border-radius:5px;background:white}.property-controls .button{font-size:11px}.error{color:#a44835;font-size:11px;margin-top:12px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(10px);padding:13px 22px;background:#2c4939;color:white;border-radius:10px;box-shadow:0 8px 24px #21351b22;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:90%;font-size:12px}#toast.show{opacity:1;transform:translateX(-50%)}#webgl-error{position:absolute;inset:35%;color:#9d422e;background:white;padding:20px;border-radius:8px;line-height:1.6}[hidden]{display:none!important}@media(min-width:1550px){.workspace{grid-template-columns:260px minmax(0,1fr) 320px}#stage{height:510px}.center-panel{padding:35px 40px}.surface-list{max-height:850px}}@media(max-width:1200px){.topbar{padding:0 18px;gap:16px}.project-title{font-size:11px;padding-left:16px}#save-state{display:none}.workspace{grid-template-columns:195px minmax(0,1fr) 255px}.center-panel{padding:25px 18px}.design-panel{padding:26px 16px}.surface-panel{padding:25px 12px}.viewer-head h2{font-size:16px}.live-tag{display:none}.viewbar{flex-wrap:wrap}.viewer-foot>span{max-width:170px;line-height:1.8}#stage{height:390px}}@media(max-width:950px){.project-title{display:none}.workspace{grid-template-columns:180px minmax(0,1fr)}.design-panel{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;column-gap:28px;padding:25px}.design-panel>.eyebrow,.selected-title{grid-column:1}.face-preview-wrap{grid-column:1;height:180px;grid-row:3/6}.property-heading{grid-column:2;grid-row:1/3;margin:0;align-self:end;margin-bottom:14px}.upload-zone{grid-column:2;grid-row:3}.image-info{grid-column:2}.property-controls{grid-column:2;grid-row:4/9}.surface-list{max-height:760px}}@media(max-width:620px){.topbar{height:auto;min-height:76px;flex-wrap:wrap;gap:14px;padding:16px}.brand{font-size:22px}.header-actions{width:100%;gap:6px}.header-actions .button{font-size:10px;padding:9px 10px;flex:1}.workspace{display:flex;flex-direction:column}.center-panel{order:0;padding:22px 16px}.surface-panel{order:1;border-right:0;border-top:1px solid var(--line);padding:22px 16px}.surface-list{max-height:235px;grid-template-columns:1fr 1fr}.surface-item{min-width:0}.library-foot{margin-top:10px;padding-top:10px}.design-panel{order:2;display:block;padding:24px 16px}.design-panel>.eyebrow{display:block}.face-preview-wrap{height:190px}.property-heading{margin-top:24px}.viewer-head h2{font-size:17px}.viewbar{gap:12px}.viewbar .segmented{width:100%}#stage{height:330px}.viewer-foot>span{max-width:190px}.rotation-row{margin-top:16px}.property-controls select{font-size:16px}.property-controls input[type=range]{height:8px;margin:12px 0}.check-label{min-height:28px}.marker{width:29px;height:29px}.unit{white-space:nowrap;font-size:9px}}

.upload-zone{position:relative}.upload-zone input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-zone:focus-within{outline:3px solid #8ab99d;outline-offset:3px}

.face-dimension-form{display:grid;gap:12px;padding:16px 0;margin-bottom:17px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.face-dimension-form h3{font-size:12px;font-weight:600;color:#526247}.face-dimension-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.face-dimension-inputs label{font-size:10px;color:#77866c;line-height:1.6}.face-dimension-inputs input{display:block;width:100%;padding:10px 8px;border:1px solid #dfe5d9;border-radius:7px;margin-top:6px;color:#415636;background:#fff}.face-dim-helper{font-size:10px;line-height:1.7;color:#7d8a73}.face-dimension-form .button{font-size:11px}.face-dimension-form .text-button{color:#698357;text-align:left;padding:2px 0;font-size:10px}@media(max-width:950px) and (min-width:621px){.design-panel .face-dimension-form{grid-column:1;grid-row:3/8}.design-panel .face-preview-wrap{grid-column:2;grid-row:3;height:160px}.design-panel .property-heading{grid-column:2;grid-row:4;margin-top:12px}.design-panel .upload-zone{grid-column:2;grid-row:5}.design-panel .image-info{grid-column:2;grid-row:6}.design-panel .property-controls{grid-column:2;grid-row:7/13}}@media(max-width:620px){.face-dimension-inputs input{font-size:16px}.face-dimension-form .button{min-height:42px}}

.io-dialog{width:min(1000px,calc(100vw - 32px));max-height:calc(100vh - 40px);padding:0;border:1px solid #d9e0d3;border-radius:17px;box-shadow:0 24px 100px #11241640;color:#33462e;background:white;overflow:auto}.io-dialog::backdrop{background:#15241977;backdrop-filter:blur(4px)}.io-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 26px;border-bottom:1px solid var(--line)}.io-dialog-head h2{font-size:21px;margin-top:6px;letter-spacing:-.6px}.io-dialog-body{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:400px}.io-settings{padding:24px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:17px}.io-drop{padding:22px 14px;border:1px dashed #becdb0;border-radius:10px;text-align:center;background:#f8faf5}.io-drop.dragover{background:#eaf2e0}.io-drop strong{font-size:12px;display:block;line-height:1.7}.io-drop p{font-size:11px;color:#879379;margin:8px 0 14px}.io-drop small{display:block;font-size:10px;line-height:1.7;margin-top:13px;color:#9aa48e}.io-fields{display:flex;flex-direction:column;gap:16px}.io-fields>label{display:grid;gap:8px;font-size:11px;color:#6d7c61}.io-fields input[type=number]{width:100%;padding:10px;border:1px solid #dce3d5;border-radius:7px;background:white;color:#4a633b}.io-fields .io-check{display:flex;flex-direction:row;align-items:center;gap:8px}.io-muted{font-size:10px;line-height:1.8;color:#8b977f}.io-status{font-size:11px;line-height:1.8;color:#637a51}.io-status.error{color:#ac4932}.io-file-info{overflow-wrap:anywhere;font-size:11px;color:#526b3e;line-height:1.8}.io-preview{padding:25px;background:#f2f5ed;min-width:0;display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:flex-start}.io-preview>h3{font-size:14px;align-self:flex-start}.io-preview>.io-muted{align-self:flex-start}.saved-project-preview{display:block;width:100%;max-height:250px;object-fit:contain;background:#edf2e6;border-radius:7px}.import-surface-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%}.import-surface{background:white;padding:10px;border-radius:6px;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:space-between;min-height:100px}.import-surface canvas{max-width:100%;max-height:100px;object-fit:contain}.import-surface span{font-size:9px;color:#879377}.io-dialog-foot{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:19px 25px;border-top:1px solid var(--line);background:white}.io-dialog-foot>.io-status{margin-right:auto;max-width:65%}.topbar .project-title{max-width:220px;overflow:hidden;text-overflow:ellipsis}.header-actions{flex-wrap:wrap}#save-state{max-width:145px;line-height:1.6}@media(max-width:1350px){.topbar .project-title{display:none}}@media(max-width:700px){.io-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.io-dialog-body{grid-template-columns:1fr}.io-settings{border-right:0;border-bottom:1px solid var(--line);padding:20px}.io-dialog-head{padding:18px}.io-dialog-head h2{font-size:18px}.io-dialog-foot{padding:16px;flex-wrap:wrap}.io-dialog-foot>.io-status{max-width:100%}.io-preview{padding:18px}.io-fields select,.io-fields input[type=number]{font-size:16px}.import-surface-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-actions{display:grid;grid-template-columns:1fr 1fr}.header-actions .button{min-height:38px}#save-state{display:none}}

.face-third-field{font-size:10px;color:#77866c;display:grid;gap:7px}.face-third-field input{width:100%;padding:10px 8px;border:1px solid #dfe5d9;border-radius:7px;color:#415636;background:white}@media(max-width:620px){.face-third-field input{font-size:16px}}

.artboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%}.artboard-row{background:white;padding:13px;border:1px solid #dce5d4;border-radius:9px;display:grid;align-content:start;gap:9px;min-width:0}.artboard-row>strong{font-size:11px;overflow-wrap:anywhere}.artboard-thumbnails{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center;height:100px;background:#edf2e7;padding:7px}.artboard-thumbnails canvas{max-width:100%;max-height:86px;object-fit:contain}.artboard-row label{display:grid;gap:7px;font-size:10px;color:#7b8b6d}.artboard-method{font-size:9px;line-height:1.6;color:#829774}.artboard-conflict{border-color:#c4765c;background:#fff7f1}.artboard-conflict .artboard-method{color:#a45237}@media(max-width:700px){.artboard-grid{grid-template-columns:1fr}.artboard-row select{font-size:16px}}

.movement-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:14px}.movement-toolbar>label{display:flex;align-items:center;gap:8px;color:#819070;font-size:10px}.movement-toolbar select{width:auto;max-width:235px;font-size:10px}.position-panel{display:grid;gap:12px;padding:15px 0 20px;margin-bottom:18px;border-bottom:1px solid var(--line)}.position-panel h3{font-size:12px;color:#526247}.position-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.position-inputs label,.position-options label{font-size:10px;color:#7c896f;display:grid;gap:6px}.position-panel input[type=number]{width:100%;min-width:0;padding:9px 7px;border:1px solid #dfe5d9;border-radius:7px;background:white;color:#49613a}.position-panel form{display:grid;gap:10px}.position-check{display:flex;align-items:flex-start;gap:7px;font-size:10px;color:#758569;line-height:1.7}.position-check input{margin:3px 0}.position-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.position-options select{width:100%;height:34px}.position-nudges{display:grid;grid-template-columns:1fr 1fr;gap:6px}.position-nudges button,.position-panel .button{font-size:10px;padding:9px}.position-panel>.text-button{text-align:left;color:#718761;padding:2px 0}.position-panel .error{color:#a34f38}@media(max-width:950px) and (min-width:621px){.design-panel .position-panel{grid-column:1;grid-row:8/16}.design-panel .print-info{grid-row:16}}@media(max-width:620px){.movement-toolbar>label{flex-direction:column;align-items:flex-start;width:100%;font-size:11px}.movement-toolbar select{max-width:none;width:100%;font-size:16px}.position-panel input[type=number],.position-options select{font-size:16px}.position-nudges button{min-height:40px}}.studio-render-dialog{width:min(1050px,calc(100vw - 30px));max-height:calc(100vh - 30px);padding:0;border:1px solid #d9e0d3;border-radius:16px;background:white;color:#3e5534;overflow:auto}.studio-render-dialog::backdrop{background:#17291899;backdrop-filter:blur(4px)}.studio-render-body{padding:20px;background:#f4f6f0;min-height:140px;display:grid;gap:15px;justify-items:center}.studio-render-body p{font-size:12px;color:#6b7e5a}.studio-render-body img{max-width:100%;max-height:65vh;object-fit:contain}#selection-content{min-width:0}#selection-empty{padding:18px 0}

@media(max-width:950px) and (min-width:621px){.design-panel{display:block}}

/* Calm{margin-top:18px;padding:18px;border:1px solid #dfe7d8;border-radius:14px;background:linear-gradient(145deg,#fbfcf9 0%,#f1f5ec 100%);box-shadow:0 8px 24px #263b2210}

.camera-picker{display:grid;grid-template-columns:1.4fr 1fr;gap:12px;margin-top:14px}.camera-picker label{display:grid;gap:6px;font-size:10px;color:#7c8b6e}.camera-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:17px 0}.camera-gallery button{padding:0 0 8px;border:1px solid #dce5d5;border-radius:8px;overflow:hidden;color:#728568;background:#f4f6f0}.camera-gallery button.active{border-color:#688954;box-shadow:0 0 0 1px #688954}.camera-gallery canvas{display:block;width:100%;height:auto;aspect-ratio:12/7}.camera-gallery span{font-size:10px}@media(max-width:1100px){.camera-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.camera-picker{grid-template-columns:1fr}.camera-picker select{font-size:16px}.camera-gallery span{font-size:11px}}

/* One primary viewport; camera tools stay in a single quiet dock. */
.viewer-head{margin-bottom:22px}.viewer-head h2{font-size:24px;letter-spacing:-.9px}.viewer-head>.button{font-size:12px;padding:11px 18px}.scene-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:11px}.scene-actions .segmented{padding:3px;background:#e8ede3}.scene-actions .segmented button{padding:8px 17px;font-size:11px}.scene-actions .join-button{margin-left:auto;font-size:11px;color:#627955;border-color:#d7e0cf;background:transparent;padding:8px 12px}.scene-actions .join-button:hover{background:#edf3e7}.scene-actions .text-button{margin-left:auto;color:#648454}#stage{height:clamp(430px,44vw,590px);margin-top:0;border:1px solid #e6ebdf;border-radius:18px;overflow:hidden}.stage-label-toggle{position:absolute;right:17px;top:16px;display:flex;align-items:center;gap:6px;padding:7px 10px;background:#ffffffdc;backdrop-filter:blur(8px);border-radius:8px;font-size:10px;color:#819071}.stage-label-toggle input{accent-color:#5e7d4e}.stage-orbit-hint{position:absolute;left:19px;top:23px;font-size:11px;font-weight:600;letter-spacing:.4px;color:#9ca890;pointer-events:none}.stage-orbit-hint span{font-size:10px;font-weight:400;letter-spacing:0}.camera-dock{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);display:flex;align-items:center;gap:9px;padding:8px 10px;max-width:calc(100% - 32px);background:#fffffff5;backdrop-filter:blur(16px);border:1px solid #e1e8d9;border-radius:13px;box-shadow:0 5px 22px #20341716;z-index:4}.camera-dock .dock-view{display:block;flex:1;min-width:125px}.camera-dock select{border:0;background:transparent;padding:8px 22px 8px 9px;font-size:12px;color:#456239;font-weight:500;min-width:130px;max-width:175px}.camera-dock button{border:0;background:transparent;color:#6c805e;padding:8px 10px;border-radius:7px;font-size:12px;min-height:33px;white-space:nowrap}.camera-dock button:hover{background:#edf3e6;color:#34512d}.camera-dock button[aria-pressed=true]{color:#365a2e;background:#e8f1de}.dock-divider{width:1px;height:20px;background:#e8edde}.dock-zoom{display:flex;align-items:center;white-space:nowrap}.dock-zoom button{padding:6px 10px;font-size:19px;line-height:1}.dock-zoom output{min-width:44px;text-align:center;color:#98a38e;font-size:10px;font-variant-numeric:tabular-nums}.camera-dock .dock-reset{font-size:20px;padding:4px 8px;border-left:1px solid #edf0e6;border-radius:0}.sr-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.scene-help{text-align:center;margin-top:13px;font-size:10px;color:#9aa68f;line-height:1.7}.workspace-settings{margin-top:24px;display:grid;gap:0}.settings-fold{border-top:1px solid #e2e7dc;padding:16px 0}.settings-fold>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#718366;font-weight:500;cursor:pointer;list-style:none}.settings-fold>summary::-webkit-details-marker{display:none}.settings-fold>summary:after{content:'+';font-size:17px;line-height:1;color:#8a9c7c}.settings-fold[open]>summary:after{content:'−'}.settings-fold>summary>span{margin-left:auto;font-size:10px;font-weight:400;color:#a0ab94}.precision-camera{display:grid;gap:17px;padding:20px 0}.precision-camera>label{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:14px;color:#869579;font-size:11px}.precision-camera .rotation-row{margin:0;gap:16px;display:grid;grid-template-columns:110px 1fr 40px}.settings-subtitle{font-size:11px;color:#7d8f6e;margin-top:9px}.editor-tabs{display:flex;gap:6px;border-bottom:1px solid #e7ecdf;margin-bottom:16px}.editor-tabs button{flex:1;border:0;border-bottom:2px solid transparent;background:none;color:#9aa68d;font-size:11px;padding:11px 4px;cursor:pointer}.editor-tabs button[aria-selected=true]{color:#426337;border-bottom-color:#6d8d56;font-weight:600}.face-dimension-form{border-top:0;padding-top:0}.position-panel{padding-top:0;border-bottom:0}.move-plane-field{display:grid;gap:7px;color:#859678;font-size:10px}.position-panel .move-plane-field select{max-width:100%}#selection-content [data-editor-panel]{min-width:0}.selected-title{margin-bottom:15px}.design-panel .face-preview-wrap{margin-top:5px}.design-panel [data-editor-panel] .property-heading{margin-top:20px}#editor-tabs button:focus-visible,.camera-dock button:focus-visible{outline:2px solid #8bb571;outline-offset:2px}.project-title{max-width:none!important;overflow:visible!important}.project-title .pill{display:none}@media(max-width:950px){.camera-dock{gap:5px;bottom:15px}.camera-dock select{min-width:118px;font-size:11px}.camera-dock button{font-size:11px;padding:8px}.dock-zoom button{font-size:18px}.viewer-head h2{font-size:22px}}@media(max-width:740px){.camera-dock{flex-wrap:wrap;width:290px;justify-content:center;gap:2px 8px}.camera-dock .dock-view{flex-basis:100%;text-align:center}.camera-dock select{max-width:none;width:100%;text-align:center}.dock-divider{display:none}.camera-dock #spin{min-width:96px}.camera-dock .dock-reset{margin-left:0}.stage-orbit-hint span{display:none}}@media(max-width:620px){#stage{height:440px;border-radius:13px}.viewer-head{margin-bottom:19px}.viewer-head h2{font-size:23px}.scene-actions .segmented button{padding:8px 12px}.scene-actions .join-button{font-size:10px;padding:8px}.scene-actions{flex-wrap:wrap}.stage-label-toggle{right:12px;top:12px;padding:6px 8px}.stage-orbit-hint{left:14px;top:21px}.camera-dock{bottom:13px;max-width:calc(100% - 24px);padding:5px 7px;gap:2px}.camera-dock select{font-size:14px;padding:7px 10px;min-height:36px}.camera-dock button{min-height:38px}.dock-zoom output{min-width:38px}.dock-zoom button{padding:6px 9px}.camera-dock #spin{min-width:92px}.precision-camera>label{grid-template-columns:1fr}.precision-camera select,.settings-fold select{font-size:16px}.precision-camera .rotation-row{grid-template-columns:90px 1fr 34px;font-size:10px}.editor-tabs button{min-height:43px}.settings-fold>summary>span{font-size:9px}.scene-help{font-size:9px}.viewer-head>.button{padding:10px 15px}.header-actions{grid-template-columns:repeat(3,1fr)}}

/* Light & render panel */
.light-panel{display:grid;gap:12px;margin-top:16px}
.lp-block{display:grid;gap:12px;padding:16px;border:1px solid #e1e8da;border-radius:14px;background:#fff}
.lp-block>header{display:grid;gap:3px}.lp-block>header strong{font:600 12px Manrope,sans-serif;color:#405638}.lp-block>header small{font-size:9px;line-height:1.5;color:#8c9983}
.lp-mode{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:10px;background:#edf1e9}
.lp-mode button,.lp-presets button{display:grid;gap:2px;text-align:left;padding:9px 11px;border:0;border-radius:7px;background:transparent;color:#7d8c74;cursor:pointer}
.lp-mode strong,.lp-presets strong{font-size:10px;font-weight:600;color:#566a4c}.lp-mode small,.lp-presets small{font-size:8px;color:#9aa594}
.lp-mode button.active{background:#fff;box-shadow:0 2px 8px #263a221c}.lp-mode button.active strong{color:#3c5c33}
.lp-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.lp-presets button{border:1px solid #e1e8da;background:#fbfcf9}.lp-presets button:hover{border-color:#bdceb2}
.lp-presets button.active{border-color:#789a68;background:#f3f8ef;box-shadow:0 0 0 1px #789a6840}
.lp-sliders{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}
.lp-sliders label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px;font-size:9px;font-weight:600;color:#728269}
.lp-sliders output{font-weight:500;color:#536a49;font-variant-numeric:tabular-nums}
.lp-sliders input{grid-column:1/-1;width:100%;margin:0;accent-color:#658253}
.lp-sliders label.is-disabled{opacity:.4}
.lp-reset{justify-self:start;padding:0;border:0;background:none;color:#648454;font-size:10px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.lp-output{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.lp-output label{display:grid;gap:6px;font-size:9px;color:#87947e}.lp-output select{min-width:0;width:100%}
.lp-mode button:focus-visible,.lp-presets button:focus-visible,.lp-reset:focus-visible{outline:2px solid #8bb571;outline-offset:2px}
@media(max-width:620px){.lp-presets,.lp-sliders,.lp-output{grid-template-columns:1fr}.lp-output select{font-size:16px}.lp-mode button,.lp-presets button{min-height:40px}}

/* 360° önizleme bağlantısı */
.viewer-actions{display:flex;gap:8px;align-items:center}.viewer-actions .button{font-size:12px;padding:11px 18px;text-decoration:none}.viewer-badge{display:none}
/* 360° önizleme sayfası (?view=360): yalnızca sahne */
.viewer-mode body{overflow:hidden}
.viewer-mode .header-actions,.viewer-mode .project-title .pill,.viewer-mode .surface-panel,.viewer-mode .design-panel,.viewer-mode .viewer-head,.viewer-mode .scene-actions,.viewer-mode .scene-help,.viewer-mode .workspace-settings,.viewer-mode #markers,.viewer-mode .stage-label-toggle{display:none!important}
/* Müşteri 360: kamera açıları (Serbest açı + hazır görünümler) açık kalsın */
.viewer-mode .camera-dock .dock-view{display:block!important}
.viewer-mode .camera-dock .dock-divider{display:block!important}
.viewer-mode .brand{pointer-events:none}
.viewer-mode .viewer-badge{display:block;margin-left:auto;font-size:11px;color:var(--muted);background:#f0f2ee;padding:7px 11px;border-radius:7px;white-space:nowrap}
.viewer-mode .workspace{display:block;max-width:none;min-height:0}
.viewer-mode .center-panel{padding:0}
.viewer-mode #stage{height:calc(100vh - 88px);height:calc(100dvh - 88px);margin:0;border:0;border-radius:0}
@media(max-width:620px){.viewer-mode .topbar{min-height:64px;height:64px;flex-wrap:nowrap}.viewer-mode #stage{height:calc(100dvh - 64px)}.viewer-mode .viewer-badge>span{display:none}.viewer-mode .brand small{display:none}.viewer-mode .camera-dock{width:auto;flex-wrap:nowrap}}

/* Stand modeli seçimi: IMPULSE / PC HOG */
.stand-switch{flex:none;padding:4px;background:#edf0e9}.stand-switch button{padding:8px 16px;font-size:12px;font-weight:700;letter-spacing:.6px;color:#6f7b6c}.stand-switch button.active{color:#2d5946}
.viewer-badge b{color:#2d5946;font-weight:700;letter-spacing:.5px}
.viewer-mode .stand-switch[hidden]{display:none!important}
@media(max-width:620px){.stand-switch{order:3;width:100%}.stand-switch button{flex:1}}
/* Geniş çalışma alanı: sahne ekranın kalan yüksekliğini doldurur, yan paneller kendi içinde kayar. */
.topbar{height:64px}.brand{font-size:21px}.brand-symbol{width:32px;height:34px;font-size:24px}
.scene-actions{gap:8px;margin-bottom:10px}.scene-actions .join-button{margin-left:auto}.scene-actions .text-button{margin-left:auto}.scene-actions .text-button:not([hidden])+.join-button{margin-left:0}
.scene-actions .viewer-actions .button{font-size:11px;padding:8px 13px}
#stage{height:calc(100vh - 64px - 96px);height:calc(100dvh - 64px - 96px);min-height:460px;border-radius:14px}
.scene-help{margin-top:8px}
@media(min-width:951px){
 .workspace{grid-template-columns:210px minmax(0,1fr) 280px;max-width:none;height:calc(100vh - 64px);height:calc(100dvh - 64px);min-height:0}
 .surface-panel,.design-panel,.center-panel{overflow-y:auto;min-height:0;scrollbar-width:thin}
 .surface-panel{padding:20px 14px 16px}.design-panel{padding:20px 18px}
 .surface-list{max-height:none}
 .center-panel{padding:14px 16px 20px}
}
@media(min-width:1550px){.workspace{grid-template-columns:240px minmax(0,1fr) 300px}.center-panel{padding:16px 22px 22px}}
@media(max-width:1200px) and (min-width:951px){.workspace{grid-template-columns:190px minmax(0,1fr) 250px}}
@media(max-width:950px){#stage{height:min(72vh,640px);min-height:400px}}
@media(max-width:620px){.topbar{height:auto;min-height:64px}.scene-actions .viewer-actions{width:100%}.scene-actions .viewer-actions .button{flex:1;text-align:center}#stage{height:min(68vh,560px);min-height:380px}}
.viewer-mode #stage{height:calc(100vh - 64px);height:calc(100dvh - 64px);min-height:0}

/* Auth / project gates */
.app-gate{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:24px;background:#f3f5f0}
.app-gate[hidden]{display:none!important}
.gate-card{width:min(420px,100%);background:#fff;border:1px solid #dfe6d8;border-radius:16px;padding:28px 26px;display:grid;gap:14px}
.gate-card-wide{width:min(1040px,100%)}
.gate-split{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.45fr);gap:14px;align-items:stretch}
.gate-pane,.create-project-form{min-width:0;border:1px solid #e1e8da;border-radius:12px;background:#fbfcf9;padding:14px}
#project-gate{overflow:auto;align-items:safe center}
.gate-card h1{font-size:24px;letter-spacing:-.7px}
.gate-muted{font-size:12px;line-height:1.7;color:#84907e}
.gate-card label{display:grid;gap:7px;font-size:11px;color:#6f7d64}
.gate-card input,.gate-card select{width:100%;padding:11px 12px;border:1px solid #d8e0d1;border-radius:8px;background:#fff;color:#33462e}
.gate-error{color:#a44835;font-size:12px;margin:0}
.gate-card-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.gate-card-actions{display:flex;align-items:center;gap:10px}
.project-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:stretch}
.project-list>.gate-muted{grid-column:1/-1}
.project-row{display:grid;gap:4px;text-align:left;padding:12px 14px;border:1px solid #e1e8da;border-radius:10px;background:#fbfcf9;color:inherit}
.project-row:hover{background:#eef4e8;border-color:#c9d7bc}
.project-row strong{font-size:13px}
.project-row span{font-size:11px;color:#87947f}
.create-project-form label{display:grid;gap:6px}
@media(max-width:860px){.gate-split{grid-template-columns:1fr}}
@media(max-width:620px){.create-project-form{grid-template-columns:1fr}.gate-card-head{flex-direction:column}.project-list{grid-template-columns:1fr}}
.viewer-mode #open-projects,.viewer-mode #copy-share-link,.viewer-mode #logout-button{display:none!important}

body.app-booting .topbar,
body.app-booting .workspace{visibility:hidden}
body.app-booting #boot-gate{display:grid}
#boot-gate .gate-card{text-align:left}
.boot-progress{display:grid;gap:8px;margin-top:4px}
.boot-progress[hidden]{display:none!important}
.boot-progress-track{height:6px;border-radius:999px;background:#e4ebe0;overflow:hidden}
.boot-progress-fill{height:100%;width:0%;border-radius:inherit;background:#2d5946;transition:width .18s ease-out}
.boot-progress.is-indeterminate .boot-progress-fill{width:36%!important;animation:boot-indeterminate 1.1s ease-in-out infinite}
.boot-progress-meta{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:11px;color:#6f7d64}
.boot-progress-meta strong{font-variant-numeric:tabular-nums;color:#2d5946;font-size:13px;letter-spacing:.2px}
@keyframes boot-indeterminate{0%{transform:translateX(-120%)}100%{transform:translateX(320%)}}
.viewer-mode #boot-gate{background:linear-gradient(165deg,#eef3ea 0%,#f7f8f4 48%,#e8eee3 100%)}
.viewer-mode #boot-gate .gate-card{box-shadow:0 18px 40px rgba(45,89,70,.08)}

body:not(.app-shell-ready) .topbar,
body:not(.app-shell-ready) .workspace{visibility:hidden}

.project-row{display:flex;align-items:stretch;gap:8px;min-height:64px;padding:0;border:1px solid #e1e8da;border-radius:10px;background:#fbfcf9;overflow:hidden}
.project-row-open{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;align-self:stretch;text-align:left;padding:12px 14px;border:0;background:transparent;color:inherit;cursor:pointer;line-height:1.3}
.project-row-open:hover{background:#eef4e8}
.project-row-open strong{font-size:13px}
.project-row-open span{font-size:11px;color:#87947f;overflow-wrap:anywhere}
.project-row-delete{display:flex;align-items:center;justify-content:center;border:0;border-left:1px solid #e1e8da;background:#fff;color:#a44835;padding:0 14px;font-size:11px;font-weight:600;cursor:pointer}
.project-row-delete:hover{background:#fff4f0}
.stand-badge{display:inline-flex;align-items:center;padding:7px 11px;border-radius:7px;background:#edf0e9;color:#2d5946;font-size:11px;font-weight:700;letter-spacing:.6px}
.viewer-mode .stand-badge{display:none}

.create-project-form{display:grid;gap:12px;grid-template-columns:1fr;align-content:start;align-items:start}
.create-project-form .create-name{display:grid;gap:6px}
.create-stands{margin:0;padding:12px;border:1px solid #e1e8da;border-radius:10px;background:#fbfcf9;display:grid;gap:8px}
.create-stands legend{padding:0 4px;font-size:11px;color:#6f7d64}
.create-project-form label.stand-check{display:flex;flex-direction:row;align-items:center;gap:8px;width:auto;font-size:12px;color:#405638}
.create-project-form label.stand-check input{width:auto;height:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.stand-check-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.stand-check-delete{border:0;background:transparent;color:#a44835;padding:2px 6px;border-radius:6px;font-size:11px;font-weight:600;cursor:pointer}
.stand-check-delete:hover{background:#fff4f0}
.stand-check-delete:disabled{opacity:.5;cursor:default}
.viewer-mode .stand-switch{display:flex!important}
.stand-add{font-size:11px;padding:8px 10px;white-space:nowrap}
select.stand-add{appearance:none;cursor:pointer;color:#405638;width:auto;max-width:148px;flex:0 0 auto}
select.stand-add[hidden]{display:none!important}
.viewer-mode .stand-add{display:none!important}
.stand-remove{font-size:11px;padding:8px 10px;white-space:nowrap;color:#a44835}
.viewer-mode .stand-remove{display:none!important}
.stand-copy{font-size:11px;padding:8px 10px;white-space:nowrap}
.stand-copy-form{display:flex;align-items:center;gap:6px}
.stand-copy-form[hidden],.stand-copy[hidden]{display:none!important}
.stand-copy-form input{width:158px;padding:8px 10px;border:1px solid #d8e0d1;border-radius:8px;background:#fff;color:#33462e;font-size:12px}
.stand-copy-form .button{font-size:11px;padding:8px 10px}
.viewer-mode .stand-copy,.viewer-mode .stand-copy-form{display:none!important}
