/* Public Help Center reader. Colors come from the shared Rentari tokens. */
.pr-help-article #main-content { background: var(--surface); color: var(--text); }
.ha-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.ha-search-band { background: var(--surface-tint-2); border-bottom: 1px solid var(--border); }
.ha-search-inner { max-width: 1120px; margin: 0 auto; padding: 25px 24px; display: flex; align-items: center; gap: 48px; }
.ha-home { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; color: var(--text); text-decoration: none; }
.ha-home i { color: var(--brand-deep-purple); font-size: 20px; }
.ha-search { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; padding: 5px 5px 5px 18px; }
.ha-search > i { color: var(--text-muted); }
.ha-search:focus-within { outline: 2px solid var(--btn-action-ring); outline-offset: 2px; }
.ha-search input { flex: 1; min-width: 0; width: 100%; min-height: 46px; border: 0; background: var(--surface); color: var(--text); font-size: 15px; box-shadow: none; }
.ha-search input::placeholder { color: var(--text-muted); }
.ha-search input:focus-visible { outline: none; }
.ha-wrap { max-width: 1120px; margin: 0 auto; padding: 25px 24px 76px; }
.ha-breadcrumbs { margin-bottom: 38px; }
.ha-breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0; padding: 0; list-style: none; }
.ha-breadcrumbs li { display: inline-flex; align-items: baseline; gap: 12px; max-width: 100%; color: var(--text-muted); }
.ha-breadcrumbs li > i { flex-shrink: 0; font-size: 9px; }
.ha-breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.ha-breadcrumbs a:hover, .ha-home:hover { color: var(--brand-deep-purple); text-decoration: underline; text-underline-offset: 4px; }
.ha-breadcrumbs li[aria-current] { color: var(--text); }
.ha-breadcrumbs span { overflow-wrap: anywhere; }
.ha-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(220px, 1fr); gap: 64px; align-items: start; }
.ha-article, .ha-sidebar { min-width: 0; }
.ha-sidebar { align-self: stretch; }
.ha-header { padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.ha-collection-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-tint-2); color: var(--brand-deep-purple); font-size: 21px; margin-bottom: 22px; }
.ha-eyebrow { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text-muted); font-weight: 600; margin: 0 0 9px; }
.ha-h1 { margin: 0 0 14px; color: var(--text); }
.ha-lead { margin: 0; color: var(--text-muted); }
.ha-byline { display: flex; align-items: center; gap: 9px; margin: 22px 0 0; color: var(--text-muted); }
.ha-availability { display:flex; align-items:baseline; flex-wrap:wrap; gap:7px 12px; margin:20px 0 0; padding:13px 15px; border:1px solid var(--border); border-radius:9px; background:var(--surface-canvas); color:var(--text-muted); }
.ha-availability a { color:var(--ai); text-decoration:underline; text-underline-offset:3px; font-weight:600; }
.ha-team-icon { display: grid; place-items: center; width: 27px; height: 27px; flex-shrink: 0; border-radius: 50%; background: var(--surface-canvas); color: var(--brand-deep-purple); font-size: 12px; }
.ha-body { margin-top: 30px; color: var(--text-secondary); overflow-wrap: anywhere; }
.ha-body :is(h2,h3,h4), .ha-step h2 { scroll-margin-top: 120px; color: var(--text); }
.ha-body p { margin: 0 0 18px; }
.ha-body :is(h2,h3) { margin: 32px 0 12px; }
.ha-body :is(ul,ol) { padding-left: 22px; margin: 0 0 20px; }
.ha-body li { margin-bottom: 8px; }
.ha-body a { color: var(--brand-deep-purple); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ha-body strong { color: var(--text); font-weight: 700; }
.ha-body :is(img,video,iframe) { max-width: 100%; }
.ha-body img { height: auto; }
.ha-body pre { max-width: 100%; overflow: auto; }
.ha-body table { max-width: 100%; }
.ha-toc { margin: 24px 0; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-canvas); }
.ha-toc-t { margin-bottom: 12px; font-weight: 600; }
.ha-toc ul { list-style: none; margin: 0; padding: 0; }
.ha-toc a { display: inline-block; padding-block: 6px; }
.ha-steps { margin-top: 32px; }
.ha-step { position: relative; padding: 0 0 32px 49px; }
.ha-step::before { content: ""; position: absolute; left: 16px; top: 39px; bottom: 6px; width: 1px; background: var(--border); }
.ha-step:last-child { padding-bottom: 0; }
.ha-step:last-child::before { display: none; }
.ha-num { position: absolute; left: 0; top: -3px; width: 33px; height: 33px; display: grid; place-items: center; background: var(--surface-tint-2); border: 1px solid var(--border); border-radius: 10px; color: var(--brand-deep-purple); font-weight: 700; }
.ha-step h2 { margin: 0 0 12px; }
.ha-act { margin: 0; color: var(--text-secondary); }
.ha-tip { display: flex; align-items: flex-start; gap: 10px; background: var(--surface-canvas); border: 1px solid var(--border); border-radius: 10px; margin: 16px 0 0; padding: 13px 15px; color: var(--text-muted); }
.ha-tip > i { color: var(--brand-deep-purple); line-height: 22px; }
.ha-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.ha-share-status { margin:12px 0 0; color:var(--text-muted); }
.ha-mobile-toc { display:none; }
.ha-fb { margin-top: 28px; padding: 24px; text-align: center; background: var(--surface-canvas); border: 1px solid var(--border); border-radius: 14px; }
.ha-fb-q { margin: 0 0 15px; }
.ha-fb-buttons { display: flex; justify-content: center; gap: 10px; }
.ha-fb-btn { min-width: 90px; cursor: pointer; }
.ha-fb-btn[aria-pressed="true"] { border-color: var(--action-ink); }
.ha-fb-status { margin: 14px 0 0; color: var(--text-muted); }
.ha-fb[data-state="error"] .ha-fb-status { color: var(--danger); }
.ha-related { margin-top: 36px; }
.ha-related > h2 { margin: 0 0 16px; }
.ha-rel-grid { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.ha-rel { display: flex; align-items: center; gap: 14px; padding: 19px 20px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.ha-rel:last-child { border-bottom: 0; }
.ha-rel:hover { background: var(--surface-canvas); }
.ha-rel:focus-visible { outline-offset: -3px; }
.ha-rel-icon { flex-shrink: 0; color: var(--brand-deep-purple); font-size: 18px; }
.ha-rel-copy { flex: 1; min-width: 0; }
.ha-rel-title { display: block; font-weight: 600; }
.ha-rel-summary { display: block; color: var(--text-muted); margin-top: 4px; }
.ha-rel > i { font-size: 13px; color: var(--text-muted); }
.ha-sidebar-sticky { position: sticky; top: 116px; }
.ha-page-nav { padding: 2px 0 26px 20px; border-left: 1px solid var(--border); }
.ha-page-nav h2 { margin: 0 0 13px; }
.ha-page-nav ol { list-style: none; margin: 0; padding: 0; }
.ha-page-nav li { margin: 0; }
.ha-page-nav a { display: block; position: relative; padding: 10px 0; color: var(--text-muted); text-decoration: none; }
.ha-page-nav a:hover { color: var(--brand-deep-purple); }
.ha-page-nav a[aria-current="location"] { color: var(--brand-deep-purple); font-weight: 600; }
.ha-page-nav a[aria-current="location"]::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: -22px; width: 3px; border-radius: 3px; background: var(--brand-deep-purple); }
.ha-support { margin-top: 24px; padding: 22px 19px; border-radius: 14px; background: var(--surface-tint-2); }
.ha-support-icon { color: var(--brand-deep-purple); font-size: 22px; }
.ha-support h2 { margin: 12px 0 8px; }
.ha-support p { margin: 0 0 17px; color: var(--text-muted); }
.ha-support .pd-secondary { width: 100%; padding-inline: 10px; }
.ha-back { display: inline-flex; align-items: center; gap: 9px; padding-block: 16px; margin-top: 6px; color: var(--text-muted); text-decoration: none; }
.ha-back:hover { color: var(--brand-deep-purple); text-decoration: underline; }
@media (max-width: 900px) {
  .ha-layout { gap: 32px; grid-template-columns: minmax(0, 1fr) 220px; }
  .ha-search-inner { gap: 28px; }
}
@media (max-width: 740px) {
  .ha-search-inner { padding: 18px 20px; flex-wrap: wrap; gap: 10px; }
  .ha-home { min-height: 30px; }
  .ha-search { flex-basis: 100%; gap: 10px; padding-left: 13px; }
  .ha-search input { font-size: 16px; }
  .ha-search .pd-action { padding-inline: 12px; }
  .ha-wrap { padding: 22px 20px 48px; }
  .ha-layout { display: flex; flex-direction: column; gap: 32px; }
  .ha-breadcrumbs { margin-bottom: 28px; }
  .ha-breadcrumbs li[aria-current] { display: none; }
  .ha-article, .ha-sidebar { width: 100%; }
  .ha-sidebar-sticky { position: static; }
  .ha-page-nav { display: none; }
  .ha-mobile-toc { display:block; margin:22px 0; border:1px solid var(--border); border-radius:10px; background:var(--surface-canvas); }
  .ha-mobile-toc > summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:12px 15px; color:var(--text); font-weight:600; cursor:pointer; list-style:none; }
  .ha-mobile-toc > summary::-webkit-details-marker { display:none; }
  .ha-mobile-toc > summary i { font-size:11px; }
  .ha-mobile-toc[open] > summary { border-bottom:1px solid var(--border); }
  .ha-mobile-toc[open] > summary i { transform:rotate(180deg); }
  .ha-mobile-toc ol { list-style:none; margin:0; padding:8px 15px; }
  .ha-mobile-toc li { margin:0; }
  .ha-mobile-toc a { display:block; min-height:44px; padding:11px 0; color:var(--text-muted); text-decoration:none; }
  .ha-mobile-toc a[aria-current="location"] { color:var(--ai); font-weight:600; }
  .ha-support { margin: 0; }
  .ha-support .pd-secondary { width: auto; }
  .ha-collection-icon { margin-bottom: 18px; }
  .ha-step { padding-left: 43px; }
  .ha-rel { padding-inline: 15px; }
  .ha-rel-summary { display: none; }
}
@media print {
  .ha-search-band, .ha-sidebar, .ha-fb, .ha-actions, .ha-article .askai { display: none; }
  .ha-layout { display: block; }
  .ha-wrap { max-width: none; padding: 0; }
}

/* Preserve old numeric section bookmarks below the sticky Help header. */
#ha-content [id^="rh-section-"] { display: block; scroll-margin-top: 120px; }
