/* Help center (marketing/help_center.py): the public pages and the side panel of the application. */
.help-hero .lead { max-width: 720px; }
.help-search { margin: 18px 0 14px; max-width: 560px; }
.help-search input { width: 100%; min-height: 48px; font-size: 1.05rem; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.help-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.help-role { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-weight: 600; text-decoration: none; }
.help-role:hover { text-decoration: none; border-color: var(--brand); }
.help-role[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.help-home { display: grid; gap: 28px; }
.help-section h2 { font-size: 1.3rem; margin: 0 0 10px; }
.help-section:not(:has(li:not([hidden]))) { display: none; }
.help-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.help-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.help-list li[hidden] { display: none; }
.help-list a { display: block; color: var(--ink); text-decoration: none; }
.help-list a strong { display: block; font-size: 1.05rem; }
.help-list a:hover strong { color: var(--brand-dark); text-decoration: underline; }
.help-list a span { display: block; color: var(--ink-2); margin-top: 2px; }
.help-meta { color: var(--muted); font-size: .88rem; }
.help-empty { color: var(--ink-2); }
.help-article .wrap { max-width: 780px; }
.help-article h1 { margin: 0 0 6px; }
.help-intro { font-size: 1.12rem; color: var(--ink-2); }
.help-steps { counter-reset: step; list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 16px; }
.help-steps > li { counter-increment: step; position: relative; padding-inline-start: 44px; }
.help-steps > li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #1a0b04; font-weight: 800; }
.help-steps > li > p { margin: 3px 0 0; }
.help-shot { margin: 12px 0 0; }
.help-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.help-shot.phone img { max-width: 300px; }
.help-faq h2 { font-size: 1.08rem; margin: 18px 0 4px; }
.help-faq p { margin: 0; color: var(--ink-2); }
.help-box { margin: 18px 0; padding: 12px 16px; border-radius: var(--radius); border-inline-start: 4px solid; }
.help-box p { margin: 4px 0 0; }
.help-tip { background: var(--info-soft); border-color: var(--info); }
.help-warning { background: var(--warn-soft); border-color: var(--warn); }
.help-write p { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; font-size: 1.05rem; }
.help-center-link { margin-top: 0; }

/* Application: the round "?" at the top of five screens, and the side panel it opens */
.help-q { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-inline-end: 8px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-weight: 800; text-decoration: none; vertical-align: middle; }
.help-q:hover, .help-q:focus-visible { border-color: var(--brand); color: var(--brand-dark); text-decoration: none; }
.help-panel { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 60; width: min(440px, 100vw); background: var(--card); color: var(--ink);
  box-shadow: -8px 0 30px rgba(15,23,42,.18); display: flex; flex-direction: column; }
.help-panel[hidden] { display: none; }
.help-panel-bar { display: flex; justify-content: flex-end; padding: 8px; border-bottom: 1px solid var(--line); }
.help-panel-bar button { min-width: 44px; min-height: 44px; font-size: 1.3rem; background: none; border: 0; cursor: pointer; color: var(--ink); }
.help-panel-content { overflow-y: auto; padding: 4px 20px 24px; }
.help-panel-title { margin: 12px 0 4px; font-size: 1.25rem; }
.help-panel .help-steps > li { padding-inline-start: 40px; }
.help-panel-links, .help-panel-write { margin: 16px 0 0; }
.help-panel-write { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.help-backdrop { position: fixed; inset: 0; z-index: 59; background: rgba(15,23,42,.35); }
.help-backdrop[hidden] { display: none; }
