// Inline SVG icons — outline, 1.5px stroke, Lucide-style
const Icon = ({ d, size = 18, stroke = 1.75, ...props }) => (
  <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={stroke} strokeLinecap="round" strokeLinejoin="round" {...props}>
    {d}
  </svg>
);

const IconShield = (p) => <Icon {...p} d={<><path d="M12 2l8 4v6c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6l8-4z"/><path d="M9 12l2 2 4-4"/></>} />;
const IconKey = (p) => <Icon {...p} d={<><circle cx="8" cy="15" r="4"/><path d="M11 12l9-9"/><path d="M16 7l3 3"/><path d="M18 5l2 2"/></>} />;
const IconHandshake = (p) => <Icon {...p} d={<><path d="M11 17l3 3 7-7-3-3"/><path d="M3 13l3 3 7-7-3-3"/><path d="M9 11l3 3"/><path d="M14 8l3 3"/></>} />;
const IconLock = (p) => <Icon {...p} d={<><rect x="5" y="11" width="14" height="10" rx="2"/><path d="M8 11V7a4 4 0 018 0v4"/></>} />;
const IconStamp = (p) => <Icon {...p} d={<><path d="M5 22h14"/><path d="M19 18H5l2-7h10l2 7z"/><path d="M10 11V7a2 2 0 014 0v4"/></>} />;
const IconReceipt = (p) => <Icon {...p} d={<><path d="M6 2v20l3-2 3 2 3-2 3 2V2z"/><path d="M9 7h6"/><path d="M9 11h6"/><path d="M9 15h4"/></>} />;
const IconHome = (p) => <Icon {...p} d={<><path d="M3 12l9-9 9 9"/><path d="M5 10v10h14V10"/><path d="M10 20v-6h4v6"/></>} />;
const IconCheck = (p) => <Icon {...p} d={<path d="M4 12l5 5L20 6"/>} />;
const IconAlert = (p) => <Icon {...p} d={<><path d="M12 3l10 18H2L12 3z"/><path d="M12 10v5"/><circle cx="12" cy="18" r="0.5" fill="currentColor"/></>} />;
const IconSearch = (p) => <Icon {...p} d={<><circle cx="11" cy="11" r="7"/><path d="M21 21l-4-4"/></>} />;
const IconArrow = (p) => <Icon {...p} d={<path d="M5 12h14M13 5l7 7-7 7"/>} />;
const IconUser = (p) => <Icon {...p} d={<><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8"/></>} />;
const IconBuilding = (p) => <Icon {...p} d={<><rect x="4" y="2" width="16" height="20" rx="1"/><path d="M8 6h2M14 6h2M8 10h2M14 10h2M8 14h2M14 14h2"/><path d="M10 22v-4h4v4"/></>} />;
const IconScale = (p) => <Icon {...p} d={<><path d="M12 3v18"/><path d="M5 21h14"/><path d="M5 8h14"/><path d="M5 8l-3 6h6l-3-6z"/><path d="M19 8l-3 6h6l-3-6z"/></>} />;
const IconMap = (p) => <Icon {...p} d={<><path d="M3 6l6-2 6 2 6-2v14l-6 2-6-2-6 2V6z"/><path d="M9 4v16M15 6v16"/></>} />;
const IconDoc = (p) => <Icon {...p} d={<><path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z"/><path d="M14 2v6h6"/><path d="M9 13h6M9 17h4"/></>} />;
const IconDollar = (p) => <Icon {...p} d={<><path d="M12 2v20"/><path d="M17 6H9a3 3 0 000 6h6a3 3 0 010 6H7"/></>} />;
const IconGlobe = (p) => <Icon {...p} d={<><circle cx="12" cy="12" r="10"/><path d="M2 12h20"/><path d="M12 2c2.5 3 4 6.5 4 10s-1.5 7-4 10c-2.5-3-4-6.5-4-10s1.5-7 4-10z"/></>} />;
const IconChevron = (p) => <Icon {...p} d={<path d="M9 6l6 6-6 6"/>} />;
const IconSparkle = (p) => <Icon {...p} d={<><path d="M12 3l1.5 5.5L19 10l-5.5 1.5L12 17l-1.5-5.5L5 10l5.5-1.5z"/></>} />;
const IconClock = (p) => <Icon {...p} d={<><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></>} />;
const IconPhone = (p) => <Icon {...p} d={<path d="M5 4h4l2 5-3 2a11 11 0 005 5l2-3 5 2v4a2 2 0 01-2 2A16 16 0 013 6a2 2 0 012-2z"/>} />;
const IconMenu = (p) => <Icon {...p} d={<><path d="M4 6h16M4 12h16M4 18h16"/></>} />;
const IconHeart = (p) => <Icon {...p} d={<path d="M12 21s-7-4.5-9-9a5 5 0 019-3 5 5 0 019 3c-2 4.5-9 9-9 9z"/>} />;
const IconStar = (p) => <Icon {...p} d={<path d="M12 3l2.6 6 6.4.6-5 4.4 1.6 6.4L12 17l-5.6 3.4L8 14l-5-4.4L9.4 9z"/>} />;

Object.assign(window, {
  IconShield, IconKey, IconHandshake, IconLock, IconStamp, IconReceipt, IconHome,
  IconCheck, IconAlert, IconSearch, IconArrow, IconUser, IconBuilding, IconScale,
  IconMap, IconDoc, IconDollar, IconGlobe, IconChevron, IconSparkle, IconClock,
  IconPhone, IconMenu, IconHeart, IconStar
});
