.modal:has([data-property-document-review]){width:min(100%,1320px)}
.property-compare-workspace{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:16px;align-items:start}
.property-compare-original,.property-compare-content,.property-compare-rights>section{min-width:0;border:1px solid var(--line);border-radius:5px;padding:12px}
.property-compare-original-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;flex-wrap:wrap}
.property-compare-original .tis-document-preview{max-height:560px;overflow:auto}
.property-compare-original .tis-document-text{max-height:530px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.property-compare-table{max-width:100%;max-height:460px;overflow:auto;border:1px solid var(--line);border-radius:5px}
.property-compare-table table{border-collapse:separate;border-spacing:0;min-width:650px;width:100%;font-size:.86rem}
.property-compare-table th,.property-compare-table td{padding:8px;vertical-align:top;text-align:left;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.property-compare-table thead th{position:sticky;top:0;z-index:1;background:var(--surface,#f5f8f6)}
.property-compare-table tbody tr:last-child>*{border-bottom:0}
.property-compare-table input,.property-compare-table select{min-width:130px;width:100%;padding:6px 8px}
.property-compare-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin:8px 0}
.property-compare-facts>div{min-width:0;padding:8px;border:1px solid var(--line);border-radius:5px;overflow-wrap:anywhere}
.property-compare-facts dt{font-size:.82rem;font-weight:600}
.property-compare-facts dd{margin:2px 0 0}
.property-compare-rights{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;margin:12px 0}
.property-compare-rights ul{padding-left:20px}
.property-compare-effective{display:block;margin-top:4px}
@media(max-width:950px){.property-compare-workspace{grid-template-columns:1fr}.property-compare-original .tis-document-preview{max-height:340px}}
