@layer components {
  .sheet {
    position: relative;
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
  }

  /* A scroll box would hold sticky column heads inside it; clip keeps the corners without one.
     Narrower than the list's columns need (about 1,250px), the sheet keeps scrolling sideways
     instead, so no column is cut off; the heads only stick from 80rem. */
  @media (min-width: 80rem) {
    .sheet--sticky-head {
      overflow: clip;
    }
  }

  .sheet__empty {
    padding: var(--space-lg) var(--space-md);
    color: var(--ink-body);
  }

  .sheet__empty-link {
    margin-left: var(--space-xs);
    font-weight: var(--weight-emphasis);
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
