/* ============================================================
   FU Money Calculator — Print stylesheet
   Used by the Goal Tracker "print to PDF" on any device.
   ============================================================ */

@media print {
  /* Force clean, ink-friendly output */
  :root, [data-theme] {
    --text: #000; --text-muted: #333; --text-faint: #555;
    --bg: #fff; --surface: #fff; --surface-2: #fff;
    --border: #bbb; --border-strong: #888; --accent: #000; --accent-ink: #fff;
  }
  body {
    background: #fff !important; color: #000 !important;
    font-size: 12pt; line-height: 1.4;
  }

  /* Strip chrome that shouldn't print */
  .site-header, .site-footer, .nav, .nav-toggle, .header-tools,
  .consent, .ad-slot, .result-actions, .no-print, .skip-link {
    display: none !important;
  }

  /* Layout for paper */
  .container { max-width: none; padding: 0; }
  .panel, .tool-card { box-shadow: none !important; border: 1px solid #ccc; }

  /* Keep worksheet sections intact across pages */
  .print-section, .panel, .field, .result-panel { break-inside: avoid; page-break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }

  /* Printable form fields render as clean lines */
  input[type="text"], input[type="number"], input[type="date"] {
    border: none !important; border-bottom: 1px solid #000 !important;
    border-radius: 0 !important; box-shadow: none !important; background: transparent !important;
    color: #000 !important;
  }
  textarea {
    border: 1px solid #000 !important; background: transparent !important; color: #000 !important;
  }

  a { color: #000 !important; text-decoration: none !important; }

  @page { margin: 16mm; }
}
