/* Mi cuenta: dos filas con reparto 75/25 en escritorio. Cada fila se estira
   según su contenido, sin imponer alturas fijas. */
#accountView .account-dashboard-grid{display:grid!important;grid-template-columns:minmax(0,3fr) minmax(260px,1fr);grid-template-areas:"identity contact" "bookings payments";align-items:stretch;gap:16px;width:100%;margin:20px 0 28px;box-sizing:border-box}
#accountView .account-dashboard-grid>.account-identity-card{grid-area:identity}
#accountView .account-dashboard-grid>.account-contact-card{grid-area:contact}
#accountView .account-dashboard-grid>.account-bookings-section{grid-area:bookings;padding:18px;border:1px solid #dce7df;border-radius:18px;background:#fff}
#accountView .account-dashboard-grid>.account-owner-payments{grid-area:payments;padding:18px}
#accountView .account-dashboard-grid>.account-identity-card,#accountView .account-dashboard-grid>.account-contact-card,#accountView .account-dashboard-grid>.account-bookings-section,#accountView .account-dashboard-grid>.account-owner-payments{width:100%;min-width:0;min-height:0;margin:0;box-sizing:border-box;align-self:stretch}
#accountView .account-dashboard-grid .account-payment-row{grid-template-columns:minmax(0,1fr) auto;gap:.65rem}
@media(max-width:760px){#accountView .account-dashboard-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"identity" "contact" "bookings" "payments";gap:12px;margin:12px 0 20px}#accountView .account-dashboard-grid>.account-owner-payments,#accountView .account-dashboard-grid>.account-bookings-section{padding:14px}}

/* v145: keep owner dashboard panels visible and preserve the account layout. */
#accountView .account-bookings-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px}
#accountView .account-bookings-title-row h3{flex:0 0 auto;margin:0}
#accountView .account-bookings-title-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
#accountView .account-bookings-title-actions .owner-reservation-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}
#accountView .account-bookings-title-actions .owner-reservation-search{box-sizing:border-box;flex:0 1 250px;width:clamp(175px,18vw,250px);min-width:175px;max-width:250px}
#accountView .account-bookings-title-actions .owner-reservation-sort{box-sizing:border-box;flex:0 1 225px;width:clamp(170px,17vw,225px);min-width:170px;max-width:225px}
#accountView .tenant-bookings-incidents{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;margin:0;padding:8px 14px;border:1px solid #f4caca;border-radius:999px;background:#fff3f3;color:#982d32;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap;transition:background .16s ease,border-color .16s ease,color .16s ease}
#accountView .tenant-bookings-incidents:hover{border-color:#edb8ba;background:#ffe9e9;color:#84242a}
#accountView .tenant-bookings-incidents-icon{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
#accountView .tenant-reservation-toolbar{display:block!important;width:100%;margin:0 0 16px}
#accountView .tenant-reservation-toolbar .owner-reservation-tabs{display:flex;width:100%;min-width:0;gap:8px;overflow-x:auto;flex-wrap:nowrap}
#accountView .account-owner-payments-heading{display:flex;align-items:center;justify-content:space-between;flex-direction:row;flex-wrap:wrap;gap:.75rem;margin-bottom:.8rem}
#accountView .account-owner-payments-heading>div:first-child{flex:1 1 150px;min-width:0}
#accountView .account-payment-tabs{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:.35rem;white-space:nowrap}
#accountView .account-payment-tabs .chip{min-height:34px;padding:6px 10px;font-size:12px;line-height:1.2;white-space:nowrap}
#accountView .account-dashboard-grid .account-payment-row{grid-template-columns:minmax(0,1fr) auto;gap:.25rem .7rem;padding:.62rem .75rem}
#accountView .account-dashboard-grid .account-payment-row>div{gap:.12rem}
#accountView .account-dashboard-grid .account-payment-row>div span{font-size:.82rem;line-height:1.25}
#accountView #bookingList .booking-filter-bucket:not([hidden]){display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),380px));justify-content:start;gap:16px;align-items:stretch}
#accountView .tenant-reservation-item{width:100%;height:100%;min-width:0;min-height:0}
#accountView .tenant-reservation-item .owner-reservation-property img.owner-reservation-property-photo{width:100%;height:auto;aspect-ratio:2.65;object-fit:cover;object-position:center}
#accountView .tenant-reservation-item .owner-reservation-date-range,#accountView .tenant-reservation-item .owner-reservation-nights{font-size:12px;line-height:1.3}
@media(max-width:900px){#accountView .account-bookings-title-row{align-items:flex-start;flex-wrap:wrap}#accountView .account-bookings-title-actions{flex:1 1 100%;justify-content:flex-start;flex-wrap:wrap}#accountView .account-owner-payments-heading{align-items:flex-start}}
@media(max-width:760px){#accountView .account-bookings-title-row{flex-direction:column;align-items:stretch;gap:10px}#accountView .account-bookings-title-actions{width:100%;justify-content:flex-start;gap:8px}#accountView .account-bookings-title-actions .owner-reservation-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);flex:1 1 100%;width:100%;gap:8px}#accountView .account-bookings-title-actions .owner-reservation-search,#accountView .account-bookings-title-actions .owner-reservation-sort{width:100%;min-width:0;max-width:none}#accountView .tenant-reservation-toolbar .owner-reservation-tabs{width:100%;overflow-x:auto;flex-wrap:nowrap}#accountView #bookingList .booking-filter-bucket:not([hidden]){grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),380px));gap:12px}}
@media(max-width:480px){#accountView .account-bookings-title-actions{flex-direction:column;align-items:stretch}#accountView .account-bookings-title-actions .owner-reservation-controls{grid-template-columns:minmax(0,1fr)}#accountView .tenant-bookings-incidents{align-self:flex-start}#accountView #bookingList .booking-filter-bucket:not([hidden]){grid-template-columns:minmax(0,1fr)}}

/* v144: the account ledger lists the tenant's own charges. */
#accountView .account-tenant-payments .account-owner-payments-heading{align-items:center}
#accountView .account-tenant-payments .account-owner-payments-heading>h3{margin:0}
#accountView .account-owner-payments .account-payment-list[hidden]{display:none!important}

#landlordView.owner-dashboard-resolving{position:relative;min-height:260px}
#landlordView.owner-dashboard-resolving>.owner-dashboard-resolving-message{display:flex;align-items:center;justify-content:center;min-height:260px;color:#637b76;font-size:15px}
#landlordView.owner-dashboard-resolving>:not(.owner-dashboard-resolving-message){display:none!important}
#landlordView .owner-empty-properties{width:min(100%,1320px);margin:30px auto 54px;padding:0 20px;box-sizing:border-box}
#landlordView .owner-empty-heading{margin:0 0 28px}
#landlordView .owner-empty-heading h1{margin:0 0 6px;color:#12372f;font-family:Georgia,'Times New Roman',serif;font-size:clamp(32px,4vw,44px);font-weight:500;letter-spacing:-.04em}
#landlordView .owner-empty-heading p{margin:0;color:#71847f;font-size:16px;line-height:1.55}
#landlordView .owner-empty-hero{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);min-height:390px;overflow:hidden;border:1px solid #dce6de;border-radius:22px;background:linear-gradient(120deg,#fbfcf8 0%,#fff 64%);box-shadow:0 12px 34px rgba(18,55,47,.055)}
#landlordView .owner-empty-photo{min-height:390px;padding:8px}
#landlordView .owner-empty-photo img{display:block;width:100%;height:100%;min-height:374px;max-height:460px;object-fit:cover;object-position:center;border-radius:16px}
#landlordView .owner-empty-copy{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:42px clamp(28px,5vw,76px);text-align:center}
#landlordView .owner-empty-home-icon{display:grid;place-items:center;width:92px;height:92px;margin-bottom:18px;border-radius:50%;background:#edf4ed;color:#19483e}
#landlordView .owner-empty-home-icon svg{width:46px;height:46px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#landlordView .owner-empty-copy h2{margin:0 0 12px;color:#12372f;font-family:Georgia,'Times New Roman',serif;font-size:clamp(28px,3vw,38px);font-weight:500;letter-spacing:-.035em}
#landlordView .owner-empty-copy p{max-width:520px;margin:0 0 24px;color:#71847f;font-size:17px;line-height:1.65}
#landlordView .owner-empty-publish{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-width:min(280px,100%);min-height:56px;padding:14px 24px;border:0;border-radius:14px;background:#17463b;color:#fff;font-size:16px;font-weight:650;box-shadow:0 8px 18px rgba(23,70,59,.12);transition:background .16s ease,transform .16s ease}
#landlordView .owner-empty-publish:hover{background:#0f352d;transform:translateY(-1px)}
#landlordView .owner-empty-publish span{font-size:23px;line-height:1}
#landlordView .owner-empty-benefits{max-width:1090px;margin:36px auto 0}
#landlordView .owner-empty-benefits>h2{display:flex;align-items:center;gap:22px;margin:0 0 18px;color:#4d6c64;font-family:Georgia,'Times New Roman',serif;font-size:16px;font-weight:500;text-align:center}
#landlordView .owner-empty-benefits>h2:before,#landlordView .owner-empty-benefits>h2:after{content:'';height:1px;flex:1;background:#d9e3db}
#landlordView .owner-empty-benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#landlordView .owner-empty-benefit{display:flex;align-items:center;gap:14px;min-height:84px;padding:14px 16px;border:1px solid #e5ece5;border-radius:18px;background:#fbfcf9}
#landlordView .owner-empty-benefit-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:#eef4ee;color:#6b8b7f}
#landlordView .owner-empty-benefit-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#landlordView .owner-empty-benefit strong,#landlordView .owner-empty-benefit small{display:block}
#landlordView .owner-empty-benefit strong{margin-bottom:4px;color:#35594f;font-family:Georgia,'Times New Roman',serif;font-size:15px;font-weight:500}
#landlordView .owner-empty-benefit small{color:#81918d;font-size:12px;line-height:1.4}
@media(max-width:900px){#landlordView .owner-empty-hero{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}#landlordView .owner-empty-copy{padding:34px 28px}}
@media(max-width:760px){#landlordView .owner-empty-properties{margin:18px auto 36px;padding:0 14px}#landlordView .owner-empty-heading{margin-bottom:18px}#landlordView .owner-empty-hero{grid-template-columns:minmax(0,1fr);min-height:0}#landlordView .owner-empty-copy{order:1;padding:28px 22px 24px}#landlordView .owner-empty-photo{order:2;min-height:0;padding:0 8px 8px}#landlordView .owner-empty-photo img{height:auto;min-height:0;max-height:300px;aspect-ratio:1.42;object-position:center 58%}#landlordView .owner-empty-home-icon{width:70px;height:70px;margin-bottom:14px}#landlordView .owner-empty-home-icon svg{width:38px;height:38px}#landlordView .owner-empty-copy h2{font-size:30px}#landlordView .owner-empty-copy p{font-size:15px}#landlordView .owner-empty-publish{width:100%;min-height:54px}#landlordView .owner-empty-benefits{margin-top:26px}#landlordView .owner-empty-benefit-grid{grid-template-columns:minmax(0,1fr);gap:9px}#landlordView .owner-empty-benefit{min-height:70px}}

#landlordView .owner-empty-protection{width:min(100%,520px);margin:18px 0 0;padding:13px 16px;border:1px solid #d7e3d9;border-radius:14px;background:#f2f7f0;color:#21473c;text-align:left}
#landlordView .owner-empty-protection h3{margin:0 0 4px;font-size:15px;line-height:1.35}
#landlordView .owner-empty-protection p{max-width:none;margin:0;color:#536c62;font-size:12px;line-height:1.45}
@media(max-width:760px){#landlordView .owner-empty-protection{width:100%;box-sizing:border-box;margin-top:14px;padding:12px}}
