/* Ask Fit Twin: floating chat (bottom right). The ElevenLabs voice button sits bottom right too, so the chat moves left of it. */
.ftchat { position: fixed; right: 20px; bottom: 20px; z-index: 90; font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; color: #111; }
.ftchat.with-voice { right: 104px; }
.ftchat-fab { height: 46px; padding: 0 18px; border: 0; background: #111; color: #fff; font: 500 12.5px/1 "IBM Plex Mono", monospace; text-transform: uppercase; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); transition: transform .12s, background .15s; }
.ftchat-fab:hover { background: #333; }
.ftchat-fab:active { transform: scale(.97); }
.ftchat-fab[aria-expanded="true"] { display: none; }
.ftchat-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 100px)); display: flex; flex-direction: column; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, .2); animation: ftchat-in .22s cubic-bezier(.2, .8, .2, 1); }
.ftchat-panel[hidden] { display: none; }
@keyframes ftchat-in { from { opacity: 0; transform: translateY(10px); } }
.ftchat-panel header { display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 8px 0 16px; background: #111; color: #fff; text-transform: uppercase; font-size: 12.5px; }
.ftchat-panel header b { font-weight: 500; }
.ftchat-x { height: 32px; padding: 0 10px; border: 0; background: #333; color: #fff; font: inherit; font-size: 11.5px; text-transform: uppercase; cursor: pointer; }
.ftchat-log { flex: 1; overflow-y: auto; padding: 14px 14px 6px; }
.ftchat-log .m { max-width: 88%; margin: 0 0 10px; padding: 10px 12px; font: 400 15.5px/1.4 "Newsreader", Georgia, serif; }
.ftchat-log .bot { background: #f2f2f0; }
.ftchat-log .me { margin-left: auto; background: #111; color: #fff; font-family: "IBM Plex Mono", monospace; font-size: 13px; }
.ftchat-log .dim { color: #5c5c5a; }
.ftchat-chips { display: flex; gap: 6px; overflow-x: auto; padding: 6px 14px 10px; }
.ftchat-chips button { flex: none; height: 30px; padding: 0 10px; border: 0; background: #f2f2f0; font: 400 11.5px "IBM Plex Mono", monospace; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.ftchat-chips button:hover { background: #e7e7e4; }
.ftchat-form { display: flex; gap: 4px; padding: 10px 14px 14px; border-top: 1px solid #ececea; }
.ftchat-form input { flex: 1; height: 42px; border: 0; background: #f2f2f0; padding: 0 12px; font: 400 15px "Newsreader", Georgia, serif; }
.ftchat-form input:focus { outline: 2px solid #111; }
.ftchat-form button { height: 42px; padding: 0 14px; border: 0; background: #111; color: #fff; font: 500 12px "IBM Plex Mono", monospace; text-transform: uppercase; cursor: pointer; }
@media (max-width: 520px) { .ftchat { right: 12px; bottom: 12px; } .ftchat.with-voice { right: 84px; } .ftchat-fab { height: 42px; padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .ftchat-panel { animation: none; } }

/* No black buttons: outlined. */
.ftchat-fab { background: #fff; color: #111; border: 1px solid #111; }
.ftchat-fab:hover { background: #f2f2f0; }
.ftchat-panel header { background: #fff; color: #111; border-bottom: 1px solid #111; }
.ftchat-x { background: #fff; color: #111; border: 1px solid #111; }
.ftchat-form button { background: #fff; color: #111; border: 1px solid #111; }
.ftchat-log .me { background: #f2f2f0; color: #111; }
/* Round chat bubble, bottom right (retail style) */
.ftchat-fab { width: 64px; height: 64px; padding: 0; border-radius: 50%; border: 0 !important; background: #fff !important; display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0, 0, 0, .18); }
.ftchat-fab:hover { background: #f7f7f5 !important; transform: scale(1.04); }
.ftchat-panel, .ftchat-log .m, .ftchat-chips button, .ftchat-form input, .ftchat-form button, .ftchat-panel header { font-family: "Archivo", system-ui, sans-serif !important; }
@media (max-width: 520px) { .ftchat-fab { width: 54px; height: 54px; } }