/* SIGLAH V5: maquinaria y reportes de fallas; aislado de módulos anteriores */
.ma-wrap{max-width:1180px;margin:0 auto;color:#113455}.ma-top{display:flex;justify-content:space-between;gap:14px;align-items:start;flex-wrap:wrap;margin-bottom:18px}.ma-kicker{font-size:11px;letter-spacing:.11em;font-weight:800;color:#0980c4}.ma-top h2{margin:4px 0 6px;font-size:clamp(22px,3vw,30px);color:#0d3154}.ma-top p{color:#58728c;margin:0;line-height:1.5}.ma-pill{background:#e0f3fc;color:#03659c;border:1px solid #b7e1f5;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800}.ma-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}.ma-tabs button{border-radius:11px;border:1px solid #c2daed;background:#eef6fd;color:#16476b;padding:11px 16px;font-weight:700;cursor:pointer;min-height:44px}.ma-tabs button[aria-selected=true]{background:linear-gradient(125deg,#047bc4,#12619f);color:white;border-color:#0a7cbe}.ma-pane[hidden],.ma-hidden{display:none!important}.ma-card{background:white;border:1px solid #d5e5f1;box-shadow:0 5px 18px rgba(10,65,105,.045);border-radius:17px;padding:20px;margin:14px 0}.ma-card h3{font-size:18px;color:#103c62;margin:0 0 9px}.ma-help{font-size:13px;color:#58738c;line-height:1.55;margin:4px 0 15px}.ma-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}.ma-grid.ma-three{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-field{display:flex;flex-direction:column;gap:6px;min-width:0}.ma-field.ma-wide{grid-column:1/-1}.ma-field label{font-size:12px;font-weight:750;color:#264e6e}.ma-field input,.ma-field select,.ma-field textarea{border-radius:9px;padding:11px 12px;border:1px solid #b8d3e8;min-width:0;width:100%;max-width:none;box-sizing:border-box;font-size:14px;color:#173955;background:#fff}.ma-field textarea{min-height:95px;resize:vertical}.ma-field input:focus,.ma-field select:focus,.ma-field textarea:focus{outline:2px solid #7bc8f5;outline-offset:1px}.ma-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:16px}.ma-button{border:none;border-radius:10px;background:#087cc0;color:white;padding:11px 16px;font-weight:800;cursor:pointer;min-height:43px}.ma-button:hover{background:#09669e}.ma-button:disabled{opacity:.5;cursor:not-allowed}.ma-button.ma-outline{background:#f1f7fc;color:#1a597e;border:1px solid #c2d9eb}.ma-button.ma-danger{background:#a93636}.ma-alert{margin:10px 0;color:#476982;font-size:13px;line-height:1.5}.ma-alert[data-error=true]{color:#af2c35;font-weight:650}.ma-table-wrap{overflow:auto;max-width:100%;border:1px solid #e0ebf4;border-radius:12px}.ma-table{width:100%;border-collapse:collapse;min-width:620px;font-size:13px}.ma-table th{background:#e9f4fc;color:#12446a;text-align:left;padding:11px;white-space:nowrap;position:static}.ma-table td{padding:10px 11px;border-top:1px solid #e0ecf5;vertical-align:top;text-align:left;white-space:normal}.ma-table tr:hover{background:#f6fbff}.ma-table button{border:1px solid #b6d7ec;border-radius:8px;padding:7px 11px;background:white;color:#115983;font-weight:700;cursor:pointer}.ma-badge{display:inline-block;border-radius:999px;background:#e8f3fc;color:#185c85;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap}.ma-badge[data-state=resuelto],.ma-badge[data-state=operativa]{background:#e5f8ec;color:#0d7241}.ma-badge[data-state=fuera_servicio],.ma-badge[data-state=alta]{background:#ffe9e8;color:#a72b37}.ma-badge[data-state=en_revision],.ma-badge[data-state=mantenimiento]{background:#fff4df;color:#965d09}.ma-empty{padding:16px;text-align:center;color:#638096;background:#f5faff;border-radius:10px}.ma-legend{background:#eaf5fe;border-radius:11px;color:#355a76;font-size:12px;line-height:1.5;padding:13px 15px;margin-top:12px}.ma-detail{white-space:pre-wrap;word-break:break-word}.ma-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.ma-count{background:#eef7ff;border:1px solid #d4e8f6;border-radius:12px;padding:13px}.ma-count small{display:block;color:#53758b}.ma-count strong{display:block;color:#0d4974;font-size:25px;margin-top:4px}.ma-details{margin-top:8px;border:1px solid #d9e8f4;border-radius:10px;padding:13px;background:#f7fbff}.ma-details dt{color:#55738b;font-size:12px}.ma-details dd{margin:2px 0 9px;color:#183c5c;white-space:pre-wrap}.ma-details button{margin-right:6px}.ma-inline{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.ma-only-admin{color:#56718b;font-size:12px}.ma-trace{color:#4f728d;font-size:12px;line-height:1.5}
@media(max-width:700px){.ma-card{padding:14px}.ma-grid,.ma-grid.ma-three{grid-template-columns:1fr}.ma-tabs button{flex:1 1 auto}.ma-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.ma-count{padding:9px}.ma-count strong{font-size:19px}.ma-top h2{font-size:24px}.ma-table{min-width:560px}}
