.gfb-root {
--gfb-accent: #2f5d3a;
--gfb-bg: #ffffff;
--gfb-fg: #1d2320;
--gfb-muted: #6b736e;
--gfb-bubble: #f1f4f1;
--gfb-border: #dfe5e0;
--gfb-surface: #ffffff;
--gfb-on-accent: #ffffff;
--gfb-accent-text: var(--gfb-accent);
--gfb-ok: #1e7a3c;
--gfb-bad: #a12a2a;
--gfb-radius: 16px;
position: fixed;
right: 20px;
bottom: 20px;
z-index: 99999;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
font-size: 15px;
line-height: 1.45;
color: var(--gfb-fg);
}
.gfb-root *, .gfb-root *::before, .gfb-root *::after { box-sizing: border-box; }
.gfb-launcher {
width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
background: var(--gfb-accent); color: var(--gfb-on-accent); display: flex; align-items: center; justify-content: center;
box-shadow: 0 6px 20px rgba(0,0,0,.22); margin-left: auto; transition: transform .15s ease;
}
.gfb-launcher:hover { transform: scale(1.05); }
.gfb-launcher:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--gfb-accent); }
.gfb-launcher svg { width: 26px; height: 26px; fill: currentColor; }
.gfb-panel {
width: 360px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100vh - 110px);
background: var(--gfb-bg); border-radius: var(--gfb-radius); overflow: hidden; margin-bottom: 12px;
box-shadow: 0 12px 40px rgba(0,0,0,.25); display: flex; flex-direction: column;
}
.gfb-panel[hidden] { display: none; }
.gfb-header {
background: var(--gfb-accent); color: var(--gfb-on-accent); padding: 12px 16px; font-weight: 600;
display: flex; align-items: center; justify-content: space-between;
}
.gfb-close { background: none; border: 0; color: var(--gfb-on-accent); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.gfb-preview { background: #fff4d6; color: #6b5200; font-size: 12px; padding: 4px 16px; }
.gfb-view { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.gfb-view[hidden] { display: none; }
.gfb-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.gfb-msg { max-width: 85%; padding: 9px 12px; border-radius: 14px; white-space: pre-wrap; word-wrap: break-word; }
.gfb-bot { background: var(--gfb-bubble); align-self: flex-start; border-bottom-left-radius: 4px; }
.gfb-user { background: var(--gfb-accent); color: var(--gfb-on-accent); align-self: flex-end; border-bottom-right-radius: 4px; }
.gfb-user a { color: var(--gfb-on-accent); }
.gfb-plain { background: none; padding: 0; }
.gfb-typing { color: var(--gfb-muted); letter-spacing: 2px; }
.gfb-msg a { color: var(--gfb-accent-text); }
.gfb-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 8px; }
.gfb-chip {
border: 1px solid var(--gfb-accent); background: var(--gfb-surface); color: var(--gfb-accent-text);
border-radius: 999px; padding: 5px 11px; font-size: 13px; cursor: pointer;
}
.gfb-chip:hover, .gfb-chip-cta { background: var(--gfb-accent); color: var(--gfb-on-accent); }
.gfb-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--gfb-border); }
.gfb-input {
flex: 1; resize: none; border: 1px solid var(--gfb-border); border-radius: 10px; padding: 9px 10px;
font: inherit; color: inherit; max-height: 96px;
}
.gfb-input:focus, .gfb-lead input:focus, .gfb-lead textarea:focus { outline: 2px solid var(--gfb-accent); outline-offset: 0; }
.gfb-send {
background: var(--gfb-accent); color: var(--gfb-on-accent); border: 0; border-radius: 10px; padding: 0 14px;
font: inherit; font-weight: 600; cursor: pointer; min-height: 40px;
}
.gfb-send:disabled { opacity: .6; cursor: default; }
.gfb-actions { display: flex; gap: 14px; padding: 0 14px 4px; }
.gfb-link { background: none; border: 0; padding: 0; color: var(--gfb-accent-text); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.gfb-note { margin: 4px 14px 10px; font-size: 11px; color: var(--gfb-muted); }
.gfb-lead { flex: 1; min-height: 0; padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.gfb-lead > * { flex-shrink: 0; }
.gfb-lead .gfb-send { min-height: 42px; }
.gfb-lead .gfb-link { align-self: flex-start; }
.gfb-field { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--gfb-muted); }
.gfb-field input, .gfb-field textarea {
border: 1px solid var(--gfb-border); border-radius: 8px; padding: 8px 10px; font: inherit; color: var(--gfb-fg);
}
.gfb-consent { font-size: 12px; color: var(--gfb-muted); }
.gfb-consent a { color: var(--gfb-accent-text); }
.gfb-status { font-size: 13px; margin: 0; min-height: 1em; }
.gfb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 480px) {
.gfb-root { right: 12px; bottom: 12px; }
.gfb-open .gfb-panel { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100%; max-height: none; border-radius: 0; margin: 0; }
.gfb-open .gfb-launcher { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gfb-launcher { transition: none; } } .gfb-root button,
.gfb-root input,
.gfb-root textarea {
margin: 0;
text-transform: none;
letter-spacing: normal;
text-shadow: none;
box-shadow: none;
background-image: none;
min-width: 0;
width: auto;
font-family: inherit;
line-height: 1.4;
}
.gfb-root .gfb-form { align-items: flex-end; }
.gfb-root textarea.gfb-input {
flex: 1 1 auto;
height: 40px;
min-height: 40px;
max-height: 96px;
padding: 9px 10px;
font-size: 15px;
background: var(--gfb-surface);
color: var(--gfb-fg);
border: 1px solid var(--gfb-border);
border-radius: 10px;
}
.gfb-root button.gfb-send,
.gfb-root button.gfb-send:hover,
.gfb-root button.gfb-send:focus {
flex: 0 0 auto;
height: 40px;
min-height: 40px;
padding: 0 16px;
font-size: 15px;
font-weight: 600;
background: var(--gfb-accent);
color: var(--gfb-on-accent);
border: 0;
border-radius: 10px;
}
.gfb-root button.gfb-send:hover { filter: brightness(1.1); }
.gfb-root button.gfb-send:focus-visible { outline: 2px solid var(--gfb-accent); outline-offset: 2px; }
.gfb-root .gfb-lead button.gfb-send { width: 100%; height: 42px; }
.gfb-root button.gfb-chip { font-size: 13px; padding: 5px 11px; border: 1px solid var(--gfb-accent); border-radius: 999px; background: var(--gfb-surface); color: var(--gfb-accent-text); }
.gfb-root button.gfb-chip:hover,
.gfb-root button.gfb-chip-cta { background: var(--gfb-accent); color: var(--gfb-on-accent); }
.gfb-root button.gfb-link,
.gfb-root button.gfb-link:hover { padding: 0; font-size: 13px; background: none; border: 0; color: var(--gfb-accent-text); text-decoration: underline; }
.gfb-root button.gfb-close,
.gfb-root button.gfb-close:hover { padding: 0 4px; font-size: 26px; line-height: 1; background: none; border: 0; color: var(--gfb-on-accent); }
.gfb-root button.gfb-launcher,
.gfb-root button.gfb-launcher:hover { width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; background: var(--gfb-accent); color: var(--gfb-on-accent); }
.gfb-root .gfb-field input,
.gfb-root .gfb-field textarea { width: 100%; min-height: 0; height: auto; font-size: 15px; background: var(--gfb-surface); color: var(--gfb-fg); border: 1px solid var(--gfb-border); border-radius: 8px; padding: 8px 10px; }
.gfb-root .gfb-consent input[type="checkbox"] { width: auto; height: auto; min-height: 0; padding: 0; margin: 0 4px 0 0; border: revert; vertical-align: middle; }
.gfb-root input.gfb-hp { min-height: 0; height: 1px; padding: 0; border: 0; } .gfb-root button,
.gfb-root a.gfb-chip {
text-transform: none !important;
letter-spacing: normal !important;
}
.gfb-root textarea.gfb-input { overflow-y: hidden; }
.gfb-root textarea.gfb-input::placeholder { color: var(--gfb-muted); opacity: 1; }
.gfb-root button.gfb-send,
.gfb-root button.gfb-send:hover,
.gfb-root button.gfb-send:focus { padding: 0 14px !important; font-size: 15px !important; } .gfb-root .gfb-actions { flex-wrap: wrap; }
.gfb-root a.gfb-chip { display: inline-block; text-decoration: none; font-size: 13px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--gfb-accent); }
.gfb-root a.gfb-chip-cta, .gfb-root a.gfb-chip-cta:hover { background: var(--gfb-accent); color: var(--gfb-on-accent); }
.gfb-title { display: flex; align-items: center; gap: 10px; min-width: 0; } .gfb-root label.gfb-consent {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 10px 12px;
border: 1px solid var(--gfb-border);
border-radius: 10px;
background: var(--gfb-bubble);
font-size: 13px;
line-height: 1.45;
color: var(--gfb-fg);
cursor: pointer;
}
.gfb-root label.gfb-consent::before,
.gfb-root label.gfb-consent::after { content: none !important; display: none !important; }
.gfb-root input.gfb-check[type="checkbox"] {
-webkit-appearance: checkbox !important;
appearance: auto !important;
position: static !important;
display: inline-block !important;
visibility: visible !important;
opacity: 1 !important;
clip: auto !important;
clip-path: none !important;
flex: 0 0 auto;
width: 20px !important;
height: 20px !important;
min-height: 0 !important;
margin: 1px 0 0 !important;
padding: 0 !important;
accent-color: var(--gfb-accent-text);
cursor: pointer;
}
.gfb-consent-text { flex: 1; }
.gfb-root label.gfb-consent-missing { border-color: #c0392b; background: #fdf0ee; box-shadow: 0 0 0 2px rgba(192, 57, 43, .15); }
.gfb-root .gfb-lead .gfb-status { color: var(--gfb-bad); } .gfb-root .gfb-view-top {
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
gap: 4px 12px;
}
.gfb-root .gfb-view-top > :first-child:not(.gfb-back-top) {
flex: 1 1 auto;
}
.gfb-root button.gfb-link.gfb-back-top {
margin-left: auto !important;
font-size: 13px !important;
white-space: nowrap;
}