/* Scanner action restored in authenticated ALLTRACE BY CRM header.
   Keeps the documented 60px single-row mobile geometry. */
@media(max-width:767.98px){
  [data-admin-shell] > header .alltrace-admin-scanner{
    box-sizing:border-box;
    display:grid;
    place-items:center;
    flex:0 0 33px;
    width:33px !important;
    min-width:33px;
    max-width:33px;
    height:34px !important;
    min-height:34px;
    padding:3px !important;
    border-radius:9px;
    color:var(--ui-text,inherit);
  }
  [data-admin-shell] > header .alltrace-admin-scanner .material-symbols-outlined{
    font-size:22px !important;
    line-height:1 !important;
  }
  [data-admin-shell] > header .alltrace-admin-scanner:focus-visible{
    outline:2px solid var(--ui-accent,#68c94b);
    outline-offset:2px;
  }
}
@media(max-width:375.98px){
  /* Keep scan, chat, notifications, and account reachable even for
     a user with multiple roles. Theme remains available on wide screens. */
  [data-admin-shell] > header #alltrace-theme-control{display:none !important;}
}
@media(max-width:359.98px){
  [data-admin-shell] > header .alltrace-admin-scanner{
    flex-basis:29px; width:29px !important;min-width:29px;max-width:29px;
  }
  [data-admin-shell] > header .alltrace-admin-scanner .material-symbols-outlined{
    font-size:20px !important;
  }
}
