html:has(.app-shell) [data-slot=dialog-content].team-chat-dialog{background:var(--card);width:min(960px,100dvw - 24px);max-width:960px;height:min(680px,100dvh - 32px);max-height:calc(100dvh - 32px);color:var(--foreground);border-radius:16px;flex-direction:column;gap:0;padding:0;display:flex;overflow:hidden}.team-chat-dialog [data-slot=dialog-header]{border-bottom:1px solid var(--border);text-align:start;flex:none;gap:5px;padding:18px 48px 16px 20px}.team-chat-dialog [data-slot=dialog-title]{font-size:17px}.team-chat-dialog [data-slot=dialog-description]{font-size:12px;line-height:1.5}.team-chat-panel{flex-direction:column;flex:1;min-height:0;display:flex}.team-chat-panel .team-chat-layout{flex:1;grid-template-columns:240px minmax(0,1fr);align-items:stretch;gap:0;min-height:0;display:grid}.team-chat-panel .team-chat-conversations{background:var(--background);border-inline-end:1px solid var(--border);flex-direction:column;align-items:stretch;gap:6px;min-height:0;padding:12px;display:flex;overflow:hidden}.team-chat-panel .team-chat-conversations button{text-align:start;width:100%;height:54px;min-height:54px;color:var(--foreground);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;flex:none;align-items:center;gap:10px;padding:8px 10px;font-size:13px;line-height:1.3;display:flex}.team-chat-panel .team-chat-conversations button>svg{background:var(--secondary);width:30px;height:30px;color:var(--muted-foreground);border-radius:9px;flex:none;padding:6px}.team-chat-panel .team-chat-conversations button>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.team-chat-panel .team-chat-conversations button:hover{background:var(--secondary)}.team-chat-panel .team-chat-conversations button.is-selected{background:var(--accent);border-color:var(--border);color:var(--primary)}.team-chat-panel .team-chat-conversations button.is-selected>svg{color:var(--primary);background:var(--card)}.team-chat-panel .team-chat-conversations small{color:var(--muted-foreground);margin-top:3px;font-size:11px;font-weight:400;display:block}.team-chat-panel .team-chat-conversations label{color:var(--muted-foreground);flex:none;margin:12px 4px 3px;font-size:11px;font-weight:600}.team-chat-panel .team-chat-search{flex:none;align-items:center;height:36px;min-height:36px;display:flex;position:relative}.team-chat-panel .team-chat-search>svg{color:var(--muted-foreground);pointer-events:none;position:absolute;inset-inline-start:10px}.team-chat-panel .team-chat-search input{box-sizing:border-box;padding:7px 10px;border:1px solid var(--border);background:var(--card);width:100%;height:36px;min-height:36px;max-height:36px;color:var(--foreground);border-radius:8px;margin:0;padding-inline-start:32px;font-size:12px;line-height:20px}.team-chat-panel .team-chat-search input:focus{outline:2px solid var(--primary);outline-offset:1px}.team-chat-panel .team-chat-people{overscroll-behavior:contain;flex-direction:column;flex:1;gap:3px;min-height:0;padding-top:5px;display:flex;overflow-y:auto}.team-chat-no-results{color:var(--muted-foreground);padding:12px 4px;font-size:12px}.team-chat-panel .team-chat-active{flex-direction:column;min-width:0;min-height:0;display:flex}.team-chat-panel .team-chat-heading{border-bottom:1px solid var(--border);flex:none;justify-content:space-between;align-items:center;gap:10px;padding:14px 18px;display:flex}.team-chat-panel .team-chat-heading>div{min-width:0}.team-chat-panel .team-chat-heading h1{align-items:center;gap:9px;margin:0;font-size:14px;font-weight:600;line-height:1.35;display:flex}.team-chat-avatar{background:var(--accent);width:32px;height:32px;color:var(--primary);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.team-chat-panel .team-chat-heading p{color:var(--muted-foreground);margin:4px 0 0;font-size:11px;line-height:1.5}.team-chat-panel .team-chat-heading button{border:1px solid var(--border);width:32px;min-width:32px;height:32px;min-height:32px;color:var(--muted-foreground);background:0 0;border-radius:8px;justify-content:center;align-items:center;padding:0;display:inline-flex}.team-chat-room{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.team-chat-history{overscroll-behavior:contain;background:var(--background);flex-direction:column;flex:1;gap:12px;min-height:80px;padding:18px;display:flex;overflow-y:auto}.team-chat-empty{text-align:center;max-width:310px;color:var(--muted-foreground);flex-direction:column;align-items:center;gap:9px;margin:auto;padding:20px;display:flex}.team-chat-empty-icon{border:1px solid var(--border);background:var(--card);width:56px;height:56px;color:var(--primary);border-radius:18px;justify-content:center;align-items:center;margin-bottom:4px;display:flex}.team-chat-empty h2{color:var(--foreground);margin:0;font-size:15px;font-weight:600}.team-chat-empty p{margin:0;font-size:12px;line-height:1.6}.team-chat-message{background:var(--card);border:1px solid var(--border);border-radius:12px 12px 12px 3px;align-self:flex-start;min-width:100px;max-width:85%;padding:10px 13px}.team-chat-message.is-mine{background:var(--accent);border-radius:12px 12px 3px;align-self:flex-end}.team-chat-meta{color:var(--muted-foreground);flex-wrap:wrap;align-items:center;gap:12px;font-size:10px;display:flex}.team-chat-meta strong{color:var(--foreground);font-size:11px}.team-chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0;font-size:13px;line-height:1.6}.team-chat-panel .team-chat-compose{border-top:1px solid var(--border);background:var(--card);flex:none;align-items:flex-end;gap:10px;margin:0;padding:12px 16px;display:flex}.team-chat-panel .team-chat-compose textarea{box-sizing:border-box;resize:vertical;background:var(--background);width:100%;min-width:0;height:60px;min-height:60px;max-height:100px;color:var(--foreground);border:1px solid var(--border);border-radius:10px;flex:1;margin:0;padding:10px 12px;font-size:13px;line-height:1.5}.team-chat-panel .team-chat-compose textarea:focus{outline:2px solid var(--primary);outline-offset:1px}.team-chat-send{flex:none;padding-bottom:2px;display:flex}.team-chat-panel .team-chat-send button{background:var(--primary);width:38px;height:38px;min-height:38px;color:var(--primary-foreground);cursor:pointer;border:0;border-radius:11px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.team-chat-panel button:disabled{opacity:.45;cursor:default}.team-chat-error{color:var(--destructive);border-top:1px solid var(--border);padding:10px 16px;font-size:12px}.team-chat-error button{text-decoration:underline}@media (max-width:640px){html:has(.app-shell) [data-slot=dialog-content].team-chat-dialog{border-radius:12px;width:calc(100dvw - 16px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}.team-chat-dialog [data-slot=dialog-header]{padding:14px 42px 12px 14px}.team-chat-panel .team-chat-layout{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}.team-chat-panel .team-chat-conversations{border-inline-end:0;border-bottom:1px solid var(--border);grid-template-rows:36px auto;grid-template-columns:150px minmax(0,1fr);gap:7px;padding:8px 12px;display:grid}.team-chat-panel .team-chat-conversations>button{height:36px;min-height:36px;padding:4px 7px;font-size:12px}.team-chat-panel .team-chat-conversations>button small,.team-chat-panel .team-chat-conversations>label{display:none}.team-chat-panel .team-chat-people{flex-direction:row;grid-column:1/-1;max-height:48px;padding:0;overflow:auto hidden}.team-chat-panel .team-chat-people button{width:auto;min-width:130px;height:44px;min-height:44px;padding:5px 8px;font-size:12px}.team-chat-panel .team-chat-heading{padding:10px 12px}.team-chat-panel .team-chat-heading p{max-width:250px;font-size:10px}.team-chat-history{padding:12px}.team-chat-panel .team-chat-compose{padding:10px 12px}.team-chat-message{max-width:92%}}
