.chat-nav-count{display:inline-flex;align-items:center;justify-content:center;background:var(--red);color:white;min-width:17px;height:17px;padding:0 4px;border-radius:12px;font-size:10px;margin-left:5px}.desktop-nav{gap:23px}.chat-page{padding:32px 0 30px}.chat-page-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.chat-page-heading h1{font-size:36px;letter-spacing:-1.3px;margin:10px 0 8px}.chat-page-heading p{font-size:14px;color:var(--muted);margin:0}.chat-role>span{font-size:11px;color:var(--muted);display:block;margin-bottom:7px}.chat-role>div{display:flex;background:#e8ebe5;border-radius:10px;padding:4px;gap:3px}.chat-role button{border:0;background:none;border-radius:7px;padding:9px 13px;font-size:12px;font-weight:600;min-height:36px}.chat-role button.active{background:white;box-shadow:0 1px 5px #24302912}.chat-demo-notice{display:flex;gap:11px;align-items:center;border:1px solid #dbe5d1;background:#eef4e6;color:#52624a;border-radius:11px;padding:13px 16px;font-size:12px;line-height:1.6;margin-bottom:20px}.chat-demo-notice svg{width:19px;height:19px}.chat-demo-notice strong{font-weight:700}.chat-workspace{display:grid;grid-template-columns:310px minmax(0,1fr);height:calc(100dvh - 365px);min-height:510px;max-height:850px;background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden}.chat-inbox{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.chat-inbox-head{padding:20px 18px 15px;border-bottom:1px solid var(--line)}.chat-inbox-head>div{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.chat-inbox-head h2{font-size:15px;letter-spacing:-.3px;margin:0}.chat-inbox-head>div>span{font-size:11px;background:#f0f3ed;padding:4px 7px;border-radius:5px}.chat-search{display:flex;align-items:center;gap:8px;background:var(--paper);border:1px solid var(--line);padding:0 11px;border-radius:9px}.chat-search svg{width:16px;height:16px;color:var(--muted)}.chat-search input{padding:10px 0;width:100%;min-width:0;font-size:12px;border:0;background:none;outline:0}.chat-threads{flex:1;min-height:0;overflow-y:auto;padding:8px}.chat-thread{position:relative;display:flex;align-items:center;padding:12px 9px;gap:10px;border-radius:10px;border:1px solid transparent}.chat-thread:hover{background:var(--paper)}.chat-thread.active{background:var(--red-soft);border-color:#f2dce1}.chat-thread .avatar{width:38px;height:38px;flex-shrink:0;font-size:13px;border:0}.chat-thread-copy{min-width:0;flex:1}.chat-thread-copy>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-thread strong{font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-thread time{font-size:10px;color:var(--muted);flex-shrink:0}.chat-thread p{font-size:12px;line-height:1.5;color:var(--muted);margin:4px 0 2px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-thread-profile{font-size:10px;color:#889080;display:block}.chat-unread{background:var(--red);color:white;min-width:18px;height:18px;padding:0 4px;border-radius:12px;font-size:10px;display:grid;place-items:center}.chat-local-name{background:#f7f8f4;border-top:1px solid var(--line);padding:13px;display:flex;align-items:end;gap:7px}.chat-local-name label{font-size:10px;color:var(--muted);flex:1;min-width:0}.chat-local-name input{display:block;width:100%;border:1px solid var(--line);border-radius:7px;background:white;padding:8px 9px;margin-top:5px;font-size:12px}.chat-conversation{display:flex;flex-direction:column;min-width:0;min-height:0}.chat-conversation-head{display:flex;align-items:center;gap:11px;padding:17px 23px;border-bottom:1px solid var(--line);min-height:78px}.chat-conversation-head .avatar{width:40px;height:40px;font-size:15px;border:0}.chat-conversation-head>div:not(.avatar){min-width:0}.chat-conversation-head strong{font-size:15px;display:block}.chat-conversation-head span{font-size:11px;color:var(--muted);display:block;margin-top:4px}.chat-conversation-head>a.btn{margin-left:auto}.chat-conversation-head .btn svg{width:14px;height:14px}.chat-back{display:none}.chat-transcript{flex:1;min-height:0;overflow-y:auto;padding:20px 25px;display:flex;flex-direction:column;gap:14px;background:#fafbf8;scroll-behavior:smooth}.chat-transcript-note{text-align:center;font-size:10px;line-height:1.6;color:#838c7e;margin:0 0 14px}.chat-message{max-width:78%;min-width:100px;border-radius:13px 13px 13px 3px;align-self:flex-start;background:white;padding:12px 15px;border:1px solid #e0e6db;overflow-wrap:anywhere}.chat-message.mine{align-self:flex-end;background:#fbe9ed;border-color:#f1d5dc;border-radius:13px 13px 3px 13px}.chat-message .chat-sender{font-size:10px;font-weight:700;color:#6d7866}.chat-message.mine .chat-sender{color:#af3b54}.chat-message p{white-space:pre-wrap;margin:5px 0 7px;font-size:14px;line-height:1.6}.chat-message time{font-size:10px;color:#8a8f84;display:block;text-align:right}.chat-composer{padding:15px 22px 10px;background:white;border-top:1px solid var(--line)}.chat-compose-label{font-size:11px;font-weight:650;display:block;margin-bottom:8px}.chat-composer>div:not(.chat-composer-foot){display:flex;gap:10px;align-items:end}.chat-composer textarea{min-width:0;flex:1;min-height:60px;max-height:170px;resize:vertical;line-height:1.6;font-size:14px;padding:11px 13px;border:1px solid #d7ded3;border-radius:10px;background:#fafbf8}.chat-composer button{min-height:46px}.chat-composer button svg{width:17px;height:17px}.chat-composer-foot{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#87917f;line-height:1.5;margin-top:7px}.chat-composer #chat-send-error{color:var(--red);font-size:12px;margin:8px 0 0}.chat-start{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;flex:1;background:#fafbf8}.chat-start>span{display:grid;place-items:center;width:65px;height:65px;border-radius:50%;background:#eaf0e2;color:#627457;margin-bottom:12px}.chat-start>span svg{width:27px;height:27px}.chat-start h2{font-size:27px;letter-spacing:-.9px;line-height:1.25;margin:15px 0 12px}.chat-start p{font-size:14px;line-height:1.7;max-width:365px;margin:0 0 23px;color:var(--muted)}.chat-list-empty{padding:25px 14px;text-align:center;color:var(--muted);font-size:13px;line-height:1.7}.chat-list-empty>svg{width:27px;height:27px;margin:8px auto}.chat-list-empty .text-link{font-size:12px}.chat-scope-note{font-size:11px;line-height:1.7;color:var(--muted);margin:15px 0 0}
@media(max-width:1180px){.header-row{gap:24px}.desktop-nav{gap:18px}.chat-workspace{grid-template-columns:280px 1fr}.chat-conversation-head{padding:16px}.chat-transcript{padding:18px}.chat-composer{padding:14px}}
@media(max-width:800px){.desktop-nav{gap:13px;font-size:12px}.chat-page-heading{align-items:start}.chat-page-heading h1{font-size:30px}.chat-page-heading p{max-width:260px;line-height:1.6;font-size:13px}.chat-workspace{grid-template-columns:235px 1fr}.chat-role button{padding:8px 10px;font-size:11px}.chat-message{max-width:91%}.chat-thread{padding:11px 5px;gap:7px}.chat-thread .avatar{width:32px;height:32px}.chat-thread strong{font-size:12px}.chat-inbox-head{padding:18px 12px}.chat-composer-foot>span:first-child{display:none}}
@media(max-width:620px){.mobile-nav{grid-template-columns:repeat(5,1fr)}.mobile-nav a{position:relative}.mobile-nav .chat-nav-count{position:absolute;top:-1px;left:calc(50% + 6px);margin:0}.chat-page{padding:24px 0 16px}.chat-page-heading{display:block;margin-bottom:16px}.chat-page-heading h1{font-size:30px;margin:9px 0 8px}.chat-page-heading p{max-width:none;font-size:13px}.chat-role{margin-top:17px;display:flex;align-items:center;justify-content:space-between;gap:9px}.chat-role>span{margin:0;font-size:11px}.chat-role button{font-size:12px;padding:8px 11px}.chat-demo-notice{padding:12px;font-size:11px;gap:9px;align-items:start;line-height:1.6;margin-bottom:17px}.chat-demo-notice svg{width:16px;height:16px;margin-top:3px}.chat-workspace{display:block;height:calc(100dvh - 375px);min-height:440px;max-height:none;border-radius:13px}.chat-inbox{height:100%;border:0}.chat-conversation{display:none;height:100%}.chat-workspace.has-thread .chat-conversation{display:flex}.chat-workspace.has-thread .chat-inbox{display:none}.chat-inbox-head{padding:17px 15px}.chat-thread{padding:14px 10px;gap:10px}.chat-thread .avatar{width:39px;height:39px;font-size:14px}.chat-thread strong{font-size:14px}.chat-thread-copy>div>time{font-size:11px}.chat-thread p{font-size:13px}.chat-local-name label{font-size:11px}.chat-local-name input{font-size:14px}.chat-conversation-head{padding:12px 10px;gap:8px;min-height:70px}.chat-conversation-head .avatar{width:32px;height:32px;font-size:12px}.chat-conversation-head strong{font-size:13px}.chat-conversation-head span{font-size:10px}.chat-conversation-head .btn{padding:7px 9px;font-size:10px}.chat-conversation-head .btn svg{display:none}.chat-back{display:grid;place-items:center;width:25px;flex-shrink:0}.chat-back svg{width:18px;height:18px}.chat-transcript{padding:16px 11px;gap:13px}.chat-message{max-width:90%;padding:10px 12px}.chat-message p{font-size:14px}.chat-transcript-note{font-size:10px;margin:0 0 6px}.chat-composer{padding:11px 10px 9px}.chat-composer textarea{font-size:16px;min-height:58px;max-height:140px;padding:9px}.chat-composer button{font-size:12px;padding:12px;min-height:44px}.chat-composer button svg{display:none}.chat-scope-note{font-size:11px}}
@media(prefers-reduced-motion:reduce){.chat-transcript{scroll-behavior:auto}}
