/* FAQ & Feedback (Barry, 2026-11-25): pages/help.js. Tokens only, no brand fills; own file so hub.css stays untouched. */
.help { max-width:860px; }
.hp-stack { display:flex; flex-direction:column; gap:14px; }
.hp-card { padding:18px; min-width:0; }
.hp-card .card-head { margin-bottom:12px; }

/* the FAQ */
.hp-search { position:relative; margin-bottom:12px; }
.hp-search > svg.lucide, .hp-search > i { position:absolute; left:11px; top:50%; transform:translateY(-50%); width:16px; height:16px; color:var(--text-light); pointer-events:none; }
.hp-search-input { width:100%; padding-left:34px; }
.hp-group { margin-top:14px; }
.hp-group:first-child { margin-top:0; }
.hp-group-title { margin:0 0 6px; font-size:10.5px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; color:var(--text-muted); }
.hp-q { border-top:1px solid var(--border); }
.hp-group .hp-q:last-child { border-bottom:1px solid var(--border); }
.hp-q > summary { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; padding:8px 4px;
  font-size:14px; font-weight:600; color:var(--text); border-radius:var(--radius-sm); }
.hp-q > summary::-webkit-details-marker { display:none; }
.hp-q > summary:hover { color:var(--brand-text); }
.hp-q > summary:focus-visible { outline:2px solid var(--brand); outline-offset:-2px; }
.hp-q-text { min-width:0; overflow-wrap:anywhere; }
.hp-chev { flex:none; width:18px; height:18px; color:var(--text-light); transition:transform var(--dur-fast, 120ms) var(--ease-out, ease); }
.hp-q[open] > summary .hp-chev { transform:rotate(180deg); }
.hp-a { padding:0 4px 12px; font-size:13.5px; line-height:1.55; color:var(--text-2); overflow-wrap:anywhere; }
.hp-a p { margin:0 0 8px; }
.hp-a p:last-child { margin-bottom:0; }
.hp-empty { padding:18px 8px; }

/* the form */
.hp-contact { margin:0 0 12px; font-size:13px; line-height:1.5; color:var(--text-2); }
.hp-contact a, .hp-note a { color:var(--brand-text); font-weight:600; }
.hp-form { display:flex; flex-direction:column; gap:14px; max-width:620px; }
.hp-actions { display:flex; gap:8px; }
.hp-note { margin:0; }

/* the developers' Reports */
.hp-reps { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.hp-rep { border:1px solid var(--border); border-radius:var(--radius-panel); padding:12px 14px; display:flex; flex-direction:column; gap:8px; min-width:0; }
.hp-rep-head { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.hp-when { margin-left:auto; font-size:12px; color:var(--text-muted); font-variant-numeric:tabular-nums; }
.hp-rep-body { margin:0; font-size:13.5px; line-height:1.5; color:var(--text); white-space:pre-wrap; overflow-wrap:anywhere; }
.hp-rep-meta { font-size:12px; color:var(--text-muted); overflow-wrap:anywhere; }
.hp-rep-foot { display:flex; }
.hp-ctx > summary { cursor:pointer; font-size:12px; font-weight:600; color:var(--text-muted); min-height:24px; }
.hp-ctx > summary:focus-visible { outline:2px solid var(--brand); outline-offset:2px; border-radius:var(--radius-sm); }
.hp-dl { display:grid; grid-template-columns:auto 1fr; gap:2px 12px; margin:6px 0 0; font-size:12px; color:var(--text-2); }
.hp-dl dt { color:var(--text-muted); font-weight:600; }
.hp-dl dd { margin:0; overflow-wrap:anywhere; }
.hp-filter { flex-wrap:wrap; }

/* the foot line of Account settings */
.set-help { margin:14px 0 0; font-size:12.5px; line-height:1.5; color:var(--text-muted); }
.set-help a { color:var(--brand-text); font-weight:600; }
/* the closing card of the tour */
.tour-help { margin:0 0 12px; font-size:13px; line-height:1.5; color:var(--text-2); }
.tour-help a { color:var(--brand-text); font-weight:600; }

[data-input="touch"] .hp-ctx > summary { min-height:44px; display:flex; align-items:center; }
[data-input="touch"] .hp-rep-foot .btn { min-height:44px; }

@media (max-width:600px) {
  .hp-card { padding:14px; }
  .hp-when { margin-left:0; width:100%; }
  .hp-actions .btn { width:100%; justify-content:center; min-height:44px; }
  .hp-filter { width:100%; }
  .hp-filter button { flex:1 1 auto; min-height:44px; }
  .hp-search-input { font-size:16px; }
}

@media (prefers-reduced-motion:reduce) {
  .hp-chev { transition:none; }
}
:root[data-perf="low"] .hp-chev { transition:none; }
