.chat-page{background:#e8edf1;color:#20364c;overflow:hidden}.chat-page .chat-shell{max-width:1080px;height:100dvh;margin:auto;padding:12px 18px 16px;display:flex;flex-direction:column;gap:12px}.chat-page .topbar{flex:none;height:54px;padding:0 4px;border:0;justify-content:flex-start;gap:14px}.topbar .brand{display:flex;align-items:center}.topbar .brand img{width:108px;height:43px;object-fit:contain}.back-link{font-size:30px;text-decoration:none;line-height:1;color:#536575}.topbar .test-label{margin-left:auto;letter-spacing:.4px;font-size:11px;color:#617487}.conversation{min-height:0;flex:1;display:flex;flex-direction:column;background:white;box-shadow:0 8px 28px #20364c0c;border:1px solid #dbe3e9;border-radius:16px;overflow:hidden}.conversation-header{flex:none;display:flex;gap:12px;align-items:center;padding:16px 20px;border-bottom:1px solid #edf0f3}.avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#20364c;color:white;font-size:22px;font-weight:700;flex:none}.identity{min-width:0;flex:1}.identity h1{font-size:16px;font-weight:600;letter-spacing:0;margin:0 0 5px;white-space:normal}.presence{display:flex;gap:6px;align-items:center;font-size:12px;color:#73818c}.presence i{display:block;width:7px;height:7px;border-radius:50%;background:#35a776;flex:none}.chat-page .new-chat{background:white;color:#20364c;border:1px solid #dce4e9;padding:9px 12px;font-size:12px;margin:0;white-space:nowrap}.scenario-bar{display:flex;align-items:center;gap:10px;padding:9px 20px;border-bottom:1px solid #edf0f3;background:#fafbfc;flex:none}.scenario-bar label{font-size:11px;color:#72808b}.scenario-bar select{width:auto;max-width:100%;font-size:12px;padding:6px 10px;border-color:#e0e6eb;color:#40566a;background:white}.chat-page .chat{flex:1;min-height:0;max-height:none;overflow:auto;padding:24px clamp(15px,4vw,38px);gap:14px;background:#f8fafb;overscroll-behavior:contain}.empty-state{margin:auto;text-align:center;max-width:280px;color:#7b8791}.empty-state h2{font-size:18px;font-weight:500;color:#20364c;margin:16px 0 5px}.empty-state p{font-size:13px;margin:0}.empty-icon{display:grid;place-items:center;background:#e6ebf0;color:#20364c;font-size:26px;font-weight:700;border-radius:50%;height:58px;width:58px;margin:auto}.chat-page .bubble{align-self:flex-start;padding:12px 15px;max-width:min(82%,620px);font-size:14px;line-height:1.55;border-radius:4px 16px 16px 16px;background:#fff;border:1px solid #e8edf1;box-shadow:0 2px 3px #20364c06;overflow-wrap:anywhere}.chat-page .bubble.user{align-self:flex-end;background:#20364c;color:white;border-color:#20364c;border-radius:16px 4px 16px 16px}.bubble time{display:block;font-size:10px;color:#82909b;text-align:right;margin-top:4px}.bubble.user time{color:#c1ceda}.typing{display:flex;align-items:center;gap:5px;padding:8px 25px;background:#f8fafb;flex:none}.typing span{width:6px;height:6px;border-radius:50%;background:#8da0af;animation:typingPulse 1.2s infinite alternate}.typing span:nth-child(2){animation-delay:.15s}.typing span:nth-child(3){animation-delay:.3s}.typing small{font-size:11px;letter-spacing:0;margin-left:4px}@keyframes typingPulse{0%,30%{opacity:.35;transform:translateY(0)}70%,100%{opacity:1;transform:translateY(-3px)}}.chat-page .composer{flex:none;display:flex;gap:10px;padding:15px 20px 8px;border-top:1px solid #edf0f3;background:#fff;align-items:flex-end}.composer textarea{flex:1;min-width:0;min-height:44px;max-height:115px;resize:none;padding:12px 15px;font:14px/1.4 Arial,sans-serif;border:1px solid #dbe2e7;background:#f7f9fa;border-radius:22px;outline:none;color:#20364c}.composer textarea:focus{border-color:#9eafbc}.composer button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;padding:0;margin:0}.disclaimer{font-size:10px;color:#86919a;text-align:center;padding:4px 10px 11px;flex:none}#status{font-size:12px;color:#ac582d;margin:0;padding:0 20px;flex:none}#status:empty{display:none}#login-status{font-size:13px;margin:0}.chat-page #login-panel{width:min(100%,480px);margin:auto}.chat-page #login-panel input{min-width:0}.chat-page #login-panel button{margin-top:0}@media(max-width:600px){.chat-page .chat-shell{padding:0;gap:0}.chat-page .topbar{padding:0 14px;height:49px}.conversation{border-radius:0;border-left:0;border-right:0;border-bottom:0}.conversation-header{padding:12px}.avatar{width:39px;height:39px;font-size:19px}.identity h1{font-size:14px}.presence{font-size:11px}.scenario-bar{padding:7px 12px}.chat-page .chat{padding:15px 12px}.chat-page .bubble{max-width:88%}.chat-page .composer{padding:10px 12px 6px}.chat-page .new-chat{font-size:11px;padding:8px}.chat-page #login-panel{margin:auto 12px;width:auto}}@media(prefers-reduced-motion:reduce){.typing span{animation:none}}
