/* Controls for small screens, loaded after app.css and brand.css. */
.mobile-menu-toggle{display:none}
@media(min-width:801px){aside{overflow-y:auto}}
@media(max-width:800px){
  aside{position:sticky;top:0;z-index:20;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 14px;box-shadow:0 2px 10px #11182722}
  aside .brandmark{margin:0 auto 0 0}
  aside .brandmark img{width:70px}
  .mobile-menu-toggle{display:block;min-height:44px;padding:9px 14px;border:1px solid #64748b;background:#1f2937;color:white;font-weight:700;cursor:pointer}
  #app-nav{display:none;flex-basis:100%;max-height:calc(100dvh - 100px);overflow-y:auto;padding:6px 0 12px}
  aside.menu-open #app-nav{display:block}
  #app-nav a{display:block;padding:12px;min-height:44px}
  #app-nav form button{min-height:44px;min-width:80px}
  header{height:auto;min-height:64px;padding:12px 16px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;overflow-wrap:anywhere}
  section{padding:16px 12px 28px}
  section h1{font-size:26px}
  section .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  section .cards div{min-width:0;padding:14px}
  section .cards b{font-size:21px}
  section .panel{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:14px}
  section .panel:has(table)::before{content:'Rrëshqit tabelën anash për të parë kolonat e tjera →';display:block;color:#475569;font-size:13px;margin:0 0 10px}
  section table{min-width:640px}
  section select,section textarea,section input:not([type=checkbox]):not([type=radio]){max-width:100%;min-height:44px}
  section input[type=file]{width:100%;height:auto}
  section .form input:not([type=checkbox]):not([type=radio]),section .form select,section .form textarea{width:100%}
  section button{min-height:44px}
  .login-main{margin:24px auto !important;max-width:460px !important;padding:0 14px}
  .login-main input,.login-main button{min-height:48px;width:100%}
}
@media(max-width:360px){section .cards{grid-template-columns:1fr}}
