/* Central de ajuda (frente A, 01/12/2026): hc-* = tela #/ajuda e cartão do Painel · hm-* = texto dos artigos (help-md.js)
   · kg-* = passo a passo na tela (guide.js). Só usa as cores do tema (--brand, --panel, --line…): claro e escuro. */

/* ---------- estrutura ---------- */
.hc { max-width: 1240px; }
.hc-top { margin-bottom: 18px; }
.hc-top .page-h { margin-bottom: 10px; }
.hc-tabsrow { display: flex; align-items: flex-end; gap: 12px; border-bottom: 1px solid var(--line); }
.hc-tabsrow .tabs { border-bottom: 0; flex: 1 1 auto; min-width: 0; padding: 0; }
.hc-mini { flex: 0 1 340px; padding-bottom: 7px; }
.hc-body { min-height: 300px; }
.hc-ci { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--brand-bg); color: var(--brand2); flex: none; }
.hc-ci.sm { width: 28px; height: 28px; border-radius: 8px; }
.hc-ci.lg { width: 46px; height: 46px; border-radius: 13px; }
.hc-ci.lg svg.i { width: 22px; height: 22px; }
.hc-sec { margin: 26px 0 8px; }
.hc-sec-t { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 12px; }
.hc-sec-t svg.i { color: var(--muted); }
.hc-err, .hc-soon { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hc-err > svg.i { color: var(--red2); }
.hc-soon { padding: 22px; }

/* ---------- busca ---------- */
.hc-sbox { position: relative; display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 0 12px; color: var(--muted); transition: border-color .12s, box-shadow .12s; }
.hc-sbox:focus-within { border-color: color-mix(in srgb, var(--brand) 60%, var(--line2)); box-shadow: 0 0 0 3px var(--brand-ring); }
.hc-sbox input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; height: 38px; outline: none; color: var(--text); font-size: 14px; }
.hc-sbox input::-webkit-search-cancel-button { cursor: pointer; }
.hc-sbox kbd { font-size: 11px; color: var(--faint); border: 1px solid var(--line); border-radius: 5px; padding: 0 6px; font-family: var(--font); background: var(--panel2); }
.hc-sbox.lg { border-radius: 14px; padding: 0 16px; box-shadow: 0 10px 30px rgba(8, 12, 30, .18); border-color: transparent; }
.hc-sbox.lg input { height: 54px; font-size: 16px; }
.hc-sbox.lg > svg.i { width: 20px; height: 20px; color: var(--brand2); }
.hc-dd { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 30; max-height: min(460px, 70vh); overflow-y: auto; padding: 6px; text-align: left; color: var(--text); }
.hc-dd[hidden] { display: none; }
.hc-dd-it { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: 9px; cursor: pointer; }
.hc-dd-it:hover, .hc-dd-it.on { background: var(--hover); }
.hc-dd-it b { display: block; font-size: 13.5px; line-height: 1.3; }
.hc-dd-tr { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hc-dd-cat { font-size: 11px; color: var(--faint); white-space: nowrap; padding-top: 2px; }
.hc-dd-none { padding: 12px 10px; color: var(--muted); font-size: 13px; }
.hc-dd-foot { display: flex; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 4px; padding: 6px 4px 2px; }
.hc-dd-foot a, .hc-dd-foot button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--brand2); font-weight: 600; font-size: 12.5px; padding: 6px 8px; border-radius: 7px; cursor: pointer; }
.hc-dd-foot a:hover, .hc-dd-foot button:hover { background: var(--brand-bg); }
mark { background: color-mix(in srgb, var(--brand) 18%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- topo da página inicial ---------- */
.hc-hero { position: relative; border-radius: 18px; overflow: visible; margin-bottom: 18px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(59, 99, 255, .55) 0%, rgba(59, 99, 255, 0) 55%), linear-gradient(135deg, #0e1430 0%, #17215a 60%, #22318a 100%); }
.hc-hero::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 80% at 0% 100%, rgba(142, 168, 255, .18), transparent 60%); }
.hc-hero-in { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 38px 24px 30px; text-align: center; }
.hc-hero h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -.025em; line-height: 1.15; }
.hc-hero p { margin: 8px 0 20px; color: #c7d0ef; font-size: 14.5px; }
.hc-hero .hc-sbox.lg { background: #fff; color: #5b6478; }
.hc-hero .hc-sbox.lg input { color: #0e1430; }
.hc-hero .hc-sbox.lg kbd { background: #f5f6fa; border-color: #e3e6ef; color: #8e96ab; }
:root[data-theme="dark"] .hc-hero .hc-sbox.lg { background: var(--panel); color: var(--muted); }
:root[data-theme="dark"] .hc-hero .hc-sbox.lg input { color: var(--text); }
:root[data-theme="dark"] .hc-hero .hc-sbox.lg kbd { background: var(--panel2); border-color: var(--line); color: var(--faint); }
.hc-sugs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.hc-sugs.left { justify-content: flex-start; margin: 12px 0 18px; }
.hc-sugs button { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #eef1fb; border-radius: 20px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background .12s; }
.hc-sugs button:hover { background: rgba(255, 255, 255, .18); }
.hc-sugs.left button { border-color: var(--line2); background: var(--panel); color: var(--text2); }
.hc-sugs.left button:hover { background: var(--hover); }

/* ---------- Comece por aqui ---------- */
.hc-start { padding: 20px 20px 10px; margin-bottom: 4px; }
.hc-start-h { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.hc-start-h h3 { margin: 0 0 2px; font-size: 17px; font-family: var(--display); font-weight: 800; letter-spacing: -.015em; }
.hc-ring { --p: 0; width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--hover) 0); }
.hc-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--panel); }
.hc-ring span { position: relative; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: -.02em; }
.hc-ring.sm { width: 48px; height: 48px; } .hc-ring.sm::before { inset: 5px; } .hc-ring.sm span { font-size: 12.5px; }
.hc-start.all .hc-ring { background: conic-gradient(var(--green) 100%, var(--hover) 0); }
.hc-bar { height: 6px; border-radius: 6px; background: var(--hover); margin-top: 10px; overflow: hidden; max-width: 420px; }
.hc-bar i { display: block; height: 100%; background: var(--brand); border-radius: 6px; transition: width .3s; }
.hc-grp { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 12px 0 4px; }
.hc-steps { display: flex; flex-direction: column; }
.hc-steps-d summary { cursor: pointer; color: var(--brand2); font-weight: 600; font-size: 13px; padding: 4px 0 10px; }
.hc-step { display: flex; gap: 12px; padding: 12px 10px; border-radius: 12px; border: 1px solid transparent; margin: 0 -10px; }
.hc-step + .hc-step { border-top-color: transparent; }
.hc-step.next { background: color-mix(in srgb, var(--brand) 5%, var(--panel)); border-color: var(--brand-line); }
.hc-sn { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 12.5px; border: 2px solid var(--line2); color: var(--muted); background: var(--panel); }
.hc-step.next .hc-sn { border-color: var(--brand); color: var(--brand2); }
.hc-step.done .hc-sn { background: var(--green); border-color: var(--green); color: #fff; }
.hc-step.done .hc-st { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 45%, transparent); }
.hc-st { font-weight: 650; font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hc-next { font-size: 10.5px; font-weight: 700; color: var(--brand2); background: var(--brand-bg); border-radius: 20px; padding: 1px 8px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.hc-sa { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hc-step.done .hc-sa { margin-top: 4px; }

/* ---------- categorias e listas ---------- */
.hc-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; }
.hc-cat { display: flex; flex-direction: column; gap: 5px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); box-shadow: var(--shadow-sm); transition: border-color .12s, transform .12s, box-shadow .12s; }
.hc-cat:hover { border-color: var(--brand-line); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(14, 20, 48, .08); }
.hc-cat .hc-ci { margin-bottom: 4px; }
.hc-cat b { font-size: 14.5px; }
.hc-cat .small { line-height: 1.4; }
.hc-n { margin-top: auto; padding-top: 6px; font-size: 11.5px; font-weight: 600; color: var(--brand2); }
.hc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; align-items: start; }
.hc-two > *, .hc-lib > *, .hc-art > *, .hc-pn > * { min-width: 0; }
.hc-two:empty { display: none; }
.hc-list { display: flex; flex-direction: column; }
.hc-li { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 9px; margin: 0 -8px; }
.hc-li:hover { background: var(--hover); }
.hc-li > * { min-width: 0; }
.hc-li b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.hc-li .small { display: block; }
.hc-li .pill svg.i { width: 12px; height: 12px; }
.hc-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding: 18px 20px; border-radius: var(--r2); border: 1px dashed var(--brand-line); background: color-mix(in srgb, var(--brand) 4%, var(--panel)); }
.hc-cta b { font-size: 14.5px; }

/* ---------- resultados ---------- */
.hc-res-h h3 { margin: 4px 0 4px; font-size: 18px; font-family: var(--display); font-weight: 800; letter-spacing: -.015em; }
.hc-results { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.hc-r { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); transition: border-color .12s; }
.hc-r:hover { border-color: var(--brand-line); }
.hc-r > svg.i { color: var(--faint); }
.hc-r b { display: block; font-size: 15px; margin: 1px 0 3px; }
.hc-r-cat { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.hc-r-tr { display: block; font-size: 13px; color: var(--text2); line-height: 1.45; }

/* ---------- Artigos (índice) ---------- */
.hc-lib { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: start; }
.hc-nav-cats { position: sticky; top: 8px; display: flex; flex-direction: column; gap: 2px; }
.hc-nav-cats a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; color: var(--text2); font-weight: 600; font-size: 13px; }
.hc-nav-cats a svg.i { color: var(--muted); width: 16px; height: 16px; }
.hc-nav-cats a:hover { background: var(--hover); }
.hc-nav-cats a.on { background: var(--brand-bg); color: var(--brand2); }
.hc-nav-cats a.on svg.i { color: var(--brand2); }
.hc-nav-cats .n { font-size: 11px; color: var(--faint); font-weight: 700; }
.hc-lib-h { margin-bottom: 14px; }
.hc-csec { margin-bottom: 26px; }
.hc-csec-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.hc-csec-h h3 { margin: 0; font-size: 16px; font-weight: 750; }
.hc-alist { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; }
.hc-a { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.hc-a:last-child { border-bottom: 0; }
.hc-a:hover { background: var(--panel2); }
.hc-a b { display: block; font-size: 14px; font-weight: 650; margin-bottom: 2px; }
.hc-a .small { display: block; line-height: 1.4; }
.hc-a-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.hc-a-tags .pill svg.i { width: 12px; height: 12px; }

/* ---------- artigo ---------- */
.hc-art { display: grid; grid-template-columns: 220px minmax(0, 780px); gap: 34px; align-items: start; }
.hc-side { position: sticky; top: 8px; display: flex; flex-direction: column; gap: 14px; }
.hc-toc { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.hc-toc-t { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); padding: 0 0 8px 12px; }
.hc-toc a, .hc-toc-m a { display: block; padding: 5px 0 5px 12px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: 13px; line-height: 1.35; }
.hc-toc a.l3, .hc-toc-m a.l3 { padding-left: 24px; font-size: 12.5px; }
.hc-toc a:hover { color: var(--text); }
.hc-toc a.on { color: var(--brand2); border-left-color: var(--brand); font-weight: 600; }
.hc-side-acts { display: flex; flex-direction: column; gap: 8px; }
.hc-side-acts .btn { justify-content: flex-start; }
.hc-side-ask { display: flex; align-items: center; gap: 8px; border: 1px solid var(--brand-line); background: var(--brand-bg); color: var(--brand2); border-radius: 10px; padding: 9px 12px; font-weight: 600; font-size: 13px; cursor: pointer; text-align: left; }
.hc-side-ask:hover { background: color-mix(in srgb, var(--brand) 22%, transparent); }
.hc-main { min-width: 0; }
.hc-crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.hc-crumb a { color: var(--brand2); font-weight: 600; }
.hc-crumb a:hover { text-decoration: underline; }
.hc-h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.15; letter-spacing: -.025em; }
.hc-lead { margin: 10px 0 12px; font-size: 16px; color: var(--text2); line-height: 1.55; }
.hc-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.hc-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.hc-meta svg.i { width: 14px; height: 14px; }
.hc-actbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--panel); }
.hc-toc-m { display: none; margin: 14px 0 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--panel); }
.hc-toc-m summary { cursor: pointer; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.hc-fb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--panel); }
.hc-fb-q { font-weight: 700; margin-right: 6px; }
.hc-fb.open { align-items: flex-start; }
.hc-fb textarea { width: 100%; margin: 8px 0 10px; resize: vertical; }
.hc-fb-ok { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; }
.hc-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.hc-pn a { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--panel); }
.hc-pn a:hover { border-color: var(--brand-line); }
.hc-pn a.nx { text-align: right; align-items: flex-end; }
.hc-pn a span { display: inline-flex; align-items: center; gap: 4px; }
.hc-pn b { font-size: 13.5px; }
.hc-rel { margin-top: 26px; }

