/* Shared by the WebView and browser: bug icon and diagnostics sheet. */
.version-diagnostics {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface-raised);
  color: var(--text-muted);
}
.version-diagnostics .icon { width: 13px; height: 13px; }
.version-diagnostics:active { transform: scale(0.94); }

.diagnostics-sheet { display: grid; gap: 12px; }
.diagnostics-sheet p { color: var(--text-muted); font-size: 12px; line-height: 1.5; }
.diagnostics-preview {
  max-height: 190px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0f0f11;
  color: #bdb6b2;
  font: 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
}
.diagnostics-actions { display: flex; gap: 8px; }
.diagnostics-actions .secondary-button { flex: 1; min-width: 0; }
.diagnostics-actions .primary-button { flex: 2; min-width: 0; min-height: 44px; font-size: 13px; }
