.chat-media{margin:10px 0 0;max-width:440px;min-width:0}.chat-media :is(img,video){display:block;width:100%;max-height:400px;object-fit:contain;border-radius:12px;background:#0e0913}.chat-image-button{display:block;width:100%;border:0!important;padding:0!important;background:transparent!important;min-height:0!important}.chat-media figcaption{font-size:11px;color:#d0b7cd;padding:7px 0;overflow-wrap:anywhere}.chat-media-open{font-size:12px;color:#f1a0d4}.chat-image-dialog{width:min(1000px,94vw);max-height:90dvh;padding:14px;background:#160f20;border:1px solid #985784;border-radius:16px}.chat-image-dialog::backdrop{background:#050208df}.chat-image-dialog img{display:block;max-height:78dvh;max-width:100%;margin:14px auto 0;object-fit:contain}.chat-tools-menu{position:relative;margin:8px 0}.chat-tools-menu>summary{cursor:pointer;display:inline-flex!important;align-items:center;padding:8px 12px!important;border:1px solid #78516e;border-radius:10px;font-size:12px!important;color:#f3d8eb;min-height:36px!important;background:#291b33}.chat-tools-menu>summary:after,.chat-tools-menu>summary:before{display:none!important}.chat-tools-menu:not([open])>.chat-tools-items{display:none!important}.chat-tools-items{padding:8px;border:1px solid #6c4662;border-radius:12px;background:#201426}.chat-tools-items .pro-tools,.chat-tools-items .collab-tools{margin:0!important;gap:6px!important;padding:6px!important;border:0!important;min-height:0!important;display:flex!important;flex-wrap:wrap!important}.chat-tools-items .btn{padding:7px 10px!important;font-size:12px!important;min-height:34px!important}.chat-conversation-toggle{display:none!important}
@media(max-width:900px){body.portal-chat-active .premium-page-title,body.portal-chat-active .portal-main>h2,body.portal-chat-active .portal-main>.suite-sub{display:none!important}body.portal-chat-active .panel-head{min-height:50px!important;margin-bottom:0!important;padding:8px 0!important;flex-wrap:nowrap!important}body.portal-chat-active .panel-head .nav-profile summary{max-width:42px;overflow:hidden;white-space:nowrap;font-size:0!important}body.portal-chat-active .panel-head .nav-profile summary:before{content:'◉'!important;display:inline!important;font-size:18px!important}body.portal-chat-active .panel-head .nav-search{min-width:36px!important;padding:6px!important}body.portal-chat-active .portal-nav{min-height:42px!important;margin:0!important;padding:5px 0!important}body.portal-chat-active .portal-main{margin:0!important;padding:0!important}body.portal-chat-active .team-chat-shell{display:flex!important;flex-direction:column!important;gap:0!important;min-height:0!important}body.portal-chat-active .team-sidebar,body.portal-chat-active .suite-chat-list{padding:8px!important;border-radius:12px 12px 0 0!important;max-height:none!important;min-width:0!important;display:block!important}.chat-conversation-toggle{display:flex!important;width:100%;justify-content:space-between;padding:8px 12px!important;min-height:38px!important}.team-sidebar:not(.chat-list-open)>:not(.chat-conversation-toggle),.suite-chat-list:not(.chat-list-open)>:not(.chat-conversation-toggle){display:none!important}.team-sidebar.chat-list-open .team-thread-list{display:flex!important;flex-direction:column!important;overflow:auto!important;max-height:240px!important;gap:6px!important}.team-sidebar.chat-list-open .team-thread{width:100%!important;min-width:0!important;padding:9px!important}.team-sidebar.chat-list-open .team-sidebar-head{padding:8px 0!important}.suite-chat-list.chat-list-open{max-height:240px!important;overflow:auto}.team-thread-info{min-width:0!important;overflow:hidden}.team-thread-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-chat-panel{height:auto!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;border-radius:0 0 14px 14px!important}.team-chat-head{padding:10px 12px!important;min-height:0!important;gap:8px!important}.team-chat-head h3{font-size:15px!important;margin:0!important}.team-chat-head p{font-size:11px!important;margin:4px 0!important}.team-chat-head .premium-role{display:none!important}.team-chat-head .chat-tools-menu{margin:5px 0 0!important}.chat-tools-menu>summary{min-height:32px!important;padding:5px 9px!important}.team-chat-log,.suite-chat-log{height:clamp(180px,calc(var(--portal-viewport,100dvh) - 330px),650px)!important;max-height:none!important;min-height:160px!important;padding:12px 10px 80px!important}.team-chat-empty{min-height:0!important;padding:24px 12px!important}.team-chat-empty svg{width:30px;height:30px}.team-chat-empty h4{font-size:18px!important;margin:8px 0!important}.team-chat-empty p{font-size:12px!important;margin:0!important}.team-composer,.suite-composer{padding:9px!important;gap:7px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important}.team-composer label,.suite-composer label{font-size:0!important;grid-column:1!important;gap:0!important}.team-composer textarea,.suite-composer textarea{font-size:16px!important;min-height:48px!important;height:64px;max-height:140px!important;padding:10px!important;margin:0!important;border-radius:12px!important}.team-composer>.btn,.suite-composer>button[type=submit]{min-height:48px!important;height:48px!important;width:auto!important;padding:10px 12px!important;grid-column:2!important;font-size:12px!important}.team-composer input[type=file]{grid-column:1/-1;font-size:12px!important;width:100%;padding:5px!important;min-height:28px!important}.suite-chat-layout{display:flex!important;flex-direction:column!important;gap:0!important}.suite-chat-panel{padding:10px!important;min-width:0}.suite-chat-panel>h3{font-size:16px!important;margin:8px 0!important}.suite-chat-panel>.suite-sub{font-size:11px!important}.suite-chat-panel>.suite-form:not(.suite-composer){padding:8px!important}.suite-chat-panel>.suite-form:not(.suite-composer) label{font-size:12px!important}.chat-media{width:100%;max-width:100%;margin-top:8px}.chat-media :is(img,video){max-height:300px}.team-bubble,.suite-bubble{padding:10px 36px 10px 12px!important;font-size:13px!important}.team-bubble p,.suite-bubble p{font-size:13px!important;line-height:1.5!important}.team-bubble small,.suite-bubble small{font-size:10px!important}.message-menu-items{right:0;min-width:210px}.portal-chat-active .studio-mobile-dock{padding:5px 5px calc(5px + env(safe-area-inset-bottom))!important}.portal-chat-active .studio-mobile-dock .btn{font-size:11px!important;min-height:38px!important}.portal-chat-active .team-send-status{padding:2px 12px 6px!important;font-size:10px!important}}
.chat-media-item{margin:0 0 12px;padding:0}.chat-media-item:last-child{margin-bottom:0}
@media(max-width:900px){body.portal-chat-active .panel-head h1 img{width:120px!important;max-width:120px!important}body.portal-chat-active .panel-head .nav-tools{gap:5px!important;min-width:0}body.portal-chat-active .panel-head .nav-search-trigger{width:34px!important;min-width:34px!important;padding:5px!important;font-size:0!important}body.portal-chat-active .panel-head .nav-search-trigger:before{content:'⌕';font-size:20px}body.portal-chat-active .panel-head .nav-tools>.btn:not(.nav-search-trigger):not(.nav-icon){display:none!important}body.portal-chat-active .panel-head .nav-profile summary{padding:5px 8px!important;min-height:34px!important}body.portal-chat-active .portal-language{width:52px!important;min-height:34px!important;font-size:12px!important}body.portal-chat-active:has(.team-composer textarea:focus,.suite-composer textarea:focus) .studio-mobile-dock{display:none!important}body.portal-chat-active:has(.team-composer textarea:focus,.suite-composer textarea:focus){padding-bottom:12px!important}body.portal-chat-active:has(.team-composer textarea:focus,.suite-composer textarea:focus) .team-chat-log,body.portal-chat-active:has(.team-composer textarea:focus,.suite-composer textarea:focus) .suite-chat-log{min-height:100px!important;height:max(100px,calc(var(--portal-viewport,100dvh) - 240px))!important}.chat-tools-items{max-height:200px;overflow:auto}}
@media(max-width:380px){body.portal-chat-active .panel-head .nav-tools>.nav-icon{display:none!important}}
