/* One result surface and shared row rhythm; settings and delivery stay unchanged. */
.ai-send-strategy{--strategy-border:#e3e9e6;--strategy-muted:#748078;background:#fff;border:1px solid var(--strategy-border);border-radius:14px;padding:14px 16px;box-shadow:none;color:#35463c}
.ai-send-strategy-heading{display:flex;align-items:center;gap:7px;margin-bottom:10px;line-height:1.5}
.ai-send-strategy-heading strong{font-size:15px;font-weight:600;color:#2c4034}
.ai-send-strategy-spark{color:#178049;font-size:14px;line-height:1}
.ai-send-strategy-row{display:grid;grid-template-columns:108px minmax(0,1fr) auto;align-items:start;gap:12px;min-height:48px;padding:12px 0;border-top:1px solid #eff2f0}
.ai-send-strategy-label{font-size:12px;font-weight:500;line-height:1.7;color:#68776d;padding-top:2px}
.ai-send-strategy-value{display:block;font-size:15px;font-weight:600;line-height:1.6;color:#35463c}
.ai-send-strategy-note{display:block;font-size:11px;line-height:1.6;color:var(--strategy-muted);margin-top:4px}
.ai-send-strategy-detail{min-width:0}
.ai-send-strategy .channel-strategy-sequence{margin:0;gap:8px;align-items:center}
.ai-send-strategy .channel-strategy-chip{font-size:14px;font-weight:600;padding:4px 8px;background:#f3f6f4;border-color:#e6ece8;color:#35463c}
.ai-send-strategy .channel-strategy-change{margin:0;font-size:11px;line-height:1.6;align-self:start}
.conversation-send-strategy{padding:0;background:transparent;border:0;box-shadow:none}
.conversation-send-strategy>.ai-send-strategy{animation:ai-strategy-group-in .25s ease-out both}
.conversation-send-strategy .ai-send-strategy-row{animation:ai-strategy-row-in .22s ease-out both}
.conversation-send-strategy .ai-send-strategy-row:nth-child(2){animation-delay:60ms}
.conversation-send-strategy .ai-send-strategy-row:nth-child(3){animation-delay:120ms}
.ai-send-strategy-editor{margin-bottom:16px}
.ai-send-strategy-editor #workflow-channel-strategy,.ai-send-strategy-editor .workflow-fields,.ai-send-strategy-editor #workflow-delivery-scale{padding:12px 0;margin:0;border:0;border-top:1px solid #eff2f0;border-radius:0;box-shadow:none;background:transparent}
.ai-send-strategy-editor .channel-strategy-header{margin:0 0 8px;gap:7px}
.ai-send-strategy-editor .channel-strategy-header strong,.ai-send-strategy-editor .workflow-fields>label{font-size:12px;font-weight:500;color:#68776d;line-height:1.7}
.ai-send-strategy-editor .channel-strategy-caption,.ai-send-strategy-editor .delivery-scale-icon,.ai-send-strategy-editor .channel-strategy-ai{display:none}
.ai-send-strategy-editor .channel-strategy-options{margin:0 0 8px}
.ai-send-strategy-editor .channel-strategy-note{font-size:11px;line-height:1.6;color:#748078;margin:4px 0 0}
.ai-send-strategy-editor .workflow-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px}
.ai-send-strategy-editor .workflow-fields>label{display:grid;gap:6px}
.ai-send-strategy-editor #workflow-send-time-summary{grid-column:1/-1}
.ai-send-strategy-editor #workflow-send-time-summary .send-time-result{padding:0;margin:0;border:0}
.ai-send-strategy-editor #workflow-send-time-summary .channel-strategy-header{display:none}
.ai-send-strategy-editor .send-time-value{font-size:15px;color:#35463c;animation:none;line-height:1.6}
.ai-send-strategy-editor .delivery-scale-value{gap:5px 10px}
.ai-send-strategy-editor .delivery-scale-value strong{font-size:11px;font-weight:400;order:2;color:#748078}
.ai-send-strategy-editor .delivery-scale-capability{order:1;font-size:15px;font-weight:600;color:#35463c;padding:0;background:transparent;line-height:1.6}
.ai-send-strategy-editor .delivery-scale-result{padding:0}
.ai-send-strategy-editor .delivery-scale-state{font-size:11px;color:#748078;font-weight:400}
.ai-send-strategy-editor .send-time-status{font-size:11px;color:#748078}
.workflow-final-summary .workflow-final-value{overflow-wrap:anywhere}
.ai-send-strategy-validation{padding:10px 12px;margin-top:8px;background:#fafcfb}
.ai-send-strategy-validation .ai-send-strategy-heading{margin-bottom:4px}
.ai-send-strategy-validation .ai-send-strategy-heading strong{font-size:13px}
#workflow-confirm .ai-send-strategy-validation .send-validation-result{border:0;border-top:1px solid #edf1ee;border-radius:0;background:transparent;box-shadow:none;padding:10px 0;margin:0}
.conversation-mode #workflow-confirm-details .ai-send-strategy-validation .send-validation-result[data-state] p{display:block;font-size:12px;margin-top:4px;line-height:1.6}
@keyframes ai-strategy-group-in{from{opacity:0}to{opacity:1}}
@keyframes ai-strategy-row-in{from{opacity:0}to{opacity:1}}
@media(max-width:640px){.ai-send-strategy-row{grid-template-columns:1fr auto;gap:5px 10px}.ai-send-strategy-label{grid-column:1/-1}.ai-send-strategy-editor .workflow-fields{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.conversation-send-strategy>.ai-send-strategy,.conversation-send-strategy .ai-send-strategy-row{animation:none}}
/* Settings use the same label/value columns as the conversation result. */
.ai-send-strategy-editor #workflow-channel-strategy{display:grid;grid-template-columns:108px minmax(0,1fr);gap:4px 12px}
.ai-send-strategy-editor #workflow-channel-strategy>.channel-strategy-header{grid-column:1;grid-row:1/3;align-items:start;padding-top:5px}
.ai-send-strategy-editor #workflow-channel-strategy>.channel-strategy-options,.ai-send-strategy-editor #workflow-channel-strategy>div:last-child{grid-column:2}
.ai-send-strategy-editor .workflow-fields>label{grid-column:1/-1;grid-template-columns:108px minmax(0,1fr);gap:12px;align-items:center}
.ai-send-strategy-editor .workflow-fields>label select,.ai-send-strategy-editor .workflow-fields>label input{max-width:360px}
.ai-send-strategy-editor #workflow-send-time-summary{padding-left:120px}
.ai-send-strategy-editor .delivery-scale-result{display:grid;grid-template-columns:108px minmax(0,1fr);gap:4px 12px}
.ai-send-strategy-editor .delivery-scale-result>.channel-strategy-header{grid-column:1;grid-row:1/3;display:block;margin:0;padding-top:2px}
.ai-send-strategy-editor .delivery-scale-state{display:block;margin-top:4px}
.ai-send-strategy-editor .delivery-scale-value,.ai-send-strategy-editor .delivery-scale-result>.channel-strategy-note{grid-column:2}
@media(max-width:640px){.ai-send-strategy-editor #workflow-channel-strategy,.ai-send-strategy-editor .delivery-scale-result{grid-template-columns:1fr}.ai-send-strategy-editor #workflow-channel-strategy>.channel-strategy-header,.ai-send-strategy-editor .delivery-scale-result>.channel-strategy-header{grid-row:auto}.ai-send-strategy-editor #workflow-channel-strategy>.channel-strategy-options,.ai-send-strategy-editor #workflow-channel-strategy>div:last-child,.ai-send-strategy-editor .delivery-scale-value,.ai-send-strategy-editor .delivery-scale-result>.channel-strategy-note{grid-column:1}.ai-send-strategy-editor .workflow-fields>label{grid-template-columns:1fr;gap:6px}.ai-send-strategy-editor #workflow-send-time-summary{padding-left:0}}
#ai-workflow .ai-send-strategy-editor .workflow-fields{margin:0;padding:8px 0;gap:6px 12px}
#ai-workflow .ai-send-strategy-editor #workflow-channel-strategy,#ai-workflow .ai-send-strategy-editor #workflow-delivery-scale{padding:8px 0}
#ai-workflow .ai-send-strategy-editor .channel-strategy-options{margin-bottom:0}
/* Preserve the original verification cadence after grouping the existing rows. */
.send-validation-result[data-validation-order="0"]{--strategy-check-delay:0ms;--strategy-step-check-delay:160ms;--strategy-check-start:0ms}
.send-validation-result[data-validation-order="1"]{--strategy-check-delay:200ms;--strategy-step-check-delay:320ms;--strategy-check-start:160ms}
.send-validation-result[data-validation-order="2"]{--strategy-check-delay:400ms;--strategy-step-check-delay:480ms;--strategy-check-start:320ms}
.send-validation-result[data-validation-order="3"]{--strategy-check-delay:600ms;--strategy-step-check-delay:640ms;--strategy-check-start:480ms}
#workflow-confirm-details .send-validation-results[data-ai-strategy="true"][data-animate="true"] .send-validation-result .send-validation-badge{animation-delay:var(--strategy-check-delay)}
.aim-page:not(.conversation-mode) #workflow-confirm[data-send-state="confirm"] .send-validation-results[data-ai-strategy="true"][data-animate="true"] .send-validation-result .send-validation-badge{animation-delay:var(--strategy-step-check-delay)}
.aim-page:not(.conversation-mode) #workflow-confirm[data-send-state="confirm"] .send-validation-results[data-ai-strategy="true"][data-phase="checking"] .send-validation-result::after{animation-delay:var(--strategy-check-start)}
