@media (max-width: 1100px) {
  .pw-filters {
    grid-template-columns: 1.4fr 145px 1fr;
  }
  .pw-search {
    grid-column: span 2;
  }
  .pw-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .pw-source-grid {
    grid-template-columns: 1fr;
  }
  .pw-source + .pw-source {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .pw-heading {
    display: block;
    padding: 18px 16px;
  }
  .pw-heading h4 {
    font-size: 20px;
  }
  .pw-heading-actions,
  .pw-heading > button {
    margin-top: 14px;
  }
  .pw-notice {
    margin: 16px 16px 0;
  }
  .pw-progress {
    padding: 14px 16px;
    gap: 8px 16px;
  }
  .pw-filters {
    padding-inline: 16px;
    grid-template-columns: 1fr 1fr;
  }
  .pw-search {
    grid-column: 1 / -1;
  }
  .pw-list-heading {
    padding-inline: 16px;
  }
  .pw-table {
    min-width: 0;
    display: block;
  }
  #pauta-agenda.pauta-workbench .pw-table {
    min-width: 0;
  }
  .pw-table caption,
  .pw-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .pw-table tbody {
    display: block;
  }
  .pw-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid var(--line);
  }
  .pw-table td {
    display: block;
    padding: 0;
    border: 0;
    box-shadow: none !important;
    min-width: 0;
  }
  .pw-table td:nth-child(2),
  .pw-table td:nth-child(3) {
    grid-column: 1 / -1;
  }
  .pw-table td:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .pw-table td:nth-child(5) {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  .pw-table td:nth-child(6) {
    align-self: end;
  }
  .pw-table td:nth-child(4)::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 3px;
  }
  .pw-table .pw-detail-row {
    display: block;
    padding: 0;
  }
  .pw-detail {
    padding: 18px 16px;
  }
  .pw-facts {
    grid-template-columns: 1fr;
  }
  .pw-detail-actions,
  .pw-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .pw-footer {
    padding-inline: 16px;
  }
  .pw-pagination {
    justify-content: space-between;
  }
}

@media (pointer: coarse) {
  .pauta-workbench button,
  .pauta-workbench input,
  .pauta-workbench select {
    min-height: 44px;
  }
  .pauta-workbench input,
  .pauta-workbench select {
    font-size: 16px;
  }
}
