/* Manpower (staffing) quotations: the editor in the admin form, the customer document table, the team figures. */
.mpq-edit { min-width: 520px; }
.mpq-edit th, .mpq-edit td { vertical-align: top; }
.mpq-edit tbody th { text-transform: none; letter-spacing: normal; color: inherit; font-weight: 600; font-size: 13px; min-width: 220px; max-width: 260px; white-space: normal; }
.mpq-edit td { min-width: 168px; }
.mpq-edit .input, .mpq-edit .select { width: 100%; min-width: 0; }
.mpq-colhead { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.mpq-colbtns { display: inline-flex; gap: 2px; }
.mpq-rowhead { display: flex; gap: 4px; align-items: center; }
.mpq-pair { display: flex; gap: 6px; align-items: center; }
.mpq-pair .input { flex: 1 1 0; }
.mpq-added th { background: var(--surface-2, #f7f7f7); }
.mpq-calc th, .mpq-calc td { background: var(--surface-2, #f7f7f7); }
.mpq-calc tr.mpq-key td, .mpq-calc tr.mpq-key th { font-weight: 700; }
.mpq-team-row th, .mpq-team-row td { color: var(--text-3, #666); font-style: italic; }
.mpq-team { margin-inline-start: 6px; font-style: normal; }
.mpq-totals .mpq-team-dt { color: var(--text-3, #666); font-style: italic; }
.mpq-team-kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; }
.mpq-team-kv dt { color: var(--text-3, #666); }
.mpq-team-kv dd { margin: 0; text-align: end; }

/* Customer document */
.mpq-doc { font-size: 13px; }
.mpq-doc thead th { background: var(--accent, #1acc6c); color: var(--accent-ink, #000); font-weight: 700; white-space: nowrap; }
.mpq-doc tbody th { font-weight: 600; text-align: start; min-width: 170px; text-transform: none; letter-spacing: normal; font-size: 13px; color: inherit; }
.mpq-doc td { white-space: nowrap; }
.mpq-doc .mpq-strong, .mpq-strong { font-weight: 700; }
.mpq-doc tr.mpq-sub th, .mpq-doc tr.mpq-sub td { background: var(--surface-2, #f7f7f7); }
.mpq-doc tr.mpq-key th, .mpq-doc tr.mpq-key td { background: var(--accent-soft, rgba(26, 204, 108, .12)); font-weight: 700; }
.mpq-doc-wide { font-size: 12px; }
@media print {
  .mpq-doc thead th, .mpq-doc tr.mpq-sub th, .mpq-doc tr.mpq-sub td, .mpq-doc tr.mpq-key th, .mpq-doc tr.mpq-key td { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .mpq-doc-wrap { overflow: visible !important; }
  .mpq-doc { font-size: 11px; }
  .mpq-doc-wide { font-size: 9px; }
  .mpq-doc td, .mpq-doc th { padding: 4px 6px; white-space: normal; }
}
