/* THE REGISTER'S STATUS CHIPS: one wrapping run of pills at control height, each a toggle. A picked chip
   wears the accent ink an applied filter chip wears, so what narrows the rows reads one way along the band's
   line; never a ground (the ground is the row's) nor a ring (a ring is keyboard focus). */
@layer theme, base, lotics, components, utilities;
@layer lotics.tokens, lotics.reset, lotics.components;

@layer lotics.components {
  .lotics-status-chips {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    min-width: 0;
    gap: var(--lotics-space-8);
  }

  .lotics-status-chips__chip {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
    gap: var(--lotics-space-8);
    height: var(--lotics-control-height);
    padding-block: 0;
    padding-inline: var(--lotics-space-12);
    margin: 0;
    border-width: 1px;
    border-style: solid;
    border-color: var(--border);
    border-radius: var(--lotics-radius-control);
    background: var(--card);
    appearance: none;
    font-family: var(--font-sans);
    color: var(--lotics-ink-default);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color var(--lotics-duration-fast) var(--lotics-ease-standard);
  }

  .lotics-status-chips__chip:hover {
    background: var(--lotics-wash-selected);
  }

  .lotics-status-chips__chip:active {
    background: var(--lotics-wash-press);
  }

  .lotics-status-chips__words {
    color: var(--lotics-ink-default);
  }

  .lotics-status-chips__words[data-pressed] {
    color: var(--lotics-accent);
  }

  .lotics-status-chips__chip:focus-visible {
    outline: var(--lotics-ring-width) solid var(--ring);
    outline-offset: 0;
  }
}
