.support-library {
  --ink: #202826;
  --muted: #68736f;
  --blue: var(--public-action);
  --line: var(--public-rule);
  --paper: #fff;
  --pale: var(--public-canvas);

  --text-body: calc(1rem * var(--public-desktop-density, 1));
  --support-hero-size: clamp(14px, 2vw, 48px);
  --support-section-size: var(--mw-type-title);
  --support-category-size: 1.125rem;
  font-family: var(--mw-type-font);
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--ink);
  background: #ffffff;
}

.support-library * {
  box-sizing: border-box;
}

.support-library a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.support-library a:hover {
  color: var(--public-action-hover);
}

.support-library button, .support-library input {
  font: inherit;
}

.support-library button[hidden], .support-library [hidden] {
  display: none !important;
}

.support-library button {
  cursor: pointer;
}

.support-library :focus-visible {
  outline: 3px solid var(--public-action);
  outline-offset: 3px;
}

.support-library .shell {
  width: calc(100% - clamp(24px,3.2vw,80px));
  margin-inline: auto;
}

.support-library .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.support-library .hero {
  background: var(--public-soft);
  border-bottom: 1px solid var(--public-rule);
}

.support-library .hero-inner {
  padding-block: 12px;
}

body.site-light main#main .support-library .hero h1 {
  color: var(--ink);
  font-size: var(--support-hero-size);
  font-weight: 720;
  line-height: 1.16;
  letter-spacing: -.025em;
  white-space: nowrap;
  margin: 0;
}

.support-library .search {
  width: 100%;
  border: 1px solid #c9c5bd;
  background: #fff;
  border-radius: 8px;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px 0 12px;
}

.support-library .search:focus-within {
  border-color: var(--public-action);
  box-shadow: 0 0 0 2px rgb(45 98 149 / 14%);
}

.support-library .search input {
  background: transparent;
  color: var(--ink);
  border: 0;
  min-width: 0;
  width: 100%;
  outline: 0;
  padding-block: 13px;
}

.support-library .search input::-webkit-search-cancel-button {
  display: none;
}

.support-library .search-icon {
  width: 13px;
  height: 13px;
  border: 2px solid #53605c;
  border-radius: 50%;
  position: relative;
  flex: none;
  margin-right: 3px;
}

.support-library .search-icon:after {
  content: "";
  width: 6px;
  height: 2px;
  background: #53605c;
  position: absolute;
  right: -5px;
  bottom: -3px;
  transform: rotate(45deg);
}

.support-library kbd {
  flex: none;
  background: var(--public-canvas);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
}

.support-library .search button {
  color: var(--blue);
  background: var(--public-soft);
  border: 0;
  border-radius: 4px;
  padding: 5px 9px;
}

.support-library .library {
  width: calc(100% - clamp(24px,3.2vw,80px));
  display: grid;
  grid-template-columns: 236px minmax(0,1fr);
  gap: 12px 28px;
  margin-top: 12px;
  margin-bottom: 62px;
  align-content: start;
  align-items: start;
}

.support-library .library > .search {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0;
}

.support-library .support-navigation {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.support-library .content {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

.support-library .sidebar h2 {
  margin: 0 0 10px 11px;
}

body.site-light main#main .support-library :is(#category-label, #selection-title) {
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -.02em;
}

body.site-light main#main .support-library #category-label {
  font-size: var(--support-category-size);
  font-weight: 600;
}

body.site-light main#main .support-library #selection-title {
  font-size: var(--support-section-size);
  font-weight: 600;
  letter-spacing: -.4px;
  color: var(--public-ink);
}

.support-library .sidebar nav {
  display: grid;
  gap: 3px;
}

.support-library .sidebar a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 10px;
  border-left: 3px solid transparent;
  border-radius: 4px;
  color: var(--muted);
  text-decoration: none;
  font-size: .875rem;
  line-height: 1.25;
}

.support-library .sidebar a:hover, .support-library .sidebar a[aria-current="location"] {
  background: var(--public-soft);
  color: #303a36;
  border-left-color: var(--public-action);
}

