.chw-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    font-family: 'Inter', 'Helvetica', sans-serif;
}

.chw-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #FC3119, #FF8327);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    cursor: pointer;
    font-size: 20px;
}

.chw-panel {
    width: 320px;
    height: 440px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chw-panel.hidden {
    display: none;
}

.chw-header {
    padding: 12px 14px;
    border-bottom: 1px solid #e6e9ef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f9fc;
}

.chw-title {
    font-weight: 700;
    color: #0f172a;
}

.chw-subtitle {
    font-size: 12px;
    color: #6b7280;
}

.chw-close {
    border: none;
    background: transparent;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
}

.chw-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chw-message {
    padding: 10px 12px;
    border-radius: 10px;
    max-width: 85%;
    line-height: 1.45;
    font-size: 14px;
}

.chw-assistant {
    background: #eef2ff;
    color: #111827;
    align-self: flex-start;
}

.chw-user {
    background: #124155;
    color: #fff;
    align-self: flex-end;
}

.chw-footer {
    display: flex;
    padding: 10px;
    gap: 8px;
    border-top: 1px solid #e6e9ef;
    background: #fff;
}

.chw-footer input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
}

.chw-footer button {
    width: 44px;
    border: none;
    background: linear-gradient(135deg, #FC3119, #FF8327);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.chw-status {
    min-height: 18px;
    padding: 0 12px 10px 12px;
    font-size: 12px;
    color: #6b7280;
}
