@media (max-width: 720px) {
  body #wastePanel {
    margin-inline: -6px;
  }

  body #wastePanel .waste-layout {
    gap: 12px;
  }

  body #wastePanel .waste-card {
    padding: 12px;
    border-radius: 8px;
  }

  body #wastePanel .catalog-head {
    margin-bottom: 12px;
  }

  body #wastePanel .catalog-head h2 {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  body #wastePanel .catalog-head p {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  body #wastePanel .waste-ticket-form,
  body #wastePanel .waste-line-form,
  body #wastePanel .waste-summary-form,
  body #wastePanel .waste-filterbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
    box-shadow: none;
  }

  body #wastePanel input,
  body #wastePanel select,
  body #wastePanel textarea,
  body #wastePanel button {
    width: 100%;
    min-height: 46px;
    font-size: 16px;
  }

  body #wastePanel textarea {
    min-height: 84px;
  }

  body #wastePanel .waste-auto-date {
    min-height: auto;
    padding: 10px 12px;
  }

  body #wastePanel .waste-auto-date strong {
    font-size: 0.94rem;
    line-height: 1.35;
  }

  body #wastePanel .table-status {
    padding: 9px 10px;
    font-size: 0.88rem;
  }

  body #wastePanel .table-wrap,
  body #wastePanel .table-wrap.compact {
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  body #wastePanel #wasteDraftTable,
  body #wastePanel #wasteTable,
  body #wastePanel #wasteSummaryTable {
    display: block;
    min-width: 0;
    width: 100%;
    border: 0;
  }

  body #wastePanel #wasteDraftTable thead,
  body #wastePanel #wasteTable thead,
  body #wastePanel #wasteSummaryTable thead {
    display: none;
  }

  body #wastePanel #wasteDraftTable tbody,
  body #wastePanel #wasteTable tbody,
  body #wastePanel #wasteSummaryTable tbody {
    display: grid;
    gap: 10px;
  }

  body #wastePanel #wasteDraftTable tr,
  body #wastePanel #wasteTable tr,
  body #wastePanel #wasteSummaryTable tr {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(23, 33, 30, 0.08);
  }

  body #wastePanel #wasteDraftTable td,
  body #wastePanel #wasteTable td,
  body #wastePanel #wasteSummaryTable td {
    display: grid;
    grid-template-columns: minmax(82px, 30%) 1fr;
    gap: 10px;
    align-items: start;
    min-height: 40px;
    padding: 10px 11px;
    border: 0;
    border-bottom: 1px solid rgba(216, 225, 220, 0.75);
    background: #fff;
    white-space: normal;
  }

  body #wastePanel #wasteDraftTable td:last-child,
  body #wastePanel #wasteTable td:last-child,
  body #wastePanel #wasteSummaryTable td:last-child {
    border-bottom: 0;
  }

  body #wastePanel #wasteDraftTable td::before,
  body #wastePanel #wasteTable td::before,
  body #wastePanel #wasteSummaryTable td::before {
    color: #60746d;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  body #wastePanel #wasteDraftTable td:nth-child(1)::before {
    content: "Tipo";
  }

  body #wastePanel #wasteDraftTable td:nth-child(2)::before {
    content: "Detalle";
  }

  body #wastePanel #wasteDraftTable td:nth-child(3)::before {
    content: "Cantidad";
  }

  body #wastePanel #wasteDraftTable td:nth-child(4)::before {
    content: "Obs.";
  }

  body #wastePanel #wasteDraftTable td:nth-child(5)::before {
    content: "Acciones";
  }

  body #wastePanel #wasteTable td:nth-child(1)::before {
    content: "Fecha";
  }

  body #wastePanel #wasteTable td:nth-child(2)::before {
    content: "Tipo";
  }

  body #wastePanel #wasteTable td:nth-child(3)::before {
    content: "Detalle";
  }

  body #wastePanel #wasteTable td:nth-child(4)::before {
    content: "Total";
  }

  body #wastePanel #wasteTable td:nth-child(5)::before {
    content: "Firma";
  }

  body #wastePanel #wasteTable td:nth-child(6)::before {
    content: "Acciones";
  }

  body #wastePanel #wasteSummaryTable td:nth-child(1)::before {
    content: "Tipo";
  }

  body #wastePanel #wasteSummaryTable td:nth-child(2)::before {
    content: "Producto";
  }

  body #wastePanel #wasteSummaryTable td:nth-child(3)::before {
    content: "Total";
  }

  body #wastePanel #wasteSummaryTable td:nth-child(4)::before {
    content: "Boletas";
  }

  body #wastePanel #wasteSummaryTable td:nth-child(5)::before {
    content: "Ultima";
  }

  body #wastePanel .actions-cell {
    align-items: stretch;
  }

  body #wastePanel .actions-cell button {
    margin: 0 0 6px;
    min-height: 40px;
  }

  body #wastePanel .waste-lines-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
  }

  body #wastePanel .waste-lines-list li {
    padding: 7px 0;
    border-bottom: 1px dashed rgba(216, 225, 220, 0.9);
  }

  body #wastePanel .waste-lines-list li:last-child {
    border-bottom: 0;
  }

  body #wastePanel .waste-area-pill {
    width: fit-content;
  }
}
