.thbp-rental-fields { box-sizing: border-box; width: 100%; margin: 12px 0; }
.thbp-rental-fields[hidden], .thbp-rental-fields [hidden] { display: none !important; }
.thbp-rental-fields .thbp-form-group { margin: 0 0 14px; }
.thbp-rental-fields label { display: block; margin-bottom: 6px; font-weight: 600; }
.thbp-rental-fields select, .thbp-rental-fields input { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 40px; }
.thbp-rental-fields > p:last-child { margin-bottom: 0; }
.thbp-offer-single-price { grid-column: 1 / -1; width: 100%; }
.field-row.two-col.thbp-offer-rent-price-row { grid-template-columns: minmax(0, 1fr); }
.thbp-offer-help { display: block; grid-column: 1 / -1; margin: 6px 0 12px; color: #526174; }
.thbp-offer-help[hidden] { display: none !important; }
.thbp-offer-guidance-row { display: block; margin: 4px 0; line-height: 1.6; }
.thbp-offer-guidance-note { display: block; margin-top: 8px; font-weight: 600; line-height: 1.6; }
[data-offer-payment-disclosure] { margin: 16px 0; padding: 14px; border: 1px solid #dbe2ec; border-radius: 10px; }
[data-offer-payment-disclosure] > summary { cursor: pointer; font-weight: 600; }
[data-offer-payment-disclosure][open] > summary { margin-bottom: 14px; }
[data-offer-payment-disclosure][hidden] { display: none !important; }
.thbp-detail-lease-row [hidden] { display: none !important; }
.thbp-detail-lease-row.thbp-offer-single-lease { grid-template-columns: minmax(0, 1fr); }
.thbp-offer-single-lease > [data-detail-lease-host],
.thbp-offer-single-lease > .thbp-lease-term-row { grid-column: 1 / -1; width: 100%; }
.thbp-offer-empty-price-row { display: none !important; }
.thbp-detail-lease-row.thbp-offer-rent-lease-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.thbp-offer-rent-lease-pair > .thbp-offer-paired-rent { grid-column: 1; width: 100%; }
.thbp-offer-rent-lease-pair > [data-detail-lease-host],
.thbp-offer-rent-lease-pair > .thbp-lease-term-row { grid-column: 2; width: 100%; }
@media (max-width: 640px) {
  .thbp-detail-lease-row.thbp-offer-rent-lease-pair { grid-template-columns: minmax(0, 1fr); }
  .thbp-offer-rent-lease-pair > .thbp-offer-paired-rent,
  .thbp-offer-rent-lease-pair > [data-detail-lease-host],
  .thbp-offer-rent-lease-pair > .thbp-lease-term-row { grid-column: 1; }
}

.thbp-offer-guidance-row[hidden] { display: none !important; }

#thbp-listing-offer[hidden], [data-thbp-admin-offer-control] [hidden] { display: none !important; }
[data-thbp-admin-offer-control] > p { margin: 0; }
[data-thbp-admin-offer-control] label { display: block; margin-bottom: 6px; }
[data-thbp-admin-offer-control] select { width: 100%; max-width: 100%; }
.bizprop-grid > [data-offer-payment-disclosure] { grid-column: 1 / -1; }

/* Keep Step 2 consistent with both the native admin fields and shared detail controls. */
#bizprop_business_details_full .thbp-admin-listing-details [hidden] { display: none !important; }
#bizprop_business_details_full .thbp-admin-listing-details .bizprop-grid,
#bizprop_business_details_full .thbp-admin-listing-details .bizprop-grid-3 { align-items: start; gap: 16px; }
#bizprop_business_details_full .thbp-admin-listing-details .bizprop-field > label,
#bizprop_business_details_full .thbp-admin-listing-details [data-thbp-admin-offer-control] label,
#bizprop_business_details_full .thbp-admin-listing-details .thbp-detail-label-row {
  box-sizing: border-box; display: flex; align-items: center; min-height: 20px;
  margin: 0 0 6px; font-size: 13px; line-height: 20px;
}
#bizprop_business_details_full .thbp-admin-listing-details .thbp-detail-label-row > label {
  margin: 0; font-size: 13px; line-height: 20px;
}
#bizprop_business_details_full .thbp-admin-listing-details input[type="text"],
#bizprop_business_details_full .thbp-admin-listing-details input[type="number"],
#bizprop_business_details_full .thbp-admin-listing-details select {
  box-sizing: border-box; width: 100%; max-width: 100%; height: 44px; min-height: 44px;
  margin: 0; padding: 8px 12px; font-size: 13px; line-height: 20px; border-radius: 10px;
}
#bizprop_business_details_full .thbp-admin-listing-details .thbp-detail-stepper {
  height: 44px; min-height: 44px;
}
#bizprop_business_details_full .thbp-admin-listing-details .thbp-detail-stepper input {
  height: 42px; min-height: 42px; border: 0; border-radius: 0; padding: 0 10px;
}
#bizprop_business_details_full .thbp-admin-listing-details .thbp-detail-stepper button {
  height: 42px; min-height: 42px;
}
#bizprop_business_details_full .thbp-admin-listing-details .thbp-offer-help {
  margin: 6px 0 0; font-size: 12px; line-height: 1.5;
}
#bizprop_business_details_full .thbp-admin-listing-details .thbp-offer-guidance-row { margin: 0; line-height: 1.5; }
#bizprop_business_details_full .thbp-admin-listing-details .bizprop-help { font-size: 12px; line-height: 1.5; }
#bizprop_business_details_full .thbp-admin-listing-details .thbp-detail-lease-row { margin: 16px 0 0; }
#bizprop_business_details_full .thbp-admin-listing-details .thbp-admin-offer-slot > [hidden] {
  display: none !important;
}

