/* ============================================================
   icons.jsx — inline SVG icons
   ============================================================ */

const I = {
  logo: () => (
    <svg width="14" height="14" viewBox="0 0 24 24" fill="none">
      <path d="M12 3L3 8v8l9 5 9-5V8l-9-5z" stroke="currentColor" strokeWidth="1.5"/>
      <path d="M8 11v3M12 9v6M16 11v3" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round"/>
    </svg>
  ),
  drag: () => (
    <svg width="10" height="16" viewBox="0 0 10 16" fill="currentColor">
      <circle cx="2" cy="3"  r="1.2"/><circle cx="8" cy="3"  r="1.2"/>
      <circle cx="2" cy="8"  r="1.2"/><circle cx="8" cy="8"  r="1.2"/>
      <circle cx="2" cy="13" r="1.2"/><circle cx="8" cy="13" r="1.2"/>
    </svg>
  ),
  plus: () => <svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="M12 5v14M5 12h14" stroke="currentColor" strokeWidth="2" strokeLinecap="round"/></svg>,
  x:    () => <svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="M6 6l12 12M6 18L18 6" stroke="currentColor" strokeWidth="2" strokeLinecap="round"/></svg>,
  check:() => <svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="M4 12l5 5L20 6" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/></svg>,
  comment: () => <svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="M21 12c0 4-4 7-9 7-1.3 0-2.6-.2-3.7-.6L3 20l1.6-4.1C3.6 14.8 3 13.4 3 12c0-4 4-7 9-7s9 3 9 7z" stroke="currentColor" strokeWidth="1.5" strokeLinejoin="round"/></svg>,
  edit: () => <svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="M4 20h4l10-10-4-4L4 16v4z" stroke="currentColor" strokeWidth="1.5" strokeLinejoin="round"/><path d="M13.5 6.5l4 4" stroke="currentColor" strokeWidth="1.5"/></svg>,
  h1: () => <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><text x="2" y="18" fontFamily="Geist" fontWeight="600" fontSize="15" fill="currentColor">H1</text></svg>,
  h2: () => <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><text x="2" y="18" fontFamily="Geist" fontWeight="600" fontSize="13" fill="currentColor">H2</text></svg>,
  h3: () => <svg width="20" height="20" viewBox="0 0 24 24" fill="none"><text x="2" y="18" fontFamily="Geist" fontWeight="600" fontSize="11" fill="currentColor">H3</text></svg>,
  p: () => <svg width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M4 6h16M4 10h16M4 14h12M4 18h10" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round"/></svg>,
  num: () => <svg width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M9 6h12M9 12h12M9 18h12" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round"/><text x="2" y="9" fontFamily="Geist" fontWeight="600" fontSize="6" fill="currentColor">1.</text><text x="2" y="15" fontFamily="Geist" fontWeight="600" fontSize="6" fill="currentColor">2.</text><text x="2" y="21" fontFamily="Geist" fontWeight="600" fontSize="6" fill="currentColor">3.</text></svg>,
  ul: () => <svg width="16" height="16" viewBox="0 0 24 24" fill="none"><circle cx="5" cy="7" r="1.4" fill="currentColor"/><circle cx="5" cy="13" r="1.4" fill="currentColor"/><circle cx="5" cy="19" r="1.4" fill="currentColor"/><path d="M10 7h11M10 13h11M10 19h11" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round"/></svg>,
  callout: () => <svg width="16" height="16" viewBox="0 0 24 24" fill="none"><rect x="3" y="5" width="18" height="14" rx="2" stroke="currentColor" strokeWidth="1.5"/><path d="M6 10h8M6 14h5" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round"/></svg>,
  quote: () => <svg width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M7 7c-2 0-3 1.5-3 4v5h5V11H6c0-2 1-3 2-3V7zm9 0c-2 0-3 1.5-3 4v5h5V11h-3c0-2 1-3 2-3V7z" fill="currentColor" opacity=".8"/></svg>,
  photos: () => <svg width="16" height="16" viewBox="0 0 24 24" fill="none"><rect x="3" y="5" width="18" height="14" rx="1.5" stroke="currentColor" strokeWidth="1.5"/><path d="M3 16l5-4 4 3 4-4 5 4" stroke="currentColor" strokeWidth="1.5" strokeLinejoin="round"/><circle cx="8" cy="10" r="1.4" fill="currentColor"/></svg>,
  diagram: () => <svg width="16" height="16" viewBox="0 0 24 24" fill="none"><rect x="3" y="5" width="6" height="5" rx="1" stroke="currentColor" strokeWidth="1.5"/><rect x="15" y="5" width="6" height="5" rx="1" stroke="currentColor" strokeWidth="1.5"/><rect x="9" y="14" width="6" height="5" rx="1" stroke="currentColor" strokeWidth="1.5"/><path d="M9 8h6M6 10v4M18 10v4" stroke="currentColor" strokeWidth="1.5"/></svg>,
  table: () => <svg width="16" height="16" viewBox="0 0 24 24" fill="none"><rect x="3" y="5" width="18" height="14" rx="1.5" stroke="currentColor" strokeWidth="1.5"/><path d="M3 10h18M9 5v14M15 5v14" stroke="currentColor" strokeWidth="1.5"/></svg>,
  kpi: () => <svg width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M4 18V9M10 18V5M16 18v-6M22 18H2" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round"/></svg>,
  brk: () => <svg width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M4 12h3m3 0h4m3 0h3" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeDasharray="3 2"/><path d="M4 8v8M20 8v8" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round"/></svg>,
  upload: () => <svg width="18" height="18" viewBox="0 0 24 24" fill="none"><path d="M12 16V4m0 0l-4 4m4-4l4 4" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round"/><path d="M4 16v3a1 1 0 001 1h14a1 1 0 001-1v-3" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round"/></svg>,
  download: () => <svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="M12 4v12m0 0l-4-4m4 4l4-4" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round" strokeLinejoin="round"/><path d="M4 18v2h16v-2" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round"/></svg>,
  print: () => <svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="M7 9V4h10v5M7 18H5a1 1 0 01-1-1v-6a1 1 0 011-1h14a1 1 0 011 1v6a1 1 0 01-1 1h-2" stroke="currentColor" strokeWidth="1.5" strokeLinejoin="round"/><rect x="7" y="14" width="10" height="6" rx="1" stroke="currentColor" strokeWidth="1.5"/></svg>,
  eye: () => <svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z" stroke="currentColor" strokeWidth="1.5"/><circle cx="12" cy="12" r="3" stroke="currentColor" strokeWidth="1.5"/></svg>,
  bold: () => <svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="M6 4h7a4 4 0 010 8H6zM6 12h8a4 4 0 010 8H6z" stroke="currentColor" strokeWidth="1.8" strokeLinejoin="round"/></svg>,
  italic: () => <svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="M14 4h-4M14 20h-4M15 4L9 20" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round"/></svg>,
  sliders: () => <svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="M4 6h12M20 6h0M4 12h4M12 12h8M4 18h12M20 18h0" stroke="currentColor" strokeWidth="1.8" strokeLinecap="round"/><circle cx="16" cy="6" r="2" fill="currentColor"/><circle cx="10" cy="12" r="2" fill="currentColor"/><circle cx="16" cy="18" r="2" fill="currentColor"/></svg>,
};

Object.assign(window, { I });
