/* In-app help page */

.help-page {
  max-width: 58rem;
}

.help-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
}

.help-nav-link {
  display: inline-block;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-size: 0.9rem;
}

.help-nav-link:hover {
  border-color: #93c5fd;
  color: #1e3a8a;
}

.help-nav-link.is-current {
  background: #1e3a8a;
  border-color: #1e3a8a;
  color: #fff;
}

.help-jump-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.35rem;
}

.help-jump {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: #1e40af;
  text-decoration: none;
  font-size: 0.84rem;
}

.help-jump:hover {
  background: #e0e7ff;
}

.help-lead {
  color: #334155;
  margin-bottom: 0.85rem;
}

.help-rail {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.help-rail-step {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: #f8fafc;
}

.help-rail-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #1e40af;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.help-rail-text {
  color: #64748b;
  font-size: 0.86rem;
}

.help-commerce-set {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: 100%;
  margin-bottom: 0.85rem;
}

.help-commerce-caption {
  margin: 0 0 0.45rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 650;
  color: #64748b;
}

.help-commerce-note {
  margin: 0.45rem 0 0;
  max-width: 40rem;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.65;
}

.help-commerce {
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.9rem 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: #f8fafc;
}

.help-commerce-row,
.help-commerce-row--short {
  display: grid;
  align-items: center;
  justify-items: center;
  column-gap: 0.35rem;
}

.help-commerce-row {
  grid-template-columns: 5.25rem 5.4rem 5.25rem 3.2rem 5.25rem;
}

.help-commerce-row--short {
  grid-template-columns: 5.25rem 5.4rem 5.25rem;
}

.help-commerce-gap {
  width: 100%;
  height: 1px;
}

.help-party {
  box-sizing: border-box;
  width: 5.25rem;
  padding: 0.4rem 0.35rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  font-weight: 650;
  text-align: center;
}

.help-party--self {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e3a8a;
}

.help-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
}

.help-arrow-mark {
  font-size: 1rem;
  color: #1e40af;
}

.help-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.help-card {
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: #fff;
}

.help-card-title {
  font-weight: 650;
  margin-bottom: 0.2rem;
}

.help-card-text {
  color: #475569;
  font-size: 0.9rem;
}

.help-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.help-status-arrow {
  color: #94a3b8;
}

.help-compare {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.help-compare-row {
  display: grid;
  grid-template-columns: 7.2rem repeat(3, minmax(0, 1fr));
}

.help-compare--2 .help-compare-row {
  grid-template-columns: 7.2rem repeat(2, minmax(0, 1fr));
}

.help-compare-row > div {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.help-compare-row:last-child > div {
  border-bottom: none;
}

.help-compare-row--head {
  background: #f8fafc;
  font-weight: 650;
}

.help-compare-k {
  font-weight: 650;
  color: #0f172a;
  background: #f8fafc;
}

.help-next-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0.5rem 0 1rem;
}

.help-next {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: #f8fafc;
}

.help-next:hover {
  border-color: #93c5fd;
}

.help-next span {
  color: #64748b;
  font-size: 0.84rem;
}

.help-tabs .nav-link {
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
}

.help-toc-card {
  padding: 1rem 1.15rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: #f8fafc;
}

.help-toc {
  padding-left: 1.15rem;
  margin-bottom: 0;
}

.help-toc-link {
  color: #1e40af;
  text-decoration: none;
  font-size: 0.95rem;
}

.help-toc-link:hover {
  text-decoration: underline;
}

.help-section {
  margin-bottom: 2rem;
  padding-top: 0.25rem;
}

.help-section-title {
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  font-weight: 650;
  scroll-margin-top: 4.5rem;
}

.help-subhead {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  font-weight: 650;
  font-size: 0.95rem;
  color: #334155;
}

.help-list {
  padding-left: 1.2rem;
}

.help-flow-list {
  padding-left: 1.25rem;
}

.help-callout {
  padding: 0.75rem 0.95rem;
  border-radius: 8px;
  border-left: 3px solid #64748b;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.help-callout--info {
  border-left-color: #3b82f6;
  background: #eff6ff;
}

.help-callout--tip {
  border-left-color: #059669;
  background: #ecfdf5;
}

.help-callout--warn {
  border-left-color: #d97706;
  background: #fffbeb;
}

.help-term-table {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.help-term-row {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.92rem;
}

.help-term-row:last-child {
  border-bottom: none;
}

.help-term-label {
  font-weight: 650;
  color: #0f172a;
}

.help-term-body {
  color: #475569;
}

.help-faq-item {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.help-faq-item:last-child {
  border-bottom: none;
}

.help-faq-q {
  font-weight: 650;
  margin-bottom: 0.25rem;
}

.help-faq-a {
  color: #475569;
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .help-term-row,
  .help-compare-row,
  .help-compare--2 .help-compare-row,
  .help-cards,
  .help-next-row {
    grid-template-columns: 1fr;
  }

  .help-rail {
    flex-direction: column;
  }
}
