.ftf-chatbot {
    --ftf-accent: var(--ftf-custom-accent);
    --ftf-accent-text: var(--ftf-custom-accent-text);
    --ftf-header: var(--ftf-custom-header);
    --ftf-header-text: var(--ftf-custom-header-text);
    --ftf-launcher-border: var(--ftf-accent);
    --ftf-button-radius: 4px;
    --ftf-launcher-size: 72px;
    --ftf-panel-width: 26rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #101443;
}
.ftf-chatbot[data-style-preset="ftf"] {
    --ftf-accent: #dc2828;
    --ftf-accent-text: #fff;
    --ftf-header: #2c2e80;
    --ftf-header-text: #fff;
    --ftf-launcher-border: #ff3333;
}
.ftf-chatbot[data-font-style="theme"] {
    font-family: var(--pix-body-font, inherit);
}
.ftf-chatbot[data-font-style="manrope"] {
    font-family: Manrope, system-ui, sans-serif;
}
.ftf-chatbot[data-font-style="system"] {
    font-family: system-ui, sans-serif;
}
.ftf-chatbot[data-button-shape="rounded"] { --ftf-button-radius: 0.625rem; }
.ftf-chatbot[data-button-shape="pill"] { --ftf-button-radius: 999px; }
.ftf-chatbot[data-launcher-size="compact"] { --ftf-launcher-size: 62px; }
.ftf-chatbot[data-launcher-size="large"] { --ftf-launcher-size: 83px; }
.ftf-chatbot[data-panel-width="compact"] { --ftf-panel-width: 22rem; }
.ftf-chatbot[data-panel-width="wide"] { --ftf-panel-width: 30rem; }
.ftf-chatbot--left,
.ftf-chatbot--right {
    position: fixed;
    bottom: max(30px, env(safe-area-inset-bottom));
    z-index: 100000;
    display: grid;
    gap: 0.5rem;
    max-width: calc(100vw - 60px);
}
.ftf-chatbot--right {
    right: 30px;
    justify-items: end;
}
.ftf-chatbot--left {
    left: 30px;
    justify-items: start;
}
.ftf-chatbot-panel {
    width: min(100%, var(--ftf-panel-width));
    background: #fff;
    border: 1px solid #c9d1d9;
    border-radius: 0.85rem;
    overflow: hidden;
    box-sizing: border-box;
}
.ftf-chatbot--left .ftf-chatbot-panel,
.ftf-chatbot--right .ftf-chatbot-panel {
    width: min(calc(100vw - 60px), var(--ftf-panel-width));
    display: flex;
    flex-direction: column;
    height: min(45rem, calc(100dvh - var(--ftf-launcher-size) - max(30px, env(safe-area-inset-bottom)) - 1.5rem - var(--wp-admin--admin-bar--height, 0px)));
    overflow: hidden;
    grid-row: 1;
    box-shadow: 0 0.5rem 2rem #17202a26;
}
.ftf-chatbot [hidden] {
    display: none !important;
}
.ftf-chatbot button {
    background: var(--ftf-accent);
    color: var(--ftf-accent-text);
}
.ftf-chatbot-header span {
    display: block;
    font-size: 0.85rem;
}
.ftf-chatbot button {
    border: 1px solid transparent;
    border-radius: var(--ftf-button-radius);
    padding: 0.5rem 0.85rem;
    font: inherit;
    font-weight: 700;
    box-shadow: 0 1px 5px #0000001a;
    cursor: pointer;
}
.ftf-chatbot button:disabled {
    opacity: 0.65;
    cursor: wait;
}
.ftf-chatbot :focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
.ftf-chatbot .ftf-chatbot-close {
    margin-inline-start: auto;
    padding: 0.1rem 0.5rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    font-size: 1.5rem;
    line-height: 1;
}
.ftf-chatbot-conversation,
.ftf-chatbot-form,
.ftf-chatbot-links {
    margin: 0;
    padding: 0.65rem 1rem;
    overflow-wrap: anywhere;
}
.ftf-chatbot-welcome,
.ftf-chatbot-messages p {
    white-space: pre-wrap;
}
.ftf-chatbot-conversation {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}
.ftf-chatbot--inline .ftf-chatbot-conversation {
    max-height: min(18rem, 42dvh);
}
.ftf-chatbot-messages p {
    margin: 0 0 0.5rem;
}
.ftf-chatbot-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}
.ftf-chatbot-form label {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}
.ftf-chatbot-header,
.ftf-chatbot-form,
.ftf-chatbot-links {
    flex-shrink: 0;
}
.ftf-chatbot-form button {
    flex: none;
    margin: 0;
}
.ftf-chatbot-form input {
    display: block;
    width: 100%;
    margin: 0;
    min-width: 0;
    border: 1px solid #657384;
    border-radius: 0.5rem;
    background: #fff;
    color: #101443;
    padding: 0.5rem;
    box-sizing: border-box;
    font: inherit;
}
.ftf-chatbot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
}
.ftf-chatbot a {
    color: #173b65;
    text-decoration: underline;
}

