.air-chatbot{position:fixed;right:22px;bottom:22px;z-index:999999;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.air-chatbot-toggle{width:58px;height:58px;border:0;border-radius:50%;background:#111827;color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.22);cursor:pointer;font-weight:800}.air-chatbot-toggle-icon{font-size:16px;letter-spacing:.5px}.air-chatbot-panel{position:absolute;right:0;bottom:72px;width:min(380px,calc(100vw - 28px));height:min(560px,calc(100vh - 120px));background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.2);overflow:hidden;display:flex;flex-direction:column}.air-chatbot-panel[hidden]{display:none}.air-chatbot-header{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;background:#111827;color:#fff}.air-chatbot-header strong{display:block;font-size:15px}.air-chatbot-header span{display:block;font-size:11px;opacity:.72;margin-top:2px}.air-chatbot-close{border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer}.air-chatbot-messages{flex:1;overflow:auto;padding:16px;background:#f8fafc}.air-chatbot-message{display:flex;margin:0 0 12px}.air-chatbot-message-user{justify-content:flex-end}.air-chatbot-bubble{max-width:82%;padding:11px 13px;border-radius:14px;background:#fff;border:1px solid #e5e7eb;font-size:14px;line-height:1.45;color:#111827}.air-chatbot-message-user .air-chatbot-bubble{background:#111827;color:#fff;border-color:#111827}.air-chatbot-form{display:flex;gap:8px;padding:12px;border-top:1px solid #e5e7eb;background:#fff}.air-chatbot-form textarea{flex:1;resize:none;max-height:110px;border:1px solid #d1d5db;border-radius:12px;padding:10px 12px;font:inherit;font-size:14px;outline:none}.air-chatbot-form textarea:focus{border-color:#6b7280}.air-chatbot-form button{border:0;border-radius:12px;padding:0 15px;background:#111827;color:#fff;font-weight:700;cursor:pointer}.air-chatbot-form button:disabled{opacity:.55;cursor:not-allowed}.air-chatbot-footnote{padding:0 14px 11px;text-align:center;color:#6b7280;font-size:10px;background:#fff}@media(max-width:600px){.air-chatbot{right:14px;bottom:14px}.air-chatbot-panel{position:fixed;inset:14px;width:auto;height:auto;bottom:14px}.air-chatbot-toggle{width:54px;height:54px}}

.air-chatbot-form textarea::placeholder{color:#fff;opacity:1}.air-chatbot-form textarea::-webkit-input-placeholder{color:#fff;opacity:1}.air-chatbot-form textarea{color:#fff}.air-chatbot-form button{color:#fff}

/* v0.2.1: Force readable white form text against theme overrides. */
#air-chatbot #air-chatbot-send,
#air-chatbot .air-chatbot-form #air-chatbot-send {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
#air-chatbot #air-chatbot-input,
#air-chatbot #air-chatbot-input::placeholder {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}

/* v0.3.0 - Bot navigation action buttons */
#air-chatbot .air-chatbot-message-content {
    max-width: 88%;
}
#air-chatbot .air-chatbot-message-content .air-chatbot-bubble {
    max-width: 100%;
}
#air-chatbot .air-chatbot-message-user .air-chatbot-message-content {
    display: flex;
    justify-content: flex-end;
}
#air-chatbot .air-chatbot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
#air-chatbot .air-chatbot-action-button,
#air-chatbot .air-chatbot-action-button:link,
#air-chatbot .air-chatbot-action-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 13px;
    border: 0;
    border-radius: 10px;
    background: #ff4f1f;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: none;
    transition: transform .15s ease, filter .15s ease;
}
#air-chatbot .air-chatbot-action-button:hover,
#air-chatbot .air-chatbot-action-button:focus {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-decoration: none !important;
    filter: brightness(.95);
    transform: translateY(-1px);
}

/* v0.3.3 - Interactive dummy chart selector and inline demo charts */
#air-chatbot button.air-chatbot-action-button {
    font-family: inherit;
    cursor: pointer;
}
#air-chatbot .air-chatbot-chart-card {
    margin-top: 9px;
    padding: 10px 10px 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}
#air-chatbot .air-chatbot-chart-title {
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    margin: 0 0 4px;
}
#air-chatbot .air-chatbot-chart-card svg { display:block; width:100%; height:auto; }
#air-chatbot .air-chart-mark { fill:#00a596; }
#air-chatbot .air-chart-line { stroke:#ff4f1f; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; }
#air-chatbot .air-chart-label,
#air-chatbot .air-chart-value,
#air-chatbot .air-chart-legend { fill:#374151; font-size:10px; font-family:inherit; }
#air-chatbot .air-chart-value { font-weight:700; }
#air-chatbot .air-chart-slice-0 { fill:#00a596; }
#air-chatbot .air-chart-slice-1 { fill:#ff4f1f; }
#air-chatbot .air-chart-slice-2 { fill:#111827; }
#air-chatbot .air-chart-slice-3 { fill:#94a3b8; }
#air-chatbot .air-chart-hole { fill:#ffffff; }
#air-chatbot .air-chatbot-chart-note { color:#6b7280; font-size:9px; text-align:center; margin-top:2px; }

/* v0.3.4 - EXAMPLE Area and Combo charts */
#air-chatbot .air-chart-area { fill: rgba(0,165,150,.20); }
#air-chatbot .air-chart-combo-point { fill:#ff4f1f; }
#air-chatbot .air-chart-combo-value { fill:#ff4f1f; font-size:9px; font-weight:800; font-family:inherit; }

/* Preserve intentional chatbot response line breaks (e.g. bullet lists). */
.air-chatbot-message-bot .air-chatbot-bubble {
    white-space: pre-line;
}

/* Chatbot / Assistant Send button standard */
#air-chatbot #air-chatbot-send {
    color: #ffffff !important;
    font-weight: 700 !important;
}


/* v0.5.8 — responsive chart fitting for FREE + PRO chatbot */
.air-chatbot-chart,
.air-chart-card,
.air-chatbot-chart-card,
.air-chatbot .chart-card,
.air-chatbot .chart-wrap,
#air-chatbot .chart-card,
#air-chatbot .chart-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.air-chatbot-chart svg,
.air-chart-card svg,
.air-chatbot-chart-card svg,
.air-chatbot .chart-card svg,
.air-chatbot .chart-wrap svg,
#air-chatbot .chart-card svg,
#air-chatbot .chart-wrap svg {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
}

@media (max-width: 420px) {
    .air-chatbot-chart,
    .air-chart-card,
    .air-chatbot-chart-card,
    .air-chatbot .chart-card,
    .air-chatbot .chart-wrap,
    #air-chatbot .chart-card,
    #air-chatbot .chart-wrap {
        padding-left: 8px;
        padding-right: 8px;
    }

    .air-chatbot-chart svg text,
    .air-chart-card svg text,
    .air-chatbot-chart-card svg text,
    .air-chatbot .chart-card svg text,
    .air-chatbot .chart-wrap svg text,
    #air-chatbot .chart-card svg text,
    #air-chatbot .chart-wrap svg text {
        font-size: 9px;
    }
}


/* v0.5.9 — keep 5–6 datapoint charts fully inside the chat card */
.air-chatbot-chart-card svg.air-chart-dense .air-chart-label {
    font-size: 8px;
}
.air-chatbot-chart-card svg.air-chart-dense .air-chart-value,
.air-chatbot-chart-card svg.air-chart-dense .air-chart-combo-value {
    font-size: 8px;
}
.air-chatbot-chart-card svg.air-chart-dense .air-chart-legend {
    font-size: 8px;
}
