/* Help tab container — responsive padding */
#tab-help {
  /* top/bottom, left/right use clamp so it scales with pane width */
  padding-block: clamp(16px, 5vw, 32px);
  padding-inline: clamp(8px, 4vw, 24px);
}

/* Center the help content and keep it from stretching too wide */
#tab-help .help-page {
  width: min(100%, 520px);   /* shrink on narrow panes, cap on wide ones */
  margin-inline: auto;       /* center horizontally without flex */
}

/* Each help item row */
.help-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.help-icon {
  flex: 0 0 32px;
  font-size: 30px;
  line-height: 1;
  margin-top: 2px;
}

.help-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.help-content h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.help-content p {
  margin: 2px 0 8px;
  font-size: 14px;
  color: #555;
}

/* Buttons: full width of the text column, with a sensible max */
.help-content button {
  width: 100%;
  max-width: 260px;          /* prevent over-wide buttons on big panes */
  text-align: center;
}

/* Small panes: scale icon & gaps down a bit */
@media (max-width: 420px) {
  .help-item { gap: 10px; }
  .help-icon { flex-basis: 28px; font-size: 24px; }
}
