.help-container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}
.help-page main h1 {
  max-width: 25ch;
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.15;
}
.help-page main h2 {
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.3;
}
.help-page main h3 {
  font-size: 1.3rem;
  line-height: 1.35;
}
.help-page .breadcrumb {
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.help-label {
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 700;
}
.help-intro {
  max-width: 72ch;
  font-size: 1.05rem;
}
.help-hub-header {
  padding-block: 28px 32px;
}
.help-app-tabs {
  display: inline-flex;
  gap: 8px;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-deep);
}
.help-app-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  border-radius: 12px;
  color: var(--slate-dark);
  font-weight: 750;
  text-decoration: none;
  text-align: center;
}
.help-app-tabs a:hover {
  background: var(--white);
}
.help-app-tabs a[aria-current] {
  color: var(--white);
  background: var(--slate);
}
.help-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding-bottom: 48px;
}
.help-main {
  min-width: 0;
}
.help-hub-intro {
  padding-block: 12px 28px;
}
.help-search {
  margin-top: 24px;
}
.help-search > label {
  display: block;
  margin-bottom: 10px;
  font-weight: 650;
}
.help-search-input {
  display: flex;
  gap: 12px;
}
.help-search input[type="search"] {
  width: 100%;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
}
.help-search-input .button {
  flex-shrink: 0;
}
.help-navigation {
  position: sticky;
  top: calc(var(--header) + 20px);
  max-height: calc(100dvh - var(--header) - 40px);
  overflow-y: auto;
  padding: 12px 12px 12px 0;
}
.help-navigation summary {
  padding: 12px;
  color: var(--slate-dark);
  font-weight: 700;
  cursor: pointer;
}
.help-navigation-title {
  margin: 0 0 16px;
  color: var(--slate);
  font-weight: 750;
}
.help-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.help-navigation-topics > li + li {
  margin-top: 20px;
}
.help-navigation .help-navigation-topic {
  display: block;
  padding-block: 8px;
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
}
.help-navigation li li a {
  display: block;
  padding: 10px 12px;
  margin-block: 2px;
  border-left: 2px solid var(--line);
  border-radius: 0 10px 10px 0;
  color: var(--slate-dark);
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: none;
}
.help-navigation a:hover {
  background: var(--paper-deep);
}
.help-navigation a[aria-current="page"] {
  border-left-color: var(--slate);
  background: var(--paper-deep);
  color: var(--ink);
  font-weight: 700;
}
.help-section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: baseline;
}
.help-section-heading h2 {
  margin: 0;
}
.help-topic {
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 24px);
}
.help-topic h3 {
  margin-bottom: 8px;
}
.help-topic > p {
  margin-bottom: 20px;
}
.help-guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.help-guide {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  text-decoration: none;
}
.help-guide:hover {
  border-color: var(--slate);
}
.help-guide-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.help-guide-copy > strong {
  font-size: 1.15rem;
  line-height: 1.4;
}
.help-guide-arrow {
  color: var(--slate);
  font-size: 1.5rem;
}
.help-empty {
  padding-block: 32px;
}
.help-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  margin-bottom: 64px;
  border-radius: 24px;
  background: var(--paper-deep);
}
.help-support p {
  max-width: 65ch;
  margin: 0;
}
.help-support h2 {
  margin-bottom: 12px;
}
.help-support .button {
  flex-shrink: 0;
}
.help-page main .help-article-heading h1 {
  max-width: none;
  font-size: clamp(2rem, 3vw, 3rem);
}
.help-checked {
  margin-block: 20px 12px;
  font-size: 0.9rem;
}
.help-toc {
  position: static;
  margin-block: 28px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.help-toc summary {
  cursor: pointer;
  font-weight: 700;
}
.help-article .help-toc ol {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  columns: 2;
  column-gap: 24px;
}
.help-toc li {
  break-inside: avoid;
}
.help-toc a {
  display: block;
  padding: 8px 0;
  color: var(--slate-dark);
  font-size: 0.95rem;
  line-height: 1.5;
}
.help-article {
  min-width: 0;
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}
.help-article-section {
  padding-block: 12px 32px;
  scroll-margin-top: calc(var(--header) + 24px);
}
.help-article-section + .help-article-section {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.help-article-section h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.help-step {
  display: inline-grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--slate-dark);
  background: var(--paper-deep);
  font-size: 1rem;
  letter-spacing: 0;
}
.help-article p, .help-article li {
  overflow-wrap: anywhere;
}
.help-article ul {
  padding-left: 24px;
}
.help-article li + li {
  margin-top: 12px;
}
.help-article code {
  padding: 2px 5px;
  border-radius: 5px;
  color: var(--slate-dark);
  background: var(--paper);
  font-size: 0.95rem;
}
.help-table-wrap {
  width: 100%;
  margin-block: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.help-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.6;
}
.help-table-wrap th, .help-table-wrap td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.help-table-wrap thead {
  background: var(--paper-deep);
}
.help-table-wrap tbody th {
  width: 28%;
  font-weight: 600;
}
.help-table-wrap tr:last-child > * {
  border-bottom: 0;
}
.help-figure {
  width: 100%;
  margin: 28px 0 8px;
}
.help-tablet {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 18px 10px 10px;
  border: 1px solid #cfd8db;
  border-radius: 22px;
  background: #edf1f2;
  box-shadow: 0 12px 28px rgba(47, 69, 78, 0.08);
}
.help-tablet-camera {
  position: absolute;
  top: 7px;
  left: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #84969d;
}
/* Keep each image's HTML width hint so lazy loading reserves its space. */
.help-tablet img {
  height: auto;
  border-radius: 10px;
}
.help-figure figcaption {
  margin-top: 14px;
  color: var(--slate-dark);
  font-size: 0.9rem;
  line-height: 1.6;
}
.help-related {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.help-related ul {
  list-style: none;
  padding: 0;
}
.help-related a {
  font-weight: 650;
}

/* Shared-application guides and the category example use the existing tokens. */
.help-app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}
.help-guide-list > li + li {
  margin-top: 14px;
}
.help-article ol {
  padding-left: 24px;
}
.help-article .help-category-path {
  list-style: none;
  margin: 24px 0;
  padding: 20px;
  border-radius: 14px;
  background: var(--paper-deep);
  color: var(--slate-dark);
  font-weight: 600;
}
.help-category-path li {
  position: relative;
  padding-left: 20px;
}
.help-category-path li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -8px;
  width: 12px;
  height: 20px;
  border-left: 2px solid var(--slate);
  border-bottom: 2px solid var(--slate);
  border-bottom-left-radius: 5px;
}
.help-category-path li:nth-child(2) {
  margin-left: 16px;
}
.help-category-path li:nth-child(3) {
  margin-left: 32px;
}

