/* Stage-specific hierarchy; use the existing palette in both themes. */
.client-card-unified .stage-view[data-view="review"] #phoneUnifiedClientCard,
.client-card-unified .stage-view[data-view="sales"] #phoneUnifiedClientCard{margin-top:20px}
.client-card-unified .stage-view[data-view="post"]>.client-inbound{display:none!important}
.client-card-unified .stage-view[data-view="sales"]>.sales-memory{display:none!important}
.client-card-unified .sales-memory .sales-memory-head{margin-bottom:12px}
.client-card-unified .sales-memory .sales-memory-head h3{margin:0!important;color:var(--cc-text)!important}
.client-card-unified .sales-memory .memory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 20px}
.client-card-unified .sales-memory .memory-item{padding:0!important;border:0!important;background:none!important}
.client-card-unified .sales-memory .memory-item label{font-size:var(--fs-md,13.5px)!important;line-height:1.4!important;text-transform:none!important;color:var(--cc-muted)!important;margin-bottom:4px}
.client-card-unified .sales-memory .memory-item strong{font-size:var(--fs-lg,14px)!important;line-height:1.5!important;color:var(--cc-text)!important;overflow-wrap:anywhere}
/* One deadline action, next to the call. Its original handler stays in place. */
.phone-unified-closing #editCommercialDeadline{display:none!important}
.phone-unified-closing #closingDeadlineCard:not(:has(button:not([hidden]):not(#editCommercialDeadline))){display:none!important}
.phone-unified-closing [data-card-actions]{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;margin-top:12px}
body.client-card-unified .phone-unified-closing button[data-card-trigger="startCall"]{background:#203d35!important;border:1px solid #426e5c!important;color:#b5e2cb!important}
body.client-card-unified .phone-unified-closing button[data-card-trigger="startCall"] .icon{width:16px;height:16px;margin-right:7px;vertical-align:middle}
html body.client-card-unified .phone-unified-closing button[data-card-trigger="startCall"]:hover:not([aria-disabled="true"]){background:#294d40!important}
:root[data-theme="light"] body.client-card-unified .phone-unified-closing button[data-card-trigger="startCall"]{background:#e4f2e9!important;border-color:#a3cbb4!important;color:#276246!important}
:root[data-theme="light"] body.client-card-unified .phone-unified-closing button[data-card-trigger="startCall"]:hover:not([aria-disabled="true"]){background:#d7ebdf!important}
html body.client-card-unified .phone-unified-closing button[data-card-trigger="startCall"][aria-disabled="true"]{background:var(--cc-soft)!important;color:var(--cc-muted)!important;border-color:var(--cc-line)!important}
@media(max-width:720px){.client-card-unified .sales-memory .memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.client-card-unified .sales-memory .memory-grid{grid-template-columns:1fr}}
