/* Property settings reuse the existing admin panels, fields and actions. */
.pf-tabs { flex-wrap: wrap; }
.pf-selection { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pf-selection .pc-field { min-width: 0; }
.pf-load-message { padding: 12px 15px; border-radius: 10px; background: #f5effb; color: #755496; font-size: 14px; line-height: 1.6; }
.pf-load-message.is-error, .pf-photo-error { color: #b42339; }
.pf-retry { margin: 0 0 18px; }
.pf-property-page { max-width: 1100px; margin: 0 auto; }
.pf-property-page .pc-form-actions { justify-content: flex-start; }
.pf-dynamic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 22px; }
.pf-dynamic-grid .pc-field { min-width: 0; }
.pf-edit-note { color: #72809a; font-size: 14px; line-height: 1.7; padding: 14px 4px 0; margin: 0; }
.pf-amenities { display: flex; flex-wrap: wrap; gap: 12px; }
.pf-amenity { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid #e4e8f0; border-radius: 10px; color: #33405a; font-size: 14px; }
.pf-amenity input { accent-color: #9d6cc9; width: 17px; height: 17px; flex-shrink: 0; }
.pf-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-bottom: 18px; }
.pf-photo-card { min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid #e4e8f0; border-radius: 12px; color: #33405a; }
.pf-photo-card img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; }
.pf-photo-card label { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.pf-photo-card small { overflow-wrap: anywhere; }
.pf-photo-card.is-removed img { opacity: .3; }
.pf-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 26px; margin: 0; }
.pf-detail-grid dt { font-size: 13px; color: #72809a; font-weight: 500; margin-bottom: 5px; }
.pf-detail-grid dd { font-size: 15px; color: #20283a; margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.pf-description { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.pf-inline-note { margin: 0; padding: 0 26px 18px; font-size: 14px; }
.pf-config-toolbar { padding: 0 26px 18px; display: flex; gap: 18px; align-items: center; }
.pf-config-toolbar .form-control { max-width: 380px; }
.pf-config-list { padding: 0 26px; }
.pf-config-row { display: grid; grid-template-columns: minmax(180px, 1.8fr) minmax(120px, 1fr) minmax(120px, 1fr) minmax(80px, .7fr); gap: 18px; padding: 17px 0; align-items: center; border-top: 1px solid #e9ecf2; }
.pf-config-row[hidden] { display: none; }
.pf-config-name { min-width: 0; }
.pf-config-name strong { display: block; font-weight: 600; color: #20283a; font-size: 15px; overflow-wrap: anywhere; }
.pf-config-name small { display: block; color: #72809a; font-size: 12px; margin-top: 5px; }
.pf-config-row .form-label { font-size: 12px; margin-bottom: 5px; }
.pf-config-row .form-control, .pf-config-row .form-select { min-height: 42px; }
.pf-config-actions { position: sticky; bottom: 0; z-index: 5; padding: 22px 26px; margin: 0 !important; border-top: 1px solid #e9ecf2; background: #fff; box-shadow: 0 -5px 18px rgba(37,44,78,.04); }
@media (max-width: 767.98px) {
    .pf-selection { grid-template-columns: 1fr; }
    .pf-dynamic-grid, .pf-detail-grid { grid-template-columns: 1fr; }
    .pf-config-row { grid-template-columns: 1fr 1fr; gap: 12px; }
    .pf-config-name { grid-column: 1 / -1; }
    .pf-config-row > div:last-child { grid-column: 1 / -1; max-width: 160px; }
    .pf-config-toolbar, .pf-config-list { padding-left: 18px; padding-right: 18px; }
    .pf-config-toolbar { align-items: stretch; flex-direction: column; gap: 7px; }
    .pf-config-actions { padding: 20px 18px; }
    .pf-tabs a { font-size: 13px; padding: 11px 13px; }
}
