/* Highest-priority logo presentation; loaded AFTER the compact sidebar stylesheet. */
.sidebar .brand {
  flex: 0 0 auto;
  min-height: 150px !important;
  height: 150px !important;
  width: 100%;
  padding: 4px 1px 10px !important;
  margin: 0 0 2px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  border-bottom: 1px solid #8f65b135;
}
.sidebar .brand img {
  display: block;
  width: min(100%, 207px) !important;
  height: 144px !important;
  max-width: 207px !important;
  max-height: none !important;
  object-fit: contain !important;
  image-rendering: auto;
  filter: drop-shadow(0 3px 12px rgba(160, 81, 251, 0.22));
}
/* Fit short laptop screens without shrinking the artwork back to a favicon. */
@media (min-width: 761px) and (max-height: 760px) {
  .sidebar .brand { min-height: 120px !important; height: 120px !important; padding: 2px 1px 6px !important; }
  .sidebar .brand img { width: min(100%, 168px) !important; height: 112px !important; }
}
@media (max-width: 760px) {
  .sidebar .brand { min-height: 148px !important; height: 148px !important; }
  .sidebar .brand img { width: min(100%, 205px) !important; height: 142px !important; }
}