/* ---------- texto do artigo (Markdown da ajuda) ---------- */
.hm { font-size: 15px; line-height: 1.7; color: var(--text2); margin-top: 22px; }
.hm > :first-child { margin-top: 0; }
.hm p { margin: 0 0 14px; }
.hm h2 { font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--text); margin: 34px 0 12px; line-height: 1.25; scroll-margin-top: 12px; }
.hm h3 { font-size: 16.5px; font-weight: 750; color: var(--text); margin: 24px 0 8px; scroll-margin-top: 12px; }
.hm h4 { font-size: 14.5px; font-weight: 700; color: var(--text); margin: 18px 0 6px; }
.hm strong { color: var(--text); font-weight: 650; }
.hm a { color: var(--brand2); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand2) 35%, transparent); text-underline-offset: 2px; }
.hm a:hover { text-decoration-color: currentColor; }
.hm a.hm-guia { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; background: var(--brand-bg); border: 1px solid var(--brand-line); border-radius: 20px; padding: 1px 10px 1px 8px; font-size: 13.5px; }
.hm a.hm-guia::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.hm a.hm-ext::after { content: '↗'; font-size: .85em; margin-left: 2px; }
.hm code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; background: var(--hover); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--text); }
.hm .hm-pre { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-x: auto; margin: 0 0 14px; }
.hm .hm-pre code { border: 0; background: none; padding: 0; font-size: 13px; }
.hm hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.hm-btn { display: inline-flex; align-items: center; padding: 0 8px; height: 23px; border: 1px solid var(--line2); border-radius: 6px; background: var(--panel); color: var(--text); font-size: 12.5px; font-weight: 650; line-height: 1; vertical-align: 1px; box-shadow: 0 1px 0 var(--line2); white-space: nowrap; }
.hm-path { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; vertical-align: 1px; }
.hm-sep { color: var(--faint); font-weight: 700; }
.hm ul.hm-ul { margin: 0 0 14px; padding-left: 22px; }
.hm ul.hm-ul li { margin: 4px 0; }
.hm ul.hm-ul li::marker { color: var(--brand); }
.hm ol.hm-steps { list-style: none; margin: 4px 0 16px; padding: 0; }
.hm ol.hm-steps > li { display: flex; gap: 14px; position: relative; padding-bottom: 14px; }
.hm ol.hm-steps > li:not(:last-child)::before { content: ''; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--line); border-radius: 2px; }
.hm .hm-n { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 13px; font-family: var(--display); position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--bg); margin-top: 1px; }
.hm .hm-li { flex: 1; min-width: 0; padding-top: 2px; }
.hm .hm-li > :last-child { margin-bottom: 0; }
.hm .hm-lt { margin-bottom: 6px; }
.hm .hm-li .hm-fig { margin-top: 10px; }
.hm .hm-fig { margin: 6px 0 18px; }
.hm .hm-fig img, .hm img.hm-img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(14, 20, 48, .08); cursor: zoom-in; background: var(--panel); }
.hm p img.hm-img, .hm .hm-lt img.hm-img { display: block; margin: 10px 0; }
.hm .hm-fig figcaption { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 8px; }
.hm .hm-noimg { color: var(--muted); font-style: italic; }
.hm .hm-tbl { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 10px; }
.hm table { border-collapse: collapse; width: 100%; font-size: 13.5px; line-height: 1.5; }
.hm th { background: var(--panel2); color: var(--text); font-weight: 700; text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.hm td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hm tr:last-child td { border-bottom: 0; }
.hm .hm-call { border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; border: 1px solid; }
.hm .hm-call-t { display: flex; align-items: center; gap: 7px; font-weight: 750; font-size: 13px; margin-bottom: 4px; }
.hm .hm-call-b > :last-child { margin-bottom: 0; }
.hm .hm-call-b { font-size: 14.5px; }
.hm .hm-ic { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hm .hm-dica { background: var(--green-bg); border-color: color-mix(in srgb, var(--green) 30%, transparent); }
.hm .hm-dica .hm-call-t { color: var(--green); }
.hm .hm-atencao { background: var(--amber-bg); border-color: color-mix(in srgb, var(--amber) 35%, transparent); }
.hm .hm-atencao .hm-call-t { color: var(--amber); }
.hm .hm-exemplo { background: var(--purple-bg); border-color: color-mix(in srgb, var(--purple) 30%, transparent); }
.hm .hm-exemplo .hm-call-t { color: var(--purple); }
.hm .hm-nota { background: var(--blue-bg); border-color: color-mix(in srgb, var(--blue) 30%, transparent); }
.hm .hm-nota .hm-call-t { color: var(--blue); }
.hm .hm-quote { margin: 0 0 16px; padding: 4px 0 4px 14px; border-left: 3px solid var(--line2); color: var(--muted); }
.hm .hm-h { margin-top: 12px; }

/* imagem ampliada */
.hc-zoom { position: fixed; inset: 0; z-index: 92; background: rgba(8, 12, 30, .82); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; animation: fade .12s; }
.hc-zoom figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hc-zoom img { max-width: 100%; max-height: calc(100vh - 90px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff; }
.hc-zoom figcaption { color: #e6e9f5; font-size: 13px; text-align: center; }
.hc-zoom-x { position: absolute; top: 14px; right: 18px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* ---------- cartão do Painel ---------- */
.hc-home { margin-bottom: 14px; padding: 16px 18px 8px; border-color: var(--brand-line); background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 5%, var(--panel)), var(--panel) 70%); }
.hc-home-h { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
.hc-home-h h3 { margin: 0 0 2px; font-size: 16px; font-family: var(--display); font-weight: 800; letter-spacing: -.015em; }
.hc-home-steps { display: flex; flex-direction: column; }
.hc-home .hc-step { padding: 10px; }

/* ---------- passo a passo na tela ---------- */
.kg-shade { position: fixed; z-index: 88; background: rgba(8, 12, 30, .56); left: 0; top: 0; width: 0; height: 0; }
.kg-ring { position: fixed; z-index: 88; border-radius: 10px; pointer-events: none; box-shadow: 0 0 0 3px var(--brand), 0 0 0 8px rgba(59, 99, 255, .28); animation: kgPulse 1.6s ease-in-out infinite; }
@keyframes kgPulse { 50% { box-shadow: 0 0 0 3px var(--brand), 0 0 0 13px rgba(59, 99, 255, .12); } }
.kg-tip { position: fixed; z-index: 89; width: min(350px, calc(100vw - 24px)); background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(8, 12, 30, .35); padding: 14px 16px 12px; font-size: 14px; line-height: 1.5; }
.kg-tip.kg-shake { animation: kgShake .35s; }
@keyframes kgShake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.kg-arrow { position: absolute; width: 14px; height: 14px; background: var(--panel); border: 1px solid var(--line); transform: rotate(45deg); }
.kg-arrow.a-baixo { top: -8px; border-right: 0; border-bottom: 0; }
.kg-arrow.a-cima { bottom: -8px; border-left: 0; border-top: 0; }
.kg-arrow.a-direita { left: -8px; border-top: 0; border-right: 0; }
.kg-arrow.a-esquerda { right: -8px; border-bottom: 0; border-left: 0; }
.kg-in { position: relative; }
.kg-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.kg-count { font-size: 11.5px; font-weight: 700; color: var(--brand2); text-transform: uppercase; letter-spacing: .05em; }
.kg-dots { display: flex; gap: 4px; flex: 1; }
.kg-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line2); }
.kg-dots i.done { background: color-mix(in srgb, var(--brand) 45%, var(--line2)); }
.kg-dots i.on { background: var(--brand); width: 16px; border-radius: 4px; }
.kg-x { margin-left: auto; border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; width: 28px; height: 28px; border-radius: 7px; cursor: pointer; }
.kg-x:hover { background: var(--hover); color: var(--text); }
.kg-t { font-weight: 750; font-size: 15px; margin-bottom: 2px; }
.kg-body p { margin: 0 0 6px; color: var(--text2); }
.kg-body .hm-btn { display: inline-flex; align-items: center; padding: 0 7px; height: 21px; border: 1px solid var(--line2); border-radius: 6px; background: var(--panel2); font-size: 12px; font-weight: 650; white-space: nowrap; }
.kg-body .hm-path { display: inline-flex; gap: 4px; align-items: center; }
.kg-body .hm-sep { color: var(--faint); }
.kg-miss { font-size: 12.5px; color: var(--amber); background: var(--amber-bg); border-radius: 8px; padding: 6px 9px; margin: 4px 0 6px; }
.kg-link { border: 0; background: transparent; color: var(--brand2); font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; }
.kg-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.kg-b { height: 32px; padding: 0 14px; border-radius: 8px; font-weight: 650; font-size: 13px; cursor: pointer; border: 1px solid var(--line2); background: var(--panel); color: var(--text); }
.kg-b.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.kg-b.primary:hover { background: var(--brand-hover); }
.kg-b.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.kg-b.ghost:hover { background: var(--hover); color: var(--text); }
.kg-b[disabled] { opacity: .4; pointer-events: none; }
.kg-done { text-align: center; padding: 6px 0 2px; }
.kg-ok { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; margin: 2px auto 8px; }
.kg-done .kg-acts { justify-content: center; }

/* a fileira de abas da ajuda rola só de lado (1 px a mais de altura fazia aparecer uma barra de rolagem em pé) */
.hc-tabs { overflow-x: auto; overflow-y: hidden; }

/* gaveta de ajuda encaixada ao lado (body.kh-dock): a área do meio fica estreita mesmo em tela larga, então a página vira uma coluna */
@media (max-width: 1500px) {
  body.kh-dock .hc-art { grid-template-columns: minmax(0, 1fr); }
  body.kh-dock .hc-side { display: none; }
  body.kh-dock .hc-toc-m { display: block; }
  body.kh-dock .hc-two, body.kh-dock .hc-lib, body.kh-dock .hc-pn { grid-template-columns: minmax(0, 1fr); }
  body.kh-dock .hc-nav-cats { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  body.kh-dock .hc-nav-cats a { flex: none; border: 1px solid var(--line); background: var(--panel); padding: 6px 10px; }
  body.kh-dock .hc-nav-cats a .n { display: none; }
}

/* ---------- celular e telas médias ---------- */
@media (max-width: 1100px) {
  .hc-art { grid-template-columns: minmax(0, 1fr); }
  .hc-side { display: none; }
  .hc-toc-m { display: block; }
}
@media (max-width: 820px) {
  .hc-top .page-h .sub { display: none; }
  .hc-tabsrow { flex-direction: column; align-items: stretch; gap: 8px; }
  .hc-mini { flex: none; padding-bottom: 10px; order: -1; }
  .hc-hero-in { padding: 26px 16px 22px; }
  .hc-hero h2 { font-size: 23px; }
  .hc-sbox.lg input { height: 48px; font-size: 15px; }
  .hc-sbox kbd { display: none; }
  .hc-two { grid-template-columns: 1fr; }
  .hc-lib { grid-template-columns: 1fr; }
  .hc-nav-cats { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .hc-nav-cats a { flex: none; border: 1px solid var(--line); background: var(--panel); padding: 6px 10px; }
  .hc-nav-cats a .n { display: none; }
  .hc-a { flex-direction: column; align-items: stretch; gap: 8px; }
  .hc-a-tags { justify-content: flex-start; }
  .hc-h1 { font-size: 24px; }
  .hc-lead { font-size: 15px; }
  .hm { font-size: 14.5px; }
  .hc-pn { grid-template-columns: 1fr; }
  .hc-start { padding: 16px 14px 6px; }
  .hc-step { margin: 0 -6px; padding: 10px 6px; }
  .hc-cta { flex-direction: column; align-items: flex-start; }
  .hc-dd-cat { display: none; }
}

/* ---------- Plataforma › Central de ajuda (help-admin.js) ---------- */
.hca-sub { margin-bottom: 14px; }
.hca-sub .n.red { color: var(--red2); }
.hca-card { padding: 0; overflow: hidden; }
.hca-filters { padding: 12px 14px; border-bottom: 1px solid var(--line); gap: 10px; }
.hca-filters input[type=search] { flex: 1 1 260px; min-width: 200px; }
.hca-filters select { flex: 0 1 220px; }
.hca-card .tblw { margin: 0; }
.hca-tbl td { vertical-align: middle; }
.hca-off td { opacity: .62; }
.hca-fb { border-bottom: 1px solid var(--line); padding: 2px 0; }
.hca-fb summary { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 9px 0; list-style: none; }
.hca-fb summary::-webkit-details-marker { display: none; }
.hca-fb .pill svg.i { width: 12px; height: 12px; }
.hca-com { border-left: 3px solid var(--line2); padding: 4px 0 4px 10px; margin: 6px 0; font-size: 13px; }
.hca-note { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--blue-bg); color: var(--text2); font-size: 13px; margin-bottom: 12px; }
.hca-note svg.i { color: var(--blue); }
.hca-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.hca-form { display: flex; flex-direction: column; gap: 12px; }
.hca-tools { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; border-top: 1px solid var(--line); }
.hca-md { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6; min-height: 380px; resize: vertical; }
.hca-help summary { cursor: pointer; color: var(--brand2); font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.hca-help p { margin: 6px 0; color: var(--text2); }
.hca-prev { position: sticky; top: 8px; max-height: calc(100vh - 140px); overflow-y: auto; }
.hca-prev-t { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin-bottom: 12px; }
.hca-prev .hc-h1 { font-size: 24px; }
.hca-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.hca-img { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 6px; cursor: pointer; text-align: left; color: var(--text2); }
.hca-img:hover { border-color: var(--brand-line); }
.hca-img img { width: 100%; height: 110px; object-fit: cover; object-position: top; border-radius: 6px; background: var(--panel2); }
@media (max-width: 1100px) { .hca-grid { grid-template-columns: 1fr; } .hca-prev { position: static; max-height: none; } }
