:root{--bg:#f6f1e9;--card:#fffcf7;--rail:#eadcc8;--oak:#d8c0a3;--primary:#805b40;--text:#3e3027;--muted:#736254;--line:#ddd0bf;--selected:#f0dec8;--warn:#9c5b11;--red:#a13e32;--shadow:0 8px 32px #63462d09}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.6 "Microsoft YaHei","PingFang SC",system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--primary)}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;background:#e8e3dc!important;color:#766d63!important;border-color:#dad2c8!important;box-shadow:none}a{color:var(--primary)}button{min-height:44px;border:1px solid var(--line);color:var(--text);background:var(--card);border-radius:10px;padding:10px 17px;transition:background .16s,transform .16s}button:hover:not(:disabled){background:#f0e5d7}button.primary{background:var(--primary);border-color:var(--primary);color:white}button.primary:hover{background:#6f4b32}button.ghost{background:transparent;border-color:transparent}button.small{padding:5px 12px;min-height:38px;font-size:13px}button.danger{color:var(--red)}button.icon-only{width:44px;padding:8px;display:inline-flex;align-items:center;justify-content:center}button.selected{background:var(--selected);border-color:#bd9471;color:#634328}input,select,textarea{width:100%;background:#fffefa;color:var(--text);border:1px solid var(--line);border-radius:9px;padding:11px 12px;min-height:46px}textarea{resize:vertical;min-height:90px}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--primary);flex-shrink:0}input[type=number]{appearance:textfield}label{display:block;font-weight:600;margin-bottom:8px}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-.5px;line-height:1.3}h2{font-size:21px;line-height:1.4}h3{font-size:17px}p.sub,.muted{color:var(--muted)}p.sub{margin-top:7px}svg.icon{width:21px;height:21px;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.row{display:flex;align-items:center;gap:12px}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:18px}.gap8{gap:8px}.grow{flex:1}.full{width:100%}.tiny{font-size:12px;color:var(--muted)}.large-num{font-size:36px;line-height:1.2;font-weight:700}.rule{height:1px;background:var(--line);margin:20px 0}.field{margin-bottom:18px}.field .hint{font-size:12px;color:var(--muted);margin-top:5px}.columns2,.columns3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.columns3{grid-template-columns:repeat(3,minmax(0,1fr))}.checkbox{display:flex;align-items:center;gap:9px;font-weight:400;cursor:pointer;margin:10px 0}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:7px;background:#eee2d3;color:#69462d;font-size:12px;white-space:nowrap}.badge.warn{color:#874809;background:#fff0d7}.badge.fail{color:#942e26;background:#fbe6e0}.badge.dim{color:#695f54;background:#e9e5df}.notice{padding:12px 16px;border-radius:10px;background:#eee5d8;color:#604a38;font-size:13px;line-height:1.7;display:flex;gap:10px;align-items:flex-start}.notice.warning{background:#fff1dc;color:#874809}.notice.error{background:#fbe6e0;color:#942e26}.notice.neutral{background:#f5f0e8;color:var(--muted)}
.rail{position:fixed;inset:0 auto 0 0;width:216px;background:linear-gradient(140deg,#e9dbc7,#eee4d5);padding:30px 19px;display:flex;flex-direction:column;z-index:20;border-right:1px solid #ddcdb7}.brand{display:flex;align-items:center;gap:11px}.brand-mark{width:42px;height:48px;flex-shrink:0}.brand-name{font-size:27px;letter-spacing:4px;font-weight:700;line-height:1.2}.brand-caption{font-size:12px;letter-spacing:2px;margin-top:4px}.nav-list{margin-top:38px;display:grid;gap:9px}.nav-item{display:flex;align-items:center;gap:16px;border:none;text-align:left;background:transparent;padding:13px 14px;min-height:50px}.nav-item.active{background:#d8c0a3;color:#543920;font-weight:700;box-shadow:inset 3px 0 var(--primary)}.rail-foot{margin-top:auto}.rail-foot p{font-size:12px;margin-top:6px}.workspace{margin-left:216px;min-height:100vh}.topbar{height:80px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fffcf788;border-bottom:1px solid #e9dfd2}.topbar .breadcrumb{color:var(--muted);font-size:13px}.account-chip{display:flex;align-items:center;gap:12px}.avatar{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#d8c0a3;font-size:14px;font-weight:700}.wallet{font-size:13px;padding-left:15px;border-left:1px solid var(--line);color:var(--muted)}.wallet b{font-size:22px;color:var(--primary);margin-left:6px}.demo-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 34px;background:#eee4d6;border-bottom:1px solid #ddcdb7;color:#69503a;font-size:12px}.main{padding:28px 34px 42px;max-width:1760px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.card{background:var(--card);border:1px solid #e7dccf;border-radius:14px;padding:22px;box-shadow:var(--shadow)}.mobile-nav{display:none}.hero{border-radius:16px;overflow:hidden;min-height:278px;position:relative;background:var(--oak);display:flex;align-items:center;margin-bottom:24px}.hero img{position:absolute;width:72%;height:100%;right:0;top:0;object-fit:cover;object-position:right}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#eadbc7 10%,#eadbc7f2 32%,#eadbc700 69%)}.hero-content{position:relative;z-index:1;padding:33px;width:60%}.eyebrow{font-size:12px;letter-spacing:3px;color:#765339;margin-bottom:8px}.hero h2{font-size:32px;line-height:1.3}.hero p{margin:10px 0 22px;color:#6c533e}.category-bar{display:flex;justify-content:space-between;align-items:center;margin:20px 0 17px;gap:14px}.tabs{display:flex;gap:8px;flex-wrap:wrap}.tabs button{border-radius:24px;font-size:14px;padding:8px 18px;min-height:42px}.tabs button.active{background:var(--primary);border-color:var(--primary);color:white}.count{display:inline-block;margin-left:8px;font-size:12px;border-radius:20px;padding:0 6px;background:#ffffff4d}.tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.tool-card{display:flex;text-align:left;gap:15px;align-items:center;padding:15px;min-height:118px;border-radius:13px;background:var(--card);box-shadow:var(--shadow);position:relative;width:100%}.tool-card .tool-image{width:92px;height:84px;border-radius:9px;object-fit:cover;flex-shrink:0}.tool-card h3{font-size:16px;margin-bottom:5px}.tool-card p{font-size:12px;color:var(--muted);padding-right:10px}.tool-card .phase{position:absolute;right:10px;top:9px}.tool-card.future{opacity:.7;background:#eeeae4}.tool-card.video{border:1px solid #af8361;background:#f5e8d7}.tool-illustration{width:92px;height:84px;display:grid;place-items:center;flex-shrink:0;color:var(--primary);background:#f0dfc8;border-radius:10px}.tool-illustration svg{width:42px;height:42px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:29px 0 14px}.recent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.recent-card{display:flex;align-items:center;gap:14px;padding:15px}.recent-card img{width:73px;height:67px;border-radius:8px;object-fit:cover}.recent-card h3{font-size:14px}.stepper{display:flex;gap:20px;align-items:center;font-size:13px;color:var(--muted)}.step{display:flex;align-items:center;gap:8px}.step-num{width:27px;height:27px;border-radius:50%;background:#e4ddd2;display:grid;place-items:center}.step.active{color:var(--primary);font-weight:700}.step.active .step-num{background:var(--primary);color:white}
.workbench{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,1fr);gap:22px;align-items:start}.workbench .card{padding:22px}.preview{position:relative;background:#e7ded0;border-radius:12px;overflow:hidden;aspect-ratio:16/9;display:grid;place-items:center}.preview img{width:100%;height:100%;object-fit:contain}.preview svg.draw-overlay{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.draw-overlay.editable{cursor:crosshair}.draw-overlay rect,.draw-overlay line{fill:#bc754010;stroke:#a4482d;stroke-width:3}.draw-toolbar{display:flex;gap:8px;margin-top:13px;flex-wrap:wrap}.asset-row{padding:13px;border:1px solid var(--line);border-radius:10px;margin-top:14px;display:flex;justify-content:space-between;align-items:center;gap:12px}.upload-box{border:1px dashed #bfa080;border-radius:12px;padding:28px 18px;background:#fcf8f0;text-align:center;cursor:pointer}.upload-box:hover{background:#f4e8d8}.upload-box .icon{width:36px;height:36px;margin-bottom:7px}.reference-box{display:flex;gap:14px;align-items:center}.reference-box img{width:90px;height:78px;object-fit:cover;border-radius:7px}.scope-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:20px}.scope-grid button{font-size:13px;padding:7px;min-height:43px}.material-choice{display:flex;gap:12px;align-items:center;width:100%;text-align:left;padding:12px;margin-bottom:10px}.swatch{background-color:#dcc8ac;border:1px solid #c9bba9;border-radius:9px;width:53px;height:53px;flex-shrink:0}.swatch.oak{background:repeating-linear-gradient(92deg,#d9bf97 0px,#e2cba6 3px,#c8aa80 5px,#dbc19b 8px)}.swatch.walnut{background:repeating-linear-gradient(92deg,#765237 0px,#8b6548 3px,#9c7854 5px,#785039 9px)}.swatch.pet{background:#e9e2d7}.swatch.stone{background:linear-gradient(130deg,#bbb7b0 0%,#e0ddd6 32%,#aba8a3 34%,#cfcbc4 36%,#eeebe5 70%,#b7b3ab 72%,#d8d4ce 74%)}.sticky-action{position:sticky;bottom:14px;z-index:6;margin-top:20px;padding:15px 22px;box-shadow:0 5px 22px #64432716;display:flex;align-items:center;justify-content:space-between;gap:12px}.result-layout{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(300px,1fr);gap:23px;align-items:start}.result-image{position:relative}.result-image .segmented{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;background:var(--card);padding:4px;border-radius:28px;box-shadow:0 3px 14px #3d2c2722}.segmented button{border:none;background:transparent;border-radius:22px;padding:7px 23px;min-height:38px}.segmented button.active{background:var(--primary);color:white}.result-details .kv{display:flex;justify-content:space-between;gap:14px;margin:14px 0;font-size:14px}.versions{display:flex;gap:12px;overflow:auto;padding-bottom:6px}.version{min-width:210px;max-width:280px;display:flex;gap:12px;align-items:center;text-align:left}.version img{width:76px;height:65px;object-fit:cover;border-radius:7px}.version.active{border:2px solid var(--primary)}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.work-card{padding:0;overflow:hidden;text-align:left;cursor:pointer;min-width:0}.work-photo{position:relative;aspect-ratio:16/10}.work-photo img{width:100%;height:100%;object-fit:cover}.work-photo .badge{position:absolute;top:12px;right:12px}.work-info{padding:16px}.work-info h3{font-size:15px;margin-bottom:9px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:19px 0}.filters input,.filters select{width:auto;flex:1;min-width:150px;max-width:320px}.empty{padding:44px 20px;text-align:center;color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.metric{display:flex;gap:16px;align-items:center}.metric .icon{width:29px;height:29px;color:var(--primary)}.metric p{font-size:13px;color:var(--muted);margin-bottom:6px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;background:#f1e9df;color:#674f3c;font-weight:600}td,th{padding:14px 12px;border-bottom:1px solid #e8dfd4;vertical-align:middle}tbody tr:last-child td{border-bottom:0}td .row{gap:5px}td .small{font-size:12px;padding:5px 8px;white-space:nowrap}.materials-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.material-card{padding:12px;text-align:left;width:100%;min-width:0}.material-card .swatch{width:100%;height:140px;border-radius:8px;margin-bottom:13px}.material-card p{font-size:13px;color:var(--muted)}
.video-layout{display:grid;grid-template-columns:1.1fr 1fr 1.2fr;gap:18px;align-items:start}.video-layout .card{padding:19px}.video-layout .preview{margin:17px 0}.video-layout video{display:block;width:100%;background:#40372e;border-radius:10px;max-height:290px}.cab-list{display:grid;gap:12px;margin-top:18px}.cab-item{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:10px}.cab-item.active{border-color:var(--primary);background:#f3e7d8}.cab-item button{flex:1;border:none;background:transparent;padding:0;text-align:left}.cab-item .swatch{width:42px;height:42px}.evidence{padding:13px;background:#f5ecdf;border-radius:10px;margin:13px 0;font-size:13px}.evidence-times{display:flex;gap:7px;flex-wrap:wrap}.progress-stage{display:flex;gap:14px;align-items:flex-start;padding:17px 0;border-bottom:1px solid #eadfd1}.progress-stage .stage-icon{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#e9e0d3;color:#796754;flex-shrink:0}.progress-stage.done .stage-icon,.progress-stage.current .stage-icon{background:var(--primary);color:white}.spinner{width:18px;height:18px;border:2px solid #f4e7d588;border-top-color:white;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.processing-card{max-width:680px;margin:0 auto}.quota{padding:15px;background:#f3e8d8;border-radius:12px}
.login-page{min-height:100vh;padding:32px 6vw;display:flex;flex-direction:column;justify-content:center}.login-head{margin-bottom:28px}.login-shell{display:grid;grid-template-columns:1.1fr 1fr;max-width:1200px;width:100%;margin:auto;border-radius:22px;overflow:hidden;background:var(--card);box-shadow:0 18px 60px #4a34291a;min-height:650px}.login-art{position:relative}.login-art img{width:100%;height:100%;object-fit:cover;filter:brightness(.78)}.login-art .copy{position:absolute;inset:auto 38px 46px;color:white}.login-art h1{font-size:40px;line-height:1.5}.login-art p{margin-top:16px}.login-form{padding:70px 64px;display:flex;flex-direction:column;justify-content:center}.login-form h1{margin-bottom:10px}.login-form .field{margin:20px 0 0}.login-form .primary{margin-top:28px}.login-form .notice{margin-top:23px}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:100;background:#493424;color:white;padding:13px 22px;border-radius:11px;box-shadow:0 5px 22px #3b2a2728;max-width:90vw;text-align:center;font-size:14px}.modal-backdrop{position:fixed;inset:0;background:#30211866;z-index:60;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(3px)}.modal{width:560px;max-width:100%;max-height:90vh;overflow:auto;background:var(--card);border-radius:17px;box-shadow:0 24px 70px #35201544;padding:27px}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.drawer{position:fixed;right:0;top:0;height:100%;max-height:100%;width:490px;max-width:100%;border-radius:17px 0 0 17px;padding:28px}.modal .notice{margin:15px 0}.status-big{max-width:600px;margin:20px auto;text-align:center}.status-big .status-icon{width:75px;height:75px;border-radius:50%;background:#f1dfc5;color:var(--primary);font-size:36px;display:grid;place-items:center;margin:10px auto 22px}.print-preview{margin-top:20px}.links-list button{width:100%;text-align:left;display:flex;justify-content:space-between;align-items:center;background:transparent;border-radius:0;border-width:0 0 1px}.login-error{color:var(--red);margin-top:13px;font-size:13px;min-height:22px}.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}.login-footer{text-align:center;margin-top:24px;color:var(--muted);font-size:12px}.bottom-note{margin-top:20px;font-size:12px;color:var(--muted)}.back-link{margin-left:-12px;margin-bottom:9px}.profile-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:22px}.dim-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.dim-fields .field{margin-bottom:10px}.dim-fields label{font-size:12px}.dim-fields input{padding:10px}.admin-panel{margin-top:22px}.admin-summary{margin-bottom:22px}.admin-user-label{font-size:11px;color:var(--muted)}.action-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--primary);color:white;border-radius:10px;min-height:44px;padding:10px 17px;text-decoration:none}.outline-link{background:transparent;color:var(--primary);border:1px solid var(--primary)}.hidden-input{display:none}.float-input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.upload-wrapper{position:relative}.sample-row{margin-top:12px}.source-note{font-size:12px;color:var(--muted);margin-top:12px}.stateline{margin:14px 0;display:flex;gap:10px;align-items:center}.app-error{padding:50px;text-align:center}.tall-photo{aspect-ratio:16/10}
@media(min-width:1600px){.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{min-height:310px}.gallery{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.rail{width:185px;padding:26px 13px}.workspace{margin-left:185px}.main{padding:25px}.topbar{padding:0 25px}.demo-strip{padding:8px 25px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-content{width:70%}.workbench{grid-template-columns:1.3fr 1fr}.video-layout{grid-template-columns:1fr 1fr}.video-layout .video-form{grid-column:1/-1}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.materials-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stepper{gap:10px}.login-form{padding:45px}.result-layout{grid-template-columns:1.5fr 1fr}}
@media(max-width:760px){body{font-size:14px}.rail{display:none}.workspace{margin-left:0}.topbar{height:68px;padding:0 18px}.topbar .breadcrumb{display:none}.topbar .brand{display:flex!important}.topbar .brand-mark{width:28px;height:33px}.topbar .brand-name{font-size:20px;letter-spacing:2px}.topbar .brand-caption{font-size:9px;letter-spacing:1px}.account-chip{gap:7px}.account-chip .name,.account-chip .avatar{display:none}.wallet{border:0;padding:0}.wallet b{font-size:20px}.topbar .small{padding:6px 8px;font-size:12px}.demo-strip{padding:8px 18px;line-height:1.5;font-size:11px}.demo-strip button{font-size:11px;min-height:30px;padding:3px 6px}.main{padding:23px 18px 98px}.page-heading{margin-bottom:19px;align-items:start}.page-heading h1{font-size:25px}.page-heading p{font-size:12px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:30;display:grid;grid-template-columns:repeat(4,1fr);background:#fffcf7f8;border-top:1px solid var(--line);padding:6px 10px max(8px,env(safe-area-inset-bottom));backdrop-filter:blur(14px)}.mobile-nav button{border:none;background:transparent;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px;font-size:11px;min-height:51px}.mobile-nav .active{color:var(--primary);font-weight:700}.mobile-nav svg{width:22px;height:22px}.hero{min-height:285px;margin-bottom:20px}.hero img{width:100%;object-position:72% center}.hero:after{background:linear-gradient(90deg,#eadbc7f8 5%,#eadbc7e8 42%,#eadbc718 87%)}.hero-content{width:79%;padding:23px}.hero h2{font-size:26px}.hero p{font-size:12px;margin:10px 0 17px;max-width:160px}.hero .row{align-items:stretch;flex-direction:column;gap:8px;max-width:190px}.hero button{min-height:42px;font-size:13px;padding:8px 12px}.hero .tiny{font-size:10px}.category-bar{align-items:start;flex-direction:column;gap:9px}.tabs{gap:6px;flex-wrap:nowrap;overflow:auto;width:100%;padding-bottom:3px}.tabs button{font-size:12px;padding:7px 12px;white-space:nowrap;flex-shrink:0}.tabs .count{display:none}.tool-grid{grid-template-columns:1fr;gap:10px}.tool-card{min-height:100px;padding:12px}.tool-card .tool-image,.tool-illustration{width:82px;height:74px}.tool-card h3{font-size:15px}.recent-grid{grid-template-columns:1fr}.recent-card{padding:13px}.recent-card .small{padding:5px 9px}.card{padding:18px}.workbench,.result-layout,.profile-layout,.video-layout{grid-template-columns:1fr;gap:17px}.workbench .card{padding:17px}.stepper{font-size:11px;gap:7px;margin-top:12px}.step-num{width:23px;height:23px}.page-heading.with-steps{flex-direction:column}.scope-grid button{font-size:12px}.sticky-action{bottom:12px;padding:13px 15px;gap:10px}.sticky-action .tiny{display:none}.sticky-action button{font-size:13px;padding:10px 13px}.result-image .segmented{bottom:10px}.segmented button{padding:6px 20px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.work-info{padding:12px}.work-info h3{font-size:13px}.work-info .tiny{font-size:10px}.work-photo .badge{font-size:10px;padding:3px 6px;top:7px;right:7px}.filters{gap:8px}.filters input,.filters select{min-width:0;max-width:none;width:100%;font-size:12px;flex-basis:40%}.metrics{gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.metric{flex-direction:column;align-items:start;gap:8px;padding:13px}.metric p{font-size:11px}.large-num{font-size:28px}.metrics .icon{width:23px;height:23px}.material-card .swatch{height:100px}.materials-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.materials-grid .material-card{padding:10px}.video-layout .video-form{grid-column:auto}.dim-fields{gap:8px}.dim-fields input{font-size:13px}.login-page{padding:26px 18px}.login-shell{display:flex;flex-direction:column;min-height:0;box-shadow:none;background:transparent}.login-art{height:190px;border-radius:16px;overflow:hidden;order:2;margin-top:20px}.login-art .copy{inset:auto 22px 20px}.login-art h1{font-size:22px}.login-art p{font-size:12px;margin-top:5px}.login-head{margin-bottom:24px}.login-form{padding:12px 0}.login-form h1{font-size:28px}.login-form .field{margin-top:17px}.login-form .notice{font-size:12px}.login-footer{margin-top:18px}.modal{padding:22px}.modal-backdrop{padding:14px}.drawer{width:100%;height:auto;max-height:92vh;top:auto;bottom:0;border-radius:18px 18px 0 0}.modal-actions button{flex:1}.toast{bottom:90px;min-width:240px;font-size:12px}.versions{gap:9px}.version{min-width:176px;padding:10px}.version img{width:62px;height:60px}.stepper+.row{display:none}.admin-summary .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-tabs{overflow:auto;flex-wrap:nowrap}.admin-tabs button{white-space:nowrap}.main.admin-main{padding-bottom:45px}.main.secondary-main{padding-bottom:35px}.tall-photo{aspect-ratio:4/3}}
@media(max-width:760px){.topbar .brand-mobile{display:block!important}.sticky-action{display:block;padding:11px 16px}.sticky-action>div:first-child{margin-bottom:8px;white-space:nowrap;font-size:12px}.sticky-action>.row{width:100%;gap:8px}.sticky-action>.row button{white-space:nowrap;flex:1}.sticky-action>.row button.primary{flex:2}.sticky-action>button{width:100%;margin-top:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.brand-mobile{display:none}.video-player{display:block;width:100%;max-height:340px;background:#3e3027;border-radius:10px;margin:17px 0}.evidence-frame{border-radius:9px;width:100%;margin:12px 0}.transcript{font-size:13px;white-space:pre-wrap;max-height:320px;overflow:auto;margin-top:12px}.table-thumb{width:48px;height:48px;border-radius:7px;object-fit:cover}.password-required{width:100%;max-width:500px;margin:0 auto}.draw-preview{aspect-ratio:auto;display:block}.draw-preview img{width:100%;height:auto;max-height:none;object-fit:contain}.material-card img.swatch{object-fit:cover}.material-choice img.swatch{object-fit:cover}.admin-tabs{padding-bottom:8px}.work-photo .empty{height:100%;display:grid;place-items:center;padding:20px}.work-photo .empty .icon{width:40px;height:40px}.mobile-nav .nav-item{justify-content:center}.hero button{display:inline-flex;align-items:center;gap:8px}.modal input[type=file]{padding:8px;font-size:13px}.modal p.hint{font-size:12px;color:var(--muted)}.result-details .kv span:last-child{overflow-wrap:anywhere;text-align:right}.admin-panel{min-width:0}.admin-panel table .row{min-width:130px}
.material-entry{min-width:0}.material-edit{margin-top:5px}.material-entry .material-card{height:calc(100% - 43px)}
.frame-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:210px;overflow:auto;margin-top:10px}.frame-option{padding:4px;min-width:0;border-radius:7px;font-size:11px;min-height:0}.frame-option img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:4px}.frame-option.selected{border:2px solid var(--primary)}.frame-option span{display:block;text-align:center;padding:2px}
.page-heading>div:first-child{min-width:0;flex:1}.page-heading>.row,.page-heading>button{flex-shrink:0}.page-heading button{white-space:nowrap}
@media(max-width:760px){.admin-panel .columns2{grid-template-columns:1fr}.admin-panel .metrics{grid-template-columns:1fr 1fr}.admin-panel .metric{min-width:0}.material-choice{padding:10px}.page-heading>.row{flex-wrap:wrap;justify-content:flex-end}.page-heading>.row button{font-size:12px;padding:7px 10px}.video-form .field{margin-bottom:14px}.main.admin-main{padding-bottom:100px}.brand-mobile{display:block}.topbar .brand-mobile .brand{gap:6px}.hero-content{width:85%}.modal{max-height:86vh}.dim-fields .field input{min-width:0}}

/* Full-image display uses a bounded frame, independent of image intrinsic size. */
.result-image.tall-photo{aspect-ratio:auto;height:clamp(340px,68vh,850px);display:block;min-width:0;min-height:0;padding:0}.result-open{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;border-radius:0;background:transparent;min-height:0;cursor:zoom-in}.result-open img{display:block;width:100%;height:100%;object-fit:contain}.image-open-hint{position:absolute;top:12px;right:12px;border-radius:8px;background:#fffbf0ed;color:#62442e;padding:7px 11px;font-size:12px}.result-image .segmented{z-index:2}.asset-row{flex-wrap:wrap}.asset-row>span{flex:1 1 180px}.reference-box{flex-wrap:wrap}.reference-box .grow{flex:1 1 140px}.upload-box.full{display:block;white-space:normal}.upload-box h3{margin:8px 0}.upload-box:focus-visible,.result-open:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.material-tabs{flex-wrap:wrap;overflow:visible}.material-count{align-self:center}.material-card h3{overflow-wrap:anywhere;font-size:14px;line-height:1.5}.material-card p{overflow-wrap:anywhere}.material-source{display:block;padding:8px 4px;color:var(--primary);font-size:11px;overflow-wrap:anywhere}.load-more{display:flex;justify-content:center;margin:24px 0}.wide-modal{width:min(900px,94vw)}.image-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.library-asset{padding:10px;min-width:0;text-align:left}.library-asset img{width:100%;height:140px;object-fit:contain;background:#ece5db;border-radius:7px}.library-asset span,.library-asset small{display:block;overflow-wrap:anywhere;margin-top:5px}.library-asset small{font-size:11px;color:var(--muted)}.library-pagination{justify-content:space-between;margin-top:18px}.edit-group-title{margin:20px 0 10px}.edit-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.edit-tool-grid button{text-align:left;padding:12px;min-width:0}.edit-tool-grid span{display:block;font-size:12px;color:var(--muted);margin-top:5px}.structure-form{padding:16px;background:#f7efe3;border-radius:10px;margin:18px 0}.structure-form h3{margin-bottom:10px}.structure-form textarea{min-height:82px;resize:vertical}.structure-form .full{margin-top:12px}.structure-copy{white-space:pre-wrap;line-height:1.7;margin:8px 0 18px}.image-viewer-backdrop{background:#302118d9;padding:16px}.image-viewer{width:min(1500px,98vw);max-height:96dvh;padding:16px;overflow:hidden;display:flex;flex-direction:column;gap:10px}.image-viewer .modal-head{margin:0;flex:none}.viewer-stage{height:70dvh;max-height:calc(96dvh - 160px);min-height:180px;overflow:auto;background:#e7ded0;position:relative;cursor:grab;flex:1;padding:12px;text-align:center;touch-action:pan-x pan-y}.viewer-stage img{display:block;max-width:none;max-height:none;margin:0 auto;user-select:none}.viewer-controls{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;flex:none}.image-viewer .tiny{text-align:center;flex:none}.viewer-controls .button{min-height:44px}
@media(max-width:600px){.result-image.tall-photo{height:58dvh;min-height:290px}.image-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-asset img{height:100px}.edit-tool-grid{grid-template-columns:1fr}.image-viewer-backdrop{padding:5px}.image-viewer{width:100%;padding:10px;max-height:98dvh}.viewer-controls button,.viewer-controls a{font-size:12px;padding:8px}.viewer-stage{height:65dvh}.material-tabs button{font-size:12px;padding:8px}.structure-form{padding:12px}}

.material-entry{display:flex;flex-direction:column;gap:6px;min-width:0}.material-entry .material-card{height:auto;flex:1;display:block}.material-edit{margin-top:0;flex:none}.material-source{flex:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 16px;min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--text);text-decoration:none;font-size:14px}.button.primary{background:var(--primary);color:#fff;border-color:var(--primary)}.button:hover{filter:brightness(.96)}
.material-filter{margin-bottom:18px}.material-filter .filters{margin-top:0}.material-count{margin-bottom:12px}.material-brand{display:block;font-size:10px;letter-spacing:1px;color:var(--muted);text-transform:uppercase;margin:12px 0 4px}.material-tags{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}.material-tags span{background:#f2e8db;border-radius:5px;padding:2px 5px;font-size:10px;color:#7d634d}.workflow-intro{display:flex;flex-direction:column;gap:18px}.geometry-reference{max-height:380px;object-fit:contain;border-radius:9px}.workflow-intro .tool-illustration{width:100%;height:130px}.board-assets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.board-assets>div{padding:8px;border:1px solid var(--line);border-radius:9px}.board-assets img{width:100%;height:140px;object-fit:contain}.board-assets span{display:block;font-size:11px;overflow-wrap:anywhere}.board-assets button{margin-top:8px}.panorama-diagram{border:4px solid #b7a18a;min-height:230px;position:relative;background:linear-gradient(135deg,#eee0ca,#c6ab88);display:grid;place-items:center}.panorama-diagram span:nth-child(1){position:absolute;left:10px;top:50%}.panorama-diagram span:nth-child(3){position:absolute;bottom:10px;left:50%}.artifact-preview{position:relative;width:100%;height:min(68vh,800px);min-height:350px;background:#eae4d9;padding:14px;border-radius:12px}.artifact-preview img{width:100%;height:100%;object-fit:contain}.artifact-preview>span{position:absolute;right:12px;top:12px;background:#fff9ecdc;border-radius:6px;padding:6px;font-size:11px}.artifact-pdf{width:100%;height:70vh;border:1px solid var(--line);border-radius:10px}.artifact-file{display:grid;place-items:center;gap:20px;min-height:350px}.artifact-file .icon{width:60px;height:60px}.result-enhance{margin-top:24px}.result-enhance .row{margin:14px 0}.workflow-video{max-height:75vh;min-height:260px}.artifact-tabs{width:100%;max-width:100%;overflow-x:auto;flex-wrap:nowrap;padding:5px 0}.artifact-tabs button{white-space:nowrap;flex-shrink:0;max-width:250px;overflow:hidden;text-overflow:ellipsis}.panorama-shell{position:relative;width:100%;height:min(68vh,700px);min-height:360px;border-radius:12px;overflow:hidden;background:#362e27}.panorama-shell canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none}.panorama-shell canvas:active{cursor:grabbing}.panorama-hint{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);padding:7px 12px;background:#fffbecdd;border-radius:20px;font-size:11px;white-space:nowrap;pointer-events:none}.panorama-error{position:absolute;inset:35% 10% auto;background:#fff7e7;padding:20px;border-radius:9px}.advanced-options{margin:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0}.advanced-options>summary{cursor:pointer;color:var(--muted);font-size:13px}.advanced-body{padding-top:18px}.intent-summary{display:flex;flex-direction:column;gap:4px;padding:15px;background:#f4ebde;border-radius:10px;margin:15px 0}.intent-summary span{font-size:11px;color:var(--muted)}.intent-summary b{font-size:14px}.smart-workbench textarea{min-height:200px;line-height:1.8;margin-top:10px}.smart-workbench .field{margin-top:18px}.smart-workbench .source-card{padding:22px}.source-card .preview{margin:16px 0}.source-card .upload-box{margin:16px 0}.source-card .draw-preview{max-height:600px;overflow:hidden}.source-card .draw-preview img{max-height:600px;object-fit:contain}.workflow-intro p{color:var(--muted)}
@media(max-width:760px){.columns3{grid-template-columns:repeat(2,minmax(0,1fr))}.columns3 .field{min-width:0}.artifact-preview{min-height:280px;height:55vh}.panorama-shell{height:55vh;min-height:300px}.material-filter{padding:13px}.material-filter .filters{flex-direction:column}.material-filter .filters input,.material-filter .filters select{width:100%;flex:none;max-width:none}.smart-workbench textarea{min-height:155px}.workflow-intro .tool-illustration{height:90px}.result-details{min-width:0}.result-details .button{white-space:normal;text-align:center;word-break:break-word}.board-assets{grid-template-columns:1fr 1fr}}
.design-welcome{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.design-welcome h1{font-size:32px;font-weight:600;letter-spacing:1px}.design-welcome>img{width:210px;height:105px;object-fit:cover;border-radius:60px 12px 12px 12px;box-shadow:0 10px 25px #5a402719}.design-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e5d8c8;border-radius:12px;background:#f8f1e7;padding:15px 20px;margin:18px 0 24px;gap:14px}.design-step{display:flex;gap:12px;align-items:center;opacity:.68}.design-step>span{width:30px;height:30px;flex:none;border-radius:50%;display:grid;place-items:center;background:#e8dccd;color:#705941;font-size:13px}.design-step.active{opacity:1}.design-step.active>span{background:var(--primary);color:white}.design-step b{font-size:14px;font-weight:600}.design-step small{display:block;font-size:11px;color:var(--muted)}.design-composer{padding:26px;border-radius:18px;box-shadow:0 12px 45px #65482508}.composer-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.composer-top h2{font-size:22px;font-weight:600;margin-bottom:5px}.composer-body{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(300px,1.15fr);gap:28px}.composer-body>div{min-width:0}.design-composer .source-card{padding:0;border:0;background:transparent;box-shadow:none}.design-composer .source-card>h3{font-size:13px;color:var(--muted);font-weight:400}.design-composer .upload-box{height:300px;border:1.5px dashed #c6ae91;background:linear-gradient(145deg,#f3e9dc,#faf6ee);border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center}.design-composer .upload-box>.icon{width:36px;height:36px;margin-bottom:10px;stroke-width:1.3}.design-composer .upload-box h3{font-size:16px;font-weight:500}.design-composer .source-card .draw-preview{max-height:420px;border-radius:12px;overflow:hidden;background:#eee5d6}.design-composer .source-card .draw-preview img{width:100%;height:350px;object-fit:contain}.composer-copy{display:flex;flex-direction:column}.composer-copy>.field{margin-bottom:0}.composer-copy>.field>label{font-size:13px;font-weight:400;color:var(--muted)}.composer-copy textarea{min-height:174px;line-height:1.9;padding:16px;background:#fffcf7;border-color:#d8c6b1;font-size:14px}.prompt-hints{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:16px}.prompt-hint{font-size:11px;text-align:left;padding:8px 10px;min-height:48px;line-height:1.6;background:#f7efe3;color:#806e5b;border-color:transparent}.prompt-hint>span{display:block;font-size:11px;color:#654629;font-weight:600}.composer-submit{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:auto}.composer-submit>div{display:flex;flex-direction:column;gap:2px}.composer-submit b{font-size:12px;max-width:270px}.composer-submit small{font-size:11px;color:var(--muted)}.composer-submit button{white-space:nowrap;min-height:50px;padding:12px 20px}.composer-footnote{margin-top:12px;font-size:10px}.composer-reference{display:flex;align-items:center;gap:12px;background:#f4ecdf;border-radius:8px;padding:8px;margin-top:10px}.composer-reference img{width:80px;height:60px;object-fit:contain}.composer-reference .tiny{flex:1}.design-composer .advanced-options{margin:14px 0;padding:12px 0}.design-composer .asset-row{gap:6px}.design-composer .asset-row button{font-size:11px;min-height:36px;padding:6px 9px}.design-composer .advanced-body>.row{margin:13px 0}.design-composer .field{margin-bottom:13px}.design-composer .columns2{gap:12px}
.mobile-break{display:none}
.refine-hints{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.refine-hints button{border-radius:20px;font-size:11px;padding:7px 12px;background:#f3e8d9;border-color:#dfcdb8}
@media(max-width:1000px){.composer-body{grid-template-columns:1fr;gap:20px}.design-composer .upload-box{height:200px}.design-composer .source-card .draw-preview img{height:320px}.design-welcome>img{width:150px;height:95px}.design-welcome h1{font-size:27px}}
@media(max-width:760px){.mobile-break{display:block}}
@media(max-width:760px){.design-welcome{gap:10px;margin-bottom:16px}.design-welcome h1{font-size:24px;line-height:1.4;letter-spacing:0;max-width:260px}.design-welcome>img{width:78px;height:98px;object-position:65%;border-radius:32px 8px 8px 8px}.design-welcome .sub{font-size:12px}.design-welcome .eyebrow{font-size:10px;letter-spacing:1px}.design-steps{gap:8px;padding:12px 9px;margin:14px 0}.design-step{gap:5px;align-items:flex-start}.design-step>span{width:21px;height:21px;font-size:10px}.design-step b{font-size:11px;line-height:1.5;display:block}.design-step small{display:none}.design-composer{padding:17px}.composer-top{margin-bottom:16px}.composer-top h2{font-size:18px}.composer-top p{font-size:10px}.composer-body{gap:16px}.design-composer .upload-box{height:180px;margin-top:10px}.design-composer .source-card .draw-preview img{height:250px}.prompt-hints{gap:5px;margin-bottom:13px}.prompt-hint{font-size:10px;min-height:52px;padding:7px}.composer-copy textarea{font-size:13px;min-height:150px;padding:12px}.composer-submit{gap:10px;align-items:stretch;flex-direction:column}.composer-submit>div{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:5px}.composer-submit>div>.tiny{display:none}.composer-submit b{font-size:11px;max-width:70%}.composer-submit button{width:100%}.composer-footnote{font-size:9px}.design-composer .columns2{grid-template-columns:1fr}.result-enhance .design-steps{margin-top:0}}

.plan-review-modal{width:min(1120px,96vw);max-width:1120px;max-height:94vh;overflow:auto}.plan-review-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:24px}.plan-review-source{position:sticky;top:0;align-self:start}.plan-map{position:relative;border:1px solid #ddcbb6;background:#fff;border-radius:12px;overflow:hidden}.plan-map img{width:100%;display:block}.plan-map svg{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.plan-map rect{fill:#c19a6b33;stroke:#9a8069;stroke-width:3}.plan-map rect.selected{fill:#9a6b3744;stroke:#805b40;stroke-width:5}.plan-map text{fill:#4f3524;font:22px sans-serif;paint-order:stroke;stroke:#fff;stroke-width:3}.plan-room{border:1px solid #dccab6;background:#fffcf7;border-radius:12px;padding:16px;margin-bottom:16px}.plan-room.active{border:2px solid #805b40}.plan-room label{display:block;margin-top:12px;font-size:13px}.plan-room input:not([type=checkbox]),.plan-room textarea{display:block;width:100%;margin-top:6px}.plan-room textarea{min-height:96px}.plan-room .checkbox{display:flex;gap:8px;align-items:center}.plan-review-footer{border-top:1px solid #dccab6;padding-top:16px}.plan-review-error{color:#a54929}.plan-select{text-align:left;font-weight:600}.plan-remove{font-size:12px}@media(max-width:720px){.plan-review-grid{grid-template-columns:1fr}.plan-review-source{position:relative}.plan-review-modal{padding:16px}.plan-map{max-height:none}}
.spatial-mode-tip{background:#f1e5d6;border:1px solid #e0c9ae;padding:12px 14px;border-radius:10px;margin-bottom:12px;color:#67482e;font-size:13px;line-height:1.5}.spatial-editor{margin-top:18px;padding-top:16px;border-top:1px solid #e4d3bf}.spatial-editor summary{font-weight:700;cursor:pointer}.spatial-toolbar{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.spatial-toolbar button.active{background:#805b40;color:white}.spatial-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,.8fr) auto;gap:6px;align-items:center;padding:10px 0;border-bottom:1px solid #ebdfd0;font-size:12px}.spatial-item input,.spatial-item select{min-width:0}.spatial-item .checkbox{margin:0;grid-column:1/3}.spatial-item .checkbox+button{grid-column:3;grid-row:2}.spatial-calibration{display:grid;grid-template-columns:1fr 1fr;gap:8px}.spatial-check{margin-top:14px;line-height:1.55;padding:12px;background:#f6eee4;border-radius:10px}.spatial-check .tiny{margin:6px 0}.spatial-danger{color:#a14726}.spatial-preview{margin-top:18px;border:1px solid #e0cdb6;border-radius:12px;padding:14px;background:#fffbf5}.spatial-preview img{display:block;width:100%;max-height:300px;object-fit:contain;margin:14px auto}.spatial-preview[hidden]{display:none}.spatial-items{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.spatial-items span{background:#f0e4d4;border-radius:6px;padding:6px 10px;font-size:12px}.spatial-result summary{cursor:pointer;font-weight:600}.plan-map .spatial-wall{fill:#f9e3bf25;stroke:#744b2d;stroke-width:6;stroke-linejoin:round}.plan-map .spatial-point{fill:#805b40;stroke:#fff7e8;stroke-width:2}.plan-map .spatial-opening{stroke-width:15;stroke-linecap:round}.plan-map .spatial-opening.door{stroke:#cf874d}.plan-map .spatial-opening.window{stroke:#6198bc}.plan-map .spatial-object{fill:#a49a8b77;stroke:#4e6680;stroke-width:4}.plan-map .spatial-scale{stroke:#9b6652;stroke-width:4;stroke-dasharray:10 6}.plan-map .spatial-pending{fill:none;stroke:#ad5b39;stroke-width:5;stroke-dasharray:8 5}@media(max-width:720px){.spatial-toolbar button{flex:1 0 28%}.spatial-item{grid-template-columns:minmax(0,1fr) minmax(70px,.8fr) auto}.spatial-editor{margin-top:14px}}

.region-palette{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.region-swatch{padding:7px 10px;font-size:12px;display:flex;gap:5px;align-items:center}.region-swatch span{width:10px;height:10px;border-radius:50%}.region-instruction{display:block;border-left:3px solid;padding-left:12px;margin-top:13px;font-size:13px}.region-instruction textarea{display:block;width:100%;min-height:70px;margin-top:7px}.draw-overlay text{font-size:27px;font-weight:700;paint-order:stroke;stroke:#fff;stroke-width:2px;pointer-events:none}.design-timeline{margin:20px 0}.timeline-flow{display:flex;gap:16px;overflow-x:auto;padding:14px 0}.timeline-flow article{flex:0 0 185px;border:1px solid #ddcbb6;border-radius:10px;padding:9px}.timeline-flow article.current{border:2px solid #805b40}.timeline-flow article>button{width:100%;border:0;padding:0;background:transparent;text-align:left}.timeline-flow img{width:100%;height:100px;object-fit:contain;background:#eee7dd;border-radius:6px}.timeline-flow b{display:block;margin-top:8px}.timeline-flow p{font-size:12px;line-height:1.6;max-height:78px;overflow:auto}.timeline-flow .small{width:100%;margin-top:8px}

.draw-overlay polygon,.draw-overlay polyline{stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.draw-overlay text{pointer-events:none}

.contour-pending{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0;padding:10px;background:#f4eadf;border-radius:10px}

.preview svg.draw-overlay:not(.editable){pointer-events:none;touch-action:auto}
.plan-scene-editor{border-top:1px solid var(--line,#ddcdbd);margin-top:16px;padding-top:16px}.plan-scene-editor fieldset{border:1px solid #ddcdbd;border-radius:12px;padding:10px;margin:10px 0;min-width:0}.plan-scene-preview img{width:100%;height:auto;display:block;border-radius:12px;margin-top:12px}.plan-scene-editor .scene-camera-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:10px}.plan-scene-editor label{min-width:0}.plan-scene-editor input,.plan-scene-editor select{max-width:100%}
