/* Market-only keyboard entry: reserve space while visible, never cover the logo. */
a.skip {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 30;
  width: max-content;
  max-width: calc(100% - 48px);
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--pulse-line);
  border-radius: 8px;
  background: var(--pulse-paper);
  color: var(--pulse-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none;
}
a.skip:focus {
  position: relative;
  display: flex;
  align-items: center;
  top: auto;
  left: auto;
  margin: 12px max(24px, calc((100vw - 1440px) / 2));
  outline: 2px solid var(--pulse-green);
  outline-offset: 3px;
}
/* Focus the content heading, not a page-sized container. Other controls retain their rings. */
main h1.market-content-focus {
  width: fit-content;
  max-width: 100%;
  border-radius: 6px;
}
main h1.market-content-focus:focus {
  outline: 2px solid var(--pulse-green);
  outline-offset: 6px;
}

/* Only the logo is the home link; the section label is ordinary text. */
.pulse-brand { display: flex; align-items: center; gap: 20px; }
.pulse-brand-label { font-size: 13px; border-left: 1px solid var(--pulse-line); padding-left: 20px; }
.pulse-header .pulse-home { display: flex; width: max-content; align-items: center; min-height: 44px; border-radius: 6px; }
.pulse-header .pulse-home:focus-visible { outline: 2px solid var(--pulse-green); outline-offset: 3px; }
@media (max-width: 650px) {
  .pulse-brand { display: block; }
  .pulse-brand-label { display: block; border: 0; margin-top: 6px; padding: 0; font-size: 11px; }
}
@media (forced-colors: active) {
  a.skip:focus, main h1.market-content-focus:focus, .pulse-header .pulse-home:focus-visible { outline-color: Highlight; }
}
