/* Progresso na família da conversa: superfície calma, evidências em palavras
   e controles explícitos. Nenhuma regra alcança a versão legada ou a voz. */
.progresso {
  width: 100%; max-width: 1080px; min-width: 0; margin-inline: auto;
  display: grid; gap: 28px; padding: 30px 20px calc(var(--nav-space,100px) + 36px);
  color: var(--ui-text); font-family: "Segoe UI",system-ui,sans-serif;
}
.progresso h1,.progresso h2,.progresso h3,.progresso p { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.progresso-intro { display: grid; gap: 10px; min-width: 0; }
.progresso-intro h1 { font-size: clamp(1.6875rem,4vw,2.125rem); line-height: 1.2; font-weight: 650; letter-spacing: -.035em; }
.progresso-intro > p:last-child { color: var(--ui-muted); font-size: .9375rem; line-height: 1.5; }
.progresso .progresso-eyebrow { color: var(--ui-muted); font-size: .6875rem; line-height: 1.5;
  font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.progresso-card,.progresso-habilidade,.progresso-vazio { min-width: 0; display: grid; align-content: start;
  gap: 16px; padding: 22px; border: 1px solid var(--ui-border); border-radius: 22px; background: var(--ui-surface); }
.progresso-card > p { color: var(--ui-muted); font-size: .875rem; line-height: 1.6; }
.progresso-principal,.progresso-grid { min-width: 0; display: grid; gap: 16px; grid-template-columns: minmax(0,1fr); }
.progresso-nivel { background: linear-gradient(145deg,var(--ui-soft),var(--ui-surface)); }
.progresso-nivel__topo,.progresso-section__titulo,.progresso-habilidade__topo { min-width: 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 14px; }
.progresso-nivel h2 { font-size: 1.5625rem; line-height: 1.3; letter-spacing: -.025em; font-weight: 650; }
.progresso-contagem { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px;
  padding-top: 16px; border-top: 1px solid var(--ui-border); }
.progresso-contagem strong { font-size: 1.5rem; line-height: 1.3; font-weight: 650; font-variant-numeric: tabular-nums; }
.progresso-contagem span { min-width: 0; color: var(--ui-muted); font-size: .8125rem; line-height: 1.5; overflow-wrap: anywhere; }
/* Nível único (05/10/2026): sem nível em cima, a contagem é o cartão todo. */
.progresso-nivel--pratica .progresso-contagem { padding-top: 0; border-top: 0; }
.progresso-nivel--pratica .progresso-contagem strong { font-size: 2rem; }
.progresso-link { min-width: 0; max-width: 100%; min-height: 48px; padding: 4px 0;
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; color: var(--ui-brand);
  font-size: .8125rem; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.progresso-link .icon,.progresso-botao .icon { width: 20px; height: 20px; flex: none; }
.progresso-section { display: grid; gap: 14px; min-width: 0; }
.progresso-section h2,.progresso-fortes h2 { font-size: 1.125rem; line-height: 1.4; letter-spacing: -.02em; font-weight: 600; }
.progresso .progresso-section__nota { color: var(--ui-muted); font-size: .8125rem; line-height: 1.65; }
.progresso-status { max-width: 100%; min-width: 0; padding: 4px 9px; border-radius: 8px;
  color: var(--ui-brand); background: var(--ui-soft); font-size: .6875rem; font-weight: 600;
  line-height: 1.5; overflow-wrap: anywhere; }
.progresso-status--forte { color: var(--ui-positive); background: var(--ui-positive-soft); }
.progresso-habilidade { gap: 10px; }
.progresso-habilidade__topo { align-items: start; }
.progresso-habilidade h3 { font-size: 1rem; line-height: 1.5; font-weight: 600; flex: 1 1 140px; }
.progresso-habilidade .progresso-habilidade__meta,.progresso .progresso-tendencia { color: var(--ui-muted); font-size: .75rem; line-height: 1.6; }
.progresso-tendencia { display: flex; align-items: baseline; gap: 8px; }
.progresso-tendencia > span { color: var(--ui-brand); flex: none; }
.progresso-exemplo { display: grid; gap: 10px; padding: 14px; margin-top: 4px;
  border-radius: 14px; border: 1px solid var(--ui-border); background: var(--ui-bg); min-width: 0; }
.progresso-exemplo .progresso-exemplo__rotulo,.progresso-exemplo__sugestao > span { color: var(--ui-muted); font-size: .6875rem; line-height: 1.5; }
.progresso-exemplo .progresso-exemplo__antes { color: var(--ui-muted); font-size: .8125rem; line-height: 1.65; white-space: pre-line; }
.progresso-exemplo__sugestao { display: grid; gap: 5px; }
.progresso-exemplo__sugestao > p { color: var(--ui-text); font-size: .875rem; line-height: 1.65; white-space: pre-line; }
.progresso-fortes .progresso-section__titulo { justify-content: start; flex-wrap: nowrap; }
.progresso-arte { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px;
  color: var(--ui-brand); background: var(--ui-soft); }
.progresso-arte .icon { width: 24px; height: 24px; }
.progresso-fortes__lista { display: grid; gap: 15px; min-width: 0; }
.progresso-habilidade--forte { border: 0; background: transparent; padding: 0; border-radius: 0; }
.progresso-habilidade--forte + .progresso-habilidade--forte { padding-top: 15px; border-top: 1px solid var(--ui-border); }
.progresso-areas { gap: 20px; }
.progresso-area { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto;
  gap: 10px 16px; align-items: center; }
.progresso-area__nome { min-width: 0; font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.progresso-area__valor { grid-column: 2; grid-row: 1; font-size: .8125rem; line-height: 1.5;
  color: var(--ui-muted); font-variant-numeric: tabular-nums; }
.progresso-area__sem { color: var(--ui-muted); font-size: .75rem; line-height: 1.5; text-align: right; overflow-wrap: anywhere; }
.progresso-area__barra { grid-column: 1 / -1; min-width: 0; height: 7px; border-radius: 8px; background: var(--ui-raised); overflow: hidden; }
.progresso-area__barra > span { display: block; height: 100%; background: var(--ui-brand); border-radius: inherit; }
.progresso-botao { max-width: 100%; min-width: 0; min-height: 48px; display: inline-flex; align-items: center;
  justify-content: center; gap: 10px; justify-self: start; padding: 12px 18px; border: 1px solid var(--ui-border);
  border-radius: 14px; background: var(--ui-surface); color: var(--ui-text); text-decoration: none;
  font-size: .875rem; line-height: 1.5; font-weight: 600; text-align: center; overflow-wrap: anywhere; }
.progresso-botao--primary { color: white; background: var(--ui-button); border-color: var(--ui-button); }
.progresso-vazio { padding: 28px; gap: 16px; justify-items: start; }
.progresso-vazio h2 { font-size: 1.25rem; line-height: 1.4; font-weight: 600; }
.progresso-vazio > p { color: var(--ui-muted); font-size: .9375rem; line-height: 1.65; }
/* Etapa 3 de usabilidade: hierarquia Material 3 com ícone, nome e apoio.
   São links de rota, com aria-current, não um tablist. O contorno permanece
   visível também na opção inativa; seleção tem indicador além da cor. */
.progresso-pagina { min-width: 0; }
.progresso-abas { width: 100%; max-width: 1080px; margin: 0 auto; padding: 8px 20px 0;
  display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0,1fr)); font-family: "Segoe UI",system-ui,sans-serif; }
.progresso-pagina[data-aba="conversas"] .progresso-abas { max-width: 960px; }
.progresso-aba { position: relative; display: grid; justify-items: center; align-content: start;
  gap: 4px; min-width: 0; min-height: 88px; padding: 12px 8px 16px;
  border: 1px solid var(--ui-control-border); border-radius: 16px;
  color: var(--ui-text); background: var(--ui-surface);
  font-size: .9375rem; line-height: 1.4; text-align: center; text-decoration: none;
  overflow-wrap: anywhere; }
.progresso-aba__icone { display: grid; place-items: center; color: var(--ui-muted); }
.progresso-aba__icone .icon { width: 22px; height: 22px; }
.progresso-aba strong { font-size: inherit; font-weight: 650; }
.progresso-aba small { max-width: 100%; color: var(--ui-muted); font-size: .75rem; line-height: 1.45; }
.progresso-aba:hover { background: var(--ui-raised); }
.progresso-aba[aria-current="page"],.progresso-aba[aria-current="page"]:hover {
  color: var(--ui-brand); background: var(--ui-soft); border-color: var(--ui-brand); }
.progresso-aba[aria-current="page"] .progresso-aba__icone { color: var(--ui-brand); }
.progresso-aba[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 5px;
  width: 32px; height: 3px; border-radius: 3px; background: var(--ui-brand);
  transform: translateX(-50%); }
.progresso-aba:focus-visible { outline: 3px solid var(--ui-brand); outline-offset: 3px; }
.progresso button:focus-visible,.progresso a:focus-visible { outline: 3px solid var(--ui-brand); outline-offset: 3px; }
@media(min-width:700px) {
  .progresso { padding-inline: 36px; }
  .progresso-pagina[data-aba="ingles"] .progresso-abas { padding-inline: 36px; }
  .progresso-principal,.progresso-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .progresso-principal--vazio { grid-template-columns: minmax(0,1fr); }
  .progresso-area { grid-template-columns: minmax(0,1fr) minmax(0,1.4fr) auto; }
  .progresso-area__barra { grid-column: 2; grid-row: 1; }
  .progresso-area__valor { grid-column: 3; }
  .progresso-area__sem { grid-column: 2 / -1; }
}
@media(max-width:600px) {
  .progresso { padding: 24px 16px calc(var(--nav-space,100px) + 28px); gap: 24px; }
  .progresso-abas { padding-inline: 16px; }
  .progresso-card,.progresso-habilidade { padding: 19px; border-radius: 20px; }
  .progresso-habilidade--forte { padding: 0; border-radius: 0; }
  .progresso-vazio { padding: 22px; }
}
/* IELTS no Progresso (etapa 7.4, 06/10/2026): bandas estimadas por módulo ao
   longo do tempo e a geral quando as quatro existem. Sem biblioteca de
   gráfico: SVG próprio, na cor da marca, com rótulo acessível por série. */
.progresso-ielts__grade { min-width: 0; display: grid; gap: 16px; grid-template-columns: minmax(0,1fr); }
.progresso-ielts__modulo { min-width: 0; display: grid; align-content: start; gap: 8px;
  padding: 18px; border: 1px solid var(--ui-border); border-radius: 20px; background: var(--ui-surface); }
.progresso-ielts__topo { min-width: 0; display: flex; align-items: baseline;
  justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; }
.progresso-ielts__topo h3 { font-size: .9375rem; line-height: 1.4; font-weight: 600; }
.progresso-ielts__valor { color: var(--ui-brand); font-size: 1.25rem; line-height: 1.3;
  font-weight: 650; font-variant-numeric: tabular-nums; }
.progresso-ielts__meta { color: var(--ui-muted); font-size: .75rem; line-height: 1.6; overflow-wrap: anywhere; }
.progresso-ielts__vazio { color: var(--ui-muted); font-size: .8125rem; line-height: 1.6; }
.progresso-ielts__grafico { display: block; width: 100%; height: 34px; color: var(--ui-brand); }
.progresso-ielts__grafico polyline { fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linejoin: round; stroke-linecap: round; }
.progresso-ielts__grafico circle { fill: currentColor; }
.progresso-ielts__geral { min-width: 0; display: grid; gap: 6px; padding: 18px 20px;
  border: 1px solid var(--ui-border); border-radius: 20px;
  background: linear-gradient(145deg,var(--ui-soft),var(--ui-surface)); }
.progresso-ielts__geralValor { color: var(--ui-brand); font-size: 1.75rem; line-height: 1.2;
  font-weight: 650; font-variant-numeric: tabular-nums; }
@media(min-width:700px) {
  .progresso-ielts__grade { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
