a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(0, 88, 190, .28);
  outline-offset: 3px;
}

.nav-actions {
  justify-self: end;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--outline-soft);
  border-radius: 6px;
  background: var(--surface);
  color: var(--primary);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.no-results .btn {
  margin-top: 16px;
}

.result-content[data-stale="true"] .result-hero {
  box-shadow: inset 0 0 0 2px rgba(138, 90, 0, .28);
}

@media (max-width: 640px) {
  body.nav-open { overflow: hidden; }
  .nav-shell {
    position: relative;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .nav-shell > :last-child {
    display: block;
  }
  .nav-toggle {
    display: grid;
  }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: -24px;
    left: -24px;
    display: none;
    max-height: calc(100vh - 73px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    border-bottom: 1px solid var(--outline-soft);
    background: var(--surface);
    box-shadow: 0 14px 28px rgba(5, 22, 43, .14);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    width: 100%;
    padding: 15px 24px;
    border-bottom: 1px solid var(--surface-container);
    font-size: 14px;
  }
  .site-nav a[aria-current="page"]::after {
    top: 0;
    right: auto;
    bottom: 0;
    width: 3px;
    height: auto;
  }
  .catalog-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
