.team-live-chat{min-width:0;color:var(--ink);background:var(--white);overflow:hidden}.team-live-chat header{justify-content:space-between;align-items:center;gap:12px;display:flex}.team-live-chat h2{margin:0 0 5px;font-size:17px}.team-live-chat small{color:var(--muted);font-size:11px}.team-live-chat .chat-connected{color:var(--primary-dark)}.team-live-chat button{cursor:pointer;min-height:44px}.chat-icon{border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:10px;width:44px;font-size:20px}.chat-recipient{gap:6px;margin-top:16px;font-size:12px;display:grid}.chat-recipient select{background:var(--white);width:100%;min-height:44px;color:var(--ink);border:1px solid var(--line);border-radius:10px}.chat-scope{color:var(--muted);font-size:12px;line-height:1.6}.chat-messages{overscroll-behavior:contain;border:1px solid var(--line);background:var(--bg);scrollbar-gutter:stable;border-radius:12px;flex-direction:column;gap:10px;height:330px;padding:12px;display:flex;overflow-y:auto}.chat-bubble{background:var(--white);border:1px solid var(--line);border-radius:12px 12px 3px;flex-shrink:0;align-self:flex-end;min-width:85px;max-width:92%;padding:10px 12px}.chat-bubble.chat-mine{background:color-mix(in srgb,var(--primary) 13%,var(--white));border-radius:12px 12px 12px 3px;align-self:flex-start}.chat-bubble b{color:var(--primary-dark);font-size:12px}.chat-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);margin:7px 0;font-size:14px;line-height:1.6}.chat-bubble time{color:var(--muted);text-align:left;font-size:10px;display:block}.chat-empty{text-align:center;color:var(--muted);margin:auto;font-size:13px;line-height:1.8}.chat-toolbar{justify-content:flex-end;align-items:center;gap:8px;display:flex}.chat-toolbar button{color:var(--primary-dark);background:0 0;border:0;font-size:11px}.team-live-chat textarea{resize:vertical;background:var(--white);width:100%;min-height:65px;max-height:180px;color:var(--ink);border:1px solid var(--line);border-radius:10px;font-size:14px;line-height:1.6}.chat-send-row{justify-content:space-between;align-items:center;gap:12px;margin-top:8px;display:flex}.chat-send-row small{font-size:10px;line-height:1.6}.team-live-chat footer{color:var(--muted);border-top:1px solid var(--line);margin-top:14px;padding-top:10px;font-size:10px;line-height:1.8}.team-live-chat-expanded{z-index:120;position:fixed;inset:5vh max(16px,50vw - 390px);overflow:auto;box-shadow:0 0 0 100vmax #001a2470,0 15px 60px #0004;padding:22px!important}.team-live-chat button:focus-visible,.team-live-chat select:focus-visible,.team-live-chat textarea:focus-visible{outline-offset:2px;outline:3px solid #e7a945}@media (max-width:760px){.team-live-chat textarea{font-size:16px}.chat-messages{height:360px}.team-live-chat-expanded{inset:12px;padding:16px!important}.team-live-chat-expanded .chat-messages{height:40dvh}}.chat-people{gap:7px;margin-top:15px;display:grid}.chat-people-heading{justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.chat-people-heading>small{color:var(--primary-dark)}.chat-people-list{overscroll-behavior:contain;gap:5px;max-height:164px;padding:2px;display:grid;overflow:auto}.chat-person,.chat-team-room{text-align:right;border:1px solid var(--line);background:var(--white);width:100%;color:var(--ink);font:inherit;border-radius:11px;align-items:center;gap:9px;padding:8px 10px;display:flex}.chat-team-room{justify-content:space-between;font-size:12px}.chat-person.selected,.chat-team-room.selected{background:color-mix(in srgb,var(--primary) 10%,var(--white));border-color:var(--primary)}.chat-person:disabled{cursor:default;opacity:.8}.chat-person-avatar{background:var(--bg);height:32px;color:var(--ink);border-radius:50%;flex:0 0 32px;place-items:center;font-size:14px;font-weight:700;display:grid;position:relative}.chat-person-avatar i{border:2px solid var(--white);background:#94a3ab;border-radius:50%;width:10px;height:10px;position:absolute;bottom:-1px;left:-1px}.chat-person-avatar.online i{background:#18a578}.chat-person-avatar.busy i{background:#d9a127}.chat-person-avatar.away i{background:#e4783f}.chat-person-avatar.unknown i{background:#7c8b99}.chat-person-info{flex:1;gap:3px;min-width:0;display:grid}.chat-person-info b{overflow-wrap:anywhere;font-size:12px}.chat-person-info small{font-size:10px}.chat-person-unread{color:#fff;background:#087c67;border-radius:999px;place-items:center;min-width:23px;height:23px;padding:0 5px;font-size:11px;font-weight:700;display:grid}.chat-person-action{font-size:15px}.chat-people-hint{text-align:center;font-size:10px!important}.team-live-chat-expanded .chat-messages{height:34vh}@media (max-width:760px){.chat-people-list{max-height:180px}.chat-person,.chat-team-room{min-height:48px}.team-live-chat-expanded .chat-messages{height:32dvh}}.team-live-chat .chat-person.selected,.team-live-chat .chat-team-room.selected{color:#fff;background:#087c67;border-color:#087c67}.team-live-chat .chat-person.selected small,.team-live-chat .chat-team-room.selected small{color:#e5fff5}.team-live-chat .chat-person:disabled{opacity:1}.team-live-chat .chat-person:disabled .chat-person-info{color:var(--ink)}.chat-window-actions{gap:5px;display:flex}.chat-search{gap:5px;margin-bottom:9px;display:flex}.chat-search input{width:100%;min-width:0;min-height:40px;margin:0;font-size:12px}.chat-search button{background:var(--bg);color:var(--ink);border:0;border-radius:8px;width:38px}.chat-message-entry{flex-direction:column;flex-shrink:0;gap:8px;display:flex}.chat-day{background:var(--white);color:var(--muted);border-radius:20px;align-self:center;padding:4px 10px;font-size:10px}.chat-bubble-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chat-bubble-meta small{font-size:10px}.chat-bubble-meta .chat-message-read{color:#087c67;font-weight:700}.chat-bubble-meta button{color:var(--primary-dark);background:0 0;border:0;min-height:28px;padding:3px;font-size:10px}.chat-reply-quote{background:var(--bg);border-right:3px solid #159d80;border-radius:8px;gap:4px;margin:7px 0;padding:7px;font-size:11px;display:grid}.chat-reply-quote span,.chat-reply-draft small{-webkit-line-clamp:2;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-reply-draft{background:var(--bg);border-right:3px solid #159d80;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px;padding:8px;display:flex}.chat-reply-draft>span{gap:3px;min-width:0;display:grid}.chat-reply-draft b{font-size:11px}.chat-reply-draft button,.chat-draft-files button{color:var(--ink);background:0 0;border:0;min-height:30px;font-size:20px}.chat-attachment{color:var(--primary-dark);overflow-wrap:anywhere;gap:5px;margin:8px 0;font-size:11px;text-decoration:none;display:grid}.chat-attachment img{object-fit:contain;border-radius:8px;width:min(100%,240px);max-height:200px;display:block}.chat-typing{min-height:20px;color:var(--primary-dark);padding-top:5px;font-size:11px}.chat-draft-files{flex-wrap:wrap;gap:5px;display:flex}.chat-draft-files>span{overflow-wrap:anywhere;background:var(--bg);border:1px solid var(--line);border-radius:9px;align-items:center;gap:4px;max-width:100%;padding:4px 7px;font-size:10px;display:flex}.chat-file-picker{cursor:pointer;border:1px solid var(--line);background:var(--white);min-height:40px;color:var(--ink);border-radius:10px;justify-content:center;align-items:center;padding:7px 10px;font-size:12px;display:inline-flex;position:relative;overflow:hidden}.chat-file-picker input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.chat-file-picker.disabled{opacity:.5}.team-live-chat-expanded{flex-direction:column;height:90vh;display:flex}.team-live-chat-expanded .chat-messages{flex:1;min-height:130px;height:auto!important}.team-live-chat-expanded .chat-people-list{max-height:112px}.team-chat-launcher{left:max(22px,env(safe-area-inset-left));z-index:1250;color:#fff;cursor:pointer;background:#087c67;border:1px solid #9fdacb;border-radius:999px;min-height:46px;padding:10px 17px;font-weight:700;position:fixed;bottom:24px;right:auto;box-shadow:0 7px 24px #183d4533}.team-floating-window{z-index:1300;border-radius:18px;width:min(440px,100vw - 32px);height:min(860px,100dvh - 100px);position:fixed;bottom:24px;left:22px;box-shadow:0 18px 65px #12384645}.team-floating-window[hidden]{display:none!important}.team-floating-window .team-live-chat{border:1px solid #99ccbf;border-radius:18px;flex-direction:column;height:100%;margin:0;padding:14px;display:flex}.team-live-chat-floating .chat-people{margin-top:8px}.team-live-chat-floating .chat-people-list{max-height:105px}.team-live-chat-floating .chat-messages{flex:1;height:auto;min-height:120px}.team-live-chat-floating .chat-scope{margin:6px 0}.team-live-chat-floating footer{margin-top:7px;padding-top:7px}.team-live-chat-floating .chat-toolbar button{min-height:28px}.team-live-chat-floating .chat-people-hint{display:none}@media (max-width:760px){.team-live-chat-expanded{height:calc(100dvh - 24px)}.team-chat-launcher{left:max(12px,env(safe-area-inset-left));right:auto;bottom:calc(84px + env(safe-area-inset-bottom));font-size:12px}.team-floating-window{left:8px;bottom:calc(78px + env(safe-area-inset-bottom));width:calc(100vw - 16px);height:calc(100dvh - 150px - env(safe-area-inset-bottom))}.chat-search input{font-size:16px}.team-live-chat-floating footer{display:none}.chat-bubble-meta button{min-height:40px}}@media print{.team-chat-launcher,.team-floating-window{display:none}}.team-chat-launcher[aria-expanded=true]{display:none}.chat-attachment video{background:#0b1714;border-radius:8px;width:min(100%,320px);max-height:260px;display:block}.chat-attachment>a{color:inherit;text-decoration:none}
.chat-compose-tools{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;display:flex;position:relative}.team-live-chat .chat-compose-tools button,.team-live-chat .chat-voice button{border:1px solid var(--line,#d3e7e9);background:var(--white,#fff);color:var(--ink,#164350);cursor:pointer;border-radius:12px;padding:7px 10px}.chat-emoji-picker{z-index:5;background:var(--white,#fff);border:1px solid var(--line,#d3e7e9);border-radius:16px;width:min(300px,100%);padding:10px;position:absolute;bottom:100%;right:0;box-shadow:0 8px 28px #003d3326}.chat-emoji-grid{grid-template-columns:repeat(7,1fr);gap:3px;display:grid}.team-live-chat .chat-emoji-grid button{background:0 0;border:0;padding:6px;font-size:22px}.chat-emoji-picker header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.chat-voice{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.chat-recording{color:#b42335;font-variant-numeric:tabular-nums}.chat-voice-preview{border:1px solid var(--line,#d3e7e9);background:var(--bg,#f4faf9);border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;width:100%;padding:10px;display:flex}.chat-voice-preview audio,.chat-attachment audio,.chat-draft-audio{width:100%;min-width:0;max-width:100%;display:block}.chat-voice-preview small{width:100%}.chat-draft-file{overflow-wrap:anywhere;min-width:0;max-width:100%}.chat-draft-files:has(audio){display:block}.chat-voice-preview audio{height:40px}.team-live-chat .chat-compose-tools button:focus-visible,.team-live-chat .chat-voice button:focus-visible{outline-offset:2px;outline:2px solid #0d806b}.team-live-chat .chat-draft-file:has(audio){flex-wrap:wrap;width:100%;display:flex}.team-live-chat .chat-draft-file audio{flex-basis:100%}.chat-compose-tools>div:first-child{position:relative}.chat-emoji-picker{width:300px;max-width:calc(100vw - 70px);max-height:min(280px,35dvh);overflow-y:auto}.chat-emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.team-live-chat .chat-compose-tools .chat-emoji-grid button{width:100%;min-width:0;padding:4px}
