@import url('./fonts.css');
:root{--brand:#34ba78;--brand-dark:#167347;--ink:#202020;--muted:#7b8181;--paper:#f5f6f5;--line:#e0e5e2;--font:'DM Sans',Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:14px;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit;transition:background .18s,color .18s,box-shadow .18s}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #34ba7880;outline-offset:3px}button:hover:not(:disabled){color:var(--brand)}svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.masthead{height:83px;padding:0 max(42px,calc((100vw - 1596px)/2));display:flex;align-items:center;gap:27px;background:#202020;border-bottom:1px solid #333835}.brand{display:flex}.brand img{width:142px;height:auto;max-height:56px;object-fit:contain}.mast-label{padding-left:27px;border-left:1px solid #4b514e;display:flex;align-items:center;gap:8px;font-size:10px;font-weight:650;letter-spacing:1.6px;color:#d4ddd8}.label-dot{width:5px;height:5px;border-radius:50%;background:var(--brand)}.masthead>.text-btn{margin-left:auto;color:#d4ddd8}.masthead>.text-btn:hover{color:var(--brand)}.text-btn{font-size:12px;padding:5px 0;color:#727976;white-space:nowrap}.text-btn span{margin-left:12px}main{max-width:1680px;margin:auto;padding:36px 42px 20px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:20px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2.3px;color:#90968f;margin-bottom:11px}h1{font-family:Manrope,var(--font);font-size:clamp(29px,3.1vw,47px);font-weight:650;letter-spacing:-2px;line-height:1.16;margin:0 0 13px}h1 span{color:var(--brand-dark)}.intro p{margin:0;color:#7c827e;font-size:13px}.intro-meta{text-align:right;font-size:10px;letter-spacing:1.2px;line-height:1.9;color:#4e5552;font-weight:600}.intro-meta span{font-size:11px;letter-spacing:0;color:#979c95;font-weight:400}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:stretch}.viewer{min-height:652px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 48% 36%,#f5f6f2 0,#e9ece8 70%,#e1e5df 100%);border:1px solid #dce1da;border-radius:14px;isolation:isolate}#stage{position:absolute;inset:0}#stage>canvas{width:100%;height:100%;display:block;touch-action:none}.loading{position:absolute;inset:0;background:#ecefe9;z-index:10;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px}.loading strong{font-family:Manrope,var(--font);font-weight:600;font-size:16px}.loading>span{font-size:12px;color:#7c827b}.loader-ring{width:34px;height:34px;border:2px solid #dbded6;border-top-color:var(--brand);border-radius:50%;animation:spin 1s infinite linear;margin-bottom:10px}@keyframes spin{to{transform:rotate(360deg)}}.viewer-top{position:absolute;left:22px;right:22px;top:20px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:4;pointer-events:none}.viewer-top>*{pointer-events:auto}.live-badge{background:#ffffffb0;border:1px solid #ffffff80;backdrop-filter:blur(10px);padding:9px 11px;border-radius:5px;display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:1.1px;color:#5f6a61}.live-badge>span:first-child{background:var(--brand);width:5px;height:5px;border-radius:50%}.mode-switch{display:flex;padding:3px;background:#ffffffd9;border:1px solid #fff;box-shadow:0 2px 4px #24352205;border-radius:7px}.mode-switch button{display:flex;align-items:center;gap:7px;font-size:11px;padding:8px 10px;border-radius:4px;color:#848b81}.mode-switch svg{width:14px;height:14px}.mode-switch .active{color:#fff;background:#202020}.viewer-bottom{position:absolute;bottom:22px;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:4;pointer-events:none}.viewer-bottom>*{pointer-events:auto}.interaction-hint{font-size:10px;color:#808c7b;display:flex;align-items:center;gap:7px;max-width:60%;line-height:1.5}.interaction-hint svg{width:14px;height:14px}.viewer-tools{display:flex;align-items:center;background:#ffffffe8;padding:3px;border-radius:7px;box-shadow:0 3px 14px #152a1507}.icon-btn{width:33px;height:31px;display:grid;place-items:center;font-size:20px}.icon-btn svg{width:15px;height:15px}.viewer-tools>span{width:1px;height:13px;background:var(--line);margin:0 3px}.hotspot{position:absolute;transform:translate(-50%,-50%);padding:7px 11px 7px 7px;display:flex;align-items:center;gap:6px;border:1px solid #ffffffd0;border-radius:30px;background:#fffffff0;box-shadow:0 2px 13px #00000012;font-size:10px;white-space:nowrap;z-index:3}.hotspot span{font-size:15px;background:var(--brand);color:white;width:21px;height:21px;display:grid;place-items:center;border-radius:50%}.editor{border:1px solid var(--line);background:#fff;border-radius:14px;padding:22px 20px 16px;min-width:0}.panel-title{display:flex;align-items:center;gap:8px;margin-bottom:15px}.panel-title h2{font-size:13px;font-weight:650;margin:0;letter-spacing:-.1px}.panel-title>span:last-child:not(.step){margin-left:auto;font-size:9px;color:#737e77}.step{font-size:9px;color:var(--brand-dark);font-weight:650;background:#e8f7ef;border:1px solid #c7ead7;border-radius:5px;padding:5px}.face-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.face-btn{border:1px solid #e7e9e3;border-radius:7px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:7px;position:relative;height:60px;font-size:9px;color:#68756d;padding:0}.face-btn.active{border-color:#202020;background:#202020;color:#5cda99}.face-btn i{position:absolute;right:4px;top:5px;width:3px;height:3px;border-radius:50%;background:transparent}.face-btn.has-art i{background:var(--brand)}.face-icon{height:13px;width:25px;border:1px solid currentColor;position:relative}.face-icon.side:before{content:'';position:absolute;left:-5px;top:3px;width:3px;height:10px;border:1px solid currentColor}.face-icon.side:after{content:'';position:absolute;bottom:-4px;left:2px;right:2px;border-bottom:2px dotted currentColor}.face-icon.right{transform:scaleX(-1)}.face-icon.rear{width:13px;height:16px}.face-icon.rear:after{content:'';position:absolute;left:50%;height:100%;border-left:1px solid currentColor}.face-description{font-size:10px;display:flex;justify-content:space-between;margin-top:13px;color:#737e77;gap:8px}.face-description>span:first-child{color:#53675c}.rule{border-top:1px solid #edf0e9;margin:18px 0}.upload-zone{width:100%;border:1px dashed #cfd6c7;border-radius:8px;background:#fafbf8;display:flex;align-items:center;flex-direction:column;padding:16px 9px 14px;gap:7px}.upload-zone:hover,.upload-zone.dragging{border-color:var(--brand);background:#eef9f3}.upload-symbol{height:29px;width:29px;display:grid;place-items:center;border-radius:7px;color:#73806d;background:#eef2e8;margin-bottom:1px}.upload-symbol svg{width:16px;height:16px}.upload-zone strong{font-size:11px;font-weight:600}.upload-zone>span:last-child{font-size:9px;color:#6d7971}.file-row{display:flex;align-items:center;gap:6px;margin:9px 0 20px;font-size:9px;color:#828a7e;min-width:0}.file-dot{height:5px;width:5px;border-radius:50%;background:var(--brand);flex-shrink:0}#fileName{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.small-icon{margin-left:auto;padding:2px;color:#a3a89c;display:flex}.small-icon svg{width:13px;height:13px}.adjustment-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.adjustment-head strong{font-size:11px;font-weight:550}.adjustment-head button{font-size:9px}.fit-options{display:grid;grid-template-columns:1fr 1fr;gap:6px}.fit-options button{font-size:10px;border:1px solid #e5e8de;border-radius:5px;padding:8px 4px;color:#747e6c}.fit-options .selected{background:#e8f7ef;border-color:#94cfad;color:#167347}.slider-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin:14px 0 6px;color:#737e6b}.slider-label output{font-size:10px;color:#333e2c;font-variant-numeric:tabular-nums}input[type=range]{width:100%;height:4px;accent-color:var(--brand);margin:7px 0 15px;cursor:pointer}.position-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.position-grid label{color:#65756b;font-size:9px}.position-grid input{display:block;border:1px solid #e5e8df;border-radius:4px;width:100%;padding:7px 7px;margin-top:5px;font-size:10px;color:#626e58;background:#fff}.color-row{display:flex;align-items:center;justify-content:space-between;margin:14px 0;font-size:10px;color:#737e6b}.swatches{display:flex;gap:6px;align-items:center}.swatch{border:1px solid #d6dacf;box-shadow:inset 0 0 0 2px white;width:21px;height:21px;border-radius:50%;background:var(--swatch)}.custom-color{cursor:pointer;position:relative;width:21px;height:21px;border:1px solid #d6dacf;border-radius:50%;text-align:center;line-height:18px;color:#727f68;overflow:hidden}.custom-color input{opacity:0;position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.copy-btn{display:flex;gap:7px;width:100%;align-items:center;border:1px solid #e5e8df;border-radius:5px;font-size:10px;padding:10px 8px}.copy-btn svg{width:13px;height:13px}.copy-btn svg:last-child{margin-left:auto;width:11px}.all-btn{display:block;text-align:center;width:100%;font-size:9px;color:#8b9483;padding:11px 3px 0}.panel-note{font-size:9px;display:flex;align-items:center;justify-content:center;color:#75857b;gap:4px;margin-top:19px}.panel-note svg{width:12px;height:12px}.under-view{display:flex;align-items:center;justify-content:space-between;margin-top:17px;gap:16px}.camera-views{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.camera-views>span{font-size:8px;letter-spacing:1.2px;color:#a0a797;margin-right:9px}.camera-views button{font-size:10px;color:#838d79;border-radius:5px;padding:9px 10px}.camera-views button.active{color:#fff;background:#202020}.export-actions{display:flex;align-items:center;gap:8px}.export-actions>button{font-size:10px;border:1px solid #dfe4d7;border-radius:6px;padding:11px 14px;display:flex;align-items:center;gap:7px;white-space:nowrap;background:white}.export-actions>button svg{width:14px;height:14px}.export-actions>button.primary{background:var(--brand);border-color:var(--brand);color:#13291d;font-weight:700;box-shadow:0 2px 3px #1673471a}.export-actions>button.primary:hover{background:#2eaa6c}footer{display:flex;align-items:center;justify-content:space-between;margin-top:22px;border-top:1px solid var(--line);padding-top:15px;gap:20px}footer p{margin:0;color:#9ca493;font-size:9px;line-height:1.6}footer button{font-size:10px!important}.fallback{position:absolute;top:89px;left:30px;right:30px;z-index:2}.fallback-head>span{font-size:10px;letter-spacing:2px;color:#7a8870}.fallback-head p{font-size:11px;color:#7b8773;max-width:360px;line-height:1.6}.flat-wrap{margin-top:24px;display:flex;align-items:center;justify-content:center;min-height:180px}#flatCanvas{max-width:100%;max-height:290px;box-shadow:0 14px 35px #24351820;cursor:move;touch-action:none;border:1px solid #ddd;object-fit:contain}.fallback-preview{position:absolute;left:30px;right:30px;bottom:73px;height:147px;opacity:.95;display:flex;align-items:center;justify-content:center}.fallback-preview img{height:100%;max-width:100%;object-fit:contain;mix-blend-mode:multiply}.fallback-preview span{position:absolute;right:0;bottom:0;font-size:9px;color:#89947f}.viewer.is-flat .hotspot{display:none}.viewer.is-flat .mode-switch{display:none}.viewer:fullscreen{border:0;border-radius:0;width:100vw;height:100vh}.viewer:fullscreen .fallback{top:120px;max-width:900px;margin:auto}.viewer:fullscreen #flatCanvas{max-height:50vh}.viewer:fullscreen .fallback-preview{height:180px}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:#202020;color:white;padding:13px 22px;border-radius:9px;box-shadow:0 6px 24px #0002;font-size:12px;z-index:100;transition:opacity .2s,transform .2s;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{max-width:520px;width:calc(100% - 36px);border:1px solid #dbe0d4;border-radius:14px;padding:35px;color:var(--ink);background:var(--paper);box-shadow:0 20px 80px #0002}dialog::backdrop{background:#1b271765;backdrop-filter:blur(3px)}dialog h2{font-family:Manrope,var(--font);font-weight:600;font-size:26px;letter-spacing:-1px}dialog ol{padding-left:20px;color:#5f6e53;font-size:13px;line-height:1.7}dialog li{margin-bottom:10px}dialog p{font-size:11px;line-height:1.7;color:#86917b}.close-dialog{position:absolute;top:14px;right:18px;font-size:24px;color:#87917d}body.embed .masthead,body.embed .intro{display:none}body.embed main{padding:12px;max-width:none}body.embed .viewer{min-height:630px}body.embed .under-view{margin-top:10px}
@media(min-width:1450px){.viewer{min-height:690px}.editor{padding:25px}.workspace{grid-template-columns:minmax(0,1fr) 365px}.panel-title{margin-bottom:19px}.upload-zone{padding:20px 9px}.position-grid input{padding:8px}.rule{margin:22px 0}.file-row{margin-bottom:24px}}
@media(max-width:1150px){.masthead{padding:0 24px}main{padding:27px 24px 20px}.workspace{grid-template-columns:minmax(0,1fr) 310px;gap:14px}.editor{padding:20px 15px}.viewer-top{left:14px;right:14px}.live-badge{font-size:8px;padding:9px}.mode-switch button{font-size:10px;padding:7px 8px}.under-view{flex-wrap:wrap}.intro-meta{display:none}.viewer-bottom{left:14px;right:14px}.viewer-bottom .interaction-hint{max-width:47%}.camera-views>span{display:none}}
@media(max-width:800px){.masthead{height:68px;padding:0 18px}.brand img{width:112px}.mast-label{font-size:8px;letter-spacing:1px;padding-left:18px}.masthead{gap:18px}.masthead>.text-btn{font-size:10px}main{padding:24px 16px 20px}.intro{margin-bottom:22px}.eyebrow{font-size:9px}h1{font-size:34px;letter-spacing:-1.5px}.intro p{font-size:11px}.workspace{display:flex;flex-direction:column;gap:15px}.viewer{min-height:440px;height:440px;flex:none}.editor{padding:22px;display:block}.face-grid{gap:8px}.face-btn{height:65px;font-size:10px}.upload-zone{padding:21px 12px}.file-row{font-size:10px}.panel-title h2{font-size:14px}.slider-label,.fit-options button,.copy-btn{font-size:12px}.position-grid label{font-size:11px}.position-grid input{font-size:12px}.color-row{font-size:12px}.panel-note{font-size:10px}.all-btn{font-size:11px}.under-view{gap:15px}.camera-views{order:0;justify-content:center;width:100%;gap:2px}.camera-views button{padding:8px 9px}.export-actions{width:100%;justify-content:center;order:1}.export-actions>button{flex:1;justify-content:center;padding:13px 10px;font-size:11px}footer{display:block;margin-top:18px}footer button{margin-top:12px}.fallback{top:70px;left:22px;right:22px}.fallback-head p{margin:6px 0;font-size:10px;max-width:300px}.flat-wrap{margin-top:14px;min-height:90px}#flatCanvas{max-height:170px}.fallback-preview{bottom:60px;height:90px}.viewer-top{top:13px}.viewer-bottom{bottom:13px}.interaction-hint{font-size:9px}.live-badge{font-size:8px}.mode-switch button{font-size:9px;gap:4px}.mode-switch svg{width:12px}.hotspot{font-size:8px}.viewer.is-flat .viewer-top .live-badge{display:none}body.embed .viewer{min-height:400px}body.embed main{padding:8px}.under-view{position:relative}}
.is-projected .fallback{top:auto;bottom:65px;left:22px;right:22px;pointer-events:none}.is-projected .fallback p{font-size:9px;color:#697c71;max-width:330px;margin:0}.is-projected .interaction-hint{max-width:65%}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(max-width:480px){.mast-label{display:none}.masthead>.text-btn{font-size:11px}.brand img{width:112px}}

/* Auto studio: paired doors and a small optional rear sticker. */
.face-grid{gap:8px}.face-btn{height:65px;font-size:10px}.face-icon.side{width:36px;height:15px;clip-path:polygon(10% 0,86% 0,100% 100%,0 100%);border-radius:2px}.face-icon.side:before{left:50%;top:0;height:100%;width:0;border:0;border-left:1px solid currentColor}.face-icon.side:after{display:none}.sticker-option{padding:12px 0 0}.sticker-option>label{display:flex;align-items:center;gap:9px;font-size:10px;color:#4b5f53;cursor:pointer}.sticker-option small{color:#87968e;font-size:9px;margin-left:3px}.sticker-option input{position:absolute;opacity:0;width:1px;height:1px}.toggle-track{width:29px;height:17px;border-radius:20px;background:#d9e0dc;position:relative;flex:none;transition:background .2s}.toggle-track:after{content:'';position:absolute;left:3px;top:3px;width:11px;height:11px;background:white;border-radius:50%;transition:transform .2s}.sticker-option input:checked+.toggle-track{background:var(--brand)}.sticker-option input:checked+.toggle-track:after{transform:translateX(12px)}.sticker-option input:focus-visible+.toggle-track{outline:3px solid #34ba7880;outline-offset:3px}.sticker-edit{border:1px solid #dbe7df;background:#f3f8f5;border-radius:5px;width:100%;padding:8px 10px;margin-top:9px;display:flex;justify-content:space-between;font-size:10px}.sticker-edit.active{background:#202020;color:#5cda99;border-color:#202020}.sticker-edit i{display:none}.area-note{font-size:9px;line-height:1.5;color:#75857b;text-align:center;margin:11px 0 0}.model-credit{border-top:1px solid var(--line);padding-top:12px}dialog a{color:var(--brand-dark)}#legalDialog p{font-size:12px;color:#607168}footer>div{max-width:760px}footer #legalBtn{font-size:9px!important;margin-top:4px}body.embed .area-note{display:block}.viewer{min-height:700px}@media(max-width:800px){.viewer{min-height:440px}.sticker-option>label,.sticker-edit{font-size:12px}.sticker-option small{font-size:10px}.area-note{font-size:10px}}

body.embed footer{margin-top:12px;padding-top:10px} .mobile-views{display:none}
@media(max-width:800px){.mobile-views{display:flex;position:absolute;bottom:57px;left:12px;right:12px;justify-content:center;gap:3px;z-index:4}.mobile-views button{background:#ffffffe6;border:1px solid #e1e6df;font-size:10px;padding:8px 9px;border-radius:5px}.mobile-views button.active{background:#202020;color:#fff;border-color:#202020}.under-view .camera-views{display:none}.is-projected .fallback{display:none}.viewer-bottom .interaction-hint{max-width:50%}body.embed .viewer{height:400px}}

.sim-disclaimer{margin:10px 0 0;font-size:10px;line-height:1.5;color:#9ca493}
