.shell:has(.help-page) .topbar {
  height: auto;
  min-height: 68px;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-block: 10px;
}

.help-nav,
.help-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  font-size: 14px;
  font-weight: 700;
}

.help-nav a,
.help-footer a,
.help-home {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #1724bb;
  text-decoration: none;
}

.help-nav a[aria-current="page"],
.help-nav a:hover,
.help-footer a:hover,
.help-home:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.help-page {
  width: min(100%, 820px);
  margin-inline: auto;
  padding: 24px clamp(16px, 4vw, 36px) 48px;
}

.help-intro { margin-bottom: 24px; }
.help-home { font-size: 14px; font-weight: 700; }

.help-intro h1 {
  margin: 12px 0 10px;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.3;
  letter-spacing: -.04em;
}

.help-intro p,
.help-section p {
  margin: 0;
  color: #4c5b77;
  line-height: 1.75;
}

.help-section {
  padding: 18px clamp(16px, 4vw, 28px);
  background: #fff;
  border: 1px solid #dbe2f1;
  border-radius: 12px;
  overflow-wrap: anywhere;
}

.help-section + .help-section { margin-top: 14px; }
.help-section h2 { margin: 0 0 10px; font-size: clamp(19px, 3vw, 23px); }
.help-section p + p { margin-top: 12px; }
.help-section a:not(.btn) { color: #1724bb; text-underline-offset: 3px; }

.faq-item {
  border-top: 1px solid #e5eafd;
  font-size: 15px;
}

.faq-item summary {
  min-height: 44px;
  padding-block: 12px;
  font-weight: 700;
  line-height: 1.55;
  cursor: pointer;
}

.faq-item summary::marker { color: #1724bb; }
.faq-item p { padding: 0 0 14px 17px; }

.help-footer {
  padding: 8px clamp(16px, 4vw, 36px);
  background: #fff;
  border-top: 1px solid #e5eafd;
}

.help-footer nav {
  max-width: 748px;
  margin-inline: auto;
}

.counter-mode .help-footer,
.invite-mode .help-footer { display: none; }

.shell:has(.help-page) :is(a, summary, button, input, textarea):focus-visible {
  outline: 3px solid #2447d5;
  outline-offset: 3px;
}
