.lote{margin:24px 0;padding:20px 24px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.lote>:last-child{margin-bottom:0}.lote .field{margin-bottom:12px}.lote-texto{display:block;width:100%;min-height:10rem;padding:10px 12px;font:inherit;font-family:var(--font-mono,ui-monospace,monospace);font-size:.875rem;line-height:1.6;border:1px solid var(--border-strong,var(--border));border-radius:8px;background:var(--bg);color:var(--text);resize:vertical}.lote-arquivo{display:block;width:100%;max-width:100%;font:inherit;font-size:.875rem}.lote-resumo:empty,.lote-estimativa:empty{display:none}.lote-resumo,.lote-estimativa{margin:12px 0;padding:12px 14px;border-radius:8px;background:var(--surface-2,var(--bg))}.lote-resumo p,.lote-estimativa p{margin:0 0 6px}.lote-resumo p:last-child,.lote-estimativa p:last-child{margin:0}.lote-contagem{display:flex;flex-wrap:wrap;gap:4px 16px}.lote-contagem .ok strong{color:var(--emerald,#15803d)}.lote-contagem .ruim strong{color:var(--danger,#b91c1c)}.lote-aviso{color:var(--amber-ink,inherit);font-size:.875rem}.lote-invalidos{margin-top:8px;font-size:.875rem}.lote-invalidos ul{margin:8px 0 0;padding-left:20px;max-height:14rem;overflow-y:auto;overflow-wrap:anywhere}.lote-colunas{margin:16px 0}.lote-colunas legend{font-weight:600;font-size:.9375rem;margin-bottom:8px}.lote-grade{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:6px 16px}.lote-grade .check{font-size:.875rem}.lote-acoes{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0 0}.lote-sessao{margin:8px 0 0}.lote-progresso{margin:16px 0 0}.lote-progresso progress{display:block;width:100%;height:12px;accent-color:var(--amber)}.lote-progresso p{margin:6px 0 0}.lote-alerta{margin:16px 0 0}.lote-alerta a{white-space:normal}.lote-saida{margin:16px 0 0}.lote-saida .lote-acoes{margin:0 0 12px}.lote-previa{max-height:28rem;overflow:auto}.lote-previa caption{text-align:left;padding:10px 14px;font-size:.8125rem;color:var(--text-muted);caption-side:top}.lote-previa th,.lote-previa td{padding:8px 10px;font-size:.8125rem;white-space:nowrap;max-width:22rem;overflow:hidden;text-overflow:ellipsis}@media (max-width:479px){.lote{padding:16px}.lote-acoes .btn{flex:1 1 auto}}