/* Local outline icons, 24px viewBox / 1.5px stroke.
   Existing Font Awesome class hooks remain unchanged, including dynamic icons.
   Data SVGs avoid an external icon runtime, CDN or additional API requests. */
:root {
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E");
  --icon-message: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.5 8.5 0 0 1-12.5 7.5L3 21l2-5.5A8.5 8.5 0 1 1 21 11.5Z'/%3E%3C/svg%3E");
  --icon-file: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Zm0 0v6h6M8 13h8M8 17h6'/%3E%3C/svg%3E");
  --icon-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
  --icon-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1Z'/%3E%3C/svg%3E");
  --icon-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-2a8 8 0 0 1 16 0v2'/%3E%3C/svg%3E");
  --icon-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --icon-wallet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='15' rx='2'/%3E%3Cpath d='M3 8h18M21 11h-6v5h6M17 13.5h1'/%3E%3C/svg%3E");
  --icon-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='5'/%3E%3Cpath d='m12 12 9 9m-4-4 3-3m-6 0 3-3'/%3E%3C/svg%3E");
  --icon-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 8 3v6c0 5-8 9-8 9s-8-4-8-9V6Z'/%3E%3Cpath d='m8 12 3 3 5-5'/%3E%3C/svg%3E");
  --icon-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 10 18H2Z M12 9v5m0 3h.01'/%3E%3C/svg%3E");
  --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12M6 18 18 6'/%3E%3C/svg%3E");
  --icon-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E");
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E");
  --icon-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m10 14 4-4m-6 6-2 2a4 4 0 0 1-6-6l5-5a4 4 0 0 1 6 0m5 1 2-2a4 4 0 0 1 6 6l-5 5a4 4 0 0 1-6 0' transform='translate(2 0) scale(.85)'/%3E%3C/svg%3E");
  --icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='13' height='13' rx='2'/%3E%3Cpath d='M16 8V3H3v13h5'/%3E%3C/svg%3E");
  --icon-gift: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3 8h18v4H3Zm2 4v9h14v-9M12 8v13M12 8H8a3 3 0 1 1 3-3Zm0 0h4a3 3 0 1 0-3-3Z'/%3E%3C/svg%3E");
  --icon-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M4 16v5h16v-5'/%3E%3C/svg%3E");
  --icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 3h4l2 5-3 2a16 16 0 0 0 7 7l2-3 5 2v4c-9 3-21-9-17-17Z'/%3E%3C/svg%3E");
  --icon-bell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M6 9a6 6 0 0 1 12 0v5l2 3H4l2-3Zm4 12h4'/%3E%3C/svg%3E");
  --icon-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --icon-eye-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m3 3 18 18M9 5c7-2 13 7 13 7l-3 4M6 6l-4 6s4 7 10 7l4-1'/%3E%3C/svg%3E");
  --icon-loader: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M21 12a9 9 0 1 1-9-9'/%3E%3C/svg%3E");
  --icon-bolt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='m13 2-9 12h7l-1 8 10-13h-8Z'/%3E%3C/svg%3E");
  --icon-trash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M3 6h18M9 6V3h6v3M5 6l1 15h12l1-15M10 10v7m4-7v7'/%3E%3C/svg%3E");
  --icon-camera: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3 7h4l2-3h6l2 3h4v14H3Z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
  --icon-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8' cy='8' r='2'/%3E%3Cpath d='m3 17 5-5 4 4 4-6 5 7'/%3E%3C/svg%3E");
  --icon-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18M7 16l5-6 4 3 5-8M16 5h5v5'/%3E%3C/svg%3E");
  --icon-trophy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M7 3h10v6a5 5 0 0 1-10 0ZM7 5H3v3a4 4 0 0 0 4 4m10-7h4v3a4 4 0 0 1-4 4m-5 2v6m-5 1h10'/%3E%3C/svg%3E");
  --icon-share: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Ccircle cx='18' cy='4' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='20' r='3'/%3E%3Cpath d='m9 10 6-4M9 14l6 4'/%3E%3C/svg%3E");
  --icon-palette: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18c4 0-2-5 2-5h3c6 0 5-13-5-13Z'/%3E%3Ccircle cx='7' cy='10' r='1'/%3E%3Ccircle cx='11' cy='7' r='1'/%3E%3Ccircle cx='16' cy='8' r='1'/%3E%3C/svg%3E");
}
/* A fallback outline glyph ensures newly injected legacy icons are never solid. */
body :is(.fas,.far,.fab,.fa-solid,.fa-regular) { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; vertical-align: -.2em; font-size: 0 !important; color: inherit; }
body :is(.fas,.far,.fab,.fa-solid,.fa-regular)::before { content: '' !important; display: block; width: 100%; height: 100%; background: currentColor; mask: var(--glyph,var(--icon-grid)) center/contain no-repeat; -webkit-mask: var(--glyph,var(--icon-grid)) center/contain no-repeat; }
:is(.fa-home,.fa-house) { --glyph: var(--icon-home); }
:is(.fa-circle-user,.fa-users,.fa-user-plus,.fa-user-pen,.fa-id-badge) { --glyph: var(--icon-user); }
:is(.fa-history,.fa-clock,.fa-clock-rotate-left) { --glyph: var(--icon-clock); }
:is(.fa-wallet,.fa-sack-dollar,.fa-coins,.fa-money-bill-wave,.fa-university) { --glyph: var(--icon-wallet); }
.fa-key { --glyph: var(--icon-key); }
:is(.fa-shield-halved,.fa-shield-check,.fa-user-shield,.fa-building-shield,.fa-shield-virus) { --glyph: var(--icon-shield); }
:is(.fa-check,.fa-check-circle,.fa-circle-check) { --glyph: var(--icon-check); }
:is(.fa-triangle-exclamation,.fa-circle-exclamation,.fa-ban) { --glyph: var(--icon-alert); }
:is(.fa-plus,.fa-plus-circle) { --glyph: var(--icon-plus); }
.fa-xmark { --glyph: var(--icon-close); }
.fa-bars { --glyph: var(--icon-menu); }
:is(.fa-arrow-right,.fa-external-link-alt,.fa-right-from-bracket,.fa-paper-plane,.fa-telegram-plane) { --glyph: var(--icon-arrow); }
.fa-link { --glyph: var(--icon-link); }
:is(.fa-copy,.fa-paste) { --glyph: var(--icon-copy); }
:is(.fa-gift,.fa-tags,.fa-tag,.fa-ticket-simple) { --glyph: var(--icon-gift); }
:is(.fa-download,.fa-cloud-arrow-down) { --glyph: var(--icon-download); }
.fa-phone { --glyph: var(--icon-phone); }
.fa-bell { --glyph: var(--icon-bell); }
:is(.fa-headset,.fa-comment-dots,.fa-robot,.fa-telegram,.fa-facebook) { --glyph: var(--icon-message); }
:is(.fa-file-csv,.fa-receipt) { --glyph: var(--icon-file); }
.fa-eye { --glyph: var(--icon-eye); }
.fa-eye-slash { --glyph: var(--icon-eye-off); }
:is(.fa-spinner,.fa-rotate,.fa-repeat,.fa-sync-alt,.fa-arrows-rotate,.fa-rotate-left) { --glyph: var(--icon-loader); }
:is(.fa-bolt,.fa-fire) { --glyph: var(--icon-bolt); }
.fa-trash { --glyph: var(--icon-trash); }
.fa-camera { --glyph: var(--icon-camera); }
.fa-image { --glyph: var(--icon-image); }
:is(.fa-chart-line,.fa-chart-column,.fa-chart-bar,.fa-arrow-trend-up) { --glyph: var(--icon-chart); }
:is(.fa-trophy,.fa-medal,.fa-crown) { --glyph: var(--icon-trophy); }
:is(.fa-share-nodes,.fa-share-alt,.fa-share) { --glyph: var(--icon-share); }
.fa-palette { --glyph: var(--icon-palette); }
:is(.fa-lock,.fa-unlock) { --glyph: var(--icon-shield); }
:is(.fa-chevron-down,.fa-chevron-up,.fa-chevron-right) { --glyph: var(--icon-arrow); }
.fa-chevron-down::before { transform: rotate(90deg); }
.fa-chevron-up::before { transform: rotate(-90deg); }
:is(.fa-pen,.fa-pen-to-square,.fa-edit) { --glyph: var(--icon-file); }
