/* Single Studio workspace: presentation flag only, never changes draft data. */
.lwstudio-dialog.lwstudio-inline-shop-active .lwstudio-shell{display:flex!important;flex-direction:column!important;min-height:0}
.lwstudio-dialog.lwstudio-inline-shop-active .lwstudio-shell>.studio-tile-toolbar,
.lwstudio-dialog.lwstudio-inline-shop-active .lwstudio-shell>.studio-style-shelf,
.lwstudio-dialog.lwstudio-inline-shop-active .lwstudio-shell>.studio-cockpit-layout,
.lwstudio-dialog.lwstudio-inline-shop-active .lwstudio-shell>.lwstudio-main,
.lwstudio-dialog.lwstudio-inline-shop-active .lwstudio-shell>.studio-industry-quick,
.lwstudio-dialog.lwstudio-inline-shop-active .lwstudio-shell>.lwstudio-design-drawer{display:none!important}
.lwstudio-dialog .lwstudio-inline-shop{display:flex;flex:1 1 auto;min-height:0;min-width:0;width:100%;height:100%;background:#06150d;overflow:hidden}
.lwstudio-dialog .lwstudio-inline-shop[hidden]{display:none!important}
.lwstudio-dialog .lwstudio-inline-shop iframe{flex:1;display:block;width:100%;height:100%;min-height:0;min-width:0;border:0;background:#06150d;color-scheme:dark}
.lwstudio-dialog.lwstudio-inline-shop-active .lwstudio-identity em{color:#9bf5b9}
/* Embedded Shop IS the real editor, templates and product/photo/preview/export. */
html.studio-embedded-shop,html.studio-embedded-shop body{min-height:100%;margin:0;overflow-x:hidden}
html.studio-embedded-shop .global-header,
html.studio-embedded-shop body>.skip,
html.studio-embedded-shop main>.intro,
html.studio-embedded-shop main>.template-section,
html.studio-embedded-shop main>.how-section,
html.studio-embedded-shop main>.pricing-section,
html.studio-embedded-shop main>.ownership-section,
html.studio-embedded-shop main>.contact-section,
html.studio-embedded-shop .footer,
html.studio-embedded-shop .studio-section-heading,
html.studio-embedded-shop .studio-topbar .lw-studio-mode-nav,
html.studio-embedded-shop .studio-topbar .studio-topbar-steps,
html.studio-embedded-shop .studio-topbar .studio-open{display:none!important}
html.studio-embedded-shop .editor-section{display:block!important;width:100%!important;min-width:0!important;padding:10px 12px 22px!important;margin:0!important;border:0!important;background:linear-gradient(130deg,#07180f,#030d08)!important}
html.studio-embedded-shop .editor-section>.container{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
html.studio-embedded-shop .studio-topbar{border-radius:13px 13px 0 0!important;padding:10px 16px!important;margin:0!important}
html.studio-embedded-shop .editor-layout{border-radius:0 0 13px 13px!important;grid-template-columns:minmax(270px,350px) minmax(0,1fr)!important;gap:12px!important}
html.studio-embedded-shop .preview-panel,html.studio-embedded-shop .editor-panel{min-width:0}
html.studio-embedded-shop .preview-stage{min-height:520px}
html.studio-embedded-shop .studio-shop-cockpit{min-width:0}
html.studio-embedded-shop .editor-section .studio-cockpit-rail{display:flex!important}
html.studio-embedded-shop .studio-topbar-brand small{color:#a7e7bc}
@media(max-width:850px){
 html.studio-embedded-shop .editor-section{padding:6px!important}
 html.studio-embedded-shop .editor-layout{grid-template-columns:minmax(0,1fr)!important}
 html.studio-embedded-shop .studio-topbar{padding:9px 12px!important}
 html.studio-embedded-shop .preview-stage{min-height:360px}
}
/* Users starting from Shop also switch mode without changing top URL. */
body.lwshop-inline-web-active{overflow:hidden!important}
.lwshop-inline-web{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;background:#04110b;overflow:hidden;min-height:0;min-width:0}
.lwshop-inline-web[hidden]{display:none!important}
.lwshop-inline-web-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:10px clamp(12px,2vw,28px);min-height:66px;background:linear-gradient(110deg,#103c27,#05190f);color:#e6fff0;border-bottom:1px solid #478c62}
.lwshop-inline-web-header>strong{font:850 clamp(15px,2vw,23px)/1.1 system-ui,sans-serif;letter-spacing:-.04em}
.lwshop-inline-web-header .lw-studio-mode-nav{margin-left:auto}
.lwshop-inline-web-close{width:40px;height:40px;flex:none;background:#113725;border:1px solid #6cb48a;border-radius:10px;color:#e9fff1;font-size:24px;cursor:pointer}
.lwshop-inline-web>iframe{display:block;flex:1 1 auto;min-height:0;width:100%;border:0;background:#04110b}
html.studio-embedded-web .lwstudio-dialog .lw-studio-mode-nav{display:none!important}
@media(max-width:600px){
 .lwshop-inline-web-header{padding:9px 11px;gap:8px}
 .lwshop-inline-web-header>strong{font-size:14px}
 .lwshop-inline-web-header .lw-studio-mode-nav{padding:3px}
 .lwshop-inline-web-header .lw-studio-mode-nav a{min-height:32px;padding:7px 9px;font-size:11px}
 .lwshop-inline-web-close{height:35px;width:35px}
}