/* strafferet.ai local — custom layer on top of the compiled Tailwind build.
   Mirrors the inline styles from the Rails layout plus local additions
   (vendored fonts, print styling for "Download"). */

/* Merriweather — vendored locally as a variable font (300–900), no Google
   Fonts request at runtime. */
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../vendor/fonts/merriweather-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('../vendor/fonts/merriweather-var-italic.woff2') format('woff2');
}

/* From the Rails layout's inline <style>. */
body {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Startbredde for statusbjælken — må ikke stå inline i HTML'en, da sidens CSP
   ikke tillader inline styles. app.js sætter bredden programmatisk. */
#progress-fill {
  width: 0%;
}

/* Print (used for "Download" → gem som PDF) */
@media print {
  footer, .no-print, #model-banner-wrap { display: none !important; }
  body { background: #fff; }
  main { max-width: none; padding: 0; margin: 0; }
  #view-results [class*="border"] { border-color: #d4d4d8; }
  .bg-zinc-900 { background: #18181b !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  /* Fold alle afhøringsresuméer ud på print, selv hvis de er klappet sammen. */
  #detailed-analysis .bilag-content { display: block !important; }
}
