.team-chat.refreshed-team-chat{display:flex;flex-direction:column;height:clamp(460px,72svh,760px);min-height:0;overflow:hidden;border:1px solid #dce5f0;border-radius:24px;box-shadow:0 14px 36px #17396314;margin-top:16px;background:#f4f6fb}.team-chat .chat-header{display:flex;align-items:center;gap:12px;flex:none;padding:17px 19px!important;min-height:0!important;background:linear-gradient(115deg,#102c61,#1e5093 58%,#573888);border-bottom:3px solid #e6bd50}.team-chat .chat-group-icon{width:48px!important;height:48px!important;min-width:48px;border-radius:15px;background:transparent;padding:0;overflow:hidden}.chat-group-icon img{width:100%;height:100%;object-fit:cover}.team-chat .chat-header-copy{min-width:0;flex:1}.team-chat .chat-header-copy>span{font-size:9px;letter-spacing:.1em;color:#f9da85}.team-chat .chat-header-copy h2{font-size:20px!important;margin:3px 0!important;line-height:1.2;color:#fff}.team-chat .chat-header-copy p{font-size:11px!important;color:#dbe7ff;margin:0}.team-chat .chat-current-user{display:none!important}.team-chat .chat-statusbar{flex:none;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 17px!important;min-height:0!important;background:#fff;border-bottom:1px solid #e3e9f3}.team-chat .chat-statusbar>span{font-size:10px!important;white-space:nowrap}.team-chat .chat-statusbar>small{font-size:9px!important;color:#9a7c2b}.team-chat .chat-messages{flex:1;min-height:0!important;height:auto!important;max-height:none!important;padding:19px 15px!important;overflow:auto;overscroll-behavior:contain;background-color:#f3f2ec;background-image:radial-gradient(#c9b57833 .7px,transparent .7px);background-size:18px 18px;scrollbar-width:thin}.team-chat .chat-row{display:flex;align-items:flex-end;gap:7px;margin:0 0 14px;justify-content:flex-start}.team-chat .chat-row.own{flex-direction:row;justify-content:flex-end}.team-chat .chat-avatar{width:26px;height:26px;flex:0 0 26px;border-radius:50%;font-size:9px;background:#dfe7f4;color:#365789;box-shadow:none}.team-chat .chat-row.own .chat-avatar{display:none}.team-chat .chat-bubble{position:relative;max-width:83%;min-width:90px;padding:11px 13px 8px!important;background:#fff!important;border:1px solid #e1e5eb!important;border-radius:15px 15px 15px 4px!important;box-shadow:0 2px 5px #10295008;color:#26344d}.team-chat .chat-row.own .chat-bubble{background:#fff1c7!important;border-color:#eedaa0!important;border-radius:15px 15px 4px 15px!important}.team-chat .chat-bubble>div{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin-bottom:5px}.team-chat .chat-bubble b{font-size:11px;color:#325a92}.team-chat .chat-row.own .chat-bubble b{color:#876719}.team-chat .chat-bubble small{font-size:9px;color:#7a879a}.team-chat .chat-bubble p{margin:3px 0 7px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;font-size:14px;color:#26344d}.chat-message-time{font-size:9px!important;line-height:1.3;color:#89909b;text-align:right;padding:0!important;background:transparent!important;border:0!important}.team-chat .chat-delete{font-size:9px;color:#a54b50;background:transparent;border:0;padding:4px 0 0}.team-chat .chat-empty{height:100%;min-height:0!important;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:9px;padding:25px;background:none!important}.team-chat .chat-empty>span{font-size:25px;width:60px;height:60px;display:grid;place-items:center;border-radius:20px;background:#fff5d7;color:#a68120}.team-chat .chat-empty>b{font-size:15px;color:#526681}.team-chat .chat-empty>small{font-size:12px;max-width:240px;color:#8a929f}.team-chat .chat-compose{flex:none;display:flex;align-items:flex-end;gap:9px;padding:12px!important;background:#fff!important;border-top:1px solid #e2e7ee;margin:0!important}.team-chat .chat-input-wrap{flex:1;min-width:0;background:#f5f7fb;border:1px solid #dce3ed;border-radius:22px;overflow:hidden}.team-chat .chat-input-wrap textarea{display:block;resize:none;width:100%;border:0!important;border-radius:22px;box-shadow:none!important;outline:none!important;background:transparent!important;min-height:43px!important;max-height:110px;padding:12px 15px!important;font:inherit;font-size:14px!important;line-height:1.4}.team-chat .chat-input-wrap:focus-within{border-color:#c9a53f;box-shadow:0 0 0 2px #e6bd5026}.team-chat .chat-input-wrap>small{display:block;font-size:9px;text-align:right;padding:0 13px 5px;color:#99a3b2}.team-chat .chat-compose>button{width:48px;height:48px;min-width:48px;flex:0 0 48px;min-height:48px;padding:0;border-radius:50%;font-size:23px;color:#5d4206;background:linear-gradient(135deg,#ffe077,#e6b735)!important;box-shadow:0 4px 12px #d6aa352b}.team-chat .chat-compose>button span{display:none}.team-chat .chat-compose>button:disabled{opacity:.5}.team-chat .chat-compose>button:focus-visible{outline:2px solid #345b96;outline-offset:3px}@media(max-width:520px){.team-chat.refreshed-team-chat{height:70svh;min-height:410px;border-radius:20px}.team-chat .chat-header{padding:14px!important}.team-chat .chat-header-copy h2{font-size:18px!important}.team-chat .chat-statusbar>small{display:none}.team-chat .chat-bubble{max-width:86%}.team-chat .chat-compose{padding-bottom:max(10px,env(safe-area-inset-bottom))!important}}
/* Keep the composer inside the visible mobile viewport. */
@media(max-width:800px){body:has(.team-chat) .main>.top{display:none!important}body:has(.team-chat) .main{padding-top:10px!important;padding-bottom:8px!important}body:has(.team-chat) #view>.universal-page-back{margin:0 0 8px!important;min-height:36px;padding:7px 12px}.team-chat.refreshed-team-chat{height:calc(100dvh - 180px);min-height:0!important;max-height:760px;margin-top:8px!important;display:flex!important;flex-direction:column!important}.team-chat .chat-header{padding:10px 13px!important}.team-chat .chat-header-copy>span{display:none}.team-chat .chat-group-icon{width:38px!important;height:38px!important;min-width:38px}.team-chat .chat-header-copy h2{font-size:17px!important}.team-chat .chat-statusbar{padding:6px 12px!important}.team-chat .chat-statusbar>small{display:none!important}.team-chat .chat-messages{flex:1 1 0!important;min-height:0!important;padding:12px!important}.team-chat .chat-empty{height:auto!important;flex:1;gap:7px;padding:15px!important}.team-chat .chat-empty>span{width:45px;height:45px;font-size:23px}.team-chat .chat-empty>b{font-size:13px}.team-chat .chat-empty>small{font-size:11px}.team-chat .chat-compose{display:flex!important;position:relative;flex:0 0 auto!important;z-index:3;padding:9px!important;border-top:1px solid #dce3ed}.team-chat .chat-input-wrap{min-height:48px!important}.team-chat .chat-input-wrap textarea{font-size:16px!important;min-height:46px!important;padding:11px 13px!important}.team-chat .chat-input-wrap>small{display:none!important}.team-chat .chat-compose>button{height:46px;min-height:46px;width:46px;flex-basis:46px}}
