.useo-faq-assistant {
    --useo-faq-accent: #135e96;
    color: #1d2327;
    font: inherit;
    line-height: 1.5;
}

.useo-faq-panel {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
    max-width: 36rem;
    padding: 1.25rem;
}

.useo-faq-assistant.is-inline .useo-faq-panel {
    box-shadow: none;
    margin: 1.25rem 0;
}

.useo-faq-assistant.is-floating {
    bottom: 1.25rem;
    position: fixed;
    right: 1.25rem;
    z-index: 99998;
}

.useo-faq-assistant.is-floating .useo-faq-panel {
    bottom: 3.75rem;
    max-height: min(75vh, 38rem);
    overflow: auto;
    position: absolute;
    right: 0;
    width: min(34rem, calc(100vw - 2rem));
}

.useo-faq-toggle,
.useo-faq-submit {
    background: var(--useo-faq-accent);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: .75rem 1.1rem;
}

.useo-faq-submit {
    border-radius: 4px;
    margin-top: .75rem;
}

.useo-faq-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.useo-faq-heading {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.useo-faq-heading h2 {
    font-size: 1.25rem;
    margin: 0;
}

.useo-faq-close {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    padding: 0 .25rem;
}

.useo-faq-form label,
.useo-faq-form textarea {
    display: block;
    width: 100%;
}

.useo-faq-form label {
    font-weight: 700;
    margin-bottom: .35rem;
}

.useo-faq-form textarea {
    box-sizing: border-box;
    min-height: 5.5rem;
    resize: vertical;
}

.useo-faq-status {
    font-weight: 600;
    margin-top: .8rem;
}

.useo-faq-answer {
    background: #f0f6fc;
    border-left: 4px solid var(--useo-faq-accent);
    margin-top: .8rem;
    padding: .85rem;
    white-space: pre-wrap;
}

.useo-faq-privacy {
    color: #646970;
    font-size: .85em;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .useo-faq-assistant.is-floating {
        bottom: .75rem;
        right: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .useo-faq-assistant * {
        scroll-behavior: auto !important;
    }
}
