/* v3 pm styles */

/* ---------------------------------------------------------------- board: bulk selection */
.tbl .sel-cell { width: 36px; padding-right: 0; cursor: pointer; }
.tbl .sel-cell input.bulk-check { width: 16px; height: 16px; margin: 0; cursor: pointer; accent-color: var(--accent); vertical-align: middle; }
.tbl tr.is-selected, .tbl tr.is-selected:hover { background: var(--accent-soft); }

.bulk-bar {
  position: sticky; bottom: var(--s-4); z-index: 40;
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2);
  margin: var(--s-4) auto 0; padding: var(--s-2) var(--s-3);
  max-width: max-content;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.bulk-bar .bulk-count { font-size: var(--fs-md); padding: 0 var(--s-2); color: var(--text-dim); }
.bulk-bar .bulk-count strong { color: var(--text); }
/* the bar sits at the bottom of the viewport, so its popovers open upwards */
.bulk-bar .dropdown.bulk-pop { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; width: 300px; }
.bulk-bar .dropdown.sm.bulk-pop { width: 240px; }
.bulk-pop-body { padding: var(--s-3) 14px; }
.bulk-pop-body label { font-size: var(--fs-sm); margin: 0; }
.bulk-pop-body select, .bulk-pop-body input { margin-top: 4px; }
.bulk-pop-split { border-top: 1px solid var(--border); }

/* ---------------------------------------------------------------- readiness trend + report */
.trend-box { position: relative; height: 220px; }
.report-title { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; align-items: flex-start; }
.report-meta { margin: 0; }
.report-section { break-inside: avoid; }
.report-owner { margin-top: var(--s-4); }
.report-owner:first-child { margin-top: 0; }
.cvid-list { display: flex; flex-wrap: wrap; gap: 6px; }

@media print {
  .bulk-bar { display: none !important; }
  .report-page .card { border: 1px solid #ddd; }
  .report-page .grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trend-box { height: 200px; }
  .report-page a { color: inherit; text-decoration: none; }
}
