/* Complementos do app real (estados de carregando, erro, campos) */
.carregando { display: grid; place-items: center; gap: 12px; padding: 80px 0; color: var(--ink-3); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--track); border-top-color: var(--accent-text); animation: gira 0.9s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.erro-campo { color: var(--danger); font-size: 13px; font-weight: 700; margin-top: 6px; }
.campo-f .caixa.com-erro { border-color: var(--danger); }
.avatar { display: grid; place-items: center; text-decoration: none; }
.btn:disabled { opacity: .5; cursor: default; }
label.btn, label.camera { cursor: pointer; }
.camera { width: 100%; }
.foto-real { object-fit: cover; background: var(--surface-2); }
.previa-foto { width: 100%; border-radius: var(--r-lg); aspect-ratio: 1 / 1; object-fit: cover; display: block; margin-bottom: 16px; }
.analise .foto { object-fit: cover; }
.analise-espera { margin-top: 10px; }
.titulo-analise { font-family: var(--num); font-size: 26px; margin: 0; font-weight: 600; line-height: 1.1; }
.sub-analise { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.sub-analise b { color: var(--ink); }
.codigo-input { width: 100%; height: 72px; border-radius: 16px; border: 2px solid var(--accent-text); background: var(--surface); text-align: center; font-size: 34px; font-weight: 600; letter-spacing: .25em; outline: none; }
.stepper .campo input { width: 80px; border: 0; background: none; text-align: right; font: inherit; outline: none; padding: 0; }
.hora { border: 1px solid var(--line); background: var(--bg); border-radius: 10px; padding: 8px; font-size: 16px; font-weight: 600; }
.legenda .hach { border: 1.5px solid var(--bar); background-image: repeating-linear-gradient(45deg, var(--bar) 0 2px, transparent 2px 5px); }
.folha .chip { white-space: nowrap; }
.tipo-sel { padding-bottom: 2px; }
.rodape-fixo .btn:disabled { opacity: .55; }
.chip-acao { text-decoration: none; display: inline-block; }
