@media (max-width: 768px) {
  .tasks-list-page {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .tasks-list-page .ant-page-header-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .tasks-list-page .ant-page-header-heading-title {
    min-width: 0;
    font-size: 22px;
    line-height: 28px;
  }

  .tasks-list-page .ant-page-header-heading-extra {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    margin-left: 0 !important;
    gap: 6px;
  }

  .tasks-list-page .ant-page-header-heading-extra > * {
    margin-left: 0 !important;
  }

  .tasks-list-page .ant-page-header-heading-extra .ant-input-search {
    width: 100% !important;
    max-width: 100% !important;
    order: 10;
  }

  .tasks-list-page .ant-page-header-footer .ant-row,
  .tasks-list-page .ant-page-header-footer .ant-col,
  .tasks-list-page .ant-page-header-footer [class*="ant-col-"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .tasks-list-page .ant-table-wrapper,
  .tasks-list-page .ant-spin-nested-loading,
  .tasks-list-page .ant-spin-container,
  .tasks-list-page .ant-table,
  .tasks-list-page .ant-table-content,
  .tasks-list-page .ant-table-body {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .tasks-list-page .ant-table table,
  .tasks-list-page .ant-table-thead,
  .tasks-list-page .ant-table-tbody,
  .tasks-list-page .ant-table-thead > tr,
  .tasks-list-page .ant-table-tbody > tr,
  .tasks-list-page .ant-table-tbody > tr > td {
    display: block !important;
    width: 100% !important;
  }

  .tasks-list-page .ant-table-thead { display: none !important; }

  .tasks-list-page .ant-table-tbody > tr.ant-table-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px 12px;
    margin: 0 0 12px;
    padding: 14px 12px;
    background: #fff;
    border: 1px solid #edf0f2;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(15, 35, 55, 0.06);
  }

  .tasks-list-page .ant-table-tbody > tr > td {
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere;
  }

  .tasks-list-page .ant-table-tbody > tr > td::before {
    display: block;
    margin-bottom: 3px;
    color: #8c8c8c;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    text-transform: uppercase;
  }

  .tasks-list-page .ant-table-tbody > tr > td:nth-child(2)::before { content: ""1$2#0$2$3$1"; }
  .tasks-list-page .ant-table-tbody > tr > td:nth-child(3)::before { content: "!4#5#9$1$2#2#8#5"; }
  .tasks-list-page .ant-table-tbody > tr > td:nth-child(4)::before { content: ""1#E#7#4#0#D#0"; }
  .tasks-list-page .ant-table-tbody > tr > td:nth-child(5)::before { content: "!2$B#F#E#B#D#8$2$C #4#E"; }
  .tasks-list-page .ant-table-tbody > tr > td:nth-child(6)::before { content: "!D#E#C#5$0"; }
  .tasks-list-page .ant-table-tbody > tr > td:nth-child(7)::before { content: ""2#8#F"; }
  .tasks-list-page .ant-table-tbody > tr > td:nth-child(8)::before { content: ""2#5#C#0 / !E#F#8$1#0#D#8#5"; }
  .tasks-list-page .ant-table-tbody > tr > td:nth-child(9)::before { content: "!8#D#8$6#8#0$2#E$0"; }
  .tasks-list-page .ant-table-tbody > tr > td:nth-child(10)::before { content: "!E$2#2#5$2$1$2#2#5#D#D$B#9"; }

  .tasks-list-page .ant-table-selection-column,
  .tasks-list-page .ant-table-row-expand-icon-cell,
  .tasks-list-page .ant-table-tbody > tr > td:nth-child(8),
  .tasks-list-page .ant-table-tbody > tr > td:nth-child(9),
  .tasks-list-page .ant-table-tbody > tr > td:nth-child(10) {
    grid-column: 1 / -1;
  }

  .tasks-list-page .ant-typography { margin-bottom: 0; white-space: normal; }

  .tasks-list-page .ant-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
  }

  .tasks-list-page .ant-pagination-total-text {
    width: 100%;
    height: auto;
    line-height: 18px;
    text-align: left;
    white-space: normal;
  }

  .tasks-filter-drawer .ant-drawer-content-wrapper {
    width: calc(100vw - 52px) !important;
    max-width: calc(100vw - 52px) !important;
  }

  .tasks-filter-drawer .ant-drawer-body { padding: 14px 12px 20px !important; overflow-x: hidden !important; }
  .tasks-filter-drawer .ant-drawer-header { padding: 14px 12px !important; }
  .tasks-filter-drawer .ant-row { margin-left: 0 !important; margin-right: 0 !important; }

  .tasks-filter-drawer .ant-col,
  .tasks-filter-drawer [class*="ant-col-"] {
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .tasks-filter-drawer .ant-form-item { margin-bottom: 14px !important; }

  .tasks-filter-drawer .ant-calendar-picker,
  .tasks-filter-drawer .ant-input,
  .tasks-filter-drawer .ant-select,
  .tasks-filter-drawer .ant-select-selection,
  .tasks-filter-drawer textarea {
    width: 100% !important;
    max-width: 100% !important;
  }

  .tasks-filter-drawer .ant-calendar-range-picker-input { width: 42% !important; font-size: 12px !important; }
  .tasks-filter-drawer .ant-calendar-range-picker-separator { width: 8% !important; min-width: 14px !important; }

  .ant-card .ant-card-head-wrapper { min-width: 0; }
  .ant-card .ant-card-head-title { white-space: normal; }
}
