/* Small inline marks: a business's dot and chip, a status, "new". */

@layer components {
  /* A small dot of color next to a business name. */
  .swatch {
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: var(--biz);
    border: 2px solid var(--ink);
    vertical-align: -0.05rem;
    margin-right: 0.4rem;
  }

  /* A sold item in its business color: "2× Latte". */
  .chip {
    display: inline-block;
    background: var(--biz);
    color: var(--biz-text);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-pill);
    padding: 0.1rem 0.65rem;
    margin: 0.1rem 0.15rem 0.1rem 0;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
  }

  .status {
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.15rem 0.65rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--ink);

    &.hidden {
      border-style: dashed;
      color: var(--muted);
      border-color: var(--muted);
    }
  }

  .new-tag {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.1rem 0.6rem;
    border: 1.5px dashed var(--ink);
    border-radius: var(--radius-pill);
  }
}
