/* Help page (help.php) */
.help-page { padding-top: 1.5rem; }
.help-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 1rem; }
.help-head h2 { margin: 0; }
.help-head p { margin: 0; color: var(--pico-muted-color); }
.help-head input[type="search"] { margin: 0; max-width: 380px; }
.help-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.help-toc { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 2px; }
.help-toc a { display: block; padding: 5px 10px; border-radius: 6px; font-size: 0.86rem; color: #cbd5e1; text-decoration: none; border-left: 2px solid transparent; }
.help-toc a:hover { background: rgba(56, 189, 248, 0.08); color: #f8fafc; }
.help-toc a.active { border-left-color: #38bdf8; color: #38bdf8; background: rgba(56, 189, 248, 0.08); }
.help-toc a.dim { opacity: 0.35; }
.help-section { background: var(--pico-card-background-color); border: 1px solid var(--pico-muted-border-color); border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
.help-section h3 { font-size: 1.15rem; margin: 0 0 0.6rem; }
.help-section h4 { font-size: 0.95rem; margin: 1rem 0 0.4rem; color: #cbd5e1; }
.help-section p, .help-section li, .help-section dd { font-size: 0.9rem; line-height: 1.6; }
.help-section ul, .help-section ol { margin-bottom: 0.4rem; }
.help-tip { background: rgba(56, 189, 248, 0.08); border-left: 3px solid #38bdf8; padding: 6px 10px; border-radius: 4px; margin: 0.6rem 0 0; }
.help-dl dt { font-weight: 700; margin-top: 0.6rem; color: #f1f5f9; }
.help-dl dd { margin: 2px 0 0 0; color: #cbd5e1; }
.help-keys { font-size: 0.85rem; margin: 0; }
.help-keys td { padding: 6px 8px; }
.help-keys kbd { font-size: 0.78rem; padding: 2px 6px; }
.help-section details { margin: 0 0 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding-bottom: 6px; }
.help-section details summary { font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.help-section details p { margin: 6px 0 4px; color: #cbd5e1; }
.help-none { color: var(--pico-muted-color); text-align: center; padding: 2rem 0; }
@media (max-width: 820px) {
  .help-layout { grid-template-columns: 1fr; }
  .help-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .help-toc a { border-left: none; border: 1px solid var(--pico-muted-border-color); font-size: 0.78rem; padding: 3px 8px; }
  .help-keys td { display: block; padding: 2px 6px; }
}