.ftf-chatbot-header {
    background: var(--ftf-header);
    color: var(--ftf-header-text);
    display: grid;
    justify-items: start;
    gap: 0.55rem;
    position: relative;
    padding: 1.1rem 3.5rem 1.1rem 1rem;
}
.ftf-chatbot-header strong {
    font-size: 1.35rem;
    line-height: 1.25;
}
.ftf-chatbot-header img {
    width: auto;
    height: auto;
    max-width: 9.5rem;
    max-height: 2.75rem;
}
.ftf-chatbot .ftf-chatbot-close {
    background: transparent;
    color: inherit;
    border-color: transparent;
    position: absolute;
    inset-inline-end: 0.75rem;
    inset-block-start: 0.75rem;
}
.ftf-chatbot-message {
    margin: 0 0 0.5rem;
    background: #f2f4fa;
    border-radius: 0.7rem;
    padding: 0.6rem 0.8rem;
    width: fit-content;
    max-width: 88%;
}
.ftf-chatbot-message--visitor {
    margin-inline-start: auto !important;
    background: #e9edf9;
}
.ftf-chatbot-links {
    display: block;
    border-top: 1px solid #e1e4ef;
}
.ftf-chatbot .ftf-chatbot-contact-link {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    color: #101443;
    text-decoration: none;
    min-height: 2.75rem;
}
.ftf-chatbot-contact-link:hover strong {
    text-decoration: underline;
}
.ftf-chatbot-contact-link small {
    display: block;
    font-size: 0.83rem;
}
.ftf-chatbot-contact-link + a {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
}
.ftf-chatbot .ftf-chatbot-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    border-radius: var(--ftf-button-radius);
    background: #fff;
    color: #175cd3;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    font-weight: 700;
    box-shadow: 0 1px 5px #0000001a;
}
.ftf-chatbot .ftf-chatbot-contact-button:hover {
    text-decoration: underline;
}
.ftf-chatbot-message .ftf-chatbot-contact-button {
    display: table;
    margin-top: 0.5rem;
}
.ftf-chatbot-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.ftf-chatbot-admin {
    max-width: 1180px;
}
.ftf-chatbot-admin-heading {
    background: #2c2e80;
    color: #fff;
    border-inline-start: 4px solid #ff3333;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-block: 1rem;
}
.ftf-chatbot-admin-heading h1 {
    color: #fff;
}
.ftf-chatbot-admin-heading span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.ftf-chatbot-admin-heading p {
    margin: 0.3rem 0 0;
}
.ftf-chatbot-admin-grid {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1.2fr) minmax(0, 0.9fr);
    align-items: start;
    margin-top: 1rem;
    border: 1px solid #e1e4ef;
    background: #fff;
    border-radius: 0.75rem;
}
.ftf-chatbot-admin-nav {
    align-self: stretch;
    padding: 1rem 0.4rem;
    background: #f6f7fb;
    border-inline-end: 1px solid #e1e4ef;
    border-radius: 0.75rem 0 0 0.75rem;
}
.ftf-chatbot-admin-nav a {
    display: block;
    padding: 0.65rem 0.75rem;
    color: #101443;
    text-decoration: none;
    border-inline-start: 3px solid transparent;
}
.ftf-chatbot-admin-nav a:hover,
.ftf-chatbot-admin-nav a[aria-current="page"] {
    background: #e9edf9;
    border-inline-start-color: #2271b1;
}
.ftf-chatbot-admin-preview,
.ftf-chatbot-admin-form {
    min-width: 0;
    padding: 1.5rem;
}
.ftf-chatbot-admin-preview {
    border-inline-start: 1px solid #e1e4ef;
    margin-block: 1.5rem;
    padding-block: 0;
}
.ftf-chatbot-admin-preview h2,
.ftf-chatbot-admin-form h2 {
    margin-top: 0;
    color: #101443;
}
.ftf-chatbot-admin-form .form-table :is(th, td) {
    display: block;
    width: auto;
    padding: 0;
}
.ftf-chatbot-admin-form .form-table th {
    margin-top: 1rem;
    margin-bottom: 0.3rem;
}
.ftf-chatbot-admin-form .regular-text {
    width: 100%;
}
.ftf-chatbot-admin-preview .ftf-chatbot {
    margin-top: 1rem;
}
.ftf-chatbot-admin-form .button-primary {
    background: #dc2828;
    border-color: #dc2828;
}
.ftf-chatbot-admin-form .button-primary:hover {
    background: #be2020;
    border-color: #be2020;
}
@media (max-width: 1100px) {
    .ftf-chatbot-admin-grid {
        grid-template-columns: 8rem minmax(0, 1fr);
    }
    .ftf-chatbot-admin-nav {
        grid-row: span 2;
    }
    .ftf-chatbot-admin-preview {
        border-inline-start: 0;
        border-top: 1px solid #e1e4ef;
        margin: 0;
        padding: 1.5rem;
    }
}
@media (max-width: 600px) {
    .ftf-chatbot-admin-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .ftf-chatbot-admin-nav {
        grid-row: auto;
        display: flex;
        flex-wrap: wrap;
        border-inline-end: 0;
        border-bottom: 1px solid #e1e4ef;
    }
}

