.person-structure-dialog{width:min(1040px,calc(100vw - 24px))}
.person-structure-results{display:grid;gap:6px;max-height:240px;overflow:auto}
.person-structure-results>.btn{display:grid;text-align:left;justify-content:start}
.person-structure-results small,.person-structure-table small{display:block;color:var(--muted)}
.person-structure-cases{padding-inline-start:1.4rem;margin:0;max-height:145px;overflow:auto}
.person-structure-table{width:100%;max-height:420px;overflow:auto;border:1px solid var(--line);border-radius:10px}
.person-structure-table table{width:100%;min-width:645px;border-collapse:collapse;text-align:left}
.person-structure-table th,.person-structure-table td{padding:10px;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere;white-space:pre-wrap}
.person-structure-table thead th{position:sticky;top:0;z-index:1;background:var(--paper)}
.person-structure-table th:nth-child(2),.person-structure-table th:nth-child(3){width:27%}
.person-structure-table td:last-child{min-width:165px}
.person-structure-table td label>span{display:none}
.person-structure-value+.person-structure-value{margin-top:6px}
.person-merge-alternatives{margin:12px 0;padding:10px 12px;border:1px solid var(--line);border-radius:8px}
.person-merge-alternatives dt{font-weight:600;margin-top:8px}
.person-merge-alternatives dd{white-space:pre-wrap;overflow-wrap:anywhere;margin-left:0;color:var(--muted)}
.person-structure-photo{max-width:96px;max-height:96px;border-radius:8px}


.case-merge-dialog{width:min(670px,calc(100vw - 24px))}
.case-merge-dialog fieldset{min-width:0;margin:0;border:1px solid var(--line);border-radius:9px;padding:10px 12px}
.case-merge-dialog legend{font-size:12px;color:var(--muted);padding:0 5px}
.case-merge-sources{display:grid;gap:7px;max-height:260px;overflow:auto}
.case-merge-sources label{align-items:start;overflow-wrap:anywhere}
.case-merge-sources input{flex-shrink:0}
.case-merge-counts{padding-inline-start:1.4rem;margin:0}
.process-merge-notes p{white-space:pre-wrap;overflow-wrap:anywhere}
