.team-card{position:relative;background:var(--bg-list);border-radius:16px;padding:24px;overflow:visible}.team-invites{text-align:center;margin:0 0 24px;font-size:12px}.team-invites button{color:#5f83ed}.team-toolbar{display:flex;align-items:center;gap:45px;margin-bottom:22px}.team-toolbar .channel-search{width:242px}.team-toolbar>.primary{margin-left:auto;height:40px;padding:0 17px;border-radius:99px;gap:8px;font-size:14px}.team-toolbar>.primary svg{width:17px;height:17px}.team-table{width:100%;border-collapse:collapse;table-layout:fixed}.team-table th{height:50px;padding:0 14px;border-bottom:1px solid #3d4247;color:#eef0f3;font-size:12px;text-align:left}.team-table td{height:76px;padding:8px 14px;border-bottom:1px solid #3d4247;font-size:12px}.team-table th:first-child,.team-table td:first-child{width:44px}.team-table th:nth-child(2){width:38%}.team-table th:nth-child(3),.team-table th:nth-child(4){width:24%}.team-table th:last-child,.team-table td:last-child{width:80px;text-align:center}.team-table tr.disabled{opacity:.5}.team-checkbox{display:block;width:17px;height:17px;border:2px solid #50565d;border-radius:4px}.attendant-name{display:flex;align-items:center;gap:10px}.attendant-name>span,.modal-attendant>span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#3d6cd7;border:2px solid #25a572;color:#fff;font-weight:600}.attendant-name>div{display:flex;flex-direction:column}.attendant-name strong{font-weight:500}.attendant-name strong b{display:inline-block;margin-left:8px;padding:3px 8px;border-radius:99px;background:#7539bd;color:#fff;font-size:9px}.attendant-name small{color:#8c949f}.team-select-wrap{position:relative}.team-select{display:flex;align-items:center;gap:8px;width:100%;height:43px;padding:0 13px;border:2px solid #41474e;border-radius:16px;color:#e3e5e9;text-align:left}.team-select:hover{border-color:#5278e8}.team-select>svg{width:15px;height:15px}.team-select>svg:last-child{margin-left:auto}.team-dropdown{position:absolute;left:0;top:49px;z-index:40;width:max(430px,100%);padding:8px;background:#222629;border:1px solid #41474d;border-radius:15px;box-shadow:0 12px 30px #000b}.reassignment-menu{left:auto;right:0;width:max(520px,100%)}.team-dropdown button{display:flex;gap:9px;width:100%;padding:10px;border-radius:10px;text-align:left;color:#d9dce1}.team-dropdown button:hover,.team-dropdown button.active{background:#4b4f54}.team-dropdown button>svg{width:16px;height:16px;flex-shrink:0}.team-dropdown button span{display:flex;flex-direction:column}.team-dropdown small{margin-top:4px;color:#9299a2;font-size:10px;line-height:1.4}.team-actions{position:relative;display:inline-block}.team-actions>button{width:42px;height:42px;border-radius:50%}.team-actions>button:hover{background:#34383d}.team-actions>button svg{width:18px;height:18px}.team-actions>div{position:absolute;right:0;top:46px;z-index:45;width:190px;padding:8px;background:#222629;border:1px solid #41474d;border-radius:14px;box-shadow:0 10px 24px #000a}.team-actions>div button{display:flex;align-items:center;gap:9px;width:100%;height:36px;padding:0 10px;border-radius:8px;text-align:left}.team-actions>div button:hover{background:#34383d}.team-actions>div svg{width:15px;height:15px}.team-empty{text-align:center;color:#9098a1}
.team-modal-backdrop{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:16px;background:#000b}.team-modal{width:min(900px,calc(100vw - 34px));max-height:calc(100vh - 32px);overflow:auto;padding:26px;background:#202326;border:1px solid #41474e;border-radius:16px;box-shadow:0 18px 55px #000b}.team-modal>header{display:flex;align-items:center;margin-bottom:30px}.team-modal>header h2{margin:0;font-size:15px}.team-modal>header button{width:34px;height:34px;margin-left:auto;border-radius:50%}.team-modal>header button:hover{background:#30353a}.team-modal>header svg{width:17px;height:17px}.team-modal>p{color:#bfc4cb;line-height:1.6}.team-modal>label{display:flex;flex-direction:column;gap:8px;margin:18px 0;color:#e2e4e8;font-size:12px}.team-modal input:not([type=checkbox]):not([type=radio]),.team-modal select{height:43px;padding:0 13px;border:2px solid #41474e;border-radius:15px;background:#202326;color:#dfe2e6;font:14px var(--font);outline:0}.team-modal input:focus,.team-modal select:focus{border-color:#4f78ed}.team-modal label>small{color:#89929e}.team-modal footer{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:28px}.team-modal footer button{height:39px;padding:0 18px;border-radius:99px}.modal-attendant{display:flex;align-items:center;gap:14px;margin-bottom:20px}.modal-attendant>span{width:58px;height:58px}.modal-attendant strong{font-size:14px}.team-switch-row{flex-direction:row!important;align-items:flex-start!important}.team-switch-row input{width:44px;height:23px;accent-color:#4c70da}.team-switch-row span{display:flex;flex-direction:column;font-weight:600}.team-switch-row small{font-weight:400;color:#89929e}.team-warning{padding:14px 16px;margin:16px 0;border-radius:15px;background:#513714;color:#fff;font-size:12px;line-height:1.55}.danger-title,.danger-text{color:#ef4949!important}.danger-title{display:flex;align-items:center;gap:10px}.danger-title svg{width:18px!important}.danger-button{background:#963a35;color:#fff}.danger-button:disabled{opacity:.45}.deactivate-options{display:flex;flex-direction:column;gap:11px;margin-top:10px}.deactivate-options label{display:flex;align-items:center;gap:10px;font-size:12px}.deactivate-options input{width:18px;height:18px;accent-color:#5279e8}
.sectors-card{padding:24px}.sectors-card .team-toolbar{margin-bottom:18px}.sectors-table th:nth-child(2),.sectors-table td:nth-child(2){width:140px}.sectors-table th:nth-child(3){width:auto}.sectors-table th:last-child,.sectors-table td:last-child{width:210px;text-align:right}.sectors-table td:last-child{color:#5e646c}.sectors-table td:last-child button{width:32px;height:32px;border-radius:50%;color:#d5d9df}.sectors-table td:last-child button:hover{background:#30353a}.sectors-table td:last-child button:disabled{opacity:.25}.sectors-table td:last-child svg{width:15px;height:15px}.drag-handle{color:#a4abb4}
@media(max-width:1200px){.team-card{padding:18px}.team-toolbar{gap:18px}.team-table{min-width:850px}.team-card{overflow:auto}.team-dropdown{position:fixed;left:50%;top:50%;right:auto;transform:translate(-50%,-50%);width:min(500px,90vw)}}

/* Convite: escopo de acesso e permissões de ação */
.perm-block h3{margin:20px 0 8px;font-size:14px;font-weight:600}
.perm-scope{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.perm-help{font-size:13px;color:var(--text-secondary);margin:0 0 8px}
.perm-group{border:0;border-top:1px solid var(--border-soft);margin:12px 0 0;padding:12px 0 0}
.perm-group legend{display:flex;gap:10px;align-items:center;font-weight:600;padding:0 4px 0 0}
.perm-group legend small{color:var(--text-secondary);font-weight:400}
.perm-group legend button,.link-button{background:transparent;border:0;color:var(--accent);font:inherit;font-size:13px;cursor:pointer;padding:0 4px}
.perm-item{display:flex;align-items:center;gap:8px;margin:8px 0;font-size:14px}
@media(max-width:767.98px){.perm-scope{grid-template-columns:minmax(0,1fr)}}
.perm-scope label{display:block;font-size:13px}
.perm-scope select{display:block;width:100%;margin-top:6px}
