.rental-product-image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}
.rental-table-scroll {
  overflow: auto;
}
.rental-preview-scroll {
  max-height: 35vh;
  overflow: auto;
}
.rental-customer-panel {
  padding: 22px 24px;
}
.rental-customer-panel > h2 {
  margin: 0 0 18px;
  font-size: 22px;
}
.rental-customer-fields {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
  gap: 20px;
}
.rental-customer-fields label {
  font-size: 13px;
}
.rental-customer-fields input {
  min-height: 46px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
}
.rental-company-field,
.rental-quote-title {
  min-width: 0;
}
.rental-company-field [data-company-status] {
  min-height: 20px;
  margin: 8px 0 0;
  color: #55727e;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.rental-quote-title input[readonly] {
  color: #284b59;
  background: #f2f7f9;
  cursor: default;
}
.cloud-product-content {
  min-width: 0;
}
.cloud-product-content > strong {
  overflow-wrap: anywhere;
}
.rental-products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.rental-products-head h2 {
  margin: 0;
}
.rental-view-toolbar,
.rental-view-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rental-view-switch {
  padding: 3px;
  border: 1px solid #d4e4ea;
  border-radius: 12px;
  background: #f4f9fa;
}
.rental-view-switch button {
  min-height: 34px;
  padding: 7px 11px;
  border: 0;
}
.rental-view-switch button.active {
  color: #fff;
  background: #126a82;
  box-shadow: 0 5px 12px #126a8226;
}
.rental-filter-panel {
  display: grid;
  grid-template-columns: minmax(210px, 1.3fr) repeat(4, minmax(140px, 1fr));
  gap: 12px;
  padding: 14px;
  margin-bottom: 8px;
  border: 1px solid #d6e5eb;
  border-radius: 16px;
  background: #f8fbfc;
}
.rental-filter-panel label {
  display: grid;
  align-content: end;
  gap: 6px;
  font-weight: 700;
}
.cloud-product-grid.rental-list-view {
  grid-template-columns: 1fr;
}
.rental-product-list-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  min-height: 106px;
}
.rental-product-list-card .cloud-product-content {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(170px, auto);
  align-items: center;
  gap: 16px;
}
.rental-product-list-card .cloud-product-category {
  grid-column: 1;
}
.rental-product-list-card .cloud-quantity-control {
  grid-column: 2;
  grid-row: 1 / span 2;
}
@media (max-width: 1050px) {
  .rental-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .rental-customer-fields {
    grid-template-columns: 1fr;
  }
  .rental-customer-panel {
    padding: 18px;
  }
  .rental-products-head,
  .rental-view-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .rental-view-switch button {
    flex: 1;
  }
  .rental-filter-panel {
    grid-template-columns: 1fr;
  }
  .rental-product-list-card,
  .rental-product-list-card .cloud-product-content {
    grid-template-columns: 1fr;
  }
  .rental-product-list-card .cloud-quantity-control {
    grid-column: 1;
    grid-row: auto;
  }
}
