/* Global FILE-O premium support — MPDIRECTOR operator bridge.
 * Scoped intentionally; no effects on document editor, ad slots or account.
 */
.fo-support-widget{position:fixed;right:22px;bottom:var(--fo-support-floating-bottom,22px);z-index:2147480000;
  font-family:Onest,Inter,system-ui,-apple-system,sans-serif;color:#302941}
.fo-support-widget[hidden],.fo-support-popup[hidden],.fo-support-unread[hidden]{display:none!important}
.fo-support-launch{height:58px;width:58px;display:flex;align-items:center;
  justify-content:center;position:relative;border:1px solid #7359e3;
  border-radius:50%;background:#7157db;color:#fff;cursor:pointer;
  box-shadow:0 13px 32px #4633ae3b;transition:background .16s,transform .16s}
.fo-support-launch:hover{background:#6047c9;transform:translateY(-2px)}
.fo-support-launch:focus-visible{outline:3px solid #b9a9ff;outline-offset:3px}
.fo-support-launch svg{height:28px;width:28px;fill:none;stroke:currentColor}
.fo-support-unread{position:absolute;top:-5px;right:-3px;width:21px;height:21px;
  display:flex;align-items:center;justify-content:center;font-size:13px;
  font-weight:900;line-height:1;color:#fff;background:#df4b67;border:3px solid #fff;
  border-radius:50%;box-shadow:0 4px 8px #a23d4c38}
.fo-support-popup{width:min(394px,calc(100vw - 30px));height:min(598px,calc(100dvh - 115px));
  position:absolute;right:0;bottom:75px;display:flex;flex-direction:column;
  overflow:hidden;border:1px solid #e4deec;background:#fff;border-radius:18px;
  box-shadow:0 18px 62px #27213d35,0 3px 14px #27213d0b}
.fo-support-head{display:flex;align-items:center;gap:11px;padding:15px 15px 14px;
  border-bottom:1px solid #ebe6f2;background:#fff;flex:none}
.fo-support-avatar{height:39px;width:39px;display:grid;place-items:center;
  border-radius:12px;background:#ece7ff;color:#6046be;font:850 12px/1 Onest,system-ui;
  letter-spacing:.015em;flex:none}
.fo-support-head-info{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.fo-support-head-info strong{font-size:14px;color:#2c2542;letter-spacing:-.025em}
.fo-support-head-info small{font-size:10px;color:#8e829b;line-height:1.35}
.fo-support-close{width:33px;height:33px;border:1px solid #eee8f3;
  border-radius:9px;background:#fff;display:grid;place-items:center;color:#8e8497;
  cursor:pointer;padding:0}
.fo-support-close:hover{background:#f7f3ff;color:#6148b7}
.fo-support-close svg{height:17px;width:17px}
.fo-support-messages{flex:1;min-height:0;overflow-y:auto;background:#faf9fc;
  padding:18px 14px;display:flex;flex-direction:column;gap:11px;scroll-behavior:smooth;
  overscroll-behavior:contain}
.fo-support-empty{margin:auto;padding:22px;text-align:center;max-width:320px}
.fo-support-empty strong{font-size:15px;font-weight:800;color:#4b3a60}
.fo-support-empty p,.fo-support-empty{font-size:12px;line-height:1.7;color:#8a8094}
.fo-support-bubble{max-width:88%;display:flex;flex-direction:column;gap:5px;
  border-radius:14px;padding:11px 13px;word-break:break-word;overflow-wrap:anywhere;
  line-height:1.56;white-space:pre-wrap;font-size:12.5px}
.fo-support-bubble.customer{align-self:flex-end;background:#7157dc;color:#fff;
  border-bottom-right-radius:5px}
.fo-support-bubble.operator{align-self:flex-start;background:#fff;color:#3d3550;
  border:1px solid #ebe6ef;border-bottom-left-radius:5px}
.fo-support-text{white-space:pre-wrap}
.fo-support-time{display:block;text-align:right;font-size:9px;font-weight:550;opacity:.7}
.fo-support-compose{display:flex;gap:8px;align-items:flex-end;padding:12px 12px 9px;
  border-top:1px solid #ebe6ef;background:#fff;flex:none}
.fo-support-input{font-family:inherit;font-size:12.5px;line-height:1.45;
  flex:1;min-width:0;min-height:43px;max-height:104px;resize:none;
  color:#302b3d;border:1px solid #ded7e8;border-radius:10px;
  padding:11px 12px;outline:none;background:#fff}
.fo-support-input:focus{border-color:#9c85e8;box-shadow:0 0 0 3px #8872e41a}
.fo-support-send{width:43px;height:43px;border:0;border-radius:10px;
  background:#7157dc;color:#fff;display:grid;place-items:center;cursor:pointer;
  flex:none;padding:0}
.fo-support-send:hover{background:#6045bd}
.fo-support-send:disabled{opacity:.55;cursor:wait}
.fo-support-send svg{height:19px;width:19px}
.fo-support-status{font-size:10.5px;line-height:1.4;min-height:0;
  background:#fff;color:#6552aa;padding:0 14px;margin:0}
.fo-support-status.is-error{color:#af3d55}
.fo-support-status:not(:empty){padding:5px 14px 8px}
.fo-support-privacy{border-top:1px solid #f0edf3;background:#fff;
  margin:0;padding:9px 14px 11px;color:#a199ab;font-size:9.4px;line-height:1.5}
body.fo-support-open{--support-open:1}
@media(max-width:760px){
  .fo-support-widget{right:13px;bottom:var(--fo-support-floating-bottom,76px)}
  .fo-support-launch{width:52px;height:52px}
  .fo-support-launch svg{width:25px;height:25px}
  .fo-support-popup{position:fixed;right:10px;left:10px;bottom:calc(var(--fo-support-floating-bottom,76px) + 64px);
    width:auto;height:min(630px,calc(100dvh - var(--fo-support-floating-bottom,76px) - 84px));border-radius:16px}
  .fo-support-head{padding:11px 13px}
  .fo-support-messages{padding:13px 10px}
  .fo-support-bubble{max-width:89%}
}
@media(max-width:420px){
  .fo-support-popup{bottom:calc(var(--fo-support-floating-bottom,76px) + 64px);
    max-height:calc(100dvh - var(--fo-support-floating-bottom,76px) - 84px)}
  .fo-support-privacy{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  .fo-support-launch,.fo-support-messages{transition:none;scroll-behavior:auto}
}
