/* MasterPlating V1132 — Plano de Calibração.
   Remove excesso de controles na tela pelo markup; esta folha ajusta apenas a tabela e as ações.
   Não altera o seletor global de colunas de outras tabelas. */
.metro-table-card .metro-table-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  margin-bottom: 12px;
}
.metro-table-card .metro-table-head .mp-section-title {
  margin-bottom: 2px;
}
.metro-table-card .metro-table-head > div > span {
  display: block;
  margin-top: 3px;
  color: #60748d;
  font-size: 11px;
}
.metro-table-card .table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d5e3f3;
  border-radius: 10px;
  background: #fff;
}
.metro-dashboard-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 11.5px !important;
}
.metro-dashboard-table th,
.metro-dashboard-table td {
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}
.metro-dashboard-table th {
  padding: 10px 8px !important;
  white-space: normal !important;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.25;
  vertical-align: middle;
  font-size: 9.5px !important;
  text-overflow: clip !important;
}
.metro-dashboard-table td {
  padding: 12px 8px !important;
  vertical-align: middle;
  line-height: 1.4;
}
.metro-dashboard-table th:nth-child(1), .metro-dashboard-table td:nth-child(1) { width: 6%; }
.metro-dashboard-table th:nth-child(2), .metro-dashboard-table td:nth-child(2) { width: 8%; }
.metro-dashboard-table th:nth-child(3), .metro-dashboard-table td:nth-child(3) { width: 12%; }
.metro-dashboard-table th:nth-child(4), .metro-dashboard-table td:nth-child(4) { width: 12%; }
.metro-dashboard-table th:nth-child(5), .metro-dashboard-table td:nth-child(5) { width: 8%; }
.metro-dashboard-table th:nth-child(6), .metro-dashboard-table td:nth-child(6) { width: 12%; }
.metro-dashboard-table th:nth-child(7), .metro-dashboard-table td:nth-child(7) { width: 15%; }
.metro-dashboard-table th:nth-child(8), .metro-dashboard-table td:nth-child(8) { width: 9%; }
.metro-dashboard-table th:nth-child(9), .metro-dashboard-table td:nth-child(9) { width: 18%; }
.metro-dashboard-table td:nth-child(1),
.metro-dashboard-table td:nth-child(2),
.metro-dashboard-table td:nth-child(4),
.metro-dashboard-table td:nth-child(5),
.metro-dashboard-table td:nth-child(6),
.metro-dashboard-table td:nth-child(8) {
  white-space: nowrap;
  word-break: normal;
  font-variant-numeric: tabular-nums;
}
.metro-dashboard-table td:nth-child(3),
.metro-dashboard-table td:nth-child(7) {
  overflow-wrap: break-word;
  word-break: normal;
}
.metro-row-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  min-width: 0;
  white-space: nowrap !important;
}
.metro-row-actions button {
  flex: 0 0 auto;
  box-sizing: border-box;
  min-height: 34px !important;
  border-radius: 8px !important;
}
.metro-row-actions [data-action="metro-ver-instrumento"] {
  width: 36px !important;
  min-width: 36px !important;
  height: 34px !important;
  padding: 4px !important;
}
.metro-row-actions .metro-calibration-action {
  width: 108px !important;
  min-width: 108px !important;
  max-width: 108px !important;
  height: 34px !important;
  padding: 6px 9px !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 10.5px !important;
  line-height: 1 !important;
}
@media (max-width: 1100px) {
  .metro-dashboard-table { min-width: 980px !important; }
  .metro-table-card .table-wrap { overflow-x: auto !important; }
}
@media (max-width: 650px) {
  .metro-table-card { padding: 12px !important; }
  .metro-dashboard-table { min-width: 920px !important; }
  .metro-dashboard-table th, .metro-dashboard-table td { padding: 9px 7px !important; }
}
