/* Resumo do jogo (prefixo rs-). Mesma fonte, cores, raios e botões da tela de revisão. */

.rs-raiz {
  box-sizing: border-box;
  height: 100%;
  overflow-y: auto;
  background: #fff;
  color: #111;
  font-family: Geist, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.005em;
}
.rs-raiz *,
.rs-raiz *::before,
.rs-raiz *::after { box-sizing: border-box; }
.rs-raiz :focus { outline: none; }
.rs-raiz :focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.rs-raiz h1,
.rs-raiz h2,
.rs-raiz h3,
.rs-raiz h4,
.rs-raiz p,
.rs-raiz ul,
.rs-raiz ol,
.rs-raiz li { margin: 0; padding: 0; }
.rs-raiz ul,
.rs-raiz ol { list-style: none; }
.rs-raiz button { font-family: inherit; cursor: pointer; }

.rs-coluna {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 24px 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.rs-topo { display: flex; align-items: center; }
.rs-titulo {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.rs-rotulo {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
}
.rs-subrotulo {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 6px;
}
.rs-mono { font-family: 'Geist Mono', monospace; font-weight: 500; }

/* Cabeçalho: contagens e barra */
.rs-resumo { display: flex; flex-direction: column; gap: 14px; }
.rs-barra {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: #e6e6e6;
}
.rs-barra span { height: 100%; min-width: 0; }
.rs-barra-ok { background: #1a7f4b; }
.rs-barra-adj { background: #a86a12; }
.rs-barra-redo { background: #c0392b; }
.rs-contagens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.rs-cabecalho { display: flex; flex-direction: column; gap: 16px; }
.rs-contagem {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px 16px;
  border: 1px solid #ececec;
  border-radius: 10px;
}
.rs-contagem-rot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #555;
}
.rs-contagem-num {
  font-family: 'Geist Mono', monospace;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color: #111;
}
.rs-guia {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-size: 12px;
  color: #555;
}
.rs-guia-item { display: inline-flex; align-items: center; gap: 6px; }

/* Selos de status: sempre com símbolo, nunca só cor */
.rs-selo {
  width: 14px;
  height: 14px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.rs-selo-ok { background: #1a7f4b; }
.rs-selo-adj { background: #a86a12; }
.rs-selo-redo { background: #c0392b; font-size: 10px; }
.rs-selo-pend { border: 1.5px solid #8f8f8f; }
.rs-selo-rotulo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #111;
  white-space: nowrap;
}

/* Botões: principal preto (como o Aprovar do protótipo, em grafite) e secundário com borda */
.rs-botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.rs-botao:hover { background: #2b2b2b; }
.rs-botao-sec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #8f8f8f;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 500;
}
.rs-botao-sec:hover { background: #fafafa; }
.rs-botao-pequeno {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
}

/* Estados: vazio, parcial, concluído e aprovado */
.rs-estado {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  background: #fafafa;
}
.rs-estado-titulo {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.rs-estado-texto { font-size: 14px; line-height: 1.5; color: #111; }
.rs-comando {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  padding: 2px 6px;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  background: #fff;
}
.rs-estado-sucesso {
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  background: #fff;
}
.rs-estado-sucesso > svg { color: #1a7f4b; }

/* Lista de problemas */
.rs-problemas { display: flex; flex-direction: column; gap: 14px; }
.rs-lista { display: flex; flex-direction: column; gap: 12px; }
.rs-cartao {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  background: #fff;
}
.rs-cartao-clicavel { cursor: pointer; }
.rs-cartao-clicavel:hover { border-color: #8f8f8f; }
.rs-miniatura {
  display: block;
  width: 72px;
  height: auto;
  border: 1px solid #ececec;
  border-radius: 2px;
}
.rs-cartao-corpo { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rs-cartao-topo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.rs-faixa { width: 8px; height: 8px; border-radius: 4px; flex-shrink: 0; }
.rs-cartao-titulo {
  flex: 1 1 200px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.rs-cartao-abrir { margin-left: auto; }

.rs-comentarios { display: flex; flex-direction: column; gap: 6px; }
.rs-comentarios li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #ececec;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #111;
}
.rs-numero {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rs-versao { color: #555; }

.rs-testes { display: flex; flex-direction: column; gap: 6px; }
.rs-teste {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  border: 1px solid #ececec;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
}
.rs-teste-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.rs-teste-rotulo { font-weight: 600; color: #111; }
.rs-teste-grupo { font-size: 12px; color: #555; }
.rs-teste-linha { color: #111; }
.rs-rotulo-linha { color: #555; }
.rs-motivo {
  font-size: 12px;
  font-weight: 600;
  color: #111;
  padding: 1px 8px;
  border: 1px solid #8f8f8f;
  border-radius: 999px;
  white-space: nowrap;
}

.rs-nao-marcados {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #111;
}
