/* Help Center — grids and gutters only.
   Everything painted here is a vocabulary every other route already loads
   (profile-screen.css, chrome): `.sec-hero`/`.sec-card`/`.sec-state`/`.sec-lead`
   for the hero and panels, `.ps-nav-item`/`.ps-nav-glyph`/`.ps-nav-text`/
   `.ps-nav-badge` for the topic cards and the channel rows, `.bns-row*` +
   `.ps-act-tile` for the FAQ disclosures, `.ps-msg-search` for the filter,
   `.ps-msg-empty` for the no-results panel, `.ps-field`/`.ps-tabs`/`.ps-stat`
   for the callback form, and `.btn*` (base.css) for every button.

   Container shape is the house one: hero panel, then `.mobile-section` blocks,
   all direct children of `.content`. Below 769 `.content` carries no side
   padding, so each block takes the page's 16px gutter — the same one the ORAN
   console uses (assistant.css); above it the shell's `--content-pad` does it. */

.help-content {
  gap: 22px;
}

.help-hero {
  margin-inline: 16px;
}

.help-block {
  padding-inline: 16px;
}

/* The page title, not a pane heading — `.sec-hero-copy strong` is sized for the
   security panes, where the hero is one card among many. */
.help-hero strong {
  font-size: var(--fs-4xl);
}

/* Both are scroll targets: `#call-me` from the redirect and the menu, the
   library from a topic tap. Clears the fixed header. */
.help-call,
.help-library {
  scroll-margin-top: 90px;
}

.help-search {
  margin-top: 10px;
}

.help-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

/* `.ps-nav-text span` is a one-line, ellipsized subtitle in the profile nav;
   here it is a topic's description and gets two lines to say it in. */
.help-topics .ps-nav-text span {
  white-space: normal;
  line-height: 1.35;
}

/* Picking one topic dims the rest — the row itself is the shared `.ps-nav-item`,
   this is only which of them the filter is currently ignoring. */
.help-topics.is-filtering .ps-nav-item:not(.active) {
  opacity: 0.5;
}

.help-topics.is-filtering .ps-nav-item:hover {
  opacity: 1;
}

.help-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

/* `.bns-row-head` carries a bonus's amount and progress pill between the name
   and the chevron; a guide has neither, so the two empty columns (and their
   gaps) come out and the question gets the width. */
.help-faq .bns-row-head {
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  grid-template-areas: "tile name chev";
}

/* A bonus name is one ellipsized line; a question is a sentence. */
.help-faq .bns-row-name strong {
  white-space: normal;
  line-height: 1.35;
}

.help-clear {
  align-self: flex-start;
}

.help-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.help-empty img {
  width: 92px;
}

.help-channels {
  display: grid;
  gap: 4px;
}

.call-panel {
  position: relative;
  overflow: hidden;
}

.call-panel > * {
  position: relative;
}

/* The character on the phone — decoration, cropped by the card's corner. */
.call-mascot {
  position: absolute;
  right: -14px;
  bottom: -18px;
  width: 116px;
  opacity: 0.28;
  pointer-events: none;
}

.call-sub {
  margin: 0 0 16px;
  max-width: 46ch;
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.55;
}

.call-fineprint {
  margin: 0;
  text-align: center;
}

/* Two stats, not the profile overview's three. */
.call-panel .ps-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.call-panel .sec-steps {
  margin-top: 18px;
}

@media (min-width: 769px) {
  .content.help-content {
    min-height: 0;
    gap: 26px;
  }

  .help-hero {
    margin-inline: 0;
  }

  .help-block {
    padding-inline: 0;
  }

  .help-topics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .help-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .call-mascot {
    right: 18px;
    bottom: -22px;
    width: 170px;
    opacity: 0.4;
  }

  .call-panel .sec-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
