.defect-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}
.defect-count{background:#fff;border:1px solid var(--border);border-radius:0;padding:20px 22px;display:flex;align-items:center;justify-content:space-between}
.defect-count strong{font-size:27px;color:#1b1f3b;display:block;letter-spacing:-.7px}.defect-count span{font-size:11px;color:#667085;display:block;margin-top:6px}
.defect-count i{width:9px;height:9px;background:#d5d9e4;border-radius:50%}
.defect-count i.bad{background:#e4353f}.defect-count i.warn{background:#b98900}.defect-count i.ok{background:#00a870}
.defect-table-title{display:block;font-size:12px;color:#1b1f3b;font-weight:650;margin-bottom:5px;max-width:480px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.defect-table-sub{color:#98a2b3;font-size:10px;display:block}
.status-label.NEEDS_TRIAGE{color:#9a6b11;background:#fff5e2}.status-label.CONFIRMED{color:#b6384b;background:#fceef0}
.status-label.IN_PROGRESS{color:#c92b34;background:#f9fafb}.status-label.REOPENED{color:#b6384b;background:#fceef0}
.status-label.RESOLVED{color:#344054;background:#f4f5f8}.status-label.VERIFIED{color:#15774c;background:#e8f7ee}
.status-label.DISMISSED{color:#667085;background:#f9fafb}
.defect-form .field-label{margin-top:17px}.defect-form .full-field{margin-bottom:8px}
.defect-form .text-area{min-height:85px}
.defect-detail-diagnostic{max-height:155px;overflow:auto;white-space:pre-wrap;word-break:break-word;background:#151934;color:#d5d9e4;padding:13px;border-radius:0;font:10.5px/1.65 Consolas,monospace}
.defect-evidence-image{display:block;width:100%;max-height:220px;object-fit:contain;border:1px solid var(--border);border-radius:0;background:#f9fafb;margin:12px 0}
.defect-drawer-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 10px}
.defect-drawer-actions .button{flex:1}
.defect-annotation{font-size:10.5px;color:#667085;line-height:1.6}
@media(max-width:1000px){.defect-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.defect-summary{gap:8px}.defect-count{padding:14px}.defect-count strong{font-size:24px}}
/* ---------- WS-UI-KAT · Katalon restyle layer ---------- */
.defect-summary{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}
.defect-count{background:#fff;border:1px solid #e7e9f0;border-radius:0;padding:16px 18px;box-shadow:0 1px 3px rgba(16,24,40,.08)}
.defect-count strong{font-size:24px;color:#1b1f3b;letter-spacing:-.8px;font-weight:600}
.defect-count span{font-size:10.5px;color:#667085;text-transform:uppercase;letter-spacing:.6px;font-weight:600;margin-top:4px}
.defect-count i{background:#c3c9d6}
.defect-count i.bad{background:#e4353f}
.defect-count i.warn{background:#b98900}
.defect-count i.ok{background:#00a870}
.defect-table-title{font-size:13px;color:#1b1f3b;font-weight:600}
.defect-table-sub{color:#98a2b3;font-size:11px}
.status-label.NEEDS_TRIAGE{color:#b45309;background:#fdf0e3;border:1px solid #f5ddb9}
.status-label.CONFIRMED{color:#c92b34;background:#feecec;border:1px solid #fbd8d8}
.status-label.IN_PROGRESS{color:#c92b34;background:#feecec;border:1px solid #fbd8d8}
.status-label.REOPENED{color:#c92b34;background:#feecec;border:1px solid #fbd8d8}
.status-label.RESOLVED{color:#667085;background:#f1f3f7;border:1px solid #dfe3ea}
.status-label.VERIFIED{color:#00794f;background:#e6f7f1;border:1px solid #bde9d5}
.status-label.DISMISSED{color:#8a94a6;background:#f1f3f7;border:1px solid #dfe3ea}
.defect-detail-diagnostic{background:#151934;color:#c8cfe8;border-radius:0;font-size:11px}
.defect-evidence-image{border:1px solid #e7e9f0;border-radius:0;background:#f9fafb}
.defect-annotation{font-size:11px;color:#667085}
