// Custom SVG icon set — stroked, 1.6 weight, rounded caps. No emoji, no icon fonts.
window.BITSIcons = (() => {
  const base = {
    width: 20,
    height: 20,
    viewBox: "0 0 24 24",
    fill: "none",
    stroke: "currentColor",
    strokeWidth: 1.6,
    strokeLinecap: "round",
    strokeLinejoin: "round",
  };
  const I = (paths, vb) => (p = {}) =>
    (
      <svg {...base} viewBox={vb || base.viewBox} {...p}>
        {paths}
      </svg>
    );

  return {
    Spark: I(
      <>
        <path d="M12 3v4M12 17v4M3 12h4M17 12h4M6 6l2.5 2.5M15.5 15.5L18 18M18 6l-2.5 2.5M8.5 15.5L6 18" />
      </>
    ),
    Diamond: I(<path d="M12 3l8 9-8 9-8-9z" />),
    Compass: I(
      <>
        <circle cx="12" cy="12" r="9" />
        <path d="M15.5 8.5l-2 5-5 2 2-5z" />
      </>
    ),
    Layers: I(
      <>
        <path d="M12 3l9 5-9 5-9-5z" />
        <path d="M3 13l9 5 9-5" />
        <path d="M3 17l9 5 9-5" />
      </>
    ),
    Calendar: I(
      <>
        <rect x="3" y="5" width="18" height="16" rx="2" />
        <path d="M3 10h18M8 3v4M16 3v4" />
      </>
    ),
    Users: I(
      <>
        <circle cx="9" cy="8" r="3.5" />
        <path d="M2.5 20c.8-3.4 3.5-5.5 6.5-5.5S14.7 16.6 15.5 20" />
        <circle cx="17" cy="9" r="2.5" />
        <path d="M15 14.5c2.2 0 4.5 1.3 5.5 4" />
      </>
    ),
    Stack: I(
      <>
        <rect x="3" y="3" width="7" height="7" rx="1.2" />
        <rect x="14" y="3" width="7" height="7" rx="1.2" />
        <rect x="3" y="14" width="7" height="7" rx="1.2" />
        <rect x="14" y="14" width="7" height="7" rx="1.2" />
      </>
    ),
    Check: I(<path d="M4 12.5l5 5L20 6.5" />),
    Dot: I(<circle cx="12" cy="12" r="3" fill="currentColor" stroke="none" />),
    Arrow: I(<path d="M5 12h14M13 5l7 7-7 7" />),
    ArrowDown: I(<path d="M12 5v14M5 12l7 7 7-7" />),
    Chevron: I(<path d="M9 6l6 6-6 6" />),
    Map: I(
      <>
        <path d="M9 3L3 5v16l6-2 6 2 6-2V3l-6 2z" />
        <path d="M9 3v16M15 5v16" />
      </>
    ),
    Chat: I(
      <>
        <path d="M4 5h16v11H8l-4 4z" />
      </>
    ),
    Book: I(
      <>
        <path d="M4 5a2 2 0 012-2h13v16H6a2 2 0 00-2 2z" />
        <path d="M4 19a2 2 0 012-2h13" />
      </>
    ),
    Briefcase: I(
      <>
        <rect x="3" y="7" width="18" height="13" rx="2" />
        <path d="M8 7V5a2 2 0 012-2h4a2 2 0 012 2v2M3 13h18" />
      </>
    ),
    Bolt: I(<path d="M13 3L5 14h6l-1 7 8-11h-6z" />),
    Shield: I(<path d="M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z" />),
    Globe: I(
      <>
        <circle cx="12" cy="12" r="9" />
        <path d="M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18" />
      </>
    ),
    Cpu: I(
      <>
        <rect x="5" y="5" width="14" height="14" rx="2" />
        <rect x="9" y="9" width="6" height="6" rx="1" />
        <path d="M9 2v3M15 2v3M9 19v3M15 19v3M2 9h3M2 15h3M19 9h3M19 15h3" />
      </>
    ),
    Cloud: I(
      <path d="M7 18a4 4 0 010-8 6 6 0 0111.3 2A4 4 0 0117 18z" />
    ),
    Heart: I(
      <path d="M12 20s-7-4.5-7-10a4 4 0 017-2.5A4 4 0 0119 10c0 5.5-7 10-7 10z" />
    ),
    Pin: I(
      <>
        <path d="M12 22s7-6 7-12a7 7 0 10-14 0c0 6 7 12 7 12z" />
        <circle cx="12" cy="10" r="2.5" />
      </>
    ),
    File: I(
      <>
        <path d="M14 3H6a2 2 0 00-2 2v14a2 2 0 002 2h12a2 2 0 002-2V9z" />
        <path d="M14 3v6h6" />
      </>
    ),
    Flame: I(
      <path d="M12 3c2 4 6 5 6 10a6 6 0 11-12 0c0-2 1-3 2-4 0 2 1 3 2 3 0-3 0-6 2-9z" />
    ),
    Grid: I(
      <>
        <rect x="3" y="3" width="7" height="7" />
        <rect x="14" y="3" width="7" height="7" />
        <rect x="3" y="14" width="7" height="7" />
        <rect x="14" y="14" width="7" height="7" />
      </>
    ),
    Clock: I(
      <>
        <circle cx="12" cy="12" r="9" />
        <path d="M12 7v5l3 2" />
      </>
    ),
    Coins: I(
      <>
        <ellipse cx="9" cy="7" rx="6" ry="2.5" />
        <path d="M3 7v5c0 1.4 2.7 2.5 6 2.5s6-1.1 6-2.5V7" />
        <path d="M3 12v5c0 1.4 2.7 2.5 6 2.5s6-1.1 6-2.5v-5" />
        <ellipse cx="18" cy="16" rx="3" ry="1.2" />
      </>
    ),
    Quote: I(
      <>
        <path d="M7 7h4v6H5v-2a4 4 0 012-4zM17 7h4v6h-6v-2a4 4 0 012-4z" />
      </>
    ),
    Flag: I(
      <>
        <path d="M5 21V4M5 4h12l-2 4 2 4H5" />
      </>
    ),
    Link: I(
      <>
        <path d="M10 14a4 4 0 005.66 0l3-3a4 4 0 00-5.66-5.66l-1 1" />
        <path d="M14 10a4 4 0 00-5.66 0l-3 3a4 4 0 005.66 5.66l1-1" />
      </>
    ),
  };
})();
