/* LuckyStudio document-flow editor v1. Scoped to the real Web editor only.
   Purchase, wizard, shop, draft data, and customer HTML are untouched. */
html.lw-web-document-flow,
html.lw-web-document-flow body.studio-one.one-working[data-studio-screen="editor"] {
  height:auto !important; min-height:100%; overflow-x:clip !important;
  overflow-y:auto !important;
}
html.lw-web-document-flow body.studio-one.one-working[data-studio-screen="editor"] #one-app.lcw-enabled.lcw-native-open {
  display:grid !important; width:100% !important; max-width:none !important;
  min-height:100dvh !important; height:auto !important; max-height:none !important;
  margin:0 !important; padding:0 !important; overflow:visible !important;
  grid-template-columns:minmax(0,1fr) !important;
  grid-template-rows:auto minmax(0,max-content) !important;
  align-items:start !important; background:#071b13 !important;
}
html.lw-web-document-flow body.studio-one.one-working[data-studio-screen="editor"]
#one-app.lcw-enabled.lcw-native-open .one-app-bar {
  position:sticky !important; top:0; z-index:90 !important;
  grid-column:1 / -1 !important; grid-row:1 !important;
  width:100% !important; min-width:0 !important;
}
html.lw-web-document-flow body.studio-one.one-working[data-studio-screen="editor"]
#one-app.lcw-enabled.lcw-native-open .one-editor-panel:not([hidden]) {
  display:block !important; position:relative !important;
  grid-column:1 / -1 !important; grid-row:2 !important;
  width:100% !important; max-width:none !important;
  min-width:0 !important; height:auto !important; max-height:none !important;
  min-height:600px !important; overflow:visible !important; flex:none !important;
  margin:0 !important; padding:0 !important;
}
html.lw-web-document-flow body.studio-one.one-working[data-studio-screen="editor"]
#one-app.lcw-enabled.lcw-native-open .one-editor-panel > iframe {
  display:block !important; width:100% !important; max-width:none !important;
  min-width:0 !important; min-height:600px !important;
  height:var(--lw-web-frame-height,1200px) !important;
  max-height:none !important; overflow:hidden !important;
  border:0 !important; background:#071b13;
}
html.lw-web-document-flow body.studio-one.one-working[data-studio-screen="editor"]
#one-app.lcw-enabled.lcw-native-open #lcw-workbench {
  display:none !important; /* old duplicated outer workbench stays disabled */
}
@media(max-width:850px) {
 html.lw-web-document-flow body.studio-one.one-working[data-studio-screen="editor"] #one-app.lcw-enabled.lcw-native-open {
   display:block !important;
 }
 html.lw-web-document-flow body.studio-one.one-working[data-studio-screen="editor"] #one-app.lcw-enabled.lcw-native-open .one-app-bar {
   position:relative !important;
 }
 html.lw-web-document-flow body.studio-one.one-working[data-studio-screen="editor"] #one-app.lcw-enabled.lcw-native-open .one-editor-panel:not([hidden]) {
   width:100% !important; min-height:520px !important;
 }
}

/* Applied only inside same-origin /vytvorit-web/ editor after it is ready.
   The iframe itself is expanded to this document's measured height. */
