/* Screen shell only. Keep the fixed desktop header/sidebar/content offsets together. */
@media screen {
  #businessApp, #superApp {--myprint-header-height:calc(60px + env(safe-area-inset-top,0px))}
  #businessApp > .topbar, #superApp > .topbar {
    box-sizing:border-box!important;display:flex!important;align-items:center!important;
    flex-wrap:nowrap!important;gap:8px!important;
    height:var(--myprint-header-height)!important;min-height:var(--myprint-header-height)!important;
    padding:calc(9px + env(safe-area-inset-top,0px)) 12px 9px!important;
  }
  #businessApp > .topbar > .business-identity,
  #superApp > .topbar > .super-header-identity {flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important;overflow:hidden}
  #businessApp > .topbar .business-title,
  #superApp > .topbar .brand {
    display:block!important;max-width:100%!important;margin:0!important;
    font-size:16px!important;line-height:1.8!important;white-space:nowrap!important;
    overflow:hidden!important;text-overflow:ellipsis!important;
  }
  #businessApp > .topbar .business-app-label,
  #superApp > .topbar .sub,
  #businessApp > .topbar > .spacer,
  #superApp > .topbar > .spacer {display:none!important}
  #businessApp > .topbar > .topbar-brand-logo,
  #superApp > .topbar > .topbar-brand-logo {
    box-sizing:border-box!important;flex:0 0 36px!important;width:36px!important;height:36px!important;
  }
  #businessApp > .topbar > #menuBtn.menu-btn {
    box-sizing:border-box!important;flex:0 0 40px!important;width:40px!important;
    height:40px!important;min-height:40px!important;line-height:1!important;
  }
  #businessApp > .topbar > .branch-select,
  #businessApp > .topbar > .pill,
  #businessApp > .topbar > .btn,
  #superApp > .topbar > .btn {
    box-sizing:border-box!important;height:40px!important;min-height:40px!important;
    padding:6px 10px!important;font-size:14px!important;line-height:1.8!important;
    white-space:nowrap;flex-shrink:0;
  }
  #businessApp > .topbar > .pill {display:inline-flex;align-items:center;max-width:220px;overflow:hidden;text-overflow:ellipsis}
  #businessApp > .topbar > .branch-select {min-width:100px!important;max-width:200px!important}
}
@media screen and (min-width:1025px) {
  #businessApp > .layout {padding-top:var(--myprint-header-height)!important}
  #businessApp > .layout > #sidebar {
    top:var(--myprint-header-height)!important;
    height:calc(100dvh - var(--myprint-header-height))!important;
    max-height:calc(100dvh - var(--myprint-header-height))!important;
  }
}
@media screen and (min-width:761px) and (max-width:1024px) {
  #businessApp > .layout > #sidebar {
    top:var(--myprint-header-height)!important;
    height:calc(100dvh - var(--myprint-header-height))!important;
  }
  #businessApp > .topbar > .pill {display:none!important}
}
@media screen and (max-width:760px) {
  #businessApp > .topbar, #superApp > .topbar {gap:7px!important;padding-left:10px!important;padding-right:10px!important}
  #businessApp > .layout, #businessApp > .layout > #content {min-height:calc(100dvh - var(--myprint-header-height))!important}
  #businessApp > .topbar > .pill {display:none!important}
}