@media (min-width: 901px) {
  .help-navigation summary {
    display: none;
  }
}
@media (max-width: 900px) {
  .help-container {
    width: calc(100% - 40px);
  }
  .help-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .help-navigation {
    position: static;
    max-height: none;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
  }
  .help-navigation summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .help-navigation nav {
    padding: 12px 20px 20px;
  }
  .help-navigation[open] summary {
    border-bottom: 1px solid var(--line);
  }
  .help-support {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .help-container {
    width: calc(100% - 32px);
  }
  .help-hub-header {
    padding-block: 20px 24px;
  }
  .help-page .breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .help-app-tabs {
    display: flex;
    width: 100%;
  }
  .help-app-tabs a {
    flex: 1;
    min-width: 0;
    padding-inline: 10px;
  }
  .help-intro {
    font-size: 1rem;
  }
  .help-search-input {
    flex-direction: column;
  }
  .help-guide {
    padding: 18px;
    gap: 12px;
  }
  .help-guide-copy > strong {
    font-size: 1.1rem;
  }
  .help-support {
    padding: 24px;
    margin-bottom: 40px;
  }
  .help-article {
    padding: 18px;
    border-radius: 18px;
  }
  .help-article .help-toc ol {
    columns: 1;
  }
  .help-table-wrap th, .help-table-wrap td {
    padding: 12px 8px;
    font-size: 0.9rem;
  }
  .help-tablet {
    padding: 16px 7px 7px;
    border-radius: 16px;
  }
  .help-tablet-camera {
    top: 6px;
  }
}

/* Preserve readable columns in comparisons with four or more fields. The
   existing focusable region supplies native touch and keyboard scrolling. */
.help-table-wrap .help-table-wide {
  min-width: 600px;
}
.help-table-hint {
  display: none;
}
@media (max-width: 600px) {
  .help-table-hint {
    display: block;
    margin-top: -12px;
    color: var(--slate-dark);
    font-size: 0.9rem;
  }
}
.help-table-wrap .help-table-wide th,
.help-table-wrap .help-table-wide td {
  overflow-wrap: normal;
}
