/* The register is a `Table`; this is the axis, positions named once above the strips. Its numbers come
   from the strip's exports, since a copy would put labels half a cell off. */
@layer theme, base, lotics, components, utilities;
@layer lotics.tokens, lotics.reset, lotics.components;

@layer lotics.components {
  .lotics-timetable {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
  }

  .lotics-timetable__axis {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: var(--lotics-timetable-cell-gap);
  }

  .lotics-timetable__slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: var(--lotics-timetable-cell);
    padding-block: var(--lotics-space-2);
    border-radius: calc(var(--lotics-radius-control) - var(--lotics-space-4));
  }

  /* Tinted like the grid below: the column the reader stands in. */
  .lotics-timetable__slot[data-current] {
    background: var(--lotics-wash-selected);
  }
}
