body.messenger-page{margin:0;background:#f2f5f9;color:#182b45}.messenger-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 24px;background:white;color:#17365c;border-bottom:1px solid #dce3ec}.messenger-header a{color:#17365c;text-decoration:none}.messenger-brand{display:flex;align-items:center;gap:10px}.messenger-brand img{width:44px;height:44px;object-fit:contain}.messenger-shell{display:block;max-width:1500px;margin:12px auto;padding:0 12px;width:auto}.messenger-shell article{margin:0;padding:16px;background:white;border-radius:16px}.messenger-shell .chat-layout{grid-template-columns:minmax(230px,32%) minmax(0,1fr);gap:20px}.messenger-shell .chat-sidebar{border-right:1px solid #e4e8ef;padding-right:16px}.messenger-shell #chat-contacts{max-height:65vh}.messenger-shell #inbox{height:clamp(250px,52vh,800px);background:#f5f7fb}.messenger-shell .chat-main form{display:flex;gap:8px;align-items:center;margin-top:12px}.messenger-shell .chat-main textarea{flex:1;min-width:0;margin:0;min-height:48px}.messenger-shell .chat-main button{width:auto;margin:0}.messenger-error{background:#fff0ec;padding:12px}.header-messenger{color:inherit;font-weight:700}@media(max-width:650px){.messenger-header{padding:10px;flex-wrap:wrap}.messenger-header strong{font-size:17px}.messenger-shell .chat-layout{grid-template-columns:1fr;gap:12px}.messenger-shell .chat-sidebar{border-right:0;padding-right:0}.messenger-shell #chat-contacts{max-height:150px}.messenger-shell #inbox{height:42vh}.messenger-shell .chat-main form{flex-wrap:wrap}}