.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
th, td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
td { max-width: 340px; }
th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}
tbody tr:hover { background: var(--surface-2); }
td.actions { width: 1%; white-space: nowrap; }
.inline-input {
  width: 100%;
  min-width: 120px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 5px;
  color: var(--text);
  background: transparent;
}
.inline-input:focus { border-color: var(--line-strong); background: var(--surface); }
.row-overdue { background: color-mix(in srgb, var(--red-soft) 45%, transparent); }
.row-warning { background: color-mix(in srgb, var(--amber-soft) 45%, transparent); }
