/* GENERATED for the Inbox UX-port pilot — do not hand-edit.
   Inbox page-layout classes from prototype/pages/inbox.js (feat/design-system-shell),
   renamed .inbox-* → .ds-inbox-* to avoid colliding with the live app's .inbox-toolbar
   / .inbox-list rules, and scoped under .ds-view (native nesting, same mechanism as
   components.scoped.css). Kit *component* classes live in components.scoped.css. */

.ds-view {
  /* Toolbar text (container layout stays on the live .inbox-toolbar until Task 5) */
  .ds-inbox-toolbar__title {
    font-size: var(--fs-5);
    font-weight: var(--fw-semibold);
    color: var(--text-1);
    line-height: var(--lh-tight);
  }
  .ds-inbox-toolbar__sync-info {
    font-size: var(--fs-2);
    color: var(--text-3);
  }

  /* Full-width list container (adopted fully in Task 5) */
  .ds-inbox-list {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
  }

  /* Event-grouped list table */
  .ds-inbox-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-3);
    color: var(--text-1);
  }
  .ds-inbox-table th {
    position: sticky;
    top: 0;
    padding: var(--space-2) var(--space-4);
    font-size: var(--fs-2);
    font-weight: var(--fw-semibold);
    color: var(--text-3);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-2);
    user-select: none;
    z-index: 1;
  }
  .ds-inbox-table td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-1);
    vertical-align: middle;
    line-height: var(--lh-tight);
  }

  /* Event header row */
  .ds-inbox-event-header td {
    background: var(--bg-canvas);
    border-bottom: none;
    padding: var(--space-4) var(--space-4) var(--space-2);
  }
  .ds-inbox-event-header__inner {
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }
  .ds-inbox-event-label {
    font-size: var(--fs-3);
    font-weight: var(--fw-semibold);
    color: var(--text-1);
  }
  .ds-inbox-event-age {
    font-size: var(--fs-2);
    color: var(--text-3);
  }

  /* Item rows */
  .ds-inbox-item-row {
    transition: background var(--dur-base) var(--ease);
    cursor: pointer;
  }
  .ds-inbox-item-row:hover {
    background: var(--bg-hover);
  }
  .ds-inbox-item-row.active {
    background: var(--accent-muted);
  }
}