/* Compact desktop cards become full-width radio choices on mobile. */
.thbp-offer-cards,
.choice-grid.lease-grid.thbp-offer-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch; gap: 8px; width: 100%; margin: 0; padding: 1px;
  box-sizing: border-box;
}
.thbp-offer-cards .thbp-offer-card {
  appearance: none; box-sizing: border-box; display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 2px; width: 100%; min-width: 0;
  max-width: 100%; min-height: 58px; margin: 0; padding: 9px 8px;
  border: 1px solid #d6dce7; border-radius: 12px; background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%); color: #243f77;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03); text-align: center; font: inherit; cursor: pointer;
  white-space: normal; touch-action: manipulation;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}
.thbp-offer-card-title { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.thbp-offer-card-subtitle { display: block; font-size: 12px; font-weight: 400; line-height: 1.35; color: #526174; }
.thbp-offer-cards .thbp-offer-card[aria-checked="true"] {
  border-color: #c7d2e5; background: linear-gradient(180deg, #eef3fb 0%, #e3eaf6 100%); color: #243f77;
  box-shadow: 0 0 0 1px rgba(36, 63, 119, .04), 0 1px 2px rgba(16, 24, 40, .03);
}
.thbp-offer-card[aria-checked="true"] .thbp-offer-card-subtitle { color: #243f77; }
@media (hover: hover) and (pointer: fine) {
  .thbp-offer-cards .thbp-offer-card:hover { transform: translateY(-1px); border-color: #b9c7de; }
}
.thbp-offer-cards .thbp-offer-card:active { transform: scale(.985); }
.thbp-offer-cards .thbp-offer-card:focus-visible { outline: 2px solid #243f77; outline-offset: 3px; }
.thbp-offer-native-select {
  position: absolute !important; width: 1px !important; height: 1px !important;
  min-height: 0 !important; padding: 0 !important; border: 0 !important;
  overflow: hidden !important; clip-path: inset(50%); white-space: nowrap;
}
.thbp-offer-card-field { grid-column: 1 / -1; min-width: 0; }
@media (max-width: 640px) {
  .thbp-offer-cards,
  .choice-grid.lease-grid.thbp-offer-cards { grid-template-columns: minmax(0, 1fr); }
  .thbp-offer-cards .thbp-offer-card {
    display: grid; grid-template-columns: 18px minmax(0, 1fr);
    grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px;
    justify-content: stretch; align-content: center; align-items: center;
    width: 100%; min-width: 0; min-height: 60px; padding: 10px 14px; text-align: left;
  }
  .thbp-offer-cards .thbp-offer-card::before {
    content: ''; box-sizing: border-box; grid-column: 1; grid-row: 1 / 3;
    width: 18px; height: 18px; border: 2px solid #bdc9df; border-radius: 50%; background: #fff;
  }
  .thbp-offer-cards .thbp-offer-card[aria-checked="true"]::before {
    border-color: #3d559b;
    background: radial-gradient(circle, #3d559b 0 4px, #fff 4.5px);
  }
  .thbp-offer-card-title { grid-column: 2; grid-row: 1; font-size: 14px; }
  .thbp-offer-card-subtitle { grid-column: 2; grid-row: 2; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .thbp-offer-cards .thbp-offer-card { transition: none; }
  .thbp-offer-cards .thbp-offer-card:hover,
  .thbp-offer-cards .thbp-offer-card:active { transform: none; }
}
