/* ============================================================
   Loan Calculator — Print stylesheet
   ============================================================ */
@media print {

   /* Hide chrome */
   .site-header,
   .site-footer,
   .ad-banner-top,
   .ad-tower-left,
   .ad-tower-right,
   .ad-mobile-sticky,
   .breadcrumb {
      display: none !important;
   }

   /* Override dark mode */
   :root {
      --bg-void: #fff;
      --bg-base: #fff;
      --bg-surface: #fff;
      --bg-card: #f8f8f8;
      --bg-input: #fff;
      --text: #111;
      --text-muted: #555;
      --text-heading: #000;
      --border: #ccc;
      --border-subtle: #ddd;
      --accent: #2563eb;
      --accent-dim: #2563eb;
      --accent-text: #1e40af;
   }

   body {
      font-size: 11pt;
      color: #111;
      background: #fff;
   }

   /* Single column */
   .tool-layout {
      display: block;
      padding: 0;
      max-width: none;
   }

   .tool-body {
      border: none;
      padding: 0;
      background: none;
   }

   /* Summary cards */
   .ci-summary {
      gap: 8px;
   }

   .ci-summary-card {
      border: 1px solid #ccc;
      padding: 12px;
      background: #f8f8f8;
   }

   .ci-summary-card__label {
      font-size: 8pt;
      color: #555;
   }

   .ci-summary-card__value {
      font-size: 14pt;
      color: #000;
   }

   .ci-summary-card--total .ci-summary-card__value {
      color: #1e40af;
   }

   .ci-summary-card__value--interest {
      color: #059669;
   }

   /* Chart */
   .ci-chart {
      height: 150px;
      border-bottom-color: #ccc;
   }

   .ci-chart__seg--contributions {
      background: #2563eb;
      print-color-adjust: exact;
      -webkit-print-color-adjust: exact;
   }

   .ci-chart__seg--interest {
      background: #059669;
      print-color-adjust: exact;
      -webkit-print-color-adjust: exact;
   }

   .ci-chart-legend {
      color: #555;
   }

   .ci-legend--contributions .ci-legend__dot {
      background: #2563eb;
      print-color-adjust: exact;
      -webkit-print-color-adjust: exact;
   }

   .ci-legend--interest .ci-legend__dot {
      background: #059669;
      print-color-adjust: exact;
      -webkit-print-color-adjust: exact;
   }

   /* Table */
   .ci-table th {
      border-bottom: 2px solid #000;
      color: #000;
   }

   .ci-table td {
      border-bottom: 1px solid #ddd;
      color: #111;
   }

   .ci-table td:last-child {
      color: #000;
   }

   /* Page breaks */
   .ci-table-section {
      page-break-before: auto;
   }

   tr {
      page-break-inside: avoid;
   }

   /* Form inputs: show values as text */
   .ci-form input,
   .ci-form select {
      border: 1px solid #ccc;
      background: #fff;
      color: #000;
      -webkit-appearance: none;
   }
}