#pi-fields { border:0; padding:0; margin:0; min-width:0; }
.pi-message { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.55; }
.pi-check { display:flex; align-items:center; gap:10px; min-height:44px; margin:12px 0; }
.pi-check input { width:18px; height:18px; flex-shrink:0; }
.pi-criteria { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
#pi-panel h3,#pi-credential h3 { margin:28px 0 12px; }
.pi-match { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; padding:18px 0; border-bottom:1px solid var(--line); }
.pi-match>div { min-width:0; overflow-wrap:anywhere; }
.pi-match details { font-size:.9rem; line-height:1.5; }
.pi-match summary,#pi-connections summary { cursor:pointer; padding:8px 0; }
.pi-score { white-space:nowrap; font-size:1.1rem; }
.pi-connection { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:16px 0; border-bottom:1px solid var(--line); }
#pi-error:not(:empty),#pi-send-error:not(:empty) { margin-top:16px; }
#pi-panel input:not([type=checkbox]),#pi-panel select,#pi-credential input { width:100%; min-width:0; }
@media(max-width:600px){.pi-criteria { grid-template-columns:1fr; }#pi-panel .form-footer,#pi-buyer-matches .form-footer { flex-wrap:wrap; }#pi-panel .form-footer button,#pi-buyer-matches .form-footer button { min-height:44px; width:100%; }}

#pi-panel .form-footer,#pi-buyer-matches .form-footer { position:static; background:var(--surface); padding:18px 0 0; }
