/* CRM additions only; existing cw/card palette and canonical shell remain. */
.crm-follow-up-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.crm-follow-up-row{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--cw-border,#d5e2f4);overflow-wrap:anywhere}.crm-follow-up-row>div{min-width:0}.crm-follow-up-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.crm-follow-up-row h3{font-size:18px;margin:0}.crm-follow-up-row p{font-size:14px}.crm-follow-up-dialog{width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}.crm-follow-up-form textarea{min-height:84px}.crm-follow-ups[hidden]{display:none}.crm-follow-ups :focus-visible{outline:3px solid #ff6908;outline-offset:2px}
@media(max-width:767px){.crm-follow-up-fields{grid-template-columns:1fr}.crm-follow-up-row{flex-direction:column}}
.crm-local-client>div:last-child{display:grid;gap:16px;margin-top:16px}.crm-follow-ups>.cw-heading{flex-wrap:wrap;gap:12px}.crm-follow-up-dialog input[type=date],.crm-follow-up-dialog input[type=time]{color-scheme:light}
.crm-follow-up-dialog .cw-field :is(input,select,textarea){background:#eff4fb;color:#172442;border-color:#cbdcf3}
html[data-theme=dark] .crm-follow-up-dialog .cw-field :is(input,select,textarea){background:#223245;color:#eef2ff;border-color:#405269}
[data-theme=dark] .crm-follow-up-dialog input[type=date],[data-theme=dark] .crm-follow-up-dialog input[type=time]{color-scheme:dark}
/* Same approved canvas/palette, scoped to the LOCAL CRM Home composition. */
.main:has(.crm-local-home){background:#f4f9ff;min-height:100dvh}.main:has(.crm-local-home) .operational-metrics button{color:var(--text)}
html[data-theme=dark] .main:has(.crm-local-home){background:#111a24;color:#eef2ff}
html[data-theme=dark] .main:has(.crm-local-home) :is(.portfolio-stat,.home-modules button){background:#18222e;border-color:#405269;color:#eef2ff}
html[data-theme=dark] .main:has(.crm-local-home) :is(.portfolio-stat small,.home-modules small,.brand-hero .eyebrow,.brand-hero-description){color:#b5c4df}
html[data-theme=dark] .main:has(.crm-local-home) .home-modules button:disabled{background:#18222e;color:#8c9aaf}
html[data-theme=dark] .crm-local-home:before{background:linear-gradient(90deg,#111a24 2%,#111a24f5 26%,#111a24c9 44%,#111a2414 72%,#111a2436)}
@media(prefers-color-scheme:dark){html[data-theme=system] .main:has(.crm-local-home){background:#111a24;color:#eef2ff}html[data-theme=system] .main:has(.crm-local-home) :is(.portfolio-stat,.home-modules button){background:#18222e;border-color:#405269;color:#eef2ff}html[data-theme=system] .main:has(.crm-local-home) :is(.portfolio-stat small,.home-modules small,.brand-hero .eyebrow,.brand-hero-description){color:#b5c4df}html[data-theme=system] .crm-local-home:before{background:linear-gradient(90deg,#111a24 2%,#111a24f5 26%,#111a24c9 44%,#111a2414 72%,#111a2436)}}
@media(prefers-color-scheme:dark){html[data-theme=system] .crm-follow-up-dialog .cw-field :is(input,select,textarea){background:#223245;color:#eef2ff;border-color:#405269}html[data-theme=system] .crm-follow-up-dialog input[type=date],html[data-theme=system] .crm-follow-up-dialog input[type=time]{color-scheme:dark}}
