/* Clena Sites mobile studio 2026-11-27.
   Scoped to authenticated editor; avoids changing authentication and public sites. */
.editor-view .clena-order-tools{
 display:flex;align-items:center;gap:7px;margin-bottom:10px;min-height:32px
}
.editor-view .clena-order-title{
 min-width:0;flex:1;font-size:12px;color:#42335b;font-weight:800;letter-spacing:-.01em
}
.editor-view .clena-order-button{
 display:inline-grid;place-items:center;flex:none;width:34px;height:33px;padding:0;
 border:1px solid #ded5f0;background:#fff;color:#6144a8;border-radius:9px;
 cursor:pointer;font-size:15px
}
.editor-view .clena-order-button:disabled{opacity:.4;cursor:default}
.editor-view .clena-order-button:focus-visible{outline:2px solid #8657d7;outline-offset:2px}
.clena-draft-dialog{
 width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 35px);overflow:auto;
 padding:23px;background:#fff;color:#302244;border:1px solid #e9def3;border-radius:19px;
 box-shadow:0 30px 80px #23143a55
}
.clena-draft-dialog::backdrop{background:#180e2b9c;backdrop-filter:blur(4px)}
.clena-draft-icon{width:43px;height:43px;border-radius:13px;background:#f1e9ff;color:#7549d2;
 display:grid;place-items:center;font-size:22px}
.clena-draft-dialog h2{font:850 24px/1.16 Outfit,system-ui;letter-spacing:-.04em;margin:14px 0 8px}
.clena-draft-dialog p{margin:0;color:#7e708e;font-size:13px;line-height:1.6}
.clena-draft-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:22px}
.clena-draft-actions button{min-height:40px;padding:9px 13px;border-radius:10px;font-size:12px;font-weight:800;
 background:#faf8fd;color:#5c4780;border:1px solid #e5dbf3;cursor:pointer}
.clena-draft-actions .clena-draft-restore{background:#6840ce;color:#fff;border-color:#6840ce}
.editor-view .editor-save-state[data-state="saved"]{color:#317c5d}
.editor-view .editor-save-state[data-state="dirty"]{color:#98691f}
@media(max-width:799px){
 :root{--studio-top:60px;--studio-dock:64px}
 html:has(.editor-view:not(.hidden)){overflow:hidden!important;height:100dvh!important}
 body:has(.editor-view:not(.hidden)){
  overflow:hidden!important;height:100dvh!important;min-height:0!important;
  overscroll-behavior:contain;background:#f5f2fa!important
 }
 body:has(.editor-view:not(.hidden)) .shell{
  display:flex!important;flex-direction:column!important;
  height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  padding:0 9px!important;overflow:hidden!important
 }
 body:has(.editor-view:not(.hidden)) .top{
  flex:0 0 auto!important;position:relative!important;
  width:100%!important;margin:0 0 7px!important;min-height:53px!important;
  height:53px!important;border-radius:0 0 13px 13px!important;padding:7px 10px!important;
  flex-wrap:nowrap!important;gap:7px!important;
  border:1px solid #ebe3f4!important;background:#fff!important;
  box-shadow:0 5px 18px #321c5910!important
 }
 body:has(.editor-view:not(.hidden)) .top .logo{font-size:19px!important;letter-spacing:-.075em}
 body:has(.editor-view:not(.hidden)) .top .top-actions{gap:5px!important;flex-wrap:nowrap!important}
 body:has(.editor-view:not(.hidden)) .top #logout{
  min-height:33px!important;padding:6px 9px!important;font-size:11px!important;border-radius:9px!important
 }
 body:has(.editor-view:not(.hidden)) .top .install-app-btn{
  display:inline-flex!important;min-height:32px!important;border-radius:9px!important;
  padding:6px 9px!important;white-space:nowrap!important
 }
 .editor-view:not(.hidden){
  flex:1 1 auto!important;display:flex!important;flex-direction:column!important;
  height:auto!important;max-height:none!important;min-height:0!important;
  margin:0!important;padding:0!important;gap:0!important;overflow:hidden!important
 }
 .editor-view>.eyebrow{display:none!important}
 .editor-view .top-creator-row{
  flex:0 0 47px!important;height:47px!important;max-height:47px!important;min-height:0!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;
  margin:0 3px 7px!important
 }
 .editor-view .top-creator-row .creator-title{min-width:0!important;flex:1 1 auto!important}
 .editor-view .top-creator-row .heading{
  font-size:clamp(19px,5.4vw,25px)!important;line-height:1.07!important;margin:0!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  max-width:100%!important;letter-spacing:-.048em!important
 }
 .editor-view .top-creator-row #editorUrl{
  font-size:10px!important;font-weight:650!important;margin-top:2px;
  text-overflow:ellipsis!important;white-space:nowrap!important;
  max-width:100%!important;overflow:hidden!important
 }
 .editor-view .top-creator-row #publicationStatus{
  display:inline-flex!important;flex:0 0 auto!important;font-size:10px!important;
  min-height:28px!important;padding:6px 8px!important;border-radius:999px!important
 }
 .editor-view .editor-grid{
  flex:1 1 auto!important;display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;
  gap:7px!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important
 }
 .editor-view .tabs{display:none!important}
 .editor-view .mobile-section-nav{
  display:flex!important;flex-direction:column!important;grid-row:1!important;
  position:relative!important;inset:auto!important;z-index:8!important;
  min-height:0!important;max-height:none!important;gap:5px!important;
  margin:0!important;padding:8px 0 8px!important;background:#fff!important;
  border:1px solid #e9e0f3!important;border-radius:13px!important;
  box-shadow:0 3px 13px #3f237109!important;overflow:hidden!important
 }
 .editor-view .mobile-section-nav>label,.editor-view .mobile-section-nav>select{
  position:absolute!important;width:1px!important;height:1px!important;
  opacity:0!important;pointer-events:none!important;overflow:hidden!important
 }
 .editor-view .mobile-nav-caption{
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  padding:0 11px!important;gap:7px!important;
  color:#5d467d!important;font-size:10px!important;line-height:1.4!important;
  font-weight:820!important;letter-spacing:0!important;text-transform:none!important
 }
 .editor-view .clena-mobile-section-index{
  color:#927da9;font-size:10px;font-weight:750;white-space:nowrap
 }
 .editor-view .mobile-nav-track{
  display:flex!important;gap:5px!important;padding:0 8px 2px!important;min-height:0!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
  scroll-snap-type:x proximity!important;-webkit-overflow-scrolling:touch
 }
 .editor-view .mobile-nav-track::-webkit-scrollbar{display:none}
 .editor-view .mobile-nav-button{
  flex:0 0 auto!important;display:flex!important;flex-direction:row!important;
  gap:6px!important;align-items:center!important;justify-content:center!important;
  min-width:0!important;min-height:36px!important;height:36px!important;
  padding:7px 11px!important;font-size:10px!important;line-height:1!important;
  border:1px solid #eee7f5!important;border-radius:9px!important;background:#f9f7fd!important;
  box-shadow:none!important;color:#6b5b81!important;white-space:nowrap!important
 }
 .editor-view .mobile-nav-button i{font-size:14px!important;line-height:1!important}
 .editor-view .mobile-nav-button[aria-current="page"]{
  color:#fff!important;background:linear-gradient(110deg,#6741c9,#9056e5)!important;
  border-color:transparent!important;box-shadow:0 4px 10px #6540b72e!important
 }
 .editor-view .editor-workspace{
  grid-row:2!important;min-width:0!important;min-height:0!important;max-height:none!important;
  width:100%!important;height:auto!important;overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch;
  border:1px solid #e9e2f1!important;border-radius:13px!important;
  background:#fff!important;box-shadow:0 3px 13px #28184d08!important;
 }
 .editor-view #section{
  display:block!important;min-height:0!important;height:auto!important;
  padding:16px 13px 20px!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;background:#fff!important;scroll-margin-top:0!important;
  overflow:visible!important
 }
 .editor-view #section h2{font-size:22px!important;line-height:1.2!important;margin:0 0 13px!important}
 .editor-view #section p.muted{font-size:12px!important;line-height:1.5!important;margin:3px 0 11px!important}
 .editor-view #section .field{margin:0 0 13px!important;min-width:0!important;gap:5px!important}
 .editor-view #section .field label{font-size:12px!important;color:#544466!important}
 .editor-view #section input:not([type=file]):not([type=hidden]),.editor-view #section textarea,.editor-view #section select{
  width:100%!important;min-width:0!important;max-width:100%!important;
  font-size:16px!important;line-height:1.4!important;padding:11px 12px!important;
  min-height:46px!important;height:auto!important;border:1px solid #e3dced!important;
  border-radius:10px!important;background:#fbfaff!important;color:#332645!important
 }
 .editor-view #section textarea{min-height:105px!important;resize:vertical!important}
 .editor-view #section input:focus,.editor-view #section textarea:focus,.editor-view #section select:focus{
  border-color:#9067d9!important;background:#fff!important;box-shadow:0 0 0 3px #8855d519!important
 }
 .editor-view #section .photo-field{margin:0 0 13px!important}
 .editor-view #section .photo-picker{
  display:flex!important;align-items:center!important;gap:11px!important;
  min-height:78px!important;padding:9px 10px!important;border-radius:11px!important;
  background:#faf8ff!important;border:1px solid #e9e2f4!important
 }
 .editor-view #section .photo-thumb{
  width:69px!important;height:69px!important;flex:0 0 69px!important;max-width:69px!important;
  border-radius:10px!important;overflow:hidden!important
 }
 .editor-view #section .photo-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}
 .editor-view #section .photo-picker-actions{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:center!important;gap:5px!important;min-width:0!important;flex:1
 }
 .editor-view #section .photo-picker-actions>label.btn:not(.clena-camera-upload){
  grid-column:1!important;grid-row:1!important
 }
 .editor-view #section .photo-picker-actions>.clena-camera-upload{
  grid-column:2!important;grid-row:1!important
 }
 .editor-view #section .photo-picker-actions>p{
  grid-column:1/-1!important;grid-row:2!important
 }
 .editor-view #section .photo-picker-actions>.photo-remove{
  grid-column:1/-1!important;grid-row:3!important;justify-self:start
 }
 .editor-view #section .photo-picker-actions .btn{display:inline-flex!important;justify-content:center!important;align-items:center!important;gap:5px!important;min-height:33px!important;padding:6px 6px!important;font-size:10px!important;text-align:center!important;white-space:nowrap!important}
 .editor-view #section .photo-picker-actions p{display:block!important;font-size:10px!important;line-height:1.35!important}
 .editor-view #section .photo-remove{min-height:0!important;padding:1px 2px!important;font-size:10px!important;color:#a6476a!important}
 .editor-view .site-image-quota{
  padding:10px 12px!important;margin:0 0 15px!important;border-radius:10px!important;
  background:#f7f2fd!important;border:1px solid #eee5fa!important
 }
 .editor-view .site-image-quota strong{font-size:12px!important}
 .editor-view .site-image-quota small{font-size:10px!important;line-height:1.4!important}
 .editor-view .site-image-counter{font-size:11px!important}
 .editor-view .list-item{
  position:relative!important;padding:13px 12px!important;margin:0 0 11px!important;
  background:#fcfaff!important;border:1px solid #ede6f5!important;border-radius:12px!important
 }
 .editor-view .list-item [data-remove]{min-height:35px!important;padding:7px 11px!important;font-size:11px!important}
 .editor-view .theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .editor-view .theme-card{padding:8px!important;border-radius:12px!important}
 .editor-view .theme-card .swatch{height:105px!important}
 .editor-view .social-editor-grid{grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
 .editor-view .social-editor-card{padding:11px!important}
 .editor-view #editorMsg{font-size:12px!important;padding:10px 12px!important;margin:8px 13px 14px!important}
 .editor-view .bottom{
  position:relative!important;z-index:15!important;display:block!important;
  flex:0 0 auto!important;height:auto!important;min-height:62px!important;
  margin:7px 0 0!important;padding:7px 5px calc(7px + env(safe-area-inset-bottom))!important;
  border:1px solid #ebe2f6!important;border-radius:13px!important;background:rgba(255,255,255,.98)!important;
  box-shadow:0 -4px 21px #38205810!important
 }
 .editor-view .bottom-inner{
  display:flex!important;align-items:center!important;justify-content:stretch!important;gap:7px!important;
  min-height:41px!important;padding:0!important;width:100%!important;flex-wrap:nowrap!important
 }
 .editor-view .bottom-inner .editor-save-state{display:none!important}
 .editor-view .bottom-inner #previewBtn,.editor-view .bottom-inner #saveBtn{
  flex:1 1 0!important;min-width:0!important;width:auto!important;
  min-height:42px!important;height:42px!important;padding:8px 9px!important;
  border-radius:10px!important;font-size:12px!important;white-space:nowrap!important
 }
 .editor-view .bottom-inner #previewBtn{flex:.8 1 0!important;background:#f5f0fe!important;color:#6945b7!important}
 .editor-view .bottom-inner #saveBtn{flex:1.2 1 0!important;color:#fff!important}
 body.studio-keyboard-open .editor-view .bottom{display:none!important}
 body.studio-keyboard-open .editor-view .editor-grid{flex:1 1 auto!important}
 .editor-view .editor-preview{display:none!important}
 body.studio-preview-open .editor-view .editor-preview{
  display:flex!important;position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;
  z-index:130!important;border-radius:0!important;overflow:hidden!important
 }
 body.studio-preview-open .editor-view .preview-head{min-height:72px!important;padding:9px 11px!important}
 body.studio-preview-open .editor-view .preview-device-button{min-height:32px!important;font-size:10px!important}
 body.studio-preview-open .editor-view .preview-foot{min-height:35px!important}
 body.studio-preview-open .editor-view .preview-stage{min-height:0!important;flex:1 1 auto!important}
}
@media(max-width:365px){
 .editor-view .top-creator-row .heading{font-size:18px!important}
 .editor-view .mobile-nav-button{padding:7px 9px!important}
 .editor-view #section{padding:13px 10px 17px!important}
 .editor-view #section .photo-thumb{width:57px!important;height:57px!important;flex-basis:57px!important}
 .editor-view .bottom-inner #previewBtn,.editor-view .bottom-inner #saveBtn{font-size:11px!important}
}
@media (min-width:800px){
 .editor-view .clena-order-button:hover:not(:disabled){background:#f3eaff;border-color:#bca6e6}
}
@media(prefers-reduced-motion:reduce){
 .editor-view .mobile-nav-button,.editor-view .editor-workspace,.clena-draft-dialog *{transition:none!important}
}