        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        .header {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            color: white;
            padding: 16px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .logo {
            display: flex;
            align-items: center;
            font-weight: 700;
            font-size: 22px;
        }

        .language-selector {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .language-selector label {
            font-size: 14px;
            font-weight: 500;
        }

        .language-selector select {
            background-color: rgba(255, 255, 255, 0.2);
            color: rgb(0, 0, 0);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 6px;
            padding: 6px 10px;
            font-size: 14px;
            outline: none;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .language-selector select:hover {
            background-color: rgba(255, 255, 255, 0.3);
        }

        .language-selector select:focus {
            background-color: rgba(255, 255, 255, 0.3);
            border-color: rgba(255, 255, 255, 0.5);
        }
        
        .logo-icon {
            background-color: white;
            color: #6a11cb;
            width: 36px;
            height: 36px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            font-weight: bold;
        }
        
        .container {
            display: flex;
            flex: 1;
            overflow: hidden;
        }
        
        .sidebar {
            width: 280px;
            background-color: white;
            border-right: 1px solid #e0e0e0;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        
        .sidebar-header {
            padding: 20px;
            border-bottom: 1px solid #e0e0e0;
        }
        
        .save-button {
            width: 100%;
            padding: 10px 16px;
            background-color: #6a11cb;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            cursor: pointer;
            margin-bottom: 12px;
            transition: background-color 0.3s;
        }

        .save-button:hover {
            background-color: #5a0db8;
        }

        .sidebar-header h2 {
            font-size: 18px;
            color: #333;
            margin-bottom: 8px;
        }
        
        .time-filter {
            display: flex;
            gap: 8px;
            margin-top: 12px;
        }
        
        .time-filter button {
            padding: 6px 12px;
            border: 1px solid #ddd;
            background: white;
            border-radius: 4px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .time-filter button.active {
            background-color: #6a11cb;
            color: white;
            border-color: #6a11cb;
        }
        
        .conversation-list {
            flex: 1;
            overflow-y: auto;
            padding: 8px 0;
        }
        
        .conversation-item {
            padding: 14px 20px;
            border-bottom: 1px solid #f0f0f0;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .conversation-item:hover {
            background-color: #f9f9f9;
        }
        
        .conversation-item.active {
            background-color: #f0f4ff;
            border-left: 4px solid #6a11cb;
        }
        
        .conversation-title {
            font-weight: 600;
            margin-bottom: 4px;
            color: #333;
        }
        
        .conversation-preview {
            font-size: 13px;
            color: #666;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .conversation-time {
            font-size: 12px;
            color: #999;
            margin-top: 4px;
        }
        
        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        
        .chat-header {
            padding: 18px 24px;
            background-color: white;
            border-bottom: 1px solid #e0e0e0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .chat-header h2 {
            color: #333;
            font-size: 20px;
        }
        
        .chat-area {
            flex: 1;
            padding: 24px;
            overflow-y: auto;
            background-color: #f9fafc;
        }
        
        .message {
            display: flex;
            margin-bottom: 20px;
            max-width: 80%;
        }
        
        .message.user {
            margin-left: auto;
            flex-direction: row-reverse;
        }
        
        .avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: white;
            flex-shrink: 0;
            margin-top: 4px;
        }
        
        .avatar.user {
            background-color: #6a11cb;
        }
        
        .avatar.assistant {
            background-color: #2575fc;
        }

        .avatar.system {
            background-color: #999;
        }
        
        .message-content {
            margin: 0 12px;
            padding: 14px 18px;
            border-radius: 18px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            max-width: calc(100% - 60px);
        }
        
        .user .message-content {
            background-color: #6a11cb;
            color: white;
            border-top-right-radius: 4px;
        }
        
        .assistant .message-content {
            background-color: white;
            color: #333;
            border-top-left-radius: 4px;
        }
        
        .message-time {
            font-size: 12px;
            color: #666;
            text-align: right;
            margin-top: 4px;
        }

        .message-content h4 {
            margin-bottom: 6px;
            font-size: 14px;
        }

        .message-content p {
            line-height: 1.5;
            font-size: 15px;
        }
        
        .input-area {
            padding: 20px 24px 20px 12px;
            background-color: white;
            border-top: 1px solid #e0e0e0;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .message-input {
            flex: 1;
            padding: 14px 18px;
            border: 1px solid #ddd;
            border-radius: 24px;
            font-size: 15px;
            outline: none;
            transition: border-color 0.3s;
        }
        
        .message-input:focus {
            border-color: #6a11cb;
        }
        
        .send-button {
            background-color: #6a11cb;
            color: white;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            transition: background-color 0.3s;
        }
        
        .send-button:hover {
            background-color: #5a0db8;
        }

        .phone-button {
            border: none;
            background: none;
            cursor: pointer;
        }
        .voice-button {
            border: none;
            background: none;
            cursor: pointer;
            padding: 0;
            display: inline-block;
        }

        .voice-button img {
            display: block;
            pointer-events: none;
        }
        
        .visualization-area {
            height: 300px;
            padding: 20px;
            background-color: white;
            border-radius: 12px;
            margin-top: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }
        
        .visualization-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #333;
            display: flex;
            align-items: center;
        }
        
        .visualization-title i {
            color: #6a11cb;
            margin-right: 8px;
        }
        
        .action-buttons {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        
        .action-btn {
            padding: 8px 16px;
            background-color: #f0f4ff;
            border: none;
            border-radius: 6px;
            color: #6a11cb;
            font-size: 13px;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .action-btn:hover {
            background-color: #e6ebff;
        }
        
        .code-block {
            background-color: #f8f9fa;
            border-left: 4px solid #6a11cb;
            padding: 12px 16px;
            margin: 10px 0;
            border-radius: 0 6px 6px 0;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            overflow-x: auto;
        }
        
        .date-section {
            text-align: center;
            margin: 10px 0 20px 0;
            color: #999;
            font-size: 14px;
            position: relative;
        }
        
        .date-section::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background-color: #eee;
            z-index: 1;
        }
        
        .date-section span {
            background-color: #f9fafc;
            padding: 0 15px;
            position: relative;
            z-index: 2;
        }
        
        .welcome-message, .no-messages {
            text-align: center;
            color: #666;
            font-size: 16px;
            margin-top: 50px;
        }

        .recording-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: transparent;
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        .recording-overlay.active {
            display: flex;
        }

        .recording-icon {
            background-color: white;
            border-radius: 20px;
            padding: 40px;
            text-align: center;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            animation: pulse 1.5s ease-in-out infinite;
        }

        .recording-icon img {
            display: block;
            margin: 0 auto 20px;
        }

        .recording-icon p {
            color: #333;
            font-size: 18px;
            font-weight: 600;
            margin: 0;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        @media (max-width: 768px) {
            .container {
                flex-direction: column;
            }

            .sidebar {
                width: 100%;
                height: 200px;
            }

            .message {
                max-width: 90%;
            }
        }
