/* Shared behavior-only layer for non-production Brand 2026 preview shells. */
[data-wl-preview-shell] [data-wl-preview-menu] > summary:focus-visible,
[data-wl-preview-shell] [data-wl-preview-header] a:focus-visible {
  outline: 3px solid var(--wl-color-lime-500);
  outline-offset: 3px;
}

@media (max-width: 48rem) {
  [data-wl-preview-shell] [data-wl-preview-header-row] {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  [data-wl-preview-shell] [data-wl-preview-primary-nav] {
    display: none;
  }

  [data-wl-preview-shell] [data-wl-preview-utility-nav] {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: var(--wl-sem-space-inline);
  }

  [data-wl-preview-shell] [data-wl-preview-utility-nav] :where(a, span),
  [data-wl-preview-shell] [data-wl-preview-utility-nav] a:first-child {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding-inline: var(--wl-sem-space-inline);
    font-size: var(--wl-sem-type-small-size);
    white-space: nowrap;
  }

  [data-wl-preview-shell] [data-wl-preview-utility-nav] :where(a, span):last-child {
    font-size: 0;
  }

  [data-wl-preview-shell] [data-wl-preview-utility-nav] :where(a, span):last-child::after {
    content: "MY";
    font-size: var(--wl-sem-type-small-size);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-wl-preview-shell] [data-wl-preview-header] *,
  [data-wl-preview-shell] [data-wl-preview-menu] * {
    scroll-behavior: auto;
  }
}
