/* V700: one card structure, regular row flow, and a fixed visual panel for every operation. */
@media (min-width: 1280px) {
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    align-items: stretch !important;
  }
}

@media (min-width: 769px) {
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) > [data-t360-operation-tile] {
    display: flex !important;
    flex-direction: column !important;
    grid-column: auto !important;
    grid-row: auto !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) > [data-t360-operation-tile] > [data-t360-operation-name-row] {
    display: flex !important;
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    min-height: 46px !important;
    padding: 10px 14px 8px !important;
    font-size: 16px !important;
  }

  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) > [data-t360-operation-tile] > [data-t360-operation-name-row] > div:first-child {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    color: #fff !important;
  }

  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) > [data-t360-operation-tile] > div:nth-child(2) {
    position: relative !important;
    box-sizing: border-box !important;
    display: block !important;
    flex: 0 0 168px !important;
    width: auto !important;
    height: 168px !important;
    min-height: 168px !important;
    max-height: 168px !important;
    margin: 0 14px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    background: #10131a !important;
    overflow: hidden !important;
  }

  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) > [data-t360-operation-tile] > div:nth-child(2) > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #10131a !important;
  }

  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) > [data-t360-operation-tile] > div:nth-child(2) > div:last-child {
    display: none !important;
  }

  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) > [data-t360-operation-tile] > div:nth-child(3) {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding: 10px 14px 8px !important;
  }

  /* The old occupancy bar repeated the occupied count; keep the count and remove only the duplicate bar. */
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards]:not(.flex) > [data-t360-operation-tile] > div:nth-child(3) > div:nth-child(2) {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #root .mt-6:has(> [data-t360-operations-header]) > [data-t360-operation-cards] > [data-t360-operation-tile] > [data-t360-operation-name-row] {
    display: flex !important;
  }
}
