/* Help page (/help): table of contents, cards with a screenshot and text, state chips, zoom dialog. */
.help-toc { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.help-toc a { font-weight: 600; text-decoration: none; }
.help-toc a:hover { text-decoration: underline; }
.help-section { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; scroll-margin-top: 12px; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.help-grid.text { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.help-card { display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.help-text { display: flex; flex-direction: column; gap: 6px; }
.help-text p { color: var(--ink); }
.help-shot { padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); cursor: zoom-in; overflow: hidden; display: block; width: 100%; }
.help-shot img { display: block; width: 100%; height: auto; }
.help-shot img.phone { max-height: 460px; object-fit: contain; }
.help-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.help-chips li { display: flex; gap: 8px; align-items: baseline; }
.chip { flex: none; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--mute); }
.chip.tone-green { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.chip.tone-amber { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.chip.tone-red { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.help-zoom { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); padding: 12px; max-width: min(96vw, 1200px); max-height: 94vh; }
.help-zoom::backdrop { background: rgba(0, 0, 0, .6); }
.help-zoom img { display: block; max-width: 100%; max-height: 80vh; margin: 8px auto; }
.help-zoom form { text-align: right; }
@media (max-width: 520px) { .help-grid { grid-template-columns: 1fr; } }
