/*
 * THE RECEIPT'S OPENING STRIP. The tone mark rides INLINE on the title row —
 * no hanging gutter — so everything under it sits on the page's own left edge,
 * and the title takes the slack so the action pins right.
 */
@layer theme, base, lotics, components, utilities;
@layer lotics.tokens, lotics.reset, lotics.components;

@layer lotics.components {
  /* `flex-shrink: 0` because a flex item shrinks at 1 by default: stated so a
     narrow parent squeezes the ROW rather than the boxes on it. */
  .lotics-result-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--lotics-space-6);
    flex-shrink: 0;
  }

  .lotics-result-header__title-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--lotics-space-10);
    flex-shrink: 0;
  }

  .lotics-result-header__title {
    flex: 1;
    min-width: 0;
  }

  /* The verdict's glyph is drawn at a size, not squeezed to one: the title
     beside it is the item that yields. */
  .lotics-result-header__mark {
    flex-shrink: 0;
  }
}
