.content {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 20px 8px;
}

.subtitle {
	font-size: 14px;
	color: var(--text-secondary, #a0a3a8);
}

.subtitle strong {
	color: var(--text-primary, #fff);
	font-weight: 600;
}

.empty {
	padding: 20px 12px;
	text-align: center;
	color: var(--text-primary-muted, #a0a3a8);
	font-size: 13px;
	background-color: var(--background-secondary, rgba(255, 255, 255, 0.03));
	border-radius: 6px;
}

.list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-height: 360px;
	overflow-y: auto;
}

.row {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 8px 12px;
	background-color: var(--background-secondary, rgba(255, 255, 255, 0.03));
	border: 1px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	color: var(--text-primary, #fff);
	font: inherit;
	text-align: left;
	transition: background-color 0.1s, border-color 0.1s;
}

.row:hover:not(.rowDisabled) {
	background-color: var(--background-modifier-hover, rgba(255, 255, 255, 0.06));
}

.rowChecked {
	border-color: var(--brand-primary, #5865f2);
}

.rowDisabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.roleDot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	flex-shrink: 0;
}

.roleName {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 500;
}

.rolePower {
	flex-shrink: 0;
	font-size: 11px;
	color: var(--text-primary-muted, #a0a3a8);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.check {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	background-color: transparent;
	color: var(--brand-primary, #5865f2);
}

.rowChecked .check {
	background-color: var(--brand-primary, #5865f2);
	color: #fff;
}

.error {
	padding: 8px 12px;
	background-color: rgba(234, 80, 80, 0.15);
	border: 1px solid rgba(234, 80, 80, 0.4);
	border-radius: 6px;
	color: var(--text-primary, #fff);
	font-size: 13px;
}
