/* Customer relations' own sheet (CR4b2). The pipeline board: a grid of columns, one per stage, under the status words; at 390px the columns
   stack one under another and the page never scrolls sideways (U16). A stage turned off that still holds open leads is drawn dashed (CRM-80). */
.crm-board-group{margin:.5rem 0 1rem}
.crm-board-kind{margin:0 0 .5rem;font-size:var(--fs-lg);color:var(--muted)}
.crm-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(16rem,100%),1fr));gap:.75rem;align-items:start}
.crm-board-col{min-width:0;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius);padding:.5rem;display:flex;flex-direction:column;gap:.5rem}
.crm-board-col-off{border-style:dashed}
.crm-board-head h4{margin:0;font-size:var(--fs-base);overflow-wrap:anywhere}
.crm-board-figures{margin:.125rem 0 0;display:flex;flex-wrap:wrap;gap:.25rem .75rem;font-size:var(--fs-sm);color:var(--muted)}
.crm-board-off{font-size:var(--fs-sm);vertical-align:middle}
.crm-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);box-shadow:var(--shadow);padding:.5rem;min-width:0;overflow-wrap:anywhere}
.crm-card p{margin:0 0 .25rem}
.crm-card-title{font-weight:var(--fw-strong)}
.crm-card-client,.crm-card-meta{font-size:var(--fs-sm)}
.crm-card-value{font-weight:var(--fw-strong)}
.crm-card-move{display:flex;flex-wrap:wrap;gap:.375rem;align-items:center;margin-top:.375rem}
.crm-card-move select{flex:1 1 8rem;min-width:0;max-width:100%}
/* The follow-ups and notes card (CR5b): a list of what happened and what is next. Long words wrap (U16); Overdue is the red word. */
.crm-activities{list-style:none;margin:.5rem 0 0;padding:0;display:flex;flex-direction:column;gap:.5rem}
.crm-activity{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:.5rem;min-width:0;overflow-wrap:anywhere}
.crm-activity-head{display:flex;flex-wrap:wrap;gap:.375rem .75rem;align-items:baseline}
.crm-activity-subject{font-weight:var(--fw-strong)}
.crm-activity-meta{display:flex;flex-wrap:wrap;gap:.125rem .75rem;margin:.25rem 0 0;font-size:var(--fs-sm);color:var(--muted)}
.crm-activity-body{margin:.25rem 0 0;white-space:pre-wrap}
.crm-activity-actions{display:flex;flex-wrap:wrap;gap:.375rem;align-items:flex-end;margin-top:.5rem}
.crm-activity-done{display:flex;flex-wrap:wrap;gap:.375rem;align-items:flex-end;min-width:0}
.crm-activity-done label{flex:1 1 10rem;min-width:0}
.crm-activity-done input{max-width:100%}
.crm-overdue{color:var(--neg);font-weight:var(--fw-strong)}
/* The public web form (CR13b): one narrow column for a visitor, long words wrap (U16). .hp is the honeypot, off-screen and out of the tab order. */
.crm-public{max-width:36rem;margin:0 auto;min-width:0;overflow-wrap:anywhere}
.crm-public .ed-fields{grid-template-columns:minmax(0,1fr)}
.crm-public textarea{min-height:6rem}
.crm-public-consent{margin:var(--space-3) 0 var(--space-2)}
.crm-public .ed-error{flex:1 1 100%;margin-top:var(--space-1)}
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
