.gava-widget { --gava-accent: #5d3df5; bottom: 24px; color: #1e2030; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; position: fixed; z-index: 999999; }
.gava-widget--right { right: 24px; }
.gava-widget--left { left: 24px; }
.gava-widget { display: flex; flex-direction: column-reverse; }
.gava-panel:not([hidden]) { display: flex; flex-direction: column; max-height: calc(100dvh - 112px); }
.gava-panel .gava-conversation { min-height: 0; }
.gava-header, .gava-form, .gava-footer { flex-shrink: 0; }
.gava-launcher { align-items: center; background: var(--gava-accent); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 10px 30px rgba(31, 29, 61, .25); color: #fff; cursor: pointer; display: flex; height: 58px; justify-content: center; margin-left: auto; padding: 0; width: 58px; }
.gava-launcher .dashicons { font-size: 29px; height: 29px; width: 29px; }
.gava-panel { background: #fff; border: 1px solid #e5e7f0; border-radius: 16px; box-shadow: 0 22px 64px rgba(27, 30, 56, .22); margin-bottom: 12px; overflow: hidden; width: min(720px, calc(100vw - 48px)); }
.gava-header { align-items: center; border-bottom: 1px solid #eaebf1; display: flex; gap: 11px; min-height: 72px; padding: 13px 18px; }
.gava-header-icon { align-items: center; background: var(--gava-accent); border-radius: 50%; color: #fff; display: inline-flex; font-size: 21px; height: 39px; justify-content: center; width: 39px; }
.gava-header div { display: grid; gap: 2px; line-height: 1.2; }
.gava-header strong { font-size: 16px; }
.gava-header span:not(.dashicons) { color: #696c7e; font-size: 12px; }
.gava-close { background: transparent; border: 0; color: #4d5165; cursor: pointer; margin-left: auto; padding: 7px; }
.gava-conversation { background: #fcfcff; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 190px); overflow: auto; padding: 18px; }
.gava-welcome { background: #f5f3ff; border: 1px solid #e6e1ff; border-radius: 12px; max-width: 470px; padding: 14px; }
.gava-welcome strong { font-size: 15px; }
.gava-welcome p { color: #5b5e71; font-size: 13px; line-height: 1.45; margin: 5px 0 0; }
.gava-message { align-self: flex-start; max-width: 100%; }
.gava-message--visitor { align-self: flex-end; background: #eee9ff; border-radius: 14px 14px 3px 14px; color: #302169; font-size: 14px; max-width: 82%; padding: 11px 13px; }
.gava-message--assistant { background: #fff; border: 1px solid #e5e7f0; border-radius: 14px 14px 14px 3px; box-sizing: border-box; padding: 15px; width: 100%; }
.gava-message--loading { color: #606477; font-size: 13px; font-style: italic; width: auto; }
.gava-message--error { border-color: #e8afb3; color: #8f2630; font-size: 13px; width: auto; }
.gava-answer { font-size: 14px; line-height: 1.55; margin: 0 0 14px; white-space: pre-line; }
.gava-result { display: grid; gap: 13px; }
.gava-result-group { border: 1px solid #e4e6f0; border-radius: 12px; overflow: hidden; }
.gava-group-heading { align-items: center; background: #fbfbff; border-bottom: 1px solid #e9eaf2; display: flex; gap: 7px; min-height: 42px; padding: 0 12px; }
.gava-group-heading > .dashicons { color: var(--gava-accent); }
.gava-group-heading h3 { font-size: 13px; letter-spacing: .02em; margin: 0; text-transform: uppercase; }
.gava-source-row { align-items: start; border-bottom: 1px solid #ececf3; display: grid; gap: 7px; grid-template-columns: minmax(0, 1fr) minmax(120px, 42%); padding: 11px 12px; }
.gava-source-row:last-child { border-bottom: 0; }
.gava-source-label { align-items: center; display: flex; gap: 6px; }
.gava-source-label .dashicons { color: #1689d6; font-size: 17px; height: 17px; width: 17px; }
.gava-source-label strong { font-size: 13px; }
.gava-source-row p { color: #53576a; font-size: 12px; grid-column: 1 / 2; line-height: 1.45; margin: 0; }
.gava-source-link { color: #1689d6; grid-column: 2; grid-row: 1 / span 2; overflow-wrap: anywhere; }
.gava-source-link .dashicons { font-size: 18px; height: 18px; width: 18px; }
.gava-result-notice { align-items: start; color: #666a7c; display: flex; font-size: 11px; gap: 5px; line-height: 1.4; margin: 0; }
.gava-result-notice .dashicons { color: var(--gava-accent); font-size: 16px; height: 16px; width: 16px; }
.gava-form { align-items: end; border-top: 1px solid #eaebf1; display: flex; gap: 8px; padding: 12px; }
.gava-form textarea { border: 1px solid #d6d8e4; border-radius: 10px; box-sizing: border-box; color: #252738; flex: 1; font: inherit; font-size: 14px; line-height: 1.35; min-height: 44px; padding: 11px; resize: vertical; }
.gava-form textarea:focus { border-color: var(--gava-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gava-accent) 18%, transparent); outline: 0; }
.gava-form button { align-items: center; background: var(--gava-accent); border: 0; border-radius: 10px; color: #fff; cursor: pointer; display: inline-flex; height: 44px; justify-content: center; width: 44px; }
.gava-form button:disabled { cursor: wait; opacity: .65; }
.gava-footer { align-items: center; background: #f7f7fb; color: #6b6e80; display: flex; font-size: 10px; gap: 5px; line-height: 1.3; padding: 10px 12px; }
.gava-footer .dashicons { color: var(--gava-accent); font-size: 15px; height: 15px; width: 15px; }
.gava-footer a { color: inherit; margin-left: auto; text-decoration: underline; }
.gava-launcher:focus-visible, .gava-close:focus-visible { outline: 3px solid #24198a; outline-offset: 2px; }
@media (max-width: 760px) { .gava-widget--right, .gava-widget--left { left: 12px; right: 12px; } .gava-launcher { margin-left: auto; } .gava-panel { width: 100%; } .gava-conversation { max-height: 62vh; } .gava-source-row { grid-template-columns: 1fr; } .gava-source-link { grid-column: 1; grid-row: auto; } }
