.diagnostic-summary, .diagnostic-result { overflow-wrap: anywhere; }
.diagnostic-result { border: 1px solid #e5e7eb; border-radius: 10px; padding: 1rem; margin: 1rem 0; background: #fff; }
.diagnostic-result h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.diagnostic-result pre { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; max-height: 18rem; overflow: auto; padding: .75rem; border-radius: 6px; background: #f8f9fa; color: #212529; font-size: .875rem; }
.diagnostic-summary ol { padding-left: 1.4rem; }
.diagnostic-result p:last-child { margin-bottom: 0; }
@media (max-width: 575px) {
    #diagnosticTool .tool-action-area { padding: 1rem; }
    #diagnosticTool .tool-btn-group > button { min-height: 44px; }
}
