/* Go2 site assistant (kit/assistant). Colours come from the page's settings block. */
.g2a { --g2a-accent: #021633; --g2a-on-accent: #fff; position: fixed; right: 16px; bottom: 16px; z-index: 70; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #10203a; }
.g2a-fab { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--g2a-accent); color: var(--g2a-on-accent); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(2, 22, 51, .28); margin-left: auto; }
.g2a-fab svg { width: 26px; height: 26px; }
.g2a-fab:focus-visible, .g2a button:focus-visible, .g2a a:focus-visible, .g2a input:focus-visible { outline: 3px solid #3b82f6; outline-offset: 2px; }
.g2a-teaser { display: block; margin: 0 4px 10px auto; max-width: 240px; border: 0; border-radius: 14px 14px 4px 14px; background: #fff; color: #10203a; padding: 10px 14px; font: inherit; font-weight: 600; text-align: left; box-shadow: 0 6px 20px rgba(2, 22, 51, .18); cursor: pointer; }
.g2a-teaser[hidden], .g2a-panel[hidden] { display: none; }
.g2a-panel { position: absolute; right: 0; bottom: 68px; width: min(370px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: 0 16px 48px rgba(2, 22, 51, .3); overflow: hidden; }
.g2a-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 18px; background: var(--g2a-accent); color: var(--g2a-on-accent); }
.g2a-close { width: 40px; height: 40px; border: 0; background: transparent; color: inherit; font-size: 26px; line-height: 1; cursor: pointer; border-radius: 50%; }
.g2a-log { flex: 1; overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; background: #f5f7fb; }
.g2a-msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; }
.g2a-msg p { margin: 0; }
.g2a-bot { background: #fff; border: 1px solid #e3e8f0; border-radius: 14px 14px 14px 4px; }
.g2a-me { justify-self: end; background: var(--g2a-accent); color: var(--g2a-on-accent); border-radius: 14px 14px 4px 14px; }
.g2a-title { display: block; margin-bottom: 4px; }
.g2a-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.g2a-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--g2a-accent); color: var(--g2a-on-accent); text-decoration: none; font-weight: 600; font-size: 14px; }
.g2a-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; background: #fff; }
.g2a-chip { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid #c9d3e0; background: #fff; color: #10203a; font: inherit; font-size: 14px; cursor: pointer; }
.g2a-chip:hover { border-color: #10203a; }
.g2a-form { display: flex; gap: 8px; padding: 10px 14px; background: #fff; }
.g2a-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1.5px solid #c9d3e0; border-radius: 12px; font: inherit; font-size: 16px; color: #10203a; background: #fff; }
.g2a-send { min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--g2a-accent); color: var(--g2a-on-accent); font: inherit; font-weight: 700; cursor: pointer; }
.g2a-note { margin: 0; padding: 0 14px 10px; background: #fff; font-size: 12px; color: #5b6b82; }
@media (prefers-reduced-motion: no-preference) { .g2a-panel:not([hidden]) { animation: g2a-in .18s ease-out; } }
@keyframes g2a-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media print { .g2a { display: none; } }
@media (max-width: 480px) { .g2a-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .g2a-chip { flex: none; } }
