@page {
  margin: 0.65in;
}

@media print {
  html:root[data-theme] {
    color-scheme: light;
  }

  .site-header,
  .site-footer,
  .breadcrumbs,
  .calculator-form-panel,
  .recent-calculations,
  .result-actions,
  .calculator-content,
  .related-calculators,
  .calculator-heading__note {
    display: none !important;
  }

  .print-only {
    display: block;
  }

  html body {
    color: #000;
    background: #fff;
    font-size: 10.5pt;
  }

  .site-container,
  .calculator-heading {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .calculator-heading h1 {
    font-size: 24pt;
  }

  .calculator-heading__lede {
    margin-block: 0.15in;
    font-size: 11pt;
  }

  .calculator-workspace {
    padding: 0;
  }

  .calculator-layout {
    display: block;
  }

  .calculator-results-panel {
    padding: 0;
    border: 0;
    color: #000;
    background: #fff;
    box-shadow: none;
  }

  .result-card,
  .result-section,
  .result-notes,
  .result-warnings {
    break-inside: avoid;
  }

  .result-card {
    border: 1px solid #777;
    color: #000;
    background: #fff;
  }

  .calculator-heading__lede,
  .result-card__description,
  .result-metric__description,
  .result-notes,
  .result-warnings,
  .print-input-summary,
  .print-source {
    color: #000;
    background: #fff;
  }

  .result-card__value {
    font-size: 18pt;
  }

  .project-total,
  .project-item {
    break-inside: avoid;
    border-color: #777;
    color: #000;
    background: #fff;
    box-shadow: none;
  }

  .project-total__value,
  .project-item__label,
  .project-item__cost,
  .project-total__note {
    color: #000;
  }

  .project-page {
    padding: 0;
  }

  .project-heading h1 {
    font-size: 24pt;
  }

  .project-toolbar,
  .project-actions,
  .project-item__actions,
  .project-status,
  .project-empty,
  .project-page noscript {
    display: none !important;
  }

  .print-input-summary,
  .print-source {
    margin-block: 0.2in;
    padding-block: 0.1in;
    border-bottom: 1px solid #999;
  }

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