@media print {
  @page { margin: 14mm; }

  body {
    background: #fff !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    background-image: none !important;
  }

  /* Hide interactive controls */
  .controls,
  .view-switch-row,
  .config-tabs,
  .config-note,
  .fav-btn,
  .cmp-toggle,
  .detail-hint,
  .compare-bar,
  #compareOverlay,
  #overlay,
  #mapContainer,
  header.top::after,
  details.sources,
  footer .wrap div + div { display: none !important; }

  /* Trim the header */
  header.top {
    background: #fff !important;
    color: #000 !important;
    border-bottom: 2px solid #000;
    padding: 0;
  }
  header.top .kicker { color: #555 !important; }
  header h1.title { font-size: 1.8rem !important; color: #000 !important; }
  header h1.title em { color: #555 !important; }
  header .sub { color: #333 !important; }
  .trip-strip {
    border: 1px solid #999 !important;
    background: #fff !important;
    margin-top: 12px;
  }
  .trip-cell { border-right: 1px solid #ccc !important; }
  .trip-cell .lbl { color: #555 !important; }
  .trip-cell .val { color: #000 !important; }
  .trip-cell .val small { color: #333 !important; }

  .panel { padding: 12px 0 0 0; }

  /* One column, no shadows, page-break friendly */
  .stats { display: none; }
  .grid {
    display: block !important;
    column-count: 1 !important;
  }
  .card {
    box-shadow: none !important;
    border: 1px solid #999 !important;
    border-radius: 0 !important;
    page-break-inside: avoid;
    break-inside: avoid;
    margin-bottom: 14px;
    background: #fff !important;
  }
  .card:hover { transform: none !important; }

  .price-main .amt { color: #000 !important; }
  .h-name { color: #000 !important; }
  .tag, .tag.key { background: #f0f0f0 !important; color: #000 !important; border: 1px solid #ddd; }
  .badge { color: #000 !important; background: #fff !important; border: 1px solid #555; }
  .note-row { color: #000 !important; font-style: italic; }

  footer {
    background: #fff !important;
    color: #333 !important;
    border-top: 1px solid #999;
    font-size: .76rem !important;
    padding: 14px 0 !important;
  }
  footer b { color: #000 !important; }
}
