.flowops-chat-root{
  --fo-chat-accent:#00e676;
  --fo-chat-accent-dark:#00bd63;
  --fo-chat-ink:#0d1412;
  --fo-chat-muted:#66706c;
  --fo-chat-soft:#f7f4f1;
  --fo-chat-paper:#fff;
  --fo-chat-line:rgba(13,20,18,.10);
  --fo-chat-vvh:100dvh;
  --fo-chat-vtop:0px;
  position:relative;
  z-index:2147482000;
  color:var(--fo-chat-ink);
  font-family:Manrope,Inter,"SF Pro Display","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.flowops-chat-root *,
.flowops-chat-root *::before,
.flowops-chat-root *::after{box-sizing:border-box}
.flowops-chat-root button,
.flowops-chat-root input,
.flowops-chat-root textarea{font:inherit;letter-spacing:normal}
.flowops-chat-root button{-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}
.flowops-chat-root a{color:inherit}
.flowops-chat-root svg{display:block}

.fo-chat-scrim{position:fixed;inset:0;z-index:0;background:rgba(8,13,12,.22);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}

/* Launcher */
.fo-chat-launcher{
  position:fixed;right:22px;bottom:22px;z-index:4;display:flex;align-items:center;gap:10px;height:58px;min-width:58px;padding:6px 15px 6px 6px;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:#0b1110;color:#fff;box-shadow:0 12px 30px rgba(18,15,14,.16),inset 0 1px 0 rgba(255,255,255,.03);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease,visibility .2s ease
}
.flowops-chat-root[data-position="left"] .fo-chat-launcher{right:auto;left:22px}
.fo-chat-launcher:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(18,15,14,.19),inset 0 1px 0 rgba(255,255,255,.04)}
.fo-chat-launcher:active{transform:scale(.985)}
.fo-chat-launcher-mark{position:relative;display:grid;width:46px;height:46px;flex:0 0 46px;place-items:center;border-radius:50%;background:transparent}
.fo-chat-launcher-mark img{display:block;width:42px;height:42px;filter:none}
.fo-chat-launcher-mark::after{content:none}
.fo-chat-launcher-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start}
.fo-chat-launcher-label{font-size:13px;font-weight:780;line-height:1.15;letter-spacing:-.012em;white-space:nowrap}
.fo-chat-launcher-note{margin-top:4px;color:rgba(255,255,255,.58);font-size:9.5px;font-weight:560;line-height:1.1;white-space:nowrap}
.fo-chat-unread{position:absolute;top:-5px;right:-4px;display:none;min-width:22px;height:22px;padding:0 5px;align-items:center;justify-content:center;border:3px solid #fff;border-radius:12px;background:#ff5d57;color:#fff;font-size:10px;font-weight:800}
.fo-chat-unread.is-visible{display:flex}
.flowops-chat-root.is-open .fo-chat-launcher{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px) scale(.97)}

