.remodel-page{max-width:1400px;margin:auto;min-width:0}.remodel-section{padding:24px;margin-bottom:20px}.remodel-section h2{font-size:18px;margin:12px 0}.remodel-dialog p,.remodel-section p{color:var(--muted,#8894a7);font-size:14px;margin:12px 0}.remodel-options{display:grid;grid-gap:14px;gap:14px;margin:20px 0}.remodel-options>label{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--border,#263044);padding:12px 0}.remodel-options small{display:block;color:var(--muted,#8894a7);font-size:12px;margin-top:5px}.remodel-options input[role=switch]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:42px;height:24px;border-radius:20px;background:#475569;position:relative;flex-shrink:0;cursor:pointer}.remodel-options input[role=switch]:before{content:"";position:absolute;background:white;width:18px;height:18px;top:3px;left:3px;border-radius:50%;transition:transform .15s}.remodel-options input:checked{background:var(--primary,#6d5dfc)}.remodel-options input:checked:before{transform:translateX(18px)}.remodel-drop{border:2px dashed var(--border,#374151);border-radius:16px;min-height:240px;display:flex;align-items:center;justify-content:center;gap:12px;flex-direction:column;cursor:pointer;padding:24px;text-align:center}.remodel-drop input{max-width:100%}.remodel-drop small{color:var(--muted,#8894a7)}.remodel-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between;margin:12px 0}.remodel-page progress{width:100%;height:9px;accent-color:var(--primary,#6d5dfc)}.remodel-list{display:grid;grid-gap:12px;gap:12px;margin-top:20px}.remodel-video{display:flex;align-items:center;gap:16px;border:1px solid var(--border,#273244);border-radius:12px;padding:16px;min-width:0}.remodel-thumb{width:64px;height:88px;flex-shrink:0;display:grid;place-items:center;background:#111827;border-radius:8px;overflow:hidden}.remodel-thumb img{width:100%;height:100%;object-fit:contain}.remodel-details{min-width:0;flex:1 1;display:grid;grid-gap:7px;gap:7px}.remodel-details strong{overflow-wrap:anywhere}.remodel-details small{color:var(--muted,#8894a7)}.remodel-actions{display:flex;flex-wrap:wrap;gap:8px;max-width:410px;align-items:center}.remodel-actions input[type=file]{max-width:180px}.remodel-modal{position:fixed;inset:0;background:#000b;z-index:100;display:grid;place-items:center;padding:24px}.remodel-dialog{width:min(960px,100%);max-height:92vh;overflow:auto;padding:24px;background:var(--surface,#151c2a)}.remodel-dialog h2{overflow-wrap:anywhere;max-width:80%;font-size:18px}.remodel-previews{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px;margin-bottom:16px}.remodel-frame{position:relative;width:-moz-fit-content;width:fit-content;max-width:100%;margin:auto;line-height:0}.remodel-frame img{max-width:100%;max-height:45vh;object-fit:contain}.remodel-band{position:absolute;left:0;right:0;background:#22d3ee44;outline:1px solid #22d3ee;pointer-events:none}.remodel-manual{display:grid;grid-gap:16px;gap:16px;margin:16px 0}.remodel-manual input{display:block;width:100%}.remodel-page .btn,.remodel-page button{min-height:42px}.remodel-page select{max-width:100%}@media(max-width:700px){.remodel-section{padding:16px}.remodel-video{align-items:flex-start;flex-wrap:wrap}.remodel-actions{max-width:100%;width:100%}.remodel-actions .btn{flex:1 1;text-align:center}.remodel-modal{padding:8px}.remodel-dialog{padding:16px}.remodel-options>label{gap:12px}.remodel-previews{gap:8px}.remodel-toolbar>.btn{width:100%}.remodel-drop{padding:16px}.remodel-dialog h2{max-width:100%}}.remodel-actions input[type=file],.remodel-drop input[type=file]{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.remodel-drop:focus-within{outline:2px solid var(--primary);outline-offset:3px}.remodel-options select.input{width:auto;min-width:130px}.remodel-drop:has(input:disabled){opacity:.6;cursor:not-allowed}.remodel-tabs{display:flex;gap:8px;margin-bottom:20px}.remodel-editor-grid{display:grid;grid-template-columns:150px minmax(0,1fr) 230px;grid-gap:20px;gap:20px}.remodel-tools{display:flex;flex-direction:column;gap:6px}.remodel-tools .btn{display:flex;justify-content:flex-start;gap:8px;text-align:left;font-size:12px}.remodel-center{min-width:0}.remodel-canvases{display:flex;justify-content:center;gap:12px;align-items:flex-start}.remodel-canvases>div{min-width:0;max-width:100%}.remodel-canvases.compare>div{width:48%}.remodel-canvases canvas{display:block;width:100%;max-height:540px;object-fit:contain}.remodel-canvas-wrap{position:relative;max-height:540px;width:auto;height:540px;touch-action:none;background:#000;overflow:hidden}.remodel-canvas-wrap canvas{width:100%;height:100%}.remodel-selection{background:#8b7cff15;pointer-events:none}.remodel-selection,.remodel-selection i{position:absolute;border:2px solid #8b7cff}.remodel-selection i{bottom:-5px;right:-5px;width:12px;height:12px;background:#fff}.remodel-frame-handle{position:absolute;left:0;right:0;height:3px;background:#22d3ee;pointer-events:none}.remodel-properties{padding:14px;border:1px solid var(--border,#273244);border-radius:12px;display:flex;flex-direction:column;gap:12px;max-height:680px;overflow:auto;min-width:0}.remodel-properties label{display:grid;grid-gap:6px;gap:6px;font-size:13px}.remodel-properties input,.remodel-properties select,.remodel-properties textarea{width:100%;min-width:0}.remodel-properties input[type=checkbox]{width:auto}.remodel-properties input[type=color]{height:34px}.remodel-properties h3{margin:0}.remodel-source{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.remodel-timeline{margin-top:22px;border-top:1px solid var(--border,#273244);padding-top:10px}.remodel-timeline>input{width:100%;accent-color:var(--primary,#6d5dfc)}.remodel-track{display:flex;width:100%;align-items:center;gap:10px;background:transparent;border:0;color:inherit;padding:5px 0;min-height:28px!important}.remodel-track small{width:92px;text-align:left;flex-shrink:0}.remodel-track>div{flex:1 1;position:relative;height:16px;border-radius:4px;background:#64748b25;overflow:hidden}.remodel-track span{position:absolute;height:100%;background:#7765ce;border-radius:4px}.remodel-track.active span{background:#22d3ee}.remodel-models{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:12px;gap:12px}.remodel-model{display:flex;gap:12px;border:1px solid var(--border,#273244);padding:12px;border-radius:12px;min-width:0}.remodel-model.active{border-color:#8b7cff}.remodel-model img{width:48px;height:80px;object-fit:cover;border-radius:5px}.remodel-model small{display:block;margin:8px 0;color:var(--muted,#8894a7)}.remodel-model .btn{font-size:12px;padding:6px 9px}.remodel-model strong{overflow-wrap:anywhere}.remodel-previews video,.remodel-test video{max-width:100%;max-height:420px}.remodel-area-menu{padding:12px;border:1px solid var(--border,#273244);border-radius:10px;margin-top:12px}.remodel-area-menu .remodel-actions{margin-top:8px}.remodel-dialog input{max-width:100%}.remodel-page [hidden]{display:none!important}.remodel-page .btn:disabled{opacity:.45;cursor:not-allowed}@media(max-width:1050px){.remodel-editor-grid{grid-template-columns:110px minmax(0,1fr) 190px;gap:10px}.remodel-canvas-wrap{height:430px}.remodel-tools .btn{padding:8px;font-size:11px}}@media(max-width:760px){.remodel-editor-grid{grid-template-columns:minmax(0,1fr)}.remodel-tools{flex-direction:row;overflow-x:auto;padding-bottom:8px;max-width:100%}.remodel-tools .btn{flex:0 0 auto;white-space:nowrap}.remodel-properties{max-height:300px}.remodel-canvas-wrap{height:auto;width:100%;max-width:280px;max-height:none}.remodel-canvases canvas{max-height:none}.remodel-center>.remodel-toolbar{justify-content:flex-start}.remodel-center>.remodel-toolbar>.btn{width:auto}.remodel-models{grid-template-columns:1fr}.remodel-timeline .remodel-toolbar{justify-content:flex-start}.remodel-timeline .remodel-toolbar>.btn{width:auto}.remodel-timeline select{max-width:170px}.remodel-previews{grid-template-columns:1fr}.remodel-actions{max-width:100%}}.remodel-canvases .remodel-canvas-wrap{height:auto;flex-shrink:1;max-height:none}.remodel-canvas-wrap canvas{max-height:none}.remodel-canvases.compare .remodel-canvas-wrap{max-width:48%}