.ftf-chatbot .ftf-chatbot-launcher {
    display: grid;
    place-items: center;
    width: var(--ftf-launcher-size);
    height: var(--ftf-launcher-size);
    padding: 0;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 0.3rem 1rem #10144333;
}
.ftf-chatbot .ftf-chatbot-launcher:hover {
    box-shadow: 0 0.35rem 1.2rem #10144359;
}
.ftf-chatbot-launcher .dashicons {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
}
.ftf-chatbot-conversation {
    padding-block-start: 1.25rem;
}
.ftf-chatbot-assistant-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.ftf-chatbot-avatar {
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--ftf-header);
    object-fit: contain;
}
.ftf-chatbot-avatar--ftf {
    object-fit: cover;
    object-position: left;
}
.ftf-chatbot-assistant-row .ftf-chatbot-message {
    min-width: 0;
    max-width: 100%;
    background: #ebedf8;
}
.ftf-chatbot-form {
    padding-block: 0.85rem;
}
.ftf-chatbot-form input,
.ftf-chatbot-form button {
    min-height: 2.75rem;
}
.ftf-chatbot-contact-link .dashicons:first-child {
    width: 100%;
    height: auto;
    padding-block: 0.4rem;
    border-inline-end: 1px solid #e1e4ef;
    text-align: start;
}
.ftf-chatbot-admin-heading h1 {
    font-size: 1.65rem;
    font-weight: 650;
}
.ftf-chatbot-admin-more {
    margin-top: 1rem;
}
.ftf-chatbot-admin-more summary {
    cursor: pointer;
    color: #173b65;
}
.ftf-chatbot-contact-preview .ftf-chatbot-contact-button {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.ftf-chatbot .ftf-chatbot-launcher--mascot,
.ftf-chatbot .ftf-chatbot-launcher--mascot:hover {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #101443;
}
.ftf-chatbot-launcher--mascot img {
    filter: drop-shadow(0 3px 3px #10103640) drop-shadow(0 0 2px #ffffffd9);
    display: block;
    width: var(--ftf-launcher-size);
    height: var(--ftf-launcher-size);
    object-fit: contain;
}
.ftf-chatbot-avatar:not(.ftf-chatbot-avatar--ftf) {
    background: #fff;
}
.ftf-chatbot-media {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.ftf-chatbot-media img {
    max-width: 9rem;
    max-height: 3rem;
    object-fit: contain;
}
.ftf-chatbot-connection {
    grid-column: 2 / -1;
}
.ftf-chatbot-connection label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.ftf-chatbot-connection .regular-text {
    max-width: 32rem;
}
.ftf-chatbot-connection .description {
    display: block;
    margin-top: 0.25rem;
}
@media (max-width: 600px) {
    .ftf-chatbot-connection {
        grid-column: 1;
    }
}

.ftf-chatbot .ftf-chatbot-close { box-shadow: none; }
.ftf-chatbot[data-style-preset="ftf"] .ftf-chatbot-form button:enabled:hover {
    background: #be2020;
    color: #fff;
}
.ftf-chatbot--style-preview {
    display: grid;
    gap: 0.75rem;
}
.ftf-chatbot--style-preview .ftf-chatbot-launcher {
    grid-row: 2;
    justify-self: end;
}
.ftf-chatbot--style-preview button:disabled {
    opacity: 1;
    cursor: default;
}

/* Echo the site's 30px back-to-top spacing; invite attention while closed. */
.ftf-chatbot .ftf-chatbot-launcher { position: relative; }
.ftf-chatbot .ftf-chatbot-launcher::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 1px solid #8fbdff;
    box-shadow: 0 0 9px #8fbdff80, inset 0 0 5px #8fbdff40;
    background: transparent;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}
.ftf-chatbot--left .ftf-chatbot-launcher[aria-expanded="false"]::after,
.ftf-chatbot--right .ftf-chatbot-launcher[aria-expanded="false"]::after {
    animation: ftf-chatbot-launcher-pulse 3s ease-out infinite;
}
@keyframes ftf-chatbot-launcher-pulse {
    0%, 15% { transform: scale(1); opacity: 0; }
    25% { opacity: 0.65; }
    70%, 100% { transform: scale(1.2); opacity: 0; }
}
.ftf-chatbot .ftf-chatbot-launcher--mascot::after { display: none; }
.ftf-chatbot .ftf-chatbot-launcher--mascot:focus { outline: none; }
.ftf-chatbot .ftf-chatbot-launcher--mascot[aria-expanded]:focus-visible img { animation: none; filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 4px #101036) drop-shadow(0 0 8px #31318a); }

.ftf-chatbot .ftf-chatbot-launcher--mascot[aria-expanded="false"] img { animation: ftf-chatbot-mascot-glow 2.2s ease-in-out infinite, ftf-chatbot-mascot-bounce 4.4s ease-in-out infinite; }
@keyframes ftf-chatbot-mascot-bounce {
    0%, 65%, 100% { transform: translateY(0); }
    74% { transform: translateY(-8px); }
    81% { transform: translateY(0); }
    87% { transform: translateY(-3px); }
    93% { transform: translateY(0); }
}
@keyframes ftf-chatbot-mascot-glow {
    0%, 100% { filter: drop-shadow(0 3px 3px #10103640) drop-shadow(0 0 2px #ffffffd9) drop-shadow(0 0 3px #31318a55); }
    50% { filter: drop-shadow(0 3px 3px #10103640) drop-shadow(0 0 3px #ffffffd9) drop-shadow(0 0 12px #31318a); }
}
@media (prefers-reduced-motion: reduce) {
    .ftf-chatbot .ftf-chatbot-launcher[aria-expanded]::after,
    .ftf-chatbot .ftf-chatbot-launcher--mascot[aria-expanded] img { animation: none; }
}

/* Selected Lumi Midnight design; light/custom palettes remain available. */
@font-face { font-family: FTFManrope; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/manrope-400.woff2') format('woff2'); }
@font-face { font-family: FTFManrope; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/manrope-500.woff2') format('woff2'); }
@font-face { font-family: FTFManrope; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/manrope-700.woff2') format('woff2'); }
@font-face { font-family: FTFManrope; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/manrope-800.woff2') format('woff2'); }
.ftf-chatbot .ftf-chatbot-intro,
.ftf-chatbot .ftf-chatbot-suggestions,
.ftf-chatbot .ftf-chatbot-header-mascot,
.ftf-chatbot .ftf-chatbot-speaker,
.ftf-chatbot .ftf-chatbot-close-icon,
.ftf-chatbot .ftf-chatbot-send-icon,
.ftf-chatbot .ftf-chatbot-contact-arrow { display: none; }
.ftf-chatbot-answer { min-width: 0; }
.ftf-chatbot[data-style-preset="midnight"] {
    --ftf-accent: #ff565f;
    --ftf-accent-text: #101036;
    --ftf-header: #101036;
    --ftf-header-text: #f8f7ff;
    --ftf-launcher-border: #ff565f;
    color: #f8f7ff;
    font: 400 16px/1.5 FTFManrope, system-ui, sans-serif;
}
.ftf-chatbot[data-style-preset="midnight"][data-panel-width="standard"] { --ftf-panel-width: 420px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-panel {
    background: #101036;
    border-color: #211e47;
    border-radius: 20px;
    color: #f8f7ff;
}
.ftf-chatbot[data-style-preset="midnight"]:is(.ftf-chatbot--left,.ftf-chatbot--right) .ftf-chatbot-panel {
    height: min(640px, calc(100dvh - var(--ftf-launcher-size) - max(30px, env(safe-area-inset-bottom)) - 1.5rem - var(--wp-admin--admin-bar--height, 0px)));
}
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 104px 10px 24px;
    border-bottom: 1px solid #34315c;
}
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-header-mascot { display: block; flex: none; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-header .ftf-chatbot-avatar { display: block; width: 38px; height: 38px; max-width: none; max-height: none; background: #fff; padding: 3px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-header > div { min-width: 0; border-inline-start: 2px solid #ff565f; padding-inline-start: 14px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-header strong { font-size: 22px; font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-header > div > span { margin-top: 3px; font-size: 13px; font-weight: 500; line-height: 1.5; color: #bdb6e8; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-close { display: grid; place-items: center; top: 10px; right: 10px; padding: 0; width: 44px; height: 44px; min-height: 44px; border-radius: 9px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-close:hover { background: #27244e; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-close-icon { display: block; width: 24px; height: 24px; }
.ftf-chatbot[data-style-preset="midnight"] :is(.ftf-chatbot-brand-logo,.ftf-chatbot-close-text) { display: none; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-conversation { padding: 24px 28px 20px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #524b7a transparent; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-intro { display: block; margin-bottom: 26px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-intro > p { display: flex; align-items: center; gap: 12px; color: #bdb6e8; margin: 0 0 12px; font: 500 13px/1.5 FTFManrope,system-ui,sans-serif; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-intro > p::before { content: ''; width: 26px; height: 3px; flex: none; border-radius: 2px; background: #ff565f; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-intro > h2 { margin: 0; color: #f8f7ff; font: 800 35px/1.12 FTFManrope,system-ui,sans-serif; letter-spacing: -1.4px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-intro h2 span { color: #ff565f; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-assistant-row { gap: 13px; margin-bottom: 18px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-assistant-row > .ftf-chatbot-avatar { width: 36px; height: 36px; background: #fff; padding: 3px; margin-top: 1px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-answer { flex: 1; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-speaker { display: block; margin: 0 0 4px; font-size: 14px; font-weight: 800; line-height: 1.5; color: #f8f7ff; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-message { background: transparent; color: #f8f7ff; border: 0; border-radius: 0; padding: 0; max-width: 100%; width: auto; margin: 0; font: 500 18px/1.35 FTFManrope,system-ui,sans-serif; letter-spacing: -0.2px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-messages > .ftf-chatbot-message--visitor { width: fit-content; max-width: 80%; margin: 0 0 18px auto; padding: 11px 18px; background: #38325f; border-radius: 18px; font-size: 17px; font-weight: 400; line-height: 1.4; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-suggestions { display: flex; flex-wrap: wrap; margin: 16px 0 0 46px; gap: 8px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-suggestions button { padding: 9px 14px; min-height: 40px; background: transparent; color: #f4f1ff; border: 1px solid #8e84b7; border-radius: 999px; font: 500 13px/1.3 FTFManrope,system-ui,sans-serif; box-shadow: none; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-suggestions button:hover { background: #30294f; border-color: #c8bfed; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-form { flex-wrap: nowrap; align-items: center; margin: 12px 16px 0; padding: 8px 10px 8px 17px; border: 1px solid #8476aa; background: #19163f; border-radius: 21px; gap: 12px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-form:focus-within { border-color: #d4c9f9; box-shadow: 0 0 0 2px #c5b4ff20; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-form input { min-height: 40px; padding: 0; border: 0; border-radius: 0; outline: none; background: transparent; color: #fff; font: 400 15px/1.6 FTFManrope,system-ui,sans-serif; box-shadow: none; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-form input::placeholder { color: #bdb6e8; opacity: 1; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-form button { display: grid; place-items: center; width: 40px; height: 40px; min-height: 40px; padding: 0; border: 0; border-radius: 50%; background: #ff565f; box-shadow: none; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-form button:hover:enabled { background: #ff7079; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-send-icon { display: block; width: 24px; height: 24px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-send-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-links { padding: 10px 21px 20px; border: 0; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-contact-link { display: inline-flex; gap: 5px; min-height: 24px; color: #bdb6e8; font: 400 13px/1.5 FTFManrope,system-ui,sans-serif; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-contact-link strong { font: inherit; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-contact-link :is(.dashicons,small) { display: none; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-contact-arrow { display: block; width: 15px; height: 15px; opacity: 0.75; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-contact-link:hover { color: #b9d5ff; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-message a { color: #8fbdff; font-size: 14px; text-decoration: underline !important; text-underline-offset: 3px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-message .ftf-chatbot-contact-button { background: #fff; color: #175cd3; padding: 8px 12px; font-weight: 700; border-radius: 10px; box-shadow: none; text-decoration: underline !important; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-links > a { color: #8fbdff; background: transparent; text-decoration: underline !important; text-underline-offset: 3px; }
.ftf-chatbot[data-style-preset="midnight"] :focus-visible { outline-color: #ff8890; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-form input:focus-visible { outline: none; }
@media (max-width: 480px) {
    .ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-header { padding-inline-start: 18px; gap: 12px; }
    .ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-conversation { padding: 24px 20px 18px; }
    .ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-intro > h2 { font-size: 30px; letter-spacing: -1.2px; }
    .ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-form { margin-inline: 12px; padding-inline-start: 12px; gap: 8px; }
    .ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-header > div > span { font-size: 12px; }
}
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-intro > h2 { max-width: 320px; }
@media (max-height: 720px) {
    .ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-conversation { padding: 18px 24px 14px; }
    .ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-intro { margin-bottom: 16px; }
    .ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-intro > h2 { max-width: 280px; font-size: 30px; }
    .ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-intro > p { margin-bottom: 9px; }
    .ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-message { font-size: 16px; line-height: 1.4; }
    .ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-assistant-row { margin-bottom: 12px; }
    .ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-suggestions { margin-top: 12px; }
    .ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-suggestions button { min-height: 36px; padding: 7px 12px; }
}
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-message > a:not(.ftf-chatbot-contact-button) { display: inline-block; margin: 10px 12px 0 0; padding-inline-end: 19px; background: url('assets/arrow-up-right.svg') right center / 14px 14px no-repeat; font-size: 13px; text-underline-offset: 4px; }
.ftf-chatbot .ftf-chatbot-typing-dots { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 3px 0; color: inherit; }
.ftf-chatbot .ftf-chatbot-typing-dots > span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.4; animation: ftf-chatbot-typing 1.2s ease-in-out infinite; }
.ftf-chatbot .ftf-chatbot-typing-dots > span:nth-child(2) { animation-delay: 0.15s; }
.ftf-chatbot .ftf-chatbot-typing-dots > span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ftf-chatbot-typing { 0%, 60%, 100% { opacity: 0.4; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .ftf-chatbot .ftf-chatbot-typing-dots > span { animation: none; opacity: 0.65; } }

.ftf-chatbot-session-tools { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 22px 12px; font-size:12px; }
.ftf-chatbot-session-status { flex:1; min-width:0; }
.ftf-chatbot .ftf-chatbot-new { position:absolute; top:10px; right:54px; display:grid; place-items:center; width:44px; height:44px; border:0; padding:0; min-height:44px; border-radius:9px; background:transparent; color:inherit; cursor:pointer; font:inherit; box-shadow:none; }
.ftf-chatbot .ftf-chatbot-new:hover:enabled { background:#ffffff18; color:inherit; }
.ftf-chatbot-new svg { display:block; }
.ftf-chatbot .ftf-chatbot-new-tooltip { display:none; position:absolute; top:calc(100% + 6px); right:0; z-index:2; width:max-content; margin:0; padding:6px 9px; border-radius:6px; background:#fff; color:#101036; font:500 12px/1.4 system-ui,sans-serif; pointer-events:none; }
.ftf-chatbot-new:is(:hover,:focus-visible) .ftf-chatbot-new-tooltip { display:block; }
.ftf-chatbot-session-tools:has(.ftf-chatbot-session-status:empty) { display:none; }
.ftf-chatbot-new:disabled { opacity:.5; cursor:wait; }
.ftf-chatbot-new:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.ftf-chatbot[data-style-preset="midnight"] .ftf-chatbot-session-tools { color:#bbb6d8; background:#121033; }
.ftf-chatbot-review { max-width:1400px; }
.ftf-chatbot-review-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; margin:20px 0; }
.ftf-chatbot-review-stats>div { background:#fff; border:1px solid #dce0e8; border-radius:10px; padding:18px; display:flex; flex-direction:column; gap:8px; }
.ftf-chatbot-review-stats strong { color:#1a164a; font-size:24px; }
.ftf-chatbot-review-filters { display:flex; align-items:end; flex-wrap:wrap; gap:12px; margin:20px 0; }
.ftf-chatbot-review-filters label { display:flex; flex-direction:column; gap:5px; }
.ftf-chatbot-review-transcript { max-width:960px; }
.ftf-chatbot-review-transcript article { padding:20px; margin:14px 0; border:1px solid #dce0e8; border-radius:10px; background:#fff; }
.ftf-chatbot-review-text,.ftf-chatbot-review-transcript pre { white-space:pre-wrap; overflow-wrap:anywhere; }
@media(max-width:480px) { .ftf-chatbot-session-tools { flex-wrap:wrap; padding-inline:16px; } .ftf-chatbot-session-status { flex-basis:100%; } .ftf-chatbot-review textarea { width:100%; } }
