.teamchat-list-filters,.teamchat-personal-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:6px 0}
body.launcher-webstyle .teamchat-compact .teamchat-message-viewport{grid-template-rows:auto minmax(0,1fr)}
.teamchat-message-viewport>.teamchat-personal-toolbar{grid-row:1;padding:5px 12px;border-bottom:1px solid #d6e6e8}
.teamchat-message-viewport>[data-chat-messages]{grid-row:2;min-height:0}
.teamchat-list-filters button,.teamchat-personal-toolbar button,.teamchat-compose-identity button{border:1px solid #bed6da;border-radius:15px;background:#fff;color:#176b68;padding:5px 10px;font:inherit;font-size:12px;cursor:pointer}
.teamchat-list-filters button[aria-pressed=true]{background:#def0ee;border-color:#117c77;font-weight:700}
.teamchat-unread-separator{display:flex;align-items:center;gap:10px;margin:16px 0;color:#a33649;font-size:12px;font-weight:700;scroll-margin-top:10px}
.teamchat-unread-separator:before,.teamchat-unread-separator:after{content:"";height:1px;background:#d78996;flex:1}
.teamchat-compose-identity{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:7px;color:#173540;font-size:12px}
.teamchat-compose-identity button{margin-left:auto}.teamchat-compose-identity strong{overflow-wrap:anywhere}
.teamchat-compose-role-header{display:flex;align-items:center;gap:7px;min-width:0;max-width:100%}
.teamchat-compose-role-head{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0}
.teamchat-compose-avatar{display:grid;place-items:center;border-radius:50%;width:26px;height:26px;flex:none;background:#117c77;color:#fff;font-size:10px;font-weight:700}
.teamchat-compose-role{background:#117c77;color:#fff;border-radius:9px;font-size:10px;padding:2px 6px;font-weight:700}
.teamchat-compose-identity[data-role=developer] strong{color:#8438ff}.teamchat-compose-identity[data-role=developer] .teamchat-compose-role,.teamchat-compose-identity[data-role=developer] .teamchat-compose-avatar{background:#8438ff}
.teamchat-compose-identity[data-role=superadmin] .teamchat-compose-role,.teamchat-compose-identity[data-role=superadmin] .teamchat-compose-avatar{background:#ec800e}
.teamchat-compose-identity[data-role=admin] .teamchat-compose-role,.teamchat-compose-identity[data-role=admin] .teamchat-compose-avatar{background:#2865eb}
.teamchat-message.is-revealed{outline:2px solid #117c77;outline-offset:2px;border-radius:8px}
button.teamchat-reply-reference{text-align:left;font:inherit;cursor:pointer;width:100%}
.teamchat-personal-mark{display:inline-flex;align-items:center;gap:4px;margin:4px 6px 0 0;padding:2px 4px 2px 8px;border-radius:10px;background:#e1efed;color:#176b68;font-size:11px;vertical-align:middle}
.teamchat-view .teamchat-personal-remove{display:grid;place-items:center;flex:none;min-width:30px;min-height:30px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#426a70;font:inherit;font-size:20px;line-height:1;cursor:pointer;transition:background-color 150ms ease,color 150ms ease}
.teamchat-view .teamchat-personal-remove:hover:not(:disabled){background:#cce3df;color:#174e53}
.teamchat-view .teamchat-personal-remove:focus-visible{outline:2px solid #117c77;outline-offset:2px}
.teamchat-view .teamchat-personal-remove:disabled{opacity:.5;cursor:wait}
.teamchat-personal-result-row{display:flex;align-items:center;gap:8px;min-width:0;padding:6px;border:1px solid #c6dddf;border-radius:13px;background:#fff}
.teamchat-view .teamchat-personal-result-row>button:first-child{flex:1;min-width:0;border-color:transparent;padding:7px 9px}
.teamchat-view .teamchat-personal-result-row>.teamchat-personal-remove{min-width:38px;min-height:38px;align-self:flex-start}
@media(prefers-reduced-motion:reduce){.teamchat-view .teamchat-personal-remove{transition:none}}
.teamchat-personal-dialog{width:min(600px,90vw);max-height:80vh;border:1px solid #bdd5da;border-radius:16px;padding:16px;color:#173540;background:#f8fbfc;font:inherit}
.teamchat-personal-dialog::backdrop{background:#12353c66}.teamchat-personal-dialog header,.teamchat-personal-dialog form{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px}
.teamchat-personal-dialog input{flex:1;min-width:0;padding:10px;border:1px solid #bdd5da;border-radius:10px;font:inherit}
.teamchat-personal-dialog button{border:1px solid #bdd5da;border-radius:10px;padding:8px 12px;background:#fff;color:#176b68;font:inherit;cursor:pointer}
.teamchat-personal-results{max-height:55vh;overflow:auto;display:grid;gap:8px;margin-bottom:10px}.teamchat-personal-results button{display:grid;gap:5px;text-align:left;overflow-wrap:anywhere}.teamchat-personal-results small{color:#637c84;font-size:11px}.teamchat-personal-results span{white-space:pre-wrap;font-size:13px}
.teamchat-reaction-people{position:fixed;z-index:10000;box-sizing:border-box;width:240px;max-width:calc(100vw - 16px);padding:12px;border:1px solid #bdd5da;border-radius:13px;box-shadow:0 7px 24px #17354026;background:#fff;color:#173540;font-family:inherit;font-size:13px;line-height:1.4}
.teamchat-reaction-people strong{display:block;margin-bottom:8px}.teamchat-reaction-people-list{max-height:190px;overflow:auto;display:grid;gap:7px}.teamchat-reaction-people-row{display:flex;align-items:center;gap:7px;overflow-wrap:anywhere}.teamchat-reaction-people-avatar{display:grid;place-items:center;width:25px;height:25px;flex:none;border-radius:50%;background:#e4f1ef;color:#176b68;font-size:10px;font-weight:700}
.teamchat-list-filters[hidden],.teamchat-personal-toolbar[hidden],.teamchat-compose-identity[hidden]{display:none}
.teamchat-personal-toolbar{align-items:center;column-gap:12px;row-gap:8px}
.teamchat-selection-actions,.teamchat-list-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.teamchat-list-actions{border-left:1px solid #bed6da;padding-left:12px}
.teamchat-list-actions[hidden]{display:none}
.teamchat-personal-toolbar button{display:inline-flex;align-items:center;gap:7px;min-height:34px}
.teamchat-personal-toolbar button[hidden]{display:none}
.teamchat-action-symbol{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.teamchat-tool-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;box-sizing:border-box;border-radius:10px;background:#e3f2f1;color:#096f69;font-weight:800;font-variant-numeric:tabular-nums}
@media(max-width:520px){.teamchat-list-actions{border-left:0;border-top:1px solid #bed6da;padding:8px 0 0;width:100%}}
.teamchat-forward-origin{display:block;color:#486473;font-size:11px;font-style:italic;margin-bottom:6px}
.teamchat-forward-dialog form{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}
.teamchat-forward-dialog label{grid-column:1/-1;color:#173540;font-weight:700}
.teamchat-forward-dialog select{min-width:0;width:100%;padding:10px;border:1px solid #bed6da;border-radius:12px;background:#fff;color:#173540;font:inherit}
