.faq-widget-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ocean-blue);
    color: var(--pure-white);
    border: none;
    box-shadow: var(--shadow-lg);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-widget-panel {
    position: fixed;
    left: 20px;
    bottom: 88px;
    width: 320px;
    max-width: calc(100vw - 40px);
    height: 420px;
    max-height: calc(100vh - 130px);
    background: var(--pure-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--font-body);
}

.faq-widget-panel.open {
    display: flex;
}

.faq-widget-header {
    background: var(--ocean-blue);
    color: var(--pure-white);
    padding: 0.75rem 1rem;
    font-family: var(--font-title);
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-widget-header button {
    background: none;
    border: none;
    color: var(--pure-white);
    font-size: 1.1rem;
    cursor: pointer;
}

.faq-widget-messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-widget-msg {
    max-width: 85%;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    line-height: 1.6;
}

.faq-widget-msg.user {
    align-self: flex-end;
    background: var(--cloud-blue);
    color: var(--text-primary);
}

.faq-widget-msg.assistant {
    align-self: flex-start;
    background: var(--arctic-white);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.faq-widget-input {
    display: flex;
    border-top: 1px solid var(--border);
    padding: 0.5rem;
    gap: 0.5rem;
}

.faq-widget-input input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
}

.faq-widget-input button {
    background: var(--ocean-blue);
    color: var(--pure-white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0 0.9rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.faq-widget-input button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
