/* Remove the text-only banner above the property availability calendar. */
.availability-manager > .calendar-heading{display:none!important}

/* Keep the property image and the reservation/contact panel level in the detail dialog. */
.owner-reservation-modal-intro{align-items:stretch;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr)}
.owner-reservation-modal-visual,.owner-reservation-modal-party{box-sizing:border-box;height:270px;min-height:270px}
.owner-reservation-modal-party{align-content:center;gap:13px;padding:18px}
.owner-reservation-modal-party .booking-party-person{flex-wrap:nowrap}
.owner-reservation-modal-party .reservation-id{margin:0;line-height:1.35}

/* Contact actions keep their original phone, WhatsApp and email targets and show labels. */
.owner-reservation-modal-contact-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:1px}
.owner-reservation-modal-contact{display:flex;align-items:center;justify-content:center;gap:6px;width:auto;height:42px;min-width:0;padding:0 8px;border-radius:10px;white-space:nowrap;text-decoration:none;font-size:11px;font-weight:600}
.owner-reservation-modal-contact svg{width:16px;height:16px;flex:0 0 16px}
.owner-reservation-modal-contact span{overflow:hidden;text-overflow:ellipsis}
.owner-reservation-modal-contact-actions>.owner-reservation-modal-message-action{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-width:0;min-height:44px;box-sizing:border-box;margin:0;padding:9px 14px;border:1px solid #17473b;border-radius:10px;background:#17473b;color:#fff;font-size:13px;font-weight:600;line-height:1.2;text-align:center;white-space:normal;cursor:pointer}
.owner-reservation-modal-contact-actions>.owner-reservation-modal-message-action:hover{background:#103c32;border-color:#103c32}
.owner-reservation-modal-contact-actions>.owner-reservation-modal-message-action:focus-visible{outline:3px solid #8fb49a;outline-offset:2px}
.owner-reservation-modal-message-action .action-icon{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#dceadd;color:#17473b;font-size:15px;line-height:1}
.owner-reservation-modal-message-action .owner-contact-copy{display:block;min-width:0;text-align:center}
.owner-reservation-modal-message-action .owner-contact-copy b{font-size:inherit;line-height:inherit}
.owner-reservation-modal-details:not(.tenant-reservation-modal-details) .booking-actions>.booking-invoice-action:first-child{background:#f5f8f3!important;border-color:#c9d8ca!important;color:var(--ink)!important}
.owner-reservation-modal-details.tenant-reservation-modal-details .booking-actions>.booking-invoice-action:first-child{background:#fff!important;border-color:#c8d8ca!important;color:#173f36!important}

/* Five summary cells and five actions share the same columns; cancellation stays last. */
.owner-reservation-modal-details .owner-booking-summary{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.owner-reservation-modal-details .booking-actions{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.owner-reservation-modal-details .booking-actions .account-booking-action{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;white-space:normal;text-align:center}
.owner-reservation-modal-details .booking-actions .owner-cancel-modal-action{border-color:#e7c1bd;background:#fff8f7;color:#a33b32}
.owner-reservation-modal-details .booking-actions .owner-cancel-modal-action:disabled{opacity:.48;cursor:not-allowed}
.owner-cancel-locked{opacity:.55;cursor:not-allowed}

@media(max-width:760px){
  .owner-reservation-modal-intro{grid-template-columns:minmax(0,1fr)}
  .owner-reservation-modal-visual{height:210px;min-height:210px}
  .owner-reservation-modal-party{height:auto;min-height:0;padding:15px}
  .owner-reservation-modal-details .booking-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .owner-reservation-modal-details .booking-actions .owner-cancel-modal-action{grid-column:2}
}

@media(max-width:420px){
  .owner-reservation-modal-contact-actions{gap:5px}
  .owner-reservation-modal-contact{gap:4px;padding:0 5px;font-size:10px}
}
