/* T679 - Guest AI FAQ assistant widget (Restaurant). Ink #1c1c1c + gold #c9a44c. */
.gaw-root { --gaw-ink: #1c1c1c; --gaw-gold: #c9a44c; --gaw-gold-dark: #a8862f; --gaw-cream: #faf6ec; --gaw-line: #e6dcc3; }
.gaw-root, .gaw-root * { box-sizing: border-box; }

.gaw-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.gaw-ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.gaw-ic circle { fill: currentColor; stroke: none; }

.gaw-launcher {
    position: fixed; right: 20px; bottom: 20px; z-index: 9990;
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 48px; padding: 0 18px 0 14px;
    background: var(--gaw-ink); color: #fff; border: 2px solid var(--gaw-gold); border-radius: 999px;
    font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28); transition: transform .15s ease, background .15s ease;
}
.gaw-launcher:hover, .gaw-launcher:focus-visible { background: #000; transform: translateY(-2px); outline: none; }
.gaw-launcher:focus-visible { box-shadow: 0 0 0 3px var(--gaw-gold); }
.gaw-root.is-open .gaw-launcher { display: none; }

.gaw-panel {
    position: fixed; right: 20px; bottom: 20px; z-index: 9991;
    width: 380px; max-width: calc(100vw - 32px); height: 70vh; max-height: 640px; min-height: 420px;
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; color: var(--gaw-ink); border-radius: 16px; border: 1px solid var(--gaw-line);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .3); font-size: 14px; line-height: 1.45;
}
.gaw-panel[hidden] { display: none; }

.gaw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 14px 12px 18px; background: var(--gaw-ink); color: #fff; border-bottom: 3px solid var(--gaw-gold); flex-shrink: 0; }
.gaw-title { margin: 0; font-size: 17px; font-weight: 700; color: #fff; letter-spacing: .2px; }
.gaw-sub { margin: 2px 0 0; font-size: 12px; color: #d9c79b; }
.gaw-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -6px -6px 0 0; background: transparent; color: #fff; border: 0; border-radius: 50%; cursor: pointer; }
.gaw-close:hover, .gaw-close:focus-visible { background: rgba(255, 255, 255, .12); outline: 2px solid var(--gaw-gold); }

.gaw-log { flex: 1 1 auto; overflow-y: auto; padding: 14px; background: var(--gaw-cream); }
.gaw-msg { display: flex; flex-direction: column; margin-bottom: 10px; }
.gaw-msg--user { align-items: flex-end; }
.gaw-msg--bot { align-items: flex-start; }
.gaw-bubble { margin: 0; max-width: 88%; padding: 9px 12px; border-radius: 14px; white-space: pre-wrap; word-wrap: break-word; }
.gaw-msg--user .gaw-bubble { background: var(--gaw-ink); color: #fff; border-bottom-right-radius: 4px; }
.gaw-msg--bot .gaw-bubble { background: #fff; color: var(--gaw-ink); border: 1px solid var(--gaw-line); border-bottom-left-radius: 4px; }
.gaw-bubble p { margin: 0 0 6px; }
.gaw-bubble p:last-child { margin-bottom: 0; }
.gaw-bubble ul { margin: 4px 0 6px; padding-left: 18px; }
.gaw-bubble li { margin: 2px 0; }
.gaw-bubble strong { font-weight: 700; color: var(--gaw-ink); }
.gaw-msg--user .gaw-bubble strong { color: #fff; }

.gaw-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.gaw-link { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; background: #fff; color: var(--gaw-ink); border: 1px solid var(--gaw-gold); border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; }
.gaw-link:hover, .gaw-link:focus-visible { background: var(--gaw-gold); color: var(--gaw-ink); outline: none; }

.gaw-fb { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: #6b6150; }
.gaw-fb-btn { min-height: 28px; padding: 2px 10px; background: transparent; color: var(--gaw-ink); border: 1px solid var(--gaw-line); border-radius: 999px; font-size: 12px; cursor: pointer; }
.gaw-fb-btn:hover, .gaw-fb-btn:focus-visible { border-color: var(--gaw-gold); outline: none; }
.gaw-fb-btn:disabled { opacity: .5; cursor: default; }
.gaw-fb-done { margin-left: 4px; }

.gaw-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px 4px; background: var(--gaw-cream); flex-shrink: 0; }
.gaw-suggest[hidden] { display: none; }
.gaw-chip-q { min-height: 36px; padding: 6px 12px; background: #fff; color: var(--gaw-ink); border: 1px solid var(--gaw-line); border-radius: 999px; font-size: 13px; text-align: left; cursor: pointer; }
.gaw-chip-q:hover, .gaw-chip-q:focus-visible { border-color: var(--gaw-gold); background: #fffaf0; outline: none; }

.gaw-typing { margin: 0; padding: 6px 16px; font-size: 12px; font-style: italic; color: #6b6150; background: var(--gaw-cream); flex-shrink: 0; }
.gaw-typing[hidden] { display: none; }

.gaw-form { padding: 10px 12px 8px; border-top: 1px solid var(--gaw-line); background: #fff; flex-shrink: 0; }
.gaw-input { display: block; width: 100%; min-height: 44px; max-height: 120px; padding: 9px 11px; border: 1px solid #cfc4a8; border-radius: 10px; font: inherit; color: var(--gaw-ink); resize: none; }
.gaw-input:focus { outline: 2px solid var(--gaw-gold); border-color: var(--gaw-gold); }
.gaw-form-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.gaw-count { font-size: 12px; color: #8a7f68; }
.gaw-send { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--gaw-gold); color: var(--gaw-ink); border: 0; border-radius: 50%; cursor: pointer; }
.gaw-send:hover, .gaw-send:focus-visible { background: var(--gaw-gold-dark); color: #fff; outline: none; }
.gaw-send:disabled { opacity: .55; cursor: default; }

.gaw-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; padding: 8px 14px 12px; background: #fff; font-size: 11px; color: #8a7f68; flex-shrink: 0; }
.gaw-staff { color: var(--gaw-ink); font-weight: 700; font-size: 13px; text-decoration: underline; text-decoration-color: var(--gaw-gold); text-underline-offset: 3px; }
.gaw-staff:hover, .gaw-staff:focus-visible { color: var(--gaw-gold-dark); }

@media (max-width: 991.98px) {
    .gaw-panel { height: 72vh; }
}
@media (max-width: 575.98px) {
    .gaw-launcher { right: 14px; bottom: 14px; }
    .gaw-panel { top: 0; right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100%; max-height: none; min-height: 0; border-radius: 0; border: 0; }
    .gaw-bubble { max-width: 92%; }
}
@media (max-width: 360px) {
    .gaw-launcher-label { display: none; }
    .gaw-launcher { padding: 0 13px; }
    .gaw-head { padding: 12px 10px 10px 14px; }
    .gaw-log { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .gaw-launcher, .gaw-link, .gaw-send, .gaw-chip-q { transition: none !important; }
    .gaw-launcher:hover, .gaw-launcher:focus-visible { transform: none; }
}
