/*!
 * Print stylesheet — real print CSS, no PDF library. Loaded with media="print".
 * Goal: a clean, one-column printout of the results and schedule table.
 */

@page { margin: 1.5cm; }

body {
  background: #fff !important;
  color: #000 !important;
  font-size: 11pt;
}

.site-header,
.site-footer,
.calc-form,
.calc-actions,
.no-js-note,
.table-toolbar .btn,
.sibling-links,
nav,
.js-only.no-print,
[data-print-hide] {
  display: none !important;
}

main { max-width: 100%; padding: 0; margin: 0; }

.calculator {
  border: none;
  box-shadow: none;
  padding: 0;
}

.print-title { display: block !important; margin-bottom: .5rem; }

.summary-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: .4rem;
  break-inside: avoid;
}
.summary-card {
  background: #fff !important;
  border: 1px solid #999 !important;
  break-inside: avoid;
}

.chart-wrap {
  border: 1px solid #999 !important;
  background: #fff !important;
  overflow: visible !important;
}
.amort-chart { min-width: 0 !important; }

.table-scroll { border: none; overflow: visible; }
table.schedule {
  width: 100% !important;
  font-size: 9pt;
  min-width: 0 !important;
}
table.schedule thead th {
  position: static !important;
  background: #eee !important;
  color: #000 !important;
  border-bottom: 1px solid #000;
}
table.schedule tbody tr { break-inside: avoid; }
table.schedule tbody tr:nth-child(even) { background: #f7f7f7 !important; }

a[href]::after { content: "" !important; }

.content-section { break-inside: avoid-page; }
