:root{font-family:Inter,"Microsoft YaHei UI","PingFang SC",system-ui,sans-serif;color:#253047;background:#f6f8fc;font-synthesis:none;--accent:#5368ee;--muted:#8992a5;--line:#e9edf4;--green:#16a57a;--red:#db5263;--amber:#bd831b}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a,input,select,textarea{outline-offset:3px}button{border:0;background:none;color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}h1,h2,h3,p{margin:0}.muted{color:var(--muted)}.primary{background:var(--accent);color:white;border:1px solid var(--accent);border-radius:9px;padding:10px 19px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;box-shadow:0 3px 8px #5368ee18;transition:.15s}.primary:hover{background:#455bdd}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 12px;border:1px solid #dfe5ef;border-radius:8px;background:white;white-space:nowrap}.button:hover{border-color:#adb9ed;background:#f6f8ff}.subtle{color:#6e7990;background:transparent;font-size:12px}.tag{padding:3px 7px;border:1px solid #e6eaf2;border-radius:5px;font-size:10px;color:#8b95aa;background:#fafbfe}.status{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:#658277}.status i,.live-dot{width:6px;height:6px;border-radius:100%;background:var(--green);display:inline-block}.status.warn{color:var(--amber)}.status.warn i{background:var(--amber)}.status.off{color:var(--red)}.status.off i{background:var(--red)}.error{color:var(--red);min-height:18px;font-size:13px}.eyebrow{letter-spacing:2px;font-size:12px;font-weight:600}.workspace{height:100dvh;display:grid;grid-template-columns:72px 326px minmax(400px,1fr) 310px;grid-template-rows:66px minmax(0,1fr);overflow:hidden}.rail{grid-area:1/1/3/2;background:#f0f3fb;border-right:1px solid #e4e9f3;display:flex;align-items:center;flex-direction:column;padding:19px 8px 12px;gap:12px}.brand{display:block;margin-bottom:27px;line-height:0}.nav-button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;width:52px;padding:13px 0;border-radius:10px;color:#8c96ad;font-size:10px}.nav-button svg{width:22px;height:22px}.nav-button.active{background:white;color:var(--accent);box-shadow:0 3px 12px #5268b50c}.nav-button:hover{color:var(--accent)}.rail-bottom{margin-top:auto;display:flex;align-items:center;flex-direction:column;gap:8px}.user-avatar{height:34px;width:34px;border-radius:11px;background:#e0e6fc;color:#5c6cad;font-weight:700}.topbar{grid-area:1/2/2/5;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.top-title,.top-status{display:flex;align-items:center;gap:14px}.top-title strong{font-size:16px;letter-spacing:.5px}.top-title>span:not(.tag):not(.divider){font-size:12px;color:#7e899e}.divider{height:16px;width:1px;background:#e5e9f1}.top-status{font-size:12px;color:#7f899b;gap:22px}.inbox{display:flex;flex-direction:column;min-height:0;background:white;border-right:1px solid var(--line)}.inbox-title{display:flex;align-items:center;justify-content:space-between;padding:25px 20px 20px}.inbox-title>div{display:flex;align-items:center;gap:9px}.inbox-title h1{font-size:20px;font-weight:650}.count{padding:3px 8px;background:#eef1fa;border-radius:6px;color:#7d8aa8;font-size:11px}.inbox-title>.muted{font-size:11px}.inbox-controls{padding:0 16px 13px}.search-box{display:flex;align-items:center;gap:8px;background:#f5f7fb;border:1px solid #eef1f7;border-radius:8px;padding:10px 11px;color:#9aa4b9}.search-box svg{width:16px;height:16px}.search-box input{border:0;background:transparent;min-width:0;width:100%;font-size:12px;outline:none;color:#4c5870}.search-box:focus-within{border-color:#b2bef5}.inbox select{margin:12px 0 15px;width:100%;padding:7px 3px;border:0;color:#727d93;background:white;font-size:12px}.segmented{display:flex;gap:3px;background:#f4f6fb;border-radius:8px;padding:3px}.segmented button{flex:1;padding:7px 2px;font-size:12px;color:#8490a5;border-radius:6px}.segmented button.active{background:white;box-shadow:0 1px 4px #1d356815;color:var(--accent);font-weight:600}.segmented b{font-size:10px;background:#e8ecfd;color:#6a79c6;border-radius:4px;padding:1px 4px;margin-left:2px}.conversation-list{overflow-y:auto;flex:1;padding:2px 8px 12px;scrollbar-width:thin}.conversation{width:100%;text-align:left;padding:16px 11px;display:flex;align-items:flex-start;gap:11px;border-radius:9px;border:1px solid transparent;margin:2px 0;position:relative}.conversation:hover{background:#f7f9fd}.conversation.selected{background:#eff2ff;border-color:#e4e9ff}.group-avatar{width:39px;height:39px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#e7eefc;color:#6b86bc;font-weight:600;font-size:13px;flex-shrink:0}.group-avatar.tone1{background:#e4f3ee;color:#6da390}.group-avatar.tone2{background:#fbefe2;color:#bc9b6b}.group-avatar.tone3{background:#ece8fa;color:#9281be}.group-avatar.large{width:42px;height:42px;font-size:14px}.conversation-main{flex:1;min-width:0}.conversation-line{display:flex;align-items:center;gap:9px;margin:1px 0 8px}.conversation-name{font-weight:600;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.conversation-time{color:#a3adbf;font-size:10px}.conversation-preview{font-size:11px;color:#8b95a8;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;line-height:18px;padding-right:16px}.conversation-account{font-size:10px;color:#a4adbf;margin-top:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unread-dot{background:#ff7b7b;color:white;border-radius:10px;min-width:16px;height:16px;padding:1px 4px;text-align:center;position:absolute;right:12px;top:47px;font-size:9px}.inbox-footer{border-top:1px solid var(--line);padding:16px 20px;display:flex;gap:8px;align-items:center;font-size:11px;color:#8c98ab}.list-empty{padding:45px 20px;text-align:center;color:#9aa4b7;line-height:1.9;font-size:12px}.chat-panel{min-width:0;min-height:0;background:#f7f9fc}.chat-active{height:100%;display:flex;flex-direction:column}.chat-header{height:88px;background:white;display:flex;align-items:center;gap:13px;padding:18px 25px;border-bottom:1px solid var(--line);flex-shrink:0}.chat-heading{flex:1;min-width:0}.chat-heading h2{font-size:16px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-heading p{font-size:11px;color:#95a0b3;margin-top:7px}.chat-toolbar{height:41px;display:flex;align-items:center;justify-content:space-between;padding:0 25px;border-bottom:1px solid #eff2f7;font-size:11px;color:#9aa4b5}.toggle-label{display:flex;gap:6px;align-items:center;cursor:pointer}.toggle-label input{accent-color:var(--accent);width:12px;height:12px}.messages{padding:21px 28px 28px;flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;overflow-wrap:anywhere}.day-divider{display:flex;justify-content:center;align-items:center;margin:8px 0 25px;font-size:10px;color:#a2aebf;gap:15px}.day-divider:before,.day-divider:after{content:"";height:1px;width:40px;background:#e4e9f1}.message{display:flex;gap:10px;max-width:86%;margin:0 0 22px;align-items:flex-start}.message.outgoing{margin-left:auto;flex-direction:row-reverse}.message-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#e5ecf5;color:#8d9db4;font-size:11px;flex-shrink:0}.message.outgoing .message-avatar{background:#dfe6ff;color:#7184d5}.message-body{min-width:0}.message-meta{display:flex;gap:9px;color:#8d99ac;font-size:10px;margin:2px 0 8px}.message.outgoing .message-meta{justify-content:flex-end}.bubble{background:white;border:1px solid #edf0f6;padding:12px 15px;border-radius:0 12px 12px 12px;line-height:1.8;font-size:13px;white-space:pre-wrap;box-shadow:0 2px 3px #24324a02}.outgoing .bubble{background:#eaf0ff;border-color:#e1e8fb;border-radius:12px 0 12px 12px;color:#3d5084}.quote-block{padding:8px 11px;border-left:2px solid #bbc9ed;background:#f0f3f9;color:#8794aa;font-size:11px;margin-bottom:9px;border-radius:3px;white-space:pre-wrap;max-height:125px;overflow:auto}.message-actions{display:flex;gap:7px;align-items:center;margin-top:5px;font-size:10px;color:#99a5b8}.message-actions button{font-size:10px;color:#8797bf;padding:2px}.message-actions button:hover{color:var(--accent)}.outgoing .message-actions{justify-content:flex-end}.delivery{font-size:10px;color:#9aa7bd;display:flex;gap:4px;align-items:center;margin-top:6px}.outgoing .delivery{justify-content:flex-end}.delivery.sent{color:#84a89d}.delivery.unknown,.delivery.failed,.delivery.expired{color:#c48a63}.delivery svg{width:12px;height:12px}.history-button{display:block;margin:0 auto 20px;font-size:11px;color:#8c9ac0}.folded{color:#a0aabc;text-align:center;font-size:10px;margin:18px 0}.composer{background:white;border-top:1px solid var(--line);padding:15px 23px 17px;flex-shrink:0}.composer-tools{display:flex;align-items:center;justify-content:space-between;color:#a1aabc;font-size:10px;margin-bottom:8px}.composer-tools>span:first-child{color:#6f7b95;font-size:11px}.composer textarea{width:100%;border:0;resize:none;outline:none;min-height:76px;max-height:160px;line-height:1.8;color:#37435a;font-size:13px;background:transparent}.composer textarea::placeholder{color:#b3bbca}.composer-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:10px}.composer-bottom>span{font-size:10px;color:#a8b0c1}.composer-bottom>div{display:flex;align-items:center;gap:15px}.composer-bottom .primary{font-size:12px;padding:9px 14px}.composer-bottom .primary svg{width:15px;height:15px}#text-count{font-size:10px;color:#a8b0c1}.quote-preview{display:flex;align-items:center;gap:9px;padding:10px 24px;background:#f1f4ff;border-top:1px solid #e2e8fa;color:#8391b2;font-size:11px}.quote-preview svg{width:14px;height:14px}.quote-preview span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quote-preview button{font-size:20px}.context-panel{background:white;border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.context-title{padding:25px 20px 21px;font-size:13px;font-weight:650;display:flex;justify-content:space-between}.context-title span{font-weight:400;font-size:10px}.context-content{padding:0 18px;flex:1;overflow-y:auto;scrollbar-width:thin}.context-card{border:1px solid #e8edf5;border-radius:11px;padding:16px;margin-bottom:14px}.context-card h3{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;margin-bottom:15px}.context-card h3 svg{width:15px;height:15px;color:#889bd4}.info-line{display:flex;justify-content:space-between;align-items:flex-start;gap:13px;font-size:11px;line-height:1.6;margin-top:12px}.info-line dt{color:#9da6b8;white-space:nowrap}.info-line dd{margin:0;text-align:right;color:#69768f;overflow-wrap:anywhere;max-width:165px}.account-block{display:flex;align-items:center;gap:10px}.account-icon{width:33px;height:33px;border-radius:9px;background:#e9f4f1;display:grid;place-items:center;color:#7caf9d;font-size:14px;font-weight:700}.account-name{font-size:11px;line-height:1.6;font-weight:600}.account-corp{font-size:10px;color:#9ca8ba;margin-top:2px}.context-card dl{margin:0}.info-section-line{height:1px;background:#eff2f7;margin:15px 0}.stat-pair{display:flex;background:#f7f9fc;border-radius:8px;padding:13px 0;margin:14px 0 4px}.stat-pair>div{flex:1;text-align:center}.stat-pair>div+div{border-left:1px solid #e6ebf3}.stat-pair strong{font-size:21px;font-weight:650;display:block;margin-bottom:4px}.stat-pair span{font-size:10px;color:#98a4b9}.bar-label{display:flex;justify-content:space-between;font-size:10px;color:#9aa6bb;margin:14px 0 7px}.meter{height:4px;background:#eef2f7;border-radius:5px;overflow:hidden}.meter span{display:block;height:100%;background:#a2b5f3;border-radius:5px}.context-foot{border-top:1px solid var(--line);padding:16px 18px;color:#a3adbd;font-size:10px;display:flex;gap:7px}.shield{color:#9cb4a9}.context-placeholder{padding:20px 10px;font-size:12px;color:#a6afbe;line-height:1.9}.empty-state{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.empty-art{display:grid;place-items:center;height:92px;width:110px;background:#edf1fd;border-radius:26px;position:relative;color:#a6b4e4;margin-bottom:30px}.empty-art>svg{height:44px;width:44px;stroke-width:1.2}.empty-art>span{height:16px;width:16px;border:4px solid #f7f9fc;position:absolute;right:-5px;top:7px;background:#b3c4ee;border-radius:50%}.empty-state h2{font-size:18px;font-weight:550;color:#6d7c98;margin-bottom:13px}.empty-state p{font-size:12px;line-height:1.9;color:#a1acbf}#toggle-info{display:none}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#33405c;color:white;box-shadow:0 8px 30px #1c294933;border-radius:10px;padding:13px 22px;z-index:50;font-size:13px;max-width:80vw}.login-view{height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-story{background:linear-gradient(135deg,#f1f4ff,#e7eefb);padding:54px 12%;position:relative;overflow:hidden}.login-story:after{content:"";height:370px;width:370px;border:1px solid #d5def5;border-radius:90px;transform:rotate(25deg);position:absolute;right:-150px;bottom:-130px}.wordmark{display:inline-flex;align-items:baseline;gap:13px;margin-left:11px;font-size:22px;font-weight:650;vertical-align:14px}.wordmark small{font-size:13px;font-weight:400;color:#7c8aa7}.login-copy{margin-top:25vh;position:relative;z-index:1}.login-copy .eyebrow{color:#8796c7}.login-copy h1{font-size:clamp(29px,3vw,46px);line-height:1.6;color:#354767;margin:20px 0;font-weight:600;letter-spacing:1px}.login-copy p{font-size:13px;color:#8d9bb5;line-height:2.1}.login-benefits{display:flex;gap:24px;font-size:11px;color:#8b9bbd;margin-top:34px}.login-benefits span:before{content:"✓";margin-right:7px;color:#8d9ed4}.login-story footer{position:absolute;bottom:43px;color:#a2aec5;font-size:10px}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:35px}.login-form-wrap form{width:min(360px,100%)}.login-form-wrap .eyebrow{color:#a0acc3}.login-form-wrap h2{font-size:26px;margin:15px 0 12px;font-weight:600}.login-form-wrap p.muted{font-size:12px;margin-bottom:35px}.login-form-wrap label,.form-grid label{display:flex;flex-direction:column;gap:10px;margin:21px 0;font-size:12px;color:#6c7890}.login-form-wrap input,.form-grid input{background:#fafbfe;border:1px solid #e3e8f1;border-radius:8px;padding:13px;color:#485771;min-width:0}.login-form-wrap input:focus,.form-grid input:focus{outline:2px solid #dfe5ff;border-color:#aab7f3}.login-form-wrap input::placeholder{color:#b1bacb}.login-button{width:100%;margin-top:10px;font-size:13px;padding:13px}.login-button svg{width:16px;height:16px}.login-note{margin-top:22px;color:#aab3c3;font-size:11px;line-height:1.8}dialog{width:min(880px,94vw);max-height:88dvh;border:1px solid #e0e6f0;border-radius:17px;box-shadow:0 25px 100px #12204724;padding:0;color:#33415c}dialog::backdrop{background:#24304e3b;backdrop-filter:blur(3px)}.dialog-header{padding:23px 26px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.dialog-header h2{font-size:18px;font-weight:600}.icon-button{font-size:24px;color:#9ca8bb}#dialog-body{padding:24px 26px;max-height:72vh;overflow:auto}.dialog-intro{font-size:12px;color:#97a3b6;line-height:1.8;margin-bottom:20px}.table{width:100%;border-collapse:collapse;font-size:12px}.table th,.table td{text-align:left;padding:14px 10px;border-bottom:1px solid var(--line);line-height:1.6}.table th{font-size:11px;color:#97a1b6;font-weight:500;background:#fafbfe}.table .muted{font-size:10px}.form-grid{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:22px}.form-grid label{flex:1;min-width:130px;margin:0}.form-grid input{padding:10px}.form-grid .primary{font-size:12px;height:40px}.config-output{background:#f4f7fd;padding:17px;border-radius:10px;overflow:auto;white-space:pre-wrap;word-break:break-all;color:#6a7893;font-size:11px}.notice{padding:12px 15px;border-radius:8px;background:#f2f5ff;color:#7789b8;font-size:12px;line-height:1.8;margin:15px 0}.notice.warning{background:#fff7eb;color:#ba925b}.online-label{color:#4f9e84}.offline-label{color:#ad9d87}.text-button{color:var(--accent);font-size:11px}.device-card-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}.device-overview{border:1px solid var(--line);border-radius:10px;padding:18px}.device-overview h3{font-size:13px;margin-bottom:12px}.device-overview p{font-size:11px;color:#9aa5b7;line-height:1.9}.device-overview .status{float:right}.device-overview button{margin-top:13px}.account-form{max-width:440px}.account-form .form-grid{display:block}.account-form label{margin:18px 0}.account-form input{width:100%}@media(min-width:1900px){.workspace{grid-template-columns:78px 360px minmax(400px,1fr) 344px}.topbar{padding:0 30px}.context-content{padding:0 22px}.messages{padding-left:6%;padding-right:6%}.message{max-width:75%}.context-card{padding:19px}.conversation{padding:18px 13px}.conversation-name{font-size:13px}.conversation-preview{font-size:12px}}@media(max-width:1260px){.workspace{grid-template-columns:64px 285px minmax(350px,1fr)}.topbar{grid-column:2/4}.context-panel{display:none}.context-panel.shown{display:flex;position:fixed;right:0;top:66px;bottom:0;width:310px;z-index:9;box-shadow:-10px 0 30px #34456615}#toggle-info{display:block}.top-title>.tag{display:none}.rail{padding-left:5px;padding-right:5px}.chat-header{padding-left:18px;padding-right:18px}.messages{padding:20px}.composer{padding-left:18px;padding-right:18px}}@media(max-width:850px){.workspace{grid-template-columns:58px 240px minmax(310px,1fr)}.topbar{padding:0 17px}.top-title>span{display:none}.top-title strong{font-size:14px}.top-status{gap:10px;font-size:10px}.top-status #operator-name{display:none}.conversation{padding-left:6px;padding-right:6px;gap:8px}.group-avatar{height:32px;width:32px;font-size:11px}.chat-heading h2{font-size:13px}.chat-header{gap:8px;height:78px}.chat-header .large{display:none}#resolve span{display:none}#resolve{padding:7px}.chat-toolbar{padding:0 15px;font-size:9px}.composer-tools>span:last-child{display:none}.composer-bottom>span{font-size:9px}.composer-bottom>div{gap:7px}#text-count{display:none}.composer-bottom .primary{padding:9px 10px;font-size:11px}.login-story{padding:35px 9%}.wordmark{display:block;margin:12px 0 0}.login-copy{margin-top:20vh}.login-copy h1{font-size:30px}.login-benefits{gap:12px}}@media(max-width:650px){.workspace{grid-template-columns:54px minmax(0,1fr)}.topbar{grid-column:2/3;height:58px}.workspace{grid-template-rows:58px minmax(0,1fr)}.inbox{grid-column:2}.chat-panel{display:none}.workspace.mobile-chat .inbox{display:none}.workspace.mobile-chat .chat-panel{display:block;grid-column:2}.top-title strong{font-size:13px}.chat-header{padding:13px 12px;gap:6px}.chat-heading h2{font-size:12px}.chat-heading p{font-size:9px}.chat-header button{font-size:10px}.chat-toolbar{padding:0 12px}.messages{padding:15px 12px}.message{max-width:96%;gap:7px}.message-avatar{width:26px;height:26px;font-size:9px}.bubble{font-size:12px;padding:10px 12px}.composer{padding:12px}.composer textarea{min-height:64px;font-size:12px}.composer-bottom>span{max-width:110px;line-height:1.5}.context-panel.shown{top:58px;width:280px}.login-view{display:block;background:#f9fbff;padding:40px 20px}.login-story{display:none}.login-form-wrap{height:100%;padding:20px}.device-card-list{grid-template-columns:1fr}.table{font-size:10px}.table td,.table th{padding:9px 5px}#dialog-body{padding:17px}.form-grid{display:block}.form-grid label{margin:13px 0}.form-grid button{width:100%}.top-status{font-size:10px}.top-status .status{font-size:10px}}
