.retention-drawer{position:fixed;inset:62px 0 0 auto;width:min(440px,96vw);box-sizing:border-box;z-index:1800;overflow-y:auto;background:#f6faf7;color:#19392d;box-shadow:-8px 0 30px #102d3526;padding:20px;border-left:1px solid #c9dbd1}.retention-drawer[hidden]{display:none}.retention-drawer header,.retention-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.retention-drawer h2,.retention-dialog h2{font-size:20px;margin:0}.retention-drawer h3{font-size:16px}.retention-hint{font-size:12px;line-height:1.5;color:#547066}.retention-card{padding:14px;margin:12px 0;border:1px solid #d5e2da;border-radius:10px;background:white;overflow-wrap:anywhere}.retention-card p{margin:9px 0;line-height:1.5}.retention-card small{color:#587267}.retention-card blockquote{margin:10px 0;padding:8px 12px;border-left:3px solid #b3cdbf;background:#f3f7f4}.retention-card button,.retention-dialog button,.retention-drawer header button{margin:5px 7px 5px 0;padding:8px 10px;border:1px solid #a8c6b6;border-radius:7px;background:#eef5f0;color:#145c42;cursor:pointer}.retention-card label{display:block;margin:12px 0;font-size:13px}.retention-card input,.retention-card select,.retention-card textarea,.retention-dialog textarea{display:block;width:100%;box-sizing:border-box;padding:9px;margin:7px 0;border:1px solid #b9cdc1;border-radius:7px;background:white;color:#19392d}.retention-level{display:inline-block;font-size:13px;padding:7px 10px;border-radius:8px;background:#e9eff0}.retention-risk{background:#fbe7e5;color:#9e2926}.retention-attention{background:#fff1cf;color:#7a5200}.retention-no-signals{background:#e7f2eb;color:#205d40}.retention-dialog{width:min(840px,94vw);max-height:88vh;overflow:auto;border:1px solid #bdcfc2;border-radius:14px;padding:24px;background:#f7faf8;color:#19392d}.retention-dialog::backdrop{background:#15372b55}.retention-dialog details{padding:14px;margin:15px 0;background:#edf4ef;border-radius:8px}#btn-chat-retention[data-level=risk]{background:#fbe7e5;color:#9e2926}#btn-chat-retention[data-level=attention]{background:#fff1cf;color:#7a5200}@media(max-width:800px){.retention-drawer{inset:0 0 0 auto;width:96vw}.retention-dialog{padding:16px}}

#btn-cs-retention[hidden],#btn-chat-retention[hidden]{display:none!important}.chat-actions{flex-wrap:wrap}

.retention-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:14px 0}.retention-filters label{font-size:12px}.retention-filters input,.retention-filters select{width:100%;box-sizing:border-box;padding:8px;border:1px solid #c6d9cc;border-radius:7px;background:white;color:#19392d}
