.kf-chat{display:flex;flex-direction:column;height:100%;min-height:100vh;background:#f7f9fc}.kf-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#fff;border-bottom:1px solid #e8edf3;flex:none}.kf-header-title{display:flex;align-items:center;gap:10px}.kf-logo{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#2f6bff,#6f9cff);color:#fff;display:grid;place-items:center;font-weight:700}.kf-header-title strong{display:block;font-size:15px}.kf-header-title small{display:block;color:#8a94a6;font-size:12px;margin-top:2px}.kf-status{font-size:12px;color:#2b9357;background:#eaf7ef;padding:4px 9px;border-radius:999px;white-space:nowrap}.kf-status.is-waiting{color:#b26a00;background:#fff3e0}.kf-message-list{flex:1;overflow-y:auto;padding:16px 14px;display:flex;flex-direction:column;gap:16px}.kf-welcome{margin:auto;text-align:center;color:#7b8494;padding:24px 12px}.kf-welcome-icon{font-size:34px;margin-bottom:8px}.kf-welcome strong{display:block;color:#374151;font-size:16px;margin-bottom:6px}.kf-welcome p{margin:0;line-height:1.7;font-size:13px}.kf-bubble-row{display:flex;gap:8px;align-items:flex-start}.kf-bubble-row.is-user{flex-direction:row-reverse}.kf-avatar{width:30px;height:30px;flex:none;border-radius:50%;background:#e4ecff;color:#2f6bff;display:grid;place-items:center;font-size:13px;font-weight:600}.kf-bubble-main{max-width:78%}.kf-bubble-meta{display:flex;gap:8px;align-items:center;font-size:11px;color:#9aa3b1;margin:0 2px 5px}.kf-bubble-row.is-user .kf-bubble-meta{justify-content:flex-end}.kf-bubble{background:#fff;padding:10px 12px;border-radius:4px 12px 12px;box-shadow:0 1px 3px #1f29370f;white-space:pre-wrap;word-break:break-word;line-height:1.6}.kf-bubble-row.is-user .kf-bubble{background:#2f6bff;color:#fff;border-radius:12px 4px 12px 12px}.kf-notice,.kf-error{margin:0 14px 8px;padding:8px 10px;border-radius:8px;font-size:12px}.kf-notice{background:#fff8e6;color:#926200}.kf-error{background:#fff0f0;color:#c0392b;display:flex;align-items:center;justify-content:space-between;gap:10px}.kf-error button{border:none;background:#c0392b;color:#fff;border-radius:6px;padding:3px 10px;font-size:12px}.kf-composer{flex:none;border-top:1px solid #e8edf3;background:#fff;padding:10px 12px 12px}.kf-composer textarea{width:100%;border:1px solid #dfe5ee;border-radius:10px;resize:none;padding:9px 11px;font-size:14px;line-height:1.5;outline:none;font-family:inherit}.kf-composer textarea:focus{border-color:#6f9cff}.kf-composer-footer{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.kf-hint{font-size:11px;color:#a2aab6}.kf-composer button{border:none;background:#2f6bff;color:#fff;border-radius:8px;padding:7px 18px;font-size:13px}.kf-composer button:disabled{background:#b8c8ea;cursor:not-allowed}
