:root{
  --flt-support-ink:#101820;
  --flt-support-ink2:#172832;
  --flt-support-gold:#d7b56d;
  --flt-support-teal:#00a7b5;
  --flt-support-paper:#f4f7f6;
  --flt-support-line:#d8e1e2;
}
#flt-support-widget{position:relative;z-index:99990}
.flt-support-launcher{
  position:fixed;right:20px;bottom:20px;z-index:99991;
  display:flex;align-items:center;gap:10px;
  border:1px solid rgba(255,255,255,.18);border-radius:999px;
  padding:12px 17px;background:linear-gradient(135deg,var(--flt-support-ink),var(--flt-support-ink2));
  color:#fff;font:800 13px/1 Inter,system-ui,sans-serif;box-shadow:0 18px 50px rgba(16,24,32,.28);
}
.flt-support-launcher::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--flt-support-teal);box-shadow:0 0 0 5px rgba(0,167,181,.15)}
.flt-support-panel{
  position:fixed;right:20px;bottom:78px;z-index:99992;
  width:min(390px,calc(100vw - 24px));height:min(650px,calc(100vh - 110px));
  display:none;flex-direction:column;overflow:hidden;
  border:1px solid rgba(255,255,255,.15);border-radius:20px;
  background:#fff;color:var(--flt-support-ink);
  box-shadow:0 30px 90px rgba(16,24,32,.35);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.flt-support-panel.is-open{display:flex}
.flt-support-head{display:flex;align-items:center;gap:12px;padding:16px;background:linear-gradient(135deg,var(--flt-support-ink),var(--flt-support-ink2));color:#fff}
.flt-support-crown{width:38px;height:38px;object-fit:contain}
.flt-support-head-copy{display:flex;flex:1;flex-direction:column}
.flt-support-head-copy strong{font-size:13px}
.flt-support-head-copy small{margin-top:3px;color:#9edce1;font-size:10px}
.flt-support-head button{border:0;background:transparent;color:#fff;font-size:22px}
.flt-support-body{flex:1;overflow:auto;padding:15px;background:var(--flt-support-paper)}
.flt-support-welcome{margin:0 0 13px;padding:12px;border-left:3px solid var(--flt-support-gold);border-radius:8px;background:#fff;font-size:12px;line-height:1.5}
.flt-support-field{margin-bottom:10px}
.flt-support-field label{display:block;margin-bottom:5px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.flt-support-field input,.flt-support-field select,.flt-support-field textarea{
  width:100%;box-sizing:border-box;border:1px solid #bdcacc;border-radius:10px;padding:10px 11px;background:#fff;color:var(--flt-support-ink);font:13px/1.35 inherit
}
.flt-support-field textarea{min-height:100px;resize:vertical}
.flt-support-button{
  display:inline-flex;align-items:center;justify-content:center;min-height:42px;
  border:0;border-radius:10px;padding:10px 14px;background:var(--flt-support-gold);color:var(--flt-support-ink);
  font:900 11px/1 inherit
}
.flt-support-button.secondary{background:var(--flt-support-ink);color:#fff}
.flt-support-button.ghost{background:#fff;border:1px solid var(--flt-support-line);color:var(--flt-support-ink)}
.flt-support-actions{display:flex;gap:8px;flex-wrap:wrap}
.flt-support-error{margin-bottom:10px;padding:10px;border:1px solid #e5b2b2;border-radius:9px;background:#fae5e5;color:#772d2d;font-size:11px}
.flt-support-thread{display:grid;gap:10px}
.flt-support-message{max-width:85%;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid var(--flt-support-line);font-size:12px;line-height:1.45;white-space:pre-wrap;word-break:break-word}
.flt-support-message.guest{justify-self:end;background:#dff4f5;border-color:#a6dfe3}
.flt-support-message.agent{justify-self:start}
.flt-support-message small{display:block;margin-top:5px;color:#75868b;font-size:9px}
.flt-support-meta{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px;color:#66787e;font-size:10px}
.flt-support-compose{padding:12px;border-top:1px solid var(--flt-support-line);background:#fff}
.flt-support-compose form{display:flex;gap:8px}
.flt-support-compose textarea{flex:1;min-height:44px;max-height:110px;resize:vertical;border:1px solid #bdcacc;border-radius:10px;padding:10px}
.flt-support-status{display:inline-flex;padding:4px 8px;border-radius:999px;background:#e4f2ea;font-size:9px;font-weight:900}
.flt-support-loading{padding:30px;text-align:center;color:#64777d;font-size:12px}
@media(max-width:520px){
  .flt-support-launcher{right:12px;bottom:12px}
  .flt-support-panel{right:6px;bottom:6px;width:calc(100vw - 12px);height:calc(100vh - 12px);border-radius:16px}
}

/* FLT GLOBAL SUPPORT MOBILE FIX V1 */
@media(max-width:820px){
  .flt-support-launcher{
    right:max(12px,env(safe-area-inset-right));
    bottom:max(14px,env(safe-area-inset-bottom));
  }
  .flt-support-panel{
    right:max(6px,env(safe-area-inset-right));
    left:max(6px,env(safe-area-inset-left));
    bottom:max(6px,env(safe-area-inset-bottom));
    width:auto;
    height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)));
    max-height:none;
  }
}
/* /FLT GLOBAL SUPPORT MOBILE FIX V1 */
