.table-wrap {
  background: #fff;
  border: 1px solid #cfd9e7;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 1px 2px rgba(16, 26, 43, .04);
  max-width: 100%;
  overflow-x: auto;
}
.data-table,
.compact-table { width: 100%; }
.compact-table th,
.compact-table td { padding: 8px; }
table { background: #fff; width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #d8e2ee; vertical-align: top; }
th { background: #eaf1f8; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
tbody tr { background: #fff; }
tbody tr:nth-child(even) { background: #f7fbff; }
tbody tr:hover,
tbody tr:focus-within { background: #eef6ff; }
tbody tr.row-invalid,
tbody tr.row-invalid td { background: #fff7f7; }
tbody tr.row-detail,
tbody tr.row-detail td { background: #f8fafc; }
.table-toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 14px; }
.baseline-column-strip {
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 14px;
  padding: 10px 12px;
}
.baseline-column-strip p { margin: 2px 0 0; }
.baseline-column-list { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; }
.baseline-column-item {
  align-items: center;
  background: #fff;
  border: 1px solid #cfd9e7;
  border-radius: 999px;
  display: inline-flex;
  gap: 6px;
  padding: 4px;
}
.pipeline-sheet-wrap {
  background: #fff;
  border-color: #b8c8da;
  box-shadow: 0 10px 28px rgba(16, 26, 43, .08);
  margin-top: 12px;
  max-height: calc(100vh - 230px);
}
.pipeline-sheet { min-width: 1340px; }
.pipeline-sheet th,
.pipeline-sheet td { padding: 6px; }
.pipeline-sheet th {
  background: #f3f6fa;
  position: sticky;
  top: 0;
  z-index: 5;
}
.pipeline-sheet th a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pipeline-sheet tbody tr { background: #fff; }
.pipeline-sheet tbody tr:nth-child(even) { background: #f5f9fe; }
.pipeline-sheet tbody tr.row-detail,
.pipeline-sheet tbody tr.row-detail td { background: #eef5fb; }
.row-detail-actions {
  justify-content: flex-start;
  margin-top: 10px;
}
.pipeline-sheet textarea { min-height: 38px; resize: vertical; }
.pipeline-sheet .input,
.pipeline-sheet .select,
.pipeline-sheet .textarea {
  border-radius: 8px;
  font-size: .88rem;
  min-width: 132px;
  padding: 6px 7px;
}
.pipeline-sheet tr.table-row-dragging { opacity: .55; }
.pipeline-sheet tr.table-row-drop-target td { box-shadow: inset 0 2px 0 var(--brand); }
.table-drag-cue {
  background: var(--line);
  border-radius: 999px;
  display: block;
  height: 18px;
  width: 4px;
}
.dense-table th,
.dense-table td { padding: 8px; }

.table-wrap:focus {
  outline: 3px solid rgba(31, 102, 209, .18);
  outline-offset: 2px;
}
td:last-child,
th:last-child { text-align: right; }
.dense-table .table-actions,
.compact-table .table-actions { justify-content: flex-end; }

