/* Product identity only. School identity and uploaded emblems are independent.
   Neutral white cards remain for login, parent and student surfaces; school-custom
   sidebars use the separate transparent contrast-aware lockup. */
html body .attendigo-brand:not(#sidebar > .attendigo-brand),
html body.login-page .mobile-brand .attendigo-brand,
html body.login-page .login-art .attendigo-brand,
html body .student-site-header .attendigo-brand {
  background:#fff!important;
  border:1px solid #e5e9f0!important;
  border-radius:12px!important;
  padding:12px!important;
  min-height:0!important;
  max-height:none!important;
  height:auto!important;
  box-shadow:none!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
html body .attendigo-brand:not(#sidebar > .attendigo-brand) .attendigo-logo {
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:1800 / 430;
  object-fit:contain!important;
  filter:none!important;
}
html body.login-page .login-art .attendigo-brand { width:310px;max-width:100%; }
html[data-offline-sheet] header > .attendigo-brand { width:260px;margin-bottom:14px; }
html body > header > .attendigo-brand { width:220px;max-width:100%;flex-shrink:1; }
@media(min-width:861px) {
  html body .portal-layout.sidebar-collapsed #sidebar.sidebar > .attendigo-brand {
    width:48px!important;height:48px!important;min-height:48px!important;
    padding:0!important;
    background:transparent url('/assets/attendigo-symbol-transparent.svg?v=1') center/contain no-repeat!important;
  }
  html body .portal-layout.sidebar-collapsed #sidebar.sidebar > .attendigo-brand .attendigo-logo { display:none!important; }
}
@media(max-width:860px) {
  html body #sidebar.sidebar > .attendigo-brand { width:calc(100% - 48px)!important;max-width:260px!important; }
}
@media(max-width:480px) {
  html body > header > .attendigo-brand { width:160px;padding:8px!important; }
}
