/* Client planning sheets. Screen presentation is unchanged. */
@media print{
  @page{size:letter;margin:.45in}
  html,body.printing-calculator{max-width:none!important;overflow:visible!important}
  body.printing-calculator{background:#fff!important;color:#192344!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  body.printing-calculator .calculator-print-sheet{width:100%;max-width:7.6in;margin:0 auto;font-family:Inter,Arial,sans-serif;font-size:9.5pt;line-height:1.4;overflow:visible}
  .calculator-print-sheet *{box-sizing:border-box}
  .calculator-print-sheet h1,.calculator-print-sheet h2,.calculator-print-sheet h3,.calculator-print-sheet h4{font-family:Manrope,Arial,sans-serif;color:#192344;letter-spacing:-.025em;break-after:avoid;page-break-after:avoid}
  .calculator-print-sheet h2{font-size:12pt;margin:16pt 0 7pt;line-height:1.25}
  .calculator-print-sheet p{orphans:3;widows:3}
  .print-sheet-header{gap:18pt;padding:0 0 14pt;margin-bottom:15pt;border-bottom:2pt solid #b9cce3;break-inside:avoid}
  .print-sheet-brand-block{display:grid;gap:9pt;min-width:0}
  .print-sheet-header .print-sheet-brand{font-family:Manrope,Inter,Arial,sans-serif;font-size:26pt;line-height:1.15;letter-spacing:-.04em;color:#152b4e}
  .print-sheet-header .print-sheet-estimate{width:fit-content;margin:0;padding:5pt 8pt;font-size:8pt;border:1pt solid #a9c5e8;border-radius:5pt;background:#eaf2ff;color:#236dca;letter-spacing:.065em;font-weight:800}
  .print-sheet-logo{display:block;width:100pt;height:auto;margin:6pt 0 0 auto;flex-shrink:0}
  .print-sheet-logo-fallback{font-family:Manrope,Arial,sans-serif;font-size:20pt!important;color:#192344;font-weight:800}
  .print-sheet-identity{display:flex;align-items:center;justify-content:flex-end;gap:9pt}
  .print-sheet-headshot{width:62pt;height:62pt;border:2pt solid #fff;border-radius:8pt;outline:1pt solid #b9cce3;box-shadow:1pt 3pt 0 #e3ebf5;object-fit:cover;object-position:center 20%;flex-shrink:0}
  .print-sheet-identity-copy{text-align:right}
  .print-sheet-header strong{font-size:12pt;line-height:1.3}
  .print-sheet-header span{font-size:8pt;line-height:1.4;margin-top:2pt;color:#4b607b}
  .print-sheet-masthead{break-inside:avoid;page-break-inside:avoid}
  .print-sheet-kicker{display:flex;align-items:center;gap:9pt;margin:13pt 0 7pt;font-size:7.5pt;font-weight:800}
  .print-sheet-site{color:#375172;letter-spacing:.1em}
  .print-sheet-estimate{padding:3pt 6pt;border:1pt solid #c9dcf3;border-radius:4pt;background:#edf5ff;color:#205b99;letter-spacing:.07em}
  .calculator-print-sheet h1{font-size:21pt;line-height:1.2;margin:0;max-width:6.8in}
  .print-sheet-date{margin:6pt 0;font-size:8pt;color:#526985}
  .print-sheet-intro{margin:0 0 11pt;max-width:6.6in;color:#425a78;font-size:9.5pt;line-height:1.5}
  .print-sheet-overview{break-inside:avoid;page-break-inside:avoid}
  .print-sheet-overview>h2{font-size:10pt;margin:0 0 7pt;color:#415a79;letter-spacing:0}
  .print-sheet-summary{display:flex;gap:7pt;width:100%}
  .print-sheet-summary-card{flex:1;min-width:0;padding:11pt 10pt;border:1pt solid #b9cce3;border-top:3pt solid #236dca;border-radius:7pt;background:#fff;box-shadow:0 3pt 0 #e3ebf5;break-inside:avoid}
  .print-sheet-summary-card span{display:block;font-size:8pt;line-height:1.35;font-weight:700;color:#466181;margin-bottom:5pt}
  .print-sheet-summary-card strong{display:block;font-family:Manrope,Arial,sans-serif;font-size:16pt;line-height:1.25;color:#192344;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
  .print-sheet-summary-primary{border-color:#192344;background:#192344;border-top-color:#659aea}
  .print-sheet-summary-primary span{color:#dbeaff}
  .print-sheet-summary-primary strong{color:#fff}
  .print-sheet-summary-long strong{font-size:12pt}
  .calculator-print-sheet .visual-summary{margin:13pt 0 0;padding:12pt 14pt;border:1pt solid #b9cce3;background:#fff!important;border-radius:7pt;box-shadow:0 3pt 0 #e3ebf5;break-inside:avoid;page-break-inside:avoid}
  .calculator-print-sheet .visual-summary h4{margin:0 0 6pt;font-size:10pt}
  .calculator-print-sheet .payment-visual{display:flex;align-items:center;gap:18pt}
  .calculator-print-sheet .payment-ring{display:block;width:77pt;height:77pt;flex-shrink:0}
  .calculator-print-sheet .payment-legend{display:grid;flex:1;gap:5pt}
  .calculator-print-sheet .payment-legend>div{display:flex;justify-content:space-between;gap:12pt;font-size:9pt}
  .calculator-print-sheet .payment-legend>div>span{display:flex;align-items:center;gap:5pt}
  .calculator-print-sheet .payment-legend i,.calculator-print-sheet .chart-legend i{width:7pt;height:7pt;border-radius:2pt;background:var(--series-color);display:inline-block;flex-shrink:0}
  .calculator-print-sheet .payment-legend strong{white-space:nowrap;font-variant-numeric:tabular-nums}
  .calculator-print-sheet .balance-chart{display:block;width:100%;height:auto;max-height:165pt;overflow:visible}
  .calculator-print-sheet .balance-chart text{font-size:12px;fill:#465e7e}
  .calculator-print-sheet .chart-series{animation:none!important;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
  .calculator-print-sheet .chart-legend{display:flex;flex-wrap:wrap;gap:6pt 13pt;margin-top:4pt;font-size:8.5pt;color:#405876}
  .calculator-print-sheet .chart-legend>span{display:flex;align-items:center;gap:5pt}
  .calculator-print-sheet .chart-caption{margin:6pt 0 0;font-size:8.5pt;line-height:1.45;color:#526a86}
  .calculator-print-sheet .compare-bar-row{margin:7pt 0}
  .calculator-print-sheet .compare-bar-label{display:flex;justify-content:space-between;gap:10pt;margin-bottom:3pt;font-size:9pt}
  .calculator-print-sheet .compare-bar-track{height:7pt;border-radius:3pt;background:#eef3f9;overflow:hidden}
  .calculator-print-sheet .compare-bar-track>span{display:block;height:100%;width:var(--bar-width);background:var(--series-color);animation:none!important}
  .print-sheet-next{display:flex;align-items:center;justify-content:space-between;gap:16pt;padding:10pt 12pt;margin:12pt 0 15pt;border:1pt solid #cfdff2;border-left:4pt solid #659aea;border-radius:6pt;background:#f6faff;break-inside:avoid;page-break-inside:avoid}
  .print-sheet-next strong{font-size:10pt;color:#192344}
  .print-sheet-next p{margin:3pt 0 0;font-size:8.5pt;color:#4f6886}
  .print-sheet-book{flex:0 0 auto;display:block;padding:7pt 9pt;border:1pt solid #192344;border-radius:4pt;font-size:8.5pt;font-weight:800;text-decoration:none;color:#192344}
  .print-sheet-result-table{width:100%;table-layout:fixed;border-collapse:collapse;break-inside:auto}
  .calculator-print-sheet table caption{text-align:left;font-family:Manrope,Arial,sans-serif;font-size:12pt;font-weight:800;line-height:1.3;color:#192344;padding:0 0 7pt;caption-side:top;break-after:avoid;page-break-after:avoid}
  .calculator-print-sheet table thead{display:table-header-group!important;position:static!important;width:auto!important;height:auto!important;margin:0!important;overflow:visible!important;clip:auto!important;white-space:normal!important}
  .calculator-print-sheet table tbody{display:table-row-group!important}
  .calculator-print-sheet table tr{display:table-row!important;break-inside:avoid;page-break-inside:avoid}
  .calculator-print-sheet table caption.print-sheet-table-caption{display:none}
  .calculator-print-sheet table thead tr.print-sheet-table-title th{width:auto!important;padding:8pt 0 7pt!important;border:0!important;background:#fff!important;font-family:Manrope,Arial,sans-serif;font-size:12pt!important;line-height:1.3;font-weight:800;color:#192344;text-align:left!important}
  .print-sheet-result-table th,.print-sheet-result-table td{display:table-cell;vertical-align:top;padding:6pt 9pt;border-bottom:1pt solid #e2eaf4;font-size:9.5pt;line-height:1.4;overflow-wrap:anywhere}
  .print-sheet-result-table th{text-align:left;width:57%;font-weight:500;color:#3b5476}
  .print-sheet-result-table td{text-align:right;font-weight:700;color:#192344;font-variant-numeric:tabular-nums}
  .print-sheet-result-table thead th{background:#edf4fd;color:#315476;font-weight:800;font-size:8pt}
  .print-sheet-result-table thead th:last-child{text-align:right;width:43%}
  .print-sheet-result-table .print-sheet-featured th,.print-sheet-result-table .print-sheet-featured td{background:#edf5ff;color:#174a84;font-weight:800}
  .print-sheet-assumptions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6pt}
  .print-sheet-field{display:block;min-width:0;padding:8pt 9pt;border:1pt solid #b9cce3;border-radius:5pt;background:#f8fbff;break-inside:avoid;page-break-inside:avoid}
  .print-sheet-field span{display:block;font-size:8.5pt;line-height:1.35;color:#526780}
  .print-sheet-field strong{display:block;text-align:left;margin-top:3pt;font-size:9.5pt;line-height:1.4;color:#192344;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
  .print-sheet-projections{margin-top:16pt;break-inside:auto;page-break-inside:auto}
  .calculator-print-sheet .heloc-table-wrap,.calculator-print-sheet .refinance-table-wrap{max-width:none;overflow:visible;border:0;border-radius:0;background:#fff}
  .calculator-print-sheet .heloc-projection-table,.calculator-print-sheet .refinance-projection-table{display:table!important;width:100%;table-layout:fixed;border-collapse:collapse;padding:0!important;font-size:9pt;break-inside:auto;page-break-inside:auto}
  .calculator-print-sheet .heloc-projection-table tr,.calculator-print-sheet .refinance-projection-table tr{padding:0!important;border:0!important;border-radius:0;background:transparent}
  .calculator-print-sheet .heloc-projection-table th,.calculator-print-sheet .heloc-projection-table td,.calculator-print-sheet .refinance-projection-table th,.calculator-print-sheet .refinance-projection-table td{display:table-cell!important;text-align:right!important;padding:6pt 5pt!important;border-bottom:1pt solid #dce5f1;font-size:9pt;line-height:1.35;vertical-align:middle;overflow-wrap:anywhere}
  .calculator-print-sheet .heloc-projection-table th:first-child,.calculator-print-sheet .refinance-projection-table th:first-child{text-align:left!important}
  .calculator-print-sheet .heloc-projection-table thead th,.calculator-print-sheet .refinance-projection-table thead th{background:#edf4fd;color:#315476;font-size:8pt;font-weight:800}
  .calculator-print-sheet .heloc-projection-table td::before,.calculator-print-sheet .refinance-projection-table td::before{content:none!important}
  .calculator-print-sheet .refinance-projection-table .refi-recast{background:#edf5ff!important}
  .calculator-print-sheet .refinance-projection-table .refi-balance-recovery{background:#eff8f1!important}
  .calculator-print-sheet .refinance-projection-table .refi-paid-off{background:#f1f6fc!important}
  .calculator-print-sheet .heloc-paid-off{font-weight:800;color:#21633c;text-align:center!important}
  .calculator-print-sheet .heloc-table-note,.calculator-print-sheet .refinance-table-note{margin:7pt 0 0;font-size:8.5pt;line-height:1.5;color:#4c6582;break-inside:avoid}
  .print-sheet-model-notes>p{margin:0;font-size:9pt;line-height:1.55;color:#445d7c;break-inside:auto;page-break-inside:auto}
  .print-sheet-disclaimer{margin:13pt 0 0;padding:9pt 11pt;border:1pt solid #dce5ef;border-radius:5pt;background:#f7f9fc;color:#455d78;font-size:8pt;line-height:1.5;break-inside:avoid;page-break-inside:avoid}
  .print-sheet-footer{margin:12pt 0 0;padding:10pt 0 0;border-top:1pt solid #d1deec;text-align:center;color:#28476e;font-size:8.5pt;line-height:1.45;font-weight:500;break-inside:avoid;page-break-inside:avoid}
  .print-sheet-footer>strong{display:block;font-family:Manrope,Arial,sans-serif;font-size:10pt;color:#192344}
  .print-sheet-contact{display:flex;justify-content:center;flex-wrap:wrap;gap:6pt 14pt;margin:5pt 0}
  .print-sheet-contact a{font-weight:700;color:#315476;text-decoration:none}
  .print-sheet-licensing{margin:5pt 0 0;font-size:8pt;color:#526985}
}
