/* Aspira — de-duplicate page titles (pairs with dedupe-title.js). Rollback: remove the 2 tags in index.html. */
html:not(#mvt-x) .mvt-hide { display: none !important; }
html:not(#mvt-x) .mvt-hide + * { margin-top: 0 !important; }

/* Findings Manager / Remediation Plans: header row becomes a slim action row —
   muted one-line description on the left, actions right-aligned. */
html[data-mvt-dedupe]:not(#mvt-x) .mvt-slim {
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  gap: 16px !important; min-height: 0 !important;
  padding: 14px 28px 0 !important;
  background: transparent !important; border-bottom: 0 !important; box-shadow: none !important;
}
html[data-mvt-dedupe]:not(#mvt-x) .mvt-slim > div:first-child { min-width: 0 !important; flex: 1 1 auto !important; }
html[data-mvt-dedupe]:not(#mvt-x) .mvt-slim .mvt-sub {
  margin: 0 !important; font-size: 13px !important; line-height: 20px !important;
  color: hsl(var(--muted-foreground)) !important;
  white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
}
html[data-mvt-dedupe]:not(#mvt-x) .mvt-slim > div:last-child,
html[data-mvt-dedupe]:not(#mvt-x) .mvt-slim > button:last-child { flex: 0 0 auto !important; margin-left: auto !important; }
html[data-mvt-dedupe]:not(#mvt-x) .mvt-slim button.h-10 { height: 36px !important; padding-top: 0 !important; padding-bottom: 0 !important; }

/* Header-bar title fill for views whose h1 renders empty (My Document Requests). Inherits the h1's own
   text-base font-semibold leading-tight classes, so it matches every other header title exactly. */
html:not(#mvt-x) div.h-14 h1.mvt-fill:empty::before { content: attr(data-mvt-title); }
