/* Customer-experience layer. Color, type, and component tokens stay in inbox.css. */

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 80;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  box-shadow: var(--focus);
}

a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

.page-header h1,
.topbar-title,
.login-title {
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .page-header .header-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .topbar-wallet {
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

html[data-reduce-motion="on"] .skip-link {
  transition: none;
}
