/* Shared navigation must accommodate the help link on narrow screens. */
.topbar {
  height: auto;
  min-height: 88px;
  flex-wrap: wrap;
  column-gap: clamp(18px, 3vw, 42px);
}
.main-nav {
  min-width: 0;
  flex-wrap: wrap;
  column-gap: 22px;
  row-gap: 0;
}
.main-nav a {
  min-height: 44px;
  white-space: nowrap;
}
.account,
.profile-link {
  min-width: 0;
}
.profile-link > span:last-child {
  max-width: 220px;
  overflow-wrap: anywhere;
}
.account > form {
  flex-shrink: 0;
}
.help-page {
  width: min(100%, 1020px);
  margin: 44px auto 0;
}
.help-page section[id] {
  scroll-margin-top: 24px;
}
.help-heading {
  text-align: center;
  margin-bottom: 30px;
}
.help-heading h1 {
  font-size: clamp(30px, 4vw, 43px);
  letter-spacing: -1.4px;
  margin-bottom: 16px;
}
.help-heading > p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}
.help-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
}
.help-flow-item {
  padding: 20px 16px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}
.help-flow-item strong,
.help-flow-item span {
  display: block;
}
.help-flow-item strong {
  font-size: 17px;
  margin-bottom: 5px;
}
.help-flow-item span {
  font-size: 12px;
  color: var(--muted);
}
.help-flow-meeting {
  background: #f1edfd;
  border-color: #d8cfef;
}
.help-flow-arrow {
  color: #9a89cc;
  font-size: 26px;
  text-align: center;
}
.help-explainer,
.help-account {
  padding: 27px 30px;
}
.help-explainer {
  margin-bottom: 18px;
}
.help-explainer h2,
.help-account h2 {
  font-size: 21px;
  margin-bottom: 15px;
}
.help-explainer p,
.help-account p {
  font-size: 14px;
  line-height: 1.75;
}
.help-explainer p:last-child {
  margin-bottom: 0;
}
.help-test-note {
  line-height: 1.7;
  margin-bottom: 24px;
}
.help-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0 0 24px;
}
.help-steps > li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 17px;
}
.help-step-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  color: #7c65b7;
  background: #f0ebfa;
  font-size: 13px;
  font-weight: 600;
}
.help-steps > li > div {
  min-width: 0;
}
.help-steps h2 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.help-steps p {
  font-size: 13px;
  line-height: 1.75;
}
.help-steps p:last-child {
  margin-bottom: 0;
}
.help-link {
  color: #6550b0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.help-page code,
.help-page kbd {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
.help-page kbd {
  border: 1px solid #dcd7e8;
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 5px;
}
.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.help-sources {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 16px 0 32px;
}
.help-account {
  margin-bottom: 24px;
}
.help-account-steps {
  margin: 20px 0;
  padding-left: 22px;
}
.help-account-steps li {
  padding-left: 5px;
}
.help-account-steps li::marker {
  color: #8b73bc;
  font-weight: 600;
}
.help-command {
  background: #f7f5fb;
  border: 1px solid #e8e2f1;
  border-radius: 10px;
  padding: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.7;
  margin: 12px 0;
}
.help-account .help-account-note {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.help-readme {
  padding: 0 26px;
  min-width: 0;
}
.help-readme > summary {
  padding: 21px 0;
  cursor: pointer;
  font-weight: 600;
}
.help-readme > summary span {
  display: inline-block;
  margin-left: 10px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.help-readme-text {
  border-top: 1px solid var(--line);
  padding: 22px 0 5px;
  margin: 0 0 22px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    12px/1.8 Consolas,
    "Courier New",
    monospace;
  color: #5f5c72;
}
.help-readme-text:focus-visible {
  outline: 2px solid #a99bef;
  outline-offset: 5px;
}
@media (max-width: 1360px) {
  .brand-sub {
    display: none;
  }
}
@media (max-width: 1150px) {
  .topbar {
    padding: 15px 28px 0;
    gap: 12px 20px;
  }
  .main-nav {
    order: 3;
    flex-basis: 100%;
    height: auto;
    gap: 0 24px;
  }
  .account {
    max-width: calc(100% - 105px);
  }
}
@media (max-width: 760px) {
  .help-page {
    margin-top: 30px;
  }
  .help-heading {
    text-align: left;
  }
  .help-heading > p:last-child {
    font-size: 13px;
  }
  .help-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .help-steps > li,
  .help-explainer,
  .help-account {
    padding: 22px;
  }
  .help-explainer p,
  .help-account p {
    font-size: 13px;
  }
}
@media (max-width: 520px) {
  .topbar {
    padding: 14px 16px 0;
  }
  .main-nav {
    column-gap: 20px;
    font-size: 12px;
  }
  .account {
    gap: 10px;
  }
  .profile-link > span:last-child {
    max-width: 135px;
  }
  .help-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .help-flow-item {
    padding: 15px;
  }
  .help-flow-arrow {
    transform: rotate(90deg);
    line-height: 1;
  }
  .help-actions > a {
    width: 100%;
  }
  .help-readme {
    padding: 0 20px;
  }
  .help-readme > summary span {
    display: block;
    margin: 5px 0 0;
  }
}
