*{box-sizing:border-box;letter-spacing:0}html,body{color:#243044;background:#f5f6f8;height:100%;margin:0;font-family:Inter,Microsoft YaHei,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,h4,p{margin:0}button:focus-visible,a:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.workspace{flex-direction:column;height:100dvh;min-height:480px;display:flex;overflow:hidden}.topbar{background:#fff;border-bottom:1px solid #e2e6eb;justify-content:space-between;align-items:center;gap:12px;height:68px;min-height:68px;padding:0 24px;display:flex}.brand,.header-tools{align-items:center;gap:12px;display:flex}.brand strong{white-space:nowrap;font-size:18px}.brand-icon{color:#fff;background:#2563eb;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:21px;display:inline-flex}.brand .ant-tag{color:#737d8b;background:#f1f3f6;border:0;font-size:10px}.operator{border-left:1px solid #e3e6eb;padding:0 8px 0 12px;font-size:13px}.operator small{color:#7a8290;margin-top:2px;font-size:11px;display:block}.connection{color:#987326;white-space:nowrap;align-items:center;gap:6px;font-size:12px;display:flex}.connection i{background:currentColor;border-radius:50%;width:7px;height:7px}.connection.live{color:#237654}.columns{flex:1;grid-template-columns:310px minmax(320px,1fr) 290px;min-height:0;display:grid}.inbox,.profile{background:#fff;flex-direction:column;min-height:0;display:flex;overflow:hidden}.inbox{border-right:1px solid #e2e6eb}.inbox-title{justify-content:space-between;align-items:center;padding:23px 20px 18px;display:flex}h2{font-size:16px;font-weight:600}.inbox>.search{width:calc(100% - 32px);height:36px;margin:0 16px 14px}.inbox>.ant-segmented{margin:0 16px 16px;font-size:12px}.conversation-list{flex:1;min-height:0;overflow-y:auto}.conversation{color:#283346;text-align:left;background:#fff;border-top:0;border-bottom:1px solid #f0f1f3;border-left:3px solid #0000;border-right:0;align-items:flex-start;gap:11px;width:100%;min-height:98px;padding:17px 16px 15px 13px;display:flex}.conversation:hover{background:#f6f8fb}.conversation.selected{background:#edf3fe;border-left-color:#2563eb}.conversation-copy{flex:1;min-width:0;display:block}.conversation-top{align-items:center;gap:8px;display:flex}.conversation-top strong{white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:13px;overflow:hidden}.conversation time{color:#89919e;white-space:nowrap;font-size:10px}.phone{color:#737f90;white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:11px;display:block;overflow:hidden}.preview{color:#6c778a;white-space:nowrap;text-overflow:ellipsis;height:20px;margin-top:6px;font-size:12px;display:block;overflow:hidden}.preview .ant-tag{margin-right:5px;font-size:10px;line-height:17px}.inbox-footer{color:#7d8591;border-top:1px solid #e7e9ed;padding:12px 20px;font-size:12px}.chat{background:#f7f8fa;flex-direction:column;min-width:0;min-height:0;display:flex}.chat-header{background:#fff;border-bottom:1px solid #e2e6eb;align-items:center;gap:10px;height:78px;min-height:78px;padding:16px 26px;display:flex}.chat-heading{flex:1;min-width:0}.chat-heading h2{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-heading>span{color:#838c99;margin-top:5px;font-size:12px;display:block}.separator{padding:0 6px}.message-scroll{overscroll-behavior:contain;flex:1;min-height:0;padding:24px 28px;overflow-y:auto}.message-row{margin:20px 0;display:flex}.message-body{min-width:80px;max-width:min(84%,560px)}.message-body>small{color:#7a8391;margin-bottom:7px;font-size:11px;display:block}.outgoing{justify-content:flex-end}.outgoing small{text-align:right}.bubble{color:#303d50;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:1px solid #e2e6ed;border-radius:6px;padding:12px 15px;font-size:14px;line-height:1.7}.outgoing .bubble{background:#e8f0ff;border-color:#dce6fa}.bubble audio{width:260px;max-width:100%;height:42px}.bubble .ant-image{max-width:100%}.bubble a{color:#2563eb}.history-button{color:#738196;margin:0 auto;font-size:12px;display:block}.recharge-card{background:#fff;border:1px solid #e4decb;border-left:3px solid #c99535;border-radius:6px;flex-direction:column;gap:10px;width:min(360px,100%);margin:8px auto 24px;padding:17px 20px;display:flex}.recharge-card strong{color:#263349;font-variant-numeric:tabular-nums;font-size:23px}.recharge-card>span{color:#687589;overflow-wrap:anywhere;font-size:12px}.recharge-card small{color:#8a929e;font-size:11px}.composer{background:#fff;border-top:1px solid #e2e6eb;padding:10px 20px 14px}.composer-toolbar{align-items:center;gap:3px;display:flex}.composer-toolbar .ant-btn{color:#657185}.composer textarea.ant-input{resize:none;height:80px;min-height:80px;max-height:80px;box-shadow:none;border:none;padding:12px 7px;font-size:14px}.composer-footer{justify-content:space-between;align-items:center;display:flex}.composer-footer>span{color:#9098a4;padding-left:7px;font-size:11px}.profile{border-left:1px solid #e2e6eb}.profile>header{border-bottom:1px solid #e2e6eb;min-height:78px;padding:28px 22px}.profile-content{min-height:0;padding:24px 22px;overflow-y:auto}.profile-heading{text-align:center;padding-bottom:24px}.profile-heading h3{overflow-wrap:anywhere;margin:12px 0 6px;font-size:15px}.profile-heading>span{color:#7e8795;font-size:12px}.profile h4,.profile-content h4{border-top:1px solid #edf0f3;margin-bottom:16px;padding-top:20px;font-size:13px}.profile-content h4 span{color:#929cab;float:right}dl{margin:0 0 24px}dt{color:#8b94a1;margin-top:16px;font-size:11px}dd{overflow-wrap:anywhere;margin:5px 0 0;font-size:12px;line-height:1.6}dd.amount{font-variant-numeric:tabular-nums;color:#344259;font-weight:600}.notes article{background:#fffaf0;border-left:2px solid #e6bf6a;margin-bottom:12px;padding:10px 12px}.notes p{overflow-wrap:anywhere;font-size:12px;line-height:1.65}.notes small{color:#8b8d90;margin-top:7px;font-size:10px;display:block}.note-save{margin-top:10px}.empty-chat{color:#98a1af;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;font-size:13px;display:flex}.empty-chat>.anticon{color:#b8c5d9;font-size:40px}.loading,.boot{place-items:center;min-height:200px;display:grid}.boot{height:100dvh}.global-error{border-radius:0;flex-shrink:0}.chat-header .show-info,.chat-header .mobile-back{display:none}.login-screen{background:#f4f6f9;place-items:center;min-height:100dvh;padding:28px;display:grid}.login-form{background:#fff;border:1px solid #e1e6ed;border-radius:8px;width:min(390px,100%);padding:36px}.login-form .brand-icon{width:44px;height:44px;margin-bottom:20px}.login-form h1{font-size:25px}.login-caption{color:#7d8797;margin:9px 0 24px;font-size:13px}.login-form label{margin:20px 0 8px;font-size:13px;display:block}.login-form>.ant-btn-primary{margin-top:28px}.qr{width:190px;max-width:100%;margin:16px auto;display:block}@media (min-width:1600px){.columns{grid-template-columns:330px minmax(400px,1fr) 310px}}@media (max-width:1180px){.columns{grid-template-columns:285px minmax(320px,1fr)}.profile{display:none}.chat-header .show-info{display:inline-flex}.brand .ant-tag{display:none}}@media (max-width:680px){.workspace{min-height:420px}.topbar{height:58px;min-height:58px;padding:0 10px}.brand{gap:8px}.brand strong{font-size:15px}.brand-icon{width:30px;height:30px;font-size:18px}.header-tools{gap:1px}.operator,.connection{display:none}.header-tools .ant-btn{width:40px;height:44px}.chat-header .ant-btn,.composer .ant-btn{min-width:44px;min-height:44px}.composer{padding-bottom:max(12px, env(safe-area-inset-bottom))}.columns{display:flex}.inbox{flex-shrink:0;width:100%}.chat{width:100%;display:none}.has-active .inbox{display:none}.has-active .chat{display:flex}.chat-header .mobile-back{display:inline-flex}.chat-header{gap:6px;height:70px;min-height:70px;padding:12px 10px}.chat-header h2{font-size:14px}.chat-header .ant-btn{padding-inline:8px;font-size:12px}.message-scroll{padding:14px}.message-body{max-width:90%}.composer{padding:8px 12px 12px}.composer textarea.ant-input{height:64px;min-height:64px;max-height:64px}.profile-content{padding:0}.login-form{padding:26px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;transition-delay:0s!important;animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important}}