/* Optional welcome prompt */
.fo-chat-prompt{position:fixed;right:22px;bottom:92px;z-index:3;width:304px;max-width:calc(100vw - 32px);padding:7px;border:1px solid rgba(13,20,18,.10);border-radius:20px;background:#fff;box-shadow:0 20px 55px rgba(31,25,23,.18);opacity:0;visibility:hidden;transform:translateY(10px) scale(.98);pointer-events:none;transition:opacity .22s ease,transform .26s cubic-bezier(.2,.8,.2,1),visibility .22s ease}
.flowops-chat-root[data-position="left"] .fo-chat-prompt{right:auto;left:22px}
.fo-chat-prompt.is-visible{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.flowops-chat-root.is-open .fo-chat-prompt{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
.fo-chat-prompt-open{display:grid;width:100%;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;padding:7px 32px 7px 6px;border:0;background:transparent;text-align:left;cursor:pointer}
.fo-chat-prompt-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:15px;background:#0b1110}
.fo-chat-prompt-mark img{width:36px;height:36px;filter:drop-shadow(0 4px 10px rgba(0,230,118,.16))}
.fo-chat-prompt-open strong{display:block;color:#17201d;font-size:12.5px;font-weight:780}
.fo-chat-prompt-open small{display:block;margin-top:4px;color:#66706c;font-size:10.5px;line-height:1.38}
.fo-chat-prompt-close{position:absolute;top:7px;right:7px;display:grid;width:28px;height:28px;place-items:center;padding:0;border:0;border-radius:10px;background:#f4f5f4;color:#59625f;cursor:pointer}
.fo-chat-prompt-close svg{width:13px;height:13px}

/* Messenger shell */
.fo-chat-panel{
  position:fixed;right:22px;bottom:22px;z-index:2;display:flex;width:min(430px,calc(100vw - 44px));height:min(720px,calc(100dvh - 44px));min-height:520px;flex-direction:column;overflow:hidden;border:1px solid rgba(13,20,18,.11);border-radius:28px;background:#fff;box-shadow:0 36px 110px rgba(31,25,23,.23),0 10px 28px rgba(31,25,23,.08);opacity:0;visibility:hidden;transform:translateY(18px) scale(.975);transform-origin:bottom right;pointer-events:none;transition:opacity .2s ease,transform .30s cubic-bezier(.2,.8,.2,1),visibility .2s ease
}
.flowops-chat-root[data-position="left"] .fo-chat-panel{right:auto;left:22px;transform-origin:bottom left}
.fo-chat-panel.is-open{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.fo-chat-head{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;min-height:68px;padding:12px 13px 12px 14px;border-bottom:1px solid rgba(255,255,255,.05);background:#0b1110;color:#fff}
.fo-chat-head-brand{display:flex;min-width:0;align-items:center;gap:10px}
.fo-chat-head-mark{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:15px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.fo-chat-head-mark img{width:38px;height:38px}
.fo-chat-head-copy{min-width:0}
.fo-chat-head-copy strong{display:block;overflow:hidden;font-size:13.5px;font-weight:780;line-height:1.25;letter-spacing:-.015em;text-overflow:ellipsis;white-space:nowrap}
.fo-chat-head-copy span{display:flex;align-items:center;gap:6px;margin-top:4px;overflow:hidden;color:rgba(255,255,255,.62);font-size:9.5px;font-weight:560;text-overflow:ellipsis;white-space:nowrap}
.fo-chat-head-copy i{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:var(--fo-chat-accent);box-shadow:0 0 0 4px rgba(0,230,118,.08)}
.fo-chat-close{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;padding:0;border:1px solid rgba(255,255,255,.08);border-radius:13px;background:rgba(255,255,255,.055);color:#fff;cursor:pointer;transition:background .16s ease,transform .16s ease}
.fo-chat-close:hover{background:rgba(255,255,255,.11);transform:translateY(-1px)}
.fo-chat-close svg{width:15px;height:15px}
.fo-chat-stage{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden;opacity:.2;transform:translateY(3px);transition:opacity .16s ease,transform .16s ease;background:#fff}
.fo-chat-stage.is-ready{opacity:1;transform:none}

/* Bottom navigation */
.fo-chat-nav{display:grid;flex:0 0 auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:7px 9px 9px;border-top:1px solid var(--fo-chat-line);background:rgba(255,255,255,.98)}
.fo-chat-nav button{position:relative;display:flex;min-width:0;min-height:52px;align-items:center;justify-content:center;gap:4px;flex-direction:column;padding:6px 4px;border:1px solid transparent;border-radius:14px;background:transparent;color:#818986;font-size:9.4px;font-weight:650;cursor:pointer;transition:color .16s ease,background .16s ease,border-color .16s ease,transform .16s ease}
.fo-chat-nav button:hover{background:#f7f8f7;border-color:#edf0ee;color:#36413c;transform:translateY(-1px)}
.fo-chat-nav button.is-active{background:#edf8f1;border-color:#d8efe1;color:#0b1110;box-shadow:0 1px 0 rgba(11,17,16,.02)}
.fo-chat-nav button.is-active::before{content:"";position:absolute;top:5px;right:calc(50% - 15px);width:5px;height:5px;border-radius:50%;background:var(--fo-chat-accent)}
.fo-chat-nav svg{width:18px;height:18px}
.fo-chat-nav-badge{position:absolute;top:4px;left:calc(50% + 7px);display:none;min-width:17px;height:17px;padding:0 4px;align-items:center;justify-content:center;border:2px solid #fff;border-radius:9px;background:#ff5d57;color:#fff;font-size:8px;line-height:1}
.fo-chat-nav-badge.is-visible{display:flex}

/* Home */
.fo-chat-home{flex:1;min-height:0;overflow:auto;background:linear-gradient(180deg,#0b1110 0,#0b1110 232px,#f7f4f1 232px,#f7f4f1 100%);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d5dad7 transparent}
.fo-chat-hero{position:relative;min-height:232px;padding:25px 24px 36px;overflow:hidden;color:#fff}
.fo-chat-hero-glow{position:absolute;right:-70px;top:-90px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(0,230,118,.25),rgba(0,230,118,0) 68%)}
.fo-chat-hero-glow::after{content:"";position:absolute;right:62px;bottom:34px;width:118px;height:118px;border:1px solid rgba(255,255,255,.045);border-radius:36px;transform:rotate(18deg)}
.fo-chat-hero-mark{position:relative;z-index:1;display:grid;width:48px;height:48px;place-items:center;margin-bottom:18px;border-radius:17px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.035)}
.fo-chat-hero-mark img{width:43px;height:43px}
.fo-chat-hero p{position:relative;z-index:1;margin:0 0 7px;color:rgba(255,255,255,.58);font-size:9.6px;font-weight:750;text-transform:uppercase;letter-spacing:.09em}
.fo-chat-hero h2{position:relative;z-index:1;margin:0;max-width:325px;color:#fff;font-size:27px;font-weight:790;line-height:1.07;letter-spacing:-.043em}
.fo-chat-hero small{position:relative;z-index:1;display:block;max-width:31em;margin-top:10px;color:rgba(255,255,255,.64);font-size:10.8px;line-height:1.5}
.fo-chat-home-stack{position:relative;z-index:2;margin:-23px 14px 0;display:grid;gap:10px}
.fo-chat-home-card{display:grid;width:100%;min-width:0;grid-template-columns:40px minmax(0,1fr) 36px;gap:12px;align-items:center;padding:14px 14px;border:1px solid rgba(13,20,18,.075);border-radius:19px;background:#fff;color:#15201c;text-align:left;box-shadow:0 8px 22px rgba(31,25,23,.055);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
.fo-chat-home-card:hover{transform:translateY(-2px);border-color:rgba(13,20,18,.14);box-shadow:0 12px 28px rgba(31,25,23,.085)}
.fo-chat-home-copy{display:block;min-width:0!important;max-width:100%;overflow:hidden}
.fo-chat-home-card strong{display:block;min-width:0;overflow-wrap:normal;word-break:normal;color:#16211d;font-size:12.3px;font-weight:780;line-height:1.32;letter-spacing:-.012em;white-space:normal}
.fo-chat-home-card small{display:block;min-width:0;margin-top:4px;overflow-wrap:normal;word-break:normal;color:#707975;font-size:9.9px;line-height:1.42;white-space:normal}
.fo-chat-home-icon{display:grid;width:40px;height:40px;place-items:center;margin:0;border-radius:13px;background:#f1f4f2;color:#37413e}
.fo-chat-home-icon svg{width:17px;height:17px}
.fo-chat-home-arrow{display:grid;width:34px;height:34px;place-items:center;margin:0;border-radius:12px;background:#f3f6f4;color:#25322d}
.fo-chat-home-arrow svg{width:15px;height:15px}
.fo-chat-primary-card{border-color:rgba(0,190,99,.17);background:linear-gradient(135deg,#e2f8e8 0,#fbfffc 58%,#fff 100%)}
.fo-chat-primary-card .fo-chat-home-icon{background:#0b1110;color:#fff}
.fo-chat-primary-card .fo-chat-home-arrow{background:var(--fo-chat-accent);color:#07110b}
.fo-chat-home-footer{padding:18px 16px 20px;text-align:center;color:#929996;font-size:8.8px;line-height:1.4}

/* Inner screen title */
.fo-chat-view-title{display:grid;flex:0 0 auto;grid-template-columns:36px minmax(0,1fr);gap:9px;align-items:center;min-width:0;padding:10px 12px;border-bottom:1px solid var(--fo-chat-line);background:#fff}
.fo-chat-back{display:grid;width:36px;height:36px;place-items:center;padding:0;border:0;border-radius:12px;background:#f3f5f4;color:#35413c;cursor:pointer;transition:background .15s ease,transform .15s ease}
.fo-chat-back:hover{background:#ebefed;transform:translateX(-1px)}
.fo-chat-back svg{width:16px;height:16px}
.fo-chat-view-title>div{min-width:0}
.fo-chat-view-title strong{display:block;overflow:hidden;font-size:12.8px;font-weight:780;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.fo-chat-view-title span{display:block;margin-top:3px;overflow:hidden;color:#7d8582;font-size:9.2px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}

/* Help */
.fo-chat-help{display:flex;flex:1;min-height:0;min-width:0;flex-direction:column;background:#f8f5f2}
.fo-chat-help-search{display:grid;flex:0 0 auto;grid-template-columns:17px minmax(0,1fr);align-items:center;gap:8px;margin:11px 12px 8px;padding:0 12px;border:1px solid #dce2df;border-radius:14px;background:#fff;color:#79817e;box-shadow:0 2px 8px rgba(12,17,18,.025);transition:border-color .15s ease,box-shadow .15s ease}
.fo-chat-help-search:focus-within{border-color:#8ed5ad;box-shadow:0 0 0 4px rgba(0,230,118,.075)}
.fo-chat-help-search svg{width:16px;height:16px;flex:0 0 16px}
.fo-chat-help-search input{display:block;width:100%!important;min-width:0!important;height:44px!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#17201d!important;font-size:12px;line-height:1.2}
.fo-chat-help-search input::placeholder{color:#9ba29f}
.fo-chat-help-results{flex:1;min-height:0;min-width:0;overflow:auto;padding:0 12px 14px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d5dad7 transparent}
.fo-chat-help-caption{padding:7px 2px 6px;color:#8b928f;font-size:8.6px;font-weight:740;text-transform:uppercase;letter-spacing:.075em}
.fo-chat-help-item{display:grid;width:100%;min-width:0;grid-template-columns:minmax(0,1fr) 30px;gap:10px;align-items:center;margin-bottom:7px;padding:12px 12px;border:1px solid rgba(13,20,18,.075);border-radius:15px;background:#fff;text-decoration:none;box-shadow:0 4px 12px rgba(12,17,18,.025);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.fo-chat-help-item:hover{transform:translateY(-1px);border-color:#cbd5cf;box-shadow:0 7px 16px rgba(12,17,18,.04)}
.fo-chat-help-item>span{display:block;min-width:0;overflow:hidden}
.fo-chat-help-item strong{display:block;min-width:0;overflow-wrap:normal;word-break:normal;color:#27322e;font-size:10.8px;font-weight:740;line-height:1.35;white-space:normal}
.fo-chat-help-item small{display:block;margin-top:3px;color:#929996;font-size:8.7px;line-height:1.35;white-space:normal}
.fo-chat-help-item i{display:grid;width:30px;height:30px;place-items:center;border-radius:10px;background:#f4f6f5;color:#56615c}
.fo-chat-help-item i svg{width:13px;height:13px}
.fo-chat-help-all{display:flex;width:100%;min-height:42px;align-items:center;justify-content:center;gap:6px;margin-top:3px;padding:10px 12px;border:1px solid rgba(13,20,18,.08);border-radius:13px;background:#fff;color:#3f4b46;font-size:9.8px;font-weight:720;text-decoration:none;transition:background .15s ease,border-color .15s ease}
.fo-chat-help-all:hover{background:#f5f8f6;border-color:#cdd8d1}
.fo-chat-help-all svg{width:13px;height:13px}
.fo-chat-help-empty{display:flex;align-items:center;flex-direction:column;padding:42px 20px;text-align:center}
.fo-chat-help-empty strong{font-size:12.5px}
.fo-chat-help-empty span{margin-top:7px;color:#7d8582;font-size:10px;line-height:1.45}
.fo-chat-help-empty a{margin-top:14px;padding:9px 12px;border-radius:12px;background:#0b1110;color:#fff;font-size:10px;font-weight:700;text-decoration:none}

/* Start conversation */
.fo-chat-start-view,.fo-chat-message-view{display:flex;flex:1;min-height:0;min-width:0;flex-direction:column;background:#fff}
.fo-chat-start-scroll{flex:1;min-height:0;overflow:auto;padding:11px 13px 13px;background:#faf7f4;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d5dad7 transparent}
.fo-chat-intro{padding:14px;margin-bottom:9px;border:1px solid rgba(13,20,18,.07);border-radius:17px;background:linear-gradient(135deg,#dff6e6 0,#fff3e9 100%)}
.fo-chat-eyebrow{display:inline-flex;align-items:center;gap:6px;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.74);color:#46514c;font-size:8.5px;font-weight:730}
.fo-chat-eyebrow i{width:6px;height:6px;border-radius:50%;background:#00c86a}
.fo-chat-intro h2{margin:8px 0 4px;font-size:18px;font-weight:790;line-height:1.15;letter-spacing:-.03em}
.fo-chat-intro p{margin:0;color:#626c67;font-size:10px;line-height:1.45}
.fo-chat-quick{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:9px}
.fo-chat-quick button{min-height:29px;padding:0 9px;border:1px solid #dfe5e1;border-radius:999px;background:#fff;color:#36423d;font-size:9.1px;font-weight:660;line-height:1.2;cursor:pointer;transition:border-color .15s ease,transform .15s ease,background .15s ease}
.fo-chat-quick button:hover{border-color:#c8d3cc;background:#fbfcfb;transform:translateY(-1px)}
.fo-chat-start-form{min-width:0}
.fo-chat-field{display:block;margin:0 0 7px}
.fo-chat-field>span{display:flex;justify-content:space-between;gap:8px;margin:0 0 4px;color:#303a36;font-size:9.6px;font-weight:720;line-height:1.3}
.fo-chat-field em{color:#999f9d;font-size:8.5px;font-style:normal;font-weight:560}
.fo-chat-start-count{display:none;color:#a53b31!important;font-weight:690!important}
.fo-chat-start-count.is-visible{display:inline}
.fo-chat-field input,.fo-chat-field textarea{display:block;width:100%!important;min-width:0!important;margin:0!important;border:1px solid #dce2df!important;border-radius:12px!important;background:#fff!important;color:#16201c!important;font-size:11.5px;line-height:1.4;box-shadow:none!important;transition:border-color .15s ease,box-shadow .15s ease}
.fo-chat-field input{height:40px!important;padding:0 11px!important}
.fo-chat-field textarea{min-height:68px!important;max-height:120px;padding:9px 11px!important;resize:vertical}
.fo-chat-field input::placeholder,.fo-chat-field textarea::placeholder{color:#a0a7a4}
.fo-chat-field input:focus,.fo-chat-field textarea:focus{outline:0!important;border-color:#8ed5ad!important;box-shadow:0 0 0 4px rgba(0,230,118,.08)!important}
.fo-chat-consent{display:grid;grid-template-columns:15px minmax(0,1fr);gap:8px;align-items:start;margin:8px 0 9px;color:#69726e;font-size:8.7px;line-height:1.4}
.fo-chat-consent input{width:15px!important;height:15px!important;margin:1px 0 0!important;accent-color:var(--fo-chat-accent)}
.fo-chat-consent span{min-width:0}
.fo-chat-consent a{text-decoration:underline;text-underline-offset:2px}
.fo-chat-button{display:flex;width:100%;min-height:42px;align-items:center;justify-content:center;gap:7px;padding:8px 13px;border:0;border-radius:13px;background:#0b1110;color:#fff;font-size:10.4px;font-weight:750;cursor:pointer;box-shadow:0 8px 18px rgba(12,17,18,.10);transition:transform .16s ease,background .16s ease}
.fo-chat-button:hover{transform:translateY(-1px);background:#151d1c}
.fo-chat-button:disabled{opacity:.6;cursor:wait}
.fo-chat-button svg{width:14px;height:14px}
.fo-chat-error{display:none;margin-top:8px;padding:8px 10px;border-radius:10px;background:#fff0ee;color:#9d2f25;font-size:9.5px;line-height:1.4}
.fo-chat-error.is-visible{display:block}

/* Conversation */
.fo-chat-conversation{display:flex;flex:1;min-height:0;min-width:0;flex-direction:column}
.fo-chat-messages{flex:1;min-height:0;min-width:0;overflow:auto;padding:15px 14px;background:linear-gradient(180deg,#faf7f4,#fff 72%);scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d5dad7 transparent}
.fo-chat-day-note{width:max-content;max-width:100%;margin:0 auto 15px;padding:5px 8px;border:1px solid rgba(13,20,18,.07);border-radius:999px;background:#fff;color:#8c9390;font-size:8.5px}
.fo-chat-msg{max-width:82%;margin:0 0 10px;animation:foChatMsg .18s ease both}
.fo-chat-msg.visitor{margin-left:auto}.fo-chat-msg.agent,.fo-chat-msg.system{margin-right:auto}
.fo-chat-bubble{padding:10px 12px;border-radius:16px;font-size:11px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.fo-chat-bubble a{text-decoration:underline;text-underline-offset:2px}
.fo-chat-msg.visitor .fo-chat-bubble{border-bottom-right-radius:5px;background:#0b1110;color:#fff}
.fo-chat-msg.agent .fo-chat-bubble{border:1px solid #e0e6e2;border-bottom-left-radius:5px;background:#fff;color:#17211d;box-shadow:0 3px 10px rgba(12,17,18,.035)}
.fo-chat-msg.system{width:100%;max-width:100%;text-align:center}
.fo-chat-msg.system .fo-chat-bubble{display:inline-block;padding:3px 8px;background:transparent;color:#909794;font-size:8.5px}
.fo-chat-meta{display:flex;gap:5px;margin-top:4px;color:#909794;font-size:8px}.fo-chat-msg.visitor .fo-chat-meta{justify-content:flex-end}
.fo-chat-compose{flex:0 0 auto;padding:9px 10px 10px;border-top:1px solid var(--fo-chat-line);background:#fff}
.fo-chat-compose-row{display:flex;align-items:flex-end;gap:7px;padding:5px 5px 5px 10px;border:1px solid #dce3df;border-radius:17px;background:#fff;box-shadow:0 4px 14px rgba(12,17,18,.03);transition:border-color .15s ease,box-shadow .15s ease}
.fo-chat-compose-row:focus-within{border-color:#92d7b0;box-shadow:0 0 0 4px rgba(0,230,118,.07)}
.fo-chat-compose textarea{display:block;flex:1;min-width:0;min-height:38px;max-height:112px;margin:0!important;padding:8px 1px 4px!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#17211d!important;font-size:11px;line-height:1.45;resize:none}
.fo-chat-send{display:grid;width:39px;height:39px;flex:0 0 39px;place-items:center;padding:0;border:0;border-radius:13px;background:var(--fo-chat-accent);color:#06110b;cursor:pointer;transition:transform .15s ease,filter .15s ease}
.fo-chat-send:hover{transform:translateY(-1px);filter:brightness(.98)}
.fo-chat-send svg{width:16px;height:16px}
.fo-chat-compose-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;padding:0 2px;color:#8c9390;font-size:8.1px}
.fo-chat-count{display:none;color:#a53b31;font-weight:680}
.fo-chat-count.is-visible{display:inline}
.fo-chat-end{padding:0;border:0;background:transparent;color:#69726e;font-size:8.1px;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.fo-chat-inline-error{margin-top:7px;padding:8px 9px;border-radius:10px;background:#fff0ee;color:#9d2f25;font-size:9px}
.fo-chat-closed{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-top:1px solid var(--fo-chat-line);background:#fff}
.fo-chat-closed strong{display:block;font-size:10.5px}.fo-chat-closed span{display:block;margin-top:3px;color:#7f8784;font-size:8.7px;line-height:1.35}
.fo-chat-closed button{flex:0 0 auto;min-height:36px;padding:8px 10px;border:0;border-radius:11px;background:#0b1110;color:#fff;font-size:9px;font-weight:700;cursor:pointer}

/* Focus and motion */
.fo-chat-launcher:focus-visible,.fo-chat-prompt button:focus-visible,.fo-chat-close:focus-visible,.fo-chat-nav button:focus-visible,.fo-chat-home-card:focus-visible,.fo-chat-back:focus-visible,.fo-chat-help-item:focus-visible,.fo-chat-help-all:focus-visible,.fo-chat-quick button:focus-visible,.fo-chat-button:focus-visible,.fo-chat-send:focus-visible,.fo-chat-end:focus-visible,.fo-chat-closed button:focus-visible{outline:3px solid rgba(0,230,118,.28);outline-offset:2px}
@keyframes foChatMsg{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* Short laptops */
@media (min-width:761px) and (max-height:760px){
  .fo-chat-panel{right:16px;bottom:16px;width:min(410px,calc(100vw - 32px));height:calc(100dvh - 32px);min-height:430px}
  .flowops-chat-root[data-position="left"] .fo-chat-panel{right:auto;left:16px}
  .fo-chat-launcher{right:16px;bottom:16px;height:54px}.flowops-chat-root[data-position="left"] .fo-chat-launcher{right:auto;left:16px}
  .fo-chat-launcher-mark{width:42px;height:42px;flex-basis:42px}.fo-chat-launcher-mark img{width:38px;height:38px}
  .fo-chat-prompt{right:16px;bottom:78px}.flowops-chat-root[data-position="left"] .fo-chat-prompt{right:auto;left:16px}
  .fo-chat-hero{min-height:205px;padding-top:20px}.fo-chat-home{background:linear-gradient(180deg,#0b1110 0,#0b1110 205px,#f7f4f1 205px,#f7f4f1 100%)}
  .fo-chat-hero-mark{margin-bottom:13px}.fo-chat-hero h2{font-size:24px}.fo-chat-home-stack{margin-top:-19px}
  .fo-chat-intro{padding:11px}.fo-chat-intro h2{font-size:16px}.fo-chat-field textarea{min-height:58px!important}
}

/* Tablet and smaller laptop */
@media (min-width:761px) and (max-width:1180px){
  .fo-chat-launcher{right:18px;bottom:18px}.flowops-chat-root[data-position="left"] .fo-chat-launcher{right:auto;left:18px}
  .fo-chat-panel{right:18px;bottom:18px;width:min(410px,calc(100vw - 36px));height:min(690px,calc(100dvh - 36px));min-height:480px}.flowops-chat-root[data-position="left"] .fo-chat-panel{right:auto;left:18px}
  .fo-chat-prompt{right:18px;bottom:86px}.flowops-chat-root[data-position="left"] .fo-chat-prompt{right:auto;left:18px}
}

/* Mobile and portrait tablet use a true full screen messenger. */

/* Mobile app surface and keyboard state */
.flowops-chat-root .fo-chat-mobile-backdrop{display:none}
@media (max-width:760px){
  .flowops-chat-root.is-open .fo-chat-mobile-backdrop{display:block;position:fixed;inset:0;z-index:1;background:#fff;pointer-events:none}
  .flowops-chat-root.is-keyboard .fo-chat-nav{display:none}
  .flowops-chat-root.is-keyboard .fo-chat-stage{padding-bottom:0}
  .flowops-chat-root.is-keyboard .fo-chat-start-scroll,.flowops-chat-root.is-keyboard .fo-chat-help-results,.flowops-chat-root.is-keyboard .fo-chat-messages{scroll-padding-bottom:22px}
  .flowops-chat-root.is-keyboard .fo-chat-compose{padding-bottom:8px}
}
@media (max-width:760px){
  .flowops-chat-root.is-open .fo-chat-scrim{opacity:1;visibility:visible;pointer-events:none}
  .fo-chat-launcher{right:14px;bottom:max(14px,env(safe-area-inset-bottom));width:58px;min-width:58px;height:58px;padding:6px;border-radius:50%;justify-content:center}.flowops-chat-root[data-position="left"] .fo-chat-launcher{right:auto;left:14px}
  .fo-chat-launcher-copy{display:none}.fo-chat-launcher-mark{width:46px;height:46px;flex-basis:46px}.fo-chat-launcher-mark img{width:41px;height:41px}
  .fo-chat-prompt,.flowops-chat-root[data-position="left"] .fo-chat-prompt{right:14px;left:auto;bottom:82px;width:min(300px,calc(100vw - 28px))}
  .fo-chat-panel,.flowops-chat-root[data-position="left"] .fo-chat-panel{top:0;right:0;bottom:0;left:0;width:100%;height:100vh;height:100dvh;min-height:0;max-height:none;border:0;border-radius:0;transform:translateY(18px);transform-origin:bottom center;box-shadow:none;background:#fff}
  .fo-chat-panel.is-open{transform:none}
  .fo-chat-head{min-height:66px;padding:max(10px,env(safe-area-inset-top)) 11px 10px 13px}
  .fo-chat-head-mark{width:40px;height:40px;flex-basis:40px;border-radius:14px}.fo-chat-head-mark img{width:36px;height:36px}.fo-chat-close{width:40px;height:40px}
  .fo-chat-stage{min-height:0}
  .fo-chat-nav{padding:5px 7px max(7px,env(safe-area-inset-bottom))}
  .fo-chat-nav button{min-height:54px}
  .fo-chat-home{background:linear-gradient(180deg,#0b1110 0,#0b1110 232px,#f7f4f1 232px,#f7f4f1 100%)}
  .fo-chat-hero{min-height:232px;padding:25px 20px 36px}.fo-chat-hero h2{font-size:27px}.fo-chat-home-stack{margin:-23px 12px 0}
  .fo-chat-start-scroll{padding:11px 12px 14px}
  .fo-chat-help-search{margin:11px 11px 8px}.fo-chat-help-results{padding:0 11px 12px}
  .fo-chat-messages{padding:14px 12px}.fo-chat-compose{padding:8px 9px max(8px,env(safe-area-inset-bottom))}
  .fo-chat-field input,.fo-chat-field textarea,.fo-chat-compose textarea,.fo-chat-help-search input{font-size:16px!important}
  .fo-chat-field input{height:46px!important}.fo-chat-field textarea{min-height:86px!important}
}

@media (max-width:420px){
  .fo-chat-head-copy strong{font-size:12.8px}.fo-chat-head-copy span{font-size:9.1px}
  .fo-chat-hero{padding-left:18px;padding-right:18px}.fo-chat-hero h2{font-size:25px}
  .fo-chat-home-card{grid-template-columns:38px minmax(0,1fr) 34px;gap:10px;padding:13px}.fo-chat-home-icon{width:38px;height:38px}.fo-chat-home-arrow{width:32px;height:32px}.fo-chat-home-card strong{font-size:11.8px}.fo-chat-home-card small{font-size:9.4px}
  .fo-chat-view-title{padding:9px 10px}.fo-chat-back{width:34px;height:34px}
  .fo-chat-start-scroll{padding:10px 11px 12px}.fo-chat-intro{padding:12px;border-radius:16px}.fo-chat-intro h2{font-size:17px}
  .fo-chat-quick{display:grid;grid-template-columns:1fr 1fr}.fo-chat-quick button:last-child{grid-column:1/-1}
  .fo-chat-help-item{padding:11px}.fo-chat-help-item strong{font-size:10.4px}
}

/* Landscape phones: full width and short-height optimised. */
@media (max-height:520px) and (max-width:950px) and (orientation:landscape){
  .fo-chat-panel,.flowops-chat-root[data-position="left"] .fo-chat-panel{top:0;right:0;bottom:0;left:0;width:100%;height:100vh;height:100dvh;border-radius:0;background:#fff}
  .fo-chat-head{min-height:54px;padding:6px 10px}.fo-chat-head-mark{width:36px;height:36px;flex-basis:36px}.fo-chat-head-mark img{width:33px;height:33px}.fo-chat-close{width:36px;height:36px}
  .fo-chat-nav{padding:3px 6px}.fo-chat-nav button{min-height:45px;padding:3px}.fo-chat-nav svg{width:16px;height:16px}
  .fo-chat-hero{min-height:170px;padding:13px 18px 24px}.fo-chat-hero-mark{width:38px;height:38px;margin-bottom:9px}.fo-chat-hero-mark img{width:34px;height:34px}.fo-chat-hero h2{font-size:21px}.fo-chat-hero small{margin-top:6px;font-size:9.2px}
  .fo-chat-home{background:linear-gradient(180deg,#0b1110 0,#0b1110 170px,#f7f4f1 170px,#f7f4f1 100%)}
  .fo-chat-home-stack{margin:-17px 10px 0;grid-template-columns:1fr 1fr}.fo-chat-home-card{grid-template-columns:32px minmax(0,1fr) 28px;gap:7px;padding:9px}.fo-chat-home-icon{width:32px;height:32px}.fo-chat-home-arrow{width:28px;height:28px}.fo-chat-home-card strong{font-size:10px}.fo-chat-home-card small{font-size:8px}
  .fo-chat-start-scroll{padding:7px 10px}.fo-chat-intro{padding:9px;margin-bottom:6px}.fo-chat-intro h2{margin-top:5px;font-size:15px}.fo-chat-quick{margin-bottom:6px}.fo-chat-field{margin-bottom:5px}.fo-chat-field input{height:36px!important}.fo-chat-field textarea{min-height:52px!important}.fo-chat-consent{margin:5px 0}.fo-chat-button{min-height:36px}
}

@media (prefers-reduced-motion:reduce){
  .flowops-chat-root *{scroll-behavior:auto!important}
  .fo-chat-panel,.fo-chat-launcher,.fo-chat-prompt,.fo-chat-stage,.fo-chat-home-card,.fo-chat-help-item,.fo-chat-msg{transition:none!important;animation:none!important}
}

html.fo-chat-viewport-lock{overflow:hidden!important;overscroll-behavior:none!important}html.fo-chat-viewport-lock body{overflow:hidden!important;overscroll-behavior:none!important;touch-action:none}


/* FlowOps 1.6 premium polish */
.flowops-chat-root{
  --fo-chat-accent:#00e676;
  --fo-chat-accent-dark:#00c96a;
  --fo-chat-cream:#fbf9f6;
  --fo-chat-mint:#eafbf2;
  --fo-chat-peach:#fff4ec;
  --fo-chat-lilac:#f6ecff;
}
.fo-chat-panel{width:min(416px,calc(100vw - 44px));border-radius:26px;border-color:rgba(13,20,18,.09);box-shadow:0 28px 70px rgba(20,24,22,.14),0 8px 22px rgba(20,24,22,.06)}
.fo-chat-head{background:#0b1110;min-height:66px;padding:11px 12px 11px 13px}
.fo-chat-head-copy strong{font-size:13.8px;letter-spacing:-.018em}.fo-chat-head-copy span{font-size:9.7px}
.fo-chat-head-copy i{background:#00e676;box-shadow:none}
.fo-chat-close{border-color:rgba(255,255,255,.075);background:rgba(255,255,255,.045)}
.fo-chat-stage{background:var(--fo-chat-cream)}
.fo-chat-home{background:linear-gradient(180deg,#0b1110 0,#0b1110 218px,var(--fo-chat-cream) 218px,var(--fo-chat-cream) 100%)}
.fo-chat-hero{min-height:218px;padding:26px 22px 32px}.fo-chat-hero p{font-size:9.2px;letter-spacing:.12em}.fo-chat-hero h2{max-width:340px;font-size:29px;line-height:1.03;letter-spacing:-.047em}.fo-chat-hero small{max-width:33em;font-size:10.6px;line-height:1.55}
.fo-chat-hero-glow{right:-58px;top:-84px;width:228px;height:228px;background:radial-gradient(circle,rgba(0,230,118,.20),rgba(0,230,118,0) 69%)}
.fo-chat-home-stack{margin:-20px 13px 0;gap:9px}
.fo-chat-home-card{grid-template-columns:40px minmax(0,1fr) 34px;gap:11px;padding:13px;border-radius:18px;border-color:rgba(13,20,18,.07);box-shadow:0 7px 18px rgba(31,25,23,.045)}
.fo-chat-home-card:first-child{background:linear-gradient(135deg,#f0fff7 0,#fffaf4 100%);border-color:rgba(0,201,106,.18)}
.fo-chat-home-card strong{font-size:12.2px}.fo-chat-home-card small{font-size:9.7px;line-height:1.45}.fo-chat-home-arrow{background:#f4f6f5;color:#29332f}.fo-chat-home-card:first-child .fo-chat-home-arrow{background:#00e676;color:#06110b}
.fo-chat-home-footer{color:#8a918e;font-size:8.8px;letter-spacing:.01em}
.fo-chat-view-title{background:#fff}.fo-chat-start-scroll,.fo-chat-help-view,.fo-chat-message-view{background:var(--fo-chat-cream)}
.fo-chat-intro{background:linear-gradient(135deg,var(--fo-chat-mint),#fff8ed);border-color:rgba(13,20,18,.08);box-shadow:none}
.fo-chat-intro h2{letter-spacing:-.025em}.fo-chat-quick button{background:#fff;border-color:rgba(13,20,18,.10);box-shadow:none}.fo-chat-quick button:hover{border-color:rgba(0,201,106,.32);background:#f3fff8}
.fo-chat-field input,.fo-chat-field textarea{background:#fff!important;border-color:#dfe5e2!important}.fo-chat-field input:focus,.fo-chat-field textarea:focus{border-color:#8ddbb0!important;box-shadow:0 0 0 4px rgba(0,230,118,.07)!important}
.fo-chat-button,.fo-chat-send{background:#00e676!important;color:#06110b!important;box-shadow:none!important}.fo-chat-button:hover,.fo-chat-send:hover{background:#00d96f!important;filter:none!important}
.fo-chat-help-search{background:#fff;border-color:#dde5e1}.fo-chat-help-search:focus-within{border-color:#86d9aa;box-shadow:0 0 0 4px rgba(0,230,118,.07)}
.fo-chat-help-item{background:#fff;border-color:rgba(13,20,18,.07);box-shadow:0 4px 13px rgba(31,25,23,.035)}
.fo-chat-help-all{background:#0b1110;color:#fff;border-color:#0b1110}.fo-chat-help-all:hover{background:#151c1a}
.fo-chat-nav{background:rgba(255,255,255,.985)}.fo-chat-nav button.is-active{background:#edf8f1;border-color:#d8efe1;color:#0b1110}.fo-chat-nav button.is-active::before{background:#00e676}
.fo-chat-prompt{box-shadow:0 14px 34px rgba(25,30,28,.10)}.fo-chat-prompt-mark{background:#eafff3}.fo-chat-prompt-mark img{width:38px;height:38px;filter:none}

/* Pure icon launcher on phones. No black plate, ring or ambient shadow. */
@media (max-width:760px){
  .fo-chat-launcher,.flowops-chat-root[data-position="left"] .fo-chat-launcher{
    right:14px;left:auto;bottom:max(14px,env(safe-area-inset-bottom));width:54px;min-width:54px;height:54px;padding:0;border:0;border-radius:17px;background:transparent!important;box-shadow:none!important;filter:none!important;overflow:visible;transform:none
  }
  .flowops-chat-root[data-position="left"] .fo-chat-launcher{right:auto;left:14px}
  .fo-chat-launcher:hover,.fo-chat-launcher:active{transform:none!important;box-shadow:none!important}
  .fo-chat-launcher-mark{width:54px;height:54px;flex-basis:54px;border-radius:17px;background:transparent!important;box-shadow:none!important;filter:none!important;overflow:hidden}
  .fo-chat-launcher-mark img{width:54px;height:54px;filter:none!important;box-shadow:none!important;border-radius:17px}
  .fo-chat-unread{top:-4px;right:-4px;border-width:2px;border-color:#fff}
  .fo-chat-panel,.flowops-chat-root[data-position="left"] .fo-chat-panel{
    top:var(--fo-chat-vtop);right:0;bottom:auto;left:0;width:100%;height:var(--fo-chat-vvh);min-height:0;max-height:none;border:0;border-radius:0;box-shadow:none!important;background:var(--fo-chat-cream);transform:translateY(10px)
  }
  .flowops-chat-root.is-open .fo-chat-mobile-backdrop{inset:-160px;background:var(--fo-chat-cream)}
  .fo-chat-head{padding:max(10px,env(safe-area-inset-top)) 12px 10px 14px}
  .fo-chat-home{background:linear-gradient(180deg,#0b1110 0,#0b1110 214px,var(--fo-chat-cream) 214px,var(--fo-chat-cream) 100%)}
  .fo-chat-hero{min-height:214px;padding:24px 19px 31px}.fo-chat-hero h2{font-size:27px}
  .fo-chat-home-stack{margin:-19px 11px 0}
  .fo-chat-nav{padding:4px 7px max(6px,env(safe-area-inset-bottom));box-shadow:0 -1px 0 rgba(13,20,18,.06)}
  .fo-chat-nav button{min-height:52px;border-radius:15px}
  .flowops-chat-root.is-keyboard .fo-chat-nav{display:none!important}
  .flowops-chat-root.is-keyboard .fo-chat-panel{height:var(--fo-chat-vvh)!important;top:var(--fo-chat-vtop)!important}
  .flowops-chat-root.is-keyboard .fo-chat-head{min-height:58px;padding-top:8px}
  .flowops-chat-root.is-keyboard .fo-chat-view-title{min-height:52px;padding-top:7px;padding-bottom:7px}
  .flowops-chat-root.is-keyboard .fo-chat-start-scroll,.flowops-chat-root.is-keyboard .fo-chat-help-results,.flowops-chat-root.is-keyboard .fo-chat-messages{overscroll-behavior:contain;scroll-padding-bottom:18px}
  .flowops-chat-root.is-keyboard .fo-chat-compose{padding-bottom:max(7px,env(safe-area-inset-bottom))}
}
@media (min-width:761px) and (max-width:1180px){
  .fo-chat-panel{width:min(404px,calc(100vw - 36px));border-radius:24px}
  .fo-chat-home{background:linear-gradient(180deg,#0b1110 0,#0b1110 210px,var(--fo-chat-cream) 210px,var(--fo-chat-cream) 100%)}
  .fo-chat-hero{min-height:210px;padding:23px 21px 29px}.fo-chat-hero h2{font-size:27px}
}
@media (min-width:1400px){
  .fo-chat-panel{width:420px;height:min(730px,calc(100dvh - 48px));right:24px;bottom:24px}
  .fo-chat-launcher{right:24px;bottom:24px}.fo-chat-prompt{right:24px;bottom:94px}
}

/* v1.6.1 Help footer visibility fix */
.fo-chat-help{display:flex;flex:1;min-height:0;min-width:0;flex-direction:column;overflow:hidden;background:#f8f6f3}
.fo-chat-help-footer{position:relative;z-index:3;flex:0 0 auto;padding:8px 12px 11px;border-top:1px solid rgba(13,20,18,.07);background:rgba(248,246,243,.98);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.fo-chat-help-footer .fo-chat-help-all{margin:0;min-height:44px;background:#0b1110;color:#fff;border-color:#0b1110;box-shadow:0 7px 18px rgba(11,17,16,.08)}
.fo-chat-help-footer .fo-chat-help-all:hover{background:#151c1a;border-color:#151c1a}
@media (max-width:760px){
  .fo-chat-help-footer{padding:8px 11px max(10px,env(safe-area-inset-bottom));background:#fff}
  .fo-chat-help-footer .fo-chat-help-all{min-height:48px;border-radius:15px;font-size:11px}
  .flowops-chat-root.is-keyboard .fo-chat-help-footer{padding-bottom:8px}
}

/* v1.6.3 field and navigation polish */
.fo-chat-field>span{font-size:9.6px;font-weight:720;line-height:1.3}
.fo-chat-field input::placeholder{color:#9aa29f;opacity:1;font-weight:500}
@media (max-width:760px){.fo-chat-nav{gap:6px;padding-left:10px;padding-right:10px}.fo-chat-nav button{min-height:54px;border-radius:15px}.fo-chat-nav button:hover{transform:none}}

/* v1.6.4 identity field parity: browsers can style email placeholders differently. */
.flowops-chat-root .fo-chat-field input[name="name"],
.flowops-chat-root .fo-chat-field input[name="email"]{
  color:#16201c!important;
  -webkit-text-fill-color:#16201c!important;
  font-size:11.5px!important;
  font-weight:500!important;
  line-height:1.4!important;
}
.flowops-chat-root .fo-chat-field input[name="name"]::placeholder,
.flowops-chat-root .fo-chat-field input[name="email"]::placeholder{
  color:#9aa29f!important;
  -webkit-text-fill-color:#9aa29f!important;
  opacity:1!important;
  font-size:11.5px!important;
  font-weight:500!important;
  line-height:1.4!important;
}
.flowops-chat-root .fo-chat-field input[name="name"]::-webkit-input-placeholder,
.flowops-chat-root .fo-chat-field input[name="email"]::-webkit-input-placeholder{
  color:#9aa29f!important;
  -webkit-text-fill-color:#9aa29f!important;
  opacity:1!important;
  font-size:11.5px!important;
  font-weight:500!important;
}
.flowops-chat-root .fo-chat-field input[name="name"]::-moz-placeholder,
.flowops-chat-root .fo-chat-field input[name="email"]::-moz-placeholder{
  color:#9aa29f!important;
  opacity:1!important;
  font-size:11.5px!important;
  font-weight:500!important;
}
@media (max-width:760px){
  .flowops-chat-root .fo-chat-field input[name="name"],
  .flowops-chat-root .fo-chat-field input[name="email"],
  .flowops-chat-root .fo-chat-field input[name="name"]::placeholder,
  .flowops-chat-root .fo-chat-field input[name="email"]::placeholder{
    font-size:16px!important;
  }
}


/* v1.7 support states */
.fo-chat-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.fo-chat-head-copy>span{display:grid!important;grid-template-columns:8px auto!important;column-gap:6px!important;align-items:center!important}
.fo-chat-head-copy>span i{grid-row:1 / span 2!important}
.fo-chat-head-copy>span .fo-chat-availability{font-size:10px!important;line-height:1.15!important;font-weight:800!important;color:#fff!important}
.fo-chat-head-copy>span small{font-size:9px!important;line-height:1.25!important;color:rgba(255,255,255,.62)!important}
.fo-chat-typing{display:none;align-items:center;gap:4px;padding:7px 13px 10px;color:#69716d;font-size:11px}
.fo-chat-typing.is-visible{display:flex}
.fo-chat-typing span{width:5px;height:5px;border-radius:50%;background:#00c96b;animation:foTyping 1s infinite ease-in-out}
.fo-chat-typing span:nth-child(2){animation-delay:.12s}.fo-chat-typing span:nth-child(3){animation-delay:.24s}
.fo-chat-typing em{font-style:normal;margin-left:4px}
@keyframes foTyping{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-3px);opacity:1}}

/* v1.7.1 conversation polish */
.fo-chat-thread-bar{display:flex;align-items:center;gap:10px;min-height:58px;padding:9px 12px;border-bottom:1px solid var(--fo-chat-line);background:#fff;flex:0 0 auto}
.fo-chat-thread-bar>div{min-width:0;flex:1}.fo-chat-thread-bar strong{display:block;font-size:12px;line-height:1.2;color:#17211d}.fo-chat-thread-bar span{display:block;margin-top:2px;color:#8a928e;font-size:8.6px}
.fo-chat-thread-end{border:0;background:transparent;color:#6b7470;font-size:9px;font-weight:700;cursor:pointer;padding:8px;border-radius:9px}.fo-chat-thread-end:hover{background:#f4f6f5;color:#17211d}.fo-chat-thread-end:disabled{cursor:default;background:transparent;color:#9aa39f;pointer-events:none}
.fo-chat-messages{position:relative;padding:18px 14px 22px;background:linear-gradient(180deg,#fbf8f5 0,#fff 34%,#fff 100%)}
.fo-chat-day-note{margin:0 auto 20px;padding:5px 10px;background:#f5f6f5;border:1px solid #e5e8e6;color:#8a928e;font-size:8.3px}
.fo-chat-msg{max-width:78%;margin-bottom:14px}
.fo-chat-bubble{padding:11px 13px;border-radius:16px;font-size:11px;line-height:1.5}
.fo-chat-msg.visitor .fo-chat-bubble{border-bottom-right-radius:7px}
.fo-chat-msg.agent .fo-chat-bubble{border-bottom-left-radius:7px;box-shadow:none}
.fo-chat-meta{margin-top:5px;font-size:8.2px;gap:6px}.fo-chat-msg.agent .fo-chat-meta span:first-child{font-weight:700;color:#727b77}
.fo-chat-typing{position:relative;margin:2px 0 14px;max-width:190px;padding:9px 11px;border:1px solid #e0e6e2;border-radius:14px;background:#fff;color:#69716d;font-size:9px;box-shadow:none}
.fo-chat-typing.is-visible{display:flex}.fo-chat-typing em{font-size:9px}
.fo-chat-compose{padding:10px 12px 12px;background:rgba(255,255,255,.98);border-top:1px solid #e8ebe9}
.fo-chat-compose-row{border-radius:16px;box-shadow:none;padding:4px 4px 4px 10px}.fo-chat-compose-row:focus-within{box-shadow:0 0 0 3px rgba(0,230,118,.07)}
.fo-chat-compose-foot:empty{display:none}.fo-chat-compose-foot{min-height:0;margin-top:4px}
@media(max-width:760px){
  .fo-chat-thread-bar{min-height:62px;padding:9px 14px}.fo-chat-thread-bar strong{font-size:16px}.fo-chat-thread-bar span{font-size:11px}
  .fo-chat-thread-end{font-size:11px;padding:8px 10px}
  .fo-chat-messages{padding:20px 20px 26px}.fo-chat-msg{max-width:86%;margin-bottom:16px}.fo-chat-bubble{font-size:16px;line-height:1.45;padding:12px 15px;border-radius:18px}
  .fo-chat-meta{font-size:11px;margin-top:6px}.fo-chat-day-note{font-size:10px;margin-bottom:22px}
  .fo-chat-typing{font-size:12px;max-width:220px;padding:10px 13px}.fo-chat-typing em{font-size:12px}
  .fo-chat-compose{padding:10px 14px max(12px,env(safe-area-inset-bottom))}.fo-chat-compose-row{min-height:54px;border-radius:18px}
  .fo-chat-compose textarea{font-size:16px;min-height:42px}.fo-chat-send{width:44px;height:44px;flex-basis:44px;border-radius:14px}
}

/* v1.7.4 response window */
.fo-chat-response-window{display:none;margin:0 0 14px;max-width:290px;border-radius:14px;font-size:9px;line-height:1.45}
.fo-chat-response-window.is-counting,.fo-chat-response-window.is-expired{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border:1px solid #dfe6e2;background:#fff;color:#4e5954}
.fo-chat-response-window.is-counting{background:#f5fbf7;border-color:#d5eadc}
.fo-chat-response-window.is-expired{max-width:340px;background:#fff8ef;border-color:#f0dfc9}
.fo-chat-response-window strong{display:block;color:#17211d;font-size:9.5px;font-weight:800;margin-bottom:2px}
.fo-chat-response-window small{display:block;color:#6f7874;font-size:8.8px;line-height:1.5}
.fo-chat-response-window b{font:inherit;font-weight:800;color:#0b7d46}
.fo-chat-response-dot{width:7px;height:7px;border-radius:50%;background:#00d979;box-shadow:0 0 0 4px rgba(0,217,121,.10);margin-top:4px;flex:none}
@media (max-width:760px){.fo-chat-response-window{max-width:88%;margin-bottom:18px}.fo-chat-response-window.is-counting,.fo-chat-response-window.is-expired{padding:12px 14px;border-radius:16px}.fo-chat-response-window strong{font-size:12px}.fo-chat-response-window small{font-size:11px}.fo-chat-response-dot{width:8px;height:8px}}


/* v1.7.5 UK availability, organised header and in-chat end confirmation */
.fo-chat-head-copy{display:flex;min-width:0;flex-direction:column;justify-content:center}
.fo-chat-head-copy>strong{margin:0;font-size:13.8px;line-height:1.15}
.fo-chat-head-status{display:grid;min-width:0;gap:2px;margin-top:4px}
.fo-chat-status-line{display:flex!important;min-width:0;align-items:center!important;gap:6px!important;margin:0!important;overflow:visible!important;white-space:nowrap!important}
.fo-chat-status-line i{display:block!important;width:6px!important;height:6px!important;flex:0 0 6px!important;border-radius:50%!important;background:var(--fo-chat-accent)!important;box-shadow:none!important}
.fo-chat-status-line .fo-chat-availability{display:block!important;overflow:visible!important;color:#fff!important;font-size:9.8px!important;font-weight:760!important;line-height:1.15!important;white-space:nowrap!important}
.fo-chat-status-line em{display:inline-flex;align-items:center;padding:2px 5px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.055);color:rgba(255,255,255,.58);font-size:7.7px;font-style:normal;font-weight:650;line-height:1.1;white-space:nowrap}
.fo-chat-head-status>small{display:block;overflow:hidden;color:rgba(255,255,255,.62);font-size:8.7px;font-weight:540;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.fo-chat-confirm{position:absolute;z-index:50;inset:0;display:grid;place-items:end center;padding:16px;pointer-events:none;opacity:0;transition:opacity .17s ease}
.fo-chat-confirm.is-visible{pointer-events:auto;opacity:1}
.fo-chat-confirm-backdrop{position:absolute;inset:0;background:rgba(7,12,10,.42);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.fo-chat-confirm-card{position:relative;width:min(100%,390px);padding:18px;border:1px solid rgba(13,20,18,.08);border-radius:22px;background:#fff;box-shadow:0 20px 60px rgba(8,13,11,.22);transform:translateY(12px) scale(.985);transition:transform .17s ease}
.fo-chat-confirm.is-visible .fo-chat-confirm-card{transform:none}
.fo-chat-confirm-icon{display:grid;width:38px;height:38px;place-items:center;margin-bottom:12px;border-radius:13px;background:#0b1110;color:#fff}
.fo-chat-confirm-icon svg{width:17px;height:17px}
.fo-chat-confirm-copy strong{display:block;color:#17211d;font-size:15px;font-weight:800;line-height:1.2;letter-spacing:-.02em}
.fo-chat-confirm-copy p{margin:6px 0 0;color:#6e7873;font-size:10.3px;line-height:1.5}
.fo-chat-confirm-actions{display:grid;grid-template-columns:1fr 1.15fr;gap:8px;margin-top:16px}
.fo-chat-confirm-actions button{min-height:40px;padding:8px 11px;border-radius:12px;font-size:10px;font-weight:760;cursor:pointer}
.fo-chat-confirm-cancel{border:1px solid #dfe5e1;background:#fff;color:#2c3933}
.fo-chat-confirm-end{border:1px solid #0b1110;background:#0b1110;color:#fff}
.fo-chat-confirm-end:disabled{opacity:.65;cursor:wait}
@media (max-width:760px){
  .fo-chat-head{min-height:72px!important;padding:max(10px,env(safe-area-inset-top)) 14px 11px!important}
  .fo-chat-head-mark{width:44px!important;height:44px!important;flex-basis:44px!important}
  .fo-chat-head-mark img{width:40px!important;height:40px!important}
  .fo-chat-head-copy>strong{font-size:16px!important;line-height:1.1!important}
  .fo-chat-status-line .fo-chat-availability{font-size:11.5px!important}
  .fo-chat-status-line em{font-size:8.5px!important}
  .fo-chat-head-status>small{font-size:10px!important;line-height:1.25!important}
  .fo-chat-confirm{align-items:end;padding:12px 12px calc(12px + env(safe-area-inset-bottom))}
  .fo-chat-confirm-card{width:100%;padding:18px 17px;border-radius:22px}
  .fo-chat-confirm-copy strong{font-size:18px}.fo-chat-confirm-copy p{font-size:12px}
  .fo-chat-confirm-actions{grid-template-columns:1fr;gap:7px}.fo-chat-confirm-actions button{min-height:46px;font-size:12px}
}


/* v1.7.7 live UK availability and simplified header */
.fo-chat-head-status{margin-top:0!important}
.fo-chat-status-line.is-away i{background:#f0a76a!important}
@media (max-width:760px){
  .fo-chat-head-copy{justify-content:center!important}
  .fo-chat-head-status{gap:3px!important}
}

/* v1.8.0 Support inbox presence status */
.fo-chat-status-line.is-online i{background:var(--fo-chat-accent)!important}
.fo-chat-status-line.is-available i{background:#f0a76a!important}
.fo-chat-status-line.is-away i{background:#c7ceca!important}

/* v1.9 returning history and CSAT */
.fo-chat-message-hub{display:flex;flex:1;min-height:0;flex-direction:column;background:#fff}
.fo-chat-history-scroll{flex:1;min-height:0;overflow:auto;padding:12px 13px 14px;background:#faf7f4;overscroll-behavior:contain}
.fo-chat-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px;padding:12px;border:1px solid #e5e9e6;border-radius:15px;background:#fff}
.fo-chat-history-head strong{display:block;font-size:12px;color:#17211d}.fo-chat-history-head span{display:block;margin-top:4px;font-size:9px;line-height:1.4;color:#7b8580}
.fo-chat-new-conversation{flex:0 0 auto;border:0;border-radius:10px;background:#0b1110;color:#fff;min-height:34px;padding:8px 10px;font-size:9px;font-weight:750;cursor:pointer}
.fo-chat-history-list{display:flex;flex-direction:column;gap:7px}
.fo-chat-history-item{display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:8px;width:100%;border:1px solid #e2e7e4;border-radius:13px;background:#fff;padding:10px 11px;text-align:left;cursor:pointer}
.fo-chat-history-item:hover{border-color:#b8d9c7;background:#f7fcf9}.fo-chat-history-copy{min-width:0}.fo-chat-history-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;color:#17211d}.fo-chat-history-copy small{display:block;margin-top:4px;font-size:8.7px;color:#858d89}.fo-chat-history-item i{display:grid;place-items:center;color:#65706a}.fo-chat-history-item svg{width:15px;height:15px}
.fo-chat-history-loading,.fo-chat-history-empty{padding:18px 12px;border:1px dashed #dce2de;border-radius:13px;background:rgba(255,255,255,.65);text-align:center;font-size:9.5px;color:#7c8581}
.fo-chat-history-privacy{margin-top:10px;font-size:8px;line-height:1.45;color:#929995;text-align:center}
.fo-chat-csat{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-top:1px solid var(--fo-chat-line);background:#f7fbf8}
.fo-chat-csat>div:first-child{min-width:0}.fo-chat-csat strong{display:block;font-size:10.5px;color:#17211d}.fo-chat-csat span{display:block;margin-top:3px;font-size:8.7px;line-height:1.35;color:#7b8580}
.fo-chat-csat-actions{display:flex;gap:6px;flex:0 0 auto}.fo-chat-csat-actions button{display:grid;place-items:center;width:34px;height:34px;border:1px solid #dbe3de;border-radius:10px;background:#fff;font-size:16px;cursor:pointer}.fo-chat-csat-actions button:hover{border-color:#9fd8b8;background:#f0fbf5}.fo-chat-csat-actions button:disabled{opacity:.55;cursor:default}
.fo-chat-csat.is-complete{display:block;background:#f3faf6}.fo-chat-csat-error{display:block;margin-top:5px;color:#9e4336;font-size:8px}
.fo-chat-history-item:focus-visible,.fo-chat-new-conversation:focus-visible,.fo-chat-csat-actions button:focus-visible{outline:3px solid rgba(0,230,118,.28);outline-offset:2px}
@media(max-width:760px){.fo-chat-history-scroll{padding:10px 11px 13px}.fo-chat-history-head{padding:11px}.fo-chat-history-item{padding:11px}.fo-chat-csat{padding:10px 11px}}
