.property-summary-top { flex-wrap: wrap; }
.property-summary-actions { flex-wrap: wrap; max-width: 100%; }
.property-report-trigger { min-height:44px; padding:8px 12px; border:1px solid #ddd; border-radius:6px; color:#555; background:white; font:inherit; font-size:13px; cursor:pointer; }
.property-report-dialog { box-sizing:border-box; width:calc(100% - 32px); max-width:480px; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); overflow-y:auto; overscroll-behavior:contain; padding:24px; border:0; border-radius:12px; color:#222; background:#fff; box-shadow:0 10px 45px #0004; }
.property-report-dialog::backdrop { background:#0008; }
.property-report-dialog * { box-sizing:border-box; }
.property-report-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.property-report-heading h2 { margin:0; font-size:21px; }
.property-report-dialog button, .property-report-dialog a { min-height:44px; }
.property-report-heading button { min-width:44px; border:0; background:transparent; font-size:28px; cursor:pointer; }
.property-report-dialog p { line-height:1.5; overflow-wrap:anywhere; }
.property-report-dialog label { display:block; margin:16px 0 8px; font-weight:500; }
.property-report-dialog select, .property-report-dialog textarea { display:block; width:100%; min-width:0; max-width:100%; border:1px solid #bbb; border-radius:5px; padding:11px; font:inherit; font-size:16px; background:white; color:#222; }
.property-report-dialog select { min-height:44px; }
.property-report-dialog textarea { resize:vertical; }
.property-report-dialog small { display:block; margin-top:6px; color:#666; }
.property-report-actions { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; margin-top:20px; }
.property-report-actions button { padding:10px 16px; border:1px solid #ccc; background:white; border-radius:5px; font:inherit; cursor:pointer; }
#propertyReportSubmit { background:#f44336; border-color:#f44336; color:white; }
.property-report-dialog button:disabled { opacity:.6; cursor:wait; }
.property-report-dialog :focus-visible, .property-report-trigger:focus-visible { outline:3px solid #1967d2; outline-offset:3px; }
#propertyReportMessage[data-error="true"] { color:#b42318; }
#propertyReportLogin:not([hidden]) { display:inline-flex; align-items:center; }
@media(max-width:480px) { .property-report-dialog { padding:18px; } .property-report-actions button { flex:1; } }

/* Honor hidden state even on flex containers. */
.property-report-dialog [hidden] { display: none !important; }

/* Confirmation: centered message with the original top-right close icon. */
.property-report-dialog[data-confirmation="true"] .property-report-heading { justify-content: flex-end; }
.property-report-dialog[data-confirmation="true"] #propertyReportMessage { text-align: center; margin: 12px 0 24px; }
