// Cefalia — minimal line icons for integration connectors (window.Icons)
// 24x24, stroke=currentColor. Geometric, consistent weight.
(function () {
  const S = (children, vb = '0 0 24 24') => ({ s = 24, color = 'currentColor', sw = 1.8 }) =>
    React.createElement('svg', { width: s, height: s, viewBox: vb, fill: 'none', stroke: color, strokeWidth: sw, strokeLinecap: 'round', strokeLinejoin: 'round' }, children);

  const P = (d) => React.createElement('path', { d, key: d });
  const C = (cx, cy, r) => React.createElement('circle', { cx, cy, r, key: `${cx}-${cy}` });
  const R = (x, y, w, h, rx) => React.createElement('rect', { x, y, width: w, height: h, rx, key: `${x}-${y}` });
  const L = (x1, y1, x2, y2) => React.createElement('line', { x1, y1, x2, y2, key: `${x1}-${y1}-${x2}-${y2}` });

  window.Icons = {
    chat: S([P('M21 11.5a8.5 8.5 0 0 1-12.3 7.6L3 21l1.9-5.7A8.5 8.5 0 1 1 21 11.5Z')]),
    mail: S([R(3, 5, 18, 14, 2.5), P('M3.5 7l8.5 6 8.5-6')]),
    sheet: S([R(3, 3, 18, 18, 2.5), L(3, 9, 21, 9), L(3, 15, 21, 15), L(9, 9, 9, 21), L(15, 9, 15, 21)]),
    erp: S([P('M12 3l8 4.5v9L12 21l-8-4.5v-9L12 3Z'), P('M4 7.5l8 4.5 8-4.5'), L(12, 12, 12, 21)]),
    card: S([R(2.5, 5, 19, 14, 3), L(2.5, 9.5, 21.5, 9.5), L(6, 14.5, 10, 14.5)]),
    crm: S([C(9, 8, 3.2), P('M3.5 19a5.5 5.5 0 0 1 11 0'), P('M16 5.2a3.2 3.2 0 0 1 0 5.6'), P('M17.5 13.6A5.5 5.5 0 0 1 20.5 19')]),
    webhook: S([C(12, 7, 3), P('M9.5 9.2l-3 5.2'), C(6, 16, 2.5), C(18, 16, 2.5), L(8.5, 16, 15.5, 16), P('M14.5 9.2l3 5.2')]),
    api: S([P('M8.5 8L4 12l4.5 4'), P('M15.5 8L20 12l-4.5 4'), L(13.5, 6, 10.5, 18)]),
    bot: S([R(4, 8, 16, 11, 3), L(12, 4, 12, 8), C(12, 4, 1), L(9, 13, 9, 14), L(15, 13, 15, 14)]),
    plug: S([P('M9 3v5'), P('M15 3v5'), P('M6 8h12v3a6 6 0 0 1-12 0V8Z'), P('M12 17v4')]),
    calendar: S([R(3.5, 5, 17, 16, 2.5), L(3.5, 9.5, 20.5, 9.5), L(8, 3, 8, 7), L(16, 3, 16, 7)]),
    truck: S([P('M2.5 6h11v9h-11z'), P('M13.5 9h4l3 3v3h-7z'), C(7, 18, 1.8), C(17, 18, 1.8)]),
  };
})();
