body:has(.layout-editor){background:#0d0d0f;animation:none}body:has(.layout-editor):before,body:has(.layout-editor):after{display:none}.layout-editor{--le-accent: #ffffff;--le-muted: #8e8e93;--le-paper: var(--premium-text);max-width:1280px;margin:auto;padding:max(12px,env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));color:#f5f5f7;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.layout-editor [hidden]{display:none!important}.layout-editor .le-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.layout-editor .le-heading{flex:1;text-align:center}.layout-editor h1{margin:0 0 3px;font:600 18px/1.3 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:-.3px}.layout-editor .le-heading span{color:#929298;font-size:11px}.layout-editor .le-icon-button{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:50%;font-size:28px;text-decoration:none}.layout-editor svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.layout-editor .le-glass{background:#2a2a2eeb;border:1px solid rgba(255,255,255,.16);box-shadow:inset 0 1px #ffffff1a,0 8px 30px #0003}@supports (backdrop-filter: blur(20px)){.layout-editor .le-glass{background:#2a2a2ea8;backdrop-filter:blur(24px) saturate(150%);-webkit-backdrop-filter:blur(24px) saturate(150%)}}.layout-editor fieldset{border:0;min-width:0;padding:0;margin:0}.layout-editor button{min-height:44px;border:0;border-radius:14px;padding:10px 14px;font-family:inherit;font-size:14px;font-weight:500;line-height:1.3;color:#f5f5f7;background:#2c2c30;cursor:pointer;touch-action:manipulation;transition:transform .15s,background .15s}.layout-editor button:active:not(:disabled){transform:scale(.96);background:#3b3b40}.layout-editor button:disabled{opacity:.3;cursor:default}.layout-editor :is(button,a,summary,canvas):focus-visible{outline:2px solid var(--le-accent);outline-offset:3px}.layout-editor :is(input,select):focus-visible{outline:1px solid #ffffff33;outline-offset:2px}.layout-editor .le-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:10px}.layout-editor .le-name{margin:0;flex:1;min-width:0}.layout-editor .le-name input{background:transparent;border:0;padding:8px 4px;font-size:15px;color:#a8a8af}.layout-editor .le-history{display:flex;border-radius:24px;overflow:hidden;padding:2px;flex:none}.layout-editor .le-history button{background:none;font-size:24px;padding:5px 12px;min-width:44px;border-radius:50%}.layout-editor .le-stage-top{display:flex;justify-content:space-between;font-size:10px;color:#777780;padding:0 4px 10px}.layout-editor .le-stage-wrap{margin-inline:auto;display:flex;justify-content:center;align-items:center;height:calc(100dvh - 260px);max-height:730px;background:#151517;border-radius:22px;overflow:hidden}.layout-editor canvas{display:block;touch-action:none;cursor:default;box-shadow:0 4px 24px #0005;flex:none}.layout-editor .le-stage-hint{margin:12px auto 4px;text-align:center;max-width:420px;font-size:12px;line-height:1.5;color:#aaaab1;min-height:36px}.layout-editor .le-context-bar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;min-height:44px}.layout-editor #le-photo-actions{display:flex;gap:6px}.layout-editor .le-context-bar button{min-height:38px;font-size:12px;border-radius:20px;background:#222226;padding:8px 12px}.layout-editor button.le-danger{color:#ff6965}.layout-editor .le-status{color:var(--le-accent);text-align:center;margin:6px 0 0;font-size:11px;min-height:18px;line-height:1.5}.layout-editor .le-side-nav{display:grid;gap:6px;padding:0 14px 18px}.layout-editor .le-side-nav button{display:flex;align-items:center;gap:14px;width:100%;border-radius:14px;background:transparent;text-align:left;padding:13px 14px}.layout-editor .le-side-nav button[aria-pressed=true]{background:#ffffff12;color:var(--le-accent)}.layout-editor .le-side-nav svg{width:23px;height:23px;flex:none}.layout-editor .le-cabinet-link{display:block;color:#a8a8af;font-size:13px;padding:18px 24px 30px;text-decoration:none}.layout-editor .le-notice{margin:20px 0;padding:18px;background:#1c1c1e;border-radius:18px;color:#aaaab1;font-size:13px;line-height:1.6}.layout-editor .le-editor-grid{display:grid;grid-template-columns:minmax(0,var(--le-canvas-width, 1fr)) 280px;gap:12px;justify-content:center;align-items:start}.layout-editor .le-stage-panel{grid-column:2;grid-row:1;min-width:0}.layout-editor .le-sheet{grid-column:1;grid-row:1;position:sticky;top:12px;max-height:calc(100dvh - 32px);margin:0;padding:0;border:1px solid #ffffff18;border-radius:22px;background:#1c1c20;color:#f5f5f7;overflow:auto;overscroll-behavior:contain}.layout-editor .le-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;position:sticky;top:0;background:#1e1e22;z-index:1}.layout-editor .le-sheet-header h2{font:600 20px/1.3 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;margin:0;letter-spacing:-.4px}.layout-editor .le-sheet-header button{background:#38383d;width:36px;height:36px;min-height:36px;font-size:24px}.layout-editor .le-sheet-body{padding:4px 20px 24px}.layout-editor label{display:flex;flex-direction:column;gap:8px;color:#c5c5cc;font-size:13px;margin:0 0 18px}.layout-editor input:not([type=checkbox]):not([type=range]):not([type=color]):not([type=file]),.layout-editor select{width:100%;min-width:0;background:#2c2c30;color:#f5f5f7;border:0;border-radius:12px;padding:13px;font:inherit;font-size:16px}.layout-editor .le-name input{background:transparent!important;padding:8px 4px!important}.layout-editor input[type=range]{width:100%;accent-color:var(--le-accent);min-height:36px}.layout-editor input[type=color]{width:42px;height:32px;border:0;background:transparent;padding:0}.layout-editor .le-color-row,.layout-editor .le-check{flex-direction:row;align-items:center;justify-content:space-between;padding:12px;border-radius:12px;background:#2c2c30}.layout-editor input[type=checkbox]{appearance:none;width:46px;height:28px;border-radius:20px;background:#55555b;position:relative;cursor:pointer;flex-shrink:0;transition:background .18s}.layout-editor input[type=checkbox]:before{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0004;transition:transform .18s}.layout-editor input[type=checkbox]:checked{background:var(--le-accent)}.layout-editor input[type=checkbox]:checked:before{transform:translate(18px)}.layout-editor .le-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.layout-editor .le-product{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px;min-width:0;border-radius:18px}.layout-editor .le-product{background:#2c2c30;cursor:grab;touch-action:none;user-select:none}.le-drag-ghost{position:fixed;z-index:1000;max-width:120px;max-height:120px;width:auto;height:auto;transform:translate(-50%,-50%);opacity:.85;pointer-events:none}.layout-editor .le-product img{width:100%;max-width:130px;height:65px;object-fit:contain}.layout-editor .le-product span{font-size:12px}.layout-editor .le-upload{position:relative;padding:24px 16px;text-align:center;align-items:center;border-radius:18px;background:#2c2c30;color:var(--le-accent);font-size:16px;overflow:hidden;cursor:pointer}.layout-editor .le-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.layout-editor .le-upload span{color:#92929a;font-size:12px}.layout-editor .le-upload:focus-within{outline:1px solid #ffffff33;outline-offset:3px}.layout-editor .le-small{color:#92929a;font-size:12px;line-height:1.6;margin:14px 0}.layout-editor details{border-radius:14px;background:#2c2c30;padding:0 14px;margin:0 0 12px}.layout-editor summary{padding:16px 0;cursor:pointer;font-size:14px}.layout-editor details label{padding-bottom:14px}.layout-editor .le-wide{display:block;width:100%;margin:12px 0}.layout-editor button.le-primary{background:var(--le-accent);color:#151515;font-weight:600}.layout-editor .le-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(prefers-reduced-motion:reduce){.layout-editor *{transition:none!important}}@media(prefers-reduced-transparency:reduce){.layout-editor .le-glass{backdrop-filter:none;-webkit-backdrop-filter:none;background:#2c2c30}}@media(max-width:374px){.layout-editor{padding-inline:10px}.layout-editor .le-context-bar button{padding:8px}}.layout-editor .le-color-control{display:flex;gap:10px;align-items:center;font:11px monospace;color:#a5a5ad}.layout-editor button.le-color-swatch{width:36px;height:36px;min-height:36px;border-radius:50%;padding:0;border:3px solid #ffffff88;box-shadow:0 0 0 1px #0004}.layout-editor .le-color-dialog{position:fixed;inset:0;margin:auto;width:min(340px,calc(100vw - 32px));max-height:90dvh;padding:22px;border:1px solid #ffffff22;border-radius:28px;background:#242428;color:#f5f5f7;overflow:auto}.layout-editor .le-color-dialog::backdrop{background:#0008}.layout-editor .le-color-dialog h2{font:600 19px -apple-system,BlinkMacSystemFont,sans-serif;margin:0 0 20px}.layout-editor .le-color-wheel{width:100%;aspect-ratio:1;border-radius:50%;position:relative;margin:0 0 22px;background:radial-gradient(closest-side,#fff,transparent),conic-gradient(from 90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red);touch-action:none;cursor:crosshair}.layout-editor .le-color-knob{position:absolute;width:20px;height:20px;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px #000a;transform:translate(-50%,-50%);pointer-events:none}.layout-editor .le-color-actions{display:flex;gap:10px}.layout-editor .le-color-actions button{flex:1}@media(max-width:620px){.layout-editor{padding-inline:8px}.layout-editor .le-editor-grid{grid-template-columns:minmax(0,var(--le-canvas-width, 1fr)) 168px;gap:8px}.layout-editor .le-sheet{border-radius:16px}.layout-editor .le-sheet-header{padding:12px 10px}.layout-editor .le-sheet-header h2{font-size:14px}.layout-editor .le-side-nav{padding:0 5px 10px;gap:3px}.layout-editor .le-side-nav button{padding:9px 6px;font-size:11px;gap:6px}.layout-editor .le-side-nav svg{width:17px;height:17px}.layout-editor .le-sheet-body{padding:0 8px 12px}.layout-editor .le-products{grid-template-columns:1fr;gap:6px}.layout-editor .le-product{padding:10px 5px;gap:4px;border-radius:12px}.layout-editor .le-product img{height:42px}.layout-editor .le-product span{font-size:10px}.layout-editor .le-sheet :is(label,select,input,button){font-size:11px}.layout-editor .le-sheet select{padding:10px 4px}.layout-editor .le-sheet .le-small{font-size:10px}.layout-editor .le-sheet .le-check{flex-direction:column;align-items:flex-start;gap:8px}.layout-editor .le-upload{padding:16px 6px;font-size:12px}.layout-editor .le-upload span{font-size:9px}.layout-editor .le-color-control{flex-wrap:wrap;justify-content:flex-end;gap:4px}.layout-editor .le-cabinet-link{display:none}.layout-editor .le-stage-hint{font-size:11px}.layout-editor .le-context-bar button{font-size:10px;padding:6px 8px}}.layout-editor{height:100dvh;display:flex;flex-direction:column;padding-bottom:max(12px,env(safe-area-inset-bottom));overflow:hidden}.layout-editor .le-header,.layout-editor .le-toolbar{flex:none}.layout-editor #le-workspace,.layout-editor #le-controls{display:flex;flex-direction:column;flex:1;min-height:0}.layout-editor .le-editor-grid{flex:1;min-height:0;grid-template-rows:minmax(0,1fr)}.layout-editor .le-stage-panel{grid-column:1;height:100%;min-height:0;display:flex;flex-direction:column}.layout-editor .le-stage-wrap{flex:none;max-height:none}.layout-editor .le-stage-top{flex:none;flex-wrap:wrap;gap:4px}.layout-editor .le-sheet{grid-column:2;position:static;height:var(--le-canvas-height);max-height:100%;margin-top:var(--le-canvas-top, 20px);min-height:0;display:flex;flex-direction:column;overflow:hidden}.layout-editor .le-sheet-header{display:none}.layout-editor .le-side-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;margin:6px;padding:4px;border-radius:14px;background:#ffffff08;flex:none}.layout-editor .le-side-nav button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:48px;padding:5px 1px;font-size:10px;border-radius:11px}.layout-editor .le-side-nav svg{width:19px;height:19px}.layout-editor .le-side-nav button[aria-selected=true]{background:#ffffff12;color:var(--le-accent)}.layout-editor .le-sheet-body{overflow-y:auto;overflow-x:hidden;min-height:0;flex:1;padding-top:8px}.layout-editor .le-cabinet-link{display:none}.layout-editor .le-stage-hint{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:none}.layout-editor .le-context-bar,.layout-editor .le-status{flex:none}@media(max-width:620px){.layout-editor .le-side-nav button,.layout-editor .le-color-control{font-size:9px}}.layout-editor{max-width:none;padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.layout-editor .le-header{margin-bottom:8px;gap:8px}.layout-editor .le-heading span{font-size:10px}.layout-editor .le-stage-panel{position:relative;overflow:hidden}.layout-editor .le-stage-top{display:none}.layout-editor .le-stage-wrap{position:relative;max-height:100%;border-radius:16px}.layout-editor .le-sheet{margin-top:0}.layout-editor .le-stage-hint{position:absolute;left:12px;right:12px;bottom:86px;margin:0;padding:7px 10px;height:50px;min-height:0;max-width:none;border-radius:12px;background:#18181bd9;backdrop-filter:blur(12px);color:#eee;pointer-events:none}.layout-editor .le-context-bar{position:absolute;left:8px;right:8px;bottom:40px;height:40px;min-height:40px;flex-wrap:nowrap;overflow-x:auto;justify-content:center;scrollbar-width:none}.layout-editor .le-context-bar>*{flex-shrink:0}.layout-editor .le-status{position:absolute;left:8px;right:8px;bottom:4px;height:30px;min-height:30px;margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-shadow:0 1px 3px black;pointer-events:none}.layout-editor .le-view-controls{position:absolute;z-index:2;top:8px;right:8px;display:flex;border-radius:24px;overflow:hidden}.layout-editor .le-view-controls button{min-height:40px;min-width:36px;padding:6px 8px;border-radius:0;font-size:12px;background:transparent}.layout-editor .le-view-controls button:first-child,.layout-editor .le-view-controls button:last-child{font-size:20px}.layout-editor .le-marker-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:14px}.layout-editor .le-marker-options button{display:flex;align-items:center;gap:8px;padding:8px;min-width:0;min-height:44px;font-size:11px}.layout-editor .le-marker-options button span{font-size:24px;line-height:1}.layout-editor .le-marker-options button[aria-pressed=true]{color:var(--le-accent);box-shadow:inset 0 0 0 1px var(--le-accent)}@media(max-width:620px){.layout-editor .le-editor-grid{grid-template-columns:minmax(0,var(--le-canvas-width, 1fr)) clamp(140px,40vw,168px)}.layout-editor .le-history button{min-width:36px;padding:5px 8px}.layout-editor .le-heading span{display:none}.layout-editor .le-heading h1{font-size:15px}.layout-editor .le-icon-button{width:40px;height:40px}.layout-editor .le-marker-options{grid-template-columns:1fr}.layout-editor .le-stage-hint{font-size:10px;padding:6px}}@media(max-height:520px){.layout-editor .le-header{margin-bottom:4px}.layout-editor .le-heading span,.layout-editor .le-stage-hint{display:none}}.layout-editor .le-marker-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.layout-editor .le-marker-options button{justify-content:center;padding:4px 0;min-height:40px;border-radius:10px}.layout-editor .le-ratio-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0 0 10px}.layout-editor .le-ratio-options button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:62px;padding:8px 2px}.layout-editor .le-ratio-icon{display:block;height:24px;border:1.5px solid currentColor;border-radius:3px}.layout-editor .le-ratio-options small{font-size:10px}.layout-editor .le-ratio-options button[aria-pressed=true],.layout-editor .le-photo-tools button[aria-pressed=true]{color:var(--le-accent);box-shadow:inset 0 0 0 1px var(--le-accent)}.layout-editor .le-photo-tools{display:flex;gap:6px;margin-bottom:12px}.layout-editor .le-photo-tools button{display:grid;place-items:center;flex:1;min-height:44px;padding:10px}.layout-editor .le-editor-grid{grid-template-columns:minmax(0,var(--le-canvas-width, 1fr)) 280px;justify-content:center}.layout-editor .le-stage-wrap{width:100%;height:100%;background:#111114;border-radius:16px}.layout-editor .le-sheet{height:100%}.layout-editor canvas{outline:1px solid #ffffff22}.layout-editor .le-layers{display:grid;gap:6px;margin:10px 0}.layout-editor .le-layer{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:6px;border:1px solid #ffffff12;border-radius:12px;background:#29292d}.layout-editor .le-layer-select{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;padding:8px}.layout-editor .le-layer-select[aria-pressed=true]{color:var(--le-accent)}.layout-editor .le-layer-actions{display:flex;gap:2px}.layout-editor .le-layer-actions button{min-width:30px;min-height:34px;padding:4px;font-size:15px}@media(max-width:620px){.layout-editor .le-editor-grid{grid-template-columns:minmax(0,var(--le-canvas-width, 1fr)) clamp(140px,40vw,168px)}.layout-editor .le-layer-actions{width:100%;justify-content:flex-end}}.layout-editor .le-layer-actions button.le-layer-locked{color:#85858d;opacity:.55}.layout-editor .le-layer-actions svg{width:18px;height:18px}.layout-editor .le-layer-actions button.le-layer-lock{color:#e5e5ea}.layout-editor .le-layer-actions button.le-layer-lock.le-layer-locked{color:#8e8e93;opacity:.55}.layout-editor .le-layer-lock svg{fill:none;stroke:currentColor}.layout-editor .le-marker-options [data-marker=none] svg{width:18px;height:18px;color:#8e8e93;opacity:.6}.layout-editor .le-range-field{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin:0 0 18px}.layout-editor .le-range-field label{margin:0}.layout-editor .le-range-field input[type=range]{grid-column:1 / -1}.layout-editor .le-value-field{display:flex;align-items:center;gap:4px;font-size:12px;color:#a5a5ad}.layout-editor .le-value-field input{width:56px;min-height:32px;padding:4px 6px;text-align:right}.layout-editor .le-swatch-icon{fill:currentColor;stroke:none}.layout-editor .le-stage-wrap{padding:56px 16px 16px}.layout-editor .le-inspector-help{flex:none;padding:8px 12px;border-top:1px solid #ffffff12}.layout-editor .le-inspector-help .le-stage-hint{position:static;margin:0;padding:0;height:auto;min-height:0;max-height:36px;font-size:11px;background:none;backdrop-filter:none}.layout-editor .le-inspector-help .le-context-bar{position:static;height:40px;min-height:0;margin-top:6px}.layout-editor .le-inspector-help .le-context-bar:not(:has(>button:not([hidden]))){display:none}.layout-editor .le-inspector-help .le-status{position:static;margin:6px 0 0;height:auto;min-height:0;max-height:32px;font-size:10px}.layout-editor .le-inspector-help .le-status:empty{display:none}@media(max-width:620px){.layout-editor .le-stage-wrap{padding:54px 8px 12px}}.layout-editor .le-ghost{position:fixed;z-index:0;max-width:none;box-sizing:border-box;border:2px dashed #ffffff;box-shadow:none;pointer-events:none}.layout-editor #le-canvas{position:relative;z-index:1}.layout-editor .le-header{position:relative;z-index:2}.layout-editor .le-sheet,.layout-editor .le-view-controls{z-index:2}.layout-editor .le-header .le-icon-button{padding:0}.layout-editor .le-color-code-row{display:flex;align-items:flex-end;gap:8px;margin-bottom:18px}.layout-editor .le-color-code-row label{flex:1;min-width:0;margin-bottom:0}.layout-editor .le-color-dropper{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0}.layout-editor #le-canvas.le-picking{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%23000' stroke-width='4'%3E%3Cpath d='m2 22 1-1h3l9-9'/%3E%3Cpath d='M3 21v-3l9-9'/%3E%3Cpath d='m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z'/%3E%3C/g%3E%3Cg stroke='%23fff' stroke-width='2'%3E%3Cpath d='m2 22 1-1h3l9-9'/%3E%3Cpath d='M3 21v-3l9-9'/%3E%3Cpath d='m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z'/%3E%3C/g%3E%3C/svg%3E") 2 22,crosshair}.layout-editor .le-sheet-body{padding-bottom:12px}.layout-editor .le-inspector-help{margin:0 20px 20px;padding:12px;border-top:0;border-radius:12px;background:#2c2c30}.layout-editor #le-panel-settings .le-check,.layout-editor #le-panel-settings details{margin-bottom:12px;border-radius:12px}@media(max-width:620px){.layout-editor .le-inspector-help{margin:0 8px 8px}}.layout-editor .le-sheet-body [data-sheet-panel]>*{margin-top:0;margin-bottom:12px}.layout-editor .le-sheet-body [data-sheet-panel]>:last-child{margin-bottom:0}.layout-editor .le-photo-frame,.layout-editor .le-photo-handles{position:fixed;box-sizing:border-box;pointer-events:none}.layout-editor .le-photo-frame{z-index:0;border:1.5px dashed #ffffff}.layout-editor .le-photo-handles{z-index:3}.layout-editor .le-photo-frame[hidden],.layout-editor .le-photo-handles[hidden]{display:none}.layout-editor .le-photo-handles span{position:absolute;width:12px;height:12px;margin:-6px 0 0 -6px;background:#fff;pointer-events:auto;touch-action:none}.layout-editor .le-photo-handles span:before{content:"";position:absolute;inset:-12px}.layout-editor .le-photo-handles [data-corner="0 0"]{left:0;top:0;cursor:nwse-resize}.layout-editor .le-photo-handles [data-corner="1 0"]{left:100%;top:0;cursor:nesw-resize}.layout-editor .le-photo-handles [data-corner="0 1"]{left:0;top:100%;cursor:nesw-resize}.layout-editor .le-photo-handles [data-corner="1 1"]{left:100%;top:100%;cursor:nwse-resize}.layout-editor .le-product-needle{display:flex;flex-direction:column;min-width:0;padding-bottom:12px;border-radius:18px;background:#2c2c30}.layout-editor .le-product-needle .le-product{width:100%;background:transparent;padding-bottom:10px}.layout-editor .le-product-needle select{width:auto;margin:0 12px;padding:8px 10px;border-radius:12px;background:#222226;font-size:12px;text-align:center}@media(max-width:620px){.layout-editor .le-product-needle{padding-bottom:8px;border-radius:12px}.layout-editor .le-product-needle select{margin:0 5px;font-size:10px}}.layout-editor :is(.le-side-nav button,.le-ratio-options button,.le-marker-options button,.le-photo-tools button,.le-layer-select){color:var(--le-muted)}.layout-editor :is(.le-side-nav button[aria-selected=true],.le-side-nav button[aria-pressed=true],.le-ratio-options button[aria-pressed=true],.le-marker-options button[aria-pressed=true],.le-photo-tools button[aria-pressed=true],.le-layer-select[aria-pressed=true]){color:var(--le-accent)}.layout-editor input[type=checkbox]:checked:before{background:#151515}.layout-editor.le-dragging-photo :is(.le-ghost,.le-photo-frame){z-index:3}.layout-editor .le-preview{position:fixed;inset:0;margin:auto;max-width:min(92vw,720px);max-height:92dvh;overflow:hidden;padding:12px;border:0;border-radius:18px;background:#1e1e22;color:var(--le-accent)}.layout-editor .le-preview::backdrop{background:#000c}.layout-editor .le-preview img{display:block;max-width:100%;max-height:calc(92dvh - 24px);margin:0 auto;border-radius:10px}.layout-editor .le-export-hint{margin:-6px 0 12px}.layout-editor .le-export-row{display:flex;gap:8px;margin:12px 0}.layout-editor .le-export-row .le-wide{flex:1;margin:0}.layout-editor .le-icon-square{display:grid;place-items:center;flex:none;width:46px;padding:0;border-radius:12px;background:#2c2c30;color:var(--le-accent)}.layout-editor .le-preview-close{position:absolute;top:18px;right:18px;width:36px;height:36px;padding:0;border-radius:50%;background:#000000a0;color:#fff;font-size:22px;line-height:1}.layout-editor .le-stage-bar{flex:none;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(max-content,1fr);align-items:center;gap:8px;height:52px}.layout-editor .le-canvas-actions{display:flex;gap:8px}.layout-editor .le-stage-bar .le-view-controls{position:static;justify-self:end}.layout-editor .le-stage-panel .le-stage-wrap{flex:1;min-height:0;height:auto;padding-top:16px}.layout-editor :is(.le-history button,.le-icon-button,.le-view-controls button){display:inline-flex;align-items:center;justify-content:center;line-height:1}.layout-editor .le-history button{width:40px;height:40px;min-width:0;padding:0;font-size:22px}.layout-editor .le-icon-button{width:44px;height:44px;padding:0}.layout-editor .le-icon-button svg{display:block;width:20px;height:20px}.layout-editor .le-dash-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:12px 0 14px}.layout-editor .le-dash-options button{justify-content:center;min-height:40px;border-radius:12px;background:#222226;color:var(--le-muted)}.layout-editor .le-line-tool{margin:0 0 16px;padding:12px 14px 2px;border-radius:14px;background:#2c2c30}.layout-editor .le-line-tool-title{margin:0 0 10px;font-size:14px}.layout-editor .le-line-tool .le-wide{margin:0;background:#222226}.layout-editor .le-dash-options:has([data-shape]){grid-template-columns:repeat(2,minmax(0,1fr))}.layout-editor .le-stage-bar .le-history,.layout-editor .le-stage-bar .le-icon-button,.layout-editor .le-stage-bar .le-view-controls{box-sizing:border-box;height:44px}.layout-editor .le-stage-bar .le-history{align-items:center;padding:0 2px}.layout-editor .le-stage-bar .le-history button{height:40px}.layout-editor .le-preview-video{display:block;max-width:100%;max-height:calc(92dvh - 24px);margin:0 auto;border-radius:10px}.layout-editor .le-trash{position:fixed;z-index:1001;transform:translate(-50%);display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#1c1c20e6;border:1px solid #ffffff33;color:var(--le-muted);pointer-events:none;transition:transform .15s,background .15s,color .15s}.layout-editor .le-trash[hidden]{display:none}.layout-editor .le-trash.le-trash-active{transform:translate(-50%) scale(1.15);background:#ff6965;border-color:#ff6965;color:#fff}.layout-editor :is(.le-marker-options,.le-dash-options) button{display:grid;place-items:center;gap:0;padding:0;line-height:1}.layout-editor .le-marker-options button span{display:block;font-size:20px;line-height:1}.layout-editor :is(.le-marker-options,.le-dash-options) button svg{display:block}.layout-editor .le-render{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;width:min(88vw,360px);padding:24px;border:1px solid #ffffff18;border-radius:18px;background:#1e1e22;color:var(--le-accent);text-align:center}.layout-editor .le-render::backdrop{background:#000c}.layout-editor .le-render-title{margin:0 0 16px;font-size:16px;font-weight:600}.layout-editor .le-render-bar{height:6px;border-radius:3px;background:#ffffff1a;overflow:hidden}.layout-editor .le-render-bar span{display:block;width:0;height:100%;border-radius:3px;background:var(--le-accent);transition:width .2s linear}.layout-editor .le-render-percent{margin:10px 0 14px;font-size:13px;color:var(--le-muted)}.layout-editor .le-render-warning{margin:0;font-size:12px;line-height:1.5;color:var(--le-muted)}.layout-editor .le-ratio-options .le-ratio-px{font-size:9px;color:var(--le-muted);white-space:nowrap}.layout-editor .le-orientation{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0 0 8px;padding:3px;border-radius:12px;background:#222226}.layout-editor .le-orientation button{min-height:34px;border-radius:9px;background:transparent;color:var(--le-muted);font-size:12px}.layout-editor .le-orientation button[aria-pressed=true]{background:#2c2c30;color:var(--le-accent)}@media(max-width:900px)and (orientation:portrait){.layout-editor{padding-inline:8px}.layout-editor .le-header{margin-bottom:4px}.layout-editor .le-editor-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px}.layout-editor .le-stage-panel{grid-column:1;grid-row:1}.layout-editor .le-sheet{grid-column:1;grid-row:2;height:min(46dvh,460px);max-height:none;margin-top:0;border-radius:18px}.layout-editor .le-stage-wrap{padding:8px}.layout-editor .le-stage-bar{height:48px}.layout-editor .le-ratio-options .le-ratio-px{font-size:10px}}@media(orientation:landscape)and (max-height:560px){.layout-editor{padding-inline:8px}.layout-editor .le-header{margin-bottom:0}.layout-editor .le-heading span{display:none}.layout-editor .le-editor-grid{grid-template-columns:minmax(0,1fr) 260px;gap:8px}.layout-editor .le-stage-bar{height:44px}.layout-editor .le-stage-wrap{padding:6px}}
