/* Reserve extra space when controls wrap while preserving the existing main offsets. */
.app-header {
  position: sticky;
  height: auto;
  min-height: 72px;
  margin-bottom: -72px;
  padding: 12px clamp(12px, 2vw, 42px);
  gap: 12px 24px;
  flex-wrap: wrap;
}

.app-header .brand {
  flex: 0 0 auto;
  width: auto;
}

.app-header .brand-mark { flex-shrink: 0; }

.app-header .header-meta {
  flex: 0 1 auto;
  max-width: 100%;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
}

.app-header .google-auth {
  max-width: 100%;
  height: auto;
  min-height: 34px;
  overflow: visible;
}

.app-header .verified { white-space: nowrap; }

@media (max-width: 700px) {
  .app-header {
    min-height: 62px;
    margin-bottom: -62px;
    gap: 8px 12px;
  }

  .app-header .header-meta {
    flex: 1 1 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .app-header .brand > span:last-child,
  .app-header .brand b { display: inline; }

  .app-header .verified { display: flex; }
}
