.brand-logo-frame {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: var(--paper);
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.module-tabs { margin: 0 0 16px; }
.mobile-more { display: none; }
#mobile-brand-header { display: none; }

@media (max-width: 760px) {
  .sidebar { display: none !important; }
  .brand-logo-frame { flex-basis: 44px; width: 44px; height: 44px; }
  .brand-logo { width: 44px; max-width: 48px; height: auto; object-fit: contain; }
  #mobile-brand-header { display: flex; align-items: center; gap: 9px; height: 60px; padding: 8px 14px; background: var(--charcoal); color: #f8f5ec; font-size: 14px; font-weight: 750; }
  #mobile-brand-header img { display: block; flex: 0 0 auto; width: 44px; max-width: 48px; height: auto; object-fit: contain; }
  .mobile-nav { grid-template-columns: repeat(5, 1fr); }
  .mobile-nav button { min-width: 0; padding: 2px 0; }
  .mobile-nav button b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-more { position: fixed; right: 10px; bottom: 59px; left: 10px; z-index: 5; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgba(251,250,246,.98); box-shadow: var(--shadow); }
  .mobile-more button { min-height: 42px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--charcoal); font-weight: 700; text-align: left; }
  .mobile-more small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 500; }
}
