#genetiq-assistant-root,
#genetiq-assistant-root * {
    box-sizing: border-box;
}

#genetiq-assistant-root {
    --genetiq-assistant-brand: #0067ff;
    --genetiq-assistant-brand-strong: #005ee9;
    --genetiq-assistant-header: #0f172a;
    --genetiq-assistant-header-2: #123362;
    --genetiq-assistant-user: #1d9e75;
    --genetiq-assistant-accent: #00e5a0;
    --genetiq-assistant-surface: #ffffff;
    --genetiq-assistant-soft: #e7f6ff;
    --genetiq-assistant-page: #f8fbff;
    --genetiq-assistant-ink: #0f172a;
    --genetiq-assistant-muted: #364151;
    --genetiq-assistant-border: #d1dae5;
    --genetiq-assistant-shadow: 0 22px 55px rgba(15, 23, 42, .2);
    color: var(--genetiq-assistant-ink);
    font-family: Manrope, Arial, Helvetica, sans-serif;
}

#genetiq-assistant-root button,
#genetiq-assistant-root input {
    font: inherit;
}

.genetiq-assistant-launcher {
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    z-index: 99999 !important;
    display: inline-flex !important;
    width: 64px !important;
    height: 64px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--genetiq-assistant-brand), var(--genetiq-assistant-brand-strong)) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 16px 30px rgba(0, 103, 255, .28), 0 6px 18px rgba(15, 23, 42, .2) !important;
    cursor: pointer !important;
    transition: transform .18s ease, box-shadow .18s ease;
}

.genetiq-assistant-launcher::after {
    position: absolute;
    right: 9px;
    top: 9px;
    width: 11px;
    height: 11px;
    content: "";
    background: var(--genetiq-assistant-accent);
    border: 2px solid #ffffff;
    border-radius: 999px;
}

.genetiq-assistant-launcher:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 18px 36px rgba(0, 103, 255, .34), 0 8px 22px rgba(15, 23, 42, .24) !important;
}

.genetiq-assistant-launcher:focus-visible,
.genetiq-assistant-icon-button:focus-visible,
.genetiq-assistant-send:focus-visible,
#genetiq-assistant-input:focus-visible {
    outline: 3px solid rgba(0, 229, 160, .45);
    outline-offset: 3px;
}

.genetiq-assistant-launcher-icon,
.genetiq-assistant-launcher-icon svg {
    display: block;
    width: 34px;
    height: 34px;
}

.genetiq-assistant-launcher-icon svg,
.genetiq-assistant-mark svg,
.genetiq-assistant-icon-button svg,
.genetiq-assistant-send svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.genetiq-assistant-launcher-icon svg {
    stroke-width: 1.75;
}

.genetiq-assistant-panel {
    position: fixed;
    right: 24px;
    bottom: 102px;
    z-index: 99998;
    display: flex;
    width: min(370px, calc(100vw - 32px));
    height: min(560px, calc(100vh - 132px));
    min-height: 420px;
    overflow: hidden;
    flex-direction: column;
    background: var(--genetiq-assistant-surface);
    border: 1px solid rgba(209, 218, 229, .9);
    border-radius: 14px;
    box-shadow: var(--genetiq-assistant-shadow);
}

.genetiq-assistant-hidden {
    display: none !important;
}

.genetiq-assistant-header {
    position: relative;
    display: flex;
    min-height: 72px;
    padding: 14px 14px 14px 16px;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    background: linear-gradient(135deg, var(--genetiq-assistant-header), var(--genetiq-assistant-header-2));
}

.genetiq-assistant-header::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--genetiq-assistant-accent), var(--genetiq-assistant-brand));
}

.genetiq-assistant-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.genetiq-assistant-mark {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    color: var(--genetiq-assistant-accent);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
}

.genetiq-assistant-mark svg {
    width: 23px;
    height: 23px;
    stroke-width: 1.8;
}

.genetiq-assistant-header-text {
    min-width: 0;
}

.genetiq-assistant-header-text strong {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-family: "Plus Jakarta Sans", Manrope, Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.genetiq-assistant-header-text p {
    overflow: hidden;
    margin: 4px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, .74);
    font-size: 11.5px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.genetiq-assistant-icon-button {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    cursor: pointer;
}

.genetiq-assistant-icon-button svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.genetiq-assistant-messages {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding: 14px;
    background: linear-gradient(180deg, var(--genetiq-assistant-page), #ffffff);
}

.genetiq-assistant-message {
    width: fit-content;
    max-width: 86%;
    padding: 10px 12px;
    border-radius: 13px;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.genetiq-assistant-message--bot {
    align-self: flex-start;
    color: var(--genetiq-assistant-ink);
    background: #ffffff;
    border: 1px solid rgba(209, 218, 229, .78);
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}

.genetiq-assistant-message--user {
    align-self: flex-end;
    color: #ffffff;
    background: var(--genetiq-assistant-user);
    border-bottom-right-radius: 4px;
    box-shadow: 0 5px 16px rgba(29, 158, 117, .22);
}

.genetiq-assistant-typing {
    display: flex;
    width: fit-content;
    padding: 11px 13px;
    align-items: center;
    gap: 5px;
    background: #ffffff;
    border: 1px solid rgba(209, 218, 229, .78);
    border-radius: 13px 13px 13px 4px;
}

.genetiq-assistant-dot {
    display: block;
    width: 6px;
    height: 6px;
    background: var(--genetiq-assistant-user);
    border-radius: 999px;
    animation: genetiqAssistantBounce 1.2s infinite;
}

.genetiq-assistant-dot:nth-child(2) {
    animation-delay: .16s;
}

.genetiq-assistant-dot:nth-child(3) {
    animation-delay: .32s;
}

.genetiq-assistant-compose {
    display: flex;
    padding: 12px;
    align-items: center;
    gap: 9px;
    background: #ffffff;
    border-top: 1px solid rgba(209, 218, 229, .78);
}

#genetiq-assistant-input {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 14px;
    color: var(--genetiq-assistant-ink);
    background: #ffffff;
    border: 1px solid rgba(209, 218, 229, .95);
    border-radius: 999px;
    font-size: 13px;
    line-height: 40px;
    outline: none;
}

#genetiq-assistant-input::placeholder {
    color: rgba(54, 65, 81, .68);
}

.genetiq-assistant-send {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--genetiq-assistant-header);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.genetiq-assistant-send svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.9;
}

.genetiq-assistant-send:disabled,
#genetiq-assistant-input:disabled {
    opacity: .62;
    cursor: not-allowed;
}

.genetiq-assistant-note {
    padding: 0 12px 12px;
    color: rgba(54, 65, 81, .7);
    background: #ffffff;
    font-size: 10.5px;
    line-height: 1.35;
    text-align: center;
}

@keyframes genetiqAssistantBounce {
    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .genetiq-assistant-launcher,
    .genetiq-assistant-dot {
        animation: none;
        transition: none;
    }
}

@media (max-width: 480px) {
    .genetiq-assistant-launcher {
        right: 14px !important;
        bottom: 14px !important;
        width: 58px !important;
        height: 58px !important;
    }

    .genetiq-assistant-launcher-icon,
    .genetiq-assistant-launcher-icon svg {
        width: 31px;
        height: 31px;
    }

    .genetiq-assistant-panel {
        right: 10px;
        bottom: 82px;
        width: calc(100vw - 20px);
        height: min(560px, calc(100vh - 102px));
        min-height: 380px;
    }

    .genetiq-assistant-message {
        max-width: 90%;
    }
}
