/* Paper is white and ink is expensive: printing re-defines the theme tokens,
   so every rule in app.css that uses var(--...) flips to a light palette
   automatically instead of needing its own print override. */
@media print {
  /* Must match the specificity of html[data-theme="..."] in app.css (0,1,1),
     otherwise an active dark theme outranks these and the journal prints
     charcoal. print.css is linked after app.css, so an equal-specificity
     selector wins on order. */
  :root, html[data-theme] {
    --bg:#fff;
    --surface:#fff;
    --surface-2:#f4f4f2;
    --line:#c9c9c4;
    --ink:#000;
    --muted:#333;
    --faint:#555;
    --accent:#0e7490;      /* cyan that still reads as ink on paper */
    --on-accent:#fff;
    --red:#9b2c2c;
    --amber:#8a6116;
    --green:#2f6b4f;
    --shadow:none;
  }
  html, html[data-theme] { color-scheme:light; }
  .no-print, .site-header, .site-footer, .crumbs, .page-actions { display:none !important; }
  body { background:#fff; color:#000; font-size:11pt; }
  section.print-section { break-inside:avoid; margin-bottom:1.2rem; }
  h1 { font-size:16pt; }
  h2 { font-size:13pt; border-bottom:2px solid var(--accent); }
  a { color:#000; text-decoration:none; }
  dl.kv, .card, .print-test-card, table.print-entries { box-shadow:none; }
}
@page { margin: 2cm; }
