@media (max-width: 760px) {
  .m-brand {
    width: 110px;
    height: 38px;
    transform: none;
  }

  .m-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .m-page[data-mobile-view="create"] .m-mode-rail {
    margin-top: 10px;
    margin-bottom: 16px;
  }

  /* Half-height rails keep the text controls quiet without losing feedback. */
  .m-field-scrollbar,
  .m-description-scrollbar {
    top: 13px;
    bottom: auto;
    height: calc((100% - 38px) / 2);
  }

  .m-field-tile > small { right: 12px !important; }

  .m-page[data-mobile-view="profile"] .m-scroll-content {
    padding: 10px 8px 30px;
  }

  .m-page[data-mobile-view="profile"] .m-profile-hero {
    overflow: hidden;
  }
}

@media (min-width: 1061px) {
  .sidebar-brand-row .sidebar-brand-full {
    width: 138px;
    max-height: 44px;
    object-fit: contain;
    object-position: left center;
  }

  .sidebar-brand-row .sidebar-compact-mark {
    object-fit: contain;
  }
}