.support-library .library-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.support-library .library-title h2 {
  margin: 0;
}

.support-library .library-title span {
  color: var(--muted);
  font-size: .87rem;
}

.support-library .category {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 16px;
}

.support-library .category-header {
  padding: 16px 19px;
  background: var(--public-canvas);
  border-bottom: 1px solid var(--line);
}

.support-library .category-header h3 {
  font-size: 1.13rem;
  margin: 0;
  letter-spacing: -.01em;
}

.support-library .category-header p {
  margin: 4px 0 0;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.45;
}

.support-library .topic+.topic {
  border-top: 1px solid var(--public-soft);
}

.support-library .topic summary {
  display: flex;
  list-style: none;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 11px 17px 11px 19px;
  min-height: 43px;
  font-weight: 600;
  font-size: .94rem;
}

.support-library .topic summary::-webkit-details-marker {
  display: none;
}

.support-library .topic summary:focus-visible {
  outline-offset: -3px;
}

.support-library .topic summary:hover {
  background: #ffffff;
}

.support-library .topic summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid #53605c;
  border-bottom: 2px solid #53605c;
  transform: rotate(45deg);
  flex: none;
  margin: -3px 3px 0 0;
}

.support-library .topic[open] summary {
  color: #154e85;
  background: #ffffff;
}

.support-library .topic[open] summary::after {
  transform: rotate(225deg);
  margin-top: 5px;
}

.support-library .topic:target {
  outline: 2px solid #3679b3;
  outline-offset: -2px;
}

.support-library .topic-body {
  padding: 0 19px 14px;
  font-size:calc(15px * var(--public-desktop-density, 1));
  line-height: 1.5;
  color: var(--public-ink);
  max-width: 75ch;
}

.support-library .topic-body p {
  margin: 10px 0;
  color: var(--public-body);
  font-size:calc(15px * var(--public-desktop-density, 1));
  line-height: 1.5;
  font-weight: 400;
}

.support-library .topic-body a {
  display: inline-block;
}

.support-library .topic-body figure {
  margin: 12px 0;
}

.support-library .topic-body figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.support-library .topic-body figcaption {
  color: var(--public-body);
  font-size:calc(15px * var(--public-desktop-density, 1));
  line-height: 1.5;
  font-weight: 400;
  margin-top: 4px;
}

.support-library .needs {
  border-left: 3px solid #8a5837;
  background: var(--public-warm);
  color: #6f4c32;
  padding: 9px 12px;
}

.support-library .needs strong {
  display: block;
}

