.pericias-module { gap: 1.25rem; }
.pericias-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.pericias-dialog-head h2 { margin: 0; }
.pericias-dialog-head p { margin: .35rem 0 0; }
.pericias-top-actions, .pericias-row-actions, .pericias-id { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.pericias-indicadores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.pericias-indicador { display: grid; align-content: start; gap: .1rem; padding: 1rem; }
.pericias-indicador strong { font-size: 1.65rem; font-variant-numeric: tabular-nums; }
.pericias-indicador span { font-size: .875rem; }
.pericias-filtros {
  display: grid;
  grid-template-columns: minmax(11rem, 1.35fr) minmax(8rem, .75fr) minmax(11rem, 1fr) max-content;
  align-items: end;
  gap: .75rem;
  margin-bottom: .85rem;
}
.pericias-field { min-width: 0; }
.pericias-field input, .pericias-field select, .pericias-field textarea { width: 100%; min-width: 0; }
.pericias-table { min-width: 48rem; }
.pericias-table th, .pericias-table td { text-align: left; vertical-align: top; }
.pericias-table td:first-child { min-width: 15rem; }
.pericias-table td:nth-child(2) { min-width: 8rem; }
.pericias-table td:nth-child(3) { min-width: 10rem; }
.pericias-table td:last-child { min-width: 8rem; }
.pericias-id { margin-bottom: .25rem; overflow-wrap: anywhere; }
.pericias-id strong { font-variant-numeric: tabular-nums; }
.pericias-row-note { margin-top: .3rem; font-size: .875rem; overflow-wrap: anywhere; }
.pericias-module .pericias-mini { padding: .3rem .55rem; min-height: 1.9rem; font-size: .8rem; }
.pericias-module .pericias-status { display: inline-block; width: fit-content; white-space: normal; }
.pericias-module .pericias-status.bege { color: #714b0b; background: #fff1d5; }
.pericias-module .pericias-status.verde { color: #185947; background: #dbf1e5; }
.pericias-module .pericias-status.laranja { color: #973e26; background: #fbe3db; }
.pericias-module .pericias-status.cinza { color: #374151; background: #e9edf4; }
.pericias-module .pericias-empty { padding: 2rem 1rem; text-align: center; }
.pericias-module .pericias-empty p { margin: .4rem 0 0; }
.pericias-dialog {
  border: 1px solid #dce3e7;
  border-radius: 1rem;
  width: min(100% - 2rem, 30rem);
  max-width: 100%;
  max-height: calc(100dvh - 2rem);
  padding: 1.25rem;
  color: #202e2d;
  background: #fff;
  box-shadow: 0 20px 70px #10292a35;
}
.pericias-dialog::backdrop { background: #11292abb; }
.pericias-dialog-wide { width: min(100% - 2rem, 51rem); }
.pericias-dialog-head { padding-bottom: .85rem; border-bottom: 1px solid #e3e9eb; margin-bottom: 1rem; }
.pericias-form { gap: .9rem; }
.pericias-form p { margin: 0; }
.pericias-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.pericias-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; }
.pericias-conflito { display: grid; gap: .4rem; padding: .75rem; border-radius: .6rem; border: 1px solid #e9dcc5; background: #fffaf2; overflow-wrap: anywhere; }
.pericias-error { color: #942c2c; font-weight: 600; }
.pericias-aviso { background: #fff1d5; color: #714b0b; border-radius: .45rem; padding: .65rem; }
.pericias-resumo-import { padding: .65rem; border-radius: .45rem; background: #edf5f2; }
@media (max-width: 850px) {
  .pericias-filtros { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .pericias-indicadores { gap: .4rem; }
  .pericias-indicador { padding: .55rem; }
  .pericias-indicador span { font-size: .8rem; }
  .pericias-filtros, .pericias-fields { grid-template-columns: 1fr; }
}