html.lw-embedded-web-flow,
html.lw-embedded-web-flow body {
  height:auto !important; min-height:0 !important;
  max-height:none !important; overflow-x:clip !important;
  overflow-y:visible !important;
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple {
  position:relative !important; inset:auto !important;
  top:auto !important; right:auto !important; bottom:auto !important; left:auto !important;
  transform:none !important; margin:0 !important;
  display:block !important; width:100% !important;
  min-width:0 !important; max-width:none !important;
  height:auto !important; min-height:0 !important; max-height:none !important;
  overflow:visible !important; border:0 !important; border-radius:0 !important;
  box-shadow:none !important;
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-shell,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .studio-cockpit-layout,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .studio-tile-stage,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .studio-tile-stage > .lwstudio-main,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-preview-side,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-preview-area {
  height:auto !important; min-height:0 !important; max-height:none !important;
  overflow:visible !important;
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .studio-tile-stage > .lwstudio-main {
  display:grid !important;
  grid-template-columns:clamp(310px,24vw,420px) minmax(0,1fr) !important;
  grid-template-rows:auto !important;
  align-items:start !important;
  gap:14px !important;
  width:100% !important; max-width:none !important;
  padding:10px 14px 32px !important;
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-panel:not([hidden]) {
  display:flex !important; width:100% !important; min-width:0 !important;
  align-self:start !important; position:relative !important;
  height:auto !important; max-height:calc(100dvh - 90px) !important;
  overflow-x:hidden !important; overflow-y:auto !important;
  transform:translate3d(0,var(--lw-web-panel-shift,0px),0);
  will-change:transform;
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple.lse-preview-only .lse-panel {
  display:none !important; /* real Preview mode must retain its existing semantics */
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-preview-side {
  display:flex !important; flex-direction:column !important;
  width:100% !important; max-width:none !important; min-width:0 !important;
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-preview-area {
  display:block !important; padding:10px 0 20px !important;
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-preview-frame:not(.mobile) {
  width:100% !important; max-width:none !important;
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-preview-frame.mobile {
  width:min(100%,390px) !important;
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-preview-frame .lwstudio-live-page {
  max-width:100% !important;
}
@media (max-width:850px) {
 html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .studio-tile-stage > .lwstudio-main {
   display:flex !important; flex-direction:column !important;
   gap:10px !important; padding:8px 9px 24px !important;
 }
 html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-panel:not([hidden]) {
   flex:none !important; max-height:none !important;
   transform:none !important; overflow:visible !important;
 }
 html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-preview-side {
   flex:none !important;
 }
}

/* lw-native-editor-restored-20261118 */
html.lw-web-document-flow body.studio-one.one-working[data-studio-screen="editor"] #one-app.lcw-enabled #lcw-workbench{display:none!important}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-panel:not([hidden]){display:flex!important;visibility:visible!important;pointer-events:auto!important;width:100%!important}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .studio-tile-stage>.lwstudio-main{display:grid!important;grid-template-columns:clamp(290px,24vw,410px) minmax(0,1fr)!important;grid-template-rows:auto!important;gap:12px!important}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-preview-side,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-preview-area,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple #lws-preview-frame{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;width:100%!important}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple #lws-preview-frame iframe[data-reference-editor]{display:block!important;width:100%!important;min-height:600px!important;max-height:none!important;overflow:hidden!important;border:0!important}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-preview-frame:not(.mobile){width:100%!important;max-width:none!important}
@media(max-width:850px){html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .studio-tile-stage>.lwstudio-main{display:flex!important;flex-direction:column!important;gap:10px!important}html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-panel:not([hidden]){max-height:none!important;transform:none!important}}


/* lw-native-finish-card-20261118 */
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-checkout-bridge{
 display:grid;gap:9px;margin:14px 0;padding:14px;border-radius:12px;
 border:1px solid rgba(146,221,169,.5);background:#092b20;color:#eaffef;
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-checkout-bridge strong{font-size:14px}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-checkout-bridge small{color:#c6e1d0;font-size:12px;line-height:1.5}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-checkout-bridge button{
 display:block;min-height:44px;width:100%;padding:10px 12px;border-radius:8px;
 border:0;background:#b2f78b;color:#0b2819;font-weight:750;cursor:pointer;
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-checkout-bridge button:disabled{opacity:.5;cursor:not-allowed}


/* lw-nested-reference-fullheight-20261118 */
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-shell,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .studio-tile-stage,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .studio-tile-stage>.lwstudio-main,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-preview-side,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lwstudio-preview-area,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple #lws-preview-frame{
 height:auto!important;max-height:none!important;overflow:visible!important;
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple #lws-preview-frame iframe[data-reference-editor]{
 display:block!important;width:100%!important;max-height:none!important;overflow:hidden!important;border:0!important;
}


/* lw-footer-tight-fit-20261118 */
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple #lws-preview-frame iframe[data-reference-editor]{
 min-height:0!important;max-height:none!important;overflow:hidden!important;border:0!important;
}

/* lw-native-sidebar-independent-scroll-20261118 */
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-panel:not([hidden]){
 box-sizing:border-box!important;flex:0 0 auto!important;position:relative!important;
 height:var(--lw-native-panel-viewport,680px)!important;min-height:0!important;
 max-height:var(--lw-native-panel-viewport,680px)!important;
 overflow-x:hidden!important;overflow-y:auto!important;
 overscroll-behavior-y:contain!important;overscroll-behavior-x:none!important;
 scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#70b38c #0b2d20;
 -webkit-overflow-scrolling:touch;
}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-panel .lse-body,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-panel .lse-intro,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-panel .lse-tabs,
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-panel .lse-footer{flex-shrink:0!important}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-panel::-webkit-scrollbar{width:9px}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-panel::-webkit-scrollbar-track{background:#0b2d20}
html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-panel::-webkit-scrollbar-thumb{background:#70b38c;border:2px solid #0b2d20;border-radius:6px}
@media(max-width:850px){html.lw-embedded-web-flow #lwstudio-dialog.lse-simple .lse-panel:not([hidden]){height:auto!important;max-height:none!important;overflow-y:visible!important}}