/*
 * A verb wearing no control surface: the underlined run IS the affordance, so
 * the button around it paints nothing and only undoes what a `<button>` brings
 * — a centred 13.33px UA face and a cursor that says nothing.
 *
 * It states a ring. A focusable control with no focus treatment is the one
 * defect `docs/accessibility.md` makes an invariant, and it is invisible to
 * every check but a keyboard.
 */
@layer theme, base, lotics, components, utilities;
@layer lotics.tokens, lotics.reset, lotics.components;

@layer lotics.components {
  .lotics-text-disclosure {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    align-self: flex-start;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    border: 0 solid var(--border);
    border-radius: calc(var(--lotics-radius-control) - var(--lotics-space-4));
    background-color: transparent;
    background-image: none;
    font-family: var(--font-sans);
    font-size: var(--lotics-text-sm);
    line-height: var(--lotics-leading-sm);
    letter-spacing: var(--lotics-tracking-sm);
    color: var(--lotics-ink-muted);
    text-align: start;
    appearance: none;
    cursor: pointer;
    touch-action: manipulation;
  }

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