/* Italic-Kill + Font-Family-Override.
   Wird als statisches /public-CSS ausgeliefert, kommt nach allen
   Tailwind-/Shadcn-Stylesheets in den Cascade.

   Hintergrund: auf manchen Macs ist eine eigene "Inter"-Font installiert,
   deren Italic-Cut für den Regular-Style verwendet wird. Dadurch sah die
   App komplett kursiv aus, obwohl kein font-style:italic gesetzt war. Wir
   erzwingen daher die Systemschrift und unterdrücken jede Italic-Synthese. */

*, *::before, *::after {
  font-style: normal !important;
  font-synthesis: none !important;
  font-synthesis-style: none !important;
  font-synthesis-weight: auto !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Mono-Schrift bleibt erhalten */
code, kbd, samp, pre, [class*="font-mono"] {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco,
    Consolas, monospace !important;
}

em, i, cite, address,
[data-italic="true"], [data-allow-italic] {
  font-style: italic !important;
}
