html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}:root{--fb-blue: #1877f2;--fb-bg: #f0f2f5;--fb-border: #e4e6eb;--fb-text: #050505;--fb-text-2: #65676b;--fb-hover: #f0f2f5;--msgr-blue: #0084ff}*{box-sizing:border-box}html,body,#root{margin:0;padding:0}body{background:var(--fb-bg);color:var(--fb-text);font-family:Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px}.fb-header{position:sticky;top:0;z-index:200;height:56px;background:#fff;box-shadow:0 1px 2px #00000014;display:flex;align-items:center;gap:12px;padding:0 16px}.fb-header__left{display:flex;align-items:center;gap:8px;flex:1 1 auto;min-width:0}.fb-logo{width:40px;height:40px;border-radius:50%;background:#1e293b;color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;letter-spacing:.5px;flex-shrink:0;cursor:pointer;-webkit-user-select:none;user-select:none}.fb-brand{font-size:19px;font-weight:800;color:var(--fb-blue);white-space:nowrap}.fb-search{display:flex;align-items:center;gap:8px;height:40px;width:240px;max-width:100%;background:var(--fb-bg);border-radius:999px;padding:0 12px;margin-left:4px}.fb-search input{border:none;outline:none;background:transparent;width:100%;font-size:14px;color:var(--fb-text)}.fb-search input::placeholder{color:var(--fb-text-2)}.fb-burger{display:none;width:40px;height:40px;border:none;border-radius:50%;background:var(--fb-hover);color:var(--fb-text);cursor:pointer;font-size:18px;align-items:center;justify-content:center;flex-shrink:0}.fb-burger:hover{background:var(--fb-border)}.fb-backdrop{display:none}.fb-header__right{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}.fb-user{display:flex;align-items:center;gap:8px;padding:4px 8px;border-radius:999px;cursor:pointer}.fb-user:hover{background:var(--fb-hover)}.fb-user__name{font-weight:600;font-size:14px;white-space:nowrap}.fb-body{display:flex;gap:16px;max-width:1400px;margin:0 auto;padding:16px;align-items:flex-start}.fb-sidebar{width:280px;flex-shrink:0;position:sticky;top:72px;background:#fff;border-radius:8px;padding:10px;max-height:calc(100vh - 88px);overflow-y:auto}.fb-sidebar__title{font-size:16px;font-weight:700;padding:8px 12px 12px}.fb-sidenav{display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:8px;cursor:pointer;font-size:14.5px;font-weight:500;color:var(--fb-text)}.fb-sidenav:hover{background:var(--fb-hover)}.fb-sidenav.active{background:#e7f3ff;color:var(--fb-blue)}.fb-sidenav__icon{width:34px;height:34px;border-radius:50%;background:#e4e6eb;color:var(--fb-blue);display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}.fb-sidenav.active .fb-sidenav__icon{background:var(--fb-blue);color:#fff}.fb-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e5322d;color:#fff;font-size:11px;font-weight:700;margin-left:6px}.fb-main{flex:1;min-width:0}.page-pad{padding:16px}.fb-right{width:300px;flex-shrink:0;position:sticky;top:72px;background:#fff;border-radius:8px;padding:10px;max-height:calc(100vh - 88px);overflow-y:auto}.fb-right__title{font-size:16px;font-weight:700;padding:8px 12px 12px}.fb-contact{display:flex;align-items:center;gap:10px;padding:7px 12px;border-radius:8px;cursor:pointer}.fb-contact:hover{background:var(--fb-hover)}.fb-contact__info{flex:1;min-width:0}.fb-contact__name{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fb-contact__meta{font-size:12px;color:var(--fb-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msgr{display:flex;height:calc(100vh - 56px);background:#fff}.msgr__sidebar{width:340px;flex-shrink:0;border-right:1px solid var(--fb-border);display:flex;flex-direction:column;background:#fff}.msgr__head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px}.msgr__head h1{font-size:20px;font-weight:800;margin:0}.msgr__actions{display:flex;gap:6px}.msgr__iconbtn{width:36px;height:36px;border:none;border-radius:50%;background:#e4e6eb;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#050505;font-size:16px;flex-shrink:0}.msgr__iconbtn:hover{background:#d8dadf}.msgr__back{display:none}.msgr__searchbox{padding:0 16px 12px}.msgr__searchbox input{width:100%;height:36px;border:none;outline:none;border-radius:999px;background:#f0f2f5;padding:0 16px;font-size:14px}.msgr__rooms{flex:1;overflow-y:auto}.msgr__room{display:flex;align-items:center;gap:10px;padding:10px 16px;cursor:pointer}.msgr__room:hover{background:var(--fb-hover)}.msgr__room.active{background:#e7f3ff}.msgr__room__body{flex:1;min-width:0}.msgr__room__top{display:flex;justify-content:space-between;align-items:center;gap:8px}.msgr__room__name{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msgr__room__time{font-size:12px;color:var(--fb-text-2);flex-shrink:0}.msgr__room__last{font-size:13px;color:var(--fb-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msgr__main{flex:1;display:flex;flex-direction:column;min-width:0;background:#fff}.msgr__chat-head{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1px solid var(--fb-border)}.msgr__chat-head__name{font-weight:700;font-size:15px}.msgr__chat-head__status{font-size:12px;color:var(--fb-text-2)}.msgr__messages{flex:1;overflow-y:auto;padding:16px}.msgr__row{display:flex;margin-bottom:2px}.msgr__row.mine{justify-content:flex-end}.msgr__bubble{max-width:62%;padding:8px 12px;border-radius:18px;word-break:break-word}.msgr__row.mine .msgr__bubble{background:var(--msgr-blue);color:#fff;border-bottom-right-radius:4px}.msgr__row.theirs .msgr__bubble{background:#e4e6eb;color:#050505;border-bottom-left-radius:4px}.msgr__sender{font-size:12px;font-weight:600;color:#0a7cff;margin-bottom:2px}.msgr__bubble img{max-width:240px;max-height:240px;border-radius:12px;display:block;margin-top:4px;cursor:pointer}.msgr__bubble__text{font-size:14px;line-height:1.4}.msgr__time-inline{font-size:11px;opacity:.65;margin-top:2px;display:flex;align-items:center;gap:6px;justify-content:flex-end}.msgr__time-inline .anticon{font-size:12px;cursor:pointer;opacity:.7}.msgr__time-inline .anticon:hover{opacity:1}.msgr__pin{color:var(--fb-blue);font-size:12px;margin-right:4px}.msgr__unread{background:var(--fb-blue);color:#fff;border-radius:999px;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.msgr__status{font-size:11px;color:var(--fb-text-2)}.msgr__status--err{color:#e5322d;cursor:pointer;font-weight:600}.msgr__composer{display:flex;align-items:center;gap:8px;padding:12px 16px}.msgr__composer__box{flex:1;display:flex;align-items:center;gap:6px;background:#f0f2f5;border-radius:999px;padding:0 12px}.msgr__composer__box input{flex:1;height:40px;border:none;outline:none;background:transparent;font-size:14px}.msgr__preview{width:40px;height:40px;border-radius:10px;object-fit:cover;flex-shrink:0}.msgr__send{width:40px;height:40px;border:none;border-radius:50%;background:var(--msgr-blue);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}.msgr__send:disabled{background:#c0c4cc;cursor:not-allowed}.msgr__send:not(:disabled):hover{background:#0074e7}@media (max-width: 1100px){.fb-right{display:none}}@media (max-width: 900px){.fb-brand{display:none}.fb-search{width:180px}}@media (max-width: 768px){.fb-burger{display:flex}.fb-search{width:140px}.fb-user__name{display:none}.fb-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:250;background:#00000080}.fb-sidebar{position:fixed;top:0;left:0;bottom:0;width:280px;max-height:none;border-radius:0;z-index:260;transform:translate(-100%);transition:transform .2s ease}.fb-sidebar.open{transform:translate(0)}.fb-body{padding:12px}.msgr__sidebar{width:100%;border-right:none}.msgr__main,.msgr.msgr--chat-open .msgr__sidebar{display:none}.msgr.msgr--chat-open .msgr__main,.msgr__back{display:flex}}
