/* Shared client identity; crop transparent padding in CSS without altering artwork. */
.zv-client-logo-frame{position:relative;display:inline-block;width:150px;height:37.5px;overflow:hidden;vertical-align:middle;flex-shrink:0;box-sizing:content-box}
.zv-client-logo-frame>img.zv-client-logo{position:absolute!important;left:-5.4622%!important;top:-6.7416%!important;width:112.0448%!important;height:112.3596%!important;max-width:none!important;max-height:none!important;object-fit:fill!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important}
.studio-logo .zv-client-logo-frame{width:112px;height:28px}
.footer-logo .zv-client-logo-frame{background:#fff;width:200px;height:50px}
:is(.zv-admin-logo,.zv-login-brand,.zv-logout-logo) .zv-client-logo-frame{background:#fff;width:180px;height:45px;border-radius:0}
@media(max-width:991.98px){
 header .main-menu{height:64px!important;min-height:64px!important;padding-block:0!important}
 header .main-menu .brand-logo .zv-client-logo-frame{width:110px;height:27.5px}
 header .main-menu .toggle-nav,header .main-menu .toggle-nav i,
 header .main-menu .menu-left>.navbar .bar-style,header .main-menu .menu-left>.navbar .bar-style i{color:#0758b8!important;opacity:1!important;filter:none!important}
 header .main-menu .toggle-nav i,header .main-menu .menu-left>.navbar .bar-style i{font-size:28px!important}
}
@media(max-width:767px){
 html.editor-document .studio-app.editor-shell main.canvas-area.studio-workspace>#contextToolbar .context-more{display:flex!important;align-items:center!important;visibility:visible!important;opacity:1!important;flex:0 0 42px!important;width:42px!important;position:relative!important;overflow:visible!important}
 html.editor-document .studio-app.editor-shell main.canvas-area.studio-workspace>#contextToolbar #arrangeMenuBtn{display:inline-flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important}
 html.editor-document .studio-app.editor-shell main.canvas-area.studio-workspace #arrangeMenu{top:156px!important;bottom:64px!important;max-height:calc(100dvh - 220px)!important;z-index:600!important}
 html.editor-document .studio-app.editor-shell #arrangeMenu :is(#opacity,#rotation){display:inline-block!important;width:96px!important;min-width:70px!important;height:20px!important}
}

/* The sidebar's full brand area provides contrast; the client artwork stays transparent. */
body.zv-mk-admin .zv-sidebar .main-header-left{background:#f2effb!important;border-bottom:1px solid #ded8f1}
body.zv-mk-admin .zv-sidebar .zv-admin-logo,
body.zv-mk-admin .zv-sidebar .zv-admin-logo .zv-client-logo-frame{background:transparent!important;box-shadow:none!important}
@media(max-width:767px){
 /* Keep the native menu above rulers, within the same scrolling tool row. */
 html.editor-document .studio-app.editor-shell main.canvas-area.studio-workspace>#contextToolbar{z-index:100!important}
 html.editor-document .studio-app.editor-shell main.canvas-area.studio-workspace>#contextToolbar .context-controls>.context-more{flex:0 0 42px!important;margin:0!important;padding:0!important;align-self:center!important}
 html.editor-document .studio-app.editor-shell main.canvas-area.studio-workspace #arrangeMenu{
  position:fixed!important;left:8px!important;right:8px!important;width:auto!important;max-width:none!important;
  top:156px!important;bottom:64px!important;max-height:calc(100dvh - 220px)!important;
  transform:none!important;opacity:1!important;z-index:1000!important;padding:12px!important;box-sizing:border-box!important;
 }
}

/* Reuse native element actions beside text editing, across viewport sizes. */
html.editor-document .studio-app #contextToolbar .zv-toolbar-element-controls{display:flex!important;align-items:center!important;gap:5px!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;height:36px!important}
html.editor-document .studio-app #contextToolbar label.toolbar-colour{height:34px!important;min-height:34px!important;max-height:34px!important;width:36px!important;min-width:36px!important;margin:0!important;align-self:center!important;vertical-align:middle!important;box-sizing:border-box!important}
html.editor-document .studio-app .panel-search,
html.editor-document .studio-app .panel-search:focus-within{outline:none!important;box-shadow:none!important}
html.editor-document .studio-app .panel-search input,
html.editor-document .studio-app input[type=search],
html.editor-document .studio-app input[placeholder^="Search"]{outline:none!important;box-shadow:none!important}
