/* LuckyStudio V5 mobile editor; strictly isolated from the six-step wizard
   and customer template CSS. */
@media(max-width:699px){
 body[data-lw-studio-v2][data-studio-screen="editor"]{
  --lse-mobile-nav-height:69px;
 }
 body.studio-start-active.one-working[data-lw-studio-v2][data-studio-screen="editor"] #one-app.lcw-enabled.lcw-native-open{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  height:100dvh!important;min-height:0!important;
  overflow:hidden!important;padding-bottom:var(--lse-mobile-nav-height)!important;
  box-sizing:border-box!important;
  background:#06180f!important;
 }
 body[data-studio-screen="editor"] #one-app .one-app-bar{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  padding:6px 10px!important;gap:6px!important;
  min-height:56px!important;max-height:none!important;
 }
 body[data-studio-screen="editor"] #one-app .one-app-identity{min-width:0!important;flex:0 0 auto!important;gap:5px!important}
 body[data-studio-screen="editor"] #one-app .one-app-identity .one-app-mark{width:24px!important;height:24px!important}
 body[data-studio-screen="editor"] #one-app .one-app-heading strong{font-size:14px!important}
 body[data-studio-screen="editor"] #one-app .one-app-heading #one-status{display:none!important}
 body[data-studio-screen="editor"] #one-app .one-switch{margin-left:auto!important;max-width:150px!important;padding:1px!important}
 body[data-studio-screen="editor"] #one-app .one-switch button{min-height:30px!important;padding:4px 7px!important;font-size:10px!important}
 body[data-studio-screen="editor"] #one-app .one-app-original,
 body[data-studio-screen="editor"] #one-app .one-app-actions,
 body[data-studio-screen="editor"] #one-app #start-editor-controls,
 body[data-studio-screen="editor"] #one-app .one-rotate-hint{display:none!important}
 body[data-studio-screen="editor"] #one-app #lse-mobile-top{
  display:flex!important;align-items:center;justify-content:space-between;
  gap:8px;min-width:0;width:100%;flex-wrap:wrap;
  position:relative;z-index:15;
 }
 body[data-studio-screen="editor"] #one-app .lse-mobile-info{
  display:grid;gap:3px;flex:1 1 110px;min-width:0;
  color:#d1e8d7;font:700 10px/1.3 Manrope,system-ui,sans-serif;
 }
 body[data-studio-screen="editor"] #one-app .lse-mobile-progress{color:#b4f6a4}
 body[data-studio-screen="editor"] #one-app .lse-mobile-save{color:#b8d7c3}
 body[data-studio-screen="editor"] #one-app .lse-mobile-top-actions{
  display:flex;align-items:center;justify-content:flex-end;gap:7px;
  flex:0 1 auto;min-width:0;
 }
 body[data-studio-screen="editor"] #one-app .lse-mobile-top-actions button{
  min-width:0;min-height:44px;padding:9px 12px;
  border:1px solid #6ca987;border-radius:10px;
  background:#153c29;color:#eaffe9;
  font:750 12px/1.2 Manrope,system-ui,sans-serif;
 }
 body[data-studio-screen="editor"] #one-app .lse-mobile-top-actions .lse-mobile-finish{
  background:#a4f19d!important;border-color:#b6f9ac!important;color:#102815!important;
 }
 body[data-studio-screen="editor"] #one-app .lse-mobile-more{font-size:21px!important;padding:7px 12px!important}
 body[data-studio-screen="editor"] #one-app #lse-mobile-menu{
  position:absolute;right:0;top:calc(100% + 6px);width:min(300px,calc(100vw - 20px));
  box-sizing:border-box;display:grid;gap:4px;padding:9px;
  background:#081e14;border:1px solid #54836a;border-radius:13px;
  box-shadow:0 18px 55px #000b;z-index:1500;
 }
 body[data-studio-screen="editor"] #one-app #lse-mobile-menu[hidden]{display:none!important}
 body[data-studio-screen="editor"] #one-app #lse-mobile-menu :is(button,a){
  display:flex;align-items:center;text-align:left;text-decoration:none;
  min-height:46px;padding:10px 13px;
  border:0;border-radius:8px;background:#113525;
  color:#e7f8e9;font:700 13px/1.3 Manrope,system-ui,sans-serif;
 }
 body[data-studio-screen="editor"] #one-app #lse-mobile-bottom{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;
  position:fixed;left:0;right:0;bottom:0;
  height:calc(var(--lse-mobile-nav-height) + env(safe-area-inset-bottom,0px));
  box-sizing:border-box;padding:7px 9px calc(7px + env(safe-area-inset-bottom,0px));
  border-top:1px solid #387354;background:linear-gradient(125deg,#0a2419,#03140e);
  box-shadow:0 -12px 36px #0009;z-index:1150;
 }
 body[data-studio-screen="editor"] #one-app #lse-mobile-bottom button{
  border:1px solid #3e7956;border-radius:11px;background:#143b29;
  min-height:49px;padding:9px 4px;
  color:#e7fae9;font:800 13px/1.2 Manrope,system-ui,sans-serif;
 }
 body[data-studio-screen="editor"] #one-app #lse-mobile-bottom button[aria-current="page"]{
  border-color:#9ff199;background:linear-gradient(130deg,#215839,#113923);
  color:#bbffb3;box-shadow:inset 0 0 0 1px #a3f9a755;
 }
 body[data-studio-screen="editor"] #one-app .lse-mobile-history{
  display:flex;gap:5px;position:fixed;z-index:1100;
  right:12px;bottom:calc(var(--lse-mobile-nav-height) + env(safe-area-inset-bottom,0px) + 12px);
  padding:5px;border:1px solid #3e7656;border-radius:999px;
  background:#092819ed;box-shadow:0 6px 24px #0008;
 }
 body[data-studio-screen="editor"] #one-app .lse-mobile-history button{
  width:44px;height:44px;display:grid;place-items:center;
  border:1px solid #528565;border-radius:50%;
  background:#17472e;color:#e8ffe8;font:800 24px/1 system-ui;
 }
 body[data-studio-screen="editor"] #one-app .lse-mobile-history button:disabled{opacity:.32}
 body.studio-start-active.one-working[data-studio-screen="editor"] #one-app.lcw-enabled.lcw-native-open .one-editor-panel:not([hidden]){
  grid-row:2!important;grid-column:1!important;
  display:block!important;width:100%!important;
  height:100%!important;min-height:0!important;max-height:none!important;
  overflow:hidden!important;
 }
 body.studio-start-active.one-working[data-studio-screen="editor"] #one-app.lcw-enabled.lcw-native-open .one-editor-panel:not([hidden]) iframe{
  display:block!important;width:100%!important;height:100%!important;
 }
 body[data-studio-screen="editor"] #one-app .lse-mobile-fullscreen-exit{display:none}
 body[data-studio-screen="editor"] #one-app[data-lse-mobile-fullscreen="true"]{
  padding-bottom:0!important;grid-template-rows:minmax(0,1fr)!important;
 }
 body[data-studio-screen="editor"] #one-app[data-lse-mobile-fullscreen="true"] :is(.one-app-bar,#lse-mobile-bottom,.lse-mobile-history){display:none!important}
 body[data-studio-screen="editor"] #one-app[data-lse-mobile-fullscreen="true"] .one-editor-panel:not([hidden]){
  grid-row:1!important;height:100dvh!important;max-height:100dvh!important;
 }
 body[data-studio-screen="editor"] #one-app[data-lse-mobile-fullscreen="true"] .lse-mobile-fullscreen-exit:not([hidden]){
  display:block!important;position:fixed;z-index:2000;
  bottom:calc(14px + env(safe-area-inset-bottom,0px));left:12px;
  min-height:48px;padding:10px 14px;
  color:#eaffeb;background:#092719ee;border:1px solid #9adfa2;
  border-radius:12px;font:800 13px/1 system-ui;box-shadow:0 8px 30px #0008;
 }
 body[data-studio-screen="editor"] #one-app .lse-mobile-intro{
  display:grid;place-items:center;position:fixed;inset:0;z-index:2200;
  background:#00100cdd;padding:16px;box-sizing:border-box;
 }
 body[data-studio-screen="editor"] #one-app .lse-mobile-intro-content{
  width:min(370px,100%);background:#0a2a1b;
  border:1px solid #8fe69e;border-radius:17px;padding:22px;color:#eaffe9;
  box-shadow:0 22px 80px #000a;
 }
 body[data-studio-screen="editor"] #one-app .lse-mobile-intro h2{font:850 21px/1.2 Manrope,system-ui;margin:0 0 14px}
 body[data-studio-screen="editor"] #one-app .lse-mobile-intro p{font:500 14px/1.55 Manrope,system-ui;margin:0 0 19px}
 body[data-studio-screen="editor"] #one-app .lse-mobile-intro-content>div{display:flex;gap:8px;justify-content:space-between}
 body[data-studio-screen="editor"] #one-app .lse-mobile-intro button{min-height:48px;padding:10px 14px;background:#a4eeac;border:0;border-radius:10px;color:#103321;font:750 13px system-ui}
 body[data-studio-screen="editor"] #one-app .lse-mobile-intro button:first-child{background:#1e4930;color:#ebffee;border:1px solid #618d70}
 body[data-studio-screen="editor"] #one-app :is(.lse-mobile-menu button,.lse-mobile-bottom button,.lse-mobile-history button,.lse-mobile-intro button,.lse-mobile-top-actions button):focus-visible{
  outline:3px solid #c8ffa3!important;outline-offset:2px!important;
 }
}
@media(max-width:370px){
 body[data-studio-screen="editor"] #one-app .lse-mobile-top-actions{gap:4px}
 body[data-studio-screen="editor"] #one-app .lse-mobile-top-actions button{padding:8px;font-size:11px}
 body[data-studio-screen="editor"] #one-app #lse-mobile-bottom button{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 body[data-studio-screen="editor"] #one-app :is(.lse-mobile-bottom,.lse-mobile-history){transition:none!important;animation:none!important}
}
