/* Contact follow-up stays compact and uses the console's existing visual system. */
#followup-dialog{width:min(680px,calc(100% - 24px))}
#followup-dialog .dialog-description{font-weight:700;color:#24364e;margin-bottom:8px}
.followup-fields{border:0;padding:0;margin:0;min-width:0}
.followup-fields>legend{font-size:1rem;font-weight:700;padding:0;margin-bottom:8px}
.followup-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.followup-form-grid>*{min-width:0}
.followup-fields textarea{font-size:1rem;line-height:1.5;min-height:84px;resize:vertical}
.followup-fields .field-help{font-size:.875rem;line-height:1.5}
.followup-pending{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#edf3ff;color:#23477d;border:1px solid #cbdaf8;border-radius:7px;padding:9px 10px;margin-bottom:12px;flex-wrap:wrap;font-size:.9375rem}
.followup-history{border-top:1px solid #dce4ef;margin-top:12px;padding-top:4px}
.followup-history>summary{min-height:44px;cursor:pointer;font-weight:700;font-size:.9375rem;padding-block:10px}
.followup-entry{padding:10px 0;border-top:1px solid #e1e7ef;overflow-wrap:anywhere}
.followup-entry-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
.followup-entry p{margin-block:4px 0}
.followup-note{font-size:.9375rem;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.followup-log-link{width:100%;margin-block:10px 0;min-height:44px}
.followup-client-summary .section-heading{margin:0;flex-wrap:wrap}
.followup-client-summary .field-help{margin-bottom:0}
.followups-toolbar{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(200px,1fr);gap:12px;position:sticky;top:var(--management-header-height,52px);z-index:7;background:white;padding:6px 0}
.followups-toolbar label{margin:0;font-size:.875rem;min-width:0}
.followups-toolbar input,.followups-toolbar select{margin-bottom:0;font-size:1rem}
.followup-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.3fr) auto;gap:12px;padding:10px 0;border-top:1px solid #e1e7ef;align-items:center}
.followup-row>div{min-width:0;overflow-wrap:anywhere}
.followup-row .text-button{font-weight:700;font-size:1rem;text-align:start;overflow-wrap:anywhere}
.followup-row p{margin:2px 0}
.followup-row>div:nth-child(2){display:flex;flex-direction:column;align-items:flex-start;gap:4px;font-variant-numeric:tabular-nums}
.followup-note-preview{font-size:.875rem;color:#475569;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.followup-row-actions{display:flex;justify-content:flex-end;gap:8px}
@media(max-width:640px){.followups-toolbar{grid-template-columns:minmax(0,1fr);gap:8px}.followups-toolbar label{margin:0}.followups-toolbar input,.followups-toolbar select{min-height:44px}.followup-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.followup-row>div:nth-child(2){align-items:flex-end}.followup-row-actions{grid-column:1/-1}.followup-row button{min-height:44px}.followup-client-summary button{min-height:44px}#followup-dialog .dialog-footer{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}#followup-dialog .dialog-footer .primary{grid-row:1}#followup-dialog .dialog-footer button{min-height:44px;font-size:.9375rem}.followup-form-grid{grid-template-columns:minmax(0,1fr);gap:0}.followup-pending .secondary{min-height:44px}.followup-entry-heading{display:block}.followup-entry-heading>.small{display:block;margin-top:3px}}
