/* Central de ajuda (help.js) */
.hp-card { width: min(1040px, 100%); height: min(88vh, 900px); display: flex; flex-direction: column; overflow: hidden; }
.hp-card .modal-head { flex: none; }
.hp-card .modal-head h3 { margin: 0; }
.hp-search { flex: none; margin-bottom: 10px; }
.hp-search input { width: 100%; padding: 9px 12px; font-size: 15px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel2); }
.hp-search input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.hp-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 230px 1fr; gap: 14px; }
.hp-nav { overflow: auto; display: flex; flex-direction: column; gap: 2px; padding-right: 4px; border-right: 1px solid var(--line); }
.hp-nav button { display: flex; align-items: center; gap: 8px; text-align: left; background: transparent; border: 1px solid transparent; padding: 6px 8px; border-radius: 7px; font-size: 13.5px; }
.hp-nav button:hover { background: var(--panel2); }
.hp-nav button.on { background: var(--panel2); border-color: var(--accent); }
.hp-nav button.dim { opacity: .35; }
.hp-ico { display: inline-block; width: 1.4em; text-align: center; flex: none; }
.hp-main { overflow-y: auto; overflow-x: hidden; padding: 0 12px 20px 10px; line-height: 1.5; }
.hp-main:focus { outline: none; }
.hp-h { margin: 2px 0 6px; font-size: 20px; }
.hp-lead { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; }
.hp-sec { padding: 8px 10px; margin: 0 -10px 4px; border-radius: 8px; scroll-margin-top: 6px; }
.hp-sec h4 { margin: 4px 0 4px; font-size: 15px; }
.hp-sec p { margin: 5px 0; }
.hp-sec ul, .hp-sec ol { margin: 5px 0; padding-left: 22px; }
.hp-sec li { margin: 3px 0; }
.hp-sec.hp-hit { background: rgba(79,140,255,.08); box-shadow: inset 3px 0 0 var(--accent); }
.hp-main kbd { display: inline-block; min-width: 1.6em; padding: 0 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--panel2); font: 12px ui-monospace, Consolas, monospace; text-align: center; }
.hp-main mark { background: rgba(217,162,27,.4); color: inherit; border-radius: 3px; padding: 0 1px; }
.hp-main a[data-go] { color: var(--accent); cursor: pointer; text-decoration: underline; }
.hp-tip { border-left: 3px solid var(--good); background: var(--panel2); padding: 6px 10px; border-radius: 0 7px 7px 0; margin: 6px 0; }
.hp-warn { border-left: 3px solid var(--warn); background: var(--panel2); padding: 6px 10px; border-radius: 0 7px 7px 0; margin: 6px 0; }
.hp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin: 12px 0 6px; }
.hp-tile { display: grid; grid-template-columns: auto 1fr; column-gap: 6px; row-gap: 2px; text-align: left; padding: 9px 10px; border-radius: 9px; }
.hp-tile .hp-ico { grid-row: span 2; font-size: 18px; }
.hp-tile small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.hp-tile:hover { border-color: var(--accent); }
.hp-pager { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.hp-back { margin-bottom: 6px; position: sticky; top: 0; z-index: 1; background: var(--panel2); }
.hp-count { color: var(--muted); margin: 0 0 8px; font-size: 13px; }
.hp-none { color: var(--muted); }
.hp-res { display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left; margin-bottom: 6px; padding: 8px 10px; border-radius: 9px; }
.hp-res:hover { border-color: var(--accent); }
.hp-res-where { font-size: 13px; color: var(--muted); }
.hp-res-where b { color: var(--text); }
.hp-res-snip { font-size: 13px; line-height: 1.45; }
@media (max-width: 700px) {
  .hp-card { height: 94vh; padding: 10px; }
  .hp-body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 8px; }
  .hp-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 6px; }
  .hp-nav button { flex: none; white-space: nowrap; }
}
