/* ── Mantenimiento ─────────────────────────────────────── */
.mt-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.mt-kpis { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.mt-kpi {
  display: flex; flex-direction: column; align-items: center; min-width: 120px; flex: 1 1 120px;
  padding: 10px 14px; background: var(--p1); border: 1px solid var(--bd); border-radius: var(--r2);
}
.mt-kpi-val { font-size: 22px; font-weight: 800; font-family: var(--font-mono); color: var(--tx); line-height: 1.1; }
.mt-kpi-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--m3); text-align: center; }
.mt-kpi--warn .mt-kpi-val { color: #c2410c; }
.mt-kpi--alert .mt-kpi-val { color: var(--rd); }
.mt-body { display: flex; flex-direction: column; gap: 8px; }
.mt-falla-name { font-size: 13px; color: var(--tx); }
.mt-falla-tipo { font-size: 10.5px; color: var(--m1); }
.mt-days { color: var(--rd); font-weight: 600; }
.mt-venc { color: var(--rd); font-weight: 700; }
.mt-modal {
  background: var(--p1); border-radius: var(--r2); width: min(620px, 94vw); max-height: 90vh;
  display: flex; flex-direction: column; box-shadow: 0 12px 40px rgba(0,0,0,.28);
}
.mt-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; border-bottom: 1px solid var(--bd); font-weight: 700; color: var(--tx);
}
.mt-modal-body { padding: 14px 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.mt-modal-foot { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 16px; border-top: 1px solid var(--bd); }
.mt-field { display: flex; flex-direction: column; gap: 4px; }
.mt-field label, .mt-field--row label { font-size: 11px; font-weight: 600; color: var(--m1); display: block; margin-bottom: 3px; }
.mt-field--row { flex-direction: row; gap: 10px; }
.mt-field--row > div { flex: 1; min-width: 0; }
.mt-check { font-size: 12px; color: var(--tx); display: flex; gap: 6px; align-items: center; }
.mt-report-count { font-size: 12px; color: var(--m1); }
.mt-err { color: var(--rd); font-size: 12px; font-weight: 600; }
@media (max-width: 720px) {
  .mt-field--row { flex-direction: column; }
  .mt-kpi { min-width: 46%; }
}
