.contact-private-details{margin-top:20px;margin-bottom:24px;padding-top:20px;border-top:1px solid var(--line,#d6dbce);min-width:0;position:relative}
.contact-private-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.contact-private-heading h3{margin:0;font-size:18px;line-height:1.4}
.contact-private-heading button{flex:none;min-height:44px}
.contact-private-field{margin-top:24px;min-width:0}
.contact-private-field:first-of-type{margin-top:0}
.contact-private-field h4{margin:0 0 10px;font-size:15px;line-height:1.4}
.contact-private-field :is(input,textarea){width:100%;min-width:0;box-sizing:border-box}
.contact-private-field input{min-height:44px}
.contact-private-field .helper{margin:8px 0 12px}
.contact-private-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;max-width:72ch}
.contact-private-phones{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.contact-private-phones a{color:var(--forest,#294b40);text-underline-offset:3px;overflow-wrap:anywhere}
.contact-private-phone-fields{display:grid;gap:14px}
.contact-private-phone-row{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:end;gap:10px;max-width:440px}
.contact-private-phone-row label{display:grid;gap:8px;min-width:0}
.contact-private-phone-row label>span{font-size:13px;color:var(--muted,#5f685d);font-weight:400}
.contact-private-remove-phone{width:44px;height:44px;padding:11px;display:grid;place-items:center}
.contact-private-remove-phone svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.contact-private-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}
.contact-private-actions button{min-height:44px}
.contact-private-details .form-error{margin-top:20px;scroll-margin-block:24px}
.contact-private-notice{color:var(--forest,#294b40);font-size:14px;line-height:1.5;margin:20px 0 0}
.contact-private-details :is(input,textarea,button):disabled{opacity:.6;cursor:not-allowed}
/* Keep saved details compact without squeezing the editing fields. */
.contact-private-details:not(:has(>form)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
.contact-private-details:not(:has(>form))>.contact-private-field{margin:0}
.contact-private-details:not(:has(>form))>.contact-private-heading{grid-column:1/-1;margin-bottom:0}
.contact-private-details>:is(.contact-private-notice,.form-error,[data-private-reload]){grid-column:1/-1}
.contact-private-details:not(:has(>form))>[data-private-section=health],.contact-private-details:not(:has(>form))>[data-private-section=privateNotes]{grid-column:1/-1}
.contact-private-details:not(:has(>form)) .contact-private-field h4{margin-bottom:6px}
.contact-private-details:not(:has(>form)) .contact-private-phones{display:flex;flex-wrap:wrap;gap:6px 16px}
.contact-private-details:not(:has(>form)) .contact-private-field>.helper{margin:0}
@media(max-width:760px){.contact-private-details:not(:has(>form)){grid-template-columns:minmax(0,1fr);gap:16px}.contact-private-heading{align-items:start;gap:12px;flex-wrap:wrap}.contact-private-heading h3{flex:1;min-width:160px}.contact-private-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:10px}.contact-private-actions button{min-width:0;padding-left:10px;padding-right:10px}.contact-private-field :is(input,textarea){font-size:16px}.contact-private-phone-row{max-width:none}}
