.workspace,.m1-editor{padding:28px 32px;max-width:1700px;margin:auto}.workspace>h1,.m1-editor h1{margin:18px 0}.workspace p,.m1-panel p,.preparation p{font-size:13px;line-height:1.6;margin:12px 0}.actions{flex-wrap:wrap;gap:12px;margin:14px 0}.actions h1,.actions h2{flex:1}.project-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.m1-panel{padding:22px;background:#fff;border:1px solid #dce3d5;border-radius:10px;margin:20px 0}.m1-panel button{margin:6px 6px 6px 0}.m1-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:24px}.m1-layout aside{align-self:start}.m1-photo{width:100%;position:relative}.m1-photo>svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;touch-action:none}.item-thumb{width:100%;max-width:220px;max-height:150px;object-fit:contain}.capture-preview{width:100%;max-width:800px;display:block;margin:16px 0}.auth-card{max-width:430px;margin:10vh auto;padding:32px;background:#fff;border:1px solid #dce3d5;border-radius:12px}.auth-card h1{margin-bottom:18px}.auth-card button{margin-top:22px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#14261cb3;overflow:auto;padding:24px}.preparation{max-width:1100px;margin:auto;padding:24px;background:#fff;border-radius:12px}.prep-comparison{display:grid;grid-template-columns:1fr 1fr;gap:18px}.prep-comparison figure{margin:0;min-width:0}.prep-comparison canvas,.prep-comparison img{width:100%;touch-action:none;background:repeating-conic-gradient(#eee,#eee 25%,#fff 0%,#fff 50%) 0 0/20px 20px}.prep-comparison figcaption{font-size:12px;padding:8px}.job-row{border-top:1px solid #dce3d5;padding:12px 0}.field-row{display:flex;flex-wrap:wrap;gap:14px}.field-row>*{min-width:120px}.selected{background:#dcebdd}nav a{margin-right:20px}textarea{width:100%;min-height:90px;border:1px solid #d8dfd5;border-radius:6px;padding:10px;font:inherit}header{gap:25px}header span{margin-left:auto;font-size:12px}.m1-panel .alert{margin:12px 0}.actions input{max-width:340px}@media(max-width:1000px){.m1-layout{grid-template-columns:1fr}.m1-layout aside{display:flex;flex-wrap:wrap;gap:12px}.m1-layout aside .field{min-width:180px}}@media(max-width:600px){.workspace,.m1-editor{padding:18px}.prep-comparison{grid-template-columns:1fr}header{height:auto;padding:16px;flex-wrap:wrap}.modal-backdrop{padding:8px}.preparation{padding:14px}.auth-card{margin:5vh 12px}}.alignment-dialog{max-width:1450px;margin:auto;background:#fff;border-radius:12px;padding:24px;outline:none}.alignment-dialog p{font-size:13px;line-height:1.6;margin:12px 0}.alignment-workspace{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px}.alignment-workspace aside{min-width:0}.alignment-plan{width:100%;max-height:190px;margin:12px 0}.alignment-photo{display:block;width:100%;background:#e8e9e2;touch-action:none;overflow:hidden;border:1px solid #dce3d5}.alignment-dialog .field{max-width:220px}.alignment-dialog input[type=range]{width:130px}.alignment-dialog details{margin:14px 0}.photo-modes{display:flex;gap:8px;padding:0 18px 12px}.photo-modes [aria-pressed=true]{background:#31564a;color:#fff}.reference-controls{width:100%}.reference-controls .field{margin:8px 0}@media(max-width:850px){.alignment-workspace{grid-template-columns:1fr}.alignment-dialog{padding:14px}.alignment-plan{max-width:280px}.alignment-workspace aside{display:flex;flex-wrap:wrap;align-items:start;gap:10px}}.photo-home,.photo-editor{max-width:1600px;margin:auto;padding:32px 40px;color:#25382d}.photo-intro{padding:65px 24px 70px;text-align:center;background:#f0f1e9;border-radius:18px;border:1px solid #e1e5d8}.photo-eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#677660;margin:0 0 18px}.photo-intro h1{font-family:Georgia,serif;font-size:clamp(34px,4vw,58px);font-weight:400;letter-spacing:-1.5px;margin:0 0 22px}.photo-intro>p:not(.photo-eyebrow){line-height:1.8;font-size:15px;color:#667360}.photo-upload{position:relative;display:inline-flex;align-items:center;justify-content:center;background:#315846;color:#fff;border-radius:7px;padding:15px 24px;font-size:14px;font-weight:600;cursor:pointer;margin:18px 0 4px;overflow:hidden}.photo-upload input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;width:100%;height:100%}.photo-upload:focus-within{outline:3px solid #a6b797;outline-offset:3px}.photo-upload.secondary{display:flex;background:#f3f5ee;color:#315846;border:1px solid #d6dece;padding:12px;font-size:12px}.photo-upload.is-busy{opacity:.65}.photo-hint{font-size:12px!important;line-height:1.7;color:#697367;margin:12px 0}.photo-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}.photo-heading h1{font-family:Georgia,serif;font-size:30px;font-weight:400;margin:10px 0 0}.photo-heading h2{font-size:17px;font-weight:600;margin:0}.photo-heading>span,.photo-heading>a{font-size:12px;color:#687365}.photo-recent{margin-top:42px}.photo-room-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px}.photo-room-card{display:flex;flex-direction:column;border:1px solid #dfe5d8;border-radius:12px;overflow:hidden;text-decoration:none;background:#fff;color:inherit}.photo-room-card img{width:100%;height:190px;object-fit:cover}.photo-room-card span{padding:18px 18px 5px;font-weight:600}.photo-room-card small{padding:0 18px 18px;color:#718068}.photo-empty{padding:35px;border:1px dashed #cbd4c3;border-radius:10px;color:#78816e;text-align:center;font-size:13px}.photo-back{font-size:12px;color:#697565}.photo-toolbar-actions{display:flex;align-items:center;gap:16px;font-size:12px}.photo-download{border:1px solid #becdb4;border-radius:6px;padding:10px 14px;text-decoration:none;color:#2d523e;background:#fff}.photo-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}.photo-main{min-width:0}.photo-canvas-panel{background:#fff;border:1px solid #dfe5d9;border-radius:10px;overflow:hidden}.photo-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:12px 16px;gap:12px;font-size:12px;border-bottom:1px solid #e5e8de}.photo-toolbar>div{display:flex;align-items:center;gap:12px}.photo-toolbar button{padding:6px 10px;font-size:11px}.photo-toolbar select{margin-left:6px;padding:5px;width:auto}.photo-canvas-scroll{max-height:65vh;overflow:auto;background:#e4e7df}.photo-canvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair;-webkit-user-select:none;user-select:none}.photo-canvas-panel>.photo-hint{padding:0 16px}.photo-controls{background:#fff;border:1px solid #dfe5d9;border-radius:10px;padding:24px}.photo-controls h2{font-size:14px;margin:22px 0 12px}.photo-controls .field{font-size:12px;margin:14px 0;max-width:none}.photo-controls .field small{font-weight:400;color:#86907c}.photo-controls input,.photo-controls select,.photo-controls textarea{width:100%;box-sizing:border-box}.photo-mode{display:grid;gap:8px}.photo-mode button{text-align:left;white-space:normal;font-size:12px;padding:13px}.photo-mode button[aria-pressed=true]{background:#315846;color:#fff;border-color:#315846}.photo-product-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:290px;overflow:auto}.photo-product-grid button{padding:0;overflow:hidden;text-align:left;white-space:normal;min-width:0}.photo-product-grid button[aria-pressed=true]{outline:2px solid #789667;outline-offset:-2px}.photo-product-grid img{width:100%;height:85px;object-fit:contain;background:#f5f5f0}.photo-product-grid span{display:block;padding:8px;font-size:11px;line-height:1.4}.photo-selected-product{display:flex;gap:10px;align-items:center;padding:10px;background:#f0f4ec;border-radius:6px;margin:14px 0}.photo-selected-product img{width:48px;height:48px;object-fit:contain}.photo-selected-product div{min-width:0;flex:1}.photo-selected-product small{display:block;color:#77866d;font-size:10px}.photo-selected-product strong{display:block;font-size:11px;overflow-wrap:anywhere;margin-top:3px}.photo-selected-product button{padding:4px 8px}.photo-generate{width:100%;padding:14px!important}.photo-test{font-size:12px;line-height:1.6;background:#fff3d6;padding:10px 12px;border-radius:5px;color:#70581b}.photo-history{margin:26px 0}.photo-history .photo-heading{margin-bottom:14px}.photo-history-strip{display:flex;gap:12px;overflow-x:auto;padding:3px 3px 8px}.photo-history-strip button{flex:0 0 138px;max-width:138px;padding:5px;background:#fff;text-align:left;white-space:normal;border-radius:8px;overflow:hidden}.photo-history-strip button[aria-pressed=true]{border:2px solid #315846;padding:4px}.photo-history-strip img{width:100%;height:80px;object-fit:cover;border-radius:4px}.photo-history-strip span{display:block;font-size:11px;padding:7px 4px 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-history-strip small{font-size:10px;color:#77846d;padding:0 4px 6px;display:block}.photo-review{padding:24px;border:1px solid #d6e0ca;border-radius:10px;background:#fff}.photo-review p{font-size:13px;line-height:1.7}.photo-compare-tabs{display:flex;align-items:center;gap:8px;margin:12px 0}.photo-compare-tabs [aria-pressed=true]{background:#315846;color:#fff}.photo-compare-tabs a{font-size:12px;margin-left:auto}.photo-result{display:block;width:100%;height:auto;border-radius:5px}.photo-check{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.6;margin:14px 0}.photo-check input{width:auto;margin-top:3px}.photo-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.photo-catalogue-card{padding:20px;background:#fff;border:1px solid #dce3d5;border-radius:10px}.photo-catalogue-card>img{width:100%;height:180px;object-fit:contain}.photo-catalogue-card details{font-size:12px}.photo-catalogue-admin>p{font-size:13px;line-height:1.7}.photo-catalogue-card input{width:100%}.photo-catalogue-card .photo-check input{width:auto}@media(max-width:1100px){.photo-editor,.photo-home{padding:24px}.photo-workspace{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.photo-controls{padding:18px}.photo-toolbar>span{display:none}}@media(max-width:800px){.photo-workspace{grid-template-columns:1fr}.photo-controls{order:-1}.photo-product-grid{grid-template-columns:repeat(4,1fr);max-height:160px}.photo-heading{flex-wrap:wrap}.photo-intro{padding:40px 18px}.photo-editor,.photo-home{padding:18px}.photo-canvas-scroll{max-height:60vh}.photo-history .photo-heading>span{display:none}.photo-toolbar-actions,.photo-compare-tabs{flex-wrap:wrap}}:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#263b34;background:#f4f5ef;font-synthesis:none;font-weight:400}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:1px solid #d7dfd5;background:#fff;color:#355045;border-radius:7px;padding:9px 13px;font-size:13px;transition:background .15s}button:hover{background:#edf2e9}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible{outline:3px solid #bea666;outline-offset:2px}input{width:100%;min-width:0;border:1px solid #d8dfd5;border-radius:5px;padding:9px;color:#294638;background:#fbfcf8}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:30px;font-weight:500;letter-spacing:-1.1px}h2{font-size:19px;font-weight:550}h3{font-size:13px;font-weight:650}header{height:76px;background:#fff;border-bottom:1px solid #e0e5da;display:flex;align-items:center;padding:0 32px;gap:45px}.brand{text-decoration:none;font-size:22px;font-weight:700;letter-spacing:-1px;display:flex;align-items:center;gap:12px}.brand-icon{width:34px;height:34px;background:#2f4b3d;color:#f7f7ed;display:grid;place-items:center;border-radius:8px;font-size:24px}.brand-light{font-weight:350}.header-context{font-size:13px;color:#7a857b;flex:1}.header-context span{margin:0 12px;color:#b9c1b6}.badge{font-size:10px;font-weight:700;letter-spacing:1px;padding:8px 11px;border:1px solid #d5dfc9;border-radius:4px;background:#eef3e5;color:#58733d}.workspace-heading{display:flex;justify-content:space-between;align-items:center;padding:30px 32px 24px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;color:#71836b;margin-bottom:10px}.muted{color:#7a857a}.workspace-heading .muted{font-size:13px;margin-top:9px}.session-status{font-size:12px;color:#69815d;position:relative;padding-left:16px}.status-dot{width:6px;height:6px;border-radius:50%;background:#87a565;position:absolute;left:0;top:5px}.small{font-size:11px;line-height:1.65}.session-status .small{display:block;color:#90988d}.toolbar{display:flex;justify-content:space-between;align-items:center;padding:0 32px 18px;gap:18px}.toolbar nav{display:flex;background:#e8ece2;border:1px solid #dce2d5;border-radius:8px;padding:4px;gap:3px}.toolbar nav button{background:transparent;border:0;color:#82907b;font-size:11px;display:flex;align-items:center;gap:8px}.toolbar nav button b{font-size:13px;font-weight:550}.toolbar nav .selected{background:#fff;color:#2f513e;box-shadow:0 1px 3px #0000000a}.count{background:#e7eee0;border-radius:4px;padding:1px 4px}.actions{display:flex;gap:8px;align-items:center}.primary{background:#345640;color:#fff;border-color:#345640;min-width:190px;display:flex;justify-content:space-between;gap:20px}.primary:hover{background:#244830}.editor-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:22px;padding:0 32px 25px}.inspector{background:#fff;border:1px solid #dfe5d9;border-radius:10px;overflow:hidden}.panel-section{padding:20px;border-bottom:1px solid #e8ece3}.panel-section:last-child{border-bottom:0}.product-preview{height:90px;display:flex;align-items:center;justify-content:center;margin:10px 0 17px;background:#f4f5ee;border-radius:6px}.product-preview img{width:175px}.panel-section h2{margin-bottom:4px}.dimension-strip{font-size:11px;padding:12px 0}.pill{display:inline-block;background:#f1f3ed;font-size:9px;color:#7e8775;border-radius:3px;padding:4px 6px;margin:0 4px 4px 0}h3 span{float:right;font-size:10px;color:#96a08e;font-weight:400}.field{display:block;font-size:10px;color:#829079;margin-top:13px}.field input{display:block;margin-top:5px;font-size:12px}.field-row{display:flex;gap:10px}.field-row>*{flex:1;min-width:0}.panel-section .small{margin-top:10px}.canvas-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.18fr);gap:18px}.canvas-card{background:#fff;border:1px solid #dce3d5;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.canvas-title{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 14px;min-height:72px;gap:8px}.canvas-title b{font-size:14px;display:block;font-weight:550}.canvas-title span{display:block;font-size:10px;color:#8c9785;margin-top:4px}.zoom{display:flex;align-items:center;gap:3px}.zoom button{font-size:11px;padding:5px 8px;background:#f8faf5;border-color:#e0e7d8}.zoom span{margin:0;padding:0 4px}.zoom .active{background:#e5eddd;color:#426334}.plan-stage{overflow:auto;margin:auto;max-width:100%;background:#f7f7f1;display:flex;justify-content:flex-start}.photo-viewport{overflow:hidden;position:relative;aspect-ratio:3/2;margin:auto 0;background:#e5e7dd;width:100%}.photo-surface{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:center;touch-action:none}.photo-surface>svg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;touch-action:none}.drag-handle{cursor:grab}.drag-handle:active{cursor:grabbing}.canvas-caption{font-size:10px;color:#7e8b76;line-height:1.5;padding:15px 18px;margin-top:auto;border-top:1px solid #edf0e7}.calibration-panel{background:#fff;border:1px solid #dfe5d9;border-radius:9px;margin-top:18px;padding:20px}.calibration-heading{display:flex;justify-content:space-between;align-items:center}.calibration-heading .small{margin-top:6px}.calibration-state{font-size:11px;color:#9a804b;margin-top:14px}.calibration-state span{color:#8e9786}.room-fields{max-width:420px}.points-table{border-collapse:collapse;width:100%;margin:18px 0;font-size:10px}.points-table th{text-align:left;color:#8a947d;font-weight:500;padding:6px}.points-table td{padding:4px}.points-table input{font-size:12px}.calibration-panel>.small{margin-top:14px}.warning,.alert{background:#f8f0de;color:#947441;border:1px solid #edddba;border-radius:5px;padding:10px;font-size:11px;line-height:1.5;margin-top:12px}.alert{margin:0 32px 18px}.calibration-panel .alert{margin:14px 0}.review{padding:8px 32px 35px;min-height:650px}.review-title{display:flex;justify-content:space-between;align-items:center;margin:10px 0 24px}.comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.comparison figure{margin:0;border:1px solid #dce3d5;border-radius:9px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.comparison img{width:100%;aspect-ratio:3/2;object-fit:contain;background:#eef0e7}.comparison figcaption{padding:17px 18px;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;flex:1}.comparison figcaption span{font-size:10px;color:#8e9884}.empty{aspect-ratio:3/2;background:#e9ede2;display:flex;align-items:center;justify-content:center;padding:35px;text-align:center;font-size:12px;color:#809071}.live-empty{flex-direction:column;gap:12px;background:repeating-linear-gradient(135deg,#f0f3e9,#f0f3e9 8px,#edf1e5 8px,#edf1e5 9px)}.live-empty>span{font-size:30px;color:#92a37d}.live-empty p{font-size:11px;line-height:1.6;max-width:250px}.review>.small{margin:20px 0 15px}.stale{background:#fbefcf;color:#977442;border-color:#ead9b2}.proof{margin-top:25px}.proof .comparison{grid-template-columns:repeat(2,minmax(0,400px));margin-top:15px}footer{display:flex;justify-content:space-between;padding:17px 32px;font-size:10px;color:#9aa28f;border-top:1px solid #dfe5d8;background:#f0f3e8}@media(min-width:1700px){.app{max-width:1920px;margin:auto}}@media(max-width:1200px){.canvas-grid{grid-template-columns:1fr}.plan-stage{width:100%;justify-content:center}.photo-viewport{max-height:500px}.comparison{grid-template-columns:1fr}.comparison figure{max-width:650px}.editor-layout{grid-template-columns:220px minmax(0,1fr)}.header-context{display:none}header .badge{margin-left:auto}}@media(max-width:750px){header{padding:0 18px;gap:10px}.badge{font-size:8px}h1{font-size:25px}.workspace-heading,.toolbar{padding-left:18px;padding-right:18px}.session-status{display:none}.toolbar{flex-wrap:wrap}.editor-layout{display:flex;flex-direction:column;padding:0 18px 20px}.inspector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.inspector .panel-section:last-child{grid-column:1/-1}.review{padding:18px}footer{gap:20px}.plan-stage{justify-content:flex-start}}
