/* V3 Help & demo page (public/js/help.js). Odoo tokens only. */
.hp-lead { margin: 0 16px 12px; color: var(--odoo-secondary); }
.hp-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; padding: 0 16px 24px; align-items: start; }
.hp-toc { position: sticky; top: 62px; padding: 8px; max-height: calc(100vh - 80px); overflow-y: auto; }
.hp-toc ol { list-style: none; margin: 0; padding: 0; }
.hp-toc a { display: block; padding: 5px 10px; border-radius: var(--odoo-radius); color: var(--odoo-body-color); text-decoration: none; font-size: var(--odoo-fs-small); line-height: 19px; }
.hp-toc a:hover { background: var(--odoo-gray-200); color: var(--odoo-link-hover); }
.hp-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hp-card[hidden], .hp-none[hidden] { display: none; }
.hp-card { scroll-margin-top: 62px; }
.hp-card .card-b { overflow: visible; }
.hp-who { color: var(--o-muted); font-size: 12px; font-weight: 500; background: var(--odoo-gray-200); border-radius: var(--odoo-radius-pill); padding: 2px 10px; }
.hp-card p { margin: 0 0 10px; line-height: 21px; }
.hp-demo { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; margin: 4px 0 14px; }
.hp-demo:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.hp-fig { margin: 0; border: 1px solid var(--odoo-border-color); border-radius: var(--odoo-radius-lg); overflow: hidden; background: var(--odoo-light); }
.hp-fig img { display: block; width: 100%; height: auto; }
.hp-fig figcaption { padding: 6px 12px; font-size: 12px; color: var(--o-muted); background: var(--odoo-gray-100); border-top: 1px solid var(--odoo-border-color); }
.hp-steps { counter-reset: hp; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hp-steps li { counter-increment: hp; position: relative; padding: 2px 0 2px 36px; min-height: 28px; line-height: 21px; }
.hp-steps li::before { content: counter(hp); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--odoo-primary); color: var(--odoo-light); font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.hp-list { margin: 0 0 10px; padding-left: 20px; line-height: 21px; }
.hp-list li { margin: 3px 0; }
.hp-t { width: 100%; border-collapse: collapse; margin: 4px 0 12px; }
.hp-t th, .hp-t td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: .67px solid var(--odoo-border-color); line-height: 20px; }
.hp-t th { background: var(--odoo-gray-100); color: var(--odoo-gray-700); font-weight: 500; }
.hp-t td:first-child { white-space: nowrap; font-weight: 500; color: var(--odoo-heading-color); }
.hp-faq dt { font-weight: 500; color: var(--odoo-heading-color); margin-top: 12px; }
.hp-faq dd { margin: 3px 0 0; color: var(--odoo-body-color); line-height: 21px; }
.hp-none { text-align: center; color: var(--o-muted); padding: 24px; }
@media (max-width: 991.98px) {
  .hp-wrap { grid-template-columns: 1fr; }
  .hp-toc { position: static; max-height: none; }
  .hp-toc ol { display: flex; flex-wrap: wrap; gap: 4px; }
  .hp-demo { grid-template-columns: 1fr; }
  .help-cp .hp-search { flex: 1 1 100%; width: auto; order: 5; }
  .hp-t td:first-child { white-space: normal; }
}
@media print { .help-cp, .hp-toc { display: none; } .hp-fig img { max-width: 60%; } }
