.cxpert-ai { position: fixed; right: 24px; bottom: 24px; z-index: 99999; font-family: inherit; }
.cxpert-ai__launcher { border: 0; border-radius: 999px; padding: 14px 20px; background: #0b1f3a; color: #fff; font-weight: 700; box-shadow: 0 12px 32px rgba(0,0,0,.22); cursor: pointer; }
.cxpert-ai__panel { display: none; width: min(410px, calc(100vw - 32px)); height: min(660px, calc(100vh - 110px)); background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.cxpert-ai.is-open .cxpert-ai__panel { display: flex; flex-direction: column; }
.cxpert-ai.is-open .cxpert-ai__launcher { display: none; }
.cxpert-ai__header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: #0b1f3a; color: #fff; }
.cxpert-ai__header strong, .cxpert-ai__header span { display: block; }
.cxpert-ai__header span { opacity: .78; font-size: 12px; margin-top: 2px; }
.cxpert-ai__close { border: 0; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.cxpert-ai__messages { flex: 1; overflow-y: auto; padding: 18px; background: #f6f8fb; }
.cxpert-ai__message { max-width: 84%; margin: 0 0 12px; padding: 11px 13px; border-radius: 14px; line-height: 1.45; white-space: pre-wrap; }
.cxpert-ai__message--assistant { background: #fff; border: 1px solid #e3e8ef; color: #172033; border-bottom-left-radius: 4px; }
.cxpert-ai__message--user { margin-left: auto; background: #0b1f3a; color: #fff; border-bottom-right-radius: 4px; }
.cxpert-ai__inline-link { color: #0b4fa3; font-weight: 700; text-decoration: underline; overflow-wrap: anywhere; }
.cxpert-ai__message-action { margin-top: 12px; white-space: normal; }
.cxpert-ai__action-link { display: inline-block; border-radius: 9px; padding: 9px 12px; background: #0b1f3a; color: #fff !important; font-weight: 800; text-decoration: none !important; }
.cxpert-ai__action-link:hover, .cxpert-ai__action-link:focus { background: #17365f; color: #fff; }
.cxpert-ai__thinking { opacity: .7; }
.cxpert-ai__quick-start, .cxpert-ai__capture-card { margin: 0 0 14px; padding: 14px; background: #fff; border: 1px solid #dfe6ef; border-radius: 14px; color: #172033; box-shadow: 0 6px 18px rgba(11,31,58,.05); }
.cxpert-ai__quick-start strong, .cxpert-ai__capture-card > strong { display: block; color: #0b1f3a; font-size: 15px; }
.cxpert-ai__quick-start p, .cxpert-ai__capture-card p { margin: 6px 0 12px; color: #586477; font-size: 12px; line-height: 1.45; }
.cxpert-ai__quick-buttons { display: grid; gap: 8px; }
.cxpert-ai__quick-buttons button { width: 100%; border: 1px solid #b9c6d7; border-radius: 10px; padding: 10px 12px; background: #fff; color: #0b1f3a; text-align: left; font: inherit; font-weight: 700; cursor: pointer; }
.cxpert-ai__quick-buttons button:hover, .cxpert-ai__quick-buttons button:focus { border-color: #0b1f3a; background: #f2f6fb; }
.cxpert-ai__capture-form { display: grid; gap: 10px; }
.cxpert-ai__capture-field { display: grid; gap: 5px; font-size: 11px; font-weight: 700; color: #354154; }
.cxpert-ai__capture-field input { width: 100%; box-sizing: border-box; border: 1px solid #cfd7e3; border-radius: 9px; padding: 9px 10px; font: inherit; color: #172033; background: #fff; }
.cxpert-ai__capture-field input:focus { outline: 2px solid rgba(11,31,58,.12); border-color: #0b1f3a; }
.cxpert-ai__capture-consent { display: flex; align-items: flex-start; gap: 8px; color: #667085; font-size: 10px; line-height: 1.4; }
.cxpert-ai__capture-consent input { margin-top: 2px; }
.cxpert-ai__capture-consent a { color: #0b1f3a; font-weight: 700; }
.cxpert-ai__capture-submit { border: 0; border-radius: 10px; padding: 11px 14px; background: #0b1f3a; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.cxpert-ai__capture-submit:disabled { opacity: .55; cursor: wait; }
.cxpert-ai__capture-status { min-height: 14px; color: #7a3140; font-size: 10px; }
.cxpert-ai__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #e3e8ef; background: #fff; }
.cxpert-ai__form textarea { flex: 1; resize: none; border: 1px solid #cfd7e3; border-radius: 10px; padding: 10px; font: inherit; }
.cxpert-ai__form button { border: 0; border-radius: 10px; padding: 0 16px; background: #0b1f3a; color: #fff; font-weight: 700; cursor: pointer; }
.cxpert-ai__notice { padding: 0 12px 12px; color: #6b7280; background: #fff; font-size: 10px; line-height: 1.35; }
.cxpert-ai--embedded { position: relative; right: auto; bottom: auto; z-index: auto; }
.cxpert-ai--embedded .cxpert-ai__panel { display: flex; flex-direction: column; width: 100%; max-width: 720px; height: 660px; }
@media (max-width: 520px) { .cxpert-ai { right: 12px; bottom: 12px; } .cxpert-ai__panel { width: calc(100vw - 24px); height: calc(100vh - 80px); } }
