/*
 * Tela Início do Gerium e estado vazio (Fase 2). Só `var(--...)` de tokens.css:
 * nenhuma cor escrita à mão (guarda de design). Carregado por layout/gerium.html.
 */
.gi-pagina { max-width: 1100px; margin: 0 auto; }
.gi-cabeca { display: flex; justify-content: space-between; align-items: baseline; gap: var(--esp-3); flex-wrap: wrap; margin-bottom: var(--esp-4); }
.gi-cabeca h1 { margin: 0; font-size: var(--fs-xl); font-weight: 800; color: var(--tinta); }
.gi-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--esp-4); margin-bottom: var(--esp-4); }
.gi-grade .ds-cartao { margin-bottom: 0; }
.gi-rotulo { font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--tinta-suave); margin: 0 0 var(--esp-2); }
.gi-numero { font-size: var(--fs-xl); font-weight: 800; line-height: 1.15; color: var(--tinta); text-decoration: none; display: block; overflow-wrap: anywhere; }
.gi-numero:hover { color: var(--accent-dark); }
.gi-negativo { color: var(--erro); }
.gi-linhas { list-style: none; margin: var(--esp-3) 0 0; padding: 0; }
.gi-linhas li { display: flex; justify-content: space-between; align-items: center; gap: var(--esp-3); padding: var(--esp-2) 0; border-top: 1px solid var(--linha); font-size: var(--fs-sm); }
.gi-linhas a { color: var(--tinta); text-decoration: none; font-weight: 700; display: flex; justify-content: space-between; gap: var(--esp-3); width: 100%; min-width: 0; }
.gi-linhas a:hover { color: var(--accent-dark); }
.gi-linhas .gi-valor { font-variant-numeric: tabular-nums; white-space: nowrap; }
.gi-atraso { color: var(--erro); }
.gi-ajuda { margin: var(--esp-2) 0 0; font-size: var(--fs-sm); color: var(--tinta-suave); line-height: 1.5; }
.gi-mais { margin-top: var(--esp-3); font-size: var(--fs-sm); font-weight: 700; }
.gi-mais a { color: var(--accent-dark); text-decoration: none; }

/* Primeiro uso */
.gi-passos { margin-bottom: var(--esp-4); }
.gi-passos-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--esp-3); margin-bottom: var(--esp-3); }
.gi-passos-topo h2 { margin: 0; font-size: var(--fs-lg); font-weight: 800; color: var(--tinta); }
.gi-barra { height: 8px; border-radius: var(--raio-pill); background: var(--fundo-suave); overflow: hidden; margin-bottom: var(--esp-4); }
.gi-barra > span { display: block; height: 100%; background: var(--accent); border-radius: var(--raio-pill); }
.gi-passo { display: flex; gap: var(--esp-3); padding: var(--esp-3) 0; border-top: 1px solid var(--linha); align-items: flex-start; }
.gi-passo-n { flex: 0 0 28px; height: 28px; border-radius: var(--raio-pill); display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-sm); font-weight: 800; background: var(--fundo-suave); color: var(--tinta-suave); }
.gi-passo.feito .gi-passo-n { background: var(--sucesso-fundo); color: var(--sucesso); }
.gi-passo.proximo .gi-passo-n { background: var(--accent); color: var(--superficie); }
.gi-passo-corpo { flex: 1 1 0; min-width: 0; }
.gi-passo-titulo { font-weight: 800; color: var(--tinta); margin: 0; }
.gi-passo.feito .gi-passo-titulo { color: var(--tinta-suave); text-decoration: line-through; }
.gi-passo-acoes { display: flex; flex-wrap: wrap; gap: var(--esp-2); margin-top: var(--esp-2); }
.gi-dispensar { margin: 0; }
.gi-dispensar button { border: 0; background: none; color: var(--tinta-suave); font: inherit; font-size: var(--fs-sm); text-decoration: underline; cursor: pointer; padding: 0; }

/* Estado vazio único das telas do Gerium */
.gv-vazio { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--esp-3); padding: var(--esp-6) var(--esp-4); }
.gv-vazio > i { font-size: var(--fs-2xl); color: var(--accent); background: var(--accent-light); width: 64px; height: 64px; border-radius: var(--raio-pill); display: inline-flex; align-items: center; justify-content: center; }
.gv-vazio-frase { margin: 0; max-width: 420px; color: var(--tinta-suave); font-size: var(--fs-md); line-height: 1.5; }

@media (max-width: 600px) {
    .gi-passos-topo { flex-direction: column; }
}
