/* V1002 — Certificado da Qualidade: mantém identidade visual MasterPlating e tabela densa para seleção de OS. */
.mp-cert-wrap{max-width:1280px;margin:0 auto;padding:8px 0 28px}
.mp-cert-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;padding:18px 20px;border:1px solid var(--border,#d8e2ef);border-left:4px solid #f58212;border-radius:12px;background:var(--surface,#fff)}
.mp-cert-head h2{margin:0 0 5px;font-size:22px;color:var(--text,#17365b)}
.mp-cert-head p{margin:0;color:var(--text-muted,#687b91);font-size:13px}
.mp-cert-panel{background:var(--surface,#fff);border:1px solid var(--border,#d8e2ef);border-radius:12px;padding:18px;margin-bottom:14px}
.mp-cert-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.mp-cert-search{min-width:240px;max-width:420px;width:100%;padding:10px 12px;border:1px solid var(--border,#c8d7e8);border-radius:8px;background:var(--surface,#fff);color:var(--text,#17365b)}
.mp-cert-table-wrap{overflow:auto;border:1px solid var(--border,#d8e2ef);border-radius:8px}
.mp-cert-table{border-collapse:collapse;width:100%;min-width:780px;font-size:13px}
.mp-cert-table th{background:#edf3fa;color:#17365b;text-align:left;font-weight:700;padding:11px 10px;border-bottom:1px solid #cfdaea;white-space:nowrap}
.mp-cert-table td{padding:10px;border-bottom:1px solid #e4ebf4;color:var(--text,#17365b);vertical-align:middle}
.mp-cert-table tr:last-child td{border-bottom:0}
.mp-cert-table tr:hover td{background:#f8fbff}
.mp-cert-pill{display:inline-block;border-radius:999px;padding:4px 9px;background:#e5f5eb;color:#187143;font-weight:700;font-size:11px}
.mp-cert-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
.mp-cert-btn{border:1px solid #c8d7e8;border-radius:8px;padding:10px 15px;font-weight:700;cursor:pointer;background:#fff;color:#1e4c7c}
.mp-cert-btn.primary{background:#f58212;border-color:#f58212;color:#fff}
.mp-cert-btn:disabled{opacity:.45;cursor:not-allowed}
.mp-cert-note{padding:10px 12px;background:#fff8e9;border:1px solid #f3d59a;border-radius:8px;color:#76521a;font-size:12px;line-height:1.5;margin-bottom:12px}
.mp-cert-empty{padding:28px 12px;text-align:center;color:var(--text-muted,#687b91)}
@media(max-width:700px){.mp-cert-head{align-items:flex-start;flex-direction:column}.mp-cert-head h2{font-size:19px}.mp-cert-panel{padding:12px}.mp-cert-search{max-width:none}.mp-cert-actions{flex-direction:column}.mp-cert-btn{width:100%}}
