/* EDV-Schr@mek – Mobile Header Fix */
@media(max-width:640px){
  .edv-site-topbar{
    display:none!important;
  }

  .edv-site-header{
    padding-top:max(0px,env(safe-area-inset-top))!important;
  }

  .edv-header-row{
    min-height:78px!important;
    align-items:center!important;
  }

  .edv-brand{
    min-width:0!important;
  }

  .edv-logo-img{
    width:min(205px,60vw)!important;
    height:auto!important;
  }

  .edv-menu-toggle{
    flex:0 0 auto!important;
    margin-left:12px!important;
  }

  .edv-mobile-menu{
    padding-bottom:calc(18px + env(safe-area-inset-bottom))!important;
  }

  .edv-mobile-quicklinks{
    display:grid!important;
    gap:8px!important;
    margin-top:14px!important;
    padding-top:14px!important;
    border-top:1px solid var(--edv-border)!important;
  }

  .edv-mobile-quicklinks > a,
  .edv-mobile-quicklinks > button{
    display:flex!important;
    align-items:center!important;
    min-height:44px!important;
    width:100%!important;
    padding:10px 12px!important;
    border:1px solid var(--edv-border)!important;
    border-radius:8px!important;
    background:var(--edv-card)!important;
    color:var(--edv-text)!important;
    -webkit-text-fill-color:var(--edv-text)!important;
    text-decoration:none!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1.25!important;
    box-sizing:border-box!important;
  }

  .edv-mobile-quicklinks .edv-theme-toggle{
    justify-content:flex-start!important;
    gap:8px!important;
    cursor:pointer!important;
  }

  .edv-mobile-quicklinks .edv-theme-toggle-label{
    display:inline!important;
    color:inherit!important;
    font-size:14px!important;
    font-weight:700!important;
  }

  .edv-mobile-quicklinks .edv-theme-toggle-icon{
    color:var(--edv-accent)!important;
    font-size:18px!important;
  }
}
