.store-preview{gap:16px;width:100%;min-width:0;position:relative}.store-preview,.store-preview__screen{justify-content:center;height:100%;display:flex;overflow:hidden}.store-preview__screen{border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:var(--shadow-card);flex:none}.store-preview.is-both .store-preview__screen.is-phone{order:-1}.store-preview__frame{transform-origin:top;flex:none}.store-preview__frame iframe{border:0;width:100%;height:100%;display:block}.store-preview__state{z-index:1;background:var(--surface);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;display:flex;position:absolute;inset:0}.store-preview__state p{max-width:360px;margin:0}.editor{--editor-bar-h:64px;--editor-rail-w:56px;--editor-panel-w:320px;grid-template:"bar bar bar" var(--editor-bar-h) "rail panel stage" minmax(0,1fr) /var(--editor-rail-w) var(--editor-panel-w) minmax(0,1fr);background:var(--bg);height:100dvh;display:grid}.editor.is-folded{grid-template-columns:var(--editor-rail-w) 0 minmax(0,1fr)}.editor-bar{border-block-end:1px solid var(--line);background:var(--surface);grid-area:bar;justify-content:space-between;gap:12px;padding-inline:16px}.editor-bar,.editor-bar__group{align-items:center;display:flex}.editor-bar__group{gap:10px;min-width:0}.editor-bar__title{font-family:var(--font-display);white-space:nowrap;color:var(--text);font-size:20px}.editor-bar__group>.e-pill,.editor-bar__title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.editor-bar__hero{border:2px solid var(--brand);width:44px;height:44px;color:var(--brand);border-radius:50%;place-items:center;display:grid;overflow:hidden}.editor-bar__hero img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.editor-rail{border-inline-end:1px solid var(--line);background:var(--surface);flex-direction:column;grid-area:rail;gap:6px;padding:10px 6px;display:flex}.editor-rail__item{border-radius:var(--r-chip);min-height:44px;color:var(--muted);place-items:center;display:grid}.editor-rail__item span{display:none}.editor-rail__item.is-on,.editor-rail__item:hover:not(:disabled){background:var(--brand-tint);color:var(--brand)}.editor-rail__item:disabled{opacity:.4;cursor:not-allowed}.editor-panel{border-inline-end:1px solid var(--line);background:var(--surface);flex-direction:column;grid-area:panel;min-width:0;display:flex;overflow:hidden}.editor.is-folded .editor-panel{border:0}.editor-panel__head{border-block-end:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:12px 16px;display:flex}.editor-panel__head h2{color:var(--text);font-size:16px}.editor-panel__body{flex:1;min-height:0;overflow-y:auto}.editor-page{grid-area:2/2/auto/-1;min-width:0;overflow-y:auto}.editor-stage{grid-area:stage;min-width:0;min-height:0;padding:16px;padding-inline-start:0;display:flex}.editor-stage>.store-preview{flex:1}.editor-split{cursor:col-resize;touch-action:none;flex:none;place-items:center;width:16px;display:grid}.editor-split:before{content:"";background:var(--line);border-radius:2px;width:4px;height:44px}.editor-split:focus-visible:before,.editor-split:hover:before,.editor.is-resizing .editor-split:before{background:var(--brand)}.editor-split:focus-visible{outline:none}.editor.is-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.editor.is-resizing iframe{pointer-events:none}.editor.is-folded .editor-stage{padding-inline-start:16px}@media (width<=1199.98px){.editor-bar__group>.e-num,.editor-bar__group>.e-pill--mute{display:none}}@media (width<=959.98px){.editor,.editor.is-folded{grid-template:"bar""stage"minmax(0,1fr)"panel""rail"/minmax(0,1fr)}.editor-bar{flex-wrap:wrap;gap:8px;padding-block:8px;padding-inline:12px}.editor-bar__wide{display:none}.editor-bar__title{font-size:17px}.editor-bar__publish{flex:100%;justify-content:space-between}.editor-bar__publish .e-btn{flex:0 auto;min-width:0;padding-inline:12px}.editor-bar__publish .e-btn__label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-stage,.editor.is-folded .editor-stage{padding:8px 12px}.editor-page{grid-area:stage}.editor-bar__tried{display:none}.editor-panel{border-inline-end:0;border-block-start:1px solid var(--line);max-height:46dvh;box-shadow:var(--shadow-bottom);border-start-start-radius:var(--r-card);border-start-end-radius:var(--r-card)}.editor.is-phone-edit{grid-template:"bar""stage"0"panel"minmax(0,1fr)"rail"/minmax(0,1fr)}.editor.is-phone-edit .editor-stage{visibility:hidden;padding:0;overflow:hidden}.editor.is-phone-edit .editor-panel{max-height:none}.editor.is-phone-preview .editor-panel{display:none}.editor-views{flex:100%}.editor-views .e-stats__item{flex:1;justify-content:center}.editor-rail{padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-inline-end:0;border-block-start:1px solid var(--line);flex-direction:row;justify-content:space-around}.editor-rail__item{flex:1;min-width:44px}}
