/* The Action items page additions of 4 November 2026 (docs/contracts.md section 43): the edit fields, the selection bar, and the work report page with its print layout.
   Colours come from the tokens in app.css; nothing here depends on colour alone. */
.ai-tools { margin: 8px 0 4px; }
.action-group table.items td.ai-pick-cell, .action-group table.items th.ai-pick-head { min-width: 3.5rem; width: 3.5rem; text-align: center; }
.action-group table.items td.ai-pick-cell input.ai-pick, .bulk-bar input[type=checkbox] { width: 24px; height: 24px; margin: 0; accent-color: var(--accent); }
.action-group table.items input.ai-edit { width: 100%; min-height: 44px; box-sizing: border-box; }
.action-group table.items input.ai-edit-task { min-width: 14rem; }
.action-group table.items input.ai-edit-owner { min-width: 8rem; }
.action-group table.items input.ai-edit-due { min-width: 10rem; }
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.bulk-bar .check-inline { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; cursor: pointer; }

.report-sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; margin-top: 12px; max-width: 60rem; }
.report-sheet h2 { margin-top: 0; }
.report-sub, .report-counts { margin: 4px 0; color: var(--muted); }
.report-section { margin-top: 20px; break-inside: avoid-page; }
.report-section h3 { margin: 0 0 6px; padding-bottom: 4px; border-bottom: 2px solid var(--line); }
.report-group h4 { margin: 12px 0 4px; font-weight: 600; overflow-wrap: anywhere; }
.report-list { margin: 0 0 8px; padding-left: 1.3rem; }
.report-list li { margin: 4px 0; overflow-wrap: anywhere; }
.report-meta { color: var(--muted); }
.report-ignored { margin-top: 28px; padding-top: 8px; border-top: 3px double var(--line); }

@media print {
  body.work-report-open header.top, body.work-report-open nav.tabs, body.work-report-open #usage-banner, body.work-report-open #auto-record-banner, body.work-report-open #quick-record,
  body.work-report-open #view-actions > h2, body.work-report-open .no-print { display: none !important; }
  body.work-report-open, body.work-report-open main { background: #fff !important; color: #000 !important; margin: 0; padding: 0; }
  body.work-report-open .report-sheet { border: 0; padding: 0; max-width: none; background: #fff !important; }
  body.work-report-open .report-sheet, body.work-report-open .report-sheet * { color: #000 !important; border-color: #000 !important; background: transparent !important; }
  body.work-report-open .report-list li { break-inside: avoid; }
  body.work-report-open .report-group { break-inside: avoid; }
  body.work-report-open .report-section h3 { break-after: avoid; }
}