.support-library .empty {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.support-library .support-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 19px;
  background: var(--public-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .93rem;
}

@media (max-width:900px) {
  .support-library .library {
    grid-template-columns: 208px minmax(0,1fr);
    column-gap: 22px;
  }
  .support-library .shell {
    width: calc(100% - 40px);
  }
}

@media (max-width:650px) {
  .support-library .shell {
    width: calc(100% - 28px);
  }
  .support-library .hero-inner {
    padding-block: 8px;
  }
  .support-library {
    --support-section-size: 1.5rem;
  }
  .support-library .search {
    margin-bottom: 8px;
  }
  .support-library .support-navigation {
    display: contents;
  }
  .support-library .library {
    display: block;
    margin-top: 12px;
    margin-bottom: 31px;
  }
  .support-library .sidebar {
    position: static;
    margin-bottom: 23px;
  }
  .support-library .sidebar h2 {
    margin-left: 0;
  }
  .support-library .sidebar nav {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .support-library .sidebar a {
    background: var(--public-canvas);
    min-height: 44px;
  }
  .support-library .topic summary {
    min-height: 44px;
  }
}

.support-library .existing-support-heading {
  border-top: 1px solid var(--line);
  margin: 12px 10px 4px;
  padding-top: 12px;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
}

.support-library .nav-category {
  display: flex;
  align-items: stretch;
}

.support-library .nav-category>a {
  flex: 1;
  min-width: 0;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
}

.support-library .nav-icon-symbols {
  position: absolute;
  pointer-events: none;
}

.support-library .nav-icon {
  width: 15px;
  height: 15px;
  flex: none;
  fill: currentColor;
  color: #53605c;
}

.support-library .nav-category .nav-icon {
  width: 19px;
  height: 19px;
  color: var(--blue);
}

.support-library .nav-topics a:hover .nav-icon, .support-library .nav-topics a[aria-current="location"] .nav-icon {
  color: var(--blue);
}

.support-library .nav-toggle {
  width: 34px;
  min-height: 40px;
  flex: none;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--blue);
}

.support-library .nav-toggle:hover {
  background: var(--public-soft);
}

.support-library .nav-toggle::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.support-library .nav-toggle[aria-expanded="true"]::after {
  transform: rotate(45deg) translateY(-2px);
}

.support-library .nav-topics {
  list-style: none;
  margin: 2px 0 6px 13px;
  padding: 0 0 0 5px;
  border-left: 1px solid var(--line);
}

.support-library .sidebar .nav-topics a {
  font-size: .875rem;
  min-height: 34px;
}

.support-library .sidebar nav {
  overflow-wrap: anywhere;
}

.support-library .topic-category {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: .88rem;
  line-height: 1.5;
}

.support-library .topic-list {
  list-style: none;
  margin-top: 0;
  padding: 0;
}

.support-library .topic-list li+li {
  border-top: 1px solid var(--public-soft);
}

.support-library .topic-list a {
  display: block;
  padding: 12px 38px 12px 18px;
  min-height: 45px;
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.support-library .topic-list a:hover {
  background: var(--public-canvas);
  color: var(--blue);
}

.support-library .topic-list a::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 12px;
  color: var(--blue);
}

.support-library .topic-list a:focus-visible {
  outline-offset: -3px;
}

.support-library .topic-list small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  margin-top: 3px;
}

.support-library .selected-article {
  container-type: inline-size;
}

.support-library .selected-article .topic-body:has(.illustrated-passage) {
  max-width: none;
}

.support-library .selected-article .topic-body {
  padding: 5px 19px 14px;
}

@media (max-width:650px) {
  .support-library .sidebar {
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  .support-library .sidebar nav {
    grid-template-columns: 1fr;
  }
  .support-library .nav-category {
    background: var(--public-canvas);
    border-radius: 4px;
  }
  .support-library .nav-toggle {
    width: 44px;
    min-height: 44px;
  }
  .support-library .sidebar .nav-topics a {
    min-height: 44px;
    background: transparent;
  }
  .support-library .sidebar .nav-topics a[aria-current="location"] {
    background: var(--public-soft);
  }
}

.support-library .browse-topics {
  display: none;
}

.support-library .article-steps, .support-library .article-bullets {
  padding-left: 1.4em;
}

.support-library .article-steps>li+li {
  margin-top: .65em;
}

.support-library .article-bullets>li+li {
  margin-top: .24em;
}

.support-library .article-steps .article-bullets {
  margin: .25em 0 0;
  padding-left: 1.25em;
}

.support-library .topic-body :is(strong, b) {
  color: var(--public-ink);
  font-weight: 600;
}

.support-library .topic-body .article-steps > li {
  color: var(--public-ink);
  font-size:calc(15px * var(--public-desktop-density, 1));
  line-height: 1.5;
  font-weight: 600;
}

.support-library .topic-body .article-steps > li::marker {
  color: var(--public-ink);
  font-weight: 600;
}

.support-library .topic-body .article-steps > li > .article-bullets,
.support-library .topic-body .article-bullets > li {
  color: var(--public-ink);
  font-size:calc(15px * var(--public-desktop-density, 1));
  line-height: 1.5;
  font-weight: 400;
}

.support-library .topic-body .article-bullets {
  list-style: disc;
}

body.site-light main#main .support-library .article-subheading {
  margin: 1.1em 0 .3em;
  box-sizing: border-box;
  padding-inline-start: 10px;
  border-inline-start: 3px solid var(--public-action);
  font-size: var(--mw-type-section);
  line-height: 1.35;
  font-weight: var(--mw-type-section-weight);
  color: var(--public-ink);
}

