.nav a { color: #1976d2; text-decoration: none; }
fieldset { margin-top: 12px; padding: 10px; border: 1px solid #ddd; }
fieldset legend { padding: 0 6px; font-weight: 600; }
fieldset label { display: block; margin: 4px 0; }
table#inventory-table { width: 100%; border-collapse: collapse; }
table#inventory-table th, table#inventory-table td { padding: 6px; border-bottom: 1px solid #eee; text-align: left; }
.confidence-high { background: #c8e6c9; }
.confidence-low {
  background: #fff9c4;
  border: 1px solid #f9a825;
}
.confidence-none { background: #fff; }
.needs-input {
  background: #ffcdd2;
  border: 2px solid #d32f2f;
  font-weight: 600;
}
.needs-input::placeholder {
  color: #b71c1c;
  font-weight: 600;
  opacity: 0.85;
}
#output-packet { background: #f5f5f5; padding: 12px; border-radius: 4px; min-height: 80px; white-space: pre-wrap; }
.subtle { color: #666; font-size: 0.9em; margin-bottom: 8px; }
#normalize-diff { margin-top: 12px; }
#normalize-diff table { width: 100%; border-collapse: collapse; }
#normalize-diff th, #normalize-diff td { padding: 6px; border-bottom: 1px solid #eee; text-align: left; vertical-align: middle; }
#normalize-diff td.old-name { color: #555; font-family: monospace; font-size: 0.9em; }
#normalize-diff td.old-name a { color: #1a73e8; text-decoration: none; }
#normalize-diff td.old-name a:hover { text-decoration: underline; }
#normalize-diff td.new-name { font-family: monospace; font-size: 0.85em; }
#normalize-diff td.new-name input { width: 100%; font-family: monospace; font-size: 0.85em; padding: 2px 4px; }
#normalize-diff td.confidence { text-align: right; }
#normalize-diff tr.skip td { opacity: 0.4; }
#normalize-diff tr.error td { background: #ffebee; }

/* v1.6: convert/quality/bonzo panels reuse the normalize-diff styles */
#convert-diff { margin-top: 12px; }
#convert-diff table { width: 100%; border-collapse: collapse; }
#convert-diff th, #convert-diff td { padding: 6px; border-bottom: 1px solid #eee; text-align: left; vertical-align: middle; }
#convert-diff td.old-name { color: #888; font-family: monospace; font-size: 0.85em; }
#convert-diff td.new-name { font-family: monospace; font-size: 0.85em; }
#convert-diff tr.skip td { opacity: 0.4; }
#convert-diff tr.error td { background: #ffebee; }
#convert-diff td.action-cell { text-align: center; }

.warning-banner { background: #fff8e1; border-left: 4px solid #ffb300; padding: 10px 12px; margin-bottom: 10px; border-radius: 4px; }

#quality-result table { width: 100%; border-collapse: collapse; }
#quality-result th, #quality-result td { padding: 6px; border-bottom: 1px solid #eee; text-align: left; vertical-align: middle; }
#quality-result tr.passed td { background: #e8f5e9; }
#quality-result tr.warning td { background: #fff8e1; }
#quality-result tr.failed td { background: #ffebee; }
#quality-result tr.skipped td { color: #888; }

#bonzo-result pre { background: #f5f5f5; padding: 8px; border-radius: 4px; max-height: 240px; overflow: auto; font-size: 0.8em; }
