/* EWGEST v45.5 — telas individuais na central de cadastros */
.cadastrosBack{display:inline-flex;align-items:center;gap:6px;margin:0 0 18px;padding:9px 13px;font-size:13px}
#cadastros .cadastrosGrid{grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:14px;margin-top:5px}
#fornecedoresPage .cadastrosList,#galpoesPage .cadastrosList,#insumosPage .cadastrosList{max-height:none;overflow:visible}
#fornecedoresPage>.section.panel,#galpoesPage>.section.panel,#insumosPage>.section.panel{max-width:1180px}
#insumosPage .cadastrosNovoForm{align-items:flex-end}
#insumosPage .finFormRows{flex:1 1 650px;min-width:0}
#insumosPage .finFormRows>label.hidden{display:none!important}
#materials .materialsSummary{grid-template-columns:repeat(2,minmax(0,1fr));max-width:920px}
#materials .materialTabs.hidden{display:none!important}
#stockManageLocations{white-space:nowrap}
@media(max-width:640px){
 #cadastros .cadastrosGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #cadastros .cadastrosTile{min-height:86px;padding:13px}
 #materials .materialsSummary{grid-template-columns:1fr}
}
@media(max-width:430px){#cadastros .cadastrosGrid{grid-template-columns:1fr}}

/* Unidades de medida — V45.6 */
#unidadesPage .section.panel{max-width:1180px}
#unidadesPage #unidadeForm{display:flex;flex-wrap:wrap;align-items:end;gap:13px}
#unidadesPage #unidadeForm label:first-child{flex:0 1 200px}
#unidadesPage #unidadeForm label:nth-child(2){flex:1 1 280px}
#unidadesPage #unidadeForm input{width:100%}
.unidadeLista{display:grid;gap:8px;margin-top:16px}
.unidadeRow{border:1px solid #dbe5f0;background:#fbfdff;padding:13px 15px;border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.unidadeRow strong{color:#143a62}
.unidadeRow small{background:#edf3fa;color:#62778f;border-radius:6px;padding:4px 6px;font-size:11px;margin-left:7px}
.unidadeRowActions{display:flex;flex-wrap:wrap;gap:8px}
.unidadeRowActions button{font-size:12px;padding:8px 12px}
#unidadeEdicao{max-width:1180px}
@media(max-width:600px){#unidadesPage #unidadeForm label:first-child{flex:1 1 100%}.unidadeRow{align-items:flex-start}}
