/* STLBEAST Hub V786 — narrow mobile logo safety correction
   Scope: H722 public Hub header only. No footer, page content, tools, or business logic.
*/

@media (max-width: 420px) {
  .h722-header .h722-head {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 8px 6px;
    padding-inline: 8px;
  }

  .h722-header .h722-brand {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 5px;
    justify-self: start;
    overflow: hidden;
  }

  .h722-header .h722-brand img {
    width: 40px;
    height: 40px;
    min-width: 40px;
    object-fit: contain;
    object-position: center;
  }

  .h722-header .h722-brand > span {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .h722-header .h722-brand strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    font-size: 15px;
    line-height: 1;
    letter-spacing: -0.01em;
  }

  .h722-header .h722-brand small {
    display: none;
  }

  .h722-header .h722-actions {
    min-width: max-content;
    gap: 4px;
  }

  .h722-header .h722-action,
  .h722-header .h722-menu-toggle {
    width: 34px;
    height: 36px;
    min-height: 36px;
    padding: 0;
  }

  .h722-header .h722-menu-toggle i {
    width: 17px;
  }
}
