/* Shared data-table, badge and Live Events card styles (nwif design system v4) */

.nw-scope .nw-levent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; margin: 14px 0 6px; }
.nw-scope .nw-levent { display: flex; flex-direction: column; gap: 6px; }
.nw-scope .nw-levent__title { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.35; }
.nw-scope .nw-levent__stat { font-size: 26px; font-weight: 650; letter-spacing: -.02em; margin: 2px 0; color: var(--ink); }
.nw-scope .nw-levent__spark { margin-top: auto; }

.nw-scope .nw-levent-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.nw-scope .nw-levent-table thead th { position: sticky; top: 0; z-index: 1; }
.nw-scope .nw-levent-table th {
  text-align: left; font-size: 12px; line-height: 16px; font-weight: 600;
  color: var(--text); padding: 12px 16px; background: var(--surface-2); white-space: nowrap;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line);
}
.nw-scope .nw-levent-table td { padding: 10px 16px; line-height: 20px; border-bottom: 1px solid var(--line-soft); color: var(--text); vertical-align: top; }
.nw-scope .nw-levent-table tr:last-child td { border-bottom: none; }
.nw-scope .nw-levent__badge { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--rust); white-space: nowrap; }
.nw-scope .nw-section-title--sub { font-size: 14px; margin-top: 18px; }

.nw-scope .nw-chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.nw-scope .nw-chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 4px;
  font-size: 11.5px; font-weight: 600; line-height: 18px; border: 1px solid transparent; white-space: nowrap;
}
.nw-scope .nw-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.nw-scope .nw-chip--behind { background: var(--rust-tint);  color: var(--rust); }
.nw-scope .nw-chip--close  { background: var(--amber-tint); color: var(--amber); }
.nw-scope .nw-chip--ahead  { background: var(--green-tint); color: var(--green); }
.nw-scope .nw-chip--none   { background: #F2F4F7; color: var(--muted); }
