@font-face{font-family:Studio;src:local("Avenir Next"),local("Avenir")}*{box-sizing:border-box}body{margin:0;font-family:Studio,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f6f5f1;color:#292b35;font-size:14px}button,input,select{font:inherit}button,a,label{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid transparent;border-radius:8px;transition:background .16s,transform .16s;padding:10px 13px;color:inherit;background:white}button:hover:not(:disabled){background:#eae7f3}button:active:not(:disabled){transform:translateY(1px)}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,label:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8370bf;outline-offset:3px}a{color:inherit;text-decoration:none}small{font-size:11px}.topbar{height:90px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid #e5e3dd;background:#fffefa;gap:20px}.brand{display:flex;gap:11px;align-items:center;font-size:23px;font-weight:700;letter-spacing:-.8px}.brand-icon{width:39px;height:42px;border-radius:11px;background:#292a38;display:grid;place-items:center;font-size:33px;color:#c8bcf2}.brand-light{font-weight:400}.brand small{display:block;letter-spacing:2px;font-weight:500;font-size:8px;margin-top:4px}.privacy{display:flex;align-items:center;gap:7px;font-size:11px;color:#697068}.dot{height:6px;width:6px;border-radius:50%;background:#759377}.info{font-size:9px;border:1px solid #bfc5b9;width:13px;height:13px;border-radius:50%;text-align:center}.header-actions{display:flex;gap:5px}.quiet{background:transparent;border-color:#e2e0db}.dark{background:#2b2c39;color:#fff;border-color:#2b2c39;display:inline-flex;gap:18px;align-items:center;justify-content:center}.dark:hover:not(:disabled){background:#444050}.header-actions .quiet{border:0;font-size:12px}main{display:grid;grid-template-columns:minmax(0,1fr) 330px;max-width:1800px;margin:0 auto}.workspace{padding:32px 32px 16px;min-width:0}.project-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2.1px;color:#777480;margin:0 0 10px}h1{font-size:30px;letter-spacing:-1.2px;font-weight:500;margin:0}h2{font-size:16px;font-weight:600;letter-spacing:-.3px;margin:0}h3{font-size:13px;font-weight:600;margin:0}.upload-button{display:inline-block;cursor:pointer;padding:11px 15px;border:1px solid #d6d1e3;border-radius:8px;background:#f0edf8;white-space:nowrap;font-size:12px;font-weight:600}.source-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:10px}.demo-tabs{display:flex;gap:6px}.demo{font-size:12px;background:transparent;border-color:#e0ddd7;padding:8px 11px}.demo.active{background:#fff;border-color:#c4badb}.demo small{font-size:8px;margin-left:4px;color:#8d879a}.image-name{font-size:10px;color:#84808a;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:35%}.canvas-card{background:#fff;border:1px solid #dfddd7;border-radius:12px;overflow:hidden;box-shadow:0 5px 20px #30274005}.view-bar{height:53px;display:flex;justify-content:space-between;align-items:center;padding:0 13px;gap:7px}.segmented{display:flex;gap:3px;padding:3px;background:#f3f2ef;border-radius:7px}.segmented button{background:transparent;padding:7px 11px;font-size:11px;border-radius:5px;color:#77747b}.segmented .active{background:white;color:#292a34;box-shadow:0 1px 5px #25233013}.tiny-badge{font-size:7px;padding:2px 3px;background:#e4ddf2;color:#7c6aa1;border-radius:3px}.view-tools{display:flex;gap:12px;align-items:center;font-size:10px}.view-tools button{background:transparent;padding:5px 4px;font-size:11px}.text-link{cursor:pointer;font-size:10px}.stage{position:relative;aspect-ratio:1.55;background:#e5e3dd;overflow:hidden;touch-action:none;outline:none}#photo-container,#three-container{position:absolute;inset:0}#photo-canvas,#overlay-canvas{position:absolute;width:100%;height:100%;object-fit:contain}#overlay-canvas{pointer-events:none}#three-container canvas{display:block;width:100%;height:100%}.stage-tag{position:absolute;top:14px;left:14px;background:#fffefaec;border-radius:4px;padding:6px 9px;font-size:8px;letter-spacing:1.1px;pointer-events:none;box-shadow:0 1px 5px #0001}.original-tag{position:absolute;top:14px;right:14px;background:#2b2c39cf;color:white;padding:6px 9px;font-size:9px;border-radius:4px}.canvas-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;min-height:55px;gap:10px;color:#706c75;font-size:10px}.comparison{display:flex;gap:11px;align-items:center;white-space:nowrap}.comparison button{font-size:10px;border:0;padding:6px}.comparison label{display:flex;gap:6px;align-items:center;font-size:9px}.comparison input{width:65px;accent-color:#8370ae}.comparison span{color:#51465f}.editing-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:15px 0 21px}.tool{background:transparent;font-size:11px;padding:9px 12px;border:1px solid #e0ded8}.tool span{font-size:15px;margin-right:4px}.tool.active{background:#ebe6f5;border-color:#c7bade;color:#635080}.tool small{font-size:8px;margin-left:3px;color:#847694}.tool.danger{color:#956858;margin-left:auto}.lower-grid{display:block}.detail-card{padding:18px 20px;border:1px solid #e1ded7;border-radius:10px;min-height:130px;background:#fcfbf8}.section-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.section-title span{font-size:9px;color:#8b858f}.layers{padding-top:10px}.muted,.fineprint{color:#86818b;font-size:10px;line-height:1.65}.muted{margin:5px 0}.layer{display:flex;gap:10px;align-items:center;padding:8px;border:1px solid #e6e0ec;border-radius:7px;margin-bottom:7px;background:#fff;cursor:pointer}.layer.selected{border-color:#b6a4d4;background:#f3eef9}.layer img{width:28px;height:28px;object-fit:contain;background:#eeedf0;border-radius:4px}.layer div{flex:1}.layer strong{font-size:11px;font-weight:500}.layer small{display:block;font-size:8px;color:#8a8194;margin-top:2px}.layer button{font-size:10px;padding:3px 6px;background:transparent}.item-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.item-actions button{font-size:10px;padding:8px 9px}#placement-controls label{display:flex;align-items:center;gap:10px;font-size:10px;margin-top:13px}#placement-controls input{width:110px;accent-color:#9380ba}.small-icon{position:absolute;left:18px;top:17px;font-size:22px;color:#998aa9}.status{min-height:30px;font-size:10px;color:#6d6873;padding:16px 1px 5px}.status.error{color:#a04f47}.inspector{border-left:1px solid #e1ded8;padding:35px 26px 20px;background:#fffefa;min-width:0}.inspector-top h2{font-weight:500;font-size:23px;letter-spacing:-.7px}.inspector-top p:last-child{font-size:11px;color:#89818c;margin-top:9px;margin-bottom:24px}.mode-switch{display:flex;border:1px solid #e3dfd8;border-radius:8px;padding:3px;margin-bottom:26px}.mode-switch button{flex:1;font-size:11px;background:transparent;padding:8px}.mode-switch .active{background:#eae4f2;color:#665478}.field-label{font-size:9px;letter-spacing:1.4px;display:block;color:#8b8393;margin-bottom:8px}select{width:100%;padding:11px 10px;border:1px solid #ddd8e1;border-radius:7px;background:#fffefa;font-size:11px;color:#4c4558}.palette-title{margin-top:26px;margin-bottom:14px}.swatches{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.swatch{padding:0;background:none;text-align:left;border:0;border-radius:6px;font-size:9px;min-width:0;color:#827b88}.swatch span{height:49px;border-radius:6px;display:block;margin-bottom:6px;border:1px solid #0000000a;position:relative}.swatch.active span{outline:2px solid #9c86bc;outline-offset:3px}.swatch.active span:after{content:'✓';position:absolute;right:6px;bottom:5px;font-size:12px;color:white;text-shadow:0 1px 3px #0008}.swatch:hover:not(:disabled){background:transparent}.selected-colour{display:flex;gap:10px;align-items:center;margin-top:22px}.selected-colour>span{height:31px;width:31px;border-radius:50%;box-shadow:inset 0 0 0 1px #0001}.selected-colour strong{font-size:12px;font-weight:500}.selected-colour small{font-size:9px;display:block;margin-top:3px;color:#96909a}.source-link{font-size:9px;color:#8f7ba7;display:block;margin-top:10px;text-decoration:underline;text-underline-offset:4px}.finish-heading{margin:29px 0 13px}.finish-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.finish-options button{padding:0 0 8px;border:1px solid #e7e0e9;font-size:9px;background:#fffefa;color:#8e8695;overflow:hidden}.finish-options button.active{border-color:#a48fbf;color:#4d405e}.texture{display:block;height:46px;margin-bottom:8px;background-color:#88888b}.texture.partial{background-image:radial-gradient(#eee 1px,transparent 2px),radial-gradient(#45464c 1px,transparent 2px);background-size:13px 11px,17px 17px;background-position:4px 2px,8px 11px}.texture.full{background-image:radial-gradient(#ededeb 1.5px,transparent 2px),radial-gradient(#484951 1.5px,transparent 2px),radial-gradient(#b5b0a5 1px,transparent 2px);background-size:5px 7px,9px 8px,8px 6px;background-position:0 0,3px 3px,2px 1px}.slider-label{font-size:10px;color:#756b7e;display:block;margin-top:20px}.slider-label span{float:right;color:#8f849a;font-size:9px}.slider-label input{display:block;width:100%;margin-top:10px;accent-color:#9782b8;cursor:pointer;height:5px}.calibration{border-top:1px solid #eee9ed;margin-top:24px;padding-top:16px;font-size:10px;color:#74667f}.calibration summary{cursor:pointer}.calibration button{font-size:9px;margin-top:4px}.privacy-card{margin-top:25px;background:#f3f1ec;border:1px solid #e9e5dd;border-radius:9px;padding:14px;display:flex;gap:10px}.privacy-card>span{font-size:19px;color:#8c8292}.privacy-card strong{font-size:10px;font-weight:500}.privacy-card p{font-size:9px;line-height:1.6;color:#958b9b;margin:6px 0 0}.depth-controls,#model-controls{margin-top:22px;border-top:1px solid #e5dfeb;padding-top:17px}.depth-controls>button{font-size:11px;width:100%;margin-top:12px}#model-controls button{font-size:10px;margin:3px 0}.busy{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:15px;background:#eeebebd9;z-index:10;backdrop-filter:blur(3px)}.busy strong{font-size:15px;font-weight:500}.busy p{font-size:11px;color:#8c7d95;margin:6px 0}.busy button{font-size:11px;margin-left:12px}.spinner{width:28px;height:28px;border:2px solid #d5c9e3;border-top-color:#84709e;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}[hidden]{display:none!important}.model-empty{position:absolute;inset:0;background:#ebe8e3;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:40px;text-align:center;gap:14px}.model-empty>span{font-size:55px;color:#aa99bb}.model-empty h2{font-size:22px;font-weight:500}.model-empty p{max-width:360px;font-size:12px;line-height:1.8;color:#84768f;margin:0}.model-empty label{cursor:pointer;border-radius:7px;padding:12px 20px;font-size:12px}.model-empty small{font-size:9px;max-width:360px;line-height:1.6;color:#94889a}footer{border-top:1px solid #e6e2dc;padding:17px 32px;display:flex;gap:20px;justify-content:space-between;color:#a299a7;font-size:8px;letter-spacing:.4px}footer button{font-size:8px;padding:0;background:none;color:#a299a7}dialog{border:1px solid #dfd6e7;max-width:630px;width:90vw;border-radius:12px;padding:28px;color:#3f3748;background:#fffefa}dialog::backdrop{background:#28213170}dialog h2{font-size:23px}dialog p{font-size:12px;line-height:1.7;color:#8a7e95}.dialog-close{float:right;background:#eee8f4;font-size:19px;padding:3px 10px}pre{font:9px/1.6 monospace;max-height:300px;overflow:auto;background:#f3f0f7;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere}.model-selected{outline:1px solid #aa88dd}@media(min-width:1550px){.workspace{padding:42px 55px 22px}.stage{aspect-ratio:1.75}.topbar{padding:0 55px}main{grid-template-columns:minmax(0,1fr) 370px}.inspector{padding:44px 34px}}@media(max-width:1150px){.topbar{padding:0 22px}.privacy{display:none}.workspace{padding:25px 22px}.inspector{padding:30px 20px}.stage{aspect-ratio:1.35}.view-tools #camera-reset span{display:none}.comparison label{display:none}.tool{padding:8px;font-size:10px}.tool.danger{margin-left:0}h1{font-size:25px}.upload-button{font-size:11px;padding:10px}.lower-grid{grid-template-columns:1fr}main{grid-template-columns:minmax(0,1fr) 295px}}@media(max-width:780px){.topbar{height:72px;padding:0 17px;gap:9px}.brand{font-size:19px;gap:8px}.brand-icon{width:31px;height:34px;font-size:26px}.brand small{font-size:6px;letter-spacing:1.4px}.header-actions{gap:5px}.header-actions .quiet{font-size:0;padding:6px}.header-actions .quiet:before{content:'↓';font-size:15px}#open-project{display:inline-flex;align-items:center;font-size:10px;padding:7px 6px;white-space:nowrap}#open-project:before{content:none}.header-actions .dark{font-size:10px;padding:9px;gap:6px}main{display:block}.workspace{padding:25px 17px 14px}.project-heading{align-items:flex-start;margin-bottom:20px;gap:10px}h1{font-size:24px;max-width:190px;line-height:1.2}.eyebrow{font-size:7px;letter-spacing:1.7px}.upload-button{font-size:10px;padding:9px 10px;margin-top:18px}.demo{font-size:10px;padding:7px 9px}.demo small{font-size:7px}.image-name{font-size:8px}.view-bar{height:49px;padding:0 7px}.segmented{gap:0}.segmented button{font-size:9px;padding:7px 8px}.tiny-badge{display:none}.view-tools{gap:5px}.view-tools button{font-size:14px}.text-link{font-size:8px}.stage{aspect-ratio:1.25}.stage-tag{font-size:6px;letter-spacing:.5px;top:10px;left:10px;padding:5px 6px}.canvas-footer{font-size:8px;padding:10px 9px;min-height:49px}.comparison button{font-size:8px;padding:5px}.editing-toolbar{gap:5px;margin:12px 0 17px}.tool{font-size:9px;padding:7px 9px}.tool span{font-size:13px}.lower-grid{gap:10px}.detail-card{padding:15px 17px}.inspector{border-left:0;border-top:1px solid #e0dad4;padding:23px 24px 26px}.inspector-top h2{font-size:25px}.inspector-top p:last-child{margin-bottom:20px}.mode-switch{max-width:350px;margin-bottom:20px}.swatches{grid-template-columns:repeat(4,1fr)}.swatch span{height:60px}.finish-options{max-width:370px}.privacy-card{margin-top:22px}.status{font-size:9px;line-height:1.6}.busy{gap:10px;padding:20px}.busy strong{font-size:12px}.busy p{font-size:9px}.busy button{font-size:9px;padding:7px}.spinner{width:20px;height:20px;flex-shrink:0}footer{padding:17px;gap:15px;flex-wrap:wrap;font-size:7px}.model-empty{padding:25px}.model-empty h2{font-size:18px}.model-empty p{font-size:10px}.model-empty small{font-size:8px}}

.placement-label{font-size:12px;font-weight:650;color:#645479;margin:12px 0}.perspective-choice{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap}.perspective-choice input{width:17px!important;height:17px;accent-color:#8d70b4}.perspective-choice .fineprint{width:100%;margin-left:25px}#set-contact{margin-bottom:12px}

#extend-repair{margin-left:6px;margin-bottom:12px}@media(max-width:600px){#extend-repair{margin-left:0}}

@media(max-width:480px){.topbar{gap:5px;padding:0 12px}.brand{font-size:17px;gap:6px}.brand-icon{width:27px;height:30px}.header-actions{gap:2px}.header-actions .dark{font-size:9px;padding:8px 6px;gap:3px}#open-project{font-size:9px;padding:7px 5px}}

.garage-batch{margin-top:12px;padding:12px;background:#f2eef7;border:1px solid #e0d7ea;border-radius:8px}.batch-counts{font-size:10px;line-height:1.6;margin:0 0 10px;color:#665874}.batch-actions{display:flex;gap:7px;flex-wrap:wrap}.batch-actions button{font-size:11px;min-height:40px;padding:9px 12px}.garage-batch .fineprint{margin:9px 0 0}#cancel-job{min-height:40px}@media(max-width:780px){.batch-actions button{min-height:44px;font-size:10px}.garage-batch{padding:10px}.batch-counts{font-size:9px}}

.floor-feedback{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;margin:10px 0 4px;padding:8px 10px;border-radius:7px;background:#eef7f2;color:#496e60;font-size:10px;line-height:1.45}.floor-feedback span{min-width:0;overflow-wrap:anywhere}.floor-feedback:has([data-kind="detecting"]){background:#f2eef8;color:#6a587c}.floor-feedback:has([data-kind="error"]){background:#fff0ec;color:#9a5649}.floor-feedback button{font-size:9px;white-space:nowrap;padding:6px 8px;background:#fff}.floor-inspect{font-size:10px;padding:6px 9px;margin:3px 0 14px;min-height:30px}.floor-inspect[aria-pressed="true"]{background:#ddf2e8;border-color:#9ccfbc;color:#316c56}@media(max-width:780px){.floor-feedback{font-size:10px}.floor-feedback button,.floor-inspect{min-height:40px}}

/* Four-stage local evaluation flow. Existing editor components are retained. */
.flow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 24px}.flow-steps button{background:transparent;border-color:#ddd8e1;font-size:11px;padding:12px 8px;text-align:left;display:flex;align-items:center;gap:7px}.flow-steps span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e6e2e9;font-size:10px;flex-shrink:0}.flow-steps .active{background:#eee8f6;border-color:#b9a8cf;color:#5d4978}.flow-steps .active span{background:#796393;color:white}.step-description{color:#7b7481;font-size:12px;line-height:1.6;margin:10px 0 0}.mode-label{display:flex;align-items:center;gap:10px;font-size:11px;color:#756b7e}.mode-label select{width:145px;font-size:12px}.source-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}.source-actions small{color:#857d8d;font-size:10px;line-height:1.5;flex-basis:100%}.photo-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center;color:#756a81;gap:12px}.photo-empty>span{font-size:50px;color:#a896b8}.photo-empty p{max-width:320px;font-size:12px;line-height:1.7;margin:0}.photo-empty h2{font-size:20px;font-weight:500}.advanced{margin-top:17px;border:1px solid #e2dce7;background:#fcfbf8;border-radius:9px}.advanced summary{padding:13px 16px;font-size:11px;cursor:pointer}.advanced summary span{font-size:9px;color:#918797;margin-left:9px}.advanced-body{padding:0 17px 17px}.advanced-item-tools{display:flex;gap:8px;flex-wrap:wrap}.advanced #material-technical{max-width:420px}.advanced .calibration{margin-top:16px}.flow-navigation{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:22px 0 3px}.flow-navigation #stage-guidance{flex:1;color:#817688;font-size:10px;line-height:1.6}.flow-navigation .dark{font-size:12px;min-height:43px}.repair-note{font-size:10px;line-height:1.65;color:#92766b;background:#f7efe9;border-radius:6px;padding:10px 12px;margin:12px 0 0}.stage-aside{padding:4px 0}.stage-aside h2{font-size:21px;font-weight:500;line-height:1.35}.stage-aside p{font-size:11px;color:#857b8e;line-height:1.8}.quote-tba{margin:23px 0;background:#f1edf7;border:1px solid #e0d6ec;padding:18px;border-radius:8px}.quote-tba strong{font-size:24px;font-weight:500}.quote-tba p{font-size:11px;color:#8e7d9e;margin-bottom:0}#mockup-panel h2{font-size:24px;font-weight:500}#mockup-summary{display:grid;grid-template-columns:70px minmax(0,1fr);gap:13px 10px;margin:25px 0;font-size:11px;line-height:1.55}#mockup-summary dt{color:#918298}#mockup-summary dd{margin:0;overflow-wrap:anywhere}#keep-item[aria-pressed="true"]{background:#e6f2e9;border-color:#adcbb7;color:#416e50}main[data-customer-stage="photo"] .stage-tag{font-size:8px}main[data-customer-stage="mockup"] .canvas-footer #instruction{max-width:200px}.image-name{max-width:55%}#photo-container{pointer-events:none}
@media(max-width:780px){.flow-steps{gap:4px;margin-bottom:20px}.flow-steps button{font-size:9px;padding:9px 5px;flex-direction:column;align-items:flex-start;gap:6px;min-height:65px}.flow-steps span{width:18px;height:18px;font-size:9px}.project-heading h1{max-width:none}.source-actions .upload-button{margin-top:0;font-size:12px;padding:11px 14px}.source-actions button{min-height:42px}.mode-label select{min-height:42px}.source-row{margin-bottom:15px}.photo-empty h2{font-size:16px}.photo-empty p{font-size:11px}.flow-navigation{gap:8px;flex-wrap:wrap}.flow-navigation #stage-guidance{font-size:9px;flex-basis:100%;order:-1}.flow-navigation #stage-next{margin-left:auto;font-size:11px}.advanced summary{min-height:44px;padding:14px}.advanced summary span{font-size:8px}.step-description{font-size:11px}.comparison label{display:flex}.comparison{gap:5px;flex-wrap:wrap;justify-content:flex-end}.comparison input{width:55px}.canvas-footer{align-items:flex-start}.canvas-footer #instruction{max-width:48%;line-height:1.5}.header-actions #save-project{font-size:9px;padding:7px 5px}.header-actions #save-project:before{content:none}.header-actions #export-image{font-size:9px}.topbar .brand small{display:none}.topbar .brand{font-size:16px}.topbar .brand-icon{width:27px;height:30px}.photo-empty{padding:20px}.image-name{font-size:9px;max-width:50%}.repair-note{font-size:10px}}

@media(max-width:780px){.workspace>.inspector{margin:16px -17px 0;padding:23px 24px 26px}.workspace>.inspector:has(#finish-panel[hidden]):has(#mockup-panel[hidden]){display:none}}

.slider-label .slider-name{float:none;color:inherit;font-size:10px}
