/* Load after price-monitor.css and price-position.css. Desktop only: keep the
 * mobile/tablet typography and every price/source detail in the existing DOM. */
@media (min-width: 1081px) {
  .price-monitor-page .mp-table {
    font: 400 13px/1.28 Arial, sans-serif;
  }

  .price-monitor-page .mp-table thead th {
    padding: 7px 8px;
    font: 700 11px/1.25 Arial, sans-serif;
  }

  .price-monitor-page .mp-table tbody th,
  .price-monitor-page .mp-table tbody td {
    padding: 3px 8px;
    line-height: 1.28;
  }

  .price-monitor-page .mp-table tbody th {
    font: 600 13px/1.28 Arial, sans-serif;
  }

  /* The original grade/length shorthand is important, including line-height. */
  .price-monitor-page .mp-table .mp-grade,
  .price-monitor-page .mp-table .mp-length {
    font: 400 12px/1.3 Arial, sans-serif !important;
  }

  .price-monitor-page .mp-table .mp-supplier button {
    font: 600 12px/1.3 Arial, sans-serif;
  }

  .price-monitor-page .mp-table small,
  .price-monitor-page .mp-table tbody small,
  .price-monitor-page .mp-table .mp-price-date,
  .price-monitor-page .mp-table .mp-checked {
    margin-top: 2px;
    font: 400 11px/1.25 Arial, sans-serif;
  }

  .price-monitor-page .mp-table .mp-price-line {
    gap: 1px 4px;
  }

  .price-monitor-page .mp-table .mp-price {
    font: 700 16px/1.15 Arial, sans-serif;
  }

  .price-monitor-page .mp-table .mp-price-line .mp-unit,
  .price-monitor-page .mp-table .mp-price-line .mp-vat {
    margin: 0;
    font: 400 11px/1.25 Arial, sans-serif;
    font-size: 11px !important;
  }

  .price-monitor-page .mp-table .mp-tiers {
    margin-top: 3px;
    gap: 1px;
    font: 400 11px/1.25 Arial, sans-serif;
  }

  .price-monitor-page .mp-table .mp-tiers > span {
    gap: 4px;
  }

  .price-monitor-page .mp-table .mp-empty {
    padding: 18px 12px !important;
    font: 400 13px/1.35 Arial, sans-serif;
  }

  /* Desktop sidebars can leave a narrow card container. Keep its existing
   * structure and zero cell padding instead of adding table padding to cards. */
  @container mp-prices (max-width: 760px) {
    .price-monitor-page .mp-table tbody tr {
      gap: 6px 10px;
      padding: 9px 8px;
      margin-bottom: 8px;
    }

    .price-monitor-page .mp-table tbody th,
    .price-monitor-page .mp-table tbody td {
      padding: 0;
    }

    .price-monitor-page .mp-table .mp-empty {
      padding: 0 !important;
    }
  }
}
