[aria-label="AH FAQ pilot"]{max-width:40rem;padding:1rem;border:1px solid #c5bdaf;border-radius:18px;background:#fffdf8;color:#201e1a;font:16px/1.5 system-ui,sans-serif;overflow-wrap:anywhere}
[aria-label="AH FAQ pilot"] button,[aria-label="AH FAQ pilot"] textarea{box-sizing:border-box;min-height:48px;max-width:100%;border:1px solid #8b8274;border-radius:12px;font:inherit}
[aria-label="AH FAQ pilot"] button{padding:.65rem .9rem;background:linear-gradient(#fffdf9,#e9e1d3);color:#201e1a;box-shadow:0 2px 0 #c1b6a5;margin:.25rem}
[aria-label="AH FAQ pilot"] textarea{display:block;width:100%;min-height:6rem;background:#fff;color:#201e1a;padding:.65rem}
[aria-label="AH FAQ pilot"] button:focus-visible,[aria-label="AH FAQ pilot"] textarea:focus-visible{outline:3px solid #225da6;outline-offset:3px}
[aria-label="AH FAQ pilot"] button:disabled{opacity:.6;cursor:not-allowed}
[aria-label="AH FAQ pilot"] [role="log"]{max-height:25rem;overflow-y:auto}
[aria-label="AH FAQ pilot"] [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){[aria-label="AH FAQ pilot"] *{scroll-behavior:auto!important;transition:none!important}}

/* The pilot lives inside the existing fixed-height flex chat. Scroll this
   child instead of allowing its controls to overflow beyond the viewport. */
#chatbox > #ahPilotHost:not([hidden]){flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
