/* Tutorial: letra grande, alto contraste, um assunto por vez. */
.ajuda { --ajuda-escala: 1; max-width: 860px; padding-top: 1.5rem; padding-bottom: 3rem; }
.ajuda-topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.ajuda-ferramentas { display: flex; gap: .5rem; }
.ajuda-ferramentas .btn { min-width: 48px; min-height: 48px; font-weight: 700; }

.ajuda-progresso { margin-bottom: 1rem; }
.ajuda-progresso-texto { font-weight: 700; margin-bottom: .35rem; font-size: calc(1.05rem * var(--ajuda-escala)); }
.ajuda-progresso .progress { height: 14px; border-radius: 999px; background: #E3EEFC; }
.ajuda-progresso .progress-bar { background: var(--ms-blue); transition: width .25s ease; }
@media (prefers-reduced-motion: reduce) { .ajuda-progresso .progress-bar { transition: none; } }

.ajuda-passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.passo { background: #fff; border: 3px solid var(--ms-ink); border-radius: 20px; padding: 1.3rem 1.4rem; box-shadow: 8px 8px 0 var(--ms-yellow);
  font-size: calc(1.2rem * var(--ajuda-escala)); line-height: 1.55; }
.passo[hidden] { display: none; }
.passo-cabeca { display: flex; align-items: center; gap: .9rem; margin-bottom: .7rem; }
.passo-icone { flex: none; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--ms-blue); color: #fff; display: grid; place-items: center; font-size: 1.7rem; }
.passo-titulo { font-family: "Fredoka", sans-serif; font-size: calc(1.6rem * var(--ajuda-escala)); line-height: 1.15; margin: 0; color: var(--ms-blue-dark, #0A4FA8); }
.passo-titulo:focus { outline: none; }
.passo-num { color: var(--ms-ink); }
.passo-intro { font-weight: 600; margin-bottom: .6rem; }
.passo-acoes { margin: 0; padding-left: 1.4rem; display: grid; gap: .6rem; }
.passo-acoes li::marker { color: var(--ms-blue); font-weight: 700; }

/* "botão" desenhado dentro do texto */
.tecla { display: inline-block; padding: .02em .55em; border: 2px solid var(--ms-blue); border-radius: 999px; background: #EEF5FF; color: var(--ms-blue-dark, #0A4FA8);
  font-weight: 700; font-size: .92em; white-space: nowrap; }

.ajuda-nav { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center; margin-top: 1.4rem; }
.ajuda-nav .btn { min-height: 56px; padding-inline: 1.6rem; font-size: 1.15rem; }
.ajuda:not(.com-js) .ajuda-nav { justify-content: flex-end; }
.ajuda-fim[hidden] { display: none; }
.ajuda-pular { text-align: center; margin-top: 1rem; }
@media (max-width: 575.98px) {
  .passo { padding: 1rem 1rem; box-shadow: 5px 5px 0 var(--ms-yellow); }
  .ajuda-nav .btn { flex: 1 1 auto; }
  .ajuda-nav .ajuda-fim { flex: 1 1 100%; } .ajuda-nav .ajuda-fim .btn { width: 100%; }
}

/* faixa de ajuda no painel */
.ajuda-faixa { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 3px solid var(--ms-ink); border-radius: 16px;
  background: #FFFBD6; color: var(--ms-ink); text-decoration: none; }
.ajuda-faixa > i { font-size: 2.2rem; color: var(--ms-blue); }
.ajuda-faixa > span:nth-of-type(1) { flex: 1 1 240px; font-size: 1.1rem; }
.ajuda-faixa:hover, .ajuda-faixa:focus-visible { background: #FFF3A0; }


/* onde fica / o que precisa antes */
.passo-onde { background: #EEF5FF; border-radius: 12px; padding: .5rem .8rem; margin-bottom: .8rem; }
.passo-onde i { color: var(--ms-blue); }
.passo-abrir { margin: 1rem 0 0; }
.passo-abrir .btn { min-height: 52px; font-size: 1.05rem; }

.precisa { border-radius: 14px; padding: .8rem 1rem; margin-bottom: .9rem; border: 2px solid #C9B300; background: #FFF8D6; }
.precisa-titulo { font-size: 1.05em; font-weight: 700; margin: 0 0 .5rem; font-family: inherit; }
.precisa-titulo i { color: #8A6D00; }
.precisa-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.precisa-lista li { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.precisa-lista li::before { content: "•"; color: #8A6D00; font-weight: 700; }

/* mapa do sistema */
.mapa { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; gap: .6rem; grid-template-columns: 1fr; }
.mapa a { display: flex; gap: .8rem; align-items: center; padding: .7rem .9rem; border: 2px solid #9DB6D4; border-radius: 14px; text-decoration: none; color: var(--ms-ink); background: #fff; }
.mapa a:hover, .mapa a:focus-visible { background: #EEF5FF; border-color: var(--ms-blue); }
.mapa i { font-size: 1.8rem; color: var(--ms-blue); flex: none; }
.mapa span { display: flex; flex-direction: column; line-height: 1.3; }
.mapa small { font-size: .78em; color: #444; }
@media (min-width: 768px) { .mapa { grid-template-columns: repeat(2, 1fr); } }

/* ordem certa das coisas */
.comece { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.comece-item { border: 2px solid #9DB6D4; border-radius: 14px; padding: .8rem 1rem; background: #fff; }
.comece-item p { margin: 0 0 .5rem; font-size: .88em; line-height: 1.45; }
.comece-cabeca { display: flex; align-items: center; gap: .6rem; margin-bottom: .3rem; }
.comece-marca { display: inline-grid; place-items: center; min-width: 2em; height: 2em; border-radius: 50%; background: var(--ms-blue); color: #fff; font-weight: 700; flex: none; }
.comece-titulo { font-size: 1.05em; }
.comece-onde i { color: var(--ms-blue); }
.comece-faltam { font-weight: 600; }

@media print {
  .ajuda .passo { box-shadow: none; border-width: 1px; break-inside: avoid; margin-bottom: .6rem; }
  .ajuda-ferramentas, .ajuda-nav, .ajuda-progresso, .ajuda-pular { display: none !important; }
}
