/* Responsive operations catalog: wide desktop grid, compact phone filters. */
@media (min-width: 1025px) {
  #root .mt-6:has(> [data-t360-operations-header]) {
    width: calc(100vw - 40px) !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw + 20px) !important;
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
    grid-template-areas: "heading actions" "filters cards";
    align-items: start;
    gap: 16px 20px;
  }
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operations-header] { display: contents !important; }
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operations-header] > h3 {
    grid-area: heading;
    align-self: center;
    font-size: 20px;
  }
  #root .mt-6:has(> [data-t360-operations-header]) [data-t360-filters-toggle] { display: none !important; }
  #root .mt-6:has(> [data-t360-operations-header]) [data-t360-operation-filters] {
    grid-area: filters;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 14px !important;
    box-sizing: border-box;
    border: 1px solid #303030;
    border-radius: 16px;
    background: #151515;
  }
  #root .mt-6:has(> [data-t360-operations-header]) [data-t360-operation-filters]::before {
    content: "Filtros";
    display: block;
    padding-bottom: 10px;
    border-bottom: 1px solid #303030;
    color: #f4f4f5;
    font-weight: 700;
    font-size: 14px;
  }
  #root .mt-6:has(> [data-t360-operations-header]) [data-t360-operation-filters] > input,
  #root .mt-6:has(> [data-t360-operations-header]) [data-t360-operation-filters] > select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    border-radius: 12px !important;
  }
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-actions] {
    grid-area: actions;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 !important;
  }
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) {
    grid-area: cards;
    min-width: 0;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px !important;
  }
}
@media (min-width: 1600px) {
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1025px) and (max-width: 1599px) {
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 768px), (pointer: coarse) and (max-device-width: 600px) {
  #root .mt-6:has(> [data-t360-operations-header]) {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
  }
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards] > .group {
    min-width: 0;
  }
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards] > .group > .p-4 {
    min-width: 0;
    padding: 10px !important;
  }
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards] > .group > .p-3 {
    padding: 8px !important;
  }
  #root .mt-6:has(> [data-t360-operations-header]) [data-t360-operation-filters] > select:nth-of-type(3) {
    grid-column: auto !important;
  }
}
@media (max-width: 380px) {
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
