/* Help & FAQs (#/help): questions as collapsible cards in the brand style. Uses the tokens in styles.css. */
.help-page .search-card { margin-bottom: 22px; }
.help-section { margin: 0 0 22px; }
.help-list { padding: 0; overflow: hidden; margin: 0; }

.help-q + .help-q { border-top: 1px solid var(--hairline); }
.help-q { scroll-margin-top: 84px; }
.help-q > summary {
  list-style: none; display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 13px 18px; cursor: pointer;
  font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.help-q > summary::-webkit-details-marker { display: none; }
.help-q > summary::marker { content: ""; }
.help-q > summary:hover { background: color-mix(in srgb, var(--ice) 55%, transparent); }
.help-q > summary:focus-visible { outline-offset: -3px; border-radius: var(--radius-sm); }
.help-q > summary .icon { flex: none; color: var(--ink-2); transition: transform .18s ease; }
.help-q[open] > summary .icon { transform: rotate(180deg); color: var(--teal); }
.help-q[open] > summary { color: var(--teal); }
.help-a { padding: 0 18px 16px; color: var(--ink-2); max-width: 68ch; }
.help-a p { margin: 0 0 .7em; }
.help-a p:last-child { margin-bottom: 0; }

.help-empty { text-align: left; padding: 18px; }
.help-empty h3 { margin-bottom: 6px; }

.help-contact { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.help-contact h2 { font-size: 17px; margin: 0 0 2px; }
.help-contact p { margin: 0; color: var(--ink-2); }
.help-contact a { font-weight: 500; overflow-wrap: anywhere; }
.help-contact .tint { flex: none; }

/* Signed out: a plain header above the same page. */
.help-public { min-height: 100vh; }
.help-public-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 820px; margin: 0 auto; padding: 18px 28px 8px; }
.signin-help { margin-top: 14px; }

@media (max-width: 760px) {
  .help-public-bar { padding: 14px 16px 4px; }
  .help-q > summary { padding: 12px 14px; font-size: 15.5px; }
  .help-a { padding: 0 14px 14px; }
  .help-contact { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .help-q > summary .icon { transition: none; }
}

/* "Nell has been updated" bar (js/api.js) */
.update-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 1000; display: flex; align-items: center; gap: 14px;
  background: var(--ink, #1B3A35); color: var(--surface, #fff); padding: 10px 12px 10px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.2);
  font: 500 15px/1.3 "DM Sans", system-ui, sans-serif; max-width: calc(100vw - 32px); }
.update-bar button { background: var(--teal, #247A6F); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font: 700 14px "DM Sans", system-ui, sans-serif; cursor: pointer; }
