/* Styles of p-moderation.js only. Shared pieces live in style.css. */
.md-danger { border-color: color-mix(in srgb, var(--destructive) 45%, var(--border)); }
.card-h.md-ch { padding-bottom: 12px; }
.md-orange { color: #f97316; }
.md-alerts { list-style: none; margin: 0; padding: 0; }
.md-alerts li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.md-alerts li:first-child { border-top: 0; padding-top: 0; }
.md-alerts li > svg { margin-top: 3px; }
.md-al-r { flex: none; text-align: right; }
.md-excerpt { white-space: pre-line; font-size: 13px; overflow-wrap: anywhere; }

/* filter row: search grows, selects keep their width; stacks on phones */
.md-filters { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) auto auto; }
.md-filters select { width: 190px; }
.md-flat { border: 0; border-top: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); }
.md-msg { max-width: 320px; min-width: 160px; font-size: 13px; overflow-wrap: anywhere; }
.md-link:hover { color: var(--primary); }
.md-acts { justify-content: flex-end; flex-wrap: nowrap; }
.md-sev { display: inline-flex; align-items: center; gap: 4px; border-radius: 99px; padding: 2px 8px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.md-sev.critical { background: color-mix(in srgb, var(--destructive) 10%, transparent); color: var(--destructive); }
.md-sev.warning { background: color-mix(in srgb, var(--warning) 10%, transparent); color: var(--warning); }
td.md-none { height: 112px; text-align: center; }
td.md-none svg { display: block; margin: 0 auto 8px; }
.md-pager { padding: 12px 24px; border-top: 1px solid var(--border); }
#md-tabs .badge { margin-left: 2px; }

@media (max-width: 760px) {
  .md-filters { grid-template-columns: minmax(0, 1fr); }
  .md-filters select { width: 100%; }
}
@media (max-width: 640px) { .md-pager { padding: 12px 16px; } }
