/**
 * mtt.css — Presentación local del control de mantenimiento
 * @version 1.1.1
 * @author Equipo ERP
 * @date 2026-10-16
 */
#mttModule .content-header h1 { font-size: 1.45rem; font-weight: 600; }
#mttModule .card-title { font-weight: 600; }
#mttModule label, #mttModule table { font-size: .78rem; }
#mttModule #tblMtt > thead > tr > th { white-space: normal; }
#mttModule #tblMtt > tbody > tr > td { vertical-align: middle; }
#mttModule .mtt-drill-cell { text-align: center; padding: .25rem; }
#mttModule .mtt-drill { padding: .2rem; font-size: 1rem; }
#mttModule .mtt-cell-stack > div { margin-bottom: .15rem; white-space: nowrap; }
#mttModule .mtt-cell-stack > div:last-child { margin-bottom: 0; }
#mttModule .mtt-cell-label { color: #596573; font-size: .7rem; font-weight: 600; }
#mttModule .mtt-value-equipment { font-weight: 600; color: #27384a; }
#mttModule .mtt-frequency { font-size: .78rem; font-weight: 700; padding: .35em .65em; border-radius: .75rem; }
#mttModule .mtt-frequency.badge-primary { background-color: #0056b3; color: #fff; }
#mttModule .mtt-value-current { color: #0056b3; font-weight: 700; }
#mttModule .mtt-value-projected { color: #08756c; font-weight: 700; }
#mttModule .mtt-value-target { color: #6638a5; font-weight: 700; }
#mttModule .mtt-value-overdue { color: #b51f2f; font-weight: 700; }
#mttModule .mtt-value-scheduled { color: #196b30; font-weight: 700; }
#mttModule .mtt-status { white-space: normal; text-align: left; line-height: 1.35; padding: .35em .55em; }
#mttModule #tblMtt > thead > tr > th:nth-child(5) { background: #eaf2fd; color: #174b85; }
#mttModule #tblMtt > thead > tr > th:nth-child(6),
#mttModule #tblMtt > thead > tr > th:nth-child(7) { background: #f0f3f6; color: #465466; }
#mttModule #tblMtt > thead > tr > th:nth-child(8) { background: #e6f4f2; color: #09665f; }
#mttModule #tblMtt > thead > tr > th:nth-child(9) { background: #f0eafa; color: #613791; }
#mttModule .mtt-detail { padding: .75rem; border-left: 3px solid #007bff; background: #f4f8fc; }
#mttModule .mtt-detail h4 { font-size: .85rem; font-weight: 600; margin-bottom: .75rem; }
#mttModule .mtt-detail td { min-width: 80px; white-space: pre-wrap; overflow-wrap: anywhere; }
#mttModule .small-box h3 { font-size: 1.8rem; }
#mttModule .small-box p { font-size: .85rem; }
#mttModule #mttFilters { margin-bottom: .5rem; }
#mttModule #mttDashboard { margin-bottom: .5rem; row-gap: .5rem; }
#mttModule #mttDashboard .small-box { margin-bottom: 0; }
#mttModule .fc-event { cursor: pointer; }
#mttModule #mttHistory td { min-width: 90px; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 767px) {
    #mttModule .content-header h1 { font-size: 1.1rem; }
    #mttModule .fc-header-toolbar { flex-wrap: wrap; gap: .5rem; }
}
