/* Учебка CRM — instructor mobile sidebar logo geometry, 05.11.2026.
   Scope is deliberately restricted to instructor sidebar and mobile widths.
   The official SVG is unchanged; intrinsic aspect ratio is preserved. */
@media (max-width: 1023.98px) {
  [data-role-shell="instructor"] aside > div:first-child {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 18px !important;
    padding-bottom: 14px !important;
    min-width: 0;
  }
  [data-role-shell="instructor"] aside > div:first-child > div {
    min-width: 0;
    max-width: 100%;
  }
  [data-role-shell="instructor"] aside > div:first-child a[aria-label="Учебка — на главную кабинета"] {
    display: block;
    min-width: 0;
    width: 100%;
    max-width: 208px;
    height: auto;
    overflow: hidden;
    flex-shrink: 1;
  }
  [data-role-shell="instructor"] aside > div:first-child .ui-brand-lockup {
    display: block;
    width: 100%;
    max-width: 208px;
    min-width: 0;
    height: auto !important;
    aspect-ratio: 1180 / 340;
    overflow: hidden;
    flex-shrink: 1;
  }
  [data-role-shell="instructor"] aside > div:first-child .ui-brand-lockup img.ui-brand-on-dark,
  [data-role-shell="instructor"] aside > div:first-child .ui-brand-lockup img.ui-brand-on-light {
    display: block;
    position: absolute;
    inset: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center center;
  }
}
