
/* Commercial interests use the established portal controls and spacing. */
[data-interests-host] .crm-customer-form,[data-client-interests] .crm-customer-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
[data-interest-form] label{display:flex;flex-direction:column;gap:8px;min-width:0}
[data-interest-form] label:has(textarea),[data-interest-form] .actions,[data-interest-feedback]{grid-column:1/-1}
.interest-note{white-space:pre-wrap;overflow-wrap:anywhere}
[data-interest-form] input,[data-interest-form] select,[data-interest-form] textarea{max-width:100%;width:100%;box-sizing:border-box}
#commercial-filters{margin:0 0 16px}#commercial-filters[open]{padding:16px;border:1px solid #dce5df;border-radius:12px}
#commercial-filters select:has(option:checked:not([value=""]):not([value="all"])){background:#edf7ce}
#agenda-customer-recalls{margin:16px 0;padding:20px;border:1px solid #dce5df;border-radius:16px;background:#fff}
#agenda-customer-recalls>details{display:block;padding:14px 0;border-bottom:1px solid #e7ece8}
@media(max-width:700px){[data-interests-host] .crm-customer-form,[data-client-interests] .crm-customer-form{grid-template-columns:1fr}}

[data-interests-host] .crm-customer-practice,[data-client-interests] .crm-customer-practice,[data-recall-interest] .crm-customer-practice{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 0;border-bottom:1px solid #e7ece8}
[data-interests-host] .crm-customer-practice>div,[data-client-interests] .crm-customer-practice>div{min-width:0}
[data-interests-host] [data-interest-history],[data-client-interests] [data-interest-history]{margin-top:16px}
@media(max-width:700px){[data-interests-host] .crm-customer-practice,[data-client-interests] .crm-customer-practice{flex-wrap:wrap}}

.interest-review-notice{margin:12px 0;padding:14px;border:1px solid #dce5df;border-radius:12px;background:#fff}.interest-review-notice.is-pending{border-color:#a6c746;background:#f5f9e9}.interest-review-notice small{display:block;margin-top:5px}.interest-review-notice .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.interest-review-dialog{width:min(680px,calc(100vw - 24px));max-height:90dvh;padding:0;border:1px solid #dce5df;border-radius:16px}.interest-review-dialog .modal-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;background:#fff}.interest-review-dialog .modal-head h2{font-size:1.1rem;margin:0}.interest-review-dialog [data-review-body]{padding:0 18px 18px}.interest-review-dialog [data-interest-form]{display:grid;gap:12px}.interest-review-dialog [data-review-form]{display:grid;gap:12px}.interest-review-dialog input,.interest-review-dialog select,.interest-review-dialog textarea{max-width:100%;box-sizing:border-box}
