/* Med Office 365 — Global Font & Brand Override
   Injected via Nginx sub_filter into ALL HTML pages.
   This ensures Lexend font is applied globally across
   Launcher, Compose, Admin, Workflow, Reporter, Discovery, Privacy, Auth */

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url('/static/fonts/Lexend-100.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('/static/fonts/Lexend-200.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/static/fonts/Lexend-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/Lexend-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/Lexend-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/fonts/Lexend-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/Lexend-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/static/fonts/Lexend-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/static/fonts/Lexend-900.woff2') format('woff2');
}

/* Global font override — all elements */
*, *::before, *::after {
  font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Preserve icon fonts */
.bi, .bi::before,
[class^="bi-"], [class^="bi-"]::before,
.fas, .far, .fab, .fa,
[class^="fa-"], [class*=" fa-"],
.material-icons,
.icon, .icons,
[class*="icon-font"],
.corteza-icon {
  font-family: inherit !important;
}

/* Fix icon.svg — hide Corteza logo references */
img[src*="icon.svg"] {
  display: none !important;
}