.support-library .article-subheading+ol, .support-library .article-subheading+ul {
  margin-top: .35em;
}

.support-library .topic-body .figures {
  display: grid;
  gap: 14px;
  margin: 0;
}

.support-library .topic-body .figures figure {
  margin: 0;
}

.support-library .topic-body .figures img {
  width: auto;
  max-width: 100%;
}

.support-library .figures a {
  font-size:calc(15px * var(--public-desktop-density, 1));
  line-height: 1.5;
  margin-top: 4px;
}

.support-library .visual-slot {
  border: 1px dashed #c9c5bd;
  background: var(--public-canvas);
  padding: 9px 12px;
  color: var(--muted);
}

.support-library .visual-slot strong {
  display: block;
  color: var(--ink);
}

.support-library .topic-body .guide-diagram {
  margin: 16px 0;
  padding: 12px 14px;
  background: var(--public-soft);
  border: 1px solid #e4dfd7;
  border-radius: 7px;
}

.support-library .topic-body .guide-diagram figcaption {
  font-size:calc(15px * var(--public-desktop-density, 1));
  line-height: 1.5;
  font-weight: 600;
  color: var(--public-ink);
  margin: 0 0 8px;
}

.support-library .diagram-points {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(156px,100%),1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.support-library .diagram-points li {
  background: #fff;
  border: 1px solid var(--public-rule);
  border-radius: 5px;
  padding: 9px 10px;
  font-size:calc(15px * var(--public-desktop-density, 1));
  line-height: 1.5;
  font-weight: 400;
  color: var(--public-ink);
}

.support-library .diagram-points strong, .support-library .diagram-points span {
  display: block;
}

.support-library .diagram-points span {
  margin-top: 2px;
}

.support-library .illustrated-passage {
  display: grid;
  gap: 12px;
  align-items: start;
  margin: 14px 0;
}
.support-library .illustrated-passage > :first-child { margin-block: 0; }
@container (min-width: 640px) {
  .support-library .illustrated-passage {
    grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
    gap: clamp(16px, 3cqw, 32px);
  }
}
.support-library .divider-detail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 420 / 110;
  max-width: 420px;
}
.support-library .topic-body .divider-detail img {
  position: absolute;
  width: 215.72%;
  max-width: none;
  transform: translateY(-42%);
  border: 0;
}
@media (min-width:651px) {
  .support-library .library {
    min-height: calc(100dvh - 40px);
  }
  .support-library .support-navigation {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .support-library .sidebar {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .support-library .sidebar h2 {
    flex: none;
  }
  .support-library .sidebar nav {
    min-height: 0;
    padding: 2px 4px 2px 0;
  }
  .support-library .sidebar nav :focus-visible {
    outline-offset: -3px;
  }
}

@media (max-width:650px) {
  .support-library .sidebar {
    max-height: none;
    overflow: visible;
    margin-bottom: 15px;
    padding: 6px 0 7px;
    background: #ffffff;
  }
  .support-library .sidebar h2 {
    display: none;
  }
  .support-library .browse-topics {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--public-soft);
    color: #303a36;
    font-weight: 650;
  }
  .support-library .browse-topics::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin: 0 2px 4px;
  }
  .support-library .browse-topics[aria-expanded="true"]::after {
    transform: rotate(225deg);
    margin-top: 8px;
  }
  .support-library .sidebar nav {
    padding: 4px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 6px;
  }
  .support-library .browse-topics[aria-expanded="false"]+nav {
    display: none;
  }
}

html:has(> body.page-help) {
  --support-header-height: 70px;
  scroll-padding-top: var(--support-header-height);
}


.support-library #selection-title {
  scroll-margin-top: 12px;
}


