.partner-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:24px; }
.partner-list article { overflow-wrap:anywhere; }
.partner-list p { margin:8px 0; }
#sidebar #nav { overflow-y:auto; min-height:0; }
#default-email-template { min-height:190px; }
dialog .modalhead { position:sticky; top:0; z-index:5; background:#fff; display:flex; align-items:center; gap:12px; }
dialog .modalhead h2 { flex:1; min-width:0; }
dialog .modalhead button { min-width:44px; min-height:44px; flex-shrink:0; }
dialog:not(.document-flow) { padding-top:0; }
.customer-picker { position:relative; }
.customer-picker input { width:100%; }
.customer-matches { max-height:240px; overflow-y:auto; border:1px solid var(--border); border-radius:8px; background:#fff; margin-top:4px; }
.customer-matches[hidden] { display:none; }
.customer-matches button { display:block; width:100%; text-align:left; border:0; border-radius:0; min-height:44px; font-weight:400; }
.customer-matches button:focus { background:var(--mint); outline:2px solid var(--green); outline-offset:-2px; }
.customer-matches mark { background:#e4efc6; color:inherit; font-weight:700; }
.enquiry-unread-dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:#bc3535; margin-right:8px; }
@media(max-width:700px) { .partner-list { grid-template-columns:1fr; } dialog .modalhead { padding:12px; } }
@media print { dialog .modalhead { display:none; } }
