.chat-page{display:flex;height:calc(100vh - 104px);height:calc(100dvh - 104px);min-height:480px;border:1px solid;border-radius:8px;overflow:hidden}.chat-list{width:320px;flex:none;display:flex;flex-direction:column;border-right:1px solid}.chat-list-filter{display:flex;flex-direction:column;gap:8px;padding:12px}.chat-list-items{flex:1;overflow-y:auto}.chat-list-item{display:flex;gap:12px;align-items:center;padding:10px 12px;cursor:pointer;transition:background .15s}.chat-list-item:hover:not(.is-active){background:#00000008}.chat-list-main{flex:1;min-width:0}.chat-list-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-list-name{flex:1;min-width:0}.chat-list-time{flex:none;font-size:12px;color:#00000073}.chat-list-preview{flex:1;min-width:0;font-size:13px}.chat-acc-tag{margin-inline-end:6px;font-size:11px;line-height:16px;padding:0 4px}.chat-window{flex:1;min-width:0;display:flex;flex-direction:column}.chat-header{display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid}.chat-back{display:none}.chat-header-main{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}.chat-header-sub{font-size:12px}.chat-body{flex:1;overflow-y:auto;padding:16px 20px}.chat-more{text-align:center;margin-bottom:12px}.chat-day{text-align:center;margin:12px 0}.chat-day span{display:inline-block;padding:2px 10px;border-radius:10px;font-size:12px;color:#0000008c}.chat-msg{display:flex;margin:6px 0}.chat-msg.is-out{justify-content:flex-end}.chat-bubble{max-width:min(70%,560px);padding:8px 12px 6px;border-radius:12px;background:#fff;box-shadow:0 1px 1px #00000014;word-break:break-word}.chat-msg.is-in .chat-bubble{border-bottom-left-radius:4px}.chat-msg.is-out .chat-bubble{background:#e3f4fc;border-bottom-right-radius:4px}.chat-bubble.is-failed{outline:1px solid #ffccc7;background:#fff2f0!important}.chat-text{white-space:pre-wrap;line-height:1.5}.chat-media{font-size:13px;color:#0000008c;margin-bottom:2px}.chat-meta{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin-top:2px;font-size:11px;color:#00000073}.chat-via{margin:0;font-size:11px;line-height:16px;padding:0 4px}.chat-composer{border-top:1px solid;padding:10px 12px}.chat-composer-tip{display:block;font-size:12px;margin-bottom:6px}.chat-file-tag{margin-bottom:8px}.chat-composer-row{display:flex;align-items:flex-end;gap:8px}.chat-empty{flex:1;display:flex;align-items:center;justify-content:center}@media(max-width:768px){.chat-page{height:calc(100dvh - 104px);border-radius:0}.chat-list{width:100%;border-right:none}.chat-list.is-hidden{display:none}.chat-page:not(.has-active) .chat-empty{display:none}.chat-back{display:inline-flex}.chat-bubble{max-width:85%}}
