.sorted-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  height: auto !important;
  min-height: 100%;
}

body {
  height: auto !important;
  min-height: 100vh;
  overflow-y: auto !important;
}

.sorted-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100000;
  padding: 10px 14px;
  color: #fff;
  background: #0b0c0d;
  border: 1px solid rgba(255,255,255,.34);
  font: 600 12px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  transform: translateY(-160%);
  transition: transform .16s ease;
}

.sorted-skip-link:focus {
  transform: translateY(0);
}

.sorted-locale-switch {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 99999;
  min-height: 36px;
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 3px;
  background: rgba(8,9,10,.92);
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  font: 700 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
}

.sorted-locale-switch button {
  min-width: 40px;
  min-height: 36px;
  padding: 0 9px;
  display: grid;
  place-items: center;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  color: #a9adb2;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.sorted-locale-switch button:last-child {
  border-right: 0;
}

.sorted-locale-switch button[aria-pressed="true"] {
  color: #0b0c0d;
  background: #f4f3ef;
}

.sorted-locale-switch button:hover:not([aria-pressed="true"]) {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.sorted-collection-nav {
  width: min(calc(100% - 40px), 980px);
  box-sizing: border-box;
  margin: 0 auto 24px;
  padding: 17px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px 28px;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 8px;
  background: rgba(10,13,20,.72);
  color: #e9edf2;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.sorted-collection-nav__brand {
  color: inherit;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
}

.sorted-collection-nav__links {
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.sorted-collection-nav__links a {
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  color: #aeb6c0;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 3px;
  text-decoration: none;
  font-size: 9px;
  letter-spacing: .05em;
  white-space: nowrap;
}

.sorted-collection-nav__links a:hover,
.sorted-collection-nav__links a[aria-current="page"] {
  color: #fff;
  border-color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.06);
}

.sorted-local-note {
  width: min(calc(100% - 40px), 980px);
  box-sizing: border-box;
  margin: 0 auto 26px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-left: 2px solid currentColor;
  color: #9fa8b3;
  background: rgba(255,255,255,.025);
  font: 11px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.sorted-local-note::before {
  content: "LOCAL";
  flex: none;
  padding: 3px 6px;
  color: #0b0c0d;
  background: #dfe5e8;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
}

.sorted-usage {
  max-width: 980px;
  margin: 22px auto 0;
  padding: 18px;
  border-top: 1px solid rgba(148,163,184,.22);
  color: #8f98a4;
  font: 10px/1.75 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-align: left;
}

.sorted-usage strong {
  color: #d6dce2;
  font-weight: 700;
}

.tool-grid,
.series-complete-banner,
.series-nav,
.upgrade-box,
.pro-upsell {
  display: none !important;
}

body header {
  padding-right: 104px !important;
}

.card-body label > span:not(.req):not(.required) {
  display: block;
  margin-top: 4px;
  line-height: 1.45;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #8fb6c8 !important;
  outline-offset: 3px !important;
}

@media (max-width: 720px) {
  .sorted-locale-switch {
    top: 8px;
    right: 8px;
  }

  .sorted-collection-nav {
    grid-template-columns: 1fr;
  }

  .sorted-collection-nav__links {
    justify-content: flex-start;
  }

  .sorted-local-note {
    align-items: flex-start;
  }

  body header {
    padding-right: 96px !important;
  }

  body header .header-meta {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
