.retention-panel { margin: 1.25rem 0; padding: 1.25rem; border: 1px solid var(--v2-border-color, #334155); border-radius: 16px; background: var(--v2-bg-secondary, #1e293b); color: var(--v2-text-primary, #f1f5f9); }
.retention-heading, .retention-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.retention-heading h2 { margin: .3rem 0 .8rem; font-size: 1.3rem; }
.retention-heading a { color: #93c5fd; min-height: 44px; display: inline-flex; align-items: center; }
.retention-eyebrow { margin: 0; font-size: .85rem; color: #cbd5e1; }
.retention-goal { display: grid; gap: .45rem; margin-bottom: 1rem; }
.retention-goal progress { width: 100%; height: 12px; accent-color: #3b82f6; }
.retention-goal span, .retention-help { font-size: .85rem; color: #cbd5e1; line-height: 1.6; }
.retention-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.retention-card { min-width: 0; padding: 1rem; border-radius: 12px; border: 1px solid #475569; }
.retention-card h3 { font-size: 1rem; margin: 0; display: flex; gap: .5rem; align-items: center; line-height: 1.5; }
.retention-card p, .retention-optin p, #learning-communications .v2-card-body > p { font-size: .95rem; line-height: 1.7; color: #e2e8f0; }
.retention-card i, .retention-card svg { width: 20px; height: 20px; flex-shrink: 0; }
.retention-dismiss { min-width: 44px; min-height: 44px; display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 8px; color: #cbd5e1; background: transparent; cursor: pointer; }
.retention-dismiss:hover { background: #334155; }
.retention-optin { margin-top: 1rem; border-top: 1px solid #475569; padding-top: .5rem; }
.retention-fields { border: 1px solid #475569; border-radius: 8px; padding: .75rem 1rem; margin: 1rem 0; }
.retention-fields legend { padding: 0 .5rem; }
.retention-check { display: flex; align-items: flex-start; gap: .75rem; padding: .65rem 0; line-height: 1.6; cursor: pointer; }
.retention-check input { flex-shrink: 0; width: 20px; height: 20px; margin-top: .2rem; accent-color: #3b82f6; }
.retention-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.retention-form-grid label { display: grid; gap: .5rem; font-size: .9rem; }
.retention-form-grid select, .retention-form-grid input { width: 100%; min-width: 0; min-height: 44px; padding: .6rem; border: 1px solid #64748b; border-radius: 8px; background: #0f172a; color: #f1f5f9; font: inherit; box-sizing: border-box; }
.retention-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.retention-actions button, .retention-card .v2-btn, .retention-optin button { min-height: 44px; white-space: normal; }
.retention-status { margin: .75rem 0 0; color: #cbd5e1; line-height: 1.6; }
.retention-status:empty { display: none; }
.retention-suppression { padding: .75rem; border-left: 3px solid #fbbf24; }
.retention-panel :focus-visible, #learning-communications :focus-visible { outline: 2px solid #93c5fd; outline-offset: 4px; }
@media (max-width: 480px) { .retention-panel { padding: 1rem; } .retention-heading { align-items: flex-start; flex-direction: column; gap: 0; } .retention-actions button { width: 100%; justify-content: center; } }
