/* Karoline Lash & Beauty — cabeçalho mobile integrado v45
 * Substitui o botão hambúrguer isolado por uma barra de navegação
 * com marca, página atual e avatar. Mantém 20px nas laterais.
 */
body.studio-admin .kr45-brand-chip,
body.studio-admin .kr45-mobile-logout{display:none}
@media (max-width:880px){
  body.studio-admin .kr4-shell > .kr4-main{
    padding:16px 20px 48px!important;
  }
  body.studio-admin .kr4-shell > .kr4-main > header.kr4-topbar{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    min-height:77px!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    position:relative;
    margin:0 0 19px!important;
    padding:11px 13px!important;
    background:#fff!important;
    border:1px solid #e1e7eb!important;
    border-radius:14px!important;
    box-shadow:0 7px 24px rgba(35,55,69,.075)!important;
  }
  body.studio-admin .kr4-shell > .kr4-main > header.kr4-topbar::after{
    content:"";
    position:absolute;
    bottom:0;
    left:73px;
    width:min(110px,36%);
    height:2px;
    background:linear-gradient(90deg,#c49a8a,rgba(196,154,138,0));
    border-radius:4px;
  }
  body.studio-admin .kr4-shell > .kr4-main #kr43-menu-toggle{
    flex:0 0 43px!important;
    display:grid!important;
    place-items:center!important;
    width:43px!important;
    min-width:43px!important;
    height:43px!important;
    min-height:43px!important;
    padding:0!important;
    color:#fff!important;
    background:#344b59!important;
    border:1px solid #344b59!important;
    border-radius:11px!important;
    box-shadow:0 3px 9px rgba(40,62,76,.17)!important;
  }
  body.studio-admin .kr4-shell > .kr4-main #kr43-menu-toggle:hover,
  body.studio-admin .kr4-shell > .kr4-main #kr43-menu-toggle:focus-visible{
    background:#263e4b!important;
    outline:2px solid #d2b5a8;
    outline-offset:2px;
  }
  body.studio-admin .kr4-shell > .kr4-main #kr43-menu-toggle svg{
    display:block!important;
    width:21px!important;
    height:21px!important;
  }
  body.studio-admin .kr4-shell > .kr4-main .kr43-mobile-head{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    min-width:0!important;
    padding:0!important;
    margin:0!important;
  }
  body.studio-admin .kr45-brand-chip{
    flex:0 0 36px;
    width:36px;
    height:36px;
    display:grid!important;
    place-items:center;
    border-radius:10px;
    background:linear-gradient(140deg,#f3e5df,#f9f2ef);
    border:1px solid #ebd4c8;
    color:#a27668;
    font:800 13px/1 Georgia,serif;
    letter-spacing:.05em;
  }
  body.studio-admin .kr45-brand-details{
    min-width:0;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center;
    gap:2px;
  }
  body.studio-admin .kr4-shell > .kr4-main .kr43-mobile-head strong{
    display:block;
    color:#344b59;
    font:780 13.5px/1.25 "Segoe UI",Arial,sans-serif!important;
    letter-spacing:-.025em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  body.studio-admin .kr4-shell > .kr4-main .kr43-mobile-head small{
    display:block;
    color:#9a7c72;
    font:720 10px/1.25 "Segoe UI",Arial,sans-serif!important;
    letter-spacing:.01em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  /* Only the discreet profile badge remains in the mobile header.
     Logout moves inside the drawer, so the brand isn't squeezed. */
  body.studio-admin .kr4-shell > .kr4-main > header.kr4-topbar .kr4-topbar-right{
    flex:0 0 auto!important;
    display:flex!important;
    align-items:center!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
  }
  body.studio-admin .kr4-shell > .kr4-main > header.kr4-topbar .kr4-top-search,
  body.studio-admin .kr4-shell > .kr4-main > header.kr4-topbar .kr4-top-action,
  body.studio-admin .kr4-shell > .kr4-main > header.kr4-topbar .kr4-logout,
  body.studio-admin .kr4-shell > .kr4-main > header.kr4-topbar .kr4-profile-name{
    display:none!important;
  }
  body.studio-admin .kr4-shell > .kr4-main > header.kr4-topbar .kr4-profile{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:37px!important;
    min-width:37px!important;
    height:37px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
  }
  body.studio-admin .kr4-shell > .kr4-main > header.kr4-topbar .kr4-avatar{
    display:grid!important;
    place-items:center!important;
    width:35px!important;
    height:35px!important;
    border-radius:50%!important;
    color:#ad8070!important;
    background:#f6e9e3!important;
    font-size:14px!important;
    font-weight:760!important;
  }
  body.studio-admin .kr4-shell > aside.kr4-sidebar .kr45-mobile-logout{
    display:flex!important;
    width:100%;
    margin:8px 0 12px;
    padding:13px 0 2px;
    border-top:1px solid #40505b;
  }
  body.studio-admin .kr45-mobile-logout button{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    width:100%!important;
    min-height:43px!important;
    color:#dde4e7!important;
    background:#2c3943!important;
    border:1px solid #43515a!important;
    border-radius:9px!important;
    padding:10px 13px!important;
    font:720 12px/1.3 "Segoe UI",Arial,sans-serif!important;
    cursor:pointer;
  }
  body.studio-admin .kr45-mobile-logout button svg{
    width:17px;
    height:17px;
    flex:0 0 17px;
  }
  body.studio-admin .kr45-mobile-logout button:hover{
    background:#3b4852!important;
  }
}
@media (max-width:370px){
  body.studio-admin .kr4-shell > .kr4-main > header.kr4-topbar{
    padding:10px 11px!important;
    gap:8px!important;
  }
  body.studio-admin .kr45-brand-chip{
    width:31px;height:31px;flex-basis:31px;font-size:12px;
  }
  body.studio-admin .kr4-shell > .kr4-main .kr43-mobile-head{gap:8px!important}
  body.studio-admin .kr4-shell > .kr4-main .kr43-mobile-head strong{font-size:12.5px!important}
  body.studio-admin .kr4-shell > .kr4-main .kr43-mobile-head small{font-size:9.5px!important}
}
