.client-conversations{min-width:0;color:var(--ink,#08285f)}
.cc-page-header{margin-bottom:22px}.cc-page-header h1{margin:7px 0 9px;font-size:32px;line-height:1.2}.cc-page-header p{margin:0;max-width:800px;color:#64758f;line-height:1.5}
.cc-layout{display:grid;grid-template-columns:minmax(275px,340px) minmax(0,1fr);gap:18px;align-items:start;min-width:0}
.cc-inbox,.cc-detail{border:1px solid #d8dfed;border-radius:20px;background:#fff;box-shadow:0 12px 32px #2923650a;min-width:0;overflow:hidden}
.cc-search-area{padding:18px 16px 13px;border-bottom:1px solid #e3e8f2}.cc-search-area label{display:block;font-size:13px;font-weight:800;margin-bottom:7px}.cc-search-area input{font-size:16px;min-height:46px}
.cc-filters{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.cc-filters button{border:1px solid #e1e5ef;border-radius:10px;background:#f8f9fc;padding:9px 10px;color:#62738c;font-size:12px;font-weight:750;min-height:38px}.cc-filters button.active{border-color:#bbaef9;background:#eeeaff;color:#5636ce}
.cc-list-status{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;margin-top:12px;font-size:11px;color:#7c879b}.cc-list-error,.cc-chat-error,.cc-send-error{color:#a72e47;font-size:13px;line-height:1.4;margin:9px 0 0;overflow-wrap:anywhere}.cc-list-error:empty,.cc-chat-error:empty,.cc-send-error:empty{display:none}
.cc-client-list{max-height:660px;overflow-y:auto;overscroll-behavior:contain}.cc-client{display:grid;gap:6px;padding:17px 16px;text-decoration:none;color:inherit;border-bottom:1px solid #e8ecf4;border-left:3px solid transparent;min-width:0}.cc-client:last-child{border-bottom:0}.cc-client:hover{background:#f8f7ff}.cc-client.selected{background:#f0edff;border-left-color:#6848f5}.cc-client-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;min-width:0}.cc-client-heading b{font-size:16px;overflow-wrap:anywhere}.cc-unread{background:#6848f5;color:#fff;padding:3px 7px;border-radius:12px;font-size:11px;font-weight:800;flex:none;min-width:23px;text-align:center}.cc-client-email{font-size:12px;color:#5e6f89;overflow-wrap:anywhere}.cc-client-meta{font-size:11px;line-height:1.5;color:#8390a4}.cc-client-preview{font-size:13px;color:#62738c;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;line-height:1.45}
.cc-wait{display:inline-block;width:fit-content;max-width:100%;padding:5px 8px;border-radius:8px;background:#edf3fb;color:#41648d;font-size:11px;font-weight:800;overflow-wrap:anywhere}.cc-wait-yellow{background:#fff2d8;color:#8d5900}.cc-wait-red{background:#ffedf1;color:#aa2942}
.cc-pagination{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:11px 14px;border-top:1px solid #e3e8f2;background:#fafbff}.cc-pagination span{font-size:12px;color:#77849a}.cc-pagination button{width:38px;min-height:38px;border:1px solid #dde4ee;border-radius:10px;background:#fff;color:#5636ce;font-weight:800}.client-conversations button:disabled{opacity:.45;cursor:default;transform:none}
.cc-list-empty,.cc-loading{padding:24px 17px;color:#75839a;font-size:14px;line-height:1.5;margin:0}.cc-select-empty{display:grid;align-content:center;justify-items:center;min-height:480px;padding:36px;text-align:center}.cc-select-empty h2{font-size:24px;margin:17px 0 10px}.cc-select-empty p{max-width:380px;margin:0;color:#75839a;line-height:1.6}.cc-select-symbol{display:grid;place-items:center;width:64px;height:64px;border-radius:21px;background:#f0edff;color:#6848f5;font-size:31px}
.cc-detail{padding:20px;position:relative}.cc-back{display:none;font-weight:800;text-decoration:none;color:#6848f5;font-size:14px;min-height:42px;align-items:center}.cc-chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;padding-bottom:17px;border-bottom:1px solid #e3e8f2;min-width:0}.cc-chat-header h2{margin:0 0 6px;font-size:22px;overflow-wrap:anywhere}.cc-chat-header p{margin:0 0 6px;font-size:13px;color:#61728d;overflow-wrap:anywhere}.cc-person{min-width:0}.cc-person-meta{font-size:12px;color:#8290a5;line-height:1.4}
.cc-thread{height:390px;min-height:160px;overflow-y:auto;overscroll-behavior:contain;padding:14px 3px;margin:9px 0;scrollbar-gutter:stable}.cc-message{max-width:86%;padding:12px 14px;border-radius:16px 16px 16px 4px;margin:10px 0;background:#f0f3f9;overflow-wrap:anywhere}.cc-message-staff{margin-left:auto;background:#6848f5;color:#fff;border-radius:16px 16px 4px 16px}.cc-message>b{font-size:12px;opacity:.85}.cc-message p{margin:6px 0 9px;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.cc-message footer{display:flex;flex-wrap:wrap;gap:3px 9px;justify-content:space-between;font-size:10px;line-height:1.4;opacity:.74}.cc-chat-empty{display:grid;align-content:center;text-align:center;min-height:100%;padding:24px;color:#7b899f}.cc-chat-empty span{font-size:19px;font-weight:800;color:#556988}.cc-chat-empty p{max-width:360px;margin:10px auto 0;font-size:14px;line-height:1.6}
.cc-history,.cc-new{width:100%;border:1px solid #dfe3f0;background:#f8f7ff;border-radius:10px;padding:9px;color:#6244cd;font-size:12px;font-weight:800;min-height:38px}.cc-history{margin-top:12px}.cc-new{margin-bottom:9px}.client-conversations [hidden]{display:none!important}
.cc-compose-form{padding-top:14px;border-top:1px solid #e3e8f2}.cc-drafts{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.cc-drafts>span{font-size:11px;color:#7d8ba1;margin-right:3px}.cc-drafts button{border:1px solid #e1d9fc;background:#f5f2ff;border-radius:9px;color:#6244cb;font-size:11px;font-weight:750;padding:8px 9px;min-height:34px}.cc-draft-note{font-size:11px;line-height:1.4;color:#8792a6;margin:8px 0 12px}.cc-compose-form>label{display:block;font-size:13px;font-weight:800;margin-bottom:7px}.cc-compose-form textarea{display:block;width:100%;min-width:0;min-height:90px;max-height:230px;resize:vertical;border:1px solid #d7dfed;border-radius:13px;padding:12px;font-size:16px;line-height:1.45;background:#fff;color:inherit}.cc-compose-form textarea:focus{outline:2px solid #cfc4fc;outline-offset:1px;border-color:#9c87f5}.cc-compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.cc-compose-bottom small{font-size:11px;color:#8994a7}.cc-compose-bottom .btn{min-height:43px;font-size:14px;padding:10px 17px}
@media(max-width:1050px){.cc-layout{grid-template-columns:minmax(255px,300px) minmax(0,1fr);gap:13px}.cc-detail{padding:16px}.cc-message{max-width:94%}.cc-chat-header{flex-wrap:wrap}}
@media(max-width:760px){.cc-page-header{margin-bottom:16px}.cc-page-header h1{font-size:27px}.cc-page-header p{font-size:14px}.cc-layout{display:block}.cc-detail{display:none}.cc-has-selection .cc-inbox{display:none}.cc-has-selection .cc-detail{display:block}.cc-has-selection .cc-page-header{display:none}.cc-back{display:flex;margin:-5px 0 12px}.cc-inbox,.cc-detail{border-radius:17px}.cc-client-list{max-height:none}.cc-chat-header h2{font-size:21px}.cc-thread{height:min(44vh,420px);min-height:170px}.cc-detail{padding:15px}.cc-message{max-width:94%;padding:11px 12px}.cc-compose-bottom .btn{min-width:110px}.cc-page-header,.cc-client-meta,.cc-person-meta{overflow-wrap:anywhere}.cc-drafts{gap:6px}.cc-drafts>span{width:100%}.cc-search-area{padding:16px 13px 12px}.cc-client{padding:16px 13px}.cc-filters button{padding:9px;font-size:11px}}
