/* EQUUSCONTROL CF V23.4 — legibilidade moderada, contraste e importação comercial. */
#appSistema {
    font-family: "Arial Nova", Arial, Helvetica, sans-serif;
    font-size: 15px;
}

#appSistema .menu button,
#appSistema input,
#appSistema select,
#appSistema textarea,
#appSistema button {
    font-family: "Arial Nova", Arial, Helvetica, sans-serif;
}

#appSistema .menu button { font-size: 14px; }
.v233-table { font-size: 13px; }
.v233-table th { font-size: 11.5px; }
.v233-table td small,
.v233-muted { font-size: 11.5px; }
.v233-btn,
.v233-table button,
.v233-table a { font-size: 12.5px; }

.lote4-resumo-animais small { font-size: 11px; }
.lote4-resumo-animais strong { font-size: 17px; }
.lote4-tabs-animais button { font-size: 12px; }
.lote4-toolbar-animais input,
.lote4-toolbar-animais select { font-size: 13px !important; }
.lote4-toolbar-animais button { font-size: 12.5px; }
.lote4-lista-animais > header > span { font-size: 11.5px; }
.lote4-lista-animais {
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 315px);
}
.lote4-scroll-animais {
    flex: 1 1 auto;
    max-height: none !important;
    min-height: calc(100dvh - 385px);
    overflow: auto;
}
.lote4-tabela-animais { font-size: 13px !important; }
.lote4-tabela-animais th { font-size: 11.5px !important; }
.lote4-tabela-animais td { padding: 7px 8px !important; }
.lote4-tabela-animais td small { font-size: 11px; }
.lote4-animal-nome strong { font-size: 13.5px; }
.lote4-status,
.lote4-alerta { font-size: 10.5px; }
.lote4-dossie-btn { font-size: 12px; }

html[data-ec-tema="escuro"] #appSistema,
html[data-ec-tema="escuro"] #appSistema .painel,
html[data-ec-tema="escuro"] #appSistema .v233-card,
html[data-ec-tema="escuro"] #appSistema .v233-table {
    color: #edf4fb;
}
html[data-ec-tema="escuro"] #appSistema p,
html[data-ec-tema="escuro"] #appSistema small,
html[data-ec-tema="escuro"] #appSistema .v233-muted,
html[data-ec-tema="escuro"] #appSistema .lote4-tabela-animais td small {
    color: #b9c9d9 !important;
}
html[data-ec-tema="escuro"] #appSistema h2,
html[data-ec-tema="escuro"] #appSistema h3,
html[data-ec-tema="escuro"] #appSistema strong,
html[data-ec-tema="escuro"] #appSistema .lote4-animal-nome strong,
html[data-ec-tema="escuro"] #appSistema .lote4-tabela-animais td {
    color: #f3f8fd;
}
html[data-ec-tema="escuro"] .lote4-tabela-animais th {
    background: #122a43 !important;
    color: #dce9f5 !important;
}
html[data-ec-tema="escuro"] .lote4-dossie-col { background: #0d2238 !important; }

.v234-importacao-fluxo {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.v234-etapa {
    background: var(--v233-soft);
    border: 1px solid var(--v233-line);
    border-radius: 12px;
    padding: 14px;
}
.v234-etapa strong { display: block; margin-bottom: 5px; }
.v234-etapa p { color: var(--v233-muted); font-size: 12px; min-height: 34px; }
.v234-etapa input { display: block; margin: 9px 0; max-width: 100%; width: 100%; }
.v234-status {
    border-radius: 999px;
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
}
.v234-status.valido,
.v234-status.revisado { background: #dff7ea; color: #067548; }
.v234-status.revisar,
.v234-status.sem-contrato { background: #fff0cc; color: #875400; }
.v234-status.divergente,
.v234-status.erro { background: #ffe2e5; color: #a81020; }
.v234-status.confirmado { background: #dceafe; color: #174f9c; }
.v234-divergencia { color: #a81020; display: block; font-size: 11.5px; max-width: 260px; }
.v234-documento-mapa {
    background: var(--v233-soft);
    border: 1px solid var(--v233-line);
    border-radius: 12px;
    margin-top: 14px;
    overflow: hidden;
}
.v234-documento-mapa > header,
.v234-baixa-contratos {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 12px 14px;
}
.v234-documento-mapa small,
.v234-baixa-contratos small { color: var(--v233-muted); display: block; margin-top: 3px; }
.v234-mapa-mensagem {
    background: var(--v233-soft);
    color: var(--v233-text);
    margin: 0;
    padding: 18px 20px;
}
.v234-documento-mapa iframe {
    background: #fff;
    border: 0;
    border-top: 1px solid var(--v233-line);
    height: min(68vh, 720px);
    width: 100%;
}
.v234-baixa-contratos {
    background: var(--v233-soft);
    border: 1px solid var(--v233-line);
    border-radius: 12px;
    margin: 12px 0;
}
.v234-baixa-contratos > div:last-child { display: flex; flex-wrap: wrap; gap: 7px; }
.v234-selecionar-contrato { height: 17px; width: 17px; }

@media (max-width: 900px) {
    .v234-importacao-fluxo { grid-template-columns: 1fr; }
    .lote4-lista-animais,
    .lote4-scroll-animais { min-height: 420px; }
}
