
/* ================================
   Workflow Matrix (NO sticky)
   ================================ */

.workflow-matrix__outer {
}

.workflow-matrix__scroller {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.workflow-matrix__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1400px;
  table-layout: fixed;
}

.workflow-matrix__table th,
.workflow-matrix__table td {
  padding: 12px;
  vertical-align: top;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  overflow-wrap: anywhere;
}

/* Header row styling (not sticky) */
.workflow-matrix__table thead th {
  text-align: left;
  font-weight: 800;
  background: rgba(245, 246, 248, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);

  /* ✅ Row 1: no wrapping */
  white-space: nowrap;
}

/* Left column styling (not sticky) */
.workflow-matrix__table thead th:first-child {
  /* optional: keep the top-left cell consistent */
  width: 165px;
  min-width: 165px;
}

.workflow-matrix__table tbody th[scope="row"] {
  text-align: left;
  font-weight: 800;
  background: rgba(245, 246, 248, 0.98);

  /* ✅ Column 1: fixed width + no wrapping */
  width: 240px;
  min-width: 240px;
  white-space: nowrap;

  border-right: 1px solid rgba(0, 0, 0, 0.14);
}

/* ✅ ALL other columns are 200px */
.workflow-matrix__table thead th:not(:first-child),
.workflow-matrix__table tbody td {
  width: 200px;
  min-width: 200px;
  max-width: 200px;
}

/* Each BODY ROW a different color (td only) */
.workflow-matrix__table tbody tr:nth-child(1) td { background: rgba(230, 245, 255, 0.65); }
.workflow-matrix__table tbody tr:nth-child(2) td { background: rgba(232, 255, 235, 0.65); }
.workflow-matrix__table tbody tr:nth-child(3) td { background: rgba(255, 245, 230, 0.65); }
.workflow-matrix__table tbody tr:nth-child(4) td { background: rgba(245, 235, 255, 0.65); }
.workflow-matrix__table tbody tr:nth-child(5) td { background: rgba(255, 235, 235, 0.65); }
.workflow-matrix__table tbody tr:nth-child(6) td { background: rgba(235, 240, 255, 0.65); }

/* Lists */
.workflow-matrix__table ul {
  margin: 0;
  padding-left: 18px;
}
.workflow-matrix__table li {
  margin: 6px 0;
  line-height: 1.45;
}

/* Accessibility focus */
.workflow-matrix__scroller:focus {
  outline: 2px solid rgba(0, 0, 0, 0.28);
  outline-offset: 2px;
}

/* Mobile tweaks */
@media (max-width: 700px) {
  .workflow-matrix__outer { padding: 0 12px; }
  .workflow-matrix__table { min-width: 1200px; }
  .workflow-matrix__table th,
  .workflow-matrix__table td { padding: 10px; }
}

