/* Interlink icon set — consumption rules.
 *
 * Icons are monochrome and inherit their colour: `stroke="currentColor"` on the strokes and
 * `fill="currentColor"` on the solids, so an icon is always the colour of the text it sits
 * beside and re-themes with everything else. Never recolour one with --il-signal: the signal
 * marks a connection Interlink has established, and an icon is not a connection.
 *
 * Preferred: inline the SVG (it themes, and it can carry a <title>).
 * Otherwise:  <svg class="il-icon"><use href="sprite.svg#il-network"/></svg>
 */

.il-icon {
  display: inline-block;
  inline-size: 24px;
  block-size: 24px;
  flex: none;
  color: inherit;
  vertical-align: -0.1875em; /* optical baseline alignment beside 16px body text */
}

/* The set is drawn on a 24px grid. 16 is the smallest real use; below that it smudges. */
.il-icon--16 { inline-size: 16px; block-size: 16px; vertical-align: -0.125em; }
.il-icon--20 { inline-size: 20px; block-size: 20px; }
.il-icon--32 { inline-size: 32px; block-size: 32px; }
.il-icon--48 { inline-size: 48px; block-size: 48px; }

/* An icon that is purely decorative beside a label should be hidden from assistive tech:
   <svg class="il-icon" aria-hidden="true" focusable="false">. An icon that IS the label
   keeps its <title> and role="img". */